From 37029c97d16910f204bb964810902ea71f0eb0b1 Mon Sep 17 00:00:00 2001 From: Hans Kallekleiv <16436291+HansKallekleiv@users.noreply.github.com> Date: Tue, 17 Oct 2023 10:37:33 +0200 Subject: [PATCH] test --- frontend/package-lock.json | 977 +++++++++++++++------------ frontend/package.json | 2 +- frontend/src/modules/Grid3D/view.tsx | 122 ++-- 3 files changed, 607 insertions(+), 494 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 24bc7ef6e..4395985e1 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -14,7 +14,7 @@ "@mui/base": "^5.0.0-beta.3", "@tanstack/react-query": "^4.24.10", "@tanstack/react-query-devtools": "^4.24.12", - "@webviz/subsurface-viewer": "^0.0.2-alpha.9", + "@webviz/subsurface-viewer": "^0.3.3", "@webviz/well-completions-plot": "^0.0.1-alpha.1", "animate.css": "^4.1.1", "axios": "^1.3.0", @@ -720,12 +720,13 @@ } }, "node_modules/@deck.gl/aggregation-layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/aggregation-layers/-/aggregation-layers-8.9.19.tgz", - "integrity": "sha512-CYZy6dkOSXN+BWuR68YihomrLvEXdcAvUVM3gL5P4Dxi9ajdMKFBNo/34imHG/Bx5ukU2pxghDGrOmBXQ8XybQ==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/aggregation-layers/-/aggregation-layers-8.9.31.tgz", + "integrity": "sha512-jWbY5humtWdYjhO8JeGCG/YQmf2OjrAwrvY3PWc99njHjAD8XcMFCspQndVXD7BkYgkb93ZEbEKZyOP+H920/A==", "dependencies": { - "@luma.gl/constants": "^8.5.20", - "@luma.gl/shadertools": "^8.5.20", + "@babel/runtime": "^7.0.0", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/shadertools": "^8.5.21", "@math.gl/web-mercator": "^3.6.2", "d3-hexbin": "^0.2.1" }, @@ -736,15 +737,16 @@ } }, "node_modules/@deck.gl/carto": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/carto/-/carto-8.9.19.tgz", - "integrity": "sha512-sp7SLn7kPDtHVnSgGt/f+qPquBhxNjXK1WjA95+7cC0M+Zv1COJx8I6ORFsqYzz1oeutvxK3lar3QY54Xsy+pw==", - "dependencies": { - "@loaders.gl/gis": "^3.4.2", - "@loaders.gl/loader-utils": "^3.4.2", - "@loaders.gl/mvt": "^3.4.2", - "@loaders.gl/tiles": "^3.4.2", - "@luma.gl/constants": "^8.5.20", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/carto/-/carto-8.9.31.tgz", + "integrity": "sha512-Vx230igx2sXBKKiJrPnXmEpeZb2N/hgCXfQJzTzT3z8FuhMMnAls6zACZgmv04ix1CWjkP5S72AT4B1M94yySQ==", + "dependencies": { + "@babel/runtime": "^7.0.0", + "@loaders.gl/gis": "^3.4.13", + "@loaders.gl/loader-utils": "^3.4.13", + "@loaders.gl/mvt": "^3.4.13", + "@loaders.gl/tiles": "^3.4.13", + "@luma.gl/constants": "^8.5.21", "@math.gl/web-mercator": "^3.6.2", "cartocolor": "^4.0.2", "d3-array": "^3.2.0", @@ -762,7 +764,7 @@ "@deck.gl/extensions": "^8.0.0", "@deck.gl/geo-layers": "^8.0.0", "@deck.gl/layers": "^8.0.0", - "@loaders.gl/core": "^3.4.2" + "@loaders.gl/core": "^3.4.13" } }, "node_modules/@deck.gl/carto/node_modules/d3-format": { @@ -774,15 +776,16 @@ } }, "node_modules/@deck.gl/core": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/core/-/core-8.9.19.tgz", - "integrity": "sha512-RyI06YfdPu+F/6VPsYSEPkqdJiaixV+wRyww6ISd8dxrm8ERG+LyTUe6FuJbju9/j0OjfWHs50suK2NaNeP/iw==", - "dependencies": { - "@loaders.gl/core": "^3.4.2", - "@loaders.gl/images": "^3.4.2", - "@luma.gl/constants": "^8.5.20", - "@luma.gl/core": "^8.5.20", - "@luma.gl/webgl": "^8.5.20", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/core/-/core-8.9.31.tgz", + "integrity": "sha512-Zb0SspilYJpxFlg9UyNjk4UN0BlpIQCq3CY/D39EgqdEiy1wvvkIu0zArqbyKCBI6ig/OjCnbpn7XwsDEkPEzQ==", + "dependencies": { + "@babel/runtime": "^7.0.0", + "@loaders.gl/core": "^3.4.13", + "@loaders.gl/images": "^3.4.13", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/core": "^8.5.21", + "@luma.gl/webgl": "^8.5.21", "@math.gl/core": "^3.6.2", "@math.gl/sun": "^3.6.2", "@math.gl/web-mercator": "^3.6.2", @@ -795,11 +798,12 @@ } }, "node_modules/@deck.gl/extensions": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/extensions/-/extensions-8.9.19.tgz", - "integrity": "sha512-653Oq8/0jYIbdjmfuXKdPhj2m4rj29rTuZbBFZ4IusYswXz2A0zGcZZLekBFsDarSSNtMw34Z8ejHbbhEQFbAQ==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/extensions/-/extensions-8.9.31.tgz", + "integrity": "sha512-StQkkA8r1bpNuDYp/+ubBDZ5LydiMA1+6fSwgWFZrpjHN6Fvu67kx9ezGfqL3qk4wG524sTtN1MHmREqSFffww==", "dependencies": { - "@luma.gl/shadertools": "^8.5.20" + "@babel/runtime": "^7.0.0", + "@luma.gl/shadertools": "^8.5.21" }, "peerDependencies": { "@deck.gl/core": "^8.0.0", @@ -811,20 +815,21 @@ } }, "node_modules/@deck.gl/geo-layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/geo-layers/-/geo-layers-8.9.19.tgz", - "integrity": "sha512-j9fjFg1HpLcb1yTPmxz5uNMQrzspYDy6CWC/RvO0LPjLOvkwWDTuARywmccd+YKeAopE0we7gONIks+W6cmObg==", - "dependencies": { - "@loaders.gl/3d-tiles": "^3.4.2", - "@loaders.gl/gis": "^3.4.2", - "@loaders.gl/loader-utils": "^3.4.2", - "@loaders.gl/mvt": "^3.4.2", - "@loaders.gl/schema": "^3.4.2", - "@loaders.gl/terrain": "^3.4.2", - "@loaders.gl/tiles": "^3.4.2", - "@loaders.gl/wms": "^3.4.2", - "@luma.gl/constants": "^8.5.20", - "@luma.gl/experimental": "^8.5.20", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/geo-layers/-/geo-layers-8.9.31.tgz", + "integrity": "sha512-ClosS9ZfUwaakMQU/shR70/ThQyL9yjatzutEGXm/wQT13iPlet8GN0SzDIk32loQJnh3JKLuLBVUkew6mnAQA==", + "dependencies": { + "@babel/runtime": "^7.0.0", + "@loaders.gl/3d-tiles": "^3.4.13", + "@loaders.gl/gis": "^3.4.13", + "@loaders.gl/loader-utils": "^3.4.13", + "@loaders.gl/mvt": "^3.4.13", + "@loaders.gl/schema": "^3.4.13", + "@loaders.gl/terrain": "^3.4.13", + "@loaders.gl/tiles": "^3.4.13", + "@loaders.gl/wms": "^3.4.13", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/experimental": "^8.5.21", "@math.gl/core": "^3.6.2", "@math.gl/culling": "^3.6.2", "@math.gl/web-mercator": "^3.6.2", @@ -837,14 +842,17 @@ "@deck.gl/extensions": "^8.0.0", "@deck.gl/layers": "^8.0.0", "@deck.gl/mesh-layers": "^8.0.0", - "@loaders.gl/core": "^3.4.2", + "@loaders.gl/core": "^3.4.13", "@luma.gl/core": "^8.0.0" } }, "node_modules/@deck.gl/google-maps": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/google-maps/-/google-maps-8.9.19.tgz", - "integrity": "sha512-xDDMpT9/+UnUOh6Asc4NuZPEP4pnU5lYlKiWESpRrGXQvYAFojImaZNP5u27qFWnenBkTt5p7POLys7Og9r0FQ==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/google-maps/-/google-maps-8.9.31.tgz", + "integrity": "sha512-QZMWewG17Lf4dC0adhIK4p55Xn5uVoQxkWExUkZLS/NZM6wJjdZFgsJaeItu2N3plQ0mfPi22FkuD2YzZBp0jw==", + "dependencies": { + "@babel/runtime": "^7.0.0" + }, "peerDependencies": { "@deck.gl/core": "^8.0.0", "@luma.gl/constants": "^8.5.0", @@ -853,10 +861,11 @@ } }, "node_modules/@deck.gl/json": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/json/-/json-8.9.19.tgz", - "integrity": "sha512-jaEvgkPB8Kc0LkqG5u+nX9Rzx6FczmZU10RiiPxVZysHoYaZyBPd7mgRRDoB2Ro+Doe3CChhRFbv6Zc4mQOWyg==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/json/-/json-8.9.31.tgz", + "integrity": "sha512-Cldaqlx6kc9YMNOjAI0Ry8XmJ4oZHUvq6l8iPNXr0EIaqV2VjfR3qaQgl2eWoEko9SNCDdeHggvOmhpFODxnew==", "dependencies": { + "@babel/runtime": "^7.0.0", "d3-dsv": "^1.0.8", "expression-eval": "^2.0.0" }, @@ -902,13 +911,14 @@ } }, "node_modules/@deck.gl/layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/layers/-/layers-8.9.19.tgz", - "integrity": "sha512-yvyCVQdzCPet8e0nSvmLbwgJEIcRK2nWRwF/NwB/y63P3qBEvj0F6Syrh2PC2+YkoYKLmY+C3kzdgh2gc8ktDw==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/layers/-/layers-8.9.31.tgz", + "integrity": "sha512-IazTzd9Pc3qVsAv2rgx2X4ucokMKDjGNgpPHf1qLLLETl6u9HrL38ZbOEv21g6tAkMa8LcFABG71/PqoOTarYQ==", "dependencies": { - "@loaders.gl/images": "^3.4.2", - "@loaders.gl/schema": "^3.4.2", - "@luma.gl/constants": "^8.5.20", + "@babel/runtime": "^7.0.0", + "@loaders.gl/images": "^3.4.13", + "@loaders.gl/schema": "^3.4.13", + "@luma.gl/constants": "^8.5.21", "@mapbox/tiny-sdf": "^2.0.5", "@math.gl/core": "^3.6.2", "@math.gl/polygon": "^3.6.2", @@ -917,15 +927,16 @@ }, "peerDependencies": { "@deck.gl/core": "^8.0.0", - "@loaders.gl/core": "^3.4.2", + "@loaders.gl/core": "^3.4.13", "@luma.gl/core": "^8.0.0" } }, "node_modules/@deck.gl/mapbox": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/mapbox/-/mapbox-8.9.19.tgz", - "integrity": "sha512-MmNvAOnxJux7L8FtC8an0NwL7y8rVb2uj6Wkis1TNLJ9fmbKW/6bfmoz4iGp6xDj4O/fqHT3CcvwXu6s8jsbjg==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/mapbox/-/mapbox-8.9.31.tgz", + "integrity": "sha512-EU/FRXHa+rQGwBnCj1qq53q3iM90nIYJgcu4z9icGiD6MocoiZZc99XZEsbqCl1uWENeEbpon64HyGcfQK9Mbg==", "dependencies": { + "@babel/runtime": "^7.0.0", "@types/mapbox-gl": "^2.6.3" }, "peerDependencies": { @@ -933,14 +944,15 @@ } }, "node_modules/@deck.gl/mesh-layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/mesh-layers/-/mesh-layers-8.9.19.tgz", - "integrity": "sha512-jUDEl23Pfo/KHcW7sy1mIAiSBI0ec0aT6GRzsHSV3iuVwTIabuFhEutHVvGc+i/P6AQwLy+9dOuOC7mejf2+dQ==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/mesh-layers/-/mesh-layers-8.9.31.tgz", + "integrity": "sha512-aipGpFZBDX2yHQ3JQ9R2yRSOy6tQKVo6jxQ06oouPDBcwyJe9x3ocCxXh5V24pMaZxFajOmS9lbRd+aoMYUURQ==", "dependencies": { - "@loaders.gl/gltf": "^3.4.2", - "@luma.gl/constants": "^8.5.20", - "@luma.gl/experimental": "^8.5.20", - "@luma.gl/shadertools": "^8.5.20" + "@babel/runtime": "^7.0.0", + "@loaders.gl/gltf": "^3.4.13", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/experimental": "^8.5.21", + "@luma.gl/shadertools": "^8.5.21" }, "peerDependencies": { "@deck.gl/core": "^8.0.0", @@ -948,9 +960,12 @@ } }, "node_modules/@deck.gl/react": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/react/-/react-8.9.19.tgz", - "integrity": "sha512-ddoCiVRrbC+c7tosKX3tsmRXJUL32NUmIwgOl0NPsVfJqtfsDRLrBZNDQOATboCa3vdT6gvySsoF+9zQpIxi2Q==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/react/-/react-8.9.31.tgz", + "integrity": "sha512-quecOXm9CJl4KELo/WHsoQ9ijl2KTTENFXPDP4FT9tr5XJ7S1i7eh1S+OjAnXu+0NatNMepPfRmPP+oonrOcTA==", + "dependencies": { + "@babel/runtime": "^7.0.0" + }, "peerDependencies": { "@deck.gl/core": "^8.0.0", "@types/react": ">= 16.3", @@ -2351,15 +2366,15 @@ "dev": true }, "node_modules/@loaders.gl/3d-tiles": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/3d-tiles/-/3d-tiles-3.4.4.tgz", - "integrity": "sha512-o6z8h5541OYTQT546p1FJlMjiqFvTu29C6W9F9X3rPIUdnBirTpCubgpHcAw53AIDOrvlIxBKH/KDkqoxFIylQ==", - "dependencies": { - "@loaders.gl/draco": "3.4.4", - "@loaders.gl/gltf": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/math": "3.4.4", - "@loaders.gl/tiles": "3.4.4", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/3d-tiles/-/3d-tiles-3.4.14.tgz", + "integrity": "sha512-cxStTSLIJgRZnkTBYTcp9FPVBQWQlJMzW1LRlaKWiwAHkOKBElszzApIIEvRvZGSrs8k8TUi6BJ1Y41iiANF7w==", + "dependencies": { + "@loaders.gl/draco": "3.4.14", + "@loaders.gl/gltf": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/math": "3.4.14", + "@loaders.gl/tiles": "3.4.14", "@math.gl/core": "^3.5.1", "@math.gl/geospatial": "^3.5.1", "long": "^5.2.1" @@ -2374,13 +2389,13 @@ "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, "node_modules/@loaders.gl/core": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/core/-/core-3.4.4.tgz", - "integrity": "sha512-uutqjvf91WJZx7WbSmJy75AHFNCPDnnweFnVmdAEflF6ohc+uAdjltqz6tGD3PxbT8LjNLTOk60kxyC/QwDBqQ==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/core/-/core-3.4.14.tgz", + "integrity": "sha512-5PFcjv7xC8AYL17juDMrvo8n0Fcwg9s8F4BaM2YCNUsb9RCI2SmLuIFJMcx1GgHO5vL0WiTIKO+JT4n1FuNR6w==", "dependencies": { "@babel/runtime": "^7.3.1", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/worker-utils": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/worker-utils": "3.4.14", "@probe.gl/log": "^4.0.1" } }, @@ -2402,56 +2417,56 @@ } }, "node_modules/@loaders.gl/draco": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/draco/-/draco-3.4.4.tgz", - "integrity": "sha512-VtJffpDbcdA0/uJzzJIET3B5j96cz6g5f93Wg2tlGtvnKZvJs4bjyojur4p7u5ElHJARm36F91N7Td4jGvMbYw==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/draco/-/draco-3.4.14.tgz", + "integrity": "sha512-HwNFFt+dKZqFtzI0uVGvRkudFEZXxybJ+ZRsNkBbzAWoMM5L1TpuLs6DPsqPQUIT9HXNHzov18cZI0gK5bTJpg==", "dependencies": { "@babel/runtime": "^7.3.1", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "@loaders.gl/worker-utils": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "@loaders.gl/worker-utils": "3.4.14", "draco3d": "1.5.5" } }, "node_modules/@loaders.gl/gis": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/gis/-/gis-3.4.4.tgz", - "integrity": "sha512-QwGOdpaE/jb1KsgHEkkiUD7C+dHWSDJKfMKM5OStIMPABX0Cxd8MSqyQ8+BOFWM7kdqXdMvgRjB9912R6T4AHQ==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/gis/-/gis-3.4.14.tgz", + "integrity": "sha512-5cmhIwioPpSkfNzFRM3PbFDecjpYIhtEOFbryu3rE37npKHLTD2tF4ocQxUPB+QVED6GLwWBdzJIs64UWGrqjw==", "dependencies": { - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", "@mapbox/vector-tile": "^1.3.1", "@math.gl/polygon": "^3.5.1", "pbf": "^3.2.1" } }, "node_modules/@loaders.gl/gltf": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/gltf/-/gltf-3.4.4.tgz", - "integrity": "sha512-8dbyZChWXku+OoL64rccFa60uxBhbRLdDelfCZqopRxwI/JF8ZCAEGuoFAftw84sU97JmfJbnCtcMMc8bebv4w==", - "dependencies": { - "@loaders.gl/draco": "3.4.4", - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/textures": "3.4.4", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/gltf/-/gltf-3.4.14.tgz", + "integrity": "sha512-jv+B5S/taiwzXAOu5D9nk1jjU9+JCCr/6/nGguCE2Ya3IX7CI1Nlnp20eKKhW8ZCEokZavMNT0bNbiJ5ahEFjA==", + "dependencies": { + "@loaders.gl/draco": "3.4.14", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/textures": "3.4.14", "@math.gl/core": "^3.5.1" } }, "node_modules/@loaders.gl/images": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/images/-/images-3.4.4.tgz", - "integrity": "sha512-ViMh58oZ2GLsKCoYBH4nYMvi5fHeVZXiLAABVP+AVU54Jrf+PZYm8y8KaC22zBmGEZ15hGhJF/dNeOpgqZ+V4w==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/images/-/images-3.4.14.tgz", + "integrity": "sha512-tL447hTWhOKBOB87SE4hvlC8OkbRT0mEaW1a/wIS9f4HnYDa/ycRLMV+nvdvYMZur4isNPam44oiRqi7GcILkg==", "dependencies": { - "@loaders.gl/loader-utils": "3.4.4" + "@loaders.gl/loader-utils": "3.4.14" } }, "node_modules/@loaders.gl/loader-utils": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/loader-utils/-/loader-utils-3.4.4.tgz", - "integrity": "sha512-EFY/YBniNyfZk0ojnBitl+xRL3Du8tinOwdFnWD0rVIf61+bFifFI0fJys8/tgrlF6sfiKdYbupow8G/a3xF2g==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/loader-utils/-/loader-utils-3.4.14.tgz", + "integrity": "sha512-HCTY2/F83RLbZWcTvWLVJ1vke3dl6Bye20HU1AqkA37J2vzHwOZ8kj6eee8eeSkIkf7VIFwjyhVJxe0flQE/Bw==", "dependencies": { "@babel/runtime": "^7.3.1", - "@loaders.gl/worker-utils": "3.4.4", + "@loaders.gl/worker-utils": "3.4.14", "@probe.gl/stats": "^4.0.1" } }, @@ -2464,67 +2479,67 @@ } }, "node_modules/@loaders.gl/math": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/math/-/math-3.4.4.tgz", - "integrity": "sha512-l5ZGV7gAznj0nFjfiKIP9qIrSKLLiaRvGC2pmbM4J+2A674Sj59WwoZiASYNevOlByjScIwyZWe62wcneuyIWw==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/math/-/math-3.4.14.tgz", + "integrity": "sha512-OBEVX6Q5pMipbCAiZyX2+q1zRd0nw8M2dclpny05on8700OaKMwfs47wEUnbfCU3iyHad3sgsAxN3EIh+kuo9Q==", "dependencies": { - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", "@math.gl/core": "^3.5.1" } }, "node_modules/@loaders.gl/mvt": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/mvt/-/mvt-3.4.4.tgz", - "integrity": "sha512-qxGe+EmuaDlXBs/EeBFzIKipgv+YrAm2BlHzyxLOsdBVmay9q31OYCqdigVw3Fc5h30D65hOfBC6k1lKo4OUyw==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/mvt/-/mvt-3.4.14.tgz", + "integrity": "sha512-tozGmWvsJacjaLavjX4S/5yNDV9S4wJb7+vPG/nXWX2gTtgZ1mxcFQAtAJjokqpy37d1ZhLt+TXh0HrLoTmRgw==", "dependencies": { - "@loaders.gl/gis": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", + "@loaders.gl/gis": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", "@math.gl/polygon": "^3.5.1", "pbf": "^3.2.1" } }, "node_modules/@loaders.gl/schema": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/schema/-/schema-3.4.4.tgz", - "integrity": "sha512-+lESS+cUSgXst9kxaW2LTxWMVMrT96cv0TWfsSryA11EVsxr50aSPWC+K0BHe7k60+80pQWEt4iyMRgVHM+6tg==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/schema/-/schema-3.4.14.tgz", + "integrity": "sha512-r6BEDfUvbvzgUnh/MtkR5RzrkIwo1x1jtPFRTSJVsIZO7arXXlu3blffuv5ppEkKpNZ1Xzd9WtHp/JIkuctsmw==", "dependencies": { "@types/geojson": "^7946.0.7" } }, "node_modules/@loaders.gl/terrain": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/terrain/-/terrain-3.4.4.tgz", - "integrity": "sha512-IXX9uBlhRaehKMkFBmIclbexygTkRtDXTGg1r5p+SOITTnt1QYCM2J2q49Fntpi19reyVl9n+DzA81Pb8YeNLg==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/terrain/-/terrain-3.4.14.tgz", + "integrity": "sha512-vhchEVkPaWXnqd2ofujG2AEnBsk4hEw6LWSaFY7E3VMzNhI9l2EHvyU3+Hs03jYbXM4oLlQPGqd/T7x+5IMtig==", "dependencies": { "@babel/runtime": "^7.3.1", - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", "@mapbox/martini": "^0.2.0" } }, "node_modules/@loaders.gl/textures": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/textures/-/textures-3.4.4.tgz", - "integrity": "sha512-CD1CPKvXJy3TzzCq42xpwrpYdjimJ7bKf5GSwDs2+qx/fZDnmJBk9z/762VzXyUwTpgGFk3XzbEwkP6H4vkESg==", - "dependencies": { - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "@loaders.gl/worker-utils": "3.4.4", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/textures/-/textures-3.4.14.tgz", + "integrity": "sha512-iKDHL2ZlOUud4/e3g0p0SyvkukznopYy6La3O6I9vDfKp8peuKMRRcTfFfd/zH0OqQC0hIhCXNz46vRLu7h6ng==", + "dependencies": { + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "@loaders.gl/worker-utils": "3.4.14", "ktx-parse": "^0.0.4", "texture-compressor": "^1.0.2" } }, "node_modules/@loaders.gl/tiles": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/tiles/-/tiles-3.4.4.tgz", - "integrity": "sha512-Z2doHX4+9RTDpQZJ2EHqxcwXxvqWkJoD8i4wh/DvSZgp9Ccot4L7wb907gHyYvDZ3lzQc0mx7LVcC6BBNvKS8w==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/tiles/-/tiles-3.4.14.tgz", + "integrity": "sha512-an3scxl65r74LW4WoIGgluBmQpMY9eb381y9mZmREphTP6bWEj96fL/tiR+G6TiE6HJqTv8O3PH6xwI9OQmEJg==", "dependencies": { - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/math": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/math": "3.4.14", "@math.gl/core": "^3.5.1", "@math.gl/culling": "^3.5.1", "@math.gl/geospatial": "^3.5.1", @@ -2544,67 +2559,67 @@ } }, "node_modules/@loaders.gl/wms": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/wms/-/wms-3.4.4.tgz", - "integrity": "sha512-CVYldmVQq9rADw6ex5rLc0mrhqvq5LogUGQHAdRgU2HfpdLEVYjHOJuPzmZfDVQHMNw6a9QQBo54thjSQn5BbA==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/wms/-/wms-3.4.14.tgz", + "integrity": "sha512-D1pObPSUj885zGPyHIb7GtcwpHQNk0T8nK/4EHb0SHLe0y1b4qwqSOswdS9geXT9Q61hyhl/L0zqyTgwjiMStg==", "dependencies": { "@babel/runtime": "^7.3.1", - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "@loaders.gl/xml": "3.4.4", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "@loaders.gl/xml": "3.4.14", "@turf/rewind": "^5.1.5", "deep-strict-equal": "^0.2.0", "lerc": "^4.0.1" } }, "node_modules/@loaders.gl/worker-utils": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/worker-utils/-/worker-utils-3.4.4.tgz", - "integrity": "sha512-ltqMd+BsAk3QGPLycZODukL1wNyBEb04X6wpI3rC5NWByzwSippwWTW4g4QnS3Q9zgMFV4jR/YV6CRp/GiVzvQ==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/worker-utils/-/worker-utils-3.4.14.tgz", + "integrity": "sha512-PUSwxoAYbskisXd0KfYEQ902b0igBA2UAWdP6PzPvY+tJmobfh74dTNwrrBQ1rGXQxxmGx6zc6/ksX6mlIzIrg==", "dependencies": { "@babel/runtime": "^7.3.1" } }, "node_modules/@loaders.gl/xml": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/xml/-/xml-3.4.4.tgz", - "integrity": "sha512-y8idCKtyjVsIIpDDxZ8K53nLNJpzEffBadPNWfuhWWXCggOuQZhrnBWKnNrBu9GeO1ShYwrN8ea7GKdALl4fhA==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/xml/-/xml-3.4.14.tgz", + "integrity": "sha512-SNMGOHz4p8Cw+M6kxXhFEjXdNddJPOZY1rzNmRq7NYdGQlQYYeJdqV5HWzHx9BkoQYyrDXkrweGN0mY9QxCfeA==", "dependencies": { "@babel/runtime": "^7.3.1", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "fast-xml-parser": "^4.1.3" + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "fast-xml-parser": "^4.2.5" } }, "node_modules/@luma.gl/constants": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/constants/-/constants-8.5.20.tgz", - "integrity": "sha512-5yG+ybkUZ4j6kLPWMZjN4Hun2yLB0MyEpNCRKAUN9/yS9UIWA7unyVxjSf2vnE7k/7dywtxlbXegASNFgNVGxw==" + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/constants/-/constants-8.5.21.tgz", + "integrity": "sha512-aJxayGxTT+IRd1vfpcgD/cKSCiVJjBNiuiChS96VulrmCvkzUOLvYXr42y5qKB4RyR7vOIda5uQprNzoHrhQAA==" }, "node_modules/@luma.gl/core": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/core/-/core-8.5.20.tgz", - "integrity": "sha512-xJr96G6vhYcznYHC84fbeOG3fgNM4lFwj9bd0VPcg/Kfe8otUeN1Hl0AKHCCtNn48PiMSg3LKbaiRfNUMhaffQ==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/core/-/core-8.5.21.tgz", + "integrity": "sha512-11jQJQEMoR/IN2oIsd4zFxiQJk6FE+xgVIMUcsCTBuzafTtQZ8Po9df8mt+MVewpDyBlTVs6g8nxHRH4np1ukA==", "dependencies": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", - "@luma.gl/engine": "8.5.20", - "@luma.gl/gltools": "8.5.20", - "@luma.gl/shadertools": "8.5.20", - "@luma.gl/webgl": "8.5.20" + "@luma.gl/constants": "8.5.21", + "@luma.gl/engine": "8.5.21", + "@luma.gl/gltools": "8.5.21", + "@luma.gl/shadertools": "8.5.21", + "@luma.gl/webgl": "8.5.21" } }, "node_modules/@luma.gl/engine": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/engine/-/engine-8.5.20.tgz", - "integrity": "sha512-+0ryJ/4gL1pWaEgZimY21jUPt1LYiO6Cqte8TNUprCfAHoAStsuzD7jwgEqnM6jJOUEdIxQ3w0z3Dzw/0KIE+w==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/engine/-/engine-8.5.21.tgz", + "integrity": "sha512-IG3WQSKXFNUEs8QG7ZjHtGiOtsakUu+BAxtJ6997A6/F06yynZ44tPe5NU70jG9Yfu3kV0LykPZg7hO3vXZDiA==", "dependencies": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", - "@luma.gl/gltools": "8.5.20", - "@luma.gl/shadertools": "8.5.20", - "@luma.gl/webgl": "8.5.20", + "@luma.gl/constants": "8.5.21", + "@luma.gl/gltools": "8.5.21", + "@luma.gl/shadertools": "8.5.21", + "@luma.gl/webgl": "8.5.21", "@math.gl/core": "^3.5.0", "@probe.gl/env": "^3.5.0", "@probe.gl/stats": "^3.5.0", @@ -2612,11 +2627,11 @@ } }, "node_modules/@luma.gl/experimental": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/experimental/-/experimental-8.5.20.tgz", - "integrity": "sha512-V1Jp68rYMPtwMdf+50r3NSYsGV3srjwZ+lcK2ew4DshjedDbYwLqTGMWcOyBhY3K3aCl2LH3Fhn0hAY+3NTLGA==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/experimental/-/experimental-8.5.21.tgz", + "integrity": "sha512-uFKPChGofyihOKxtqJy78QCQCDFnuMTK4QHrUX/qiTnvFSO8BgtTUevKvWGN9lBvq+uDD0lSieeF9yBzhQfAzw==", "dependencies": { - "@luma.gl/constants": "8.5.20", + "@luma.gl/constants": "8.5.21", "@math.gl/core": "^3.5.0", "earcut": "^2.0.6" }, @@ -2630,34 +2645,34 @@ } }, "node_modules/@luma.gl/gltools": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/gltools/-/gltools-8.5.20.tgz", - "integrity": "sha512-5pP6ph9FSX5gHiVWQM1DmYRUnriklzKUG9yaqlQsKEqCFsOcKB0EfK3MfBVXIfsOdP/1bJZ9Dlz/zV19soWVhg==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/gltools/-/gltools-8.5.21.tgz", + "integrity": "sha512-6qZ0LaT2Mxa4AJT5F44TFoaziokYiHUwO45vnM/NYUOIu9xevcmS6VtToawytMEACGL6PDeDyVqP3Y80SDzq5g==", "dependencies": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", + "@luma.gl/constants": "8.5.21", "@probe.gl/env": "^3.5.0", "@probe.gl/log": "^3.5.0", "@types/offscreencanvas": "^2019.7.0" } }, "node_modules/@luma.gl/shadertools": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/shadertools/-/shadertools-8.5.20.tgz", - "integrity": "sha512-q1lrCZy1ncIFb4mMjsYgISLzNP6eMnhLUY+Oltj/qjAMcPEssCeHN2+XGfP/CVtU+O7sC+5JY2bQGaTs6HQ/Qw==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/shadertools/-/shadertools-8.5.21.tgz", + "integrity": "sha512-WQah7yFDJ8cNCLPYpIm3r0wSlXLvjoA279fcknmATvvkW3/i8PcCJ/nYEBJO3hHEwwMQxD16+YZu/uwGiifLMg==", "dependencies": { "@babel/runtime": "^7.0.0", "@math.gl/core": "^3.5.0" } }, "node_modules/@luma.gl/webgl": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/webgl/-/webgl-8.5.20.tgz", - "integrity": "sha512-p/kt9KztywH4l+09XHoZ4cPFOoE7xlZXIBMT8rxRVgfe1w0lvi7QYh4tOG7gk+iixQ34EyDQacoHCsabdpmqQg==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/webgl/-/webgl-8.5.21.tgz", + "integrity": "sha512-ZVLO4W5UuaOlzZIwmFWhnmZ1gYoU97a+heMqxLrSSmCUAsSu3ZETUex9gOmzdM1WWxcdWaa3M68rvKCNEgwz0Q==", "dependencies": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", - "@luma.gl/gltools": "8.5.20", + "@luma.gl/constants": "8.5.21", + "@luma.gl/gltools": "8.5.21", "@probe.gl/env": "^3.5.0", "@probe.gl/stats": "^3.5.0" } @@ -4075,6 +4090,18 @@ "url": "https://opencollective.com/turf" } }, + "node_modules/@turf/clean-coords": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@turf/clean-coords/-/clean-coords-6.5.0.tgz", + "integrity": "sha512-EMX7gyZz0WTH/ET7xV8MyrExywfm9qUi0/MY89yNffzGIEHuFfqwhcCqZ8O00rZIPZHUTxpmsxQSTfzJJA1CPw==", + "dependencies": { + "@turf/helpers": "^6.5.0", + "@turf/invariant": "^6.5.0" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, "node_modules/@turf/clone": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/@turf/clone/-/clone-6.5.0.tgz", @@ -4359,6 +4386,20 @@ "url": "https://opencollective.com/turf" } }, + "node_modules/@turf/simplify": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@turf/simplify/-/simplify-6.5.0.tgz", + "integrity": "sha512-USas3QqffPHUY184dwQdP8qsvcVH/PWBYdXY5am7YTBACaQOMAlf6AKJs9FT8jiO6fQpxfgxuEtwmox+pBtlOg==", + "dependencies": { + "@turf/clean-coords": "^6.5.0", + "@turf/clone": "^6.5.0", + "@turf/helpers": "^6.5.0", + "@turf/meta": "^6.5.0" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, "node_modules/@turf/transform-rotate": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/@turf/transform-rotate/-/transform-rotate-6.5.0.tgz", @@ -4816,9 +4857,9 @@ "dev": true }, "node_modules/@types/mapbox-gl": { - "version": "2.7.11", - "resolved": "https://registry.npmjs.org/@types/mapbox-gl/-/mapbox-gl-2.7.11.tgz", - "integrity": "sha512-4vSwPSTQIawZTFRiTY2R74aZwAiM9gE6KGj871xdyAPpa+DmEObXxQQXqL2PsMH31/rP9nxJ2Kv0boeTVJMXVw==", + "version": "2.7.15", + "resolved": "https://registry.npmjs.org/@types/mapbox-gl/-/mapbox-gl-2.7.15.tgz", + "integrity": "sha512-UE0dKAnfnFSut6xnoMiABVUGu/yZpwgr+houGvoW3HZ3RtYzg+NyqOMvASOc5sQf6s7O3P20z3cmtUoZecREjA==", "dependencies": { "@types/geojson": "*" } @@ -5268,9 +5309,9 @@ } }, "node_modules/@webviz/subsurface-viewer": { - "version": "0.0.2-alpha.9", - "resolved": "https://registry.npmjs.org/@webviz/subsurface-viewer/-/subsurface-viewer-0.0.2-alpha.9.tgz", - "integrity": "sha512-IyLZneJYbfr/85MvCfKwXowle6Q236eEZGSjTnlbk1UI9VMizSTADaCUjgxVxdHz/qcGowuQsnRLCG0G7Q47hg==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@webviz/subsurface-viewer/-/subsurface-viewer-0.3.3.tgz", + "integrity": "sha512-/hTXbFwegmZjixRvD5Ml2LBLataBaGeDLqvSQgfy4WX4/oL9n7TkyCPudbbovhLpgj9i1F4qP6OWrPx+k//2CQ==", "dependencies": { "@deck.gl/core": "^8.8.25", "@emerson-eps/color-tables": "^0.4.61", @@ -5278,14 +5319,15 @@ "@equinor/eds-icons": "^0.19.1", "@nebula.gl/layers": "^1.0.4", "@reduxjs/toolkit": "^1.7.2", + "@turf/simplify": "^6.5.0", "@vivaxy/png": "^1.3.0", "@webviz/wsc-common": "*", "ajv": "^7.2.1", "convert-units": "^2.3.4", "d3": "^7.8.2", "d3-color": "^3.1.0", - "d3-format": "^1.4.5", - "deck.gl": "^8.9.19", + "d3-format": "^3.1.0", + "deck.gl": "^8.9.31", "gl-matrix": "^3.4.3", "lodash": "^4.17.21", "mathjs": "^9.4.2", @@ -5298,6 +5340,14 @@ "react-dom": "^17 || ^18" } }, + "node_modules/@webviz/subsurface-viewer/node_modules/d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==", + "engines": { + "node": ">=12" + } + }, "node_modules/@webviz/well-completions-plot": { "version": "0.0.1-alpha.1", "resolved": "https://registry.npmjs.org/@webviz/well-completions-plot/-/well-completions-plot-0.0.1-alpha.1.tgz", @@ -7021,21 +7071,22 @@ "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" }, "node_modules/deck.gl": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/deck.gl/-/deck.gl-8.9.19.tgz", - "integrity": "sha512-36FprtxbXDUv2iWV5wDHb6YxxYJYaTIPIQoIVwe6YHaJslHSR34SQAOZFk8Gwx85hXaEwjJz+TWem6hB12oC8g==", - "dependencies": { - "@deck.gl/aggregation-layers": "8.9.19", - "@deck.gl/carto": "8.9.19", - "@deck.gl/core": "8.9.19", - "@deck.gl/extensions": "8.9.19", - "@deck.gl/geo-layers": "8.9.19", - "@deck.gl/google-maps": "8.9.19", - "@deck.gl/json": "8.9.19", - "@deck.gl/layers": "8.9.19", - "@deck.gl/mapbox": "8.9.19", - "@deck.gl/mesh-layers": "8.9.19", - "@deck.gl/react": "8.9.19" + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/deck.gl/-/deck.gl-8.9.31.tgz", + "integrity": "sha512-13K0DJ7E2LrBPV1WX4q83s1SeWg7G4jA8Mj7fMxxkpUe9HTodsUUuHEHXqEebN2bBUG6tcVDbRk2yZrCvccbkQ==", + "dependencies": { + "@babel/runtime": "^7.0.0", + "@deck.gl/aggregation-layers": "8.9.31", + "@deck.gl/carto": "8.9.31", + "@deck.gl/core": "8.9.31", + "@deck.gl/extensions": "8.9.31", + "@deck.gl/geo-layers": "8.9.31", + "@deck.gl/google-maps": "8.9.31", + "@deck.gl/json": "8.9.31", + "@deck.gl/layers": "8.9.31", + "@deck.gl/mapbox": "8.9.31", + "@deck.gl/mesh-layers": "8.9.31", + "@deck.gl/react": "8.9.31" } }, "node_modules/dedent": { @@ -8485,17 +8536,17 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" }, "node_modules/fast-xml-parser": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.4.tgz", - "integrity": "sha512-fbfMDvgBNIdDJLdLOwacjFAPYt67tr31H9ZhWSm45CDAxvd0I6WTlSOUo7K2P/K5sA5JgMKG64PI3DMcaFdWpQ==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.2.tgz", + "integrity": "sha512-rmrXUXwbJedoXkStenj1kkljNF7ugn5ZjR9FJcwmCfcCbtOMDghPajbc+Tck6vE6F5XsDmx+Pr2le9fw8+pXBg==", "funding": [ - { - "type": "paypal", - "url": "https://paypal.me/naturalintelligence" - }, { "type": "github", "url": "https://github.com/sponsors/NaturalIntelligence" + }, + { + "type": "paypal", + "url": "https://paypal.me/naturalintelligence" } ], "dependencies": { @@ -17126,26 +17177,28 @@ } }, "@deck.gl/aggregation-layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/aggregation-layers/-/aggregation-layers-8.9.19.tgz", - "integrity": "sha512-CYZy6dkOSXN+BWuR68YihomrLvEXdcAvUVM3gL5P4Dxi9ajdMKFBNo/34imHG/Bx5ukU2pxghDGrOmBXQ8XybQ==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/aggregation-layers/-/aggregation-layers-8.9.31.tgz", + "integrity": "sha512-jWbY5humtWdYjhO8JeGCG/YQmf2OjrAwrvY3PWc99njHjAD8XcMFCspQndVXD7BkYgkb93ZEbEKZyOP+H920/A==", "requires": { - "@luma.gl/constants": "^8.5.20", - "@luma.gl/shadertools": "^8.5.20", + "@babel/runtime": "^7.0.0", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/shadertools": "^8.5.21", "@math.gl/web-mercator": "^3.6.2", "d3-hexbin": "^0.2.1" } }, "@deck.gl/carto": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/carto/-/carto-8.9.19.tgz", - "integrity": "sha512-sp7SLn7kPDtHVnSgGt/f+qPquBhxNjXK1WjA95+7cC0M+Zv1COJx8I6ORFsqYzz1oeutvxK3lar3QY54Xsy+pw==", - "requires": { - "@loaders.gl/gis": "^3.4.2", - "@loaders.gl/loader-utils": "^3.4.2", - "@loaders.gl/mvt": "^3.4.2", - "@loaders.gl/tiles": "^3.4.2", - "@luma.gl/constants": "^8.5.20", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/carto/-/carto-8.9.31.tgz", + "integrity": "sha512-Vx230igx2sXBKKiJrPnXmEpeZb2N/hgCXfQJzTzT3z8FuhMMnAls6zACZgmv04ix1CWjkP5S72AT4B1M94yySQ==", + "requires": { + "@babel/runtime": "^7.0.0", + "@loaders.gl/gis": "^3.4.13", + "@loaders.gl/loader-utils": "^3.4.13", + "@loaders.gl/mvt": "^3.4.13", + "@loaders.gl/tiles": "^3.4.13", + "@luma.gl/constants": "^8.5.21", "@math.gl/web-mercator": "^3.6.2", "cartocolor": "^4.0.2", "d3-array": "^3.2.0", @@ -17166,15 +17219,16 @@ } }, "@deck.gl/core": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/core/-/core-8.9.19.tgz", - "integrity": "sha512-RyI06YfdPu+F/6VPsYSEPkqdJiaixV+wRyww6ISd8dxrm8ERG+LyTUe6FuJbju9/j0OjfWHs50suK2NaNeP/iw==", - "requires": { - "@loaders.gl/core": "^3.4.2", - "@loaders.gl/images": "^3.4.2", - "@luma.gl/constants": "^8.5.20", - "@luma.gl/core": "^8.5.20", - "@luma.gl/webgl": "^8.5.20", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/core/-/core-8.9.31.tgz", + "integrity": "sha512-Zb0SspilYJpxFlg9UyNjk4UN0BlpIQCq3CY/D39EgqdEiy1wvvkIu0zArqbyKCBI6ig/OjCnbpn7XwsDEkPEzQ==", + "requires": { + "@babel/runtime": "^7.0.0", + "@loaders.gl/core": "^3.4.13", + "@loaders.gl/images": "^3.4.13", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/core": "^8.5.21", + "@luma.gl/webgl": "^8.5.21", "@math.gl/core": "^3.6.2", "@math.gl/sun": "^3.6.2", "@math.gl/web-mercator": "^3.6.2", @@ -17187,28 +17241,30 @@ } }, "@deck.gl/extensions": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/extensions/-/extensions-8.9.19.tgz", - "integrity": "sha512-653Oq8/0jYIbdjmfuXKdPhj2m4rj29rTuZbBFZ4IusYswXz2A0zGcZZLekBFsDarSSNtMw34Z8ejHbbhEQFbAQ==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/extensions/-/extensions-8.9.31.tgz", + "integrity": "sha512-StQkkA8r1bpNuDYp/+ubBDZ5LydiMA1+6fSwgWFZrpjHN6Fvu67kx9ezGfqL3qk4wG524sTtN1MHmREqSFffww==", "requires": { - "@luma.gl/shadertools": "^8.5.20" + "@babel/runtime": "^7.0.0", + "@luma.gl/shadertools": "^8.5.21" } }, "@deck.gl/geo-layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/geo-layers/-/geo-layers-8.9.19.tgz", - "integrity": "sha512-j9fjFg1HpLcb1yTPmxz5uNMQrzspYDy6CWC/RvO0LPjLOvkwWDTuARywmccd+YKeAopE0we7gONIks+W6cmObg==", - "requires": { - "@loaders.gl/3d-tiles": "^3.4.2", - "@loaders.gl/gis": "^3.4.2", - "@loaders.gl/loader-utils": "^3.4.2", - "@loaders.gl/mvt": "^3.4.2", - "@loaders.gl/schema": "^3.4.2", - "@loaders.gl/terrain": "^3.4.2", - "@loaders.gl/tiles": "^3.4.2", - "@loaders.gl/wms": "^3.4.2", - "@luma.gl/constants": "^8.5.20", - "@luma.gl/experimental": "^8.5.20", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/geo-layers/-/geo-layers-8.9.31.tgz", + "integrity": "sha512-ClosS9ZfUwaakMQU/shR70/ThQyL9yjatzutEGXm/wQT13iPlet8GN0SzDIk32loQJnh3JKLuLBVUkew6mnAQA==", + "requires": { + "@babel/runtime": "^7.0.0", + "@loaders.gl/3d-tiles": "^3.4.13", + "@loaders.gl/gis": "^3.4.13", + "@loaders.gl/loader-utils": "^3.4.13", + "@loaders.gl/mvt": "^3.4.13", + "@loaders.gl/schema": "^3.4.13", + "@loaders.gl/terrain": "^3.4.13", + "@loaders.gl/tiles": "^3.4.13", + "@loaders.gl/wms": "^3.4.13", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/experimental": "^8.5.21", "@math.gl/core": "^3.6.2", "@math.gl/culling": "^3.6.2", "@math.gl/web-mercator": "^3.6.2", @@ -17218,16 +17274,19 @@ } }, "@deck.gl/google-maps": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/google-maps/-/google-maps-8.9.19.tgz", - "integrity": "sha512-xDDMpT9/+UnUOh6Asc4NuZPEP4pnU5lYlKiWESpRrGXQvYAFojImaZNP5u27qFWnenBkTt5p7POLys7Og9r0FQ==", - "requires": {} + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/google-maps/-/google-maps-8.9.31.tgz", + "integrity": "sha512-QZMWewG17Lf4dC0adhIK4p55Xn5uVoQxkWExUkZLS/NZM6wJjdZFgsJaeItu2N3plQ0mfPi22FkuD2YzZBp0jw==", + "requires": { + "@babel/runtime": "^7.0.0" + } }, "@deck.gl/json": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/json/-/json-8.9.19.tgz", - "integrity": "sha512-jaEvgkPB8Kc0LkqG5u+nX9Rzx6FczmZU10RiiPxVZysHoYaZyBPd7mgRRDoB2Ro+Doe3CChhRFbv6Zc4mQOWyg==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/json/-/json-8.9.31.tgz", + "integrity": "sha512-Cldaqlx6kc9YMNOjAI0Ry8XmJ4oZHUvq6l8iPNXr0EIaqV2VjfR3qaQgl2eWoEko9SNCDdeHggvOmhpFODxnew==", "requires": { + "@babel/runtime": "^7.0.0", "d3-dsv": "^1.0.8", "expression-eval": "^2.0.0" }, @@ -17258,13 +17317,14 @@ } }, "@deck.gl/layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/layers/-/layers-8.9.19.tgz", - "integrity": "sha512-yvyCVQdzCPet8e0nSvmLbwgJEIcRK2nWRwF/NwB/y63P3qBEvj0F6Syrh2PC2+YkoYKLmY+C3kzdgh2gc8ktDw==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/layers/-/layers-8.9.31.tgz", + "integrity": "sha512-IazTzd9Pc3qVsAv2rgx2X4ucokMKDjGNgpPHf1qLLLETl6u9HrL38ZbOEv21g6tAkMa8LcFABG71/PqoOTarYQ==", "requires": { - "@loaders.gl/images": "^3.4.2", - "@loaders.gl/schema": "^3.4.2", - "@luma.gl/constants": "^8.5.20", + "@babel/runtime": "^7.0.0", + "@loaders.gl/images": "^3.4.13", + "@loaders.gl/schema": "^3.4.13", + "@luma.gl/constants": "^8.5.21", "@mapbox/tiny-sdf": "^2.0.5", "@math.gl/core": "^3.6.2", "@math.gl/polygon": "^3.6.2", @@ -17273,29 +17333,33 @@ } }, "@deck.gl/mapbox": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/mapbox/-/mapbox-8.9.19.tgz", - "integrity": "sha512-MmNvAOnxJux7L8FtC8an0NwL7y8rVb2uj6Wkis1TNLJ9fmbKW/6bfmoz4iGp6xDj4O/fqHT3CcvwXu6s8jsbjg==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/mapbox/-/mapbox-8.9.31.tgz", + "integrity": "sha512-EU/FRXHa+rQGwBnCj1qq53q3iM90nIYJgcu4z9icGiD6MocoiZZc99XZEsbqCl1uWENeEbpon64HyGcfQK9Mbg==", "requires": { + "@babel/runtime": "^7.0.0", "@types/mapbox-gl": "^2.6.3" } }, "@deck.gl/mesh-layers": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/mesh-layers/-/mesh-layers-8.9.19.tgz", - "integrity": "sha512-jUDEl23Pfo/KHcW7sy1mIAiSBI0ec0aT6GRzsHSV3iuVwTIabuFhEutHVvGc+i/P6AQwLy+9dOuOC7mejf2+dQ==", + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/mesh-layers/-/mesh-layers-8.9.31.tgz", + "integrity": "sha512-aipGpFZBDX2yHQ3JQ9R2yRSOy6tQKVo6jxQ06oouPDBcwyJe9x3ocCxXh5V24pMaZxFajOmS9lbRd+aoMYUURQ==", "requires": { - "@loaders.gl/gltf": "^3.4.2", - "@luma.gl/constants": "^8.5.20", - "@luma.gl/experimental": "^8.5.20", - "@luma.gl/shadertools": "^8.5.20" + "@babel/runtime": "^7.0.0", + "@loaders.gl/gltf": "^3.4.13", + "@luma.gl/constants": "^8.5.21", + "@luma.gl/experimental": "^8.5.21", + "@luma.gl/shadertools": "^8.5.21" } }, "@deck.gl/react": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/@deck.gl/react/-/react-8.9.19.tgz", - "integrity": "sha512-ddoCiVRrbC+c7tosKX3tsmRXJUL32NUmIwgOl0NPsVfJqtfsDRLrBZNDQOATboCa3vdT6gvySsoF+9zQpIxi2Q==", - "requires": {} + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/@deck.gl/react/-/react-8.9.31.tgz", + "integrity": "sha512-quecOXm9CJl4KELo/WHsoQ9ijl2KTTENFXPDP4FT9tr5XJ7S1i7eh1S+OjAnXu+0NatNMepPfRmPP+oonrOcTA==", + "requires": { + "@babel/runtime": "^7.0.0" + } }, "@emerson-eps/color-tables": { "version": "0.4.61", @@ -18339,15 +18403,15 @@ "dev": true }, "@loaders.gl/3d-tiles": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/3d-tiles/-/3d-tiles-3.4.4.tgz", - "integrity": "sha512-o6z8h5541OYTQT546p1FJlMjiqFvTu29C6W9F9X3rPIUdnBirTpCubgpHcAw53AIDOrvlIxBKH/KDkqoxFIylQ==", - "requires": { - "@loaders.gl/draco": "3.4.4", - "@loaders.gl/gltf": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/math": "3.4.4", - "@loaders.gl/tiles": "3.4.4", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/3d-tiles/-/3d-tiles-3.4.14.tgz", + "integrity": "sha512-cxStTSLIJgRZnkTBYTcp9FPVBQWQlJMzW1LRlaKWiwAHkOKBElszzApIIEvRvZGSrs8k8TUi6BJ1Y41iiANF7w==", + "requires": { + "@loaders.gl/draco": "3.4.14", + "@loaders.gl/gltf": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/math": "3.4.14", + "@loaders.gl/tiles": "3.4.14", "@math.gl/core": "^3.5.1", "@math.gl/geospatial": "^3.5.1", "long": "^5.2.1" @@ -18361,13 +18425,13 @@ } }, "@loaders.gl/core": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/core/-/core-3.4.4.tgz", - "integrity": "sha512-uutqjvf91WJZx7WbSmJy75AHFNCPDnnweFnVmdAEflF6ohc+uAdjltqz6tGD3PxbT8LjNLTOk60kxyC/QwDBqQ==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/core/-/core-3.4.14.tgz", + "integrity": "sha512-5PFcjv7xC8AYL17juDMrvo8n0Fcwg9s8F4BaM2YCNUsb9RCI2SmLuIFJMcx1GgHO5vL0WiTIKO+JT4n1FuNR6w==", "requires": { "@babel/runtime": "^7.3.1", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/worker-utils": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/worker-utils": "3.4.14", "@probe.gl/log": "^4.0.1" }, "dependencies": { @@ -18391,56 +18455,56 @@ } }, "@loaders.gl/draco": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/draco/-/draco-3.4.4.tgz", - "integrity": "sha512-VtJffpDbcdA0/uJzzJIET3B5j96cz6g5f93Wg2tlGtvnKZvJs4bjyojur4p7u5ElHJARm36F91N7Td4jGvMbYw==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/draco/-/draco-3.4.14.tgz", + "integrity": "sha512-HwNFFt+dKZqFtzI0uVGvRkudFEZXxybJ+ZRsNkBbzAWoMM5L1TpuLs6DPsqPQUIT9HXNHzov18cZI0gK5bTJpg==", "requires": { "@babel/runtime": "^7.3.1", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "@loaders.gl/worker-utils": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "@loaders.gl/worker-utils": "3.4.14", "draco3d": "1.5.5" } }, "@loaders.gl/gis": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/gis/-/gis-3.4.4.tgz", - "integrity": "sha512-QwGOdpaE/jb1KsgHEkkiUD7C+dHWSDJKfMKM5OStIMPABX0Cxd8MSqyQ8+BOFWM7kdqXdMvgRjB9912R6T4AHQ==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/gis/-/gis-3.4.14.tgz", + "integrity": "sha512-5cmhIwioPpSkfNzFRM3PbFDecjpYIhtEOFbryu3rE37npKHLTD2tF4ocQxUPB+QVED6GLwWBdzJIs64UWGrqjw==", "requires": { - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", "@mapbox/vector-tile": "^1.3.1", "@math.gl/polygon": "^3.5.1", "pbf": "^3.2.1" } }, "@loaders.gl/gltf": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/gltf/-/gltf-3.4.4.tgz", - "integrity": "sha512-8dbyZChWXku+OoL64rccFa60uxBhbRLdDelfCZqopRxwI/JF8ZCAEGuoFAftw84sU97JmfJbnCtcMMc8bebv4w==", - "requires": { - "@loaders.gl/draco": "3.4.4", - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/textures": "3.4.4", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/gltf/-/gltf-3.4.14.tgz", + "integrity": "sha512-jv+B5S/taiwzXAOu5D9nk1jjU9+JCCr/6/nGguCE2Ya3IX7CI1Nlnp20eKKhW8ZCEokZavMNT0bNbiJ5ahEFjA==", + "requires": { + "@loaders.gl/draco": "3.4.14", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/textures": "3.4.14", "@math.gl/core": "^3.5.1" } }, "@loaders.gl/images": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/images/-/images-3.4.4.tgz", - "integrity": "sha512-ViMh58oZ2GLsKCoYBH4nYMvi5fHeVZXiLAABVP+AVU54Jrf+PZYm8y8KaC22zBmGEZ15hGhJF/dNeOpgqZ+V4w==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/images/-/images-3.4.14.tgz", + "integrity": "sha512-tL447hTWhOKBOB87SE4hvlC8OkbRT0mEaW1a/wIS9f4HnYDa/ycRLMV+nvdvYMZur4isNPam44oiRqi7GcILkg==", "requires": { - "@loaders.gl/loader-utils": "3.4.4" + "@loaders.gl/loader-utils": "3.4.14" } }, "@loaders.gl/loader-utils": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/loader-utils/-/loader-utils-3.4.4.tgz", - "integrity": "sha512-EFY/YBniNyfZk0ojnBitl+xRL3Du8tinOwdFnWD0rVIf61+bFifFI0fJys8/tgrlF6sfiKdYbupow8G/a3xF2g==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/loader-utils/-/loader-utils-3.4.14.tgz", + "integrity": "sha512-HCTY2/F83RLbZWcTvWLVJ1vke3dl6Bye20HU1AqkA37J2vzHwOZ8kj6eee8eeSkIkf7VIFwjyhVJxe0flQE/Bw==", "requires": { "@babel/runtime": "^7.3.1", - "@loaders.gl/worker-utils": "3.4.4", + "@loaders.gl/worker-utils": "3.4.14", "@probe.gl/stats": "^4.0.1" }, "dependencies": { @@ -18455,67 +18519,67 @@ } }, "@loaders.gl/math": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/math/-/math-3.4.4.tgz", - "integrity": "sha512-l5ZGV7gAznj0nFjfiKIP9qIrSKLLiaRvGC2pmbM4J+2A674Sj59WwoZiASYNevOlByjScIwyZWe62wcneuyIWw==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/math/-/math-3.4.14.tgz", + "integrity": "sha512-OBEVX6Q5pMipbCAiZyX2+q1zRd0nw8M2dclpny05on8700OaKMwfs47wEUnbfCU3iyHad3sgsAxN3EIh+kuo9Q==", "requires": { - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", "@math.gl/core": "^3.5.1" } }, "@loaders.gl/mvt": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/mvt/-/mvt-3.4.4.tgz", - "integrity": "sha512-qxGe+EmuaDlXBs/EeBFzIKipgv+YrAm2BlHzyxLOsdBVmay9q31OYCqdigVw3Fc5h30D65hOfBC6k1lKo4OUyw==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/mvt/-/mvt-3.4.14.tgz", + "integrity": "sha512-tozGmWvsJacjaLavjX4S/5yNDV9S4wJb7+vPG/nXWX2gTtgZ1mxcFQAtAJjokqpy37d1ZhLt+TXh0HrLoTmRgw==", "requires": { - "@loaders.gl/gis": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", + "@loaders.gl/gis": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", "@math.gl/polygon": "^3.5.1", "pbf": "^3.2.1" } }, "@loaders.gl/schema": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/schema/-/schema-3.4.4.tgz", - "integrity": "sha512-+lESS+cUSgXst9kxaW2LTxWMVMrT96cv0TWfsSryA11EVsxr50aSPWC+K0BHe7k60+80pQWEt4iyMRgVHM+6tg==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/schema/-/schema-3.4.14.tgz", + "integrity": "sha512-r6BEDfUvbvzgUnh/MtkR5RzrkIwo1x1jtPFRTSJVsIZO7arXXlu3blffuv5ppEkKpNZ1Xzd9WtHp/JIkuctsmw==", "requires": { "@types/geojson": "^7946.0.7" } }, "@loaders.gl/terrain": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/terrain/-/terrain-3.4.4.tgz", - "integrity": "sha512-IXX9uBlhRaehKMkFBmIclbexygTkRtDXTGg1r5p+SOITTnt1QYCM2J2q49Fntpi19reyVl9n+DzA81Pb8YeNLg==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/terrain/-/terrain-3.4.14.tgz", + "integrity": "sha512-vhchEVkPaWXnqd2ofujG2AEnBsk4hEw6LWSaFY7E3VMzNhI9l2EHvyU3+Hs03jYbXM4oLlQPGqd/T7x+5IMtig==", "requires": { "@babel/runtime": "^7.3.1", - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", "@mapbox/martini": "^0.2.0" } }, "@loaders.gl/textures": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/textures/-/textures-3.4.4.tgz", - "integrity": "sha512-CD1CPKvXJy3TzzCq42xpwrpYdjimJ7bKf5GSwDs2+qx/fZDnmJBk9z/762VzXyUwTpgGFk3XzbEwkP6H4vkESg==", - "requires": { - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "@loaders.gl/worker-utils": "3.4.4", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/textures/-/textures-3.4.14.tgz", + "integrity": "sha512-iKDHL2ZlOUud4/e3g0p0SyvkukznopYy6La3O6I9vDfKp8peuKMRRcTfFfd/zH0OqQC0hIhCXNz46vRLu7h6ng==", + "requires": { + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "@loaders.gl/worker-utils": "3.4.14", "ktx-parse": "^0.0.4", "texture-compressor": "^1.0.2" } }, "@loaders.gl/tiles": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/tiles/-/tiles-3.4.4.tgz", - "integrity": "sha512-Z2doHX4+9RTDpQZJ2EHqxcwXxvqWkJoD8i4wh/DvSZgp9Ccot4L7wb907gHyYvDZ3lzQc0mx7LVcC6BBNvKS8w==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/tiles/-/tiles-3.4.14.tgz", + "integrity": "sha512-an3scxl65r74LW4WoIGgluBmQpMY9eb381y9mZmREphTP6bWEj96fL/tiR+G6TiE6HJqTv8O3PH6xwI9OQmEJg==", "requires": { - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/math": "3.4.4", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/math": "3.4.14", "@math.gl/core": "^3.5.1", "@math.gl/culling": "^3.5.1", "@math.gl/geospatial": "^3.5.1", @@ -18534,67 +18598,67 @@ } }, "@loaders.gl/wms": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/wms/-/wms-3.4.4.tgz", - "integrity": "sha512-CVYldmVQq9rADw6ex5rLc0mrhqvq5LogUGQHAdRgU2HfpdLEVYjHOJuPzmZfDVQHMNw6a9QQBo54thjSQn5BbA==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/wms/-/wms-3.4.14.tgz", + "integrity": "sha512-D1pObPSUj885zGPyHIb7GtcwpHQNk0T8nK/4EHb0SHLe0y1b4qwqSOswdS9geXT9Q61hyhl/L0zqyTgwjiMStg==", "requires": { "@babel/runtime": "^7.3.1", - "@loaders.gl/images": "3.4.4", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "@loaders.gl/xml": "3.4.4", + "@loaders.gl/images": "3.4.14", + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "@loaders.gl/xml": "3.4.14", "@turf/rewind": "^5.1.5", "deep-strict-equal": "^0.2.0", "lerc": "^4.0.1" } }, "@loaders.gl/worker-utils": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/worker-utils/-/worker-utils-3.4.4.tgz", - "integrity": "sha512-ltqMd+BsAk3QGPLycZODukL1wNyBEb04X6wpI3rC5NWByzwSippwWTW4g4QnS3Q9zgMFV4jR/YV6CRp/GiVzvQ==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/worker-utils/-/worker-utils-3.4.14.tgz", + "integrity": "sha512-PUSwxoAYbskisXd0KfYEQ902b0igBA2UAWdP6PzPvY+tJmobfh74dTNwrrBQ1rGXQxxmGx6zc6/ksX6mlIzIrg==", "requires": { "@babel/runtime": "^7.3.1" } }, "@loaders.gl/xml": { - "version": "3.4.4", - "resolved": "https://registry.npmjs.org/@loaders.gl/xml/-/xml-3.4.4.tgz", - "integrity": "sha512-y8idCKtyjVsIIpDDxZ8K53nLNJpzEffBadPNWfuhWWXCggOuQZhrnBWKnNrBu9GeO1ShYwrN8ea7GKdALl4fhA==", + "version": "3.4.14", + "resolved": "https://registry.npmjs.org/@loaders.gl/xml/-/xml-3.4.14.tgz", + "integrity": "sha512-SNMGOHz4p8Cw+M6kxXhFEjXdNddJPOZY1rzNmRq7NYdGQlQYYeJdqV5HWzHx9BkoQYyrDXkrweGN0mY9QxCfeA==", "requires": { "@babel/runtime": "^7.3.1", - "@loaders.gl/loader-utils": "3.4.4", - "@loaders.gl/schema": "3.4.4", - "fast-xml-parser": "^4.1.3" + "@loaders.gl/loader-utils": "3.4.14", + "@loaders.gl/schema": "3.4.14", + "fast-xml-parser": "^4.2.5" } }, "@luma.gl/constants": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/constants/-/constants-8.5.20.tgz", - "integrity": "sha512-5yG+ybkUZ4j6kLPWMZjN4Hun2yLB0MyEpNCRKAUN9/yS9UIWA7unyVxjSf2vnE7k/7dywtxlbXegASNFgNVGxw==" + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/constants/-/constants-8.5.21.tgz", + "integrity": "sha512-aJxayGxTT+IRd1vfpcgD/cKSCiVJjBNiuiChS96VulrmCvkzUOLvYXr42y5qKB4RyR7vOIda5uQprNzoHrhQAA==" }, "@luma.gl/core": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/core/-/core-8.5.20.tgz", - "integrity": "sha512-xJr96G6vhYcznYHC84fbeOG3fgNM4lFwj9bd0VPcg/Kfe8otUeN1Hl0AKHCCtNn48PiMSg3LKbaiRfNUMhaffQ==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/core/-/core-8.5.21.tgz", + "integrity": "sha512-11jQJQEMoR/IN2oIsd4zFxiQJk6FE+xgVIMUcsCTBuzafTtQZ8Po9df8mt+MVewpDyBlTVs6g8nxHRH4np1ukA==", "requires": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", - "@luma.gl/engine": "8.5.20", - "@luma.gl/gltools": "8.5.20", - "@luma.gl/shadertools": "8.5.20", - "@luma.gl/webgl": "8.5.20" + "@luma.gl/constants": "8.5.21", + "@luma.gl/engine": "8.5.21", + "@luma.gl/gltools": "8.5.21", + "@luma.gl/shadertools": "8.5.21", + "@luma.gl/webgl": "8.5.21" } }, "@luma.gl/engine": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/engine/-/engine-8.5.20.tgz", - "integrity": "sha512-+0ryJ/4gL1pWaEgZimY21jUPt1LYiO6Cqte8TNUprCfAHoAStsuzD7jwgEqnM6jJOUEdIxQ3w0z3Dzw/0KIE+w==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/engine/-/engine-8.5.21.tgz", + "integrity": "sha512-IG3WQSKXFNUEs8QG7ZjHtGiOtsakUu+BAxtJ6997A6/F06yynZ44tPe5NU70jG9Yfu3kV0LykPZg7hO3vXZDiA==", "requires": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", - "@luma.gl/gltools": "8.5.20", - "@luma.gl/shadertools": "8.5.20", - "@luma.gl/webgl": "8.5.20", + "@luma.gl/constants": "8.5.21", + "@luma.gl/gltools": "8.5.21", + "@luma.gl/shadertools": "8.5.21", + "@luma.gl/webgl": "8.5.21", "@math.gl/core": "^3.5.0", "@probe.gl/env": "^3.5.0", "@probe.gl/stats": "^3.5.0", @@ -18602,44 +18666,44 @@ } }, "@luma.gl/experimental": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/experimental/-/experimental-8.5.20.tgz", - "integrity": "sha512-V1Jp68rYMPtwMdf+50r3NSYsGV3srjwZ+lcK2ew4DshjedDbYwLqTGMWcOyBhY3K3aCl2LH3Fhn0hAY+3NTLGA==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/experimental/-/experimental-8.5.21.tgz", + "integrity": "sha512-uFKPChGofyihOKxtqJy78QCQCDFnuMTK4QHrUX/qiTnvFSO8BgtTUevKvWGN9lBvq+uDD0lSieeF9yBzhQfAzw==", "requires": { - "@luma.gl/constants": "8.5.20", + "@luma.gl/constants": "8.5.21", "@math.gl/core": "^3.5.0", "earcut": "^2.0.6" } }, "@luma.gl/gltools": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/gltools/-/gltools-8.5.20.tgz", - "integrity": "sha512-5pP6ph9FSX5gHiVWQM1DmYRUnriklzKUG9yaqlQsKEqCFsOcKB0EfK3MfBVXIfsOdP/1bJZ9Dlz/zV19soWVhg==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/gltools/-/gltools-8.5.21.tgz", + "integrity": "sha512-6qZ0LaT2Mxa4AJT5F44TFoaziokYiHUwO45vnM/NYUOIu9xevcmS6VtToawytMEACGL6PDeDyVqP3Y80SDzq5g==", "requires": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", + "@luma.gl/constants": "8.5.21", "@probe.gl/env": "^3.5.0", "@probe.gl/log": "^3.5.0", "@types/offscreencanvas": "^2019.7.0" } }, "@luma.gl/shadertools": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/shadertools/-/shadertools-8.5.20.tgz", - "integrity": "sha512-q1lrCZy1ncIFb4mMjsYgISLzNP6eMnhLUY+Oltj/qjAMcPEssCeHN2+XGfP/CVtU+O7sC+5JY2bQGaTs6HQ/Qw==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/shadertools/-/shadertools-8.5.21.tgz", + "integrity": "sha512-WQah7yFDJ8cNCLPYpIm3r0wSlXLvjoA279fcknmATvvkW3/i8PcCJ/nYEBJO3hHEwwMQxD16+YZu/uwGiifLMg==", "requires": { "@babel/runtime": "^7.0.0", "@math.gl/core": "^3.5.0" } }, "@luma.gl/webgl": { - "version": "8.5.20", - "resolved": "https://registry.npmjs.org/@luma.gl/webgl/-/webgl-8.5.20.tgz", - "integrity": "sha512-p/kt9KztywH4l+09XHoZ4cPFOoE7xlZXIBMT8rxRVgfe1w0lvi7QYh4tOG7gk+iixQ34EyDQacoHCsabdpmqQg==", + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/webgl/-/webgl-8.5.21.tgz", + "integrity": "sha512-ZVLO4W5UuaOlzZIwmFWhnmZ1gYoU97a+heMqxLrSSmCUAsSu3ZETUex9gOmzdM1WWxcdWaa3M68rvKCNEgwz0Q==", "requires": { "@babel/runtime": "^7.0.0", - "@luma.gl/constants": "8.5.20", - "@luma.gl/gltools": "8.5.20", + "@luma.gl/constants": "8.5.21", + "@luma.gl/gltools": "8.5.21", "@probe.gl/env": "^3.5.0", "@probe.gl/stats": "^3.5.0" } @@ -19680,6 +19744,15 @@ "@turf/helpers": "^6.5.0" } }, + "@turf/clean-coords": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@turf/clean-coords/-/clean-coords-6.5.0.tgz", + "integrity": "sha512-EMX7gyZz0WTH/ET7xV8MyrExywfm9qUi0/MY89yNffzGIEHuFfqwhcCqZ8O00rZIPZHUTxpmsxQSTfzJJA1CPw==", + "requires": { + "@turf/helpers": "^6.5.0", + "@turf/invariant": "^6.5.0" + } + }, "@turf/clone": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/@turf/clone/-/clone-6.5.0.tgz", @@ -19909,6 +19982,17 @@ "@turf/invariant": "^6.5.0" } }, + "@turf/simplify": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@turf/simplify/-/simplify-6.5.0.tgz", + "integrity": "sha512-USas3QqffPHUY184dwQdP8qsvcVH/PWBYdXY5am7YTBACaQOMAlf6AKJs9FT8jiO6fQpxfgxuEtwmox+pBtlOg==", + "requires": { + "@turf/clean-coords": "^6.5.0", + "@turf/clone": "^6.5.0", + "@turf/helpers": "^6.5.0", + "@turf/meta": "^6.5.0" + } + }, "@turf/transform-rotate": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/@turf/transform-rotate/-/transform-rotate-6.5.0.tgz", @@ -20354,9 +20438,9 @@ "dev": true }, "@types/mapbox-gl": { - "version": "2.7.11", - "resolved": "https://registry.npmjs.org/@types/mapbox-gl/-/mapbox-gl-2.7.11.tgz", - "integrity": "sha512-4vSwPSTQIawZTFRiTY2R74aZwAiM9gE6KGj871xdyAPpa+DmEObXxQQXqL2PsMH31/rP9nxJ2Kv0boeTVJMXVw==", + "version": "2.7.15", + "resolved": "https://registry.npmjs.org/@types/mapbox-gl/-/mapbox-gl-2.7.15.tgz", + "integrity": "sha512-UE0dKAnfnFSut6xnoMiABVUGu/yZpwgr+houGvoW3HZ3RtYzg+NyqOMvASOc5sQf6s7O3P20z3cmtUoZecREjA==", "requires": { "@types/geojson": "*" } @@ -20686,9 +20770,9 @@ } }, "@webviz/subsurface-viewer": { - "version": "0.0.2-alpha.9", - "resolved": "https://registry.npmjs.org/@webviz/subsurface-viewer/-/subsurface-viewer-0.0.2-alpha.9.tgz", - "integrity": "sha512-IyLZneJYbfr/85MvCfKwXowle6Q236eEZGSjTnlbk1UI9VMizSTADaCUjgxVxdHz/qcGowuQsnRLCG0G7Q47hg==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@webviz/subsurface-viewer/-/subsurface-viewer-0.3.3.tgz", + "integrity": "sha512-/hTXbFwegmZjixRvD5Ml2LBLataBaGeDLqvSQgfy4WX4/oL9n7TkyCPudbbovhLpgj9i1F4qP6OWrPx+k//2CQ==", "requires": { "@deck.gl/core": "^8.8.25", "@emerson-eps/color-tables": "^0.4.61", @@ -20696,18 +20780,26 @@ "@equinor/eds-icons": "^0.19.1", "@nebula.gl/layers": "^1.0.4", "@reduxjs/toolkit": "^1.7.2", + "@turf/simplify": "^6.5.0", "@vivaxy/png": "^1.3.0", "@webviz/wsc-common": "*", "ajv": "^7.2.1", "convert-units": "^2.3.4", "d3": "^7.8.2", "d3-color": "^3.1.0", - "d3-format": "^1.4.5", - "deck.gl": "^8.9.19", + "d3-format": "^3.1.0", + "deck.gl": "^8.9.31", "gl-matrix": "^3.4.3", "lodash": "^4.17.21", "mathjs": "^9.4.2", "react-redux": "^8.1.1" + }, + "dependencies": { + "d3-format": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz", + "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==" + } } }, "@webviz/well-completions-plot": { @@ -22044,21 +22136,22 @@ "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==" }, "deck.gl": { - "version": "8.9.19", - "resolved": "https://registry.npmjs.org/deck.gl/-/deck.gl-8.9.19.tgz", - "integrity": "sha512-36FprtxbXDUv2iWV5wDHb6YxxYJYaTIPIQoIVwe6YHaJslHSR34SQAOZFk8Gwx85hXaEwjJz+TWem6hB12oC8g==", - "requires": { - "@deck.gl/aggregation-layers": "8.9.19", - "@deck.gl/carto": "8.9.19", - "@deck.gl/core": "8.9.19", - "@deck.gl/extensions": "8.9.19", - "@deck.gl/geo-layers": "8.9.19", - "@deck.gl/google-maps": "8.9.19", - "@deck.gl/json": "8.9.19", - "@deck.gl/layers": "8.9.19", - "@deck.gl/mapbox": "8.9.19", - "@deck.gl/mesh-layers": "8.9.19", - "@deck.gl/react": "8.9.19" + "version": "8.9.31", + "resolved": "https://registry.npmjs.org/deck.gl/-/deck.gl-8.9.31.tgz", + "integrity": "sha512-13K0DJ7E2LrBPV1WX4q83s1SeWg7G4jA8Mj7fMxxkpUe9HTodsUUuHEHXqEebN2bBUG6tcVDbRk2yZrCvccbkQ==", + "requires": { + "@babel/runtime": "^7.0.0", + "@deck.gl/aggregation-layers": "8.9.31", + "@deck.gl/carto": "8.9.31", + "@deck.gl/core": "8.9.31", + "@deck.gl/extensions": "8.9.31", + "@deck.gl/geo-layers": "8.9.31", + "@deck.gl/google-maps": "8.9.31", + "@deck.gl/json": "8.9.31", + "@deck.gl/layers": "8.9.31", + "@deck.gl/mapbox": "8.9.31", + "@deck.gl/mesh-layers": "8.9.31", + "@deck.gl/react": "8.9.31" } }, "dedent": { @@ -23186,9 +23279,9 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" }, "fast-xml-parser": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.4.tgz", - "integrity": "sha512-fbfMDvgBNIdDJLdLOwacjFAPYt67tr31H9ZhWSm45CDAxvd0I6WTlSOUo7K2P/K5sA5JgMKG64PI3DMcaFdWpQ==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.2.tgz", + "integrity": "sha512-rmrXUXwbJedoXkStenj1kkljNF7ugn5ZjR9FJcwmCfcCbtOMDghPajbc+Tck6vE6F5XsDmx+Pr2le9fw8+pXBg==", "requires": { "strnum": "^1.0.5" } diff --git a/frontend/package.json b/frontend/package.json index ee66eb75a..c6ef9b496 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -21,7 +21,7 @@ "@mui/base": "^5.0.0-beta.3", "@tanstack/react-query": "^4.24.10", "@tanstack/react-query-devtools": "^4.24.12", - "@webviz/subsurface-viewer": "^0.0.2-alpha.9", + "@webviz/subsurface-viewer": "^0.3.3", "@webviz/well-completions-plot": "^0.0.1-alpha.1", "animate.css": "^4.1.1", "axios": "^1.3.0", diff --git a/frontend/src/modules/Grid3D/view.tsx b/frontend/src/modules/Grid3D/view.tsx index 7557b0d23..3e3a30f57 100644 --- a/frontend/src/modules/Grid3D/view.tsx +++ b/frontend/src/modules/Grid3D/view.tsx @@ -1,15 +1,19 @@ import React from "react"; +import { ContinuousLegend } from "@emerson-eps/color-tables"; import { ModuleFCProps } from "@framework/Module"; import { useFirstEnsembleInEnsembleSet } from "@framework/WorkbenchSession"; +import { ColorScaleGradientType } from "@lib/utils/ColorScale"; +import { colorScaleToSubsurfaceMapColorScale } from "@modules/SubsurfaceMap/_utils"; import { toArrayBuffer } from "@modules_shared/vtkUtils"; import SubsurfaceViewer from "@webviz/subsurface-viewer"; +import { ViewAnnotation } from "@webviz/subsurface-viewer/dist/components/ViewAnnotation"; import { useGridParameter, useGridSurface, useStatisticalGridParameter } from "./queryHooks"; import state from "./state"; //----------------------------------------------------------------------------------------------------------- -export function view({ moduleContext, workbenchSession }: ModuleFCProps) { +export function view({ moduleContext, workbenchSettings, workbenchSession }: ModuleFCProps) { // From Workbench const firstEnsemble = useFirstEnsembleInEnsembleSet(workbenchSession); @@ -18,70 +22,74 @@ export function view({ moduleContext, workbenchSession }: ModuleFCProps) const parameterName = moduleContext.useStoreValue("parameterName"); const realizations = moduleContext.useStoreValue("realizations"); const useStatistics = moduleContext.useStoreValue("useStatistics"); + const surfaceColorScale = workbenchSettings.useContinuousColorScale({ + gradientType: ColorScaleGradientType.Sequential, + }); + const colorTables = colorScaleToSubsurfaceMapColorScale(surfaceColorScale); //Queries const firstCaseUuid = firstEnsemble?.getCaseUuid() ?? null; const firstEnsembleName = firstEnsemble?.getEnsembleName() ?? null; - const gridSurfaceQuery = useGridSurface(firstCaseUuid, firstEnsembleName, gridName, realizations ? realizations[0] : "0"); - const gridParameterQuery = useGridParameter(firstCaseUuid, firstEnsembleName, gridName, parameterName, realizations ? realizations[0] : "0", useStatistics); - const statisticalGridParameterQuery = useStatisticalGridParameter(firstCaseUuid, firstEnsembleName, gridName, parameterName, realizations, useStatistics); - - - const bounds = gridSurfaceQuery?.data ? [gridSurfaceQuery.data.xmin, gridSurfaceQuery.data.ymin, -gridSurfaceQuery.data.zmax, gridSurfaceQuery.data.xmax, gridSurfaceQuery.data.ymax, -gridSurfaceQuery.data.zmin] : [0, 0, 0, 100, 100, 100]; + const gridSurfaceQuery = useGridSurface( + firstCaseUuid, + firstEnsembleName, + gridName, + realizations ? realizations[0] : "0" + ); + const gridParameterQuery = useGridParameter( + firstCaseUuid, + firstEnsembleName, + gridName, + parameterName, + realizations ? realizations[0] : "0", + useStatistics + ); + const statisticalGridParameterQuery = useStatisticalGridParameter( + firstCaseUuid, + firstEnsembleName, + gridName, + parameterName, + realizations, + useStatistics + ); - if (!gridSurfaceQuery.data) { return (
no grid geometry
) } - const pointsArray = gridSurfaceQuery?.data ? toArrayBuffer(gridSurfaceQuery.data.points as any) : [] - const polysArray = gridSurfaceQuery?.data ? toArrayBuffer(gridSurfaceQuery.data.polys as any) : [] + const bounds = gridSurfaceQuery?.data + ? [ + gridSurfaceQuery.data.xmin, + gridSurfaceQuery.data.ymin, + gridSurfaceQuery.data.zmin, + gridSurfaceQuery.data.xmax, + gridSurfaceQuery.data.ymax, + gridSurfaceQuery.data.zmax, + ] + : [0, 0, 0, 100, 100, 100]; + if (!gridSurfaceQuery.data) { + return
no grid geometry
; + } + const pointsArray = gridSurfaceQuery?.data ? toArrayBuffer(gridSurfaceQuery.data.points as any) : []; + const polysArray = gridSurfaceQuery?.data ? toArrayBuffer(gridSurfaceQuery.data.polys as any) : []; - let propertiesArray: number[] = [] + let propertiesArray: number[] = []; if (!useStatistics && gridParameterQuery?.data) { - propertiesArray = Array.from(gridParameterQuery.data) - } - else if (useStatistics && statisticalGridParameterQuery?.data) { - propertiesArray = Array.from(statisticalGridParameterQuery.data) + propertiesArray = Array.from(gridParameterQuery.data); + } else if (useStatistics && statisticalGridParameterQuery?.data) { + propertiesArray = Array.from(statisticalGridParameterQuery.data); } - const points: Float32Array = new Float32Array(pointsArray as number[]) - const polys: Uint32Array = new Uint32Array(polysArray as number[]) + const points: Float32Array = new Float32Array(pointsArray as number[]); + const polys: Uint32Array = new Uint32Array(polysArray as number[]); return (
- ) pointsData: Array.from(points), polysData: Array.from(polys), propertiesData: propertiesArray, - colorMapName: "viridis (Seq)", + colorMapName: "Continuous", + ZIncreasingDownwards: false, }, ]} views={{ - "layout": [1, 1], - "viewports": [{ "id": "view_1", "show3D": true }], + layout: [1, 1], + viewports: [{ id: "view_1", show3D: true }], }} - /> + > + {" "} + + + +
{moduleContext.getInstanceIdString()}
);