From fae831de2358334ae9704887526b9e89652cf253 Mon Sep 17 00:00:00 2001 From: Josh Peterson Date: Fri, 25 Oct 2024 11:07:33 -0600 Subject: [PATCH 1/2] first attempt at using feature table component --- index.html | 29 +--------- main.js | 133 ++++++++++++++++++++++++++++------------------ package-lock.json | 42 +++++++-------- package.json | 2 +- 4 files changed, 106 insertions(+), 100 deletions(-) diff --git a/index.html b/index.html index a8fe627..ca2584f 100644 --- a/index.html +++ b/index.html @@ -36,34 +36,9 @@ Save updates + - - - - @@ -73,7 +48,7 @@ - + diff --git a/main.js b/main.js index 5601bc5..f401e20 100644 --- a/main.js +++ b/main.js @@ -2,9 +2,10 @@ // Map Components import '@arcgis/map-components/dist/components/arcgis-map'; +import '@arcgis/map-components/dist/components/arcgis-editor'; +import '@arcgis/map-components/dist/components/arcgis-feature-table'; import '@arcgis/map-components/dist/components/arcgis-legend'; import '@arcgis/map-components/dist/components/arcgis-search'; -import '@arcgis/map-components/dist/components/arcgis-editor'; import '@arcgis/map-components/dist/components/arcgis-expand'; import '@arcgis/map-components/dist/components/arcgis-zoom'; import '@arcgis/map-components/dist/components/arcgis-basemap-toggle'; @@ -22,6 +23,7 @@ setAssetPath(location.href); // Obtain the Map and Editor components const arcgisMap = document.querySelector('arcgis-map'); const editor = document.querySelector('arcgis-editor'); +const table = document.querySelector('arcgis-feature-table'); const filterNeedsReview = document.getElementById('filter-review'); const stepper = document.querySelector('calcite-stepper'); @@ -40,51 +42,80 @@ arcgisMap.addEventListener('arcgisViewReadyChange', async (event) => { console.log(buildingsLayerView); await reactiveUtils.whenOnce(() => buildingsLayer.loaded); - // Initialize FeatureTable - const featureTable = new FeatureTable({ - container: document.getElementById('panel-table'), - view: arcgisMap.view, - layer: buildingsLayer, - relatedRecordsEnabled: true, - - actionColumnConfig: { - label: 'Go to feature', - icon: 'zoom-to-object', - callback: (params) => { - // Todo: figure out why feature.geometry is null here... - // view.goTo(params.feature.geometry.extent.expand(1.5)); - - view.goTo(params.feature); - }, - }, + table.view = arcgisMap.view; + table.layer = buildingsLayer; + table.actionColumnConfig = { + label: 'Go to feature', + icon: 'zoom-to-object', + callback: (params) => { + // Todo: figure out why feature.geometry is null here... + // view.goTo(params.feature.geometry.extent.expand(1.5)); - tableTemplate: { - columnTemplates: [ - { - type: 'field', - fieldName: 'UID', - label: 'ID', - flexGrow: 0, - width: '170px', - }, - { - type: 'field', - fieldName: 'STATUS', - label: 'Permit Status', - }, - { - type: 'field', - fieldName: 'BEZGFK', - label: 'Building Type', - }, - { - type: 'field', - fieldName: 'NAMLAG', - label: 'Address', - }, - ], + view.goTo(params.feature); }, - }); + }; + table.tableTemplate = { + columnTemplates: [ + { + type: 'field', + fieldName: 'UID', + label: 'ID', + flexGrow: 0, + width: '170px', + }, + { + type: 'field', + fieldName: 'STATUS', + label: 'Permit Status', + }, + { + type: 'field', + fieldName: 'BEZGFK', + label: 'Building Type', + }, + ], + }; + + // Initialize FeatureTable + // const featureTable = new FeatureTable({ + // container: document.getElementById('panel-table'), + // view: arcgisMap.view, + // layer: buildingsLayer, + // relatedRecordsEnabled: true, + + // actionColumnConfig: { + // label: 'Go to feature', + // icon: 'zoom-to-object', + // callback: (params) => { + // // Todo: figure out why feature.geometry is null here... + // // view.goTo(params.feature.geometry.extent.expand(1.5)); + + // view.goTo(params.feature); + // }, + // }, + + // tableTemplate: { + // columnTemplates: [ + // { + // type: 'field', + // fieldName: 'UID', + // label: 'ID', + // flexGrow: 0, + // width: '170px', + // }, + // { + // type: 'field', + // fieldName: 'STATUS', + // label: 'Permit Status', + // }, + // { + // type: 'field', + // fieldName: 'BEZGFK', + // label: 'Building Type', + // }, + // ], + // }, + // }); window.subTableTemplate = { columnTemplates: [ @@ -113,10 +144,10 @@ arcgisMap.addEventListener('arcgisViewReadyChange', async (event) => { }; reactiveUtils.when( - () => featureTable.relatedTable, + () => table.relatedTable, (relatedTable) => { console.log('Related Table Loaded'); - // relatedTable.tableTemplate = window.subTableTemplate; + relatedTable.tableTemplate = window.subTableTemplate; relatedTable.actionColumnConfig = window.subActionColumnConfig; relatedTable.relatedRecordsEnabled = false; } @@ -124,7 +155,7 @@ arcgisMap.addEventListener('arcgisViewReadyChange', async (event) => { window.buildingsLayer = buildingsLayer; window.buildingsLayerView = buildingsLayerView; - window.featureTable = featureTable; + window.featureTable = table; window.editor = editor; window.map = arcgisMap; window.view = arcgisMap.view; @@ -142,10 +173,10 @@ filterNeedsReview.addEventListener('click', () => { const features = results.features; if (features.length > 0) { // Todo: Better for the demo to set objectIds or highlightIds? - // featureTable.highlightIds.removeAll(); - // featureTable.highlightIds.addMany( - // features.map((feature) => feature.attributes.OBJECTID) - // ); + featureTable.highlightIds.removeAll(); + featureTable.highlightIds.addMany( + features.map((feature) => feature.attributes.OBJECTID) + ); // Filter the table by features with STATUS = Needs Review featureTable.objectIds = features.map( diff --git a/package-lock.json b/package-lock.json index d9c1d16..87ecc83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "map-components-vite-sample", "dependencies": { "@arcgis/core": "^4.31.0-next.20241015", - "@arcgis/map-components": "^4.31.0-next.127", + "@arcgis/map-components": "^4.31.0-next.138", "@esri/calcite-components": "^2.8.6" }, "devDependencies": { @@ -18,9 +18,9 @@ } }, "node_modules/@arcgis/components-build-utils": { - "version": "4.31.0-next.127", - "resolved": "https://registry.npmjs.org/@arcgis/components-build-utils/-/components-build-utils-4.31.0-next.127.tgz", - "integrity": "sha512-woJ6QmgPEjJYVwLU0zZkJsTivCY08RRZ7pVUKl9xR0zsbMfnup1PUtk2Rr05GSQ738Rgzu2NtVsBYKmKkjexfQ==", + "version": "4.31.0-next.138", + "resolved": "https://registry.npmjs.org/@arcgis/components-build-utils/-/components-build-utils-4.31.0-next.138.tgz", + "integrity": "sha512-GsOfK0ZeZB0zl7F/1Ahs+X8i+SGobOrbiACppQrY3qH4Ifx5w16iw8AgiDdTAgOEHZmj9bepLUBTcYKB1wTjvA==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "tslib": "^2.7.0" @@ -30,17 +30,17 @@ } }, "node_modules/@arcgis/components-controllers": { - "version": "4.31.0-next.127", - "resolved": "https://registry.npmjs.org/@arcgis/components-controllers/-/components-controllers-4.31.0-next.127.tgz", - "integrity": "sha512-7x48SWeC8487GAKZSoOSaBXGzuLVNO2UDbXXsMOy9PME64clxBY+F5lb0lS+L0KMfQx0ocHtEowN5tQoiSZsYg==", + "version": "4.31.0-next.138", + "resolved": "https://registry.npmjs.org/@arcgis/components-controllers/-/components-controllers-4.31.0-next.138.tgz", + "integrity": "sha512-hCJjZCYOHOL1ucEXlHhHodj64uY0LKteSK/ra6ZyqWhM/gmOYGJW69ReF0gBwpkhfVlfqsFhrCSh3pZVTXTPuw==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { - "@arcgis/components-utils": "4.31.0-next.127", + "@arcgis/components-utils": "4.31.0-next.138", "tslib": "^2.7.0" }, "peerDependencies": { "@arcgis/core": ">=4.31.0-next <4.32", - "@arcgis/core-adapter": "~4.31.0-next.127" + "@arcgis/core-adapter": "~4.31.0-next.138" }, "peerDependenciesMeta": { "@arcgis/core": { @@ -52,9 +52,9 @@ } }, "node_modules/@arcgis/components-utils": { - "version": "4.31.0-next.127", - "resolved": "https://registry.npmjs.org/@arcgis/components-utils/-/components-utils-4.31.0-next.127.tgz", - "integrity": "sha512-FcP5RyG6dxQwkiqVQ8lmx44UUjpdhHsGkuNW5iSgr4YUhsei4frNrnOYJYrIJGSgroHqEWKMLJ01ijlaHKfx4Q==", + "version": "4.31.0-next.138", + "resolved": "https://registry.npmjs.org/@arcgis/components-utils/-/components-utils-4.31.0-next.138.tgz", + "integrity": "sha512-wlfLfP0sVdlLApKT4YJLyMxAf+hF+Mozt37TOU5RWpMkXxXa5ggUkUpt1leZZ3Z90ecZRSqU4bq9/9z/y8IIdw==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "tslib": "^2.7.0" @@ -77,14 +77,14 @@ } }, "node_modules/@arcgis/map-components": { - "version": "4.31.0-next.127", - "resolved": "https://registry.npmjs.org/@arcgis/map-components/-/map-components-4.31.0-next.127.tgz", - "integrity": "sha512-W30VnYVRekHlCfOP+Tz5G0IvvmGQF58Pf1O8+H6BqxrFGviIBO057rHmomwlY3HAqLVOToUKuGpOauMBC694pQ==", + "version": "4.31.0-next.138", + "resolved": "https://registry.npmjs.org/@arcgis/map-components/-/map-components-4.31.0-next.138.tgz", + "integrity": "sha512-3ZwEG7CIe+t211mC7CS9L5uT4MUh8CdMqUVTMbOdbacTkmroWINJTNDfwAaawJ3DtcAwxnnr0lj/8g5ReeLVgg==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { - "@arcgis/components-build-utils": "4.31.0-next.127", - "@arcgis/components-controllers": "4.31.0-next.127", - "@arcgis/components-utils": "4.31.0-next.127", + "@arcgis/components-build-utils": "4.31.0-next.138", + "@arcgis/components-controllers": "4.31.0-next.138", + "@arcgis/components-utils": "4.31.0-next.138", "@stencil/core": "4.20.0", "tslib": "^2.7.0" }, @@ -4918,9 +4918,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "license": "0BSD" }, "node_modules/type-fest": { diff --git a/package.json b/package.json index 49563dc..50bf2d6 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@arcgis/core": "^4.31.0-next.20241015", - "@arcgis/map-components": "^4.31.0-next.127", + "@arcgis/map-components": "^4.31.0-next.138", "@esri/calcite-components": "^2.8.6" }, "devDependencies": { From 7e6b98533b12442592c70d2b89b73d3417c094b6 Mon Sep 17 00:00:00 2001 From: Josh Peterson Date: Thu, 31 Oct 2024 09:52:51 -0600 Subject: [PATCH 2/2] update packages --- index.html | 6 +- main.css | 7 +- main.js | 72 ++++------------- package-lock.json | 200 +++++++++++++++++++++++----------------------- package.json | 6 +- 5 files changed, 127 insertions(+), 164 deletions(-) diff --git a/index.html b/index.html index ca2584f..ce1d9db 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,8 @@ - - + + @@ -48,7 +48,7 @@ - + diff --git a/main.css b/main.css index c1d07d1..1c088e6 100644 --- a/main.css +++ b/main.css @@ -1,7 +1,7 @@ /* Calcite Dev Summit 2024 Demo Template */ /* Demo template supporting styles */ -@import 'https://js.arcgis.com/4.30/@arcgis/core/assets/esri/themes/light/main.css'; +@import 'https://js.arcgis.com/4.31/@arcgis/core/assets/esri/themes/light/main.css'; html, body, @@ -28,6 +28,11 @@ calcite-action-pad { margin-inline-end: 0.5rem; } +arcgis-feature-table { + width: 100%; + height: 100%; +} + arcgis-editor { /* position: absolute; bottom: 0; diff --git a/main.js b/main.js index f401e20..f6683af 100644 --- a/main.js +++ b/main.js @@ -20,38 +20,32 @@ import { setAssetPath } from '@esri/calcite-components/dist/components'; setAssetPath(location.href); // #endregion Imports -// Obtain the Map and Editor components +// Obtain the Map, Editor, and FeatureTable components const arcgisMap = document.querySelector('arcgis-map'); const editor = document.querySelector('arcgis-editor'); const table = document.querySelector('arcgis-feature-table'); -const filterNeedsReview = document.getElementById('filter-review'); -const stepper = document.querySelector('calcite-stepper'); +// const stepper = document.querySelector('calcite-stepper'); -console.log(stepper); +// Custom workflow handles +const filterNeedsReview = document.getElementById('filter-review'); arcgisMap.addEventListener('arcgisViewReadyChange', async (event) => { - // Find the inspection zones layer and set it in the global context - await reactiveUtils.whenOnce(() => !arcgisMap.view.updating); const buildingsLayer = arcgisMap.map.layers.find((layer) => { return layer.title === 'Buildings'; }); - const buildingsLayerView = await arcgisMap.view.whenLayerView(buildingsLayer); - console.log(buildingsLayerView); await reactiveUtils.whenOnce(() => buildingsLayer.loaded); + // Initialize FeatureTable Component table.view = arcgisMap.view; table.layer = buildingsLayer; table.actionColumnConfig = { label: 'Go to feature', icon: 'zoom-to-object', callback: (params) => { - // Todo: figure out why feature.geometry is null here... - // view.goTo(params.feature.geometry.extent.expand(1.5)); - - view.goTo(params.feature); + view.goTo(params.feature.geometry.extent.expand(1.5)); }, }; table.tableTemplate = { @@ -76,47 +70,6 @@ arcgisMap.addEventListener('arcgisViewReadyChange', async (event) => { ], }; - // Initialize FeatureTable - // const featureTable = new FeatureTable({ - // container: document.getElementById('panel-table'), - // view: arcgisMap.view, - // layer: buildingsLayer, - // relatedRecordsEnabled: true, - - // actionColumnConfig: { - // label: 'Go to feature', - // icon: 'zoom-to-object', - // callback: (params) => { - // // Todo: figure out why feature.geometry is null here... - // // view.goTo(params.feature.geometry.extent.expand(1.5)); - - // view.goTo(params.feature); - // }, - // }, - - // tableTemplate: { - // columnTemplates: [ - // { - // type: 'field', - // fieldName: 'UID', - // label: 'ID', - // flexGrow: 0, - // width: '170px', - // }, - // { - // type: 'field', - // fieldName: 'STATUS', - // label: 'Permit Status', - // }, - // { - // type: 'field', - // fieldName: 'BEZGFK', - // label: 'Building Type', - // }, - // ], - // }, - // }); - window.subTableTemplate = { columnTemplates: [ { @@ -136,13 +89,13 @@ arcgisMap.addEventListener('arcgisViewReadyChange', async (event) => { label: 'Edit Record', icon: 'pencil', callback: (params) => { - console.log(params); editor.classList.remove('hidden'); editor.startUpdateWorkflowAtFeatureEdit(params.feature); - stepper.goToStep(2); + // stepper.goToStep(2); }, }; + // Configure "permits" related table reactiveUtils.when( () => table.relatedTable, (relatedTable) => { @@ -153,14 +106,15 @@ arcgisMap.addEventListener('arcgisViewReadyChange', async (event) => { } ); + // Stash these in the window for now window.buildingsLayer = buildingsLayer; - window.buildingsLayerView = buildingsLayerView; window.featureTable = table; window.editor = editor; window.map = arcgisMap; window.view = arcgisMap.view; }); +// #region Custom workflow steps filterNeedsReview.addEventListener('click', () => { const query = buildingsLayer.createQuery(); query.where = "STATUS = 'Needs Review'"; @@ -172,7 +126,7 @@ filterNeedsReview.addEventListener('click', () => { const features = results.features; if (features.length > 0) { - // Todo: Better for the demo to set objectIds or highlightIds? + // Highlight the features where Permit Status is Needs Review featureTable.highlightIds.removeAll(); featureTable.highlightIds.addMany( features.map((feature) => feature.attributes.OBJECTID) @@ -183,6 +137,9 @@ filterNeedsReview.addEventListener('click', () => { (feature) => feature.attributes.OBJECTID ); + // Add filter-by-selection-enabled to the table element + featureTable.filterBySelectionEnabled = true; + const unionedGeometries = geometryEngine.union( features.map((feature) => feature.geometry) ); @@ -196,3 +153,4 @@ filterNeedsReview.addEventListener('click', () => { console.error('Error querying features:', error); }); }); +// #endregion Custom workflow steps diff --git a/package-lock.json b/package-lock.json index 87ecc83..1f1da3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,9 +6,9 @@ "": { "name": "map-components-vite-sample", "dependencies": { - "@arcgis/core": "^4.31.0-next.20241015", - "@arcgis/map-components": "^4.31.0-next.138", - "@esri/calcite-components": "^2.8.6" + "@arcgis/core": "^4.31.0-next.20241030", + "@arcgis/map-components": "^4.31.0-next.143", + "@esri/calcite-components": "^2.13.2" }, "devDependencies": { "i": "^0.3.7", @@ -18,9 +18,9 @@ } }, "node_modules/@arcgis/components-build-utils": { - "version": "4.31.0-next.138", - "resolved": "https://registry.npmjs.org/@arcgis/components-build-utils/-/components-build-utils-4.31.0-next.138.tgz", - "integrity": "sha512-GsOfK0ZeZB0zl7F/1Ahs+X8i+SGobOrbiACppQrY3qH4Ifx5w16iw8AgiDdTAgOEHZmj9bepLUBTcYKB1wTjvA==", + "version": "4.31.0-next.143", + "resolved": "https://registry.npmjs.org/@arcgis/components-build-utils/-/components-build-utils-4.31.0-next.143.tgz", + "integrity": "sha512-2xfCjRgPfzpP0T4rUtnZ5za4qwNWFYujv1sH2OgGX00MvFytaxe3WBfzsOx/iRqPheawxIRMPu3wIZFz2CVtAg==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "tslib": "^2.7.0" @@ -30,17 +30,17 @@ } }, "node_modules/@arcgis/components-controllers": { - "version": "4.31.0-next.138", - "resolved": "https://registry.npmjs.org/@arcgis/components-controllers/-/components-controllers-4.31.0-next.138.tgz", - "integrity": "sha512-hCJjZCYOHOL1ucEXlHhHodj64uY0LKteSK/ra6ZyqWhM/gmOYGJW69ReF0gBwpkhfVlfqsFhrCSh3pZVTXTPuw==", + "version": "4.31.0-next.143", + "resolved": "https://registry.npmjs.org/@arcgis/components-controllers/-/components-controllers-4.31.0-next.143.tgz", + "integrity": "sha512-HmOfErnQIo616CJR6AOleYulBd7KR6bODpRMp89iSEPNMT+y9opb5nFmEp+JxvPJt6MPSdf7yYktKgmnRSyblA==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { - "@arcgis/components-utils": "4.31.0-next.138", + "@arcgis/components-utils": "4.31.0-next.143", "tslib": "^2.7.0" }, "peerDependencies": { "@arcgis/core": ">=4.31.0-next <4.32", - "@arcgis/core-adapter": "~4.31.0-next.138" + "@arcgis/core-adapter": "~4.31.0-next.143" }, "peerDependenciesMeta": { "@arcgis/core": { @@ -52,39 +52,39 @@ } }, "node_modules/@arcgis/components-utils": { - "version": "4.31.0-next.138", - "resolved": "https://registry.npmjs.org/@arcgis/components-utils/-/components-utils-4.31.0-next.138.tgz", - "integrity": "sha512-wlfLfP0sVdlLApKT4YJLyMxAf+hF+Mozt37TOU5RWpMkXxXa5ggUkUpt1leZZ3Z90ecZRSqU4bq9/9z/y8IIdw==", + "version": "4.31.0-next.143", + "resolved": "https://registry.npmjs.org/@arcgis/components-utils/-/components-utils-4.31.0-next.143.tgz", + "integrity": "sha512-7MbyAuI9QPzDNwZov/2Ch5bWPnLp8eEqLmqg7z6L7efsIBNAkqK3+kBBqDt6ITl9SFkWIqAiuyXcV43MtG1L0g==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "tslib": "^2.7.0" } }, "node_modules/@arcgis/core": { - "version": "4.31.0-next.20241015", - "resolved": "https://registry.npmjs.org/@arcgis/core/-/core-4.31.0-next.20241015.tgz", - "integrity": "sha512-90G3CHpMKQKX7HkqLmmFOiwWjhj1x1tC5SQo9ILkRUFBw+1553bruZWKs20O2fGEnw9KbVts++/33a3+fZC7kg==", + "version": "4.31.0-next.20241030", + "resolved": "https://registry.npmjs.org/@arcgis/core/-/core-4.31.0-next.20241030.tgz", + "integrity": "sha512-LJUp7WmKV2YxWGR+fJ3Tz0v4PE0dsOjxprwl5sE+ENosKRlaWEAinOeP4dYvLOV9gqTYTIr8I8w0HhIn9Nmwxw==", "license": "SEE LICENSE IN copyright.txt", "dependencies": { "@esri/arcgis-html-sanitizer": "~4.1.0-next.4", "@esri/calcite-colors": "~6.1.0", "@esri/calcite-components": "^2.13.0", - "@vaadin/grid": "~24.4.11", + "@vaadin/grid": "~24.5.0", "@zip.js/zip.js": "~2.7.52", "luxon": "~3.5.0", - "marked": "~14.1.2", + "marked": "~14.1.3", "sortablejs": "~1.15.3" } }, "node_modules/@arcgis/map-components": { - "version": "4.31.0-next.138", - "resolved": "https://registry.npmjs.org/@arcgis/map-components/-/map-components-4.31.0-next.138.tgz", - "integrity": "sha512-3ZwEG7CIe+t211mC7CS9L5uT4MUh8CdMqUVTMbOdbacTkmroWINJTNDfwAaawJ3DtcAwxnnr0lj/8g5ReeLVgg==", + "version": "4.31.0-next.143", + "resolved": "https://registry.npmjs.org/@arcgis/map-components/-/map-components-4.31.0-next.143.tgz", + "integrity": "sha512-xc2yl4WFIZGLfh144mENHSVpXM/kO1u6qYGAWa7we1z7pnmzcfiFPEhWGCjkwLWf0fdGW8cqrfLSARyKlXz+aA==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { - "@arcgis/components-build-utils": "4.31.0-next.138", - "@arcgis/components-controllers": "4.31.0-next.138", - "@arcgis/components-utils": "4.31.0-next.138", + "@arcgis/components-build-utils": "4.31.0-next.143", + "@arcgis/components-controllers": "4.31.0-next.143", + "@arcgis/components-utils": "4.31.0-next.143", "@stencil/core": "4.20.0", "tslib": "^2.7.0" }, @@ -503,9 +503,9 @@ "license": "SEE LICENSE IN README.md" }, "node_modules/@esri/calcite-components": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/@esri/calcite-components/-/calcite-components-2.13.1.tgz", - "integrity": "sha512-kt6kbCM28yMprwkDuMXsQCfokB5xF4ukI95LaLBDAMbEri5MWe84pYU1UHOsmEAqBsPHBIY8lUFnCAp7h4zQKw==", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/@esri/calcite-components/-/calcite-components-2.13.2.tgz", + "integrity": "sha512-90v4H8zs2wEzUXQGmZ+joHhP7ulFUHmQjDlIwXylJiDvoChhnEm38iv7eeG+X8im06biIHEDGRB8LLszlQQ7jw==", "license": "SEE LICENSE.md", "dependencies": { "@esri/calcite-ui-icons": "3.32.0", @@ -913,38 +913,38 @@ "license": "MIT" }, "node_modules/@vaadin/a11y-base": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/a11y-base/-/a11y-base-24.4.11.tgz", - "integrity": "sha512-B0rnkfwRAe5A/QBsj6t5yzQrg423GxNPkXUKw0Gz/bCwK4n3Jg77A6jn9+ej1BFaex3jpfc4xtF0yevPSDY9tg==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/a11y-base/-/a11y-base-24.5.1.tgz", + "integrity": "sha512-rPLVlLxaF7r0HjX/C3BwXN2gXLwUegWPNHe4pAhGg5sdcBDf4nGkFfibg0kJo5r2BAHgDn2xySs3oVA68vxT+g==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", "@polymer/polymer": "^3.0.0", - "@vaadin/component-base": "~24.4.11", + "@vaadin/component-base": "~24.5.1", "lit": "^3.0.0" } }, "node_modules/@vaadin/checkbox": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/checkbox/-/checkbox-24.4.11.tgz", - "integrity": "sha512-QgKhhPfR6Y+x1TLnoAptV7RICkl+RH1MYCZpALHeGPn5PAbBpajArLehRLjkoBTZD4k8v+3NkT3SWE8RV5KhhA==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/checkbox/-/checkbox-24.5.1.tgz", + "integrity": "sha512-+Du5sF6cDjiX8REwZh7mR594fi7F9Lr83F03EaOvUv1UhnkIMnnxI+skzMovxqYc0wmkbt5n3M+jnqipDcx6og==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", "@polymer/polymer": "^3.0.0", - "@vaadin/a11y-base": "~24.4.11", - "@vaadin/component-base": "~24.4.11", - "@vaadin/field-base": "~24.4.11", - "@vaadin/vaadin-lumo-styles": "~24.4.11", - "@vaadin/vaadin-material-styles": "~24.4.11", - "@vaadin/vaadin-themable-mixin": "~24.4.11", + "@vaadin/a11y-base": "~24.5.1", + "@vaadin/component-base": "~24.5.1", + "@vaadin/field-base": "~24.5.1", + "@vaadin/vaadin-lumo-styles": "~24.5.1", + "@vaadin/vaadin-material-styles": "~24.5.1", + "@vaadin/vaadin-themable-mixin": "~24.5.1", "lit": "^3.0.0" } }, "node_modules/@vaadin/component-base": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/component-base/-/component-base-24.4.11.tgz", - "integrity": "sha512-QVxhA+WkKkwPkfJWcmtpG+H1pVPxIf4RJ4rgzUA6lAZKZyBWlG+wfOWyqT4XozRg0wsEXSzni7NzstrAAdnc7Q==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/component-base/-/component-base-24.5.1.tgz", + "integrity": "sha512-+fs8ukmFuhiD3cLoE07yWAsxZcvApEwN+fohNrSpquCLcGbQsbjUV04JPzBhJ+KFSfwAMMDgEyBVUUrzZjm7eQ==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", @@ -955,89 +955,89 @@ } }, "node_modules/@vaadin/field-base": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/field-base/-/field-base-24.4.11.tgz", - "integrity": "sha512-DcJSA6v6CE9lAYXsCph4mkWr01aTRzX2uGiNHQssZOYjD/oXmOYUyrfv1ZSbYPklldOG/wrjQZflUmgo1kbojg==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/field-base/-/field-base-24.5.1.tgz", + "integrity": "sha512-GALRiF+FlVbGwyaPh9ACencmyZlhGnKOvqxHgAk2tbkndkm71dNStlHGf5x/SlF6BTe5H3D6KLSXIonNMBAFLw==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", "@polymer/polymer": "^3.0.0", - "@vaadin/a11y-base": "~24.4.11", - "@vaadin/component-base": "~24.4.11", + "@vaadin/a11y-base": "~24.5.1", + "@vaadin/component-base": "~24.5.1", "lit": "^3.0.0" } }, "node_modules/@vaadin/grid": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/grid/-/grid-24.4.11.tgz", - "integrity": "sha512-tg/hCiSH8O/3aBA0bZfIx8m5wd/7kX4u80Obl6P3cbKEuKzpS0ajec/VazxaXIJVh5DOwFBbTmGU6sQ0opQVyQ==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/grid/-/grid-24.5.1.tgz", + "integrity": "sha512-PSmwkjGIHz31QqBnq2GndttS9zxIKRwsyQrTFHonl01obrFjxm3yXHFvVR6047vxzUb7EE7DHqnu4543eg+Ctg==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", "@polymer/polymer": "^3.0.0", - "@vaadin/a11y-base": "~24.4.11", - "@vaadin/checkbox": "~24.4.11", - "@vaadin/component-base": "~24.4.11", - "@vaadin/lit-renderer": "~24.4.11", - "@vaadin/text-field": "~24.4.11", - "@vaadin/vaadin-lumo-styles": "~24.4.11", - "@vaadin/vaadin-material-styles": "~24.4.11", - "@vaadin/vaadin-themable-mixin": "~24.4.11", + "@vaadin/a11y-base": "~24.5.1", + "@vaadin/checkbox": "~24.5.1", + "@vaadin/component-base": "~24.5.1", + "@vaadin/lit-renderer": "~24.5.1", + "@vaadin/text-field": "~24.5.1", + "@vaadin/vaadin-lumo-styles": "~24.5.1", + "@vaadin/vaadin-material-styles": "~24.5.1", + "@vaadin/vaadin-themable-mixin": "~24.5.1", "lit": "^3.0.0" } }, "node_modules/@vaadin/icon": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/icon/-/icon-24.4.11.tgz", - "integrity": "sha512-ecCxTU55+fI0smn2COXTA/tBKOJ6B3Swc3IshfWoLFFoJ5aVStvRgU4/AtW5CAsqnZFGuGvuqD8TAF+XCecf8g==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/icon/-/icon-24.5.1.tgz", + "integrity": "sha512-dzkCUzF0k3kYZKX0dE0EW2zXJz8sblQ4MNYvMw6Itevo8kH5a5vHhltCq9Nm9YX5TPFuJERH6acoLQ5o1C3fYg==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", "@polymer/polymer": "^3.0.0", - "@vaadin/component-base": "~24.4.11", - "@vaadin/vaadin-lumo-styles": "~24.4.11", - "@vaadin/vaadin-themable-mixin": "~24.4.11", + "@vaadin/component-base": "~24.5.1", + "@vaadin/vaadin-lumo-styles": "~24.5.1", + "@vaadin/vaadin-themable-mixin": "~24.5.1", "lit": "^3.0.0" } }, "node_modules/@vaadin/input-container": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/input-container/-/input-container-24.4.11.tgz", - "integrity": "sha512-LuLNsGfxS1FNbNI0+Ukkm9ueKCBEK7Hp920woCf5/VrNevAhW9Hpgjc/ffPpn2RnJrpsvEgn8c6NP1L/0aX9cQ==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/input-container/-/input-container-24.5.1.tgz", + "integrity": "sha512-uRvO9ZsW4VaIaGtdOb+igWPu6tXdeqpuzS0eoAaIrSmWe/fsg9C1SazDrQiJ8ZawrH6I9IwP/yuiTv++TA0l/g==", "license": "Apache-2.0", "dependencies": { "@polymer/polymer": "^3.0.0", - "@vaadin/component-base": "~24.4.11", - "@vaadin/vaadin-lumo-styles": "~24.4.11", - "@vaadin/vaadin-material-styles": "~24.4.11", - "@vaadin/vaadin-themable-mixin": "~24.4.11", + "@vaadin/component-base": "~24.5.1", + "@vaadin/vaadin-lumo-styles": "~24.5.1", + "@vaadin/vaadin-material-styles": "~24.5.1", + "@vaadin/vaadin-themable-mixin": "~24.5.1", "lit": "^3.0.0" } }, "node_modules/@vaadin/lit-renderer": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/lit-renderer/-/lit-renderer-24.4.11.tgz", - "integrity": "sha512-YtNnP46mmEoEB2hcek/IeFgc5v0NIUiLTu2OPXRzIy0qmEK1stx7+EVIvzL2pUdlaLgnGvtTRkqWHlLW3eRbCA==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/lit-renderer/-/lit-renderer-24.5.1.tgz", + "integrity": "sha512-/YSO4Fs6QN2BNGiIDpb7kCfB893zEj0f2hwGVeiLkd/YIomIT80KJXiZF5p4K/Fkj9Lb98pgi3xDw65vfco5WA==", "license": "Apache-2.0", "dependencies": { "lit": "^3.0.0" } }, "node_modules/@vaadin/text-field": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/text-field/-/text-field-24.4.11.tgz", - "integrity": "sha512-oD7p/RkaiZAEd9zSxkZgvYHGcox0Dz0uXMjUqJtxuzHkf3e3tx8zPJ8mDq2qt2fno9jaEqlwufV/Xll0F3mNtQ==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/text-field/-/text-field-24.5.1.tgz", + "integrity": "sha512-k7nHpNzzJbKaMulPr48BQqPzheunKFeV6CYgWK5Su3P43j/sXALsJErAJ4qnmma9ZC5zy0LEQ4POGrL/q/tKCw==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", "@polymer/polymer": "^3.0.0", - "@vaadin/a11y-base": "~24.4.11", - "@vaadin/component-base": "~24.4.11", - "@vaadin/field-base": "~24.4.11", - "@vaadin/input-container": "~24.4.11", - "@vaadin/vaadin-lumo-styles": "~24.4.11", - "@vaadin/vaadin-material-styles": "~24.4.11", - "@vaadin/vaadin-themable-mixin": "~24.4.11", + "@vaadin/a11y-base": "~24.5.1", + "@vaadin/component-base": "~24.5.1", + "@vaadin/field-base": "~24.5.1", + "@vaadin/input-container": "~24.5.1", + "@vaadin/vaadin-lumo-styles": "~24.5.1", + "@vaadin/vaadin-material-styles": "~24.5.1", + "@vaadin/vaadin-themable-mixin": "~24.5.1", "lit": "^3.0.0" } }, @@ -1048,32 +1048,32 @@ "license": "Apache-2.0" }, "node_modules/@vaadin/vaadin-lumo-styles": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/vaadin-lumo-styles/-/vaadin-lumo-styles-24.4.11.tgz", - "integrity": "sha512-3VQzVNWjtwTXvXF/yOsSb/wUeX8DxfOtALhyrDB0tb6oHO1OHteCuiBMAIyYmaRDxUYJmU5alOksvxw8DceNhQ==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/vaadin-lumo-styles/-/vaadin-lumo-styles-24.5.1.tgz", + "integrity": "sha512-4HIlIaN0yFgWVPvuvF62bmonYmvVV1lLkDpwe0m7ECO4yNMoxGdsFYQe0ggdiw10HBGOLwMSwa1q1HkluaRxPw==", "license": "Apache-2.0", "dependencies": { "@polymer/polymer": "^3.0.0", - "@vaadin/component-base": "~24.4.11", - "@vaadin/icon": "~24.4.11", - "@vaadin/vaadin-themable-mixin": "~24.4.11" + "@vaadin/component-base": "~24.5.1", + "@vaadin/icon": "~24.5.1", + "@vaadin/vaadin-themable-mixin": "~24.5.1" } }, "node_modules/@vaadin/vaadin-material-styles": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/vaadin-material-styles/-/vaadin-material-styles-24.4.11.tgz", - "integrity": "sha512-Tl41hxIYIkuJ03F0mYpTP2hK93LU4S2A2FpiRcG+tuLxH+FqpjCSfDGiZQMzaAP0Rw5zgQRICRs63DhE0rV8iw==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/vaadin-material-styles/-/vaadin-material-styles-24.5.1.tgz", + "integrity": "sha512-NqzjLUYwt74s8nC2oR4SKdneTUoJ739WXf0qLBRcFK2cYiHLQFF81RHiCcU5VQpFj0NY9VeuawBjMztnZPTpwg==", "license": "Apache-2.0", "dependencies": { "@polymer/polymer": "^3.0.0", - "@vaadin/component-base": "~24.4.11", - "@vaadin/vaadin-themable-mixin": "~24.4.11" + "@vaadin/component-base": "~24.5.1", + "@vaadin/vaadin-themable-mixin": "~24.5.1" } }, "node_modules/@vaadin/vaadin-themable-mixin": { - "version": "24.4.11", - "resolved": "https://registry.npmjs.org/@vaadin/vaadin-themable-mixin/-/vaadin-themable-mixin-24.4.11.tgz", - "integrity": "sha512-QuRk7vNx1phC1ZBOGu0H5bqxktAm3dsJlJIj9KQ/tC4fG7MMTlhebrvveawkdyZe4q4lSm6LGy3hhIu94m0B/Q==", + "version": "24.5.1", + "resolved": "https://registry.npmjs.org/@vaadin/vaadin-themable-mixin/-/vaadin-themable-mixin-24.5.1.tgz", + "integrity": "sha512-NQ1+GVS/8Lxv9DpRTzLVxp/N+L0EYvfidmzWS2lLF0PfHQxk00AFNRVKuCbsxrckTblRJHkf3rbQTo3hl8SC2Q==", "license": "Apache-2.0", "dependencies": { "@open-wc/dedupe-mixin": "^1.3.0", diff --git a/package.json b/package.json index 50bf2d6..8f01c38 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "preview": "vite preview" }, "dependencies": { - "@arcgis/core": "^4.31.0-next.20241015", - "@arcgis/map-components": "^4.31.0-next.138", - "@esri/calcite-components": "^2.8.6" + "@arcgis/core": "^4.31.0-next.20241030", + "@arcgis/map-components": "^4.31.0-next.143", + "@esri/calcite-components": "^2.13.2" }, "devDependencies": { "i": "^0.3.7",