Merge branch 'master' into dev_environment
This commit is contained in:
commit
d213293927
6 changed files with 142 additions and 110 deletions
209
package-lock.json
generated
209
package-lock.json
generated
|
|
@ -2481,9 +2481,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@mediapipe/tasks-vision": {
|
"node_modules/@mediapipe/tasks-vision": {
|
||||||
"version": "0.10.8",
|
"version": "0.10.17",
|
||||||
"resolved": "https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.8.tgz",
|
"resolved": "https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.17.tgz",
|
||||||
"integrity": "sha512-Rp7ll8BHrKB3wXaRFKhrltwZl1CiXGdibPxuWXvqGnKTnv8fqa/nvftYNuSbf+pbJWKYCXdBtYTITdAUTGGh0Q==",
|
"integrity": "sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg==",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
},
|
},
|
||||||
"node_modules/@mui/core-downloads-tracker": {
|
"node_modules/@mui/core-downloads-tracker": {
|
||||||
|
|
@ -3239,28 +3239,27 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@react-spring/animated": {
|
"node_modules/@react-spring/animated": {
|
||||||
"version": "9.6.1",
|
"version": "9.7.5",
|
||||||
"resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.7.5.tgz",
|
||||||
"integrity": "sha512-ls/rJBrAqiAYozjLo5EPPLLOb1LM0lNVQcXODTC1SMtS6DbuBCPaKco5svFUQFMP2dso3O+qcC4k9FsKc0KxMQ==",
|
"integrity": "sha512-Tqrwz7pIlsSDITzxoLS3n/v/YCUHQdOIKtOJf4yL6kYVSDTSmVK1LI1Q3M/uu2Sx4X3pIWF3xLUhlsA6SPNTNg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@react-spring/shared": "~9.6.1",
|
"@react-spring/shared": "~9.7.5",
|
||||||
"@react-spring/types": "~9.6.1"
|
"@react-spring/types": "~9.7.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@react-spring/core": {
|
"node_modules/@react-spring/core": {
|
||||||
"version": "9.6.1",
|
"version": "9.7.5",
|
||||||
"resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.7.5.tgz",
|
||||||
"integrity": "sha512-3HAAinAyCPessyQNNXe5W0OHzRfa8Yo5P748paPcmMowZ/4sMfaZ2ZB6e5x5khQI8NusOHj8nquoutd6FRY5WQ==",
|
"integrity": "sha512-rmEqcxRcu7dWh7MnCcMXLvrf6/SDlSokLaLTxiPlAYi11nN3B5oiCUAblO72o+9z/87j2uzxa2Inm8UbLjXA+w==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@react-spring/animated": "~9.6.1",
|
"@react-spring/animated": "~9.7.5",
|
||||||
"@react-spring/rafz": "~9.6.1",
|
"@react-spring/shared": "~9.7.5",
|
||||||
"@react-spring/shared": "~9.6.1",
|
"@react-spring/types": "~9.7.5"
|
||||||
"@react-spring/types": "~9.6.1"
|
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
|
|
@ -3271,34 +3270,34 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@react-spring/rafz": {
|
"node_modules/@react-spring/rafz": {
|
||||||
"version": "9.6.1",
|
"version": "9.7.5",
|
||||||
"resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9.7.5.tgz",
|
||||||
"integrity": "sha512-v6qbgNRpztJFFfSE3e2W1Uz+g8KnIBs6SmzCzcVVF61GdGfGOuBrbjIcp+nUz301awVmREKi4eMQb2Ab2gGgyQ==",
|
"integrity": "sha512-5ZenDQMC48wjUzPAm1EtwQ5Ot3bLIAwwqP2w2owG5KoNdNHpEJV263nGhCeKKmuA3vG2zLLOdu3or6kuDjA6Aw==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@react-spring/shared": {
|
"node_modules/@react-spring/shared": {
|
||||||
"version": "9.6.1",
|
"version": "9.7.5",
|
||||||
"resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.7.5.tgz",
|
||||||
"integrity": "sha512-PBFBXabxFEuF8enNLkVqMC9h5uLRBo6GQhRMQT/nRTnemVENimgRd+0ZT4yFnAQ0AxWNiJfX3qux+bW2LbG6Bw==",
|
"integrity": "sha512-wdtoJrhUeeyD/PP/zo+np2s1Z820Ohr/BbuVYv+3dVLW7WctoiN7std8rISoYoHpUXtbkpesSKuPIw/6U1w1Pw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@react-spring/rafz": "~9.6.1",
|
"@react-spring/rafz": "~9.7.5",
|
||||||
"@react-spring/types": "~9.6.1"
|
"@react-spring/types": "~9.7.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@react-spring/three": {
|
"node_modules/@react-spring/three": {
|
||||||
"version": "9.6.1",
|
"version": "9.7.5",
|
||||||
"resolved": "https://registry.npmjs.org/@react-spring/three/-/three-9.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/@react-spring/three/-/three-9.7.5.tgz",
|
||||||
"integrity": "sha512-Tyw2YhZPKJAX3t2FcqvpLRb71CyTe1GvT3V+i+xJzfALgpk10uPGdGaQQ5Xrzmok1340DAeg2pR/MCfaW7b8AA==",
|
"integrity": "sha512-RxIsCoQfUqOS3POmhVHa1wdWS0wyHAUway73uRLp3GAL5U2iYVNdnzQsep6M2NZ994BlW8TcKuMtQHUqOsy6WA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@react-spring/animated": "~9.6.1",
|
"@react-spring/animated": "~9.7.5",
|
||||||
"@react-spring/core": "~9.6.1",
|
"@react-spring/core": "~9.7.5",
|
||||||
"@react-spring/shared": "~9.6.1",
|
"@react-spring/shared": "~9.7.5",
|
||||||
"@react-spring/types": "~9.6.1"
|
"@react-spring/types": "~9.7.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@react-three/fiber": ">=6.0",
|
"@react-three/fiber": ">=6.0",
|
||||||
|
|
@ -3307,45 +3306,44 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@react-spring/types": {
|
"node_modules/@react-spring/types": {
|
||||||
"version": "9.6.1",
|
"version": "9.7.5",
|
||||||
"resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.7.5.tgz",
|
||||||
"integrity": "sha512-POu8Mk0hIU3lRXB3bGIGe4VHIwwDsQyoD1F394OK7STTiX9w4dG3cTLljjYswkQN+hDSHRrj4O36kuVa7KPU8Q==",
|
"integrity": "sha512-HVj7LrZ4ReHWBimBvu2SKND3cDVUPWKLqRTmWe/fNY6o1owGOX0cAHbdPDTMelgBlVbrTKrre6lFkhqGZErK/g==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@react-three/drei": {
|
"node_modules/@react-three/drei": {
|
||||||
"version": "9.105.6",
|
"version": "9.122.0",
|
||||||
"resolved": "https://registry.npmjs.org/@react-three/drei/-/drei-9.105.6.tgz",
|
"resolved": "https://registry.npmjs.org/@react-three/drei/-/drei-9.122.0.tgz",
|
||||||
"integrity": "sha512-JBgYeV36N9N9f1c3o1ZfLYW4rXZA7UQTq32Y8s3DEF6lwj1/y+RP/yq2VG5I8OzUPl7gsmWdy8fpWZgrlAqUpQ==",
|
"integrity": "sha512-SEO/F/rBCTjlLez7WAlpys+iGe9hty4rNgjZvgkQeXFSiwqD4Hbk/wNHMAbdd8vprO2Aj81mihv4dF5bC7D0CA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.11.2",
|
"@babel/runtime": "^7.26.0",
|
||||||
"@mediapipe/tasks-vision": "0.10.8",
|
"@mediapipe/tasks-vision": "0.10.17",
|
||||||
"@monogrid/gainmap-js": "^3.0.5",
|
"@monogrid/gainmap-js": "^3.0.6",
|
||||||
"@react-spring/three": "~9.6.1",
|
"@react-spring/three": "~9.7.5",
|
||||||
"@use-gesture/react": "^10.2.24",
|
"@use-gesture/react": "^10.3.1",
|
||||||
"camera-controls": "^2.4.2",
|
"camera-controls": "^2.9.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"detect-gpu": "^5.0.28",
|
"detect-gpu": "^5.0.56",
|
||||||
"glsl-noise": "^0.0.0",
|
"glsl-noise": "^0.0.0",
|
||||||
"hls.js": "1.3.5",
|
"hls.js": "^1.5.17",
|
||||||
"maath": "^0.10.7",
|
"maath": "^0.10.8",
|
||||||
"meshline": "^3.1.6",
|
"meshline": "^3.3.1",
|
||||||
"react-composer": "^5.0.3",
|
"react-composer": "^5.0.3",
|
||||||
"stats-gl": "^2.0.0",
|
"stats-gl": "^2.2.8",
|
||||||
"stats.js": "^0.17.0",
|
"stats.js": "^0.17.0",
|
||||||
"suspend-react": "^0.1.3",
|
"suspend-react": "^0.1.3",
|
||||||
"three-mesh-bvh": "^0.7.0",
|
"three-mesh-bvh": "^0.7.8",
|
||||||
"three-stdlib": "^2.29.9",
|
"three-stdlib": "^2.35.6",
|
||||||
"troika-three-text": "^0.49.0",
|
"troika-three-text": "^0.52.0",
|
||||||
"tunnel-rat": "^0.1.2",
|
"tunnel-rat": "^0.1.2",
|
||||||
"utility-types": "^3.10.0",
|
"utility-types": "^3.11.0",
|
||||||
"uuid": "^9.0.1",
|
"zustand": "^5.0.1"
|
||||||
"zustand": "^3.7.1"
|
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@react-three/fiber": ">=8.0",
|
"@react-three/fiber": "^8",
|
||||||
"react": ">=18.0",
|
"react": "^18",
|
||||||
"react-dom": ">=18.0",
|
"react-dom": "^18",
|
||||||
"three": ">=0.137"
|
"three": ">=0.137"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
|
|
@ -3366,6 +3364,35 @@
|
||||||
"three": ">= 0.159.0"
|
"three": ">= 0.159.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@react-three/drei/node_modules/zustand": {
|
||||||
|
"version": "5.0.14",
|
||||||
|
"resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.14.tgz",
|
||||||
|
"integrity": "sha512-/8tAspM5LMPr28b3fwLYrtdj77ECpfZviaP75CMTnwO8ISyaE4GDIG/9rDDYq/cH9D2Xw2A2RXglLInmVBQB/g==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.20.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@types/react": ">=18.0.0",
|
||||||
|
"immer": ">=9.0.6",
|
||||||
|
"react": ">=18.0.0",
|
||||||
|
"use-sync-external-store": ">=1.2.0"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@types/react": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"immer": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"react": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"use-sync-external-store": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@react-three/fiber": {
|
"node_modules/@react-three/fiber": {
|
||||||
"version": "8.18.0",
|
"version": "8.18.0",
|
||||||
"resolved": "https://registry.npmjs.org/@react-three/fiber/-/fiber-8.18.0.tgz",
|
"resolved": "https://registry.npmjs.org/@react-three/fiber/-/fiber-8.18.0.tgz",
|
||||||
|
|
@ -8050,9 +8077,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/deeks": {
|
"node_modules/deeks": {
|
||||||
"version": "3.1.0",
|
"version": "3.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/deeks/-/deeks-3.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/deeks/-/deeks-3.2.1.tgz",
|
||||||
"integrity": "sha512-e7oWH1LzIdv/prMQ7pmlDlaVoL64glqzvNgkgQNgyec9ORPHrT2jaOqMtRyqJuwWjtfb6v+2rk9pmaHj+F137A==",
|
"integrity": "sha512-D/o0k3pCG1aI1cxb/dDiWmtMc4Rh7ZQBybXpfMsw9Rbtqwg8kUA9SpYkWcw0pAUjZSnPm8MluctiS0o68r69jQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 16"
|
"node": ">= 16"
|
||||||
|
|
@ -8182,9 +8209,9 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/doc-path": {
|
"node_modules/doc-path": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/doc-path/-/doc-path-4.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/doc-path/-/doc-path-4.1.4.tgz",
|
||||||
"integrity": "sha512-h1ErTglQAVv2gCnOpD3sFS6uolDbOKHDU1BZq+Kl3npPqroU3dYL42lUgMfd5UimlwtRgp7C9dLGwqQ5D2HYgQ==",
|
"integrity": "sha512-yw5D++UCIB6a033PvQaUvSpW2QuKW0+DOId763n0Q4z3brxS7G8oQr8yBQ1nQFkognKrAVrV6I55TLeU9cfXTg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=16"
|
||||||
|
|
@ -9572,9 +9599,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/hls.js": {
|
"node_modules/hls.js": {
|
||||||
"version": "1.3.5",
|
"version": "1.6.16",
|
||||||
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.3.5.tgz",
|
"resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.6.16.tgz",
|
||||||
"integrity": "sha512-uybAvKS6uDe0MnWNEPnO0krWVr+8m2R0hJ/viql8H3MVK+itq8gGQuIYoFHL3rECkIpNH98Lw8YuuWMKZxp3Ew==",
|
"integrity": "sha512-VSIRpLfRwlAAdGL4wiTucx2ScRipo0ed1FBatWkyt832jC4CReKstga6yIhYVwGu9LOBjuX9wzmRMeQdBJtzEA==",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
},
|
},
|
||||||
"node_modules/hoist-non-react-statics": {
|
"node_modules/hoist-non-react-statics": {
|
||||||
|
|
@ -10432,13 +10459,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/json-2-csv": {
|
"node_modules/json-2-csv": {
|
||||||
"version": "5.5.10",
|
"version": "5.5.11",
|
||||||
"resolved": "https://registry.npmjs.org/json-2-csv/-/json-2-csv-5.5.10.tgz",
|
"resolved": "https://registry.npmjs.org/json-2-csv/-/json-2-csv-5.5.11.tgz",
|
||||||
"integrity": "sha512-Dep8wO3Fr5wNjQevO2Z8Y7yeee/nYSGRsi7q6zJDKEVHxXkXT+v21vxHmDX923UzmCXXkSo62HaTz6eTWzFLaw==",
|
"integrity": "sha512-kVuwgVL7rfad9ETf02ZZxJPuMR5ZSUn139+T34BfmVxYhb/IsAIm/LzEeQ8YLJmXfuQ5z7LUAFrgPZZM6VLJPw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"deeks": "3.1.0",
|
"deeks": "3.2.1",
|
||||||
"doc-path": "4.1.1"
|
"doc-path": "4.1.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 16"
|
"node": ">= 16"
|
||||||
|
|
@ -13732,9 +13759,10 @@
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/three-mesh-bvh": {
|
"node_modules/three-mesh-bvh": {
|
||||||
"version": "0.7.6",
|
"version": "0.7.8",
|
||||||
"resolved": "https://registry.npmjs.org/three-mesh-bvh/-/three-mesh-bvh-0.7.6.tgz",
|
"resolved": "https://registry.npmjs.org/three-mesh-bvh/-/three-mesh-bvh-0.7.8.tgz",
|
||||||
"integrity": "sha512-rCjsnxEqR9r1/C/lCqzGLS67NDty/S/eT6rAJfDvsanrIctTWdNoR4ZOGWewCB13h1QkVo2BpmC0wakj1+0m8A==",
|
"integrity": "sha512-BGEZTOIC14U0XIRw3tO4jY7IjP7n7v24nv9JXS1CyeVRWOCkcOMhRnmENUjuV39gktAw4Ofhr0OvIAiTspQrrw==",
|
||||||
|
"deprecated": "Deprecated due to three.js version incompatibility. Please use v0.8.0, instead.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"three": ">= 0.151.0"
|
"three": ">= 0.151.0"
|
||||||
|
|
@ -13912,14 +13940,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/troika-three-text": {
|
"node_modules/troika-three-text": {
|
||||||
"version": "0.49.1",
|
"version": "0.52.4",
|
||||||
"resolved": "https://registry.npmjs.org/troika-three-text/-/troika-three-text-0.49.1.tgz",
|
"resolved": "https://registry.npmjs.org/troika-three-text/-/troika-three-text-0.52.4.tgz",
|
||||||
"integrity": "sha512-lXGWxgjJP9kw4i4Wh+0k0Q/7cRfS6iOME4knKht/KozPu9GcFA9NnNpRvehIhrUawq9B0ZRw+0oiFHgRO+4Wig==",
|
"integrity": "sha512-V50EwcYGruV5rUZ9F4aNsrytGdKcXKALjEtQXIOBfhVoZU9VAqZNIoGQ3TMiooVqFAbR1w15T+f+8gkzoFzawg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bidi-js": "^1.0.2",
|
"bidi-js": "^1.0.2",
|
||||||
"troika-three-utils": "^0.49.0",
|
"troika-three-utils": "^0.52.4",
|
||||||
"troika-worker-utils": "^0.49.0",
|
"troika-worker-utils": "^0.52.0",
|
||||||
"webgl-sdf-generator": "1.1.1"
|
"webgl-sdf-generator": "1.1.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|
@ -13927,18 +13955,18 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/troika-three-utils": {
|
"node_modules/troika-three-utils": {
|
||||||
"version": "0.49.0",
|
"version": "0.52.4",
|
||||||
"resolved": "https://registry.npmjs.org/troika-three-utils/-/troika-three-utils-0.49.0.tgz",
|
"resolved": "https://registry.npmjs.org/troika-three-utils/-/troika-three-utils-0.52.4.tgz",
|
||||||
"integrity": "sha512-umitFL4cT+Fm/uONmaQEq4oZlyRHWwVClaS6ZrdcueRvwc2w+cpNQ47LlJKJswpqtMFWbEhOLy0TekmcPZOdYA==",
|
"integrity": "sha512-NORAStSVa/BDiG52Mfudk4j1FG4jC4ILutB3foPnfGbOeIs9+G5vZLa0pnmnaftZUGm4UwSoqEpWdqvC7zms3A==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"three": ">=0.125.0"
|
"three": ">=0.125.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/troika-worker-utils": {
|
"node_modules/troika-worker-utils": {
|
||||||
"version": "0.49.0",
|
"version": "0.52.0",
|
||||||
"resolved": "https://registry.npmjs.org/troika-worker-utils/-/troika-worker-utils-0.49.0.tgz",
|
"resolved": "https://registry.npmjs.org/troika-worker-utils/-/troika-worker-utils-0.52.0.tgz",
|
||||||
"integrity": "sha512-1xZHoJrG0HFfCvT/iyN41DvI/nRykiBtHqFkGaGgJwq5iXfIZFBiPPEHFpPpgyKM3Oo5ITHXP5wM2TNQszYdVg==",
|
"integrity": "sha512-W1CpvTHykaPH5brv5VHLfQo9D1OYuo0cSBEUQFFT/nBUzM8iD6Lq2/tgG/f1OelbAS1WtaTPQzE5uM49egnngw==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/ts-api-utils": {
|
"node_modules/ts-api-utils": {
|
||||||
|
|
@ -14392,19 +14420,6 @@
|
||||||
"node": ">= 4"
|
"node": ">= 4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/uuid": {
|
|
||||||
"version": "9.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
|
|
||||||
"integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
|
|
||||||
"funding": [
|
|
||||||
"https://github.com/sponsors/broofa",
|
|
||||||
"https://github.com/sponsors/ctavan"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
|
||||||
"bin": {
|
|
||||||
"uuid": "dist/bin/uuid"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/validate-npm-package-license": {
|
"node_modules/validate-npm-package-license": {
|
||||||
"version": "3.0.4",
|
"version": "3.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
|
||||||
|
|
|
||||||
|
|
@ -457,11 +457,29 @@ export default function ComponentForm(props: Props) {
|
||||||
setForm(f);
|
setForm(f);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const modeDictionaryValue = (dictionary: any, key: string): number | undefined => {
|
||||||
|
if (!Array.isArray(dictionary)) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
let entry = dictionary.find((elem: any) => elem.key === key);
|
||||||
|
return typeof entry?.value === "number" ? entry.value : undefined;
|
||||||
|
};
|
||||||
|
|
||||||
const isCoefficientValid = () => {
|
const isCoefficientValid = () => {
|
||||||
let calibrate = form.component.settings.calibrate;
|
let calibrate = form.component.settings.calibrate;
|
||||||
let coefficient = Number(form.coefficient);
|
let coefficient = Number(form.coefficient);
|
||||||
let valid = !isNaN(coefficient) && (!calibrate || (calibrate && coefficient > 0));
|
if (isNaN(coefficient)) {
|
||||||
return valid;
|
return false;
|
||||||
|
}
|
||||||
|
if (!calibrate) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (compMode && compMode.mode.entryA === "number") {
|
||||||
|
let minimum = modeDictionaryValue(compMode.mode.dictionaryA, "min") ?? 0;
|
||||||
|
let maximum = modeDictionaryValue(compMode.mode.dictionaryA, "max") ?? 100;
|
||||||
|
return coefficient >= minimum && coefficient <= maximum;
|
||||||
|
}
|
||||||
|
return coefficient > 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeCoefficient = (event: any) => {
|
const changeCoefficient = (event: any) => {
|
||||||
|
|
@ -485,8 +503,8 @@ export default function ComponentForm(props: Props) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const isOffsetValid = (min?: number, max?: number) => {
|
const isOffsetValid = (min?: number, max?: number) => {
|
||||||
let minimum = min ?? 0;
|
let minimum = min ?? modeDictionaryValue(compMode?.mode.dictionaryB, "min") ?? 0;
|
||||||
let maximum = max ?? 100;
|
let maximum = max ?? modeDictionaryValue(compMode?.mode.dictionaryB, "max") ?? 100;
|
||||||
if (compMode && form.component.settings.calibrate) {
|
if (compMode && form.component.settings.calibrate) {
|
||||||
return Number(form.offset) <= maximum && Number(form.offset) >= minimum;
|
return Number(form.offset) <= maximum && Number(form.offset) >= minimum;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@
|
||||||
"dictionaryA": [
|
"dictionaryA": [
|
||||||
{
|
{
|
||||||
"key": "min",
|
"key": "min",
|
||||||
"value": 1,
|
"value": 0,
|
||||||
"restricted": false
|
"restricted": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -518,7 +518,6 @@ export default function ComponentSettings(props: Props) {
|
||||||
formComponent.settings.type ===
|
formComponent.settings.type ===
|
||||||
quack.ComponentType.COMPONENT_TYPE_DRAGER_GAS_DONGLE ||
|
quack.ComponentType.COMPONENT_TYPE_DRAGER_GAS_DONGLE ||
|
||||||
formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_PRESSURE_CABLE ||
|
formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_PRESSURE_CABLE ||
|
||||||
formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_ANALOG_PRESSURE ||
|
|
||||||
(formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_CAPACITOR_CABLE &&
|
(formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_CAPACITOR_CABLE &&
|
||||||
formComponent.subType() ===
|
formComponent.subType() ===
|
||||||
quack.CapacitorCableSubtype.CAPACITOR_CABLE_SUBTYPE_FROG))
|
quack.CapacitorCableSubtype.CAPACITOR_CABLE_SUBTYPE_FROG))
|
||||||
|
|
@ -526,7 +525,9 @@ export default function ComponentSettings(props: Props) {
|
||||||
|
|
||||||
const supportsExpansion = () => {
|
const supportsExpansion = () => {
|
||||||
return ((formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_GRAIN_CABLE ||
|
return ((formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_GRAIN_CABLE ||
|
||||||
formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_DRAGER_GAS_DONGLE) &&
|
formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_DRAGER_GAS_DONGLE ||
|
||||||
|
formComponent.settings.type === quack.ComponentType.COMPONENT_TYPE_ANALOG_PRESSURE
|
||||||
|
) &&
|
||||||
formComponent.settings.addressType === quack.AddressType.ADDRESS_TYPE_I2C)
|
formComponent.settings.addressType === quack.AddressType.ADDRESS_TYPE_I2C)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ export default function DeviceScannedComponents(props: Props){
|
||||||
let expanders: quack.AddressData[] = []
|
let expanders: quack.AddressData[] = []
|
||||||
//filter the address data
|
//filter the address data
|
||||||
let addr = scannedI2C?.settings?.foundAddresses
|
let addr = scannedI2C?.settings?.foundAddresses
|
||||||
console.log(addr)
|
|
||||||
if(addr){
|
if(addr){
|
||||||
addr.forEach(addrData => {
|
addr.forEach(addrData => {
|
||||||
if(!i2cBlacklistAddresses.includes(addrData.address)){
|
if(!i2cBlacklistAddresses.includes(addrData.address)){
|
||||||
|
|
@ -87,7 +86,6 @@ export default function DeviceScannedComponents(props: Props){
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
console.log(valid)
|
|
||||||
setExpanderAddresses(expanders)
|
setExpanderAddresses(expanders)
|
||||||
setValidI2CComponentAddresses(valid)
|
setValidI2CComponentAddresses(valid)
|
||||||
},[scannedI2C])
|
},[scannedI2C])
|
||||||
|
|
@ -213,14 +211,13 @@ export default function DeviceScannedComponents(props: Props){
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
console.log(cloneList)
|
|
||||||
setComponents(cloneList)
|
setComponents(cloneList)
|
||||||
}
|
}
|
||||||
|
|
||||||
const removeScan = (key: string, type: pond.ObjectType) => {
|
const removeScan = (key: string, type: pond.ObjectType) => {
|
||||||
deviceAPI.removeFoundComponents(device.settings.deviceId, key, type)
|
deviceAPI.removeFoundComponents(device.settings.deviceId, key, type)
|
||||||
.then(resp => {
|
.then(resp => {
|
||||||
console.log("Cleared this scan")
|
// console.log("Cleared this scan")
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log("There was a problem clearing this scan")
|
console.log("There was a problem clearing this scan")
|
||||||
})
|
})
|
||||||
|
|
@ -229,7 +226,7 @@ export default function DeviceScannedComponents(props: Props){
|
||||||
const removeAllScans = () => {
|
const removeAllScans = () => {
|
||||||
deviceAPI.removeAllFoundComponents(device.settings.deviceId)
|
deviceAPI.removeAllFoundComponents(device.settings.deviceId)
|
||||||
.then(resp => {
|
.then(resp => {
|
||||||
console.log("Cleared all scans")
|
// console.log("Cleared all scans")
|
||||||
refreshCallback()
|
refreshCallback()
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log("There was a problem clearing scans")
|
console.log("There was a problem clearing scans")
|
||||||
|
|
|
||||||
|
|
@ -417,7 +417,8 @@ export default function ComponentProvider(props: PropsWithChildren<Props>) {
|
||||||
"&end=" +
|
"&end=" +
|
||||||
end +
|
end +
|
||||||
(keys ? "&keys=" + keys : "&keys=" + [deviceId.toString()]) +
|
(keys ? "&keys=" + keys : "&keys=" + [deviceId.toString()]) +
|
||||||
(types ? "&types=" + types : "&types=" + ["device"])
|
(types ? "&types=" + types : "&types=" + ["device"]) +
|
||||||
|
(as ? "&as=" + as : "")
|
||||||
)
|
)
|
||||||
return new Promise<AxiosResponse<pond.ListComponentHistoryBetweenResponse>>((resolve,reject) => {
|
return new Promise<AxiosResponse<pond.ListComponentHistoryBetweenResponse>>((resolve,reject) => {
|
||||||
get<pond.ListComponentHistoryBetweenResponse>(url).then(resp => {
|
get<pond.ListComponentHistoryBetweenResponse>(url).then(resp => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue