@esri/solutions-components 0.10.9 → 0.10.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-4bf03edc.js +115 -0
- package/dist/cjs/FloatingArrow-7eca410a.js +48 -0
- package/dist/cjs/Heading-2333bcd2.js +25 -0
- package/dist/cjs/Validation-aa47298a.js +20 -0
- package/dist/cjs/app-globals-7f35a2ee.js +67 -0
- package/dist/cjs/ar-cecfe7a4.js +106 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-59824898.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +8 -8
- package/dist/cjs/bg-4fc20839.js +84 -0
- package/dist/cjs/browser-69696af0.js +35 -0
- package/dist/cjs/bs-3bffda26.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +10 -10
- package/dist/cjs/ca-368f111b.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +24 -24
- package/dist/cjs/calcite-accordion.cjs.entry.js +18 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +28 -28
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action_2.cjs.entry.js +49 -19
- package/dist/cjs/calcite-alert_4.cjs.entry.js +155 -119
- package/dist/cjs/calcite-avatar.cjs.entry.js +176 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js +11 -11
- package/dist/cjs/calcite-block_5.cjs.entry.js +92 -60
- package/dist/cjs/calcite-button.cjs.entry.js +21 -34
- package/dist/cjs/calcite-card-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-card.cjs.entry.js +13 -13
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-carousel.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip_2.cjs.entry.js +31 -21
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker.cjs.entry.js +32 -52
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +42 -36
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-dialog.cjs.entry.js +308 -36
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +22 -22
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -9
- package/dist/cjs/calcite-filter_5.cjs.entry.js +27 -27
- package/dist/cjs/calcite-flow_6.cjs.entry.js +131 -45
- package/dist/cjs/calcite-graph_2.cjs.entry.js +26 -22
- package/dist/cjs/calcite-icon.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-number.cjs.entry.js +39 -34
- package/dist/cjs/calcite-input-text.cjs.entry.js +32 -27
- package/dist/cjs/calcite-input-time-picker-de202530.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +21 -22
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +168 -87
- package/dist/cjs/calcite-input_2.cjs.entry.js +41 -36
- package/dist/cjs/calcite-label.cjs.entry.js +11 -8
- package/dist/cjs/calcite-link.cjs.entry.js +11 -11
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu-item.cjs.entry.js +14 -14
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +12 -12
- package/dist/cjs/calcite-modal.cjs.entry.js +21 -21
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +74 -0
- package/dist/cjs/calcite-navigation.cjs.entry.js +9 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +18 -18
- package/dist/cjs/calcite-option-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-option_2.cjs.entry.js +18 -15
- package/dist/cjs/calcite-pagination.cjs.entry.js +14 -14
- package/dist/cjs/calcite-panel_2.cjs.entry.js +23 -23
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list.cjs.entry.js +14 -14
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +13 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -17
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +19 -16
- package/dist/cjs/calcite-sheet.cjs.entry.js +17 -15
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +54 -54
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -11
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-stepper.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +30 -20
- package/dist/cjs/calcite-table-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-table.cjs.entry.js +14 -14
- package/dist/cjs/calcite-text-area.cjs.entry.js +24 -21
- package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -10
- package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -32
- package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +18 -14
- package/dist/cjs/calcite-tree_3.cjs.entry.js +44 -26
- package/dist/cjs/card-manager_3.cjs.entry.js +7 -7
- package/dist/cjs/common-4d4cf291.js +37 -0
- package/dist/cjs/component-a4c6a35d.js +33 -0
- package/dist/cjs/conditionalSlot-6b5d9b84.js +54 -0
- package/dist/cjs/config-afe9063b.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/constants-0a4fc296.js +812 -0
- package/dist/cjs/continent-cdee1112.js +34 -0
- package/dist/cjs/country-a8539532.js +446 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +28 -25
- package/dist/cjs/cs-1386c8b8.js +149 -0
- package/dist/cjs/da-68d9e5ce.js +69 -0
- package/dist/cjs/date-5a57b606.js +264 -0
- package/dist/cjs/de-at-017d79c1.js +92 -0
- package/dist/cjs/de-ch-f892b97a.js +92 -0
- package/dist/cjs/de-f3b48b7d.js +93 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/dom-6a9b6275.js +1215 -0
- package/dist/cjs/downloadUtils-e6e2f8c4.js +3163 -0
- package/dist/cjs/el-16691582.js +68 -0
- package/dist/cjs/en-au-3cba8189.js +68 -0
- package/dist/cjs/en-ca-e63c64a3.js +67 -0
- package/dist/cjs/en-gb-66e297eb.js +71 -0
- package/dist/cjs/es-473df127.js +68 -0
- package/dist/cjs/es-mx-b8fc355d.js +67 -0
- package/dist/cjs/et-dfe831e4.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +2 -2
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/feature-list.cjs.entry.js +59 -15
- package/dist/cjs/features-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/fi-8ab8c685.js +117 -0
- package/dist/cjs/filter-1f98198b.js +778 -0
- package/dist/cjs/floating-ui-b20fd1f7.js +2373 -0
- package/dist/cjs/focusTrapComponent-a4531bc7.js +1018 -0
- package/dist/cjs/form-5229f1c8.js +381 -0
- package/dist/cjs/fr-ch-9cdf5409.js +68 -0
- package/dist/cjs/fr-fbc089e3.js +70 -0
- package/dist/cjs/guid-02e5380f.js +26 -0
- package/dist/cjs/he-33e82ae7.js +107 -0
- package/dist/cjs/helpers-3a8234e8.js +940 -0
- package/dist/cjs/hi-bc15c04d.js +67 -0
- package/dist/cjs/hr-94438cce.js +82 -0
- package/dist/cjs/hu-e076cebf.js +90 -0
- package/dist/cjs/id-81a2fef0.js +68 -0
- package/dist/cjs/index-5a0af791.js +1782 -0
- package/dist/cjs/index-6189d0bb.js +62 -0
- package/dist/cjs/index-866b8a4c.js +127 -0
- package/dist/cjs/index-d21e03cd.js +14 -0
- package/dist/cjs/index-da709a10.js +201 -0
- package/dist/cjs/index.es-fa362797.js +11317 -0
- package/dist/cjs/input-33270a99.js +60 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +9 -11
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +15 -15
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +35 -50
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +2 -2
- package/dist/cjs/interactive-89f913ba.js +167 -0
- package/dist/cjs/it-549faba6.js +68 -0
- package/dist/cjs/it-ch-f2165d11.js +68 -0
- package/dist/cjs/ja-2c7ee1fb.js +74 -0
- package/dist/cjs/key-d6da79d8.js +19 -0
- package/dist/cjs/ko-ac460bc7.js +74 -0
- package/dist/cjs/label-26ee0ddb.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/list-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/loadable-2e2626dc.js +98 -0
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-42c21404.js +605 -0
- package/dist/cjs/locale-a09603ee.js +160 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/logger-1c9bfcfd.js +61 -0
- package/dist/cjs/lt-8fd46749.js +99 -0
- package/dist/cjs/lv-49bc9ddb.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +10 -10
- package/dist/cjs/math-2911c0c9.js +60 -0
- package/dist/cjs/mk-5a82adab.js +68 -0
- package/dist/cjs/nb-24cd76dd.js +69 -0
- package/dist/cjs/nl-f6394232.js +69 -0
- package/dist/cjs/observers-8fed90f3.js +58 -0
- package/dist/cjs/openCloseComponent-14628d11.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pl-1b2c1ac1.js +116 -0
- package/dist/cjs/popupUtils-92e52dbf.js +121 -0
- package/dist/cjs/pt-b9970ff4.js +69 -0
- package/dist/cjs/pt-br-bfdc1da5.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +8 -8
- package/dist/cjs/publicNotificationStore-f229e839.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +2 -2
- package/dist/cjs/resources-151788f3.js +23 -0
- package/dist/cjs/resources-3eec4ddc.js +27 -0
- package/dist/cjs/resources-41443a57.js +26 -0
- package/dist/cjs/resources-44478618.js +29 -0
- package/dist/cjs/resources-9fb1bc89.js +68 -0
- package/dist/cjs/resources-dfe71ff2.js +39 -0
- package/dist/cjs/resources-e23d63db.js +39 -0
- package/dist/cjs/resources-e96455bb.js +68 -0
- package/dist/cjs/resources-ed5f0434.js +21 -0
- package/dist/cjs/resources-fac4579f.js +23 -0
- package/dist/cjs/restHelpersGet-88ba0e25.js +975 -0
- package/dist/cjs/ro-d3dcee3e.js +68 -0
- package/dist/cjs/ru-86dc7992.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +2 -2
- package/dist/cjs/shared-list-render-54fa8d30.js +361 -0
- package/dist/cjs/sk-f4477e9e.js +150 -0
- package/dist/cjs/sl-056c7a3e.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +10 -10
- package/dist/cjs/solution-contents_3.cjs.entry.js +10 -10
- package/dist/cjs/solution-resource-16c7510c.js +1843 -0
- package/dist/cjs/solution-store-1218246d.js +1353 -0
- package/dist/cjs/solutions-components.cjs.js +7 -7
- package/dist/cjs/sortableComponent-9bfb9488.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +5 -5
- package/dist/cjs/sr-98be5235.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +6 -6
- package/dist/cjs/sv-cb8dd245.js +73 -0
- package/dist/cjs/t9n-42ba6ea3.js +108 -0
- package/dist/cjs/templates-2f44c01b.js +407 -0
- package/dist/cjs/th-9d1805bf.js +67 -0
- package/dist/cjs/time-d48f5d3e.js +301 -0
- package/dist/cjs/time-zones-cd027b1e.js +367 -0
- package/dist/cjs/tr-833a6ecc.js +68 -0
- package/dist/cjs/uk-df027a8a.js +106 -0
- package/dist/cjs/utils-051e0119.js +78 -0
- package/dist/cjs/utils-357c41eb.js +2304 -0
- package/dist/cjs/utils-a2799a10.js +130 -0
- package/dist/cjs/vi-2f15ae72.js +72 -0
- package/dist/cjs/zh-cn-ede80e9d.js +96 -0
- package/dist/cjs/zh-hk-5de99bec.js +94 -0
- package/dist/cjs/zh-tw-9cf1d1bd.js +94 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/create-feature/create-feature.css +13 -0
- package/dist/collection/components/create-feature/create-feature.js +112 -13
- package/dist/collection/components/create-related-feature/create-related-feature.js +11 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +44 -23
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.js +29 -9
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.css +13 -2
- package/dist/collection/components/feature-list/feature-list.js +70 -8
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +1 -1
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-reporter.html +11 -3
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +2 -2
- package/dist/components/action-bar.js +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action-pad.js +2 -2
- package/dist/components/action.js +2 -2
- package/dist/components/alert.js +141 -103
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/block.js +8 -10
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +7 -22
- package/dist/components/calcite-accordion-item.js +15 -15
- package/dist/components/calcite-accordion.js +15 -5
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-color-picker.js +19 -39
- package/dist/components/calcite-combobox-item-group.js +1 -69
- package/dist/components/calcite-dialog.js +303 -22
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-inline-editable.js +4 -4
- package/dist/components/calcite-input-time-picker.js +38 -40
- package/dist/components/calcite-input-time-zone.js +166 -79
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-menu-item.js +4 -4
- package/dist/components/calcite-meter.js +2 -2
- package/dist/components/calcite-navigation-logo.js +3 -3
- package/dist/components/calcite-navigation.js +3 -3
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-radio-button-group.js +6 -2
- package/dist/components/calcite-rating.js +3 -3
- package/dist/components/calcite-sheet.js +7 -5
- package/dist/components/calcite-shell-center-row.js +3 -3
- package/dist/components/calcite-sortable-list.js +3 -3
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stepper-item.js +4 -4
- package/dist/components/calcite-stepper.js +3 -3
- package/dist/components/calcite-table-row.js +2 -2
- package/dist/components/calcite-table.js +4 -4
- package/dist/components/calcite-text-area.js +8 -5
- package/dist/components/calcite-tile-group.js +2 -2
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile.js +3 -3
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +76 -0
- package/dist/components/combobox-item.js +20 -6
- package/dist/components/combobox.js +18 -12
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +5 -5
- package/dist/components/continent.js +31 -0
- package/dist/components/country.js +444 -0
- package/dist/components/create-feature2.js +82 -14
- package/dist/components/create-related-feature2.js +11 -2
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +39 -29
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +10 -7
- package/dist/components/dropdown-group.js +2 -2
- package/dist/components/dropdown-item.js +4 -4
- package/dist/components/dropdown.js +6 -6
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +24 -15
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +64 -13
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +3 -3
- package/dist/components/floating-ui.js +17 -6
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +14 -5
- package/dist/components/flow.js +2 -2
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -3
- package/dist/components/icon.js +4 -4
- package/dist/components/index.js +2 -2
- package/dist/components/index4.js +4 -196
- package/dist/components/index5.js +51 -62
- package/dist/components/index6.js +125 -0
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +27 -20
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +24 -19
- package/dist/components/input-text.js +17 -12
- package/dist/components/input.js +25 -20
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +39 -7
- package/dist/components/instant-apps-landing-page.js +8 -10
- package/dist/components/instant-apps-language-switcher.js +8 -8
- package/dist/components/instant-apps-language-translator2.js +759 -8
- package/dist/components/instant-apps-sign-in2.js +34 -49
- package/dist/components/interactive.js +2 -4
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +5 -2
- package/dist/components/layer-table2.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +4 -4
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +2 -2
- package/dist/components/list.js +2 -2
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +41 -6
- package/dist/components/locale2.js +23 -3
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/modal.js +5 -5
- package/dist/components/navigation-user.js +3 -3
- package/dist/components/notice.js +4 -4
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/panel.js +10 -6
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +6 -6
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/restHelpersGet.js +19 -23
- package/dist/components/scrim.js +2 -2
- package/dist/components/segmented-control-item.js +2 -2
- package/dist/components/segmented-control.js +6 -3
- package/dist/components/select.js +6 -3
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +3 -3
- package/dist/components/shell.js +3 -3
- package/dist/components/slider.js +12 -8
- package/dist/components/solution-configuration.js +11 -17
- package/dist/components/solution-contents2.js +2 -8
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +9 -15
- package/dist/components/solution-organization-variables2.js +2 -8
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-resource.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +56 -63
- package/dist/components/solution-template-data2.js +7 -13
- package/dist/components/solution-variables2.js +2 -8
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +2 -8
- package/dist/components/stack.js +2 -2
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +5 -5
- package/dist/components/tab.js +2 -2
- package/dist/components/table-cell.js +3 -3
- package/dist/components/table-header.js +15 -5
- package/dist/components/tabs.js +2 -2
- package/dist/components/time-picker.js +21 -21
- package/dist/components/time-zones.js +365 -0
- package/dist/components/tooltip.js +10 -6
- package/dist/components/tree-item.js +33 -20
- package/dist/components/tree.js +3 -3
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +8 -3
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +2 -2
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-bddb5e82.js +108 -0
- package/dist/esm/FloatingArrow-adf66cf8.js +46 -0
- package/dist/esm/Heading-20345c69.js +22 -0
- package/dist/esm/Validation-63949b7d.js +18 -0
- package/dist/esm/app-globals-5d3ac5ed.js +65 -0
- package/dist/esm/ar-c466a382.js +104 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-dd6e2c7d.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +8 -8
- package/dist/esm/bg-9cb15225.js +82 -0
- package/dist/esm/browser-552eb2d0.js +32 -0
- package/dist/esm/bs-f5629d7c.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +10 -10
- package/dist/esm/ca-4bf4a8d1.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +24 -24
- package/dist/esm/calcite-accordion.entry.js +18 -8
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- package/dist/esm/calcite-action-group.entry.js +14 -14
- package/dist/esm/calcite-action-menu_3.entry.js +28 -28
- package/dist/esm/calcite-action-pad_2.entry.js +16 -16
- package/dist/esm/calcite-action_2.entry.js +49 -19
- package/dist/esm/calcite-alert_4.entry.js +155 -119
- package/dist/esm/calcite-avatar.entry.js +172 -0
- package/dist/esm/calcite-block-section.entry.js +11 -11
- package/dist/esm/calcite-block_5.entry.js +92 -60
- package/dist/esm/calcite-button.entry.js +21 -34
- package/dist/esm/calcite-card-group.entry.js +7 -7
- package/dist/esm/calcite-card.entry.js +13 -13
- package/dist/esm/calcite-carousel-item.entry.js +3 -3
- package/dist/esm/calcite-carousel.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-chip_2.entry.js +31 -21
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +9 -9
- package/dist/esm/calcite-color-picker.entry.js +32 -52
- package/dist/esm/calcite-combobox-item-group.entry.js +7 -7
- package/dist/esm/calcite-combobox_3.entry.js +42 -36
- package/dist/esm/calcite-date-picker-day_3.entry.js +14 -14
- package/dist/esm/calcite-dialog.entry.js +308 -36
- package/dist/esm/calcite-dropdown_2.entry.js +22 -22
- package/dist/esm/calcite-fab.entry.js +9 -9
- package/dist/esm/calcite-filter_5.entry.js +27 -27
- package/dist/esm/calcite-flow_6.entry.js +131 -45
- package/dist/esm/calcite-graph_2.entry.js +26 -22
- package/dist/esm/calcite-icon.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +17 -17
- package/dist/esm/calcite-input-number.entry.js +39 -34
- package/dist/esm/calcite-input-text.entry.js +32 -27
- package/dist/esm/calcite-input-time-picker-60dbdc25.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +21 -22
- package/dist/esm/calcite-input-time-zone.entry.js +168 -87
- package/dist/esm/calcite-input_2.entry.js +41 -36
- package/dist/esm/calcite-label.entry.js +11 -8
- package/dist/esm/calcite-link.entry.js +11 -11
- package/dist/esm/calcite-list-item-group.entry.js +6 -6
- package/dist/esm/calcite-menu-item.entry.js +14 -14
- package/dist/esm/calcite-menu.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +12 -12
- package/dist/esm/calcite-modal.entry.js +21 -21
- package/dist/esm/calcite-navigation-logo.entry.js +7 -7
- package/dist/esm/calcite-navigation-user.entry.js +70 -0
- package/dist/esm/calcite-navigation.entry.js +9 -9
- package/dist/esm/calcite-notice.entry.js +18 -18
- package/dist/esm/calcite-option-group.entry.js +2 -2
- package/dist/esm/calcite-option_2.entry.js +18 -15
- package/dist/esm/calcite-pagination.entry.js +14 -14
- package/dist/esm/calcite-panel_2.entry.js +23 -23
- package/dist/esm/calcite-pick-list-group.entry.js +12 -12
- package/dist/esm/calcite-pick-list-item.entry.js +17 -17
- package/dist/esm/calcite-pick-list.entry.js +14 -14
- package/dist/esm/calcite-radio-button-group.entry.js +13 -7
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-rating.entry.js +17 -17
- package/dist/esm/calcite-segmented-control_2.entry.js +19 -16
- package/dist/esm/calcite-sheet.entry.js +17 -15
- package/dist/esm/calcite-shell-center-row.entry.js +10 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +54 -54
- package/dist/esm/calcite-sortable-list.entry.js +11 -11
- package/dist/esm/calcite-split-button.entry.js +6 -6
- package/dist/esm/calcite-stepper-item.entry.js +15 -15
- package/dist/esm/calcite-stepper.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +13 -13
- package/dist/esm/calcite-table-cell_2.entry.js +30 -20
- package/dist/esm/calcite-table-row.entry.js +10 -10
- package/dist/esm/calcite-table.entry.js +14 -14
- package/dist/esm/calcite-text-area.entry.js +24 -21
- package/dist/esm/calcite-tile-group.entry.js +9 -9
- package/dist/esm/calcite-tile-select-group.entry.js +6 -6
- package/dist/esm/calcite-tile-select.entry.js +10 -10
- package/dist/esm/calcite-tile.entry.js +10 -10
- package/dist/esm/calcite-time-picker.entry.js +32 -32
- package/dist/esm/calcite-tip-group.entry.js +4 -4
- package/dist/esm/calcite-tip-manager.entry.js +13 -13
- package/dist/esm/calcite-tip.entry.js +15 -15
- package/dist/esm/calcite-tooltip.entry.js +18 -14
- package/dist/esm/calcite-tree_3.entry.js +44 -26
- package/dist/esm/card-manager_3.entry.js +7 -7
- package/dist/esm/common-3b99e350.js +35 -0
- package/dist/esm/component-c2c32481.js +30 -0
- package/dist/esm/conditionalSlot-60e775f3.js +51 -0
- package/dist/esm/config-2fa7bb77.js +36 -0
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/constants-045d6a1b.js +808 -0
- package/dist/esm/continent-125eb777.js +31 -0
- package/dist/esm/country-2d5661ee.js +444 -0
- package/dist/esm/crowdsource-manager.entry.js +3 -3
- package/dist/esm/crowdsource-reporter.entry.js +28 -25
- package/dist/esm/cs-41ed0d89.js +147 -0
- package/dist/esm/da-a8c74a48.js +67 -0
- package/dist/esm/date-45f24c42.js +248 -0
- package/dist/esm/de-9a636f1a.js +91 -0
- package/dist/esm/de-at-26352836.js +90 -0
- package/dist/esm/de-ch-25495449.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/dom-b5c50286.js +1180 -0
- package/dist/esm/downloadUtils-74bc82ae.js +3156 -0
- package/dist/esm/el-82ffddec.js +66 -0
- package/dist/esm/en-au-0f081a3c.js +66 -0
- package/dist/esm/en-ca-f04aeac2.js +65 -0
- package/dist/esm/en-gb-81e968d6.js +69 -0
- package/dist/esm/es-e058977a.js +66 -0
- package/dist/esm/es-mx-14a1f320.js +65 -0
- package/dist/esm/et-4a06c642.js +92 -0
- package/dist/esm/feature-comments.entry.js +2 -2
- package/dist/esm/feature-form-flow-item.entry.js +2 -2
- package/dist/esm/feature-list.entry.js +59 -15
- package/dist/esm/features-flow-item.entry.js +2 -2
- package/dist/esm/fi-9673a0e6.js +115 -0
- package/dist/esm/filter-23b3858b.js +775 -0
- package/dist/esm/floating-ui-ba0acfca.js +2365 -0
- package/dist/esm/focusTrapComponent-6ec0f681.js +1013 -0
- package/dist/esm/form-ba965042.js +372 -0
- package/dist/esm/fr-94ff7253.js +68 -0
- package/dist/esm/fr-ch-00b7e60e.js +66 -0
- package/dist/esm/guid-4c746a7f.js +24 -0
- package/dist/esm/he-faefbd69.js +105 -0
- package/dist/esm/helpers-3be8dbbc.js +913 -0
- package/dist/esm/hi-923b9ffd.js +65 -0
- package/dist/esm/hr-6ed6939b.js +80 -0
- package/dist/esm/hu-25918d1e.js +88 -0
- package/dist/esm/id-520427a1.js +66 -0
- package/dist/esm/index-2c724afd.js +199 -0
- package/dist/esm/index-87ec7c0a.js +71 -0
- package/dist/esm/index-ad182a71.js +125 -0
- package/dist/esm/index-b793d9aa.js +1748 -0
- package/dist/esm/index-f5d562b1.js +60 -0
- package/dist/esm/index-f8c935d6.js +12 -0
- package/dist/esm/index.es-40ce1695.js +11230 -0
- package/dist/esm/input-d11f5ac8.js +58 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +1 -1
- package/dist/esm/instant-apps-export-views.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +9 -11
- package/dist/esm/instant-apps-language-switcher.entry.js +11 -11
- package/dist/esm/instant-apps-language-translator.entry.js +11 -11
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +35 -50
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +2 -2
- package/dist/esm/interactive-742ba555.js +162 -0
- package/dist/esm/it-7751f7dc.js +66 -0
- package/dist/esm/it-ch-cec3226b.js +66 -0
- package/dist/esm/ja-1df4233a.js +72 -0
- package/dist/esm/key-58898f0a.js +16 -0
- package/dist/esm/ko-a104769f.js +72 -0
- package/dist/esm/label-0b82858a.js +179 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +2 -2
- package/dist/esm/loadable-73f289b6.js +93 -0
- package/dist/esm/loader.js +7 -7
- package/dist/esm/locale-21e40b0c.js +591 -0
- package/dist/esm/locale-b1d53fb1.js +155 -0
- package/dist/esm/location-flow-item.entry.js +2 -2
- package/dist/esm/logger-0d6e5bfe.js +59 -0
- package/dist/esm/lt-747213da.js +97 -0
- package/dist/esm/lv-06088b99.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +10 -10
- package/dist/esm/math-8c04292e.js +54 -0
- package/dist/esm/mk-5f581ea0.js +66 -0
- package/dist/esm/nb-f9d01bec.js +67 -0
- package/dist/esm/nl-48b9338d.js +67 -0
- package/dist/esm/observers-e2484555.js +56 -0
- package/dist/esm/openCloseComponent-7b8f2e24.js +63 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pl-2ff50be7.js +114 -0
- package/dist/esm/popupUtils-00c655fb.js +119 -0
- package/dist/esm/pt-br-45ae496b.js +65 -0
- package/dist/esm/pt-ed25c80b.js +67 -0
- package/dist/esm/public-notification.entry.js +8 -8
- package/dist/esm/publicNotificationStore-7b0b97b6.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +2 -2
- package/dist/esm/resources-2d6e35cf.js +20 -0
- package/dist/esm/resources-30b747d4.js +23 -0
- package/dist/esm/resources-5ba50a1d.js +19 -0
- package/dist/esm/resources-64237427.js +63 -0
- package/dist/esm/resources-8665df6b.js +62 -0
- package/dist/esm/resources-896b6b00.js +35 -0
- package/dist/esm/resources-8f90cf93.js +22 -0
- package/dist/esm/resources-bc5c2adb.js +21 -0
- package/dist/esm/resources-cfbcc1ed.js +24 -0
- package/dist/esm/resources-defbb49f.js +34 -0
- package/dist/esm/restHelpersGet-788d7f7b.js +960 -0
- package/dist/esm/ro-c5727d93.js +66 -0
- package/dist/esm/ru-ecb35906.js +126 -0
- package/dist/esm/share-item.entry.js +2 -2
- package/dist/esm/shared-list-render-4053f1dc.js +339 -0
- package/dist/esm/sk-e9c31458.js +148 -0
- package/dist/esm/sl-063df216.js +168 -0
- package/dist/esm/solution-configuration.entry.js +10 -10
- package/dist/esm/solution-contents_3.entry.js +10 -10
- package/dist/esm/solution-resource-966f8511.js +1840 -0
- package/dist/esm/solution-store-61fd39ea.js +1351 -0
- package/dist/esm/solutions-components.js +8 -8
- package/dist/esm/sortableComponent-3f9e9322.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +5 -5
- package/dist/esm/sr-68f70e45.js +101 -0
- package/dist/esm/store-manager.entry.js +6 -6
- package/dist/esm/sv-b5a85ee5.js +71 -0
- package/dist/esm/t9n-2fb3af62.js +103 -0
- package/dist/esm/templates-9330d7b8.js +401 -0
- package/dist/esm/th-3a5ed31b.js +65 -0
- package/dist/esm/time-a215e415.js +286 -0
- package/dist/esm/time-zones-211c88e3.js +365 -0
- package/dist/esm/tr-b8829177.js +66 -0
- package/dist/esm/uk-c74df043.js +104 -0
- package/dist/esm/utils-13c5908e.js +65 -0
- package/dist/esm/utils-1f0d1828.js +2274 -0
- package/dist/esm/utils-5b977646.js +121 -0
- package/dist/esm/vi-a5092b10.js +70 -0
- package/dist/esm/zh-cn-f1e998fb.js +94 -0
- package/dist/esm/zh-hk-3ec32fe3.js +92 -0
- package/dist/esm/zh-tw-33f4a290.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +43 -35
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +127 -150
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +79 -100
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +22 -36
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +25 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +17 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +15 -23
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +9 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +6 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -14
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +10 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -18
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +12 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +17 -12
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +64 -48
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +12 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +8 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +19 -17
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +7 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +6 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +23 -19
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +9 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +46 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +12 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +20 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +8 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +8 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +12 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +22 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +2 -15
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +11 -14
- package/dist/solutions-components/assets/dialog/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/dialog/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/dialog/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/icon/closedCaption16.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption16F.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption24.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption24F.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption32.json +1 -0
- package/dist/solutions-components/assets/icon/closedCaption32F.json +1 -0
- package/dist/solutions-components/assets/icon/flag16.json +1 -0
- package/dist/solutions-components/assets/icon/flag16F.json +1 -0
- package/dist/solutions-components/assets/icon/flag24.json +1 -0
- package/dist/solutions-components/assets/icon/flag24F.json +1 -0
- package/dist/solutions-components/assets/icon/flag32.json +1 -0
- package/dist/solutions-components/assets/icon/flag32F.json +1 -0
- package/dist/solutions-components/assets/icon/flagSlash16.json +1 -0
- package/dist/solutions-components/assets/icon/flagSlash24.json +1 -0
- package/dist/solutions-components/assets/icon/flagSlash32.json +1 -0
- package/dist/solutions-components/assets/icon/layerConnection16.json +1 -0
- package/dist/solutions-components/assets/icon/layerConnection24.json +1 -0
- package/dist/solutions-components/assets/icon/layerConnection32.json +1 -0
- package/dist/solutions-components/assets/icon/transcript16.json +1 -0
- package/dist/solutions-components/assets/icon/transcript16F.json +1 -0
- package/dist/solutions-components/assets/icon/transcript24.json +1 -0
- package/dist/solutions-components/assets/icon/transcript24F.json +1 -0
- package/dist/solutions-components/assets/icon/transcript32.json +1 -0
- package/dist/solutions-components/assets/icon/transcript32F.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +261 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +262 -1
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +262 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +11 -3
- package/dist/solutions-components/p-0005175a.js +16 -0
- package/dist/solutions-components/p-004d601f.entry.js +6 -0
- package/dist/solutions-components/p-00d131cd.entry.js +11 -0
- package/dist/solutions-components/p-013188f8.entry.js +6 -0
- package/dist/solutions-components/p-01df774b.js +11 -0
- package/dist/solutions-components/p-0215daed.js +6 -0
- package/dist/solutions-components/p-022c49af.js +489 -0
- package/dist/solutions-components/p-04f09e7f.entry.js +11 -0
- package/dist/solutions-components/p-0558fbc7.js +143 -0
- package/dist/solutions-components/p-058b77d7.entry.js +6 -0
- package/dist/solutions-components/p-05b7d3ce.js +6 -0
- package/dist/solutions-components/p-06084e6c.js +11 -0
- package/dist/solutions-components/p-064e43e0.entry.js +6 -0
- package/dist/solutions-components/p-089bc565.js +11 -0
- package/dist/solutions-components/p-0fe5de6b.entry.js +6 -0
- package/dist/solutions-components/p-1061076b.js +6 -0
- package/dist/solutions-components/p-14fbc662.js +11 -0
- package/dist/solutions-components/p-1500d4c7.js +6 -0
- package/dist/solutions-components/p-16d4eb72.entry.js +16 -0
- package/dist/solutions-components/p-172fcecd.entry.js +11 -0
- package/dist/solutions-components/p-1892c357.js +11 -0
- package/dist/solutions-components/p-18f18ab3.js +11 -0
- package/dist/solutions-components/p-1900269a.entry.js +6 -0
- package/dist/solutions-components/p-19a942c4.entry.js +16 -0
- package/dist/solutions-components/p-1a9a47a0.js +11 -0
- package/dist/solutions-components/p-1bbe9e22.js +6 -0
- package/dist/solutions-components/p-1d71e81f.js +11 -0
- package/dist/solutions-components/p-1d99dfcd.entry.js +11 -0
- package/dist/solutions-components/p-1e455668.js +6 -0
- package/dist/solutions-components/p-1ed47f10.entry.js +21 -0
- package/dist/solutions-components/p-1f40908b.entry.js +11 -0
- package/dist/solutions-components/p-2058b5d9.js +36 -0
- package/dist/solutions-components/p-207b4e70.entry.js +11 -0
- package/dist/solutions-components/p-24997e81.js +6 -0
- package/dist/solutions-components/p-25a1fe4d.js +6 -0
- package/dist/solutions-components/p-25c584f4.entry.js +17 -0
- package/dist/solutions-components/p-26eb6f09.js +6 -0
- package/dist/solutions-components/p-274cad02.entry.js +6 -0
- package/dist/solutions-components/p-2ab773ed.js +6 -0
- package/dist/solutions-components/p-2c423f9c.js +6 -0
- package/dist/solutions-components/p-2cff27c5.js +22 -0
- package/dist/solutions-components/p-2d1afda0.entry.js +17 -0
- package/dist/solutions-components/p-2ed8e994.entry.js +17 -0
- package/dist/solutions-components/p-3110db7a.entry.js +6 -0
- package/dist/solutions-components/p-31f7dd8e.entry.js +6 -0
- package/dist/solutions-components/p-32be7387.js +6 -0
- package/dist/solutions-components/p-336b8f46.js +6 -0
- package/dist/solutions-components/p-371dbb0f.entry.js +6 -0
- package/dist/solutions-components/p-388725c2.entry.js +6 -0
- package/dist/solutions-components/p-3917c6f8.entry.js +11 -0
- package/dist/solutions-components/p-3a74aab6.entry.js +6 -0
- package/dist/solutions-components/p-3c1945a9.js +6 -0
- package/dist/solutions-components/p-3d0666fe.js +6 -0
- package/dist/solutions-components/p-3d6b18ec.entry.js +11 -0
- package/dist/solutions-components/p-3df511e0.entry.js +6 -0
- package/dist/solutions-components/p-3eff6da3.js +11 -0
- package/dist/solutions-components/p-3f9238e9.entry.js +11 -0
- package/dist/solutions-components/p-40724bfb.js +11 -0
- package/dist/solutions-components/p-40d7e510.js +6 -0
- package/dist/solutions-components/p-415cf05e.js +12 -0
- package/dist/solutions-components/p-4216af0e.js +6 -0
- package/dist/solutions-components/p-42a8493c.entry.js +6 -0
- package/dist/solutions-components/p-44240d03.js +18 -0
- package/dist/solutions-components/p-4514dc6f.entry.js +11 -0
- package/dist/solutions-components/p-47f6f996.entry.js +6 -0
- package/dist/solutions-components/p-49118e69.js +6 -0
- package/dist/solutions-components/p-4a0d9efe.entry.js +6 -0
- package/dist/solutions-components/p-4de4fff6.entry.js +6 -0
- package/dist/solutions-components/p-4f06e105.entry.js +11 -0
- package/dist/solutions-components/p-4f074a84.entry.js +11 -0
- package/dist/solutions-components/p-4f474f64.js +6 -0
- package/dist/solutions-components/p-4fc5ab17.js +6 -0
- package/dist/solutions-components/p-51270f04.entry.js +6 -0
- package/dist/solutions-components/p-52576649.entry.js +17 -0
- package/dist/solutions-components/p-534cd147.js +6 -0
- package/dist/solutions-components/p-544cd7fd.entry.js +11 -0
- package/dist/solutions-components/p-56601650.js +11 -0
- package/dist/solutions-components/p-569ccf2c.entry.js +11 -0
- package/dist/solutions-components/p-56b9dc0d.entry.js +11 -0
- package/dist/solutions-components/p-580a4537.js +11 -0
- package/dist/solutions-components/p-58405b19.entry.js +11 -0
- package/dist/solutions-components/p-5c1366f7.entry.js +11 -0
- package/dist/solutions-components/p-5cca7ef7.entry.js +17 -0
- package/dist/solutions-components/p-5dcec135.js +21 -0
- package/dist/solutions-components/p-5ee4ba5c.js +6 -0
- package/dist/solutions-components/p-6070857c.js +6 -0
- package/dist/solutions-components/p-61f47dfa.entry.js +11 -0
- package/dist/solutions-components/p-621e306e.js +6 -0
- package/dist/solutions-components/p-62c6764c.js +6 -0
- package/dist/solutions-components/p-66be22db.entry.js +11 -0
- package/dist/solutions-components/p-682d053f.entry.js +6 -0
- package/dist/solutions-components/p-68ec5c15.js +17 -0
- package/dist/solutions-components/p-6d6c3d56.js +6 -0
- package/dist/solutions-components/p-6eb37ed2.js +7 -0
- package/dist/solutions-components/p-6f253995.js +61 -0
- package/dist/solutions-components/p-6fb5c228.entry.js +11 -0
- package/dist/solutions-components/p-70b46ea4.js +6 -0
- package/dist/solutions-components/p-712269bc.entry.js +29 -0
- package/dist/solutions-components/p-720a12c0.js +6 -0
- package/dist/solutions-components/p-7324cb9f.js +6 -0
- package/dist/solutions-components/p-7699e80b.js +11 -0
- package/dist/solutions-components/p-7987d73b.entry.js +6 -0
- package/dist/solutions-components/p-7a61d771.entry.js +11 -0
- package/dist/solutions-components/p-7b0b9681.js +6 -0
- package/dist/solutions-components/p-7b68d1ea.js +6 -0
- package/dist/solutions-components/p-7c00971f.js +6 -0
- package/dist/solutions-components/p-7c583516.js +50 -0
- package/dist/solutions-components/p-7ca6f4d5.entry.js +6 -0
- package/dist/solutions-components/p-7d32b6a4.entry.js +11 -0
- package/dist/solutions-components/p-7d484762.entry.js +6 -0
- package/dist/solutions-components/p-7eb5d31a.js +6 -0
- package/dist/solutions-components/p-81790f41.js +6 -0
- package/dist/solutions-components/p-8208ba6c.entry.js +6 -0
- package/dist/solutions-components/p-8241cd35.js +11 -0
- package/dist/solutions-components/p-83786108.js +6 -0
- package/dist/solutions-components/p-84a049f7.entry.js +6 -0
- package/dist/solutions-components/p-8524bacc.js +11 -0
- package/dist/solutions-components/p-86d877d8.entry.js +17 -0
- package/dist/solutions-components/p-89195780.entry.js +29 -0
- package/dist/solutions-components/p-8a177acd.entry.js +11 -0
- package/dist/solutions-components/p-8c2d05c1.js +6 -0
- package/dist/solutions-components/p-8ce7e559.entry.js +11 -0
- package/dist/solutions-components/p-8d576a9a.js +6 -0
- package/dist/solutions-components/p-8df67871.entry.js +11 -0
- package/dist/solutions-components/p-8f07cef3.entry.js +11 -0
- package/dist/solutions-components/p-8f0ee4b0.js +17 -0
- package/dist/solutions-components/p-8f218bfe.entry.js +11 -0
- package/dist/solutions-components/p-900fee65.js +21 -0
- package/dist/solutions-components/p-92baaf77.entry.js +11 -0
- package/dist/solutions-components/p-939bc1b4.js +16 -0
- package/dist/solutions-components/p-93fd86cd.entry.js +6 -0
- package/dist/solutions-components/p-960baebc.entry.js +6 -0
- package/dist/solutions-components/p-969008d8.entry.js +6 -0
- package/dist/solutions-components/p-97331a60.entry.js +12 -0
- package/dist/solutions-components/p-976ad17d.entry.js +6 -0
- package/dist/solutions-components/p-99af3f50.js +6 -0
- package/dist/solutions-components/p-9ab3df4f.js +11 -0
- package/dist/solutions-components/p-9d0528ac.js +6 -0
- package/dist/solutions-components/p-9dc4186e.entry.js +11 -0
- package/dist/solutions-components/p-9ec1aa8c.js +6 -0
- package/dist/solutions-components/p-9f0b8f8b.js +11 -0
- package/dist/solutions-components/p-9f574f86.entry.js +6 -0
- package/dist/solutions-components/p-9f63a45c.js +11 -0
- package/dist/solutions-components/p-9f8b30b5.entry.js +11 -0
- package/dist/solutions-components/p-a0db88ed.js +6 -0
- package/dist/solutions-components/p-a2246051.entry.js +17 -0
- package/dist/solutions-components/p-a432f638.entry.js +6 -0
- package/dist/solutions-components/p-a474882d.js +6 -0
- package/dist/solutions-components/p-a5609b81.js +11 -0
- package/dist/solutions-components/p-a6935ddf.js +6 -0
- package/dist/solutions-components/p-a6aba7d4.entry.js +6 -0
- package/dist/solutions-components/p-a72f5cc6.js +6 -0
- package/dist/solutions-components/p-a84b3d50.js +6 -0
- package/dist/solutions-components/p-a858460b.entry.js +47 -0
- package/dist/solutions-components/p-a94a0072.js +6 -0
- package/dist/solutions-components/p-a957cdd8.entry.js +11 -0
- package/dist/solutions-components/p-aa0ac2d2.js +16 -0
- package/dist/solutions-components/p-aa3140aa.entry.js +6 -0
- package/dist/solutions-components/p-aa71106f.entry.js +11 -0
- package/dist/solutions-components/p-ac52e0ba.js +11 -0
- package/dist/solutions-components/p-acaae81d.js +11 -0
- package/dist/solutions-components/p-aeb86188.js +11 -0
- package/dist/solutions-components/p-afcd5996.js +11 -0
- package/dist/solutions-components/p-b12af1e0.entry.js +17 -0
- package/dist/solutions-components/p-b1bc21ac.js +11 -0
- package/dist/solutions-components/p-b39c5275.js +11 -0
- package/dist/solutions-components/p-b3f2bb6f.js +6 -0
- package/dist/solutions-components/p-b448a7a7.js +6 -0
- package/dist/solutions-components/p-b5963a0f.js +6 -0
- package/dist/solutions-components/p-b7c200a0.entry.js +12 -0
- package/dist/solutions-components/p-b8eee32e.js +6 -0
- package/dist/solutions-components/p-bb9ac684.entry.js +6 -0
- package/dist/solutions-components/p-bc0aaf2f.entry.js +11 -0
- package/dist/solutions-components/p-bc14b643.entry.js +12 -0
- package/dist/solutions-components/p-bc1d8894.js +11 -0
- package/dist/solutions-components/p-bc33d298.js +6 -0
- package/dist/solutions-components/p-bcc79697.js +11 -0
- package/dist/solutions-components/p-beb23ced.entry.js +6 -0
- package/dist/solutions-components/p-bef2141e.entry.js +6 -0
- package/dist/solutions-components/p-bfa395e9.js +6 -0
- package/dist/solutions-components/p-c2964e00.entry.js +11 -0
- package/dist/solutions-components/p-c5e13ebc.js +11 -0
- package/dist/solutions-components/p-c638d28e.js +11 -0
- package/dist/solutions-components/p-c71745d0.entry.js +6 -0
- package/dist/solutions-components/p-c7bfe120.entry.js +6 -0
- package/dist/solutions-components/p-c7e2d3e6.entry.js +6 -0
- package/dist/solutions-components/p-c89f1175.entry.js +11 -0
- package/dist/solutions-components/p-c8b149b8.entry.js +6 -0
- package/dist/solutions-components/p-c911c46d.entry.js +11 -0
- package/dist/solutions-components/p-c9260b4c.entry.js +6 -0
- package/dist/solutions-components/p-c9a45311.entry.js +6 -0
- package/dist/solutions-components/p-ca3430fd.entry.js +21 -0
- package/dist/solutions-components/p-ca65d7ff.entry.js +12 -0
- package/dist/solutions-components/p-cabc6e5c.entry.js +17 -0
- package/dist/solutions-components/p-cb5ddaae.js +6 -0
- package/dist/solutions-components/p-cb5de432.entry.js +11 -0
- package/dist/solutions-components/p-cde8d6e5.entry.js +11 -0
- package/dist/solutions-components/p-d301b8fd.js +6 -0
- package/dist/solutions-components/p-d3453ce8.entry.js +6 -0
- package/dist/solutions-components/p-d4d4b4e3.entry.js +6 -0
- package/dist/solutions-components/p-d4e58347.entry.js +6 -0
- package/dist/solutions-components/p-d52da3ad.js +6 -0
- package/dist/solutions-components/p-d559f79c.js +11 -0
- package/dist/solutions-components/p-d5dae468.js +6 -0
- package/dist/solutions-components/p-d62336e2.entry.js +6 -0
- package/dist/solutions-components/p-d6e62ea2.js +6 -0
- package/dist/solutions-components/p-da713b07.entry.js +6 -0
- package/dist/solutions-components/p-da9cee72.entry.js +11 -0
- package/dist/solutions-components/p-dc58c4da.entry.js +6 -0
- package/dist/solutions-components/p-dc7710b5.js +11 -0
- package/dist/solutions-components/p-dd3530da.entry.js +11 -0
- package/dist/solutions-components/p-de02a060.entry.js +11 -0
- package/dist/solutions-components/p-de197552.js +6 -0
- package/dist/solutions-components/p-df191993.entry.js +11 -0
- package/dist/solutions-components/p-e1917512.js +6 -0
- package/dist/solutions-components/p-e33e07a4.entry.js +11 -0
- package/dist/solutions-components/p-e83d2d34.entry.js +24 -0
- package/dist/solutions-components/p-e98c4f93.js +11 -0
- package/dist/solutions-components/p-ead8696c.js +16 -0
- package/dist/solutions-components/p-ec702c30.entry.js +11 -0
- package/dist/solutions-components/p-ed60dff0.entry.js +11 -0
- package/dist/solutions-components/p-ed7cba2a.entry.js +11 -0
- package/dist/solutions-components/p-ee157540.entry.js +22 -0
- package/dist/solutions-components/p-eeaa122b.entry.js +11 -0
- package/dist/solutions-components/p-ef4f2c1d.entry.js +6 -0
- package/dist/solutions-components/p-f0345689.entry.js +16 -0
- package/dist/solutions-components/p-f067a46c.js +21 -0
- package/dist/solutions-components/p-f25d5c18.entry.js +6 -0
- package/dist/solutions-components/p-f31a44b7.js +11 -0
- package/dist/solutions-components/p-f32f57a3.entry.js +6 -0
- package/dist/solutions-components/p-f47d6a10.entry.js +11 -0
- package/dist/solutions-components/p-f69ca69c.js +6 -0
- package/dist/solutions-components/p-f7d3ef3e.entry.js +6 -0
- package/dist/solutions-components/p-f89104bc.entry.js +6 -0
- package/dist/solutions-components/p-f91ae108.entry.js +6 -0
- package/dist/solutions-components/p-f9393949.entry.js +6 -0
- package/dist/solutions-components/p-fc58da4b.entry.js +6 -0
- package/dist/solutions-components/p-fce978b9.entry.js +6 -0
- package/dist/solutions-components/p-fe6f7734.js +11 -0
- package/dist/solutions-components/p-ff8343ec.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +0 -1
- package/dist/types/components/buffer-tools/buffer-tools.d.ts +0 -2
- package/dist/types/components/card-manager/card-manager.d.ts +0 -1
- package/dist/types/components/consent-manager/consent-manager.d.ts +0 -1
- package/dist/types/components/create-feature/create-feature.d.ts +37 -2
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +0 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +0 -1
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +10 -6
- package/dist/types/components/delete-button/delete-button.d.ts +0 -1
- package/dist/types/components/edit-card/edit-card.d.ts +0 -1
- package/dist/types/components/feature-details/feature-details.d.ts +4 -1
- package/dist/types/components/feature-list/feature-list.d.ts +18 -2
- package/dist/types/components/floor-filter/floor-filter.d.ts +0 -1
- package/dist/types/components/info-card/info-card.d.ts +0 -1
- package/dist/types/components/layer-list/layer-list.d.ts +0 -1
- package/dist/types/components/layer-table/layer-table.d.ts +0 -1
- package/dist/types/components/map-card/map-card.d.ts +0 -1
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +0 -1
- package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +0 -1
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +0 -1
- package/dist/types/components/map-legend/map-legend.d.ts +0 -1
- package/dist/types/components/map-search/map-search.d.ts +0 -1
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +0 -1
- package/dist/types/components/map-tools/map-tools.d.ts +0 -1
- package/dist/types/components/pdf-download/pdf-download.d.ts +0 -1
- package/dist/types/components/public-notification/public-notification.d.ts +0 -1
- package/dist/types/components/refine-selection/refine-selection.d.ts +0 -1
- package/dist/types/components.d.ts +37 -0
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/utils/downloadUtils.d.ts +0 -1
- package/dist/types/utils/interfaces.d.ts +0 -1
- package/dist/types/utils/mapViewUtils.d.ts +0 -1
- package/dist/types/utils/popupUtils.d.ts +0 -1
- package/dist/types/utils/queryUtils.d.ts +0 -1
- package/package.json +11 -11
- package/dist/cjs/ExpandToggle-9cf51aba.js +0 -115
- package/dist/cjs/FloatingArrow-f78d627c.js +0 -48
- package/dist/cjs/Heading-5b274572.js +0 -25
- package/dist/cjs/Validation-a9d22fb7.js +0 -20
- package/dist/cjs/app-globals-62e0da30.js +0 -67
- package/dist/cjs/ar-67bbaacf.js +0 -107
- package/dist/cjs/array-67eea0ed.js +0 -17
- package/dist/cjs/bg-52d767e3.js +0 -85
- package/dist/cjs/browser-02cbd1d9.js +0 -35
- package/dist/cjs/bs-abb7a3ee.js +0 -54
- package/dist/cjs/ca-2618e485.js +0 -74
- package/dist/cjs/calcite-avatar_2.cjs.entry.js +0 -239
- package/dist/cjs/calcite-input-time-picker-be5ad250.js +0 -1863
- package/dist/cjs/common-61b41813.js +0 -37
- package/dist/cjs/component-9d0efa36.js +0 -33
- package/dist/cjs/conditionalSlot-fe01e316.js +0 -54
- package/dist/cjs/config-6a670c0d.js +0 -41
- package/dist/cjs/cs-9566238a.js +0 -150
- package/dist/cjs/da-86f2f759.js +0 -70
- package/dist/cjs/date-163d7302.js +0 -264
- package/dist/cjs/de-at-90927f4b.js +0 -93
- package/dist/cjs/de-ch-7185b180.js +0 -93
- package/dist/cjs/de-e7327417.js +0 -94
- package/dist/cjs/dom-63b93b3b.js +0 -1212
- package/dist/cjs/downloadUtils-b757205e.js +0 -3163
- package/dist/cjs/el-ee1c6246.js +0 -69
- package/dist/cjs/en-au-c245e1fa.js +0 -69
- package/dist/cjs/en-ca-44552f66.js +0 -68
- package/dist/cjs/en-gb-cf4bdbbf.js +0 -72
- package/dist/cjs/es-e27b3455.js +0 -69
- package/dist/cjs/es-mx-d5455d49.js +0 -68
- package/dist/cjs/et-521fe75e.js +0 -95
- package/dist/cjs/fi-ba5f1240.js +0 -118
- package/dist/cjs/filter-adc5c5aa.js +0 -778
- package/dist/cjs/floating-ui-1ef64f13.js +0 -2362
- package/dist/cjs/focusTrapComponent-1881eaf7.js +0 -1018
- package/dist/cjs/form-4c0bbbe5.js +0 -381
- package/dist/cjs/fr-014e6869.js +0 -71
- package/dist/cjs/fr-ch-9174a431.js +0 -69
- package/dist/cjs/guid-4bc1bc0f.js +0 -26
- package/dist/cjs/he-ac6a1230.js +0 -108
- package/dist/cjs/helpers-1deec961.js +0 -940
- package/dist/cjs/hi-b605b081.js +0 -68
- package/dist/cjs/hr-1f50021e.js +0 -83
- package/dist/cjs/hu-0dbb012b.js +0 -91
- package/dist/cjs/id-be5cad02.js +0 -69
- package/dist/cjs/index-696e53e6.js +0 -1756
- package/dist/cjs/index-a0cca96e.js +0 -201
- package/dist/cjs/index-c0ee2715.js +0 -206
- package/dist/cjs/index.es-6c8b7d64.js +0 -11317
- package/dist/cjs/input-2d5a669d.js +0 -60
- package/dist/cjs/interactive-272b8484.js +0 -169
- package/dist/cjs/it-2d267c40.js +0 -69
- package/dist/cjs/it-ch-7e63ab0d.js +0 -69
- package/dist/cjs/ja-f84367c9.js +0 -75
- package/dist/cjs/key-e4dd32ff.js +0 -19
- package/dist/cjs/ko-3b4ea66e.js +0 -75
- package/dist/cjs/label-afda7da7.js +0 -186
- package/dist/cjs/languageSwitcher-dc2dd354.js +0 -60
- package/dist/cjs/loadable-ef8f0acf.js +0 -98
- package/dist/cjs/locale-428354f0.js +0 -584
- package/dist/cjs/locale-4e7fe921.js +0 -160
- package/dist/cjs/logger-bb2cd9dd.js +0 -61
- package/dist/cjs/lt-52ddc840.js +0 -100
- package/dist/cjs/lv-646b5876.js +0 -69
- package/dist/cjs/math-8677dfd7.js +0 -60
- package/dist/cjs/mk-bfa4f151.js +0 -69
- package/dist/cjs/nb-8d337597.js +0 -70
- package/dist/cjs/nl-da233a0d.js +0 -70
- package/dist/cjs/observers-3440c668.js +0 -58
- package/dist/cjs/openCloseComponent-f9bf524b.js +0 -65
- package/dist/cjs/pl-596b9933.js +0 -117
- package/dist/cjs/popupUtils-2b5ec788.js +0 -121
- package/dist/cjs/pt-bc779aca.js +0 -70
- package/dist/cjs/pt-br-ab04f8b9.js +0 -68
- package/dist/cjs/publicNotificationStore-8d2558c6.js +0 -47
- package/dist/cjs/resources-2f7b1adf.js +0 -23
- package/dist/cjs/resources-361aeee1.js +0 -68
- package/dist/cjs/resources-388b6f7e.js +0 -29
- package/dist/cjs/resources-6ed4d812.js +0 -39
- package/dist/cjs/resources-8556a9ce.js +0 -39
- package/dist/cjs/resources-91cff82d.js +0 -21
- package/dist/cjs/resources-a88c66ba.js +0 -26
- package/dist/cjs/resources-cb7b739c.js +0 -63
- package/dist/cjs/resources-e3034d0f.js +0 -27
- package/dist/cjs/resources-ea500edf.js +0 -23
- package/dist/cjs/restHelpersGet-bf484fda.js +0 -979
- package/dist/cjs/ro-8e73fabd.js +0 -69
- package/dist/cjs/ru-a9cf0c93.js +0 -129
- package/dist/cjs/shared-list-render-8da9f754.js +0 -361
- package/dist/cjs/sk-f23f0865.js +0 -151
- package/dist/cjs/sl-66cee3ca.js +0 -171
- package/dist/cjs/solution-resource-57cf345b.js +0 -1843
- package/dist/cjs/solution-store-71bb46fa.js +0 -1360
- package/dist/cjs/sortableComponent-842b0585.js +0 -2748
- package/dist/cjs/sr-f6958417.js +0 -104
- package/dist/cjs/sv-b6f30578.js +0 -74
- package/dist/cjs/t9n-e5fb720b.js +0 -108
- package/dist/cjs/templates-e4b98319.js +0 -407
- package/dist/cjs/th-7266bbe1.js +0 -68
- package/dist/cjs/time-35e40020.js +0 -301
- package/dist/cjs/tr-0ca37955.js +0 -69
- package/dist/cjs/uk-84db760b.js +0 -107
- package/dist/cjs/utils-3f254442.js +0 -72
- package/dist/cjs/utils-42df996f.js +0 -2304
- package/dist/cjs/utils-b43fe04f.js +0 -130
- package/dist/cjs/vi-c9c7a4bc.js +0 -73
- package/dist/cjs/zh-cn-c1bd1cac.js +0 -97
- package/dist/cjs/zh-hk-80a1b071.js +0 -95
- package/dist/cjs/zh-tw-b1d0baea.js +0 -95
- package/dist/esm/ExpandToggle-0a6958eb.js +0 -108
- package/dist/esm/FloatingArrow-3593832a.js +0 -46
- package/dist/esm/Heading-dcf63f4d.js +0 -22
- package/dist/esm/Validation-8ddc15e3.js +0 -18
- package/dist/esm/app-globals-e3c6f3f0.js +0 -65
- package/dist/esm/ar-ad19e823.js +0 -105
- package/dist/esm/array-5ce54fce.js +0 -15
- package/dist/esm/bg-d39d00d4.js +0 -83
- package/dist/esm/browser-8c71dd57.js +0 -32
- package/dist/esm/bs-5578d068.js +0 -52
- package/dist/esm/ca-50d49800.js +0 -72
- package/dist/esm/calcite-avatar_2.entry.js +0 -234
- package/dist/esm/calcite-input-time-picker-48568b36.js +0 -1860
- package/dist/esm/common-1618d62f.js +0 -35
- package/dist/esm/component-e3f05da5.js +0 -30
- package/dist/esm/conditionalSlot-33053690.js +0 -51
- package/dist/esm/config-6d8fa5c8.js +0 -37
- package/dist/esm/cs-c01bc02b.js +0 -148
- package/dist/esm/da-30f1c62d.js +0 -68
- package/dist/esm/date-1f2a59fd.js +0 -248
- package/dist/esm/de-at-8b651f1b.js +0 -91
- package/dist/esm/de-ch-16f901cb.js +0 -91
- package/dist/esm/de-f3ff49fe.js +0 -92
- package/dist/esm/dom-982585e7.js +0 -1177
- package/dist/esm/downloadUtils-16c51b10.js +0 -3156
- package/dist/esm/el-3cc5361f.js +0 -67
- package/dist/esm/en-au-5e1ae1c6.js +0 -67
- package/dist/esm/en-ca-eca7afe3.js +0 -66
- package/dist/esm/en-gb-d41a41f9.js +0 -70
- package/dist/esm/es-3119bf5f.js +0 -67
- package/dist/esm/es-mx-765f73cd.js +0 -66
- package/dist/esm/et-524d60ab.js +0 -93
- package/dist/esm/fi-103b9c33.js +0 -116
- package/dist/esm/filter-4fc9cd19.js +0 -775
- package/dist/esm/floating-ui-28a86be6.js +0 -2354
- package/dist/esm/focusTrapComponent-2dc61826.js +0 -1013
- package/dist/esm/form-9827fc54.js +0 -372
- package/dist/esm/fr-a0f46db0.js +0 -69
- package/dist/esm/fr-ch-d4198d14.js +0 -67
- package/dist/esm/guid-5c959cfd.js +0 -24
- package/dist/esm/he-88cc49d1.js +0 -106
- package/dist/esm/helpers-2298687e.js +0 -913
- package/dist/esm/hi-3fb3aeaf.js +0 -66
- package/dist/esm/hr-30bc6bf7.js +0 -81
- package/dist/esm/hu-ca65e08b.js +0 -89
- package/dist/esm/id-4c1eee8c.js +0 -67
- package/dist/esm/index-1dc14abf.js +0 -199
- package/dist/esm/index-d8ff08ed.js +0 -204
- package/dist/esm/index-e3f04fa1.js +0 -1722
- package/dist/esm/index.es-d950915a.js +0 -11230
- package/dist/esm/input-bf439d4b.js +0 -58
- package/dist/esm/interactive-1d03c7ff.js +0 -164
- package/dist/esm/it-4cb0e1d5.js +0 -67
- package/dist/esm/it-ch-4de1f33e.js +0 -67
- package/dist/esm/ja-2d531f7b.js +0 -73
- package/dist/esm/key-7f394a98.js +0 -16
- package/dist/esm/ko-1d957d12.js +0 -73
- package/dist/esm/label-38802319.js +0 -179
- package/dist/esm/languageSwitcher-9db90f1e.js +0 -57
- package/dist/esm/loadable-869378d9.js +0 -93
- package/dist/esm/locale-53748f98.js +0 -571
- package/dist/esm/locale-7162b55a.js +0 -155
- package/dist/esm/logger-c6b14fe1.js +0 -59
- package/dist/esm/lt-d09d3afe.js +0 -98
- package/dist/esm/lv-09f370a6.js +0 -67
- package/dist/esm/math-dbb62ccf.js +0 -54
- package/dist/esm/mk-f19a0976.js +0 -67
- package/dist/esm/nb-458b5aed.js +0 -68
- package/dist/esm/nl-f3c1e8a1.js +0 -68
- package/dist/esm/observers-0f4a5f9e.js +0 -56
- package/dist/esm/openCloseComponent-f118bfc5.js +0 -63
- package/dist/esm/pl-f9862e9b.js +0 -115
- package/dist/esm/popupUtils-44f11275.js +0 -119
- package/dist/esm/pt-4e37d6f8.js +0 -68
- package/dist/esm/pt-br-30daca3c.js +0 -66
- package/dist/esm/publicNotificationStore-065c7136.js +0 -45
- package/dist/esm/resources-098ed485.js +0 -62
- package/dist/esm/resources-0bf41f5d.js +0 -20
- package/dist/esm/resources-124c42d1.js +0 -35
- package/dist/esm/resources-27689859.js +0 -21
- package/dist/esm/resources-3bc82696.js +0 -34
- package/dist/esm/resources-84590a8e.js +0 -24
- package/dist/esm/resources-98bf974e.js +0 -59
- package/dist/esm/resources-a4ff051c.js +0 -23
- package/dist/esm/resources-af396281.js +0 -22
- package/dist/esm/resources-cdba986a.js +0 -19
- package/dist/esm/restHelpersGet-0a15c2f4.js +0 -964
- package/dist/esm/ro-a83cfcaa.js +0 -67
- package/dist/esm/ru-bb2c629b.js +0 -127
- package/dist/esm/shared-list-render-d8c49a1f.js +0 -339
- package/dist/esm/sk-4cc2af3f.js +0 -149
- package/dist/esm/sl-0df8c942.js +0 -169
- package/dist/esm/solution-resource-ab63a236.js +0 -1840
- package/dist/esm/solution-store-e2690620.js +0 -1358
- package/dist/esm/sortableComponent-173802fd.js +0 -2745
- package/dist/esm/sr-8d0e01f0.js +0 -102
- package/dist/esm/sv-8971f2c2.js +0 -72
- package/dist/esm/t9n-5371b7ab.js +0 -103
- package/dist/esm/templates-9556eb87.js +0 -401
- package/dist/esm/th-32517448.js +0 -66
- package/dist/esm/time-2996215a.js +0 -286
- package/dist/esm/tr-42c9ac73.js +0 -67
- package/dist/esm/uk-d1b99329.js +0 -105
- package/dist/esm/utils-178e7afe.js +0 -121
- package/dist/esm/utils-67264f4a.js +0 -2274
- package/dist/esm/utils-ac0f19ea.js +0 -60
- package/dist/esm/vi-c6ff5a39.js +0 -71
- package/dist/esm/zh-cn-973d18ea.js +0 -95
- package/dist/esm/zh-hk-6fc51e3d.js +0 -93
- package/dist/esm/zh-tw-4e1d2a6a.js +0 -93
- package/dist/solutions-components/p-00b26aac.js +0 -21
- package/dist/solutions-components/p-016e190c.entry.js +0 -6
- package/dist/solutions-components/p-021da1d4.js +0 -6
- package/dist/solutions-components/p-02c4127b.entry.js +0 -17
- package/dist/solutions-components/p-071a9f50.entry.js +0 -11
- package/dist/solutions-components/p-09ded315.js +0 -6
- package/dist/solutions-components/p-0a877c91.entry.js +0 -11
- package/dist/solutions-components/p-0abc1354.entry.js +0 -6
- package/dist/solutions-components/p-0ae5f8fe.js +0 -11
- package/dist/solutions-components/p-0d654053.entry.js +0 -11
- package/dist/solutions-components/p-0dcb7d0c.js +0 -6
- package/dist/solutions-components/p-0f7b5d36.entry.js +0 -6
- package/dist/solutions-components/p-0fb2abfe.js +0 -6
- package/dist/solutions-components/p-0feb3e7f.js +0 -6
- package/dist/solutions-components/p-11f138bf.entry.js +0 -6
- package/dist/solutions-components/p-122a81b5.js +0 -21
- package/dist/solutions-components/p-1452f846.js +0 -6
- package/dist/solutions-components/p-1628325d.entry.js +0 -17
- package/dist/solutions-components/p-16ae29b6.entry.js +0 -11
- package/dist/solutions-components/p-16d69510.js +0 -16
- package/dist/solutions-components/p-1867168b.entry.js +0 -6
- package/dist/solutions-components/p-1904654e.js +0 -6
- package/dist/solutions-components/p-1931eae1.entry.js +0 -11
- package/dist/solutions-components/p-1a634d43.js +0 -6
- package/dist/solutions-components/p-1b64ce16.js +0 -6
- package/dist/solutions-components/p-1c785e3a.js +0 -6
- package/dist/solutions-components/p-1cae39b3.js +0 -6
- package/dist/solutions-components/p-1d229886.js +0 -16
- package/dist/solutions-components/p-1ddef837.entry.js +0 -12
- package/dist/solutions-components/p-1ee635a2.entry.js +0 -6
- package/dist/solutions-components/p-20c465e9.entry.js +0 -21
- package/dist/solutions-components/p-210588d0.entry.js +0 -6
- package/dist/solutions-components/p-210d75fe.js +0 -18
- package/dist/solutions-components/p-2162a9d3.js +0 -11
- package/dist/solutions-components/p-22d81e03.js +0 -11
- package/dist/solutions-components/p-2327029a.js +0 -11
- package/dist/solutions-components/p-23f5aa20.entry.js +0 -6
- package/dist/solutions-components/p-24b3aedc.entry.js +0 -6
- package/dist/solutions-components/p-24fab352.js +0 -6
- package/dist/solutions-components/p-259ce172.js +0 -6
- package/dist/solutions-components/p-262e91ea.js +0 -11
- package/dist/solutions-components/p-274c182a.entry.js +0 -6
- package/dist/solutions-components/p-29984000.js +0 -6
- package/dist/solutions-components/p-2b21f196.js +0 -6
- package/dist/solutions-components/p-2d01b83d.entry.js +0 -11
- package/dist/solutions-components/p-2e8a428a.entry.js +0 -11
- package/dist/solutions-components/p-2eb8993c.entry.js +0 -11
- package/dist/solutions-components/p-2f08fd73.js +0 -16
- package/dist/solutions-components/p-2f2118a7.entry.js +0 -11
- package/dist/solutions-components/p-2fa78dd8.js +0 -21
- package/dist/solutions-components/p-2fc63144.js +0 -6
- package/dist/solutions-components/p-31f602c0.js +0 -11
- package/dist/solutions-components/p-32ded6e5.entry.js +0 -6
- package/dist/solutions-components/p-33447b6f.js +0 -11
- package/dist/solutions-components/p-3438cbc4.entry.js +0 -6
- package/dist/solutions-components/p-34a9bd5d.entry.js +0 -11
- package/dist/solutions-components/p-36b50b5b.entry.js +0 -12
- package/dist/solutions-components/p-376e8412.js +0 -11
- package/dist/solutions-components/p-38cfa3cd.entry.js +0 -6
- package/dist/solutions-components/p-392c6cec.entry.js +0 -6
- package/dist/solutions-components/p-39ae36e9.js +0 -6
- package/dist/solutions-components/p-3b0859ac.entry.js +0 -6
- package/dist/solutions-components/p-3b4170e9.entry.js +0 -22
- package/dist/solutions-components/p-3cc9861e.entry.js +0 -17
- package/dist/solutions-components/p-3e909ad8.entry.js +0 -11
- package/dist/solutions-components/p-3fcbaab8.js +0 -11
- package/dist/solutions-components/p-407d22c9.entry.js +0 -11
- package/dist/solutions-components/p-4250bde1.js +0 -11
- package/dist/solutions-components/p-425a1dab.entry.js +0 -6
- package/dist/solutions-components/p-440c2d17.js +0 -11
- package/dist/solutions-components/p-44194734.js +0 -6
- package/dist/solutions-components/p-445213cf.entry.js +0 -47
- package/dist/solutions-components/p-482948c4.entry.js +0 -17
- package/dist/solutions-components/p-4848b48f.entry.js +0 -6
- package/dist/solutions-components/p-4a5f0a97.entry.js +0 -17
- package/dist/solutions-components/p-4b03ad1e.js +0 -6
- package/dist/solutions-components/p-4b3cc01f.js +0 -489
- package/dist/solutions-components/p-4d8ac736.entry.js +0 -6
- package/dist/solutions-components/p-57262e5a.js +0 -6
- package/dist/solutions-components/p-5835b3f4.entry.js +0 -11
- package/dist/solutions-components/p-583ecbf6.js +0 -11
- package/dist/solutions-components/p-595ec807.entry.js +0 -11
- package/dist/solutions-components/p-5b818d29.entry.js +0 -6
- package/dist/solutions-components/p-5d201016.entry.js +0 -6
- package/dist/solutions-components/p-5df3d135.js +0 -16
- package/dist/solutions-components/p-5df4b021.entry.js +0 -11
- package/dist/solutions-components/p-60a80c7f.entry.js +0 -29
- package/dist/solutions-components/p-60efb594.entry.js +0 -11
- package/dist/solutions-components/p-618bafec.entry.js +0 -21
- package/dist/solutions-components/p-62050072.js +0 -6
- package/dist/solutions-components/p-62414b49.js +0 -6
- package/dist/solutions-components/p-626b6acd.js +0 -6
- package/dist/solutions-components/p-66daf5ec.entry.js +0 -17
- package/dist/solutions-components/p-680ed47d.js +0 -6
- package/dist/solutions-components/p-681fbb6e.js +0 -6
- package/dist/solutions-components/p-687e9081.entry.js +0 -11
- package/dist/solutions-components/p-69cfa9e6.entry.js +0 -6
- package/dist/solutions-components/p-6a66d5a9.entry.js +0 -6
- package/dist/solutions-components/p-6b0ecd98.entry.js +0 -11
- package/dist/solutions-components/p-6b30ca36.entry.js +0 -6
- package/dist/solutions-components/p-6b64edcd.js +0 -6
- package/dist/solutions-components/p-6c11b89e.js +0 -6
- package/dist/solutions-components/p-6d030079.js +0 -6
- package/dist/solutions-components/p-6d04189c.entry.js +0 -6
- package/dist/solutions-components/p-6de944af.entry.js +0 -6
- package/dist/solutions-components/p-70a52e62.entry.js +0 -11
- package/dist/solutions-components/p-70b4e46f.js +0 -11
- package/dist/solutions-components/p-71a2d5b8.entry.js +0 -6
- package/dist/solutions-components/p-73a1e1b9.js +0 -6
- package/dist/solutions-components/p-73ae4b9b.js +0 -11
- package/dist/solutions-components/p-756a5a7f.entry.js +0 -12
- package/dist/solutions-components/p-762eab84.js +0 -6
- package/dist/solutions-components/p-77548c28.entry.js +0 -11
- package/dist/solutions-components/p-77fa776e.entry.js +0 -11
- package/dist/solutions-components/p-78712b70.entry.js +0 -6
- package/dist/solutions-components/p-78c82389.js +0 -6
- package/dist/solutions-components/p-79fd09fa.js +0 -6
- package/dist/solutions-components/p-7a2f9e5b.entry.js +0 -16
- package/dist/solutions-components/p-7a326ee8.entry.js +0 -11
- package/dist/solutions-components/p-7a64b026.entry.js +0 -17
- package/dist/solutions-components/p-7bdef5f5.entry.js +0 -11
- package/dist/solutions-components/p-7c585a72.js +0 -11
- package/dist/solutions-components/p-7d514d7f.entry.js +0 -6
- package/dist/solutions-components/p-7e7ddb11.js +0 -6
- package/dist/solutions-components/p-7ed62b29.js +0 -6
- package/dist/solutions-components/p-8428237a.entry.js +0 -11
- package/dist/solutions-components/p-84478793.js +0 -11
- package/dist/solutions-components/p-8448b98b.js +0 -17
- package/dist/solutions-components/p-85c25564.entry.js +0 -6
- package/dist/solutions-components/p-86660809.js +0 -6
- package/dist/solutions-components/p-86e6b5b3.entry.js +0 -6
- package/dist/solutions-components/p-88b55caa.entry.js +0 -6
- package/dist/solutions-components/p-8904675a.entry.js +0 -11
- package/dist/solutions-components/p-8a6fa619.entry.js +0 -6
- package/dist/solutions-components/p-8a9257ec.entry.js +0 -11
- package/dist/solutions-components/p-8b922152.js +0 -6
- package/dist/solutions-components/p-8ce3d9f3.entry.js +0 -11
- package/dist/solutions-components/p-8d7479ec.entry.js +0 -6
- package/dist/solutions-components/p-8e8b92b4.entry.js +0 -6
- package/dist/solutions-components/p-8ea95c9f.entry.js +0 -11
- package/dist/solutions-components/p-8f3af937.entry.js +0 -24
- package/dist/solutions-components/p-8fb95f9a.entry.js +0 -17
- package/dist/solutions-components/p-90372205.entry.js +0 -11
- package/dist/solutions-components/p-90d6755b.js +0 -61
- package/dist/solutions-components/p-90dd8aec.js +0 -11
- package/dist/solutions-components/p-913413c3.entry.js +0 -6
- package/dist/solutions-components/p-932f22b5.entry.js +0 -6
- package/dist/solutions-components/p-93a86792.entry.js +0 -11
- package/dist/solutions-components/p-947ef2fa.entry.js +0 -6
- package/dist/solutions-components/p-94b118d5.js +0 -6
- package/dist/solutions-components/p-94f68938.js +0 -6
- package/dist/solutions-components/p-9779be82.js +0 -6
- package/dist/solutions-components/p-988fc332.entry.js +0 -11
- package/dist/solutions-components/p-998933e7.entry.js +0 -6
- package/dist/solutions-components/p-9a2ab5bc.js +0 -11
- package/dist/solutions-components/p-9a46618c.entry.js +0 -6
- package/dist/solutions-components/p-a091bc9a.js +0 -6
- package/dist/solutions-components/p-a22b8cc1.entry.js +0 -6
- package/dist/solutions-components/p-a3544947.entry.js +0 -11
- package/dist/solutions-components/p-a3e66f8e.entry.js +0 -11
- package/dist/solutions-components/p-a432be00.js +0 -6
- package/dist/solutions-components/p-a72fd9b4.js +0 -6
- package/dist/solutions-components/p-a860f365.js +0 -144
- package/dist/solutions-components/p-a8e556aa.js +0 -11
- package/dist/solutions-components/p-a8e6463b.js +0 -22
- package/dist/solutions-components/p-abc9e858.entry.js +0 -6
- package/dist/solutions-components/p-add49b80.entry.js +0 -23
- package/dist/solutions-components/p-af3a9822.js +0 -6
- package/dist/solutions-components/p-b05b7f3e.entry.js +0 -11
- package/dist/solutions-components/p-b0609d19.entry.js +0 -11
- package/dist/solutions-components/p-b06ae708.js +0 -6
- package/dist/solutions-components/p-b19ca04e.entry.js +0 -6
- package/dist/solutions-components/p-b1c71e50.js +0 -11
- package/dist/solutions-components/p-b470a429.js +0 -6
- package/dist/solutions-components/p-b4f06fe2.entry.js +0 -11
- package/dist/solutions-components/p-b850796d.entry.js +0 -6
- package/dist/solutions-components/p-badcaf04.js +0 -50
- package/dist/solutions-components/p-bb3ce613.js +0 -11
- package/dist/solutions-components/p-bebd4646.entry.js +0 -6
- package/dist/solutions-components/p-c2bafa94.entry.js +0 -6
- package/dist/solutions-components/p-c4d3790a.entry.js +0 -6
- package/dist/solutions-components/p-c5897e36.js +0 -11
- package/dist/solutions-components/p-c5d15c91.js +0 -11
- package/dist/solutions-components/p-c5f22510.js +0 -11
- package/dist/solutions-components/p-c6473b38.entry.js +0 -6
- package/dist/solutions-components/p-c6f8bc28.js +0 -6
- package/dist/solutions-components/p-c7c0c863.entry.js +0 -11
- package/dist/solutions-components/p-c8a8591b.entry.js +0 -11
- package/dist/solutions-components/p-c9fc3253.js +0 -6
- package/dist/solutions-components/p-ca42f3d3.js +0 -11
- package/dist/solutions-components/p-cc092b22.entry.js +0 -6
- package/dist/solutions-components/p-ccba7d93.js +0 -6
- package/dist/solutions-components/p-cd4d69c1.js +0 -11
- package/dist/solutions-components/p-ce454f5a.entry.js +0 -11
- package/dist/solutions-components/p-cf754ff5.js +0 -11
- package/dist/solutions-components/p-cfca5772.js +0 -11
- package/dist/solutions-components/p-d0ff7db8.js +0 -6
- package/dist/solutions-components/p-d34e12f4.entry.js +0 -11
- package/dist/solutions-components/p-d4e3e979.js +0 -11
- package/dist/solutions-components/p-d655a7a2.entry.js +0 -6
- package/dist/solutions-components/p-d7868dd4.js +0 -36
- package/dist/solutions-components/p-d7ee860a.js +0 -11
- package/dist/solutions-components/p-d8047d8f.entry.js +0 -6
- package/dist/solutions-components/p-d98d3d33.js +0 -6
- package/dist/solutions-components/p-da2d0073.entry.js +0 -6
- package/dist/solutions-components/p-da9fc69b.entry.js +0 -11
- package/dist/solutions-components/p-dc17b638.entry.js +0 -6
- package/dist/solutions-components/p-dcc35070.js +0 -6
- package/dist/solutions-components/p-e1f30753.entry.js +0 -11
- package/dist/solutions-components/p-e21efd7d.js +0 -11
- package/dist/solutions-components/p-e2f3674f.entry.js +0 -11
- package/dist/solutions-components/p-e4767cc4.entry.js +0 -11
- package/dist/solutions-components/p-e8bd5b44.entry.js +0 -11
- package/dist/solutions-components/p-ec561560.js +0 -12
- package/dist/solutions-components/p-ed95c75e.js +0 -11
- package/dist/solutions-components/p-edd70ba3.entry.js +0 -6
- package/dist/solutions-components/p-ee056d26.js +0 -17
- package/dist/solutions-components/p-ee0a512f.entry.js +0 -6
- package/dist/solutions-components/p-eefcb751.entry.js +0 -6
- package/dist/solutions-components/p-ef6567ae.entry.js +0 -6
- package/dist/solutions-components/p-f012ccbb.js +0 -11
- package/dist/solutions-components/p-f021c564.js +0 -6
- package/dist/solutions-components/p-f12a94e6.entry.js +0 -29
- package/dist/solutions-components/p-f39f661e.entry.js +0 -11
- package/dist/solutions-components/p-f3e54df7.entry.js +0 -6
- package/dist/solutions-components/p-f4c4a2b7.js +0 -7
- package/dist/solutions-components/p-f83c0ef6.js +0 -11
- package/dist/solutions-components/p-fbeba590.entry.js +0 -11
- package/dist/solutions-components/p-fc02896c.entry.js +0 -6
- package/dist/solutions-components/p-fc474b33.js +0 -6
- package/dist/solutions-components/p-fcfbd587.js +0 -6
- package/dist/solutions-components/p-fdf4caad.js +0 -11
- package/dist/solutions-components/p-fe43ec31.entry.js +0 -16
- package/dist/solutions-components/p-ffbecb75.js +0 -6
- /package/dist/cjs/{index-4c1b0d3c.js → index-04255c05.js} +0 -0
- /package/dist/{esm/index-5110a27a.js → components/index7.js} +0 -0
- /package/dist/solutions-components/{p-9fe07c30.js → p-659678f1.js} +0 -0
- /package/dist/solutions-components/{p-74062e42.js → p-fc17754b.js} +0 -0
@@ -0,0 +1,913 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { l as loadModules } from './loadModules-03ba7abe.js';
|
7
|
+
import { c as createStore } from './index-2c724afd.js';
|
8
|
+
|
9
|
+
async function getMergedEffect(presetLayerEffect, featureLayerView, type) {
|
10
|
+
const [jsonUtils] = await loadModules(['esri/layers/effects/jsonUtils']);
|
11
|
+
const { toJSON, fromJSON } = jsonUtils;
|
12
|
+
const layer = featureLayerView === null || featureLayerView === void 0 ? void 0 : featureLayerView.layer;
|
13
|
+
if (!presetLayerEffect) {
|
14
|
+
if (layer === null || layer === void 0 ? void 0 : layer.effect) {
|
15
|
+
return layer.effect;
|
16
|
+
}
|
17
|
+
else if (layer === null || layer === void 0 ? void 0 : layer.featureEffect) {
|
18
|
+
return type === 'includedEffect' ? layer.featureEffect.includedEffect : layer.featureEffect.excludedEffect;
|
19
|
+
}
|
20
|
+
else {
|
21
|
+
return null;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
// CONVERT EXISTING EFFECT AND PRESET LAYER EFFECT TO JSON
|
25
|
+
const presetLayerEffectJSON = toJSON(presetLayerEffect);
|
26
|
+
const layerEffect = layer.effect;
|
27
|
+
const layerFeatureEffect = layer.featureEffect;
|
28
|
+
let existingEffect;
|
29
|
+
if (layerFeatureEffect) {
|
30
|
+
existingEffect = type === 'includedEffect' ? layer.featureEffect.includedEffect : layer.featureEffect.excludedEffect;
|
31
|
+
}
|
32
|
+
else {
|
33
|
+
existingEffect = layerEffect;
|
34
|
+
}
|
35
|
+
const existingEffectJSON = existingEffect ? toJSON(existingEffect) : null;
|
36
|
+
// RETURN PRESET LAYER EFFECT IF THERE ARE NO EXISTING EFFECTS
|
37
|
+
if (!existingEffectJSON) {
|
38
|
+
return fromJSON(presetLayerEffectJSON);
|
39
|
+
}
|
40
|
+
let effectToUse = [...existingEffectJSON];
|
41
|
+
if (presetLayerEffectJSON) {
|
42
|
+
// ITERATE THROUGH PRESET LAYER EFFECT JSON
|
43
|
+
presetLayerEffectJSON.forEach(presetLayerEffectItem => {
|
44
|
+
// ITERATE THROUGH EXISTING EFFECT JSON
|
45
|
+
effectToUse.forEach(existingEffectToUseItem => {
|
46
|
+
const { value } = existingEffectToUseItem;
|
47
|
+
if (value) {
|
48
|
+
// ITERATE THROUGH EXISTING EFFECT JSON VALUES
|
49
|
+
value.forEach((effectValue, effectIndex) => {
|
50
|
+
// REPLACE EXISTING EFFECT VALUE IF SAME TYPE IS PRESENT IN PRESET LAYER EFFECT
|
51
|
+
if (effectValue.type === presetLayerEffectItem.type) {
|
52
|
+
value[effectIndex] = presetLayerEffectItem;
|
53
|
+
}
|
54
|
+
// OTHERWISE MODIFY EXISTING EFFECT
|
55
|
+
else {
|
56
|
+
const notMerged = !existingEffectToUseItem.value.find(existingEffectItemToMerge => existingEffectItemToMerge.type === presetLayerEffectJSON[0].type);
|
57
|
+
// CHECK IF PRESET LAYER EFFECT HAS BEEN MERGED, IF NOT YET MERGED APPEND PRESET LAYER EFFECT TO EXISTING EFFECT
|
58
|
+
if (notMerged) {
|
59
|
+
existingEffectToUseItem.value = [...existingEffectToUseItem.value, ...presetLayerEffectJSON];
|
60
|
+
}
|
61
|
+
}
|
62
|
+
});
|
63
|
+
}
|
64
|
+
else {
|
65
|
+
// HANDLE NON SCALE EFFECTS
|
66
|
+
const notMerged = !effectToUse.find(nonScaleEffectToUseItem => nonScaleEffectToUseItem.type === existingEffectToUseItem.type);
|
67
|
+
const presetNotMerged = !effectToUse.find(nonScaleEffectToUseItem => nonScaleEffectToUseItem.type === presetLayerEffectItem.type);
|
68
|
+
if (presetNotMerged) {
|
69
|
+
effectToUse = [...effectToUse, presetLayerEffectItem];
|
70
|
+
}
|
71
|
+
if (notMerged) {
|
72
|
+
effectToUse = [...effectToUse, existingEffectToUseItem];
|
73
|
+
}
|
74
|
+
}
|
75
|
+
});
|
76
|
+
});
|
77
|
+
}
|
78
|
+
const mergedEffect = fromJSON(effectToUse);
|
79
|
+
return mergedEffect;
|
80
|
+
}
|
81
|
+
|
82
|
+
const InteractiveLegendStore = createStore({ data: {}, relationshipRampExpandStates: {} });
|
83
|
+
const interactiveLegendState = InteractiveLegendStore.state;
|
84
|
+
const store = InteractiveLegendStore;
|
85
|
+
|
86
|
+
// data handling
|
87
|
+
function activeLayerInfoCallback(intLegendDataPromises, legendViewModel, reactiveUtils) {
|
88
|
+
return (activeLayerInfo) => {
|
89
|
+
var _a;
|
90
|
+
const aclType = (_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _a === void 0 ? void 0 : _a.type;
|
91
|
+
if (aclType === 'feature' || aclType === 'group') {
|
92
|
+
// Step 3a. Push to promises array since there are promises within function
|
93
|
+
const intLegendDataPromise = createInteractiveLegendDataForLayer(legendViewModel, activeLayerInfo, reactiveUtils).then(res => res);
|
94
|
+
if (intLegendDataPromise) {
|
95
|
+
intLegendDataPromises.push(intLegendDataPromise);
|
96
|
+
}
|
97
|
+
const handleALIChild = (aliChild) => {
|
98
|
+
const intLegendDataPromise = createInteractiveLegendDataForLayer(legendViewModel, aliChild, reactiveUtils).then(res => res);
|
99
|
+
if (intLegendDataPromise) {
|
100
|
+
intLegendDataPromises.push(intLegendDataPromise);
|
101
|
+
}
|
102
|
+
};
|
103
|
+
// Take ACLs children into account
|
104
|
+
activeLayerInfo.children.forEach(child => {
|
105
|
+
var _a;
|
106
|
+
handleALIChild(child);
|
107
|
+
if (((_a = child === null || child === void 0 ? void 0 : child.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
108
|
+
child.children.forEach(innerALIChild => {
|
109
|
+
var _a;
|
110
|
+
handleALIChild(innerALIChild);
|
111
|
+
if (((_a = innerALIChild === null || innerALIChild === void 0 ? void 0 : innerALIChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
112
|
+
innerALIChild.children.forEach(innerInnerALIChild => {
|
113
|
+
handleALIChild(innerInnerALIChild);
|
114
|
+
});
|
115
|
+
}
|
116
|
+
});
|
117
|
+
}
|
118
|
+
});
|
119
|
+
}
|
120
|
+
};
|
121
|
+
}
|
122
|
+
async function createInteractiveLegendDataForLayer(legendViewModel, activeLayerInfo, reactiveUtils) {
|
123
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
124
|
+
try {
|
125
|
+
// Get first Legend Element from Active LayerInfo - only first legend element will be interactive
|
126
|
+
const isGroup = ((_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _a === void 0 ? void 0 : _a.type) === 'group';
|
127
|
+
const someVisible = (_c = (_b = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _b === void 0 ? void 0 : _b.layers) === null || _c === void 0 ? void 0 : _c.some(layer => layer.visible);
|
128
|
+
const noLegendEnabled = (_e = (_d = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _d === void 0 ? void 0 : _d.layers) === null || _e === void 0 ? void 0 : _e.every((layer) => !(layer === null || layer === void 0 ? void 0 : layer.legendEnabled));
|
129
|
+
await reactiveUtils.whenOnce(() => (legendViewModel === null || legendViewModel === void 0 ? void 0 : legendViewModel.state) === 'ready');
|
130
|
+
if (!isGroup || (isGroup && someVisible)) {
|
131
|
+
if (isGroup && noLegendEnabled) {
|
132
|
+
await reactiveUtils.whenOnce(() => { var _a; return (_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _a === void 0 ? void 0 : _a.loaded; });
|
133
|
+
}
|
134
|
+
else {
|
135
|
+
await reactiveUtils.whenOnce(() => activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.ready);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
else {
|
139
|
+
await reactiveUtils.whenOnce(() => activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements);
|
140
|
+
}
|
141
|
+
const legendElement = (_f = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _f === void 0 ? void 0 : _f[0];
|
142
|
+
// Each active layer info will have it's own property in object - we'll use the layer ID to categorize each layer
|
143
|
+
// Hash map for each layers interactive categories i.e. Global power plants, Hydro, Solar, Wind, etc.
|
144
|
+
const categories = new Map();
|
145
|
+
// Layer to access field from it's renderer to be used in expression
|
146
|
+
const fLayer = activeLayerInfo.layer;
|
147
|
+
// Get Feature Layer View to query
|
148
|
+
const fLayerView = await legendViewModel.view.whenLayerView(fLayer);
|
149
|
+
await reactiveUtils.whenOnce(() => (fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.updating) === false);
|
150
|
+
const field = (_g = fLayer.renderer) === null || _g === void 0 ? void 0 : _g.field;
|
151
|
+
if (legendElement !== undefined) {
|
152
|
+
(_h = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _h === void 0 ? void 0 : _h.forEach(legendElementInfo => {
|
153
|
+
var _a;
|
154
|
+
const isNestedUniqueSymbol = legendElementInfo.type === 'symbol-table';
|
155
|
+
if (isNestedUniqueSymbol) {
|
156
|
+
const nestedInfos = [];
|
157
|
+
legendElementInfo.infos.forEach(nestedUniqueSymbolInfo => {
|
158
|
+
const category = {
|
159
|
+
count: null,
|
160
|
+
selected: false,
|
161
|
+
legendElementInfo: nestedUniqueSymbolInfo,
|
162
|
+
};
|
163
|
+
nestedInfos.push(category);
|
164
|
+
});
|
165
|
+
const category = {
|
166
|
+
count: null,
|
167
|
+
selected: false,
|
168
|
+
legendElementInfo,
|
169
|
+
nestedInfos,
|
170
|
+
};
|
171
|
+
categories.set(legendElementInfo.title, category);
|
172
|
+
}
|
173
|
+
else {
|
174
|
+
const category = {
|
175
|
+
count: null,
|
176
|
+
selected: false,
|
177
|
+
legendElementInfo,
|
178
|
+
};
|
179
|
+
categories.set((_a = legendElementInfo.label) !== null && _a !== void 0 ? _a : fLayer.id, category);
|
180
|
+
}
|
181
|
+
});
|
182
|
+
}
|
183
|
+
// Generated expression to apply to layer filters
|
184
|
+
const queryExpressions = [];
|
185
|
+
// Total feature count
|
186
|
+
return Promise.resolve({
|
187
|
+
activeLayerInfo,
|
188
|
+
title: (_j = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _j === void 0 ? void 0 : _j.title,
|
189
|
+
categories,
|
190
|
+
field,
|
191
|
+
queryExpressions,
|
192
|
+
totalCount: null,
|
193
|
+
fLayerView,
|
194
|
+
legendElement,
|
195
|
+
});
|
196
|
+
}
|
197
|
+
catch (_k) {
|
198
|
+
return Promise.resolve(null);
|
199
|
+
}
|
200
|
+
}
|
201
|
+
async function generateData(legendViewModel, reactiveUtils) {
|
202
|
+
// Create data object to return
|
203
|
+
const data = {};
|
204
|
+
// Set up Interactive Legend Data for each layer using it's corresponding active layer info
|
205
|
+
// Array of promises - needed due to queryFeatureCount and whenLayerView calls
|
206
|
+
const intLegendDataPromises = [];
|
207
|
+
// Iterate through each Active Layer Info and create data bucket for each layer
|
208
|
+
legendViewModel.activeLayerInfos.forEach(activeLayerInfoCallback(intLegendDataPromises, legendViewModel, reactiveUtils));
|
209
|
+
// Store resolved data
|
210
|
+
try {
|
211
|
+
const intLegendLayerDataObjs = await Promise.all(intLegendDataPromises);
|
212
|
+
intLegendLayerDataObjs.forEach(intLegendLayerDataObj => { var _a, _b; return (data[(_b = (_a = intLegendLayerDataObj === null || intLegendLayerDataObj === void 0 ? void 0 : intLegendLayerDataObj.activeLayerInfo) === null || _a === void 0 ? void 0 : _a.layer) === null || _b === void 0 ? void 0 : _b.id] = intLegendLayerDataObj); });
|
213
|
+
return Promise.resolve(data);
|
214
|
+
}
|
215
|
+
catch (err) {
|
216
|
+
return Promise.reject(null);
|
217
|
+
}
|
218
|
+
}
|
219
|
+
// data getters
|
220
|
+
function getCategoriesArray(categories) {
|
221
|
+
return Array.from(categories).map((category) => category[1]);
|
222
|
+
}
|
223
|
+
function getCategoryData(data, layer, elementInfo, parentLegendElementInfoData, infoIndex) {
|
224
|
+
var _a, _b, _c;
|
225
|
+
return parentLegendElementInfoData ? (_a = parentLegendElementInfoData === null || parentLegendElementInfoData === void 0 ? void 0 : parentLegendElementInfoData.nestedInfos) === null || _a === void 0 ? void 0 : _a[infoIndex] : (_b = data === null || data === void 0 ? void 0 : data.categories) === null || _b === void 0 ? void 0 : _b.get((_c = elementInfo === null || elementInfo === void 0 ? void 0 : elementInfo.label) !== null && _c !== void 0 ? _c : layer === null || layer === void 0 ? void 0 : layer.id);
|
226
|
+
}
|
227
|
+
function getIntLegendLayerData(fLayer) {
|
228
|
+
var _a;
|
229
|
+
return (_a = interactiveLegendState === null || interactiveLegendState === void 0 ? void 0 : interactiveLegendState.data) === null || _a === void 0 ? void 0 : _a[fLayer === null || fLayer === void 0 ? void 0 : fLayer.id];
|
230
|
+
}
|
231
|
+
// filtering
|
232
|
+
async function handleFilter(data, info, infoIndex, filterMode, parentLegendElementInfo) {
|
233
|
+
var _a, _b, _c, _d, _e;
|
234
|
+
const [FeatureFilter, FeatureEffect] = await loadModules(['esri/layers/support/FeatureFilter', 'esri/layers/support/FeatureEffect']);
|
235
|
+
const { queryExpressions, fLayerView } = data;
|
236
|
+
generateQueryExpressions(data, info, infoIndex, parentLegendElementInfo);
|
237
|
+
const sep = queryExpressions.every(expression => expression && expression.includes('<>')) ? ' AND ' : ' OR ';
|
238
|
+
const where = queryExpressions.join(sep);
|
239
|
+
const timeExtent = (_e = (_b = (_a = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.filter) === null || _a === void 0 ? void 0 : _a.timeExtent) !== null && _b !== void 0 ? _b : (_d = (_c = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.featureEffect) === null || _c === void 0 ? void 0 : _c.filter) === null || _d === void 0 ? void 0 : _d.timeExtent) !== null && _e !== void 0 ? _e : null;
|
240
|
+
const { type } = filterMode;
|
241
|
+
if (type === 'filter') {
|
242
|
+
fLayerView.filter = new FeatureFilter({ where, timeExtent });
|
243
|
+
}
|
244
|
+
else {
|
245
|
+
if (filterMode.effect) {
|
246
|
+
const { includedEffect, excludedEffect } = filterMode.effect;
|
247
|
+
const mergedExcludedEffect = await getMergedEffect(excludedEffect, fLayerView, 'excludedEffect');
|
248
|
+
const mergedIncludedEffect = await getMergedEffect(includedEffect, fLayerView, 'includedEffect');
|
249
|
+
fLayerView.featureEffect = new FeatureEffect({
|
250
|
+
filter: new FeatureFilter({ where, timeExtent }),
|
251
|
+
includedEffect: mergedIncludedEffect,
|
252
|
+
excludedEffect: mergedExcludedEffect,
|
253
|
+
});
|
254
|
+
}
|
255
|
+
}
|
256
|
+
return Promise.resolve();
|
257
|
+
}
|
258
|
+
function handlePredominanceExpression(elementInfo, featureLayerView) {
|
259
|
+
const authoringInfo = featureLayerView ? featureLayerView.layer.renderer.authoringInfo : null;
|
260
|
+
const fields = authoringInfo ? authoringInfo.fields : null;
|
261
|
+
const expressionArr = [];
|
262
|
+
if (!fields) {
|
263
|
+
return '';
|
264
|
+
}
|
265
|
+
if (elementInfo.hasOwnProperty('value')) {
|
266
|
+
fields.forEach(field => {
|
267
|
+
if (elementInfo.value === field) {
|
268
|
+
return;
|
269
|
+
}
|
270
|
+
const sqlQuery = `(${elementInfo.value} > ${field} OR (${field} IS NULL AND ${elementInfo.value} <> 0 AND ${elementInfo.value} IS NOT NULL))`;
|
271
|
+
expressionArr.push(sqlQuery);
|
272
|
+
});
|
273
|
+
return expressionArr.join(' AND ');
|
274
|
+
}
|
275
|
+
else {
|
276
|
+
const queryForZeroes = [];
|
277
|
+
fields.forEach(field => {
|
278
|
+
queryForZeroes.push(`${field} = 0`);
|
279
|
+
});
|
280
|
+
const otherExpression = [];
|
281
|
+
if (fields.length > 2) {
|
282
|
+
fields.forEach(field1 => {
|
283
|
+
fields.forEach(field2 => {
|
284
|
+
if (field1 === field2) {
|
285
|
+
return;
|
286
|
+
}
|
287
|
+
const queryForMultiplePredominance = [];
|
288
|
+
fields.forEach(field3 => {
|
289
|
+
if (field1 === field3 || field2 === field3) {
|
290
|
+
return;
|
291
|
+
}
|
292
|
+
queryForMultiplePredominance.push(`${field1} = ${field2} AND (${field1} > ${field3} OR ${field1} >= ${field3})`);
|
293
|
+
});
|
294
|
+
otherExpression.push(`(${queryForMultiplePredominance.join(' AND ')})`);
|
295
|
+
});
|
296
|
+
});
|
297
|
+
const isNull = [];
|
298
|
+
fields.forEach(field => {
|
299
|
+
isNull.push(`${field} IS NULL`);
|
300
|
+
});
|
301
|
+
const generatedOtherExpression = `(${queryForZeroes.join(' AND ')}) OR (${otherExpression.join(' OR ')}) OR (${isNull.join(' AND ')})`;
|
302
|
+
return generatedOtherExpression;
|
303
|
+
}
|
304
|
+
else {
|
305
|
+
const expressions = [];
|
306
|
+
fields.forEach(field1 => {
|
307
|
+
fields.forEach(field2 => {
|
308
|
+
if (field1 === field2) {
|
309
|
+
return;
|
310
|
+
}
|
311
|
+
expressions.push(`${field1} = ${field2}`);
|
312
|
+
expressions.push(`(${queryForZeroes.join(' AND ')})`);
|
313
|
+
});
|
314
|
+
});
|
315
|
+
const zeroAndNull = [];
|
316
|
+
fields.forEach(field1 => {
|
317
|
+
fields.forEach(field2 => {
|
318
|
+
if (field1 === field2) {
|
319
|
+
return;
|
320
|
+
}
|
321
|
+
zeroAndNull.push(`(${field1} = 0 AND ${field2} IS NULL) OR (${field1} IS NULL AND ${field2} IS NULL)`);
|
322
|
+
});
|
323
|
+
});
|
324
|
+
return `(${expressions.join(' OR ')}) OR (${zeroAndNull.join(' OR ')})`;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
}
|
328
|
+
function generateQueryExpressions(data, info, infoIndex, parentLegendElementInfo) {
|
329
|
+
var _a, _b, _c, _d;
|
330
|
+
const { field, legendElement, categories, fLayerView } = data;
|
331
|
+
const queryExpressions = data === null || data === void 0 ? void 0 : data.queryExpressions;
|
332
|
+
if (parentLegendElementInfo) {
|
333
|
+
const nestedCategories = Array.from(data.categories).map(entry => entry[1]);
|
334
|
+
nestedCategories.forEach(nestedCategory => {
|
335
|
+
var _a, _b;
|
336
|
+
const untouched = (_a = nestedCategory.nestedInfos) === null || _a === void 0 ? void 0 : _a.every(nestedInfo => !nestedInfo.selected);
|
337
|
+
if (untouched) {
|
338
|
+
(_b = nestedCategory.nestedInfos) === null || _b === void 0 ? void 0 : _b.forEach(nestedInfo => {
|
339
|
+
const expression = field ? `${field} = '${nestedInfo.legendElementInfo.value}'` : null;
|
340
|
+
const expressionIndex = expression ? queryExpressions.indexOf(expression) : -1;
|
341
|
+
if (expression && expressionIndex !== -1) {
|
342
|
+
queryExpressions.splice(expressionIndex, 1);
|
343
|
+
}
|
344
|
+
});
|
345
|
+
}
|
346
|
+
});
|
347
|
+
}
|
348
|
+
const legendElementInfos = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos;
|
349
|
+
const isPredominance = checkPredominance(fLayerView);
|
350
|
+
let queryExpression = isPredominance
|
351
|
+
? handlePredominanceExpression(info, fLayerView)
|
352
|
+
: generateQueryExpression(info, field, infoIndex, legendElement, legendElementInfos, '');
|
353
|
+
const category = categories
|
354
|
+
? parentLegendElementInfo
|
355
|
+
? (_b = (_a = categories.get(parentLegendElementInfo.title)) === null || _a === void 0 ? void 0 : _a.nestedInfos) === null || _b === void 0 ? void 0 : _b[infoIndex]
|
356
|
+
: categories.get((_c = info.label) !== null && _c !== void 0 ? _c : (_d = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _d === void 0 ? void 0 : _d.id)
|
357
|
+
: null;
|
358
|
+
if (category)
|
359
|
+
category.selected = !(category === null || category === void 0 ? void 0 : category.selected);
|
360
|
+
const hasOneValue = legendElementInfos && legendElementInfos.length === 1;
|
361
|
+
const expressionIndex = queryExpressions.indexOf(queryExpression);
|
362
|
+
if (isPredominance) {
|
363
|
+
const expressionIndex = queryExpressions.indexOf(queryExpression);
|
364
|
+
if (queryExpressions.length === 0 || expressionIndex === -1) {
|
365
|
+
if (queryExpressions && queryExpressions[0] === '1=0') {
|
366
|
+
queryExpressions.splice(0, 1);
|
367
|
+
}
|
368
|
+
queryExpressions.push(queryExpression);
|
369
|
+
}
|
370
|
+
else if (queryExpressions && queryExpressions.length === 1 && queryExpression === queryExpressions[0]) {
|
371
|
+
queryExpressions[0] = '1=0';
|
372
|
+
}
|
373
|
+
else if (queryExpressions && queryExpressions.length === 1) {
|
374
|
+
queryExpressions[0] = queryExpression;
|
375
|
+
}
|
376
|
+
else if (queryExpressions && queryExpressions.length === 1 && queryExpression !== queryExpressions[0] && queryExpressions[0] === '1=0') {
|
377
|
+
queryExpressions[0] = queryExpression;
|
378
|
+
}
|
379
|
+
else if (queryExpressions && queryExpressions.length === 1 && queryExpression === queryExpressions[0] && queryExpressions[0] === '1=0') {
|
380
|
+
queryExpressions[0] = null;
|
381
|
+
}
|
382
|
+
else {
|
383
|
+
queryExpressions.splice(expressionIndex, 1);
|
384
|
+
}
|
385
|
+
queryExpressions.join(' OR ');
|
386
|
+
}
|
387
|
+
else if (queryExpressions.length === 0 || expressionIndex === -1) {
|
388
|
+
if (queryExpressions && queryExpressions[0] === '1=0') {
|
389
|
+
queryExpressions.splice(0, 1);
|
390
|
+
}
|
391
|
+
queryExpressions.push(queryExpression);
|
392
|
+
}
|
393
|
+
else if (queryExpressions && queryExpressions.length === 1 && queryExpression === queryExpressions[0] && !hasOneValue) {
|
394
|
+
queryExpressions[0] = '1=0';
|
395
|
+
}
|
396
|
+
else if (queryExpressions && queryExpressions.length === 1 && !hasOneValue) {
|
397
|
+
queryExpressions[0] = queryExpression;
|
398
|
+
}
|
399
|
+
else if (queryExpressions && queryExpressions.length === 1 && queryExpression !== queryExpressions[0] && queryExpressions[0] === '1=0' && !hasOneValue) {
|
400
|
+
queryExpressions[0] = queryExpression;
|
401
|
+
}
|
402
|
+
else if (queryExpressions && queryExpressions.length === 1 && queryExpression === queryExpressions[0] && queryExpressions[0] === '1=0' && !hasOneValue) {
|
403
|
+
queryExpressions[0] = null;
|
404
|
+
}
|
405
|
+
else {
|
406
|
+
queryExpressions.splice(expressionIndex, 1);
|
407
|
+
}
|
408
|
+
if (parentLegendElementInfo) {
|
409
|
+
const expressionList = [];
|
410
|
+
const nestedCategories = Array.from(data.categories).map(entry => entry[1]);
|
411
|
+
nestedCategories.forEach(nestedCategory => {
|
412
|
+
var _a, _b;
|
413
|
+
const untouched = (_a = nestedCategory.nestedInfos) === null || _a === void 0 ? void 0 : _a.every(nestedInfo => !nestedInfo.selected);
|
414
|
+
if (untouched) {
|
415
|
+
(_b = nestedCategory.nestedInfos) === null || _b === void 0 ? void 0 : _b.forEach(nestedInfo => {
|
416
|
+
const expression = field ? `${field} = '${nestedInfo.legendElementInfo.value}'` : null;
|
417
|
+
if (expression)
|
418
|
+
expressionList.push(`${field} = '${nestedInfo.legendElementInfo.value}'`);
|
419
|
+
});
|
420
|
+
}
|
421
|
+
});
|
422
|
+
expressionList.forEach(expression => {
|
423
|
+
if (queryExpressions.indexOf(expression) === -1) {
|
424
|
+
queryExpressions.push(expression);
|
425
|
+
}
|
426
|
+
});
|
427
|
+
}
|
428
|
+
}
|
429
|
+
function generateQueryExpression(info, field, infoIndex, legendElement, legendElementInfos, normalizationField) {
|
430
|
+
const { value } = info;
|
431
|
+
if ((legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table') {
|
432
|
+
// Classify data size/color ramp
|
433
|
+
if (!info.hasOwnProperty('value') || (Array.isArray(info.value) && (legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) === 1)) {
|
434
|
+
// Classify data size/color ramp - 'Other' category
|
435
|
+
if ((legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[0].hasOwnProperty('value')) &&
|
436
|
+
Array.isArray(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[0].value) &&
|
437
|
+
(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 2]) &&
|
438
|
+
(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 2].hasOwnProperty('value')) &&
|
439
|
+
Array.isArray(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 2].value)) {
|
440
|
+
const expression = normalizationField
|
441
|
+
? `((${field}/${normalizationField}) > ${legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[0].value[1]}) OR ((${field}/${normalizationField}) < ${legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 2].value[0]}) OR ${normalizationField} = 0 OR ${normalizationField} IS NULL`
|
442
|
+
: `${field} > ${legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[0].value[1]} OR ${field} < ${legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 2].value[0]} OR ${field} IS NULL`;
|
443
|
+
return expression;
|
444
|
+
}
|
445
|
+
else if ((legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) === 1) {
|
446
|
+
return '1=0';
|
447
|
+
}
|
448
|
+
else {
|
449
|
+
// Types unique symbols - 'Other' category
|
450
|
+
const expressionList = [];
|
451
|
+
legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.forEach(legendElementInfo => {
|
452
|
+
if (legendElementInfo === null || legendElementInfo === void 0 ? void 0 : legendElementInfo.value) {
|
453
|
+
const { value } = legendElementInfo;
|
454
|
+
const singleQuote = value.indexOf("'") !== -1 ? value.split("'").join("''") : null;
|
455
|
+
const expression = singleQuote
|
456
|
+
? `${field} <> '${singleQuote}'`
|
457
|
+
: isNaN(value) || (typeof value === 'string' && !value.trim())
|
458
|
+
? `${field} <> '${value}'`
|
459
|
+
: `${field} <> ${value} AND ${field} <> '${value}'`;
|
460
|
+
expressionList.push(expression);
|
461
|
+
}
|
462
|
+
});
|
463
|
+
const noExpression = expressionList.join(' AND ');
|
464
|
+
return field && noExpression ? `${noExpression} OR ${field} IS NULL` : '';
|
465
|
+
}
|
466
|
+
}
|
467
|
+
else {
|
468
|
+
const singleQuote = value.indexOf("'") !== -1 ? value.split("'").join("''") : null;
|
469
|
+
const isArray = Array.isArray(info.value);
|
470
|
+
const isLastElement = (legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 1 === infoIndex;
|
471
|
+
const lastElementAndNoValue = !(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos[(legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 1].hasOwnProperty('value'));
|
472
|
+
const secondToLastElement = infoIndex === (legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) - 2;
|
473
|
+
const expression = isArray
|
474
|
+
? normalizationField
|
475
|
+
? isLastElement || (lastElementAndNoValue && secondToLastElement)
|
476
|
+
? `(${field}/${normalizationField}) >= ${value[0]} AND (${field}/${normalizationField}) <= ${info.value[1]}`
|
477
|
+
: `(${field}/${normalizationField}) > ${value[0]} AND (${field}/${normalizationField}) <= ${info.value[1]}`
|
478
|
+
: isLastElement || (lastElementAndNoValue && secondToLastElement)
|
479
|
+
? `${field} >= ${value[0]} AND ${field} <= ${value[1]}`
|
480
|
+
: `${field} > ${value[0]} AND ${field} <= ${value[1]}`
|
481
|
+
: (legendElementInfos === null || legendElementInfos === void 0 ? void 0 : legendElementInfos.length) === 1 && field
|
482
|
+
? isNaN(value) || !value.trim().length
|
483
|
+
? `${field} <> '${value}'`
|
484
|
+
: `${field} <> ${value} OR ${field} <> '${value}'`
|
485
|
+
: singleQuote
|
486
|
+
? `${field} = '${singleQuote}'`
|
487
|
+
: isNaN(value) || !value.trim().length
|
488
|
+
? `${field} = '${value}'`
|
489
|
+
: `${field} = ${value} OR ${field} = '${value}'`;
|
490
|
+
return expression;
|
491
|
+
}
|
492
|
+
}
|
493
|
+
else {
|
494
|
+
return '';
|
495
|
+
}
|
496
|
+
}
|
497
|
+
function checkNoneSelected(data) {
|
498
|
+
if (Array.isArray(data)) {
|
499
|
+
return data.every(entry => !entry.selected);
|
500
|
+
}
|
501
|
+
else {
|
502
|
+
return data && Array.from(data.categories.entries()).every(entry => !entry[1].selected) && data.queryExpressions[0] !== '1=0';
|
503
|
+
}
|
504
|
+
}
|
505
|
+
function checkPredominance(fLayerView) {
|
506
|
+
var _a, _b, _c;
|
507
|
+
const authoringInfoType = (_c = (_b = (_a = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _a === void 0 ? void 0 : _a.renderer) === null || _b === void 0 ? void 0 : _b.authoringInfo) === null || _c === void 0 ? void 0 : _c.type;
|
508
|
+
return authoringInfoType === 'predominance';
|
509
|
+
}
|
510
|
+
function checkRelationshipRamp(activeLayerInfo) {
|
511
|
+
var _a;
|
512
|
+
return ((_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements[1]) === null || _a === void 0 ? void 0 : _a.type) === 'relationship-ramp';
|
513
|
+
}
|
514
|
+
function validateInteractivity(activeLayerInfo, legendElement, legendElementIndex) {
|
515
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
516
|
+
const fLayer = activeLayerInfo.layer;
|
517
|
+
const field = (_a = fLayer === null || fLayer === void 0 ? void 0 : fLayer.renderer) === null || _a === void 0 ? void 0 : _a.field;
|
518
|
+
const type = legendElement === null || legendElement === void 0 ? void 0 : legendElement.type;
|
519
|
+
const layerView = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layerView;
|
520
|
+
const classBreakInfos = (_c = (_b = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _b === void 0 ? void 0 : _b.renderer) === null || _c === void 0 ? void 0 : _c.classBreakInfos;
|
521
|
+
const uniqueValueInfos = ((_e = (_d = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _d === void 0 ? void 0 : _d.renderer) === null || _e === void 0 ? void 0 : _e.uniqueValueInfos) && field;
|
522
|
+
const isSizeRamp = type === 'size-ramp';
|
523
|
+
const isColorRamp = type === 'color-ramp';
|
524
|
+
const opacityRamp = type === 'opacity-ramp';
|
525
|
+
const heatmapRamp = type === 'heatmap-ramp';
|
526
|
+
const hasMoreThanOneClassBreak = layerView && classBreakInfos && classBreakInfos.length > 1;
|
527
|
+
const authoringInfoType = (_h = (_g = (_f = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _f === void 0 ? void 0 : _f.renderer) === null || _g === void 0 ? void 0 : _g.authoringInfo) === null || _h === void 0 ? void 0 : _h.type;
|
528
|
+
const classifyDataCheckedColorRamp = authoringInfoType === 'class-breaks-color';
|
529
|
+
const classifyDataCheckedSizeRamp = authoringInfoType === 'class-breaks-size';
|
530
|
+
const singleSymbol = ((_j = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _j === void 0 ? void 0 : _j.length) === 1 && !field;
|
531
|
+
const isRelationshipRamp = authoringInfoType === 'relationship' && (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) !== 'size-ramp' && (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) !== 'symbol-table';
|
532
|
+
const isFeatureLayer = ((_k = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _k === void 0 ? void 0 : _k.type) === 'feature';
|
533
|
+
const moreThanOneClassBreak = isFeatureLayer && field && !isColorRamp && !isSizeRamp && hasMoreThanOneClassBreak;
|
534
|
+
const oneClassBreak = isFeatureLayer && field && !isColorRamp && !isSizeRamp && !hasMoreThanOneClassBreak ? true : false;
|
535
|
+
const validate = oneClassBreak ||
|
536
|
+
(checkPredominance(layerView) && !isSizeRamp) ||
|
537
|
+
(classifyDataCheckedColorRamp && field) ||
|
538
|
+
(classifyDataCheckedSizeRamp && field) ||
|
539
|
+
(singleSymbol && !field && field !== null) ||
|
540
|
+
isRelationshipRamp ||
|
541
|
+
uniqueValueInfos
|
542
|
+
? true
|
543
|
+
: false;
|
544
|
+
const hasClustering = ((_l = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _l === void 0 ? void 0 : _l.featureReduction) && ((_o = (_m = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _m === void 0 ? void 0 : _m[legendElementIndex]) === null || _o === void 0 ? void 0 : _o.type) === 'size-ramp';
|
545
|
+
const isSingleSymbol = (legendElement === null || legendElement === void 0 ? void 0 : legendElement.type) === 'symbol-table' && ((_p = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _p === void 0 ? void 0 : _p.length) === 1;
|
546
|
+
const hasColorRamp = !(activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements.every(legendElement => legendElement.type !== 'color-ramp'));
|
547
|
+
const hasSizeRamp = !(activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements.every(legendElement => legendElement.type !== 'size-ramp'));
|
548
|
+
const singleSymbolColor = isSingleSymbol && hasColorRamp;
|
549
|
+
const singleSymbolSize = isSingleSymbol && hasSizeRamp;
|
550
|
+
const isUnclassifiedSizeRamp = (_q = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _q === void 0 ? void 0 : _q.every(info => typeof info.value === 'number');
|
551
|
+
const isBinning = ((_s = (_r = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _r === void 0 ? void 0 : _r[0]) === null || _s === void 0 ? void 0 : _s.type) === 'symbol-table' && ((_u = (_t = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _t === void 0 ? void 0 : _t[1]) === null || _u === void 0 ? void 0 : _u.type) === 'color-ramp';
|
552
|
+
const isDotDensity = authoringInfoType === 'dot-density';
|
553
|
+
const fieldExists = checkIfFieldExists(activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer, field);
|
554
|
+
const isValidated = isFeatureLayer &&
|
555
|
+
!hasClustering &&
|
556
|
+
!opacityRamp &&
|
557
|
+
!heatmapRamp &&
|
558
|
+
!singleSymbolColor &&
|
559
|
+
!singleSymbolSize &&
|
560
|
+
!isUnclassifiedSizeRamp &&
|
561
|
+
!isBinning &&
|
562
|
+
!isDotDensity &&
|
563
|
+
fieldExists
|
564
|
+
? classBreakInfos
|
565
|
+
? moreThanOneClassBreak || validate
|
566
|
+
: oneClassBreak || validate
|
567
|
+
: false;
|
568
|
+
return isValidated;
|
569
|
+
}
|
570
|
+
// ui interactions
|
571
|
+
function showAll(data) {
|
572
|
+
var _a, _b, _c, _d, _e;
|
573
|
+
data.queryExpressions = [];
|
574
|
+
if ((_b = (_a = data === null || data === void 0 ? void 0 : data.fLayerView) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.where)
|
575
|
+
data.fLayerView.filter.where = '';
|
576
|
+
if ((_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.fLayerView) === null || _c === void 0 ? void 0 : _c.featureEffect) === null || _d === void 0 ? void 0 : _d.filter) === null || _e === void 0 ? void 0 : _e.where)
|
577
|
+
data.fLayerView.featureEffect = null;
|
578
|
+
data.categories.forEach(category => {
|
579
|
+
category.selected = false;
|
580
|
+
});
|
581
|
+
return data;
|
582
|
+
}
|
583
|
+
function showAllNestedUniqueSymbol(data, nestedUniqueSymbolCategoryId) {
|
584
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
585
|
+
const nestedUniqueInfoCategory = data.categories.get(nestedUniqueSymbolCategoryId);
|
586
|
+
(_a = nestedUniqueInfoCategory === null || nestedUniqueInfoCategory === void 0 ? void 0 : nestedUniqueInfoCategory.nestedInfos) === null || _a === void 0 ? void 0 : _a.forEach(nestedInfo => {
|
587
|
+
const expression = `${data.field} = '${nestedInfo.legendElementInfo.value}'`;
|
588
|
+
const existingIndex = data.queryExpressions.indexOf(expression);
|
589
|
+
if (existingIndex !== -1) {
|
590
|
+
data.queryExpressions.splice(existingIndex, 1);
|
591
|
+
}
|
592
|
+
nestedInfo.selected = false;
|
593
|
+
});
|
594
|
+
const expressionList = [];
|
595
|
+
const nestedCategories = Array.from(data.categories).map(entry => entry[1]);
|
596
|
+
nestedCategories.forEach(nestedCategory => {
|
597
|
+
var _a, _b;
|
598
|
+
const untouched = (_a = nestedCategory.nestedInfos) === null || _a === void 0 ? void 0 : _a.every(nestedInfo => !nestedInfo.selected);
|
599
|
+
if (untouched) {
|
600
|
+
(_b = nestedCategory.nestedInfos) === null || _b === void 0 ? void 0 : _b.forEach(nestedInfo => {
|
601
|
+
expressionList.push(`${data.field} = '${nestedInfo.legendElementInfo.value}'`);
|
602
|
+
});
|
603
|
+
}
|
604
|
+
});
|
605
|
+
expressionList.forEach(expression => {
|
606
|
+
if (data.queryExpressions.indexOf(expression) === -1) {
|
607
|
+
data.queryExpressions.push(expression);
|
608
|
+
}
|
609
|
+
});
|
610
|
+
let where = data.queryExpressions.join(' OR ');
|
611
|
+
const allUntouched = nestedCategories.every(nestedCategory => { var _a; return (_a = nestedCategory.nestedInfos) === null || _a === void 0 ? void 0 : _a.every(nestedInfo => !nestedInfo.selected); });
|
612
|
+
if (allUntouched) {
|
613
|
+
if ((_c = (_b = data === null || data === void 0 ? void 0 : data.fLayerView) === null || _b === void 0 ? void 0 : _b.filter) === null || _c === void 0 ? void 0 : _c.where)
|
614
|
+
data.fLayerView.filter.where = '';
|
615
|
+
if ((_f = (_e = (_d = data === null || data === void 0 ? void 0 : data.fLayerView) === null || _d === void 0 ? void 0 : _d.featureEffect) === null || _e === void 0 ? void 0 : _e.filter) === null || _f === void 0 ? void 0 : _f.where)
|
616
|
+
data.fLayerView.featureEffect = null;
|
617
|
+
data.queryExpressions = [];
|
618
|
+
}
|
619
|
+
else {
|
620
|
+
if ((_h = (_g = data === null || data === void 0 ? void 0 : data.fLayerView) === null || _g === void 0 ? void 0 : _g.filter) === null || _h === void 0 ? void 0 : _h.where)
|
621
|
+
data.fLayerView.filter.where = where;
|
622
|
+
if ((_l = (_k = (_j = data === null || data === void 0 ? void 0 : data.fLayerView) === null || _j === void 0 ? void 0 : _j.featureEffect) === null || _k === void 0 ? void 0 : _k.filter) === null || _l === void 0 ? void 0 : _l.where)
|
623
|
+
data.fLayerView.featureEffect.filter.where = where;
|
624
|
+
}
|
625
|
+
return data;
|
626
|
+
}
|
627
|
+
async function zoomTo(data, view, nestedCategory) {
|
628
|
+
var _a, _b;
|
629
|
+
const query = data.fLayerView.createQuery();
|
630
|
+
if (nestedCategory) {
|
631
|
+
const noneSelected = nestedCategory.nestedInfos.every((nestedInfo) => !nestedInfo.selected);
|
632
|
+
if (noneSelected) {
|
633
|
+
const expression = nestedCategory.nestedInfos.map(nestedInfo => `${data.field} = '${nestedInfo.legendElementInfo.value}'`).join(' OR ');
|
634
|
+
query.where = expression;
|
635
|
+
}
|
636
|
+
else {
|
637
|
+
const expression = nestedCategory.nestedInfos
|
638
|
+
.filter(nestedInfo => nestedInfo.selected)
|
639
|
+
.map(nestedInfo => `${data.field} = '${nestedInfo.legendElementInfo.value}'`)
|
640
|
+
.join(' OR ');
|
641
|
+
query.where = expression;
|
642
|
+
}
|
643
|
+
}
|
644
|
+
else {
|
645
|
+
const where = data.queryExpressions.join(' OR ');
|
646
|
+
query.where = where;
|
647
|
+
}
|
648
|
+
try {
|
649
|
+
const { extent } = await ((_b = (_a = data === null || data === void 0 ? void 0 : data.fLayerView) === null || _a === void 0 ? void 0 : _a.layer) === null || _b === void 0 ? void 0 : _b.queryExtent(query));
|
650
|
+
await view.goTo(extent);
|
651
|
+
}
|
652
|
+
catch (_c) { }
|
653
|
+
}
|
654
|
+
// count
|
655
|
+
function calculateTotalCount(categoriesArr) {
|
656
|
+
const totalCount = categoriesArr.map((category) => category === null || category === void 0 ? void 0 : category.count).reduce((acc, curr) => acc + curr);
|
657
|
+
return totalCount;
|
658
|
+
}
|
659
|
+
function calculateTotalFeatureCountForNestedSymbols(categoriesArr) {
|
660
|
+
return categoriesArr
|
661
|
+
.map(category => { var _a; return (_a = category === null || category === void 0 ? void 0 : category.nestedInfos) === null || _a === void 0 ? void 0 : _a.map(nestedInfo => nestedInfo.count).reduce((acc, curr) => acc + curr); })
|
662
|
+
.reduce((acc, curr) => acc + curr);
|
663
|
+
}
|
664
|
+
async function getInfoCount(extent, fLayerView, field, info, infoIndex, legendElement, nestedUniqueSymbolInfo, nestedUniqueSymbolInfoIndex) {
|
665
|
+
var _a, _b, _c;
|
666
|
+
if (!fLayerView)
|
667
|
+
return;
|
668
|
+
const fieldExists = checkIfFieldExists(fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer, field);
|
669
|
+
if (!fieldExists)
|
670
|
+
return;
|
671
|
+
const query = ((_a = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _a === void 0 ? void 0 : _a.type) === 'feature' ? fLayerView.createQuery() : null;
|
672
|
+
const where = checkPredominance(fLayerView)
|
673
|
+
? handlePredominanceExpression(info, fLayerView)
|
674
|
+
: info.type
|
675
|
+
? generateQueryExpression(nestedUniqueSymbolInfo, field, nestedUniqueSymbolInfoIndex, info, info.infos)
|
676
|
+
: generateQueryExpression(info, field, infoIndex, legendElement, legendElement.infos);
|
677
|
+
if (query && where) {
|
678
|
+
query.where = where === '1=0' ? '1=1' : where;
|
679
|
+
query.geometry = extent;
|
680
|
+
}
|
681
|
+
try {
|
682
|
+
const featureCount = query ? await fLayerView.queryFeatureCount(query) : null;
|
683
|
+
return Promise.resolve({ [(_b = info.label) !== null && _b !== void 0 ? _b : (_c = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.layer) === null || _c === void 0 ? void 0 : _c.id]: featureCount });
|
684
|
+
}
|
685
|
+
catch (err) {
|
686
|
+
console.error("FAILURE AT 'getInfoCount': ", err);
|
687
|
+
}
|
688
|
+
return Promise.resolve(null);
|
689
|
+
}
|
690
|
+
async function handleFeatureCount(legendViewModel, data) {
|
691
|
+
let updatedData = Object.assign({}, data);
|
692
|
+
const { activeLayerInfos } = legendViewModel;
|
693
|
+
let dataCount = {};
|
694
|
+
const countPromises = {};
|
695
|
+
activeLayerInfos.forEach(async (activeLayerInfo) => {
|
696
|
+
var _a, _b, _c, _d;
|
697
|
+
const legendElement = activeLayerInfo.legendElements[0];
|
698
|
+
const fLayer = activeLayerInfo.layer;
|
699
|
+
const fLayerView = (_b = data[(_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _a === void 0 ? void 0 : _a.id]) === null || _b === void 0 ? void 0 : _b.fLayerView;
|
700
|
+
const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.field;
|
701
|
+
const counts = [];
|
702
|
+
countPromises[activeLayerInfo.layer.id] = [];
|
703
|
+
(_d = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _d === void 0 ? void 0 : _d.forEach((info, infoIndex) => {
|
704
|
+
var _a;
|
705
|
+
const isNestedUniqueSymbol = (_a = legendElement.infos) === null || _a === void 0 ? void 0 : _a.every(info => info.type === 'symbol-table');
|
706
|
+
if (isNestedUniqueSymbol) {
|
707
|
+
const nestedInfoCounts = [];
|
708
|
+
info.infos.forEach((nestedUniqueSymbolInfo, nestedUniqueSymbolInfoIndex) => {
|
709
|
+
const infoCount = getInfoCount(legendViewModel.view.extent, fLayerView, field, info, infoIndex, legendElement, nestedUniqueSymbolInfo, nestedUniqueSymbolInfoIndex);
|
710
|
+
nestedInfoCounts.push(infoCount);
|
711
|
+
});
|
712
|
+
countPromises[activeLayerInfo.layer.id].push(nestedInfoCounts);
|
713
|
+
}
|
714
|
+
else {
|
715
|
+
counts.push(getInfoCount(legendViewModel.view.extent, fLayerView, field, info, infoIndex, legendElement));
|
716
|
+
countPromises[activeLayerInfo.layer.id] = counts;
|
717
|
+
}
|
718
|
+
});
|
719
|
+
const handleALIChild = (aliChild) => {
|
720
|
+
var _a, _b, _c, _d;
|
721
|
+
const childCounts = [];
|
722
|
+
const legendElement = aliChild.legendElements[0];
|
723
|
+
const fLayer = aliChild.layer;
|
724
|
+
const fLayerView = (_b = data[(_a = aliChild === null || aliChild === void 0 ? void 0 : aliChild.layer) === null || _a === void 0 ? void 0 : _a.id]) === null || _b === void 0 ? void 0 : _b.fLayerView;
|
725
|
+
const field = (_c = fLayer.renderer) === null || _c === void 0 ? void 0 : _c.field;
|
726
|
+
(_d = legendElement === null || legendElement === void 0 ? void 0 : legendElement.infos) === null || _d === void 0 ? void 0 : _d.forEach((info, infoIndex) => childCounts.push(getInfoCount(legendViewModel.view.extent, fLayerView, field, info, infoIndex, legendElement)));
|
727
|
+
countPromises[aliChild.layer.id] = childCounts;
|
728
|
+
};
|
729
|
+
activeLayerInfo.children.forEach(async (aliChild) => {
|
730
|
+
var _a;
|
731
|
+
handleALIChild(aliChild);
|
732
|
+
if (((_a = aliChild === null || aliChild === void 0 ? void 0 : aliChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
733
|
+
aliChild.children.forEach(innerALIChild => {
|
734
|
+
var _a;
|
735
|
+
handleALIChild(innerALIChild);
|
736
|
+
if (((_a = innerALIChild === null || innerALIChild === void 0 ? void 0 : innerALIChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
737
|
+
innerALIChild.children.forEach(innerInnerALIChild => {
|
738
|
+
handleALIChild(innerInnerALIChild);
|
739
|
+
});
|
740
|
+
}
|
741
|
+
});
|
742
|
+
}
|
743
|
+
});
|
744
|
+
});
|
745
|
+
for (const countPromise in countPromises) {
|
746
|
+
let countObj = dataCount[countPromise];
|
747
|
+
if (!countObj)
|
748
|
+
countObj = dataCount[countPromise] = {};
|
749
|
+
const countRes = await Promise.all(countPromises[countPromise]);
|
750
|
+
if (countRes.every(countResItem => Array.isArray(countResItem))) {
|
751
|
+
const countArr2d = await Promise.all(countRes.map(async (countResItem) => {
|
752
|
+
const promise = await Promise.all(countResItem);
|
753
|
+
const count = promise.map(promiseItem => promiseItem && Object.values(promiseItem)[0]);
|
754
|
+
return count;
|
755
|
+
}));
|
756
|
+
countObj[countPromise] = countArr2d;
|
757
|
+
dataCount[countPromise] = Object.assign({}, countObj[countPromise]);
|
758
|
+
}
|
759
|
+
else {
|
760
|
+
const layerCountObj = {};
|
761
|
+
countRes.forEach(countResItem => {
|
762
|
+
if (!countResItem)
|
763
|
+
return;
|
764
|
+
const id = Object.keys(countResItem)[0];
|
765
|
+
layerCountObj[id] = countResItem[id];
|
766
|
+
});
|
767
|
+
if (countPromise)
|
768
|
+
countObj[countPromise] = layerCountObj;
|
769
|
+
dataCount[countPromise] = Object.assign({}, countObj[countPromise]);
|
770
|
+
}
|
771
|
+
}
|
772
|
+
activeLayerInfos.forEach(activeLayerInfo => {
|
773
|
+
var _a;
|
774
|
+
const dataFromActiveLayerInfo = data[activeLayerInfo.layer.id];
|
775
|
+
const layerId = activeLayerInfo.layer.id;
|
776
|
+
(_a = dataFromActiveLayerInfo === null || dataFromActiveLayerInfo === void 0 ? void 0 : dataFromActiveLayerInfo.categories) === null || _a === void 0 ? void 0 : _a.forEach((category, key) => {
|
777
|
+
var _a;
|
778
|
+
const categoriesArr = Array.from(dataFromActiveLayerInfo === null || dataFromActiveLayerInfo === void 0 ? void 0 : dataFromActiveLayerInfo.categories);
|
779
|
+
const categoryIndex = categoriesArr.findIndex((categoryArrItem) => categoryArrItem[0] === key);
|
780
|
+
if (category === null || category === void 0 ? void 0 : category.nestedInfos) {
|
781
|
+
category === null || category === void 0 ? void 0 : category.nestedInfos.forEach((nestedInfo, nestedInfoIndex) => {
|
782
|
+
var _a, _b, _c;
|
783
|
+
const count = (_c = (_b = dataCount === null || dataCount === void 0 ? void 0 : dataCount[(_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.layer) === null || _a === void 0 ? void 0 : _a.id]) === null || _b === void 0 ? void 0 : _b[categoryIndex]) === null || _c === void 0 ? void 0 : _c[nestedInfoIndex];
|
784
|
+
nestedInfo.count = !isNaN(count) ? count : null;
|
785
|
+
});
|
786
|
+
}
|
787
|
+
else {
|
788
|
+
const count = (_a = dataCount === null || dataCount === void 0 ? void 0 : dataCount[layerId]) === null || _a === void 0 ? void 0 : _a[key];
|
789
|
+
category.count = !isNaN(count) ? count : null;
|
790
|
+
}
|
791
|
+
});
|
792
|
+
const handleALIChild = (aliChild) => {
|
793
|
+
var _a;
|
794
|
+
const childLayerId = aliChild.layer.id;
|
795
|
+
const dataFromActiveLayerInfo = data[childLayerId];
|
796
|
+
(_a = dataFromActiveLayerInfo === null || dataFromActiveLayerInfo === void 0 ? void 0 : dataFromActiveLayerInfo.categories) === null || _a === void 0 ? void 0 : _a.forEach((category, key) => {
|
797
|
+
var _a;
|
798
|
+
const count = (_a = dataCount === null || dataCount === void 0 ? void 0 : dataCount[childLayerId]) === null || _a === void 0 ? void 0 : _a[key];
|
799
|
+
category.count = count;
|
800
|
+
});
|
801
|
+
};
|
802
|
+
activeLayerInfo.children.forEach(aliChild => {
|
803
|
+
var _a;
|
804
|
+
handleALIChild(aliChild);
|
805
|
+
if (((_a = aliChild === null || aliChild === void 0 ? void 0 : aliChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
806
|
+
aliChild.children.forEach(innerALIChild => {
|
807
|
+
var _a;
|
808
|
+
handleALIChild(innerALIChild);
|
809
|
+
if (((_a = innerALIChild === null || innerALIChild === void 0 ? void 0 : innerALIChild.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
810
|
+
innerALIChild.children.forEach(innerInnerALIChild => {
|
811
|
+
handleALIChild(innerInnerALIChild);
|
812
|
+
});
|
813
|
+
}
|
814
|
+
});
|
815
|
+
}
|
816
|
+
});
|
817
|
+
});
|
818
|
+
return Promise.resolve(updatedData);
|
819
|
+
}
|
820
|
+
// nested
|
821
|
+
function getNestedInfoData(category, infoIndex) {
|
822
|
+
var _a;
|
823
|
+
return (_a = category === null || category === void 0 ? void 0 : category.nestedInfos) === null || _a === void 0 ? void 0 : _a[infoIndex];
|
824
|
+
}
|
825
|
+
function checkNestedUniqueSymbol(categories) {
|
826
|
+
const categoriesArr = Array.from(categories).map((category) => category[1]);
|
827
|
+
return categoriesArr.every((category) => !!(category === null || category === void 0 ? void 0 : category.nestedInfos));
|
828
|
+
}
|
829
|
+
function checkNestedUniqueSymbolLegendElement(activeLayerInfo) {
|
830
|
+
var _a, _b, _c, _d;
|
831
|
+
return !!((_d = (_c = (_b = (_a = activeLayerInfo === null || activeLayerInfo === void 0 ? void 0 : activeLayerInfo.legendElements) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.infos) === null || _c === void 0 ? void 0 : _c.every) === null || _d === void 0 ? void 0 : _d.call(_c, info => (info === null || info === void 0 ? void 0 : info.type) === 'symbol-table'));
|
832
|
+
}
|
833
|
+
function getParentLegendElementInfoData(data, parentLegendElementInfo) {
|
834
|
+
var _a;
|
835
|
+
return (_a = data === null || data === void 0 ? void 0 : data.categories) === null || _a === void 0 ? void 0 : _a.get(parentLegendElementInfo === null || parentLegendElementInfo === void 0 ? void 0 : parentLegendElementInfo.title);
|
836
|
+
}
|
837
|
+
// theme
|
838
|
+
function getTheme(el) {
|
839
|
+
const calciteMode = `calcite-mode-`;
|
840
|
+
const light = `${calciteMode}light`;
|
841
|
+
const dark = `${calciteMode}dark`;
|
842
|
+
const isDarkTheme = el.classList.contains(dark);
|
843
|
+
return isDarkTheme ? dark : light;
|
844
|
+
}
|
845
|
+
// store
|
846
|
+
function updateStore(layerData) {
|
847
|
+
if (layerData.layerId && layerData.intLegendLayerData) {
|
848
|
+
const layerId = layerData.layerId;
|
849
|
+
const layerDataToSet = layerData.intLegendLayerData;
|
850
|
+
const data = Object.assign(Object.assign({}, interactiveLegendState.data), { [layerId]: layerDataToSet });
|
851
|
+
store.set('data', data);
|
852
|
+
}
|
853
|
+
}
|
854
|
+
// handleFilterChange - Configuration experience
|
855
|
+
function handleFilterChange(filterMode, view) {
|
856
|
+
const { type } = filterMode;
|
857
|
+
if (type === 'filter') {
|
858
|
+
updateExistingFilterToFeatureFilter(view);
|
859
|
+
}
|
860
|
+
else if (type === 'effect') {
|
861
|
+
updateExistingFilterToFeatureEffect(filterMode, view);
|
862
|
+
}
|
863
|
+
}
|
864
|
+
function updateExistingFilterToFeatureFilter(view) {
|
865
|
+
var _a, _b;
|
866
|
+
(_b = (_a = view === null || view === void 0 ? void 0 : view.allLayerViews) === null || _a === void 0 ? void 0 : _a.filter((layerView) => { var _a; return ((_a = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _a === void 0 ? void 0 : _a.type) === 'feature'; })) === null || _b === void 0 ? void 0 : _b.forEach((fLayerView) => {
|
867
|
+
const existingFilter = getExistingFilter(fLayerView);
|
868
|
+
fLayerView.filter = existingFilter;
|
869
|
+
fLayerView.set('featureEffect', null);
|
870
|
+
});
|
871
|
+
}
|
872
|
+
function updateExistingFilterToFeatureEffect(filterMode, view) {
|
873
|
+
var _a;
|
874
|
+
(_a = view === null || view === void 0 ? void 0 : view.allLayerViews) === null || _a === void 0 ? void 0 : _a.filter((layerView) => { var _a; return ((_a = layerView === null || layerView === void 0 ? void 0 : layerView.layer) === null || _a === void 0 ? void 0 : _a.type) === 'feature'; }).forEach(async (fLayerView) => {
|
875
|
+
if ((filterMode === null || filterMode === void 0 ? void 0 : filterMode.effect) && fLayerView) {
|
876
|
+
const [FeatureEffect] = await loadModules(['esri/layers/support/FeatureEffect']);
|
877
|
+
const { includedEffect, excludedEffect } = filterMode.effect;
|
878
|
+
const mergedExcludedEffect = await getMergedEffect(excludedEffect, fLayerView, 'excludedEffect');
|
879
|
+
const mergedIncludedEffect = await getMergedEffect(includedEffect, fLayerView, 'includedEffect');
|
880
|
+
const existingFilter = getExistingFilter(fLayerView);
|
881
|
+
fLayerView.featureEffect = new FeatureEffect({
|
882
|
+
filter: existingFilter,
|
883
|
+
includedEffect: mergedIncludedEffect,
|
884
|
+
excludedEffect: mergedExcludedEffect,
|
885
|
+
});
|
886
|
+
fLayerView.set('filter', null);
|
887
|
+
}
|
888
|
+
});
|
889
|
+
}
|
890
|
+
function getExistingFilter(fLayerView) {
|
891
|
+
var _a;
|
892
|
+
return (fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.filter) || ((_a = fLayerView === null || fLayerView === void 0 ? void 0 : fLayerView.featureEffect) === null || _a === void 0 ? void 0 : _a.filter);
|
893
|
+
}
|
894
|
+
function checkIfFieldExists(fLayer, field) {
|
895
|
+
const fields = fLayer === null || fLayer === void 0 ? void 0 : fLayer.fields;
|
896
|
+
const fieldNames = fields && fields.map(field => field.name);
|
897
|
+
return field ? fieldNames && fieldNames.includes(field) : true;
|
898
|
+
}
|
899
|
+
function getAllActiveLayerInfos(activeLayerInfos) {
|
900
|
+
const arr = [];
|
901
|
+
activeLayerInfos.forEach(acl => flattenActiveLayerInfos(acl, arr));
|
902
|
+
return arr;
|
903
|
+
}
|
904
|
+
function flattenActiveLayerInfos(activeLayerInfo, arr) {
|
905
|
+
arr.push(activeLayerInfo);
|
906
|
+
if (activeLayerInfo.children && activeLayerInfo.children.length > 0) {
|
907
|
+
activeLayerInfo.children.forEach(child => {
|
908
|
+
flattenActiveLayerInfos(child, arr);
|
909
|
+
});
|
910
|
+
}
|
911
|
+
}
|
912
|
+
|
913
|
+
export { getParentLegendElementInfoData as a, getCategoryData as b, checkNoneSelected as c, handleFeatureCount as d, generateData as e, getAllActiveLayerInfos as f, getTheme as g, handleFilterChange as h, interactiveLegendState as i, createInteractiveLegendDataForLayer as j, handleFilter as k, getIntLegendLayerData as l, checkNestedUniqueSymbolLegendElement as m, checkRelationshipRamp as n, showAllNestedUniqueSymbol as o, showAll as p, getMergedEffect as q, getCategoriesArray as r, store as s, checkNestedUniqueSymbol as t, updateStore as u, validateInteractivity as v, calculateTotalFeatureCountForNestedSymbols as w, calculateTotalCount as x, getNestedInfoData as y, zoomTo as z };
|