diff --git a/package-lock.json b/package-lock.json index 25bfd37f..58e9f042 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "markdown-it": "^12.0.6", "marked": "^4.0.10", "nouislider": "^15.5.0", - "ramp-config-editor_editeur-config-pcar": "^2.0.0", + "ramp-config-editor_editeur-config-pcar": "^3.4.0", "ramp-pcar": "^4.6.0", "ramp-storylines_demo-scenarios-pcar": "^3.2.0", "throttle-debounce": "^5.0.0", @@ -69,6 +69,12 @@ "vue-eslint-parser": "^9.3.1" } }, + "node_modules/@ag-grid-community/locale": { + "version": "32.0.2", + "resolved": "https://registry.npmjs.org/@ag-grid-community/locale/-/locale-32.0.2.tgz", + "integrity": "sha512-dkAHAXpGxCQJYEQFzMRky5hwSh5qPo9l9iC2jOFUZ82Dg/oLUO8JgP+2lU/SDOr3LrAO0BmB0ah7XbbSnArV6w==", + "license": "MIT" + }, "node_modules/@arcgis/core": { "version": "4.29.10", "resolved": "https://registry.npmjs.org/@arcgis/core/-/core-4.29.10.tgz", @@ -637,12 +643,13 @@ "integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==" }, "node_modules/@intlify/core-base": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.11.1.tgz", - "integrity": "sha512-qWXBBlEA+DC0CsHkfJiQK9ELm11c9I6lDpodY4FoOf99eMas1R6JR4woPhrfAcrtxFHp1UmXWdrQNKDegSW9IA==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.14.0.tgz", + "integrity": "sha512-zJn0imh9HIsZZUtt9v8T16PeVstPv6bP2YzlrYJwoF8F30gs4brZBwW2KK6EI5WYKFi3NeqX6+UU4gniz5TkGg==", + "license": "MIT", "dependencies": { - "@intlify/message-compiler": "9.11.1", - "@intlify/shared": "9.11.1" + "@intlify/message-compiler": "9.14.0", + "@intlify/shared": "9.14.0" }, "engines": { "node": ">= 16" @@ -652,11 +659,12 @@ } }, "node_modules/@intlify/message-compiler": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.11.1.tgz", - "integrity": "sha512-y/aWx7DkaTKK2qWUw0hVbJpon8+urWXngeqh15DuIXZh6n/V/oPQiO/Ho1hUKbwap6MVMuz0OcnAJvqh3p9YPg==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.14.0.tgz", + "integrity": "sha512-sXNsoMI0YsipSXW8SR75drmVK56tnJHoYbPXUv2Cf9lz6FzvwsosFm6JtC1oQZI/kU+n7qx0qRrEWkeYFTgETA==", + "license": "MIT", "dependencies": { - "@intlify/shared": "9.11.1", + "@intlify/shared": "9.14.0", "source-map-js": "^1.0.2" }, "engines": { @@ -667,9 +675,10 @@ } }, "node_modules/@intlify/shared": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.11.1.tgz", - "integrity": "sha512-yuDG82vjgId2oasNRgZ0PKJrF65zlL33MNyITP5itbLcP4AYOR/NcIuD+/DiI+GHXdxASMKJU0ZiITLc6RC+qw==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.14.0.tgz", + "integrity": "sha512-r+N8KRQL7LgN1TMTs1A2svfuAU0J94Wu9wWdJVJqYsoMMLIeJxrPjazihfHpmJqfgZq0ah3Y9Q4pgWV2O90Fyg==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -8026,22 +8035,99 @@ } }, "node_modules/ramp-config-editor_editeur-config-pcar": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ramp-config-editor_editeur-config-pcar/-/ramp-config-editor_editeur-config-pcar-2.0.0.tgz", - "integrity": "sha512-7+H2IyyQkY4jyA5UiUFGwoW35rKxpwwbJHTZMrnKTYT/srPPfWw99bb4PRCvZUo1ITW0eeguhNafrOiPMO0laQ==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/ramp-config-editor_editeur-config-pcar/-/ramp-config-editor_editeur-config-pcar-3.4.0.tgz", + "integrity": "sha512-xJIYuB1Aus2uJiW6xYxL633zsGLSWmUvdKRvdY2FqN2f+PE/V8zj1x3/F6KemxM8e7hvsdOrxPRjBIo4amdobg==", "dependencies": { "deepmerge": "^4.3.1", "pinia": "^2.0.32", + "ramp-pcar": "^4.8.0", "vue": "^3.4.15", "vue-i18n": "^9.2.2", "vue-tippy": "^6.2.0", "vuedraggable": "^4.1.0" } }, + "node_modules/ramp-config-editor_editeur-config-pcar/node_modules/ramp-pcar": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/ramp-pcar/-/ramp-pcar-4.8.0.tgz", + "integrity": "sha512-cFucQW1yOMDwdlD7MUN4jUKYegBC0b2wKC5FhZCys0a5Ygz3V7oTDFgbv0qvOu/iYEOnSrg4YWONFP4tFAWw+Q==", + "dependencies": { + "@ag-grid-community/locale": "~32.0.0", + "@arcgis/core": "4.29.10", + "@popperjs/core": "^2.11.6", + "@ramp4-pcar4/vue3-treeselect": "github:ramp4-pcar4/vue3-treeselect", + "@tailwindcss/line-clamp": "^0.4.4", + "@vueform/toggle": "^2.1.3", + "ag-grid-community": "^27.3.0", + "ag-grid-vue3": "^27.3.0", + "animejs": "~3.2.0", + "await-to-js": "^3.0.0", + "csv2geojson": "^5.1.2", + "deepmerge": "^4.3.0", + "fabric": "^5.3.0", + "fast-xml-parser": "^4.2.4", + "file-saver": "~2.0.5", + "linkify-html": "^4.1.0", + "lodash.clonedeep": "^4.5.0", + "marked": "^4.0.10", + "pinia": "^2.1.7", + "popper-max-size-modifier": "^0.2.0", + "proj4": "^2.8.1", + "redaxios": "^0.5.1", + "screenfull": "~5.0.2", + "shpjs": "^4.0.2", + "svg.js": "2.7.1", + "terraformer": "^1.0.12", + "terraformer-arcgis-parser": "1.1.0", + "throttle-debounce": "~3.0.1", + "tiny-emitter": "^2.1.0", + "tippy.js": "^6.3.7", + "vue": "^3.2.31", + "vue-accessible-color-picker": "^5.0.1", + "vue-i18n": "^9.13.1", + "vue-slider-component": "^4.1.0-beta.7", + "vue-tippy": "^6.4.4", + "vuedraggable": "next" + }, + "engines": { + "node": ">=16.14.2" + } + }, + "node_modules/ramp-config-editor_editeur-config-pcar/node_modules/screenfull": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.0.2.tgz", + "integrity": "sha512-cCF2b+L/mnEiORLN5xSAz6H3t18i2oHh9BA8+CQlAh5DRw2+NFAGQJOSYbcGw8B2k04g/lVvFcfZ83b3ysH5UQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ramp-config-editor_editeur-config-pcar/node_modules/throttle-debounce": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-3.0.1.tgz", + "integrity": "sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/ramp-config-editor_editeur-config-pcar/node_modules/vue-accessible-color-picker": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/vue-accessible-color-picker/-/vue-accessible-color-picker-5.0.1.tgz", + "integrity": "sha512-IaxDTzW652blWmaNNbqQZzORQAbP19sdO7oJ5fvJIfVizWr2fVV+3z39ORI210Ee7l8YiD5FhpOY/XrToQCBwg==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.2.x" + } + }, "node_modules/ramp-pcar": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/ramp-pcar/-/ramp-pcar-4.7.0.tgz", - "integrity": "sha512-4EP8wikaBy9IDtT+odWifUpzKJxhVYCNZxCdqc9Zm2GzofYHc1/MvcQJu5ds1rfP+u0f/cabtThaZaOtk5p1WQ==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/ramp-pcar/-/ramp-pcar-4.6.0.tgz", + "integrity": "sha512-nY5BYTxBIz+KEwrgRhDLUOTV6nC8b1AGyY4c0eyvh2SzfJ4MAettVJNmvOsA7G1nCcQv9iopt1/J5N2e0fHocw==", "dependencies": { "@arcgis/core": "4.29.10", "@popperjs/core": "^2.11.6", @@ -10255,6 +10341,7 @@ "version": "4.1.4", "resolved": "https://registry.npmjs.org/vue-accessible-color-picker/-/vue-accessible-color-picker-4.1.4.tgz", "integrity": "sha512-uq5wPWiR+VeuaZGxWRKuZSKpf2WH1EHa0Oas+rsEdgw35zZ/zotpw5LvyMiqbAagpiHxCp0AzqwDkMJ7dSbGQA==", + "license": "MIT", "peerDependencies": { "vue": "^3.2.x" } @@ -10385,12 +10472,13 @@ } }, "node_modules/vue-i18n": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.11.1.tgz", - "integrity": "sha512-S7Xi8DkLQG4xnnbxkxzipJK6CdfLdZkmApn95st89HFGp8LTmTH0Tv+Zw6puhOCZJCFrH73PHo3Ylwd2+Bmdxg==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.14.0.tgz", + "integrity": "sha512-LxmpRuCt2rI8gqU+kxeflRZMQn4D5+4M3oP3PWZdowW/ePJraHqhF7p4CuaME52mUxdw3Mmy2yAUKgfZYgCRjA==", + "license": "MIT", "dependencies": { - "@intlify/core-base": "9.11.1", - "@intlify/shared": "9.11.1", + "@intlify/core-base": "9.14.0", + "@intlify/shared": "9.14.0", "@vue/devtools-api": "^6.5.0" }, "engines": { @@ -10448,9 +10536,10 @@ "integrity": "sha512-Qb7K920ZG7PoQswoF6Ias+i3W2rd3k4fpk04JUl82kEUcN86Yg6et7bVSKWt/7VpQe8a5IT3BqCKSCOZ7AJgCA==" }, "node_modules/vue-tippy": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/vue-tippy/-/vue-tippy-6.4.1.tgz", - "integrity": "sha512-PEAKdioZjUvYWz4euxHFSXKJbL6kIKO29/LtQaCBbnd5Vg0U5kL8iLuqRshB2I31pXPSQS0qJsWx56178eS2QA==", + "version": "6.4.4", + "resolved": "https://registry.npmjs.org/vue-tippy/-/vue-tippy-6.4.4.tgz", + "integrity": "sha512-0C5TSU482FvjhEeKrPkz08tzyC/KJC0CiEbm3yW9oS+n3fa03ajEzU2QcxI9oR6Hwlg8NOP0U6T4EsGuccq6YQ==", + "license": "MIT", "dependencies": { "tippy.js": "^6.3.7" }, @@ -10718,6 +10807,11 @@ } }, "dependencies": { + "@ag-grid-community/locale": { + "version": "32.0.2", + "resolved": "https://registry.npmjs.org/@ag-grid-community/locale/-/locale-32.0.2.tgz", + "integrity": "sha512-dkAHAXpGxCQJYEQFzMRky5hwSh5qPo9l9iC2jOFUZ82Dg/oLUO8JgP+2lU/SDOr3LrAO0BmB0ah7XbbSnArV6w==" + }, "@arcgis/core": { "version": "4.29.10", "resolved": "https://registry.npmjs.org/@arcgis/core/-/core-4.29.10.tgz", @@ -11046,27 +11140,27 @@ "integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==" }, "@intlify/core-base": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.11.1.tgz", - "integrity": "sha512-qWXBBlEA+DC0CsHkfJiQK9ELm11c9I6lDpodY4FoOf99eMas1R6JR4woPhrfAcrtxFHp1UmXWdrQNKDegSW9IA==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.14.0.tgz", + "integrity": "sha512-zJn0imh9HIsZZUtt9v8T16PeVstPv6bP2YzlrYJwoF8F30gs4brZBwW2KK6EI5WYKFi3NeqX6+UU4gniz5TkGg==", "requires": { - "@intlify/message-compiler": "9.11.1", - "@intlify/shared": "9.11.1" + "@intlify/message-compiler": "9.14.0", + "@intlify/shared": "9.14.0" } }, "@intlify/message-compiler": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.11.1.tgz", - "integrity": "sha512-y/aWx7DkaTKK2qWUw0hVbJpon8+urWXngeqh15DuIXZh6n/V/oPQiO/Ho1hUKbwap6MVMuz0OcnAJvqh3p9YPg==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.14.0.tgz", + "integrity": "sha512-sXNsoMI0YsipSXW8SR75drmVK56tnJHoYbPXUv2Cf9lz6FzvwsosFm6JtC1oQZI/kU+n7qx0qRrEWkeYFTgETA==", "requires": { - "@intlify/shared": "9.11.1", + "@intlify/shared": "9.14.0", "source-map-js": "^1.0.2" } }, "@intlify/shared": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.11.1.tgz", - "integrity": "sha512-yuDG82vjgId2oasNRgZ0PKJrF65zlL33MNyITP5itbLcP4AYOR/NcIuD+/DiI+GHXdxASMKJU0ZiITLc6RC+qw==" + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.14.0.tgz", + "integrity": "sha512-r+N8KRQL7LgN1TMTs1A2svfuAU0J94Wu9wWdJVJqYsoMMLIeJxrPjazihfHpmJqfgZq0ah3Y9Q4pgWV2O90Fyg==" }, "@jridgewell/gen-mapping": { "version": "0.3.5", @@ -16438,22 +16532,84 @@ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==" }, "ramp-config-editor_editeur-config-pcar": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ramp-config-editor_editeur-config-pcar/-/ramp-config-editor_editeur-config-pcar-2.0.0.tgz", - "integrity": "sha512-7+H2IyyQkY4jyA5UiUFGwoW35rKxpwwbJHTZMrnKTYT/srPPfWw99bb4PRCvZUo1ITW0eeguhNafrOiPMO0laQ==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/ramp-config-editor_editeur-config-pcar/-/ramp-config-editor_editeur-config-pcar-3.4.0.tgz", + "integrity": "sha512-xJIYuB1Aus2uJiW6xYxL633zsGLSWmUvdKRvdY2FqN2f+PE/V8zj1x3/F6KemxM8e7hvsdOrxPRjBIo4amdobg==", "requires": { "deepmerge": "^4.3.1", "pinia": "^2.0.32", + "ramp-pcar": "^4.8.0", "vue": "^3.4.15", "vue-i18n": "^9.2.2", "vue-tippy": "^6.2.0", "vuedraggable": "^4.1.0" + }, + "dependencies": { + "ramp-pcar": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/ramp-pcar/-/ramp-pcar-4.8.0.tgz", + "integrity": "sha512-cFucQW1yOMDwdlD7MUN4jUKYegBC0b2wKC5FhZCys0a5Ygz3V7oTDFgbv0qvOu/iYEOnSrg4YWONFP4tFAWw+Q==", + "requires": { + "@ag-grid-community/locale": "~32.0.0", + "@arcgis/core": "4.29.10", + "@popperjs/core": "^2.11.6", + "@ramp4-pcar4/vue3-treeselect": "github:ramp4-pcar4/vue3-treeselect", + "@tailwindcss/line-clamp": "^0.4.4", + "@vueform/toggle": "^2.1.3", + "ag-grid-community": "^27.3.0", + "ag-grid-vue3": "^27.3.0", + "animejs": "~3.2.0", + "await-to-js": "^3.0.0", + "csv2geojson": "^5.1.2", + "deepmerge": "^4.3.0", + "fabric": "^5.3.0", + "fast-xml-parser": "^4.2.4", + "file-saver": "~2.0.5", + "linkify-html": "^4.1.0", + "lodash.clonedeep": "^4.5.0", + "marked": "^4.0.10", + "pinia": "^2.1.7", + "popper-max-size-modifier": "^0.2.0", + "proj4": "^2.8.1", + "redaxios": "^0.5.1", + "screenfull": "~5.0.2", + "shpjs": "^4.0.2", + "svg.js": "2.7.1", + "terraformer": "^1.0.12", + "terraformer-arcgis-parser": "1.1.0", + "throttle-debounce": "~3.0.1", + "tiny-emitter": "^2.1.0", + "tippy.js": "^6.3.7", + "vue": "^3.2.31", + "vue-accessible-color-picker": "^5.0.1", + "vue-i18n": "^9.13.1", + "vue-slider-component": "^4.1.0-beta.7", + "vue-tippy": "^6.4.4", + "vuedraggable": "next" + } + }, + "screenfull": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.0.2.tgz", + "integrity": "sha512-cCF2b+L/mnEiORLN5xSAz6H3t18i2oHh9BA8+CQlAh5DRw2+NFAGQJOSYbcGw8B2k04g/lVvFcfZ83b3ysH5UQ==" + }, + "throttle-debounce": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-3.0.1.tgz", + "integrity": "sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==" + }, + "vue-accessible-color-picker": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/vue-accessible-color-picker/-/vue-accessible-color-picker-5.0.1.tgz", + "integrity": "sha512-IaxDTzW652blWmaNNbqQZzORQAbP19sdO7oJ5fvJIfVizWr2fVV+3z39ORI210Ee7l8YiD5FhpOY/XrToQCBwg==", + "requires": {} + } } }, "ramp-pcar": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/ramp-pcar/-/ramp-pcar-4.7.0.tgz", - "integrity": "sha512-4EP8wikaBy9IDtT+odWifUpzKJxhVYCNZxCdqc9Zm2GzofYHc1/MvcQJu5ds1rfP+u0f/cabtThaZaOtk5p1WQ==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/ramp-pcar/-/ramp-pcar-4.6.0.tgz", + "integrity": "sha512-nY5BYTxBIz+KEwrgRhDLUOTV6nC8b1AGyY4c0eyvh2SzfJ4MAettVJNmvOsA7G1nCcQv9iopt1/J5N2e0fHocw==", "requires": { "@arcgis/core": "4.29.10", "@popperjs/core": "^2.11.6", @@ -18198,12 +18354,12 @@ } }, "vue-i18n": { - "version": "9.11.1", - "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.11.1.tgz", - "integrity": "sha512-S7Xi8DkLQG4xnnbxkxzipJK6CdfLdZkmApn95st89HFGp8LTmTH0Tv+Zw6puhOCZJCFrH73PHo3Ylwd2+Bmdxg==", + "version": "9.14.0", + "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.14.0.tgz", + "integrity": "sha512-LxmpRuCt2rI8gqU+kxeflRZMQn4D5+4M3oP3PWZdowW/ePJraHqhF7p4CuaME52mUxdw3Mmy2yAUKgfZYgCRjA==", "requires": { - "@intlify/core-base": "9.11.1", - "@intlify/shared": "9.11.1", + "@intlify/core-base": "9.14.0", + "@intlify/shared": "9.14.0", "@vue/devtools-api": "^6.5.0" } }, @@ -18240,9 +18396,9 @@ "integrity": "sha512-Qb7K920ZG7PoQswoF6Ias+i3W2rd3k4fpk04JUl82kEUcN86Yg6et7bVSKWt/7VpQe8a5IT3BqCKSCOZ7AJgCA==" }, "vue-tippy": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/vue-tippy/-/vue-tippy-6.4.1.tgz", - "integrity": "sha512-PEAKdioZjUvYWz4euxHFSXKJbL6kIKO29/LtQaCBbnd5Vg0U5kL8iLuqRshB2I31pXPSQS0qJsWx56178eS2QA==", + "version": "6.4.4", + "resolved": "https://registry.npmjs.org/vue-tippy/-/vue-tippy-6.4.4.tgz", + "integrity": "sha512-0C5TSU482FvjhEeKrPkz08tzyC/KJC0CiEbm3yW9oS+n3fa03ajEzU2QcxI9oR6Hwlg8NOP0U6T4EsGuccq6YQ==", "requires": { "tippy.js": "^6.3.7" } diff --git a/package.json b/package.json index db23a94b..e36fb023 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "markdown-it": "^12.0.6", "marked": "^4.0.10", "nouislider": "^15.5.0", - "ramp-config-editor_editeur-config-pcar": "^2.0.0", + "ramp-config-editor_editeur-config-pcar": "^3.4.0", "ramp-pcar": "^4.6.0", "ramp-storylines_demo-scenarios-pcar": "^3.2.0", "throttle-debounce": "^5.0.0", diff --git a/src/components/map-editor.vue b/src/components/map-editor.vue index 87e4ac7a..53f84b02 100644 --- a/src/components/map-editor.vue +++ b/src/components/map-editor.vue @@ -51,7 +51,7 @@ import { ConfigFileStructure, MapPanel, SourceCounts, TimeSliderConfig } from '@ import { VueFinalModal } from 'vue-final-modal'; import defaultConfig from '../../ramp-default.json'; import TimeSliderEditorV from './helpers/time-slider-editor.vue'; -import { createInstance } from 'ramp-config-editor_editeur-config-pcar'; +import { createInstance as createRampEditorInstance } from 'ramp-config-editor_editeur-config-pcar'; import 'ramp-config-editor_editeur-config-pcar/style.css'; @Options({ @@ -152,7 +152,7 @@ export default class MapEditorV extends Vue { if (configFile) { configFile.async('string').then((res: string) => { const conf = JSON.parse(res); - this.rampEditorApi = createInstance(this.$refs.editor, conf); + this.rampEditorApi = createRampEditorInstance(this.$refs.editor, conf); }); } else { // If it does not exist in the ZIP folder, try and fetch from server. @@ -160,7 +160,7 @@ export default class MapEditorV extends Vue { data.json().then((res) => { let stringResponse = JSON.stringify(res); const conf = JSON.parse(stringResponse); - this.rampEditorApi = createInstance(this.$refs.editor, conf); + this.rampEditorApi = createRampEditorInstance(this.$refs.editor, conf); }); }); }