@esri/solutions-components 0.8.67 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/arcgis-login.cjs.entry.js +3 -2
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +7 -6
- package/dist/cjs/calcite-accordion.cjs.entry.js +4 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +4 -4
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -9
- package/dist/cjs/calcite-block_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-button.cjs.entry.js +15 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-card.cjs.entry.js +12 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +3 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -11
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-color-picker.cjs.entry.js +23 -23
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -5
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -7
- package/dist/cjs/calcite-flow_6.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -12
- package/dist/cjs/calcite-input-number.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +14 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +10 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -18
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +5 -4
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -5
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -11
- package/dist/cjs/calcite-option-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -202
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +25 -24
- package/dist/cjs/calcite-pick-list.cjs.entry.js +12 -11
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -15
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -8
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -2
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -5
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +12 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +9 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -10
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -7
- package/dist/cjs/calcite-table.cjs.entry.js +11 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +10 -16
- package/dist/cjs/calcite-tip.cjs.entry.js +11 -10
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -8
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
- package/dist/cjs/consent-manager.cjs.entry.js +7 -350
- package/dist/cjs/crowdsource-manager.cjs.entry.js +9 -9
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -10
- package/dist/cjs/deduct-calculator.cjs.entry.js +3 -2
- package/dist/cjs/{downloadUtils-737851e4.js → downloadUtils-69c90822.js} +2 -2
- package/dist/cjs/feature-comments.cjs.entry.js +3 -2
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/feature-list.cjs.entry.js +12 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/{helpers-758e7ae8.js → helpers-3cad996e.js} +1 -1
- package/dist/cjs/index.cjs.js +0 -15
- package/dist/cjs/{index.es-c00eb740.js → index.es-3bcb5f03.js} +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +6 -5
- package/dist/cjs/instant-apps-create.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-export.cjs.entry.js +9 -8
- package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +28 -33
- 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 +8 -8
- 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 +10 -10
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +11 -10
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +11 -10
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-popover.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +8 -7
- package/dist/cjs/instant-apps-splash.cjs.entry.js +8 -7
- package/dist/cjs/{languageSwitcher-f0bb94fa.js → languageSwitcher-dc2dd354.js} +1 -1
- package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +6 -6
- package/dist/cjs/list-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/{loadModules-0a42affb.js → loadModules-8567855e.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-d3582284.js → locale-1d07e942.js} +2 -2
- package/dist/cjs/{locale-6c657db5.js → locale-33a0038a.js} +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/pci-calculator.cjs.entry.js +3 -2
- package/dist/cjs/{popupUtils-92b936a2.js → popupUtils-51b6c78d.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +13 -13
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +3 -2
- package/dist/cjs/share-item.cjs.entry.js +3 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +1108 -23
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-icon.cjs.entry.js +3 -2
- package/dist/cjs/solutions-components.cjs.js +5 -32
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -8
- package/dist/cjs/store-manager.cjs.entry.js +7 -6
- package/dist/cjs/{utils-057900e0.js → utils-8d9c798c.js} +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -1
- package/dist/components/ExpandToggle.js +8 -8
- package/dist/components/_commonjsHelpers.js +0 -23
- package/dist/components/action-bar.js +5 -4
- package/dist/components/action-group.js +4 -3
- package/dist/components/action-menu.js +3 -2
- package/dist/components/action-pad.js +3 -2
- package/dist/components/action.js +3 -2
- package/dist/components/alert.js +4 -3
- package/dist/components/arcgis-login.js +3 -2
- package/dist/components/avatar.js +3 -2
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/block.js +3 -2
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +3 -2
- package/dist/components/calcite-accordion-item.js +3 -2
- package/dist/components/calcite-accordion.js +3 -2
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-card-group.js +3 -2
- package/dist/components/calcite-card.js +3 -2
- package/dist/components/calcite-carousel-item.js +3 -2
- package/dist/components/calcite-carousel.js +3 -2
- package/dist/components/calcite-chip-group.js +3 -2
- package/dist/components/calcite-color-picker.js +20 -19
- package/dist/components/calcite-combobox-item-group.js +3 -2
- package/dist/components/calcite-fab.js +3 -2
- package/dist/components/calcite-inline-editable.js +3 -2
- package/dist/components/calcite-input-time-picker.js +4 -7
- package/dist/components/calcite-input-time-zone.js +4 -3
- package/dist/components/calcite-list-item-group.js +3 -2
- package/dist/components/calcite-menu-item.js +3 -2
- package/dist/components/calcite-meter.js +3 -2
- package/dist/components/calcite-navigation-logo.js +3 -2
- package/dist/components/calcite-navigation.js +3 -2
- package/dist/components/calcite-option-group.js +3 -2
- package/dist/components/calcite-pick-list-group.js +5 -4
- package/dist/components/calcite-pick-list.js +3 -2
- package/dist/components/calcite-radio-button-group.js +3 -2
- package/dist/components/calcite-rating.js +3 -4
- package/dist/components/calcite-sheet.js +3 -2
- package/dist/components/calcite-shell-center-row.js +3 -2
- package/dist/components/calcite-sortable-list.js +3 -2
- package/dist/components/calcite-split-button.js +3 -2
- package/dist/components/calcite-stepper-item.js +3 -2
- package/dist/components/calcite-stepper.js +3 -2
- package/dist/components/calcite-table-row.js +3 -2
- package/dist/components/calcite-table.js +3 -2
- package/dist/components/calcite-text-area.js +4 -3
- package/dist/components/calcite-tile-group.js +3 -2
- package/dist/components/calcite-tile-select-group.js +3 -2
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tile.js +3 -2
- package/dist/components/calcite-tip-group.js +3 -2
- package/dist/components/calcite-tip-manager.js +3 -9
- package/dist/components/calcite-tip.js +4 -3
- package/dist/components/card-manager2.js +3 -2
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +3 -2
- package/dist/components/color-picker-hex-input.js +12 -11
- package/dist/components/color-picker-swatch.js +6 -5
- package/dist/components/combobox-item.js +3 -2
- package/dist/components/combobox.js +5 -4
- package/dist/components/consent-manager.js +4 -346
- package/dist/components/core.js +0 -309
- package/dist/components/create-feature2.js +3 -2
- package/dist/components/create-related-feature2.js +3 -2
- package/dist/components/crowdsource-manager.js +6 -3
- package/dist/components/crowdsource-reporter.js +3 -2
- package/dist/components/date-picker-day.js +3 -2
- package/dist/components/date-picker-month-header.js +3 -2
- package/dist/components/date-picker-month.js +3 -2
- package/dist/components/date-picker.js +3 -2
- package/dist/components/deduct-calculator2.js +3 -2
- package/dist/components/delete-button2.js +3 -2
- package/dist/components/dom.js +0 -27
- package/dist/components/downloadUtils.js +96 -1176
- package/dist/components/dropdown-group.js +3 -2
- package/dist/components/dropdown-item.js +3 -2
- package/dist/components/dropdown.js +3 -2
- package/dist/components/edit-card2.js +3 -2
- package/dist/components/esri-loader.js +6 -11
- package/dist/components/feature-comments.js +3 -2
- package/dist/components/feature-details2.js +3 -2
- package/dist/components/feature-form-flow-item.js +3 -2
- package/dist/components/feature-list2.js +3 -2
- package/dist/components/features-flow-item.js +3 -2
- package/dist/components/filter.js +730 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +13 -89
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/flow-item.js +4 -3
- package/dist/components/flow.js +3 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +3 -2
- package/dist/components/handle.js +3 -2
- package/dist/components/helpers.js +2 -6
- package/dist/components/html2canvas.js +4 -9
- package/dist/components/icon.js +3 -2
- package/dist/components/index.es.js +79 -441
- package/dist/components/index.js +0 -16
- package/dist/components/index2.js +9 -17
- package/dist/components/index3.js +1863 -41457
- package/dist/components/index4.js +162 -2068
- package/dist/components/index5.js +184 -179
- package/dist/components/index6.js +55 -188
- package/dist/components/info-card2.js +3 -2
- package/dist/components/input-date-picker.js +4 -3
- package/dist/components/input-message.js +3 -2
- package/dist/components/input-number.js +3 -2
- package/dist/components/input-text.js +3 -2
- package/dist/components/input.js +3 -2
- package/dist/components/instant-apps-ckeditor-wrapper2.js +3 -2
- package/dist/components/instant-apps-control-panel.js +3 -2
- package/dist/components/instant-apps-create.js +3 -2
- package/dist/components/instant-apps-export-views.js +3 -2
- package/dist/components/instant-apps-export.js +3 -2
- package/dist/components/instant-apps-filter-list2.js +6 -6
- package/dist/components/instant-apps-header2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-classic2.js +13 -17
- package/dist/components/instant-apps-interactive-legend-count2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +4 -3
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +3 -2
- package/dist/components/instant-apps-interactive-legend-relationship2.js +3 -2
- package/dist/components/instant-apps-interactive-legend.js +3 -2
- package/dist/components/instant-apps-keyboard-shortcuts.js +3 -2
- package/dist/components/instant-apps-landing-page.js +3 -2
- package/dist/components/instant-apps-language-switcher.js +4 -3
- package/dist/components/instant-apps-language-translator-item2.js +3 -2
- package/dist/components/instant-apps-language-translator-search2.js +3 -2
- package/dist/components/instant-apps-language-translator2.js +3 -2
- package/dist/components/instant-apps-measurement-tool2.js +3 -2
- package/dist/components/instant-apps-measurement.js +3 -2
- package/dist/components/instant-apps-popover.js +3 -2
- package/dist/components/instant-apps-popovers.js +3 -2
- package/dist/components/instant-apps-scoreboard.js +3 -2
- package/dist/components/instant-apps-sign-in2.js +3 -2
- package/dist/components/instant-apps-social-share2.js +3 -2
- package/dist/components/instant-apps-splash.js +4 -3
- package/dist/components/json-editor2.js +3 -2
- package/dist/components/key.js +0 -28
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -2
- package/dist/components/languageUtil.js +1 -22
- package/dist/components/layer-list2.js +3 -2
- package/dist/components/layer-table2.js +3 -2
- package/dist/components/layout-manager.js +3 -2
- package/dist/components/link.js +3 -2
- package/dist/components/list-flow-item.js +3 -2
- package/dist/components/list-item.js +3 -2
- package/dist/components/list.js +5 -4
- package/dist/components/loader.js +3 -2
- package/dist/components/locale.js +0 -12
- package/dist/components/locale2.js +1 -2
- package/dist/components/location-flow-item.js +3 -2
- package/dist/components/map-card2.js +3 -2
- package/dist/components/map-draw-tools2.js +3 -2
- package/dist/components/map-fullscreen2.js +3 -2
- package/dist/components/map-layer-picker2.js +3 -2
- package/dist/components/map-legend2.js +3 -2
- package/dist/components/map-picker2.js +3 -2
- package/dist/components/map-search2.js +3 -2
- package/dist/components/map-select-tools2.js +3 -2
- package/dist/components/map-tools2.js +3 -4
- package/dist/components/menu.js +3 -2
- package/dist/components/modal.js +3 -8
- package/dist/components/mode.js +0 -8
- package/dist/components/navigation-user.js +3 -2
- package/dist/components/notice.js +3 -2
- package/dist/components/openCloseComponent.js +0 -48
- package/dist/components/option.js +3 -2
- package/dist/components/pagination.js +3 -195
- package/dist/components/panel.js +4 -4
- package/dist/components/pci-calculator.js +4 -3
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +3 -2
- package/dist/components/popover.js +3 -2
- package/dist/components/progress.js +3 -2
- package/dist/components/public-notification.js +3 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +3 -6
- package/dist/components/queryUtils.js +0 -59
- package/dist/components/radio-button.js +3 -2
- package/dist/components/refine-results-flow-item.js +3 -2
- package/dist/components/refine-selection2.js +3 -2
- package/dist/components/resources.js +0 -17
- package/dist/components/resources5.js +0 -3
- package/dist/components/scrim.js +3 -2
- package/dist/components/segmented-control-item.js +3 -2
- package/dist/components/segmented-control.js +3 -2
- package/dist/components/select.js +3 -2
- package/dist/components/share-item.js +3 -2
- package/dist/components/shared-list-render.js +1 -6
- package/dist/components/shell-panel.js +3 -2
- package/dist/components/shell.js +3 -2
- package/dist/components/slider.js +3 -2
- package/dist/components/solution-configuration.js +1090 -3
- package/dist/components/solution-contents2.js +3 -2
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +3 -2
- package/dist/components/solution-item-sharing2.js +3 -2
- package/dist/components/solution-item2.js +3 -2
- package/dist/components/solution-organization-variables2.js +3 -2
- package/dist/components/solution-resource-item2.js +5 -3
- package/dist/components/solution-spatial-ref2.js +4 -3
- package/dist/components/solution-store.js +767 -2
- package/dist/components/solution-template-data2.js +3 -2
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/sortableComponent.js +0 -701
- package/dist/components/spatial-ref2.js +6 -264
- package/dist/components/stack.js +3 -2
- package/dist/components/store-manager.js +1 -1
- package/dist/components/store.js +1 -2
- package/dist/components/switch.js +3 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +3 -2
- package/dist/components/tab-title.js +3 -2
- package/dist/components/tab.js +3 -2
- package/dist/components/table-cell.js +3 -2
- package/dist/components/table-header.js +3 -2
- package/dist/components/tabs.js +3 -2
- package/dist/components/templates.js +3 -44
- package/dist/components/time-picker.js +4 -3
- package/dist/components/tooltip.js +3 -2
- package/dist/components/tree-item.js +3 -2
- package/dist/components/tree.js +3 -2
- package/dist/components/utils.js +1 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils4.js +1 -13
- package/dist/components/value-list-item.js +4 -3
- package/dist/components/value-list.js +3 -5
- package/dist/esm/arcgis-login.entry.js +3 -2
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_3.entry.js +2 -2
- package/dist/esm/calcite-accordion-item.entry.js +7 -6
- package/dist/esm/calcite-accordion.entry.js +4 -3
- package/dist/esm/calcite-action-bar.entry.js +13 -12
- package/dist/esm/calcite-action-group.entry.js +14 -13
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-alert_4.entry.js +4 -4
- package/dist/esm/calcite-block-section.entry.js +10 -9
- package/dist/esm/calcite-block_5.entry.js +7 -7
- package/dist/esm/calcite-button.entry.js +15 -14
- package/dist/esm/calcite-card-group.entry.js +8 -7
- package/dist/esm/calcite-card.entry.js +12 -11
- package/dist/esm/calcite-carousel-item.entry.js +3 -2
- package/dist/esm/calcite-carousel.entry.js +12 -11
- package/dist/esm/calcite-checkbox.entry.js +11 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -7
- package/dist/esm/calcite-color-picker.entry.js +29 -29
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -5
- package/dist/esm/calcite-dropdown-group_2.entry.js +2 -2
- package/dist/esm/calcite-fab.entry.js +8 -7
- package/dist/esm/calcite-flow_6.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +13 -12
- package/dist/esm/calcite-input-number.entry.js +15 -14
- package/dist/esm/calcite-input-text.entry.js +15 -14
- package/dist/esm/calcite-input-time-picker.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +14 -13
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +8 -7
- package/dist/esm/calcite-list-item-group.entry.js +5 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -9
- package/dist/esm/calcite-menu.entry.js +10 -9
- package/dist/esm/calcite-meter.entry.js +10 -9
- package/dist/esm/calcite-modal.entry.js +13 -18
- package/dist/esm/calcite-navigation-logo.entry.js +5 -4
- package/dist/esm/calcite-navigation.entry.js +6 -5
- package/dist/esm/calcite-notice.entry.js +12 -11
- package/dist/esm/calcite-option-group.entry.js +3 -2
- package/dist/esm/calcite-pagination.entry.js +10 -202
- package/dist/esm/calcite-pick-list-group.entry.js +8 -7
- package/dist/esm/calcite-pick-list-item.entry.js +15 -14
- package/dist/esm/calcite-pick-list.entry.js +12 -11
- package/dist/esm/calcite-radio-button-group.entry.js +6 -5
- package/dist/esm/calcite-radio-button.entry.js +10 -9
- package/dist/esm/calcite-rating.entry.js +14 -15
- package/dist/esm/calcite-sheet.entry.js +9 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +2 -2
- package/dist/esm/calcite-sortable-list.entry.js +9 -8
- package/dist/esm/calcite-split-button.entry.js +6 -5
- package/dist/esm/calcite-stepper-item.entry.js +12 -11
- package/dist/esm/calcite-stepper.entry.js +9 -8
- package/dist/esm/calcite-switch.entry.js +11 -10
- package/dist/esm/calcite-table-row.entry.js +8 -7
- package/dist/esm/calcite-table.entry.js +11 -10
- package/dist/esm/calcite-text-area.entry.js +17 -15
- package/dist/esm/calcite-tile-group.entry.js +8 -7
- package/dist/esm/calcite-tile-select-group.entry.js +5 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -5
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-time-picker.entry.js +11 -10
- package/dist/esm/calcite-tip-group.entry.js +3 -2
- package/dist/esm/calcite-tip-manager.entry.js +10 -16
- package/dist/esm/calcite-tip.entry.js +11 -10
- package/dist/esm/calcite-tooltip.entry.js +9 -8
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/consent-manager.entry.js +7 -350
- package/dist/esm/crowdsource-manager.entry.js +9 -9
- package/dist/esm/crowdsource-reporter.entry.js +7 -8
- package/dist/esm/deduct-calculator.entry.js +3 -2
- package/dist/esm/{downloadUtils-78367e33.js → downloadUtils-65947034.js} +2 -2
- package/dist/esm/feature-comments.entry.js +3 -2
- package/dist/esm/feature-form-flow-item.entry.js +3 -2
- package/dist/esm/feature-list.entry.js +11 -11
- package/dist/esm/features-flow-item.entry.js +3 -2
- package/dist/esm/{helpers-d661d198.js → helpers-ca6fa5a6.js} +1 -1
- package/dist/esm/{index.es-2b549b56.js → index.es-8311d3b3.js} +3 -3
- package/dist/esm/index.js +0 -15
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +6 -5
- package/dist/esm/instant-apps-create.entry.js +9 -8
- package/dist/esm/instant-apps-export-views.entry.js +9 -8
- package/dist/esm/instant-apps-export.entry.js +9 -8
- package/dist/esm/instant-apps-header.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +16 -21
- 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 +8 -8
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +10 -10
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +8 -7
- package/dist/esm/instant-apps-landing-page.entry.js +3 -2
- package/dist/esm/instant-apps-language-switcher.entry.js +11 -10
- package/dist/esm/instant-apps-language-translator.entry.js +11 -10
- package/dist/esm/instant-apps-measurement.entry.js +8 -7
- package/dist/esm/instant-apps-popover.entry.js +8 -7
- package/dist/esm/instant-apps-popovers.entry.js +3 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +8 -7
- package/dist/esm/instant-apps-sign-in.entry.js +8 -7
- package/dist/esm/instant-apps-splash.entry.js +8 -7
- package/dist/{solutions-components/languageSwitcher-35db9d61.js → esm/languageSwitcher-9db90f1e.js} +1 -1
- package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
- package/dist/esm/layout-manager.entry.js +6 -6
- package/dist/esm/list-flow-item.entry.js +3 -2
- package/dist/{solutions-components/loadModules-4d6cf31f.js → esm/loadModules-03ba7abe.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-4dc2b896.js → locale-7becb9cd.js} +1 -1
- package/dist/esm/{locale-b4e7d56f.js → locale-d66155ee.js} +2 -2
- package/dist/esm/location-flow-item.entry.js +3 -2
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/pci-calculator.entry.js +3 -2
- package/dist/esm/{popupUtils-600a3c69.js → popupUtils-7b7851ca.js} +2 -2
- package/dist/esm/public-notification.entry.js +12 -12
- package/dist/esm/refine-results-flow-item.entry.js +3 -2
- package/dist/esm/share-item.entry.js +3 -2
- package/dist/esm/solution-configuration.entry.js +1096 -11
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-item-icon.entry.js +3 -2
- package/dist/esm/solutions-components.js +6 -33
- package/dist/esm/spatial-ref.entry.js +8 -8
- package/dist/esm/store-manager.entry.js +7 -6
- package/dist/esm/{utils-5ac53499.js → utils-8519a5f7.js} +1 -1
- package/dist/solutions-components/index.esm.js +0 -15
- package/dist/solutions-components/p-01ac1582.entry.js +6 -0
- package/dist/solutions-components/{p-c20f6a4b.entry.js → p-0fce578a.entry.js} +1 -1
- package/dist/solutions-components/{p-4cb18849.entry.js → p-16aa396b.entry.js} +1 -1
- package/dist/solutions-components/{p-58aca46f.entry.js → p-1977a2f2.entry.js} +1 -1
- package/dist/solutions-components/{p-da89f8f3.entry.js → p-1a137b52.entry.js} +1 -1
- package/dist/solutions-components/{p-427b4593.js → p-1c64264d.js} +1 -1
- package/dist/solutions-components/{p-702a8e9c.entry.js → p-250c058f.entry.js} +1 -1
- package/dist/solutions-components/{p-4dc6dcc4.entry.js → p-258356f9.entry.js} +1 -1
- package/dist/solutions-components/{p-36eaeb25.entry.js → p-266b0f36.entry.js} +1 -1
- package/dist/solutions-components/{p-274f2c44.entry.js → p-268484ad.entry.js} +1 -1
- package/dist/solutions-components/{p-4b6b0bcf.entry.js → p-28361110.entry.js} +1 -1
- package/dist/solutions-components/{p-c742acd9.js → p-2fc63144.js} +1 -1
- package/dist/solutions-components/{p-4b740dbc.entry.js → p-38283c63.entry.js} +1 -1
- package/dist/solutions-components/{p-66a59698.entry.js → p-461a5633.entry.js} +1 -1
- package/dist/solutions-components/{p-ab24cecd.entry.js → p-46264ced.entry.js} +1 -1
- package/dist/solutions-components/{p-65581d83.js → p-4cd4cb85.js} +1 -1
- package/dist/solutions-components/{p-37481a7e.js → p-4facfedc.js} +1 -1
- package/dist/solutions-components/{p-88ebb067.js → p-596d1177.js} +1 -1
- package/dist/solutions-components/{p-d7aa16de.entry.js → p-5f636f70.entry.js} +1 -1
- package/dist/solutions-components/{p-6011f232.entry.js → p-6c7aa9b7.entry.js} +1 -1
- package/dist/solutions-components/{p-6c822b5a.entry.js → p-71131fea.entry.js} +1 -1
- package/dist/solutions-components/{p-09ea5380.entry.js → p-7348871e.entry.js} +1 -1
- package/dist/solutions-components/{p-4fb8dbdb.entry.js → p-736dee44.entry.js} +1 -1
- package/dist/solutions-components/{p-f1e44c41.js → p-75d5dfad.js} +2 -2
- package/dist/solutions-components/{p-cebae8b0.entry.js → p-77d55329.entry.js} +1 -1
- package/dist/solutions-components/{p-0b2a84bd.entry.js → p-89333ced.entry.js} +1 -1
- package/dist/solutions-components/{p-72268284.entry.js → p-8c1f9b20.entry.js} +1 -1
- package/dist/solutions-components/{p-9946b88e.entry.js → p-8db0af91.entry.js} +1 -1
- package/dist/solutions-components/{p-0424696b.entry.js → p-8ebe19ed.entry.js} +1 -1
- package/dist/solutions-components/{p-f2832661.entry.js → p-90d3eeb2.entry.js} +1 -1
- package/dist/solutions-components/{p-1b67b3e2.entry.js → p-9238c1ed.entry.js} +1 -1
- package/dist/solutions-components/{p-19f6ceaf.entry.js → p-93d98ebb.entry.js} +1 -1
- package/dist/solutions-components/{p-c9c97215.entry.js → p-957d275c.entry.js} +1 -1
- package/dist/solutions-components/{p-36ca2014.entry.js → p-9e1c97b0.entry.js} +1 -1
- package/dist/solutions-components/{p-30df83ea.js → p-9f2a0621.js} +1 -1
- package/dist/solutions-components/{p-cd56bd9d.entry.js → p-a26763d2.entry.js} +1 -1
- package/dist/solutions-components/{p-4ffe4d32.entry.js → p-a80c076e.entry.js} +1 -1
- package/dist/solutions-components/{p-67e06dfc.js → p-a84590db.js} +1 -1
- package/dist/solutions-components/{p-3e84a420.entry.js → p-ab2adcaf.entry.js} +1 -1
- package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
- package/dist/solutions-components/{p-73c535f7.entry.js → p-b2846de4.entry.js} +2 -2
- package/dist/solutions-components/{p-6be3c158.entry.js → p-b323bb0e.entry.js} +1 -1
- package/dist/solutions-components/{p-24f7ec82.entry.js → p-b65d5c58.entry.js} +1 -1
- package/dist/solutions-components/{p-296174a0.entry.js → p-c3d61142.entry.js} +1 -1
- package/dist/solutions-components/{p-60b4309f.entry.js → p-ce1b52e7.entry.js} +1 -1
- package/dist/solutions-components/{p-f90f7437.js → p-d36fae45.js} +1 -1
- package/dist/solutions-components/{p-69fb3157.entry.js → p-e1dbe7cf.entry.js} +1 -1
- package/dist/solutions-components/{p-2b430d5f.entry.js → p-edead891.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.css +1 -84
- package/dist/solutions-components/solutions-components.esm.js +1 -48
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +11 -11
- package/dist/cjs/ExpandToggle-4bf8ab4c.js +0 -118
- package/dist/cjs/FloatingArrow-0900fae3.js +0 -50
- package/dist/cjs/Heading-6f44a694.js +0 -25
- package/dist/cjs/InitiativeUiSchemaEdit-108652db.js +0 -28
- package/dist/cjs/ProjectUiSchemaCreate-c1cbccc7.js +0 -126
- package/dist/cjs/ProjectUiSchemaEdit-d5f11c17.js +0 -178
- package/dist/cjs/Validation-080a7842.js +0 -20
- package/dist/cjs/_commonjsHelpers-2dd87068.js +0 -43
- package/dist/cjs/app-globals-24367c32.js +0 -69
- package/dist/cjs/ar-a6ccf8f4.js +0 -105
- package/dist/cjs/basemap-gallery.cjs.entry.js +0 -121
- package/dist/cjs/bg-e6b1b515.js +0 -83
- package/dist/cjs/browser-1bf2a3d9.js +0 -28
- package/dist/cjs/bs-4151b94c.js +0 -52
- package/dist/cjs/buffer-tools.cjs.entry.js +0 -257
- package/dist/cjs/ca-1744d62a.js +0 -72
- package/dist/cjs/calcite-action-menu.cjs.entry.js +0 -292
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -169
- package/dist/cjs/calcite-action.cjs.entry.js +0 -191
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -322
- package/dist/cjs/calcite-avatar.cjs.entry.js +0 -150
- package/dist/cjs/calcite-block.cjs.entry.js +0 -214
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -282
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -274
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -99
- package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -145
- package/dist/cjs/calcite-combobox.cjs.entry.js +0 -1141
- package/dist/cjs/calcite-date-picker-day.cjs.entry.js +0 -112
- package/dist/cjs/calcite-date-picker-month-header.cjs.entry.js +0 -207
- package/dist/cjs/calcite-date-picker-month.cjs.entry.js +0 -359
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -459
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -85
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -188
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -426
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -182
- package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -198
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -153
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -206
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -757
- package/dist/cjs/calcite-input-message.cjs.entry.js +0 -69
- package/dist/cjs/calcite-input-time-picker-f8adb5d5.js +0 -1867
- package/dist/cjs/calcite-input.cjs.entry.js +0 -709
- package/dist/cjs/calcite-list-item.cjs.entry.js +0 -456
- package/dist/cjs/calcite-list.cjs.entry.js +0 -560
- package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +0 -72
- package/dist/cjs/calcite-option.cjs.entry.js +0 -88
- package/dist/cjs/calcite-panel.cjs.entry.js +0 -270
- package/dist/cjs/calcite-popover.cjs.entry.js +0 -419
- package/dist/cjs/calcite-progress.cjs.entry.js +0 -41
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -125
- package/dist/cjs/calcite-segmented-control-item.cjs.entry.js +0 -70
- package/dist/cjs/calcite-segmented-control.cjs.entry.js +0 -258
- package/dist/cjs/calcite-select.cjs.entry.js +0 -248
- package/dist/cjs/calcite-shell-panel.cjs.entry.js +0 -414
- package/dist/cjs/calcite-shell.cjs.entry.js +0 -174
- package/dist/cjs/calcite-slider.cjs.entry.js +0 -874
- package/dist/cjs/calcite-stack.cjs.entry.js +0 -74
- package/dist/cjs/calcite-tab-nav.cjs.entry.js +0 -470
- package/dist/cjs/calcite-tab-title.cjs.entry.js +0 -291
- package/dist/cjs/calcite-tab.cjs.entry.js +0 -112
- package/dist/cjs/calcite-table-cell.cjs.entry.js +0 -166
- package/dist/cjs/calcite-table-header.cjs.entry.js +0 -183
- package/dist/cjs/calcite-tabs.cjs.entry.js +0 -178
- package/dist/cjs/calcite-tree-item.cjs.entry.js +0 -298
- package/dist/cjs/calcite-tree.cjs.entry.js +0 -315
- package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -157
- package/dist/cjs/calcite-value-list.cjs.entry.js +0 -325
- package/dist/cjs/card-manager.cjs.entry.js +0 -107
- package/dist/cjs/common-f5cf368e.js +0 -297
- package/dist/cjs/conditionalSlot-013ea8f1.js +0 -54
- package/dist/cjs/core-23721ec5.js +0 -329
- package/dist/cjs/create-feature.cjs.entry.js +0 -411
- package/dist/cjs/create-related-feature.cjs.entry.js +0 -288
- package/dist/cjs/cs-865bf9fc.js +0 -148
- package/dist/cjs/da-ec3cbd7d.js +0 -67
- package/dist/cjs/date-86802e0d.js +0 -261
- package/dist/cjs/de-at-33e63cf4.js +0 -91
- package/dist/cjs/de-ch-41c31254.js +0 -91
- package/dist/cjs/de-d2010af8.js +0 -92
- package/dist/cjs/delete-button.cjs.entry.js +0 -150
- package/dist/cjs/dom-3f868a04.js +0 -1174
- package/dist/cjs/downloadUtils-3f3ba92b.js +0 -4247
- package/dist/cjs/edit-card.cjs.entry.js +0 -228
- package/dist/cjs/el-694f3f53.js +0 -67
- package/dist/cjs/en-au-ee52aa15.js +0 -67
- package/dist/cjs/en-ca-f397253b.js +0 -66
- package/dist/cjs/en-gb-e38f2064.js +0 -70
- package/dist/cjs/es-1f31784e.js +0 -67
- package/dist/cjs/es-mx-e039dd38.js +0 -66
- package/dist/cjs/esri-loader-9b0ce1a4.js +0 -310
- package/dist/cjs/et-ab75e5bf.js +0 -93
- package/dist/cjs/feature-details.cjs.entry.js +0 -385
- package/dist/cjs/fi-ac75e6d2.js +0 -116
- package/dist/cjs/filter-bafcd70b.js +0 -48
- package/dist/cjs/floating-ui-87c9e9ed.js +0 -2377
- package/dist/cjs/floor-filter.cjs.entry.js +0 -153
- package/dist/cjs/focusTrapComponent-5195d563.js +0 -1028
- package/dist/cjs/form-067ee7bc.js +0 -381
- package/dist/cjs/fr-a10ffff6.js +0 -69
- package/dist/cjs/fr-ch-596ab83d.js +0 -67
- package/dist/cjs/he-bce2e0f6.js +0 -106
- package/dist/cjs/helpers-d91ad1d6.js +0 -864
- package/dist/cjs/hi-22d77acf.js +0 -66
- package/dist/cjs/hr-9a468bd9.js +0 -81
- package/dist/cjs/html2canvas-06585c20.js +0 -7852
- package/dist/cjs/hu-9722b179.js +0 -89
- package/dist/cjs/id-426a7d98.js +0 -67
- package/dist/cjs/index-25afe4b8.js +0 -1972
- package/dist/cjs/index-62dddc18.js +0 -3038
- package/dist/cjs/index-bf47f22d.js +0 -41718
- package/dist/cjs/index-e6154163.js +0 -201
- package/dist/cjs/index.es-bf2a62d8.js +0 -11678
- package/dist/cjs/info-card.cjs.entry.js +0 -367
- package/dist/cjs/instant-apps-ckeditor-wrapper.cjs.entry.js +0 -125
- package/dist/cjs/instant-apps-filter-list.cjs.entry.js +0 -1067
- package/dist/cjs/instant-apps-interactive-legend-count.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element.cjs.entry.js +0 -56
- package/dist/cjs/instant-apps-interactive-legend-layer-element-caption.cjs.entry.js +0 -55
- package/dist/cjs/instant-apps-interactive-legend-layer-element.cjs.entry.js +0 -57
- package/dist/cjs/instant-apps-interactive-legend-legend-element-caption.cjs.entry.js +0 -104
- package/dist/cjs/instant-apps-interactive-legend-legend-element.cjs.entry.js +0 -65
- package/dist/cjs/instant-apps-interactive-legend-relationship.cjs.entry.js +0 -552
- package/dist/cjs/instant-apps-language-translator-item.cjs.entry.js +0 -384
- package/dist/cjs/instant-apps-language-translator-search.cjs.entry.js +0 -105
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +0 -139
- package/dist/cjs/instant-apps-social-share.cjs.entry.js +0 -520
- package/dist/cjs/interactive-f8825052.js +0 -154
- package/dist/cjs/it-b310ed48.js +0 -67
- package/dist/cjs/it-ch-804be2a9.js +0 -67
- package/dist/cjs/ja-fd61ab26.js +0 -73
- package/dist/cjs/json-editor.cjs.entry.js +0 -406
- package/dist/cjs/key-620e0822.js +0 -47
- package/dist/cjs/ko-a799f42d.js +0 -73
- package/dist/cjs/label-f71c85c6.js +0 -186
- package/dist/cjs/languageSwitcher-8209c73c.js +0 -60
- package/dist/cjs/languageUtil-a615ee13.js +0 -90
- package/dist/cjs/layer-list.cjs.entry.js +0 -197
- package/dist/cjs/layer-table.cjs.entry.js +0 -1562
- package/dist/cjs/loadModules-36d49819.js +0 -23
- package/dist/cjs/loadModules-e03cf23a.js +0 -30
- package/dist/cjs/loadable-68a22656.js +0 -97
- package/dist/cjs/locale-708985a1.js +0 -91
- package/dist/cjs/locale-898d043a.js +0 -152
- package/dist/cjs/locale-cfa79214.js +0 -585
- package/dist/cjs/lodash-7587da9f.js +0 -18030
- package/dist/cjs/lt-0508a01d.js +0 -98
- package/dist/cjs/lv-d8f83e7a.js +0 -67
- package/dist/cjs/map-card.cjs.entry.js +0 -231
- package/dist/cjs/map-draw-tools.cjs.entry.js +0 -358
- package/dist/cjs/map-fullscreen.cjs.entry.js +0 -116
- package/dist/cjs/map-layer-picker.cjs.entry.js +0 -346
- package/dist/cjs/map-legend.cjs.entry.js +0 -109
- package/dist/cjs/map-picker.cjs.entry.js +0 -174
- package/dist/cjs/map-search.cjs.entry.js +0 -184
- package/dist/cjs/map-select-tools.cjs.entry.js +0 -798
- package/dist/cjs/map-tools.cjs.entry.js +0 -375
- package/dist/cjs/mapViewUtils-83bc7d78.js +0 -295
- package/dist/cjs/mk-475a7a99.js +0 -67
- package/dist/cjs/mode-a52277fc.js +0 -27
- package/dist/cjs/nb-92a9acc8.js +0 -68
- package/dist/cjs/nl-ea0f033c.js +0 -68
- package/dist/cjs/observers-682136dc.js +0 -58
- package/dist/cjs/openCloseComponent-2fdcb310.js +0 -140
- package/dist/cjs/parser-08a36734.js +0 -1648
- package/dist/cjs/pdf-download.cjs.entry.js +0 -359
- package/dist/cjs/pl-05a4b5a1.js +0 -115
- package/dist/cjs/popupUtils-e6a2131f.js +0 -111
- package/dist/cjs/pt-8fe24b18.js +0 -68
- package/dist/cjs/pt-br-eba3aab9.js +0 -66
- package/dist/cjs/publicNotificationStore-ce215887.js +0 -47
- package/dist/cjs/purify-d00d4598.js +0 -1719
- package/dist/cjs/queryUtils-ad516c97.js +0 -283
- package/dist/cjs/refine-selection.cjs.entry.js +0 -412
- package/dist/cjs/resources-09a78a36.js +0 -30
- package/dist/cjs/resources-13ca5745.js +0 -116
- package/dist/cjs/resources-3855f743.js +0 -53
- package/dist/cjs/resources-921affcb.js +0 -49
- package/dist/cjs/resources-c241718f.js +0 -29
- package/dist/cjs/ro-c92cb77e.js +0 -67
- package/dist/cjs/ru-273dc1dc.js +0 -127
- package/dist/cjs/shadow-css-64ff22a6.js +0 -363
- package/dist/cjs/shared-list-render-a3a4e5db.js +0 -370
- package/dist/cjs/sk-f0fb5cd7.js +0 -149
- package/dist/cjs/sl-3bc46f93.js +0 -169
- package/dist/cjs/solution-contents.cjs.entry.js +0 -84
- package/dist/cjs/solution-item-details.cjs.entry.js +0 -199
- package/dist/cjs/solution-item-sharing.cjs.entry.js +0 -139
- package/dist/cjs/solution-item.cjs.entry.js +0 -106
- package/dist/cjs/solution-organization-variables.cjs.entry.js +0 -95
- package/dist/cjs/solution-resource-item.cjs.entry.js +0 -284
- package/dist/cjs/solution-spatial-ref.cjs.entry.js +0 -168
- package/dist/cjs/solution-store-cef42401.js +0 -587
- package/dist/cjs/solution-template-data.cjs.entry.js +0 -119
- package/dist/cjs/solution-variables.cjs.entry.js +0 -107
- package/dist/cjs/sortableComponent-b1be22c5.js +0 -3444
- package/dist/cjs/sr-ae040dc3.js +0 -102
- package/dist/cjs/store-3ba88099.js +0 -91
- package/dist/cjs/sv-769838ef.js +0 -72
- package/dist/cjs/t9n-0f4446d0.js +0 -103
- package/dist/cjs/templates-19d0e370.js +0 -442
- package/dist/cjs/th-9b569ee1.js +0 -66
- package/dist/cjs/time-5eec06fe.js +0 -289
- package/dist/cjs/tr-9cc6c813.js +0 -67
- package/dist/cjs/uk-c549303a.js +0 -105
- package/dist/cjs/utils-05355ba0.js +0 -64
- package/dist/cjs/utils-3128e748.js +0 -226
- package/dist/cjs/utils-4ad2f4f2.js +0 -68
- package/dist/cjs/utils-589c9301.js +0 -142
- package/dist/cjs/utils-70b0604a.js +0 -52
- package/dist/cjs/vi-e4806300.js +0 -71
- package/dist/cjs/zh-cn-e13c7902.js +0 -95
- package/dist/cjs/zh-hk-2d4440e3.js +0 -72
- package/dist/cjs/zh-tw-d9c5da28.js +0 -93
- package/dist/components/InitiativeUiSchemaEdit.js +0 -26
- package/dist/components/ProjectUiSchemaCreate.js +0 -122
- package/dist/components/ProjectUiSchemaEdit.js +0 -176
- package/dist/components/index7.js +0 -71
- package/dist/components/lodash.js +0 -18025
- package/dist/components/parser.js +0 -1646
- package/dist/esm/ExpandToggle-cb895a2c.js +0 -110
- package/dist/esm/FloatingArrow-636ce2ee.js +0 -48
- package/dist/esm/Heading-baf4a991.js +0 -22
- package/dist/esm/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/esm/ProjectUiSchemaCreate-9fb110ea.js +0 -124
- package/dist/esm/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/esm/Validation-b3331c79.js +0 -18
- package/dist/esm/_commonjsHelpers-9cd17aec.js +0 -39
- package/dist/esm/app-globals-97f5814f.js +0 -67
- package/dist/esm/ar-6236d364.js +0 -103
- package/dist/esm/basemap-gallery.entry.js +0 -117
- package/dist/esm/bg-498492ff.js +0 -81
- package/dist/esm/browser-920df963.js +0 -26
- package/dist/esm/bs-60412b06.js +0 -50
- package/dist/esm/buffer-tools.entry.js +0 -253
- package/dist/esm/ca-7844b785.js +0 -70
- package/dist/esm/calcite-action-menu.entry.js +0 -288
- package/dist/esm/calcite-action-pad.entry.js +0 -165
- package/dist/esm/calcite-action.entry.js +0 -187
- package/dist/esm/calcite-alert.entry.js +0 -318
- package/dist/esm/calcite-avatar.entry.js +0 -146
- package/dist/esm/calcite-block.entry.js +0 -210
- package/dist/esm/calcite-chip.entry.js +0 -278
- package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/esm/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/esm/calcite-combobox-item.entry.js +0 -141
- package/dist/esm/calcite-combobox.entry.js +0 -1137
- package/dist/esm/calcite-date-picker-day.entry.js +0 -108
- package/dist/esm/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/esm/calcite-date-picker-month.entry.js +0 -355
- package/dist/esm/calcite-date-picker.entry.js +0 -455
- package/dist/esm/calcite-dropdown-group.entry.js +0 -81
- package/dist/esm/calcite-dropdown-item.entry.js +0 -184
- package/dist/esm/calcite-dropdown.entry.js +0 -422
- package/dist/esm/calcite-filter.entry.js +0 -178
- package/dist/esm/calcite-flow-item.entry.js +0 -194
- package/dist/esm/calcite-flow.entry.js +0 -149
- package/dist/esm/calcite-graph.entry.js +0 -222
- package/dist/esm/calcite-handle.entry.js +0 -202
- package/dist/esm/calcite-input-date-picker.entry.js +0 -753
- package/dist/esm/calcite-input-message.entry.js +0 -65
- package/dist/esm/calcite-input-time-picker-c336a83c.js +0 -1864
- package/dist/esm/calcite-input.entry.js +0 -705
- package/dist/esm/calcite-list-item.entry.js +0 -452
- package/dist/esm/calcite-list.entry.js +0 -556
- package/dist/esm/calcite-loader.entry.js +0 -76
- package/dist/esm/calcite-navigation-user.entry.js +0 -68
- package/dist/esm/calcite-option.entry.js +0 -84
- package/dist/esm/calcite-panel.entry.js +0 -266
- package/dist/esm/calcite-popover.entry.js +0 -415
- package/dist/esm/calcite-progress.entry.js +0 -37
- package/dist/esm/calcite-scrim.entry.js +0 -121
- package/dist/esm/calcite-segmented-control-item.entry.js +0 -66
- package/dist/esm/calcite-segmented-control.entry.js +0 -254
- package/dist/esm/calcite-select.entry.js +0 -244
- package/dist/esm/calcite-shell-panel.entry.js +0 -410
- package/dist/esm/calcite-shell.entry.js +0 -170
- package/dist/esm/calcite-slider.entry.js +0 -870
- package/dist/esm/calcite-stack.entry.js +0 -70
- package/dist/esm/calcite-tab-nav.entry.js +0 -466
- package/dist/esm/calcite-tab-title.entry.js +0 -287
- package/dist/esm/calcite-tab.entry.js +0 -108
- package/dist/esm/calcite-table-cell.entry.js +0 -162
- package/dist/esm/calcite-table-header.entry.js +0 -179
- package/dist/esm/calcite-tabs.entry.js +0 -174
- package/dist/esm/calcite-tree-item.entry.js +0 -294
- package/dist/esm/calcite-tree.entry.js +0 -311
- package/dist/esm/calcite-value-list-item.entry.js +0 -153
- package/dist/esm/calcite-value-list.entry.js +0 -321
- package/dist/esm/card-manager.entry.js +0 -103
- package/dist/esm/common-17d5568a.js +0 -295
- package/dist/esm/conditionalSlot-937057aa.js +0 -51
- package/dist/esm/core-a0d3cc0e.js +0 -324
- package/dist/esm/create-feature.entry.js +0 -407
- package/dist/esm/create-related-feature.entry.js +0 -284
- package/dist/esm/cs-be3aa1ae.js +0 -146
- package/dist/esm/da-5a58f3f2.js +0 -65
- package/dist/esm/date-a63e8e28.js +0 -245
- package/dist/esm/de-at-780d22a4.js +0 -89
- package/dist/esm/de-ch-5cf4813a.js +0 -89
- package/dist/esm/de-d041f0a0.js +0 -90
- package/dist/esm/delete-button.entry.js +0 -146
- package/dist/esm/dom-1f06a111.js +0 -1141
- package/dist/esm/downloadUtils-238038d2.js +0 -4240
- package/dist/esm/edit-card.entry.js +0 -224
- package/dist/esm/el-7c6af41a.js +0 -65
- package/dist/esm/en-au-dd7a3ee4.js +0 -65
- package/dist/esm/en-ca-4b21b3cd.js +0 -64
- package/dist/esm/en-gb-6ab000e3.js +0 -68
- package/dist/esm/es-1fd84773.js +0 -65
- package/dist/esm/es-mx-b82367c3.js +0 -64
- package/dist/esm/esri-loader-5bf2f164.js +0 -308
- package/dist/esm/et-08a0e4a8.js +0 -91
- package/dist/esm/feature-details.entry.js +0 -381
- package/dist/esm/fi-fe995ecb.js +0 -114
- package/dist/esm/filter-e3e2b01f.js +0 -46
- package/dist/esm/floating-ui-112e26aa.js +0 -2369
- package/dist/esm/floor-filter.entry.js +0 -149
- package/dist/esm/focusTrapComponent-fb975f9c.js +0 -1023
- package/dist/esm/form-cd789357.js +0 -372
- package/dist/esm/fr-aed06af0.js +0 -67
- package/dist/esm/fr-ch-a9d10a0f.js +0 -65
- package/dist/esm/he-a0a1731e.js +0 -104
- package/dist/esm/helpers-457bbf66.js +0 -840
- package/dist/esm/hi-ae48041a.js +0 -64
- package/dist/esm/hr-2ae1f998.js +0 -79
- package/dist/esm/html2canvas-88d6eded.js +0 -7850
- package/dist/esm/hu-2615f261.js +0 -87
- package/dist/esm/id-598e1355.js +0 -65
- package/dist/esm/index-0eecd45f.js +0 -2998
- package/dist/esm/index-8b8db9ba.js +0 -1970
- package/dist/esm/index-a879e1d6.js +0 -41699
- package/dist/esm/index-b1418e2a.js +0 -199
- package/dist/esm/index.es-e2310dbf.js +0 -11591
- package/dist/esm/info-card.entry.js +0 -363
- package/dist/esm/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/esm/instant-apps-filter-list.entry.js +0 -1063
- package/dist/esm/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/esm/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/esm/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/esm/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/esm/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/esm/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/esm/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/esm/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/esm/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/esm/instant-apps-social-share.entry.js +0 -516
- package/dist/esm/interactive-179483f5.js +0 -149
- package/dist/esm/it-56a44209.js +0 -65
- package/dist/esm/it-ch-8fd9abf4.js +0 -65
- package/dist/esm/ja-66007f4d.js +0 -71
- package/dist/esm/json-editor.entry.js +0 -402
- package/dist/esm/key-15222297.js +0 -44
- package/dist/esm/ko-2e3b9aa8.js +0 -71
- package/dist/esm/label-c34ec0cf.js +0 -179
- package/dist/esm/languageSwitcher-35db9d61.js +0 -57
- package/dist/esm/languageSwitcher-b665499d.js +0 -57
- package/dist/esm/languageUtil-83ed2742.js +0 -87
- package/dist/esm/layer-list.entry.js +0 -193
- package/dist/esm/layer-table.entry.js +0 -1558
- package/dist/esm/loadModules-18662c29.js +0 -28
- package/dist/esm/loadModules-4d6cf31f.js +0 -21
- package/dist/esm/loadModules-9c062d08.js +0 -21
- package/dist/esm/loadable-5f2ac40f.js +0 -92
- package/dist/esm/locale-1b4d548e.js +0 -572
- package/dist/esm/locale-448ea937.js +0 -148
- package/dist/esm/locale-f1dd2532.js +0 -86
- package/dist/esm/lodash-98e4b7d0.js +0 -18025
- package/dist/esm/lt-2a6a8e94.js +0 -96
- package/dist/esm/lv-8b3c01bb.js +0 -65
- package/dist/esm/map-card.entry.js +0 -227
- package/dist/esm/map-draw-tools.entry.js +0 -354
- package/dist/esm/map-fullscreen.entry.js +0 -112
- package/dist/esm/map-layer-picker.entry.js +0 -342
- package/dist/esm/map-legend.entry.js +0 -105
- package/dist/esm/map-picker.entry.js +0 -170
- package/dist/esm/map-search.entry.js +0 -180
- package/dist/esm/map-select-tools.entry.js +0 -794
- package/dist/esm/map-tools.entry.js +0 -371
- package/dist/esm/mapViewUtils-d4946a31.js +0 -284
- package/dist/esm/mk-428c21bd.js +0 -65
- package/dist/esm/mode-e7b9fabb.js +0 -25
- package/dist/esm/nb-67929ffe.js +0 -66
- package/dist/esm/nl-954b9062.js +0 -66
- package/dist/esm/observers-81ed4977.js +0 -56
- package/dist/esm/openCloseComponent-739f40b7.js +0 -138
- package/dist/esm/parser-a682fcdf.js +0 -1646
- package/dist/esm/pdf-download.entry.js +0 -355
- package/dist/esm/pl-eba736c7.js +0 -113
- package/dist/esm/popupUtils-c60ca656.js +0 -109
- package/dist/esm/pt-br-ed6f0302.js +0 -64
- package/dist/esm/pt-e6518f49.js +0 -66
- package/dist/esm/publicNotificationStore-59732134.js +0 -45
- package/dist/esm/purify-ed095e80.js +0 -1717
- package/dist/esm/queryUtils-2ee0f383.js +0 -274
- package/dist/esm/refine-selection.entry.js +0 -408
- package/dist/esm/resources-092fef68.js +0 -106
- package/dist/esm/resources-66978311.js +0 -26
- package/dist/esm/resources-be0262db.js +0 -45
- package/dist/esm/resources-be5a6557.js +0 -26
- package/dist/esm/resources-ec5198da.js +0 -49
- package/dist/esm/ro-cb3c8995.js +0 -65
- package/dist/esm/ru-dd440634.js +0 -125
- package/dist/esm/shadow-css-15628d22.js +0 -361
- package/dist/esm/shared-list-render-a787615a.js +0 -348
- package/dist/esm/sk-a8db2217.js +0 -147
- package/dist/esm/sl-f798a76e.js +0 -167
- package/dist/esm/solution-contents.entry.js +0 -80
- package/dist/esm/solution-item-details.entry.js +0 -195
- package/dist/esm/solution-item-sharing.entry.js +0 -135
- package/dist/esm/solution-item.entry.js +0 -102
- package/dist/esm/solution-organization-variables.entry.js +0 -91
- package/dist/esm/solution-resource-item.entry.js +0 -280
- package/dist/esm/solution-spatial-ref.entry.js +0 -164
- package/dist/esm/solution-store-5a6cf181.js +0 -585
- package/dist/esm/solution-template-data.entry.js +0 -115
- package/dist/esm/solution-variables.entry.js +0 -103
- package/dist/esm/sortableComponent-ee74aef6.js +0 -3440
- package/dist/esm/sr-342a663a.js +0 -100
- package/dist/esm/store-b2b2565a.js +0 -87
- package/dist/esm/sv-84670dbd.js +0 -70
- package/dist/esm/t9n-2df2d559.js +0 -98
- package/dist/esm/templates-335c6b6f.js +0 -436
- package/dist/esm/th-a9c8533d.js +0 -64
- package/dist/esm/time-d753f161.js +0 -274
- package/dist/esm/tr-c2cc2873.js +0 -65
- package/dist/esm/uk-906a1eb0.js +0 -103
- package/dist/esm/utils-2c8108af.js +0 -133
- package/dist/esm/utils-580e77c3.js +0 -208
- package/dist/esm/utils-9aa96070.js +0 -61
- package/dist/esm/utils-ab48a0d6.js +0 -47
- package/dist/esm/utils-f96adae4.js +0 -57
- package/dist/esm/vi-7b43fafd.js +0 -69
- package/dist/esm/zh-cn-c19f2858.js +0 -93
- package/dist/esm/zh-hk-f212412d.js +0 -70
- package/dist/esm/zh-tw-be3a4302.js +0 -91
- package/dist/solutions-components/ExpandToggle-cb895a2c.js +0 -110
- package/dist/solutions-components/FloatingArrow-636ce2ee.js +0 -48
- package/dist/solutions-components/Heading-baf4a991.js +0 -22
- package/dist/solutions-components/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/solutions-components/ProjectUiSchemaCreate-9fb110ea.js +0 -124
- package/dist/solutions-components/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/solutions-components/Validation-b3331c79.js +0 -18
- package/dist/solutions-components/_commonjsHelpers-9cd17aec.js +0 -39
- package/dist/solutions-components/app-globals-97f5814f.js +0 -67
- package/dist/solutions-components/ar-6236d364.js +0 -103
- package/dist/solutions-components/arcgis-login.entry.js +0 -56
- package/dist/solutions-components/array-2604a55d.js +0 -15
- package/dist/solutions-components/basemap-gallery.entry.js +0 -117
- package/dist/solutions-components/bg-498492ff.js +0 -81
- package/dist/solutions-components/breakpoints-3afa0fd9.js +0 -15
- package/dist/solutions-components/browser-920df963.js +0 -26
- package/dist/solutions-components/bs-60412b06.js +0 -50
- package/dist/solutions-components/buffer-tools.entry.js +0 -253
- package/dist/solutions-components/ca-7844b785.js +0 -70
- package/dist/solutions-components/calcite-accordion-item.entry.js +0 -176
- package/dist/solutions-components/calcite-accordion.entry.js +0 -81
- package/dist/solutions-components/calcite-action-bar.entry.js +0 -252
- package/dist/solutions-components/calcite-action-group.entry.js +0 -112
- package/dist/solutions-components/calcite-action-menu.entry.js +0 -288
- package/dist/solutions-components/calcite-action-pad.entry.js +0 -165
- package/dist/solutions-components/calcite-action.entry.js +0 -187
- package/dist/solutions-components/calcite-alert.entry.js +0 -318
- package/dist/solutions-components/calcite-avatar.entry.js +0 -146
- package/dist/solutions-components/calcite-block-section.entry.js +0 -162
- package/dist/solutions-components/calcite-block.entry.js +0 -210
- package/dist/solutions-components/calcite-button.entry.js +0 -230
- package/dist/solutions-components/calcite-card-group.entry.js +0 -164
- package/dist/solutions-components/calcite-card.entry.js +0 -227
- package/dist/solutions-components/calcite-carousel-item.entry.js +0 -41
- package/dist/solutions-components/calcite-carousel.entry.js +0 -462
- package/dist/solutions-components/calcite-checkbox.entry.js +0 -147
- package/dist/solutions-components/calcite-chip-group.entry.js +0 -197
- package/dist/solutions-components/calcite-chip.entry.js +0 -278
- package/dist/solutions-components/calcite-color-picker-hex-input.entry.js +0 -270
- package/dist/solutions-components/calcite-color-picker-swatch.entry.js +0 -95
- package/dist/solutions-components/calcite-color-picker.entry.js +0 -923
- package/dist/solutions-components/calcite-combobox-item-group.entry.js +0 -56
- package/dist/solutions-components/calcite-combobox-item.entry.js +0 -141
- package/dist/solutions-components/calcite-combobox.entry.js +0 -1137
- package/dist/solutions-components/calcite-date-picker-day.entry.js +0 -108
- package/dist/solutions-components/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/solutions-components/calcite-date-picker-month.entry.js +0 -355
- package/dist/solutions-components/calcite-date-picker.entry.js +0 -455
- package/dist/solutions-components/calcite-dropdown-group.entry.js +0 -81
- package/dist/solutions-components/calcite-dropdown-item.entry.js +0 -184
- package/dist/solutions-components/calcite-dropdown.entry.js +0 -422
- package/dist/solutions-components/calcite-fab.entry.js +0 -90
- package/dist/solutions-components/calcite-filter.entry.js +0 -178
- package/dist/solutions-components/calcite-flow-item.entry.js +0 -194
- package/dist/solutions-components/calcite-flow.entry.js +0 -149
- package/dist/solutions-components/calcite-graph.entry.js +0 -222
- package/dist/solutions-components/calcite-handle.entry.js +0 -202
- package/dist/solutions-components/calcite-icon.entry.js +0 -179
- package/dist/solutions-components/calcite-inline-editable.entry.js +0 -253
- package/dist/solutions-components/calcite-input-date-picker.entry.js +0 -753
- package/dist/solutions-components/calcite-input-message.entry.js +0 -65
- package/dist/solutions-components/calcite-input-number.entry.js +0 -632
- package/dist/solutions-components/calcite-input-text.entry.js +0 -369
- package/dist/solutions-components/calcite-input-time-picker-c336a83c.js +0 -1864
- package/dist/solutions-components/calcite-input-time-picker.entry.js +0 -25
- package/dist/solutions-components/calcite-input-time-zone.entry.js +0 -373
- package/dist/solutions-components/calcite-input.entry.js +0 -705
- package/dist/solutions-components/calcite-label.entry.js +0 -67
- package/dist/solutions-components/calcite-link.entry.js +0 -108
- package/dist/solutions-components/calcite-list-item-group.entry.js +0 -66
- package/dist/solutions-components/calcite-list-item.entry.js +0 -452
- package/dist/solutions-components/calcite-list.entry.js +0 -556
- package/dist/solutions-components/calcite-loader.entry.js +0 -76
- package/dist/solutions-components/calcite-menu-item.entry.js +0 -284
- package/dist/solutions-components/calcite-menu.entry.js +0 -180
- package/dist/solutions-components/calcite-meter.entry.js +0 -332
- package/dist/solutions-components/calcite-modal.entry.js +0 -394
- package/dist/solutions-components/calcite-navigation-logo.entry.js +0 -92
- package/dist/solutions-components/calcite-navigation-user.entry.js +0 -68
- package/dist/solutions-components/calcite-navigation.entry.js +0 -166
- package/dist/solutions-components/calcite-notice.entry.js +0 -163
- package/dist/solutions-components/calcite-option-group.entry.js +0 -35
- package/dist/solutions-components/calcite-option.entry.js +0 -84
- package/dist/solutions-components/calcite-pagination.entry.js +0 -580
- package/dist/solutions-components/calcite-panel.entry.js +0 -266
- package/dist/solutions-components/calcite-pick-list-group.entry.js +0 -57
- package/dist/solutions-components/calcite-pick-list-item.entry.js +0 -193
- package/dist/solutions-components/calcite-pick-list.entry.js +0 -142
- package/dist/solutions-components/calcite-popover.entry.js +0 -415
- package/dist/solutions-components/calcite-progress.entry.js +0 -37
- package/dist/solutions-components/calcite-radio-button-group.entry.js +0 -141
- package/dist/solutions-components/calcite-radio-button.entry.js +0 -318
- package/dist/solutions-components/calcite-rating.entry.js +0 -261
- package/dist/solutions-components/calcite-scrim.entry.js +0 -121
- package/dist/solutions-components/calcite-segmented-control-item.entry.js +0 -66
- package/dist/solutions-components/calcite-segmented-control.entry.js +0 -254
- package/dist/solutions-components/calcite-select.entry.js +0 -244
- package/dist/solutions-components/calcite-sheet.entry.js +0 -223
- package/dist/solutions-components/calcite-shell-center-row.entry.js +0 -66
- package/dist/solutions-components/calcite-shell-panel.entry.js +0 -410
- package/dist/solutions-components/calcite-shell.entry.js +0 -170
- package/dist/solutions-components/calcite-slider.entry.js +0 -870
- package/dist/solutions-components/calcite-sortable-list.entry.js +0 -166
- package/dist/solutions-components/calcite-split-button.entry.js +0 -112
- package/dist/solutions-components/calcite-stack.entry.js +0 -70
- package/dist/solutions-components/calcite-stepper-item.entry.js +0 -237
- package/dist/solutions-components/calcite-stepper.entry.js +0 -336
- package/dist/solutions-components/calcite-switch.entry.js +0 -113
- package/dist/solutions-components/calcite-tab-nav.entry.js +0 -466
- package/dist/solutions-components/calcite-tab-title.entry.js +0 -287
- package/dist/solutions-components/calcite-tab.entry.js +0 -108
- package/dist/solutions-components/calcite-table-cell.entry.js +0 -162
- package/dist/solutions-components/calcite-table-header.entry.js +0 -179
- package/dist/solutions-components/calcite-table-row.entry.js +0 -259
- package/dist/solutions-components/calcite-table.entry.js +0 -323
- package/dist/solutions-components/calcite-tabs.entry.js +0 -174
- package/dist/solutions-components/calcite-text-area.entry.js +0 -302
- package/dist/solutions-components/calcite-tile-group.entry.js +0 -170
- package/dist/solutions-components/calcite-tile-select-group.entry.js +0 -39
- package/dist/solutions-components/calcite-tile-select.entry.js +0 -225
- package/dist/solutions-components/calcite-tile.entry.js +0 -197
- package/dist/solutions-components/calcite-time-picker.entry.js +0 -839
- package/dist/solutions-components/calcite-tip-group.entry.js +0 -21
- package/dist/solutions-components/calcite-tip-manager.entry.js +0 -227
- package/dist/solutions-components/calcite-tip.entry.js +0 -126
- package/dist/solutions-components/calcite-tooltip.entry.js +0 -431
- package/dist/solutions-components/calcite-tree-item.entry.js +0 -294
- package/dist/solutions-components/calcite-tree.entry.js +0 -311
- package/dist/solutions-components/calcite-value-list-item.entry.js +0 -153
- package/dist/solutions-components/calcite-value-list.entry.js +0 -321
- package/dist/solutions-components/card-manager.entry.js +0 -103
- package/dist/solutions-components/common-17d5568a.js +0 -295
- package/dist/solutions-components/component-960ddabf.js +0 -30
- package/dist/solutions-components/conditionalSlot-937057aa.js +0 -51
- package/dist/solutions-components/consent-manager.entry.js +0 -1099
- package/dist/solutions-components/core-a0d3cc0e.js +0 -324
- package/dist/solutions-components/create-feature.entry.js +0 -407
- package/dist/solutions-components/create-related-feature.entry.js +0 -284
- package/dist/solutions-components/crowdsource-manager.entry.js +0 -539
- package/dist/solutions-components/crowdsource-reporter.entry.js +0 -913
- package/dist/solutions-components/cs-be3aa1ae.js +0 -146
- package/dist/solutions-components/da-5a58f3f2.js +0 -65
- package/dist/solutions-components/date-a63e8e28.js +0 -245
- package/dist/solutions-components/de-at-780d22a4.js +0 -89
- package/dist/solutions-components/de-ch-5cf4813a.js +0 -89
- package/dist/solutions-components/de-d041f0a0.js +0 -90
- package/dist/solutions-components/deduct-calculator.entry.js +0 -101
- package/dist/solutions-components/delete-button.entry.js +0 -146
- package/dist/solutions-components/dom-1f06a111.js +0 -1141
- package/dist/solutions-components/downloadUtils-238038d2.js +0 -4240
- package/dist/solutions-components/edit-card.entry.js +0 -224
- package/dist/solutions-components/el-7c6af41a.js +0 -65
- package/dist/solutions-components/en-au-dd7a3ee4.js +0 -65
- package/dist/solutions-components/en-ca-4b21b3cd.js +0 -64
- package/dist/solutions-components/en-gb-6ab000e3.js +0 -68
- package/dist/solutions-components/es-1fd84773.js +0 -65
- package/dist/solutions-components/es-mx-b82367c3.js +0 -64
- package/dist/solutions-components/esri-loader-5bf2f164.js +0 -308
- package/dist/solutions-components/et-08a0e4a8.js +0 -91
- package/dist/solutions-components/feature-comments.entry.js +0 -56
- package/dist/solutions-components/feature-details.entry.js +0 -381
- package/dist/solutions-components/feature-form-flow-item.entry.js +0 -56
- package/dist/solutions-components/feature-list.entry.js +0 -301
- package/dist/solutions-components/features-flow-item.entry.js +0 -56
- package/dist/solutions-components/fi-fe995ecb.js +0 -114
- package/dist/solutions-components/filter-e3e2b01f.js +0 -46
- package/dist/solutions-components/floating-ui-112e26aa.js +0 -2369
- package/dist/solutions-components/floor-filter.entry.js +0 -149
- package/dist/solutions-components/focusTrapComponent-fb975f9c.js +0 -1023
- package/dist/solutions-components/form-cd789357.js +0 -372
- package/dist/solutions-components/fr-aed06af0.js +0 -67
- package/dist/solutions-components/fr-ch-a9d10a0f.js +0 -65
- package/dist/solutions-components/guid-f05d01d5.js +0 -24
- package/dist/solutions-components/he-a0a1731e.js +0 -104
- package/dist/solutions-components/helpers-457bbf66.js +0 -840
- package/dist/solutions-components/hi-ae48041a.js +0 -64
- package/dist/solutions-components/hr-2ae1f998.js +0 -79
- package/dist/solutions-components/html2canvas-88d6eded.js +0 -7850
- package/dist/solutions-components/hu-2615f261.js +0 -87
- package/dist/solutions-components/id-598e1355.js +0 -65
- package/dist/solutions-components/index-0eecd45f.js +0 -2998
- package/dist/solutions-components/index-5110a27a.js +0 -71
- package/dist/solutions-components/index-8b8db9ba.js +0 -1970
- package/dist/solutions-components/index-a1e91462.js +0 -2105
- package/dist/solutions-components/index-a879e1d6.js +0 -41699
- package/dist/solutions-components/index-b1418e2a.js +0 -199
- package/dist/solutions-components/index-d8ff08ed.js +0 -204
- package/dist/solutions-components/index.es-e2310dbf.js +0 -11591
- package/dist/solutions-components/info-card.entry.js +0 -363
- package/dist/solutions-components/input-96cf61a2.js +0 -58
- package/dist/solutions-components/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/solutions-components/instant-apps-control-panel.entry.js +0 -92
- package/dist/solutions-components/instant-apps-create.entry.js +0 -264
- package/dist/solutions-components/instant-apps-export-views.entry.js +0 -722
- package/dist/solutions-components/instant-apps-export.entry.js +0 -903
- package/dist/solutions-components/instant-apps-filter-list.entry.js +0 -1063
- package/dist/solutions-components/instant-apps-header.entry.js +0 -125
- package/dist/solutions-components/instant-apps-interactive-legend-classic.entry.js +0 -1616
- package/dist/solutions-components/instant-apps-interactive-legend-count.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element-caption.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
- package/dist/solutions-components/instant-apps-interactive-legend-layer-element.entry.js +0 -53
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
- package/dist/solutions-components/instant-apps-interactive-legend-legend-element.entry.js +0 -61
- package/dist/solutions-components/instant-apps-interactive-legend-relationship.entry.js +0 -548
- package/dist/solutions-components/instant-apps-interactive-legend.entry.js +0 -112
- package/dist/solutions-components/instant-apps-keyboard-shortcuts.entry.js +0 -139
- package/dist/solutions-components/instant-apps-landing-page.entry.js +0 -150
- package/dist/solutions-components/instant-apps-language-switcher.entry.js +0 -173
- package/dist/solutions-components/instant-apps-language-translator-item.entry.js +0 -380
- package/dist/solutions-components/instant-apps-language-translator-search.entry.js +0 -101
- package/dist/solutions-components/instant-apps-language-translator.entry.js +0 -286
- package/dist/solutions-components/instant-apps-measurement-tool.entry.js +0 -135
- package/dist/solutions-components/instant-apps-measurement.entry.js +0 -66
- package/dist/solutions-components/instant-apps-popover.entry.js +0 -74
- package/dist/solutions-components/instant-apps-popovers.entry.js +0 -88
- package/dist/solutions-components/instant-apps-scoreboard.entry.js +0 -463
- package/dist/solutions-components/instant-apps-sign-in.entry.js +0 -164
- package/dist/solutions-components/instant-apps-social-share.entry.js +0 -516
- package/dist/solutions-components/instant-apps-splash.entry.js +0 -144
- package/dist/solutions-components/interactive-179483f5.js +0 -149
- package/dist/solutions-components/interfaces-586e863c.js +0 -80
- package/dist/solutions-components/it-56a44209.js +0 -65
- package/dist/solutions-components/it-ch-8fd9abf4.js +0 -65
- package/dist/solutions-components/ja-66007f4d.js +0 -71
- package/dist/solutions-components/json-editor.entry.js +0 -402
- package/dist/solutions-components/key-15222297.js +0 -44
- package/dist/solutions-components/ko-2e3b9aa8.js +0 -71
- package/dist/solutions-components/label-c34ec0cf.js +0 -179
- package/dist/solutions-components/languageUtil-83ed2742.js +0 -87
- package/dist/solutions-components/layer-list.entry.js +0 -193
- package/dist/solutions-components/layer-table.entry.js +0 -1558
- package/dist/solutions-components/layout-manager.entry.js +0 -91
- package/dist/solutions-components/list-flow-item.entry.js +0 -56
- package/dist/solutions-components/loadModules-18662c29.js +0 -28
- package/dist/solutions-components/loadable-5f2ac40f.js +0 -92
- package/dist/solutions-components/locale-1b4d548e.js +0 -572
- package/dist/solutions-components/locale-448ea937.js +0 -148
- package/dist/solutions-components/locale-f1dd2532.js +0 -86
- package/dist/solutions-components/location-flow-item.entry.js +0 -56
- package/dist/solutions-components/lodash-98e4b7d0.js +0 -18025
- package/dist/solutions-components/lt-2a6a8e94.js +0 -96
- package/dist/solutions-components/lv-8b3c01bb.js +0 -65
- package/dist/solutions-components/map-card.entry.js +0 -227
- package/dist/solutions-components/map-draw-tools.entry.js +0 -354
- package/dist/solutions-components/map-fullscreen.entry.js +0 -112
- package/dist/solutions-components/map-layer-picker.entry.js +0 -342
- package/dist/solutions-components/map-legend.entry.js +0 -105
- package/dist/solutions-components/map-picker.entry.js +0 -170
- package/dist/solutions-components/map-search.entry.js +0 -180
- package/dist/solutions-components/map-select-tools.entry.js +0 -794
- package/dist/solutions-components/map-tools.entry.js +0 -371
- package/dist/solutions-components/mapViewUtils-d4946a31.js +0 -284
- package/dist/solutions-components/math-81650811.js +0 -54
- package/dist/solutions-components/mk-428c21bd.js +0 -65
- package/dist/solutions-components/mode-e7b9fabb.js +0 -25
- package/dist/solutions-components/nb-67929ffe.js +0 -66
- package/dist/solutions-components/nl-954b9062.js +0 -66
- package/dist/solutions-components/observers-81ed4977.js +0 -56
- package/dist/solutions-components/openCloseComponent-739f40b7.js +0 -138
- package/dist/solutions-components/p-1a12761f.entry.js +0 -6
- package/dist/solutions-components/parser-a682fcdf.js +0 -1646
- package/dist/solutions-components/pci-calculator.entry.js +0 -113
- package/dist/solutions-components/pciUtils-986ddad9.js +0 -844
- package/dist/solutions-components/pdf-download.entry.js +0 -355
- package/dist/solutions-components/pl-eba736c7.js +0 -113
- package/dist/solutions-components/popupUtils-c60ca656.js +0 -109
- package/dist/solutions-components/pt-br-ed6f0302.js +0 -64
- package/dist/solutions-components/pt-e6518f49.js +0 -66
- package/dist/solutions-components/public-notification.entry.js +0 -1005
- package/dist/solutions-components/publicNotificationStore-59732134.js +0 -45
- package/dist/solutions-components/purify-ed095e80.js +0 -1717
- package/dist/solutions-components/queryUtils-2ee0f383.js +0 -274
- package/dist/solutions-components/refine-results-flow-item.entry.js +0 -56
- package/dist/solutions-components/refine-selection.entry.js +0 -408
- package/dist/solutions-components/resources-092fef68.js +0 -106
- package/dist/solutions-components/resources-16800cce.js +0 -24
- package/dist/solutions-components/resources-3587e9a5.js +0 -20
- package/dist/solutions-components/resources-66978311.js +0 -26
- package/dist/solutions-components/resources-7c4efc5e.js +0 -22
- package/dist/solutions-components/resources-7c61fbec.js +0 -62
- package/dist/solutions-components/resources-7d202c09.js +0 -24
- package/dist/solutions-components/resources-ae36eaff.js +0 -19
- package/dist/solutions-components/resources-be0262db.js +0 -45
- package/dist/solutions-components/resources-be5a6557.js +0 -26
- package/dist/solutions-components/resources-dd68a4aa.js +0 -35
- package/dist/solutions-components/resources-ec5198da.js +0 -49
- package/dist/solutions-components/ro-cb3c8995.js +0 -65
- package/dist/solutions-components/ru-dd440634.js +0 -125
- package/dist/solutions-components/shadow-css-15628d22.js +0 -361
- package/dist/solutions-components/share-item.entry.js +0 -56
- package/dist/solutions-components/shared-list-render-a787615a.js +0 -348
- package/dist/solutions-components/sk-a8db2217.js +0 -147
- package/dist/solutions-components/sl-f798a76e.js +0 -167
- package/dist/solutions-components/solution-configuration.entry.js +0 -565
- package/dist/solutions-components/solution-contents.entry.js +0 -80
- package/dist/solutions-components/solution-item-details.entry.js +0 -195
- package/dist/solutions-components/solution-item-icon.entry.js +0 -323
- package/dist/solutions-components/solution-item-sharing.entry.js +0 -135
- package/dist/solutions-components/solution-item.entry.js +0 -102
- package/dist/solutions-components/solution-organization-variables.entry.js +0 -91
- package/dist/solutions-components/solution-resource-item.entry.js +0 -280
- package/dist/solutions-components/solution-spatial-ref.entry.js +0 -164
- package/dist/solutions-components/solution-store-5a6cf181.js +0 -585
- package/dist/solutions-components/solution-template-data.entry.js +0 -115
- package/dist/solutions-components/solution-variables.entry.js +0 -103
- package/dist/solutions-components/sortableComponent-ee74aef6.js +0 -3440
- package/dist/solutions-components/spatial-ref.entry.js +0 -21296
- package/dist/solutions-components/sr-342a663a.js +0 -100
- package/dist/solutions-components/store-b2b2565a.js +0 -87
- package/dist/solutions-components/store-manager.entry.js +0 -75
- package/dist/solutions-components/styles-b3492d9f.js +0 -11
- package/dist/solutions-components/sv-84670dbd.js +0 -70
- package/dist/solutions-components/t9n-2df2d559.js +0 -98
- package/dist/solutions-components/templates-335c6b6f.js +0 -436
- package/dist/solutions-components/th-a9c8533d.js +0 -64
- package/dist/solutions-components/time-d753f161.js +0 -274
- package/dist/solutions-components/tr-c2cc2873.js +0 -65
- package/dist/solutions-components/uk-906a1eb0.js +0 -103
- package/dist/solutions-components/utils-2c8108af.js +0 -133
- package/dist/solutions-components/utils-580e77c3.js +0 -208
- package/dist/solutions-components/utils-9aa96070.js +0 -61
- package/dist/solutions-components/utils-ab48a0d6.js +0 -47
- package/dist/solutions-components/utils-f96adae4.js +0 -57
- package/dist/solutions-components/vi-7b43fafd.js +0 -69
- package/dist/solutions-components/zh-cn-c19f2858.js +0 -93
- package/dist/solutions-components/zh-hk-f212412d.js +0 -70
- package/dist/solutions-components/zh-tw-be3a4302.js +0 -91
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
@@ -1,1558 +0,0 @@
|
|
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 { r as registerInstance, e as createEvent, h, a as Host, g as getElement } from './index-0eecd45f.js';
|
7
|
-
import { l as loadModules } from './loadModules-18662c29.js';
|
8
|
-
import { g as getLocaleComponentStrings } from './locale-448ea937.js';
|
9
|
-
import { e as goToSelection, c as getFeatureLayerView, g as getLayerOrTable } from './mapViewUtils-d4946a31.js';
|
10
|
-
import { b as queryAllIds, c as queryAllOidsWithQueryFeatures, d as queryFeaturesByGlobalID } from './queryUtils-2ee0f383.js';
|
11
|
-
import { d as downloadCSV } from './downloadUtils-238038d2.js';
|
12
|
-
import './esri-loader-5bf2f164.js';
|
13
|
-
import './_commonjsHelpers-9cd17aec.js';
|
14
|
-
import './interfaces-586e863c.js';
|
15
|
-
import './index-a879e1d6.js';
|
16
|
-
import './index-a1e91462.js';
|
17
|
-
|
18
|
-
const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}";
|
19
|
-
|
20
|
-
const LayerTable = class {
|
21
|
-
constructor(hostRef) {
|
22
|
-
registerInstance(this, hostRef);
|
23
|
-
this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
|
24
|
-
/**
|
25
|
-
* boolean: When true the ctrl key is currently pressed
|
26
|
-
*/
|
27
|
-
this._ctrlIsPressed = false;
|
28
|
-
/**
|
29
|
-
* boolean: When true the default filter provided via url param has been honored and should now be ignored
|
30
|
-
*/
|
31
|
-
this._defaultFilterHonored = false;
|
32
|
-
/**
|
33
|
-
* boolean: When true the default global id provided via url param has been honored and should now be ignored
|
34
|
-
*/
|
35
|
-
this._defaultGlobalIdHonored = false;
|
36
|
-
/**
|
37
|
-
* boolean: When true the default OID provided via url param has been honored and should now be ignored
|
38
|
-
*/
|
39
|
-
this._defaultOidHonored = false;
|
40
|
-
/**
|
41
|
-
* boolean: When true the table has been successfully loaded
|
42
|
-
*/
|
43
|
-
this._loaded = false;
|
44
|
-
/**
|
45
|
-
* boolean: When true the observer has been set and we don't need to set it again
|
46
|
-
*/
|
47
|
-
this._observerSet = false;
|
48
|
-
/**
|
49
|
-
* boolean: When true the current selection was done via the map and we will ignore shift->Select
|
50
|
-
*/
|
51
|
-
this._selectionFromMap = false;
|
52
|
-
/**
|
53
|
-
* boolean: When true the shift key is currently pressed
|
54
|
-
*/
|
55
|
-
this._shiftIsPressed = false;
|
56
|
-
/**
|
57
|
-
* boolean: When true any onChange handeling will be skipped
|
58
|
-
*/
|
59
|
-
this._skipOnChange = false;
|
60
|
-
/**
|
61
|
-
* Store a reference to the table node after it's first created
|
62
|
-
* and initializes the FeatureTable
|
63
|
-
*
|
64
|
-
* @param node HTMLDivElement The node representing the DOM element that will contain the widget.
|
65
|
-
*/
|
66
|
-
this.onTableNodeCreate = (node) => {
|
67
|
-
this._tableNode = node;
|
68
|
-
};
|
69
|
-
this.defaultGlobalId = undefined;
|
70
|
-
this.defaultLayerId = undefined;
|
71
|
-
this.defaultOid = undefined;
|
72
|
-
this.enableAutoRefresh = undefined;
|
73
|
-
this.enableColumnReorder = true;
|
74
|
-
this.enableCSV = undefined;
|
75
|
-
this.enableInlineEdit = undefined;
|
76
|
-
this.enableShare = undefined;
|
77
|
-
this.isMobile = undefined;
|
78
|
-
this.mapHidden = undefined;
|
79
|
-
this.mapInfo = undefined;
|
80
|
-
this.mapView = undefined;
|
81
|
-
this.onlyShowUpdatableLayers = undefined;
|
82
|
-
this.selectedIds = [];
|
83
|
-
this.shareIncludeEmbed = undefined;
|
84
|
-
this.shareIncludeSocial = undefined;
|
85
|
-
this.showNewestFirst = undefined;
|
86
|
-
this.zoomAndScrollToSelected = undefined;
|
87
|
-
this.zoomToScale = undefined;
|
88
|
-
this._allIds = [];
|
89
|
-
this._controlsThatFit = undefined;
|
90
|
-
this._csvExporting = false;
|
91
|
-
this._fetchingData = false;
|
92
|
-
this._filterActive = false;
|
93
|
-
this._filterOpen = false;
|
94
|
-
this._layer = undefined;
|
95
|
-
this._selectAllActive = false;
|
96
|
-
this._showHideOpen = false;
|
97
|
-
this._showOnlySelected = false;
|
98
|
-
this._toolInfos = undefined;
|
99
|
-
this._translations = undefined;
|
100
|
-
}
|
101
|
-
//--------------------------------------------------------------------------
|
102
|
-
//
|
103
|
-
// Watch handlers
|
104
|
-
//
|
105
|
-
//--------------------------------------------------------------------------
|
106
|
-
/**
|
107
|
-
* Handle url defaults when defaultOid is set
|
108
|
-
*/
|
109
|
-
async defaultOidWatchHandler() {
|
110
|
-
await this._handleDefaults();
|
111
|
-
}
|
112
|
-
/**
|
113
|
-
* Handle url defaults when defaultGlobalId is set
|
114
|
-
*/
|
115
|
-
async defaultGlobalIdWatchHandler() {
|
116
|
-
await this._handleDefaults();
|
117
|
-
}
|
118
|
-
/**
|
119
|
-
* Reset the toolInfos when export csv is enabled/disabled
|
120
|
-
*/
|
121
|
-
enableCSVWatchHandler() {
|
122
|
-
var _a;
|
123
|
-
if (((_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
124
|
-
this._initToolInfos();
|
125
|
-
}
|
126
|
-
}
|
127
|
-
/**
|
128
|
-
* Update the table when enableInlineEdit is enabled/disabled
|
129
|
-
*/
|
130
|
-
enableInlineEditWatchHandler() {
|
131
|
-
if (this._table) {
|
132
|
-
this._table.editingEnabled = this._editEnabled && this.enableInlineEdit;
|
133
|
-
}
|
134
|
-
}
|
135
|
-
/**
|
136
|
-
* Update the toolbar when the share button is enabled/disabled
|
137
|
-
*/
|
138
|
-
enableShareWatchHandler() {
|
139
|
-
// this should be caught by component did render and is when I test locally
|
140
|
-
// however have had reported case where it is not somehow on devext so adding explicit check here
|
141
|
-
if (this._toolbar) {
|
142
|
-
this._updateToolbar();
|
143
|
-
}
|
144
|
-
}
|
145
|
-
/**
|
146
|
-
* watch for changes to the list of controls that will currently fit in the display
|
147
|
-
*/
|
148
|
-
_controlsThatFitWatchHandler() {
|
149
|
-
var _a;
|
150
|
-
const ids = this._controlsThatFit ? this._controlsThatFit.reduce((prev, cur) => {
|
151
|
-
prev.push(cur.id);
|
152
|
-
return prev;
|
153
|
-
}, []) : [];
|
154
|
-
this._toolInfos = (_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.map(ti => {
|
155
|
-
if (ti && this._controlsThatFit) {
|
156
|
-
const id = this._getId(ti.icon);
|
157
|
-
ti.isOverflow = ids.indexOf(id) < 0;
|
158
|
-
return ti;
|
159
|
-
}
|
160
|
-
});
|
161
|
-
}
|
162
|
-
/**
|
163
|
-
* Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
|
164
|
-
*/
|
165
|
-
mapHiddenWatchHandler() {
|
166
|
-
var _a;
|
167
|
-
if (((_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
168
|
-
this._initToolInfos();
|
169
|
-
}
|
170
|
-
}
|
171
|
-
/**
|
172
|
-
* When isMobile is false we need to init the tool infos for the dynamic toolbar
|
173
|
-
*/
|
174
|
-
isMobileWatchHandler() {
|
175
|
-
if (!this._toolInfos && !this.isMobile) {
|
176
|
-
this._initToolInfos();
|
177
|
-
}
|
178
|
-
}
|
179
|
-
/**
|
180
|
-
* watch for changes in map info and update the toolbar
|
181
|
-
*/
|
182
|
-
async mapInfoWatchHandler() {
|
183
|
-
this._resetColumnTemplates();
|
184
|
-
this._initLayerExpressions();
|
185
|
-
this._initToolInfos();
|
186
|
-
this._updateToolbar();
|
187
|
-
await this._sortTable();
|
188
|
-
}
|
189
|
-
/**
|
190
|
-
* watch for changes in map view and get the first layer
|
191
|
-
*/
|
192
|
-
async mapViewWatchHandler() {
|
193
|
-
if (this._mapClickHandle) {
|
194
|
-
this._mapClickHandle.remove();
|
195
|
-
}
|
196
|
-
if (this.mapView) {
|
197
|
-
this._floorExpression = undefined;
|
198
|
-
this._updateShareUrl();
|
199
|
-
this._mapClickHandle = this.reactiveUtils.on(() => this.mapView, "click", (event) => {
|
200
|
-
void this._mapClicked(event);
|
201
|
-
});
|
202
|
-
}
|
203
|
-
}
|
204
|
-
/**
|
205
|
-
* watch for changes in layer view and verify if it has editing enabled
|
206
|
-
*/
|
207
|
-
async _layerWatchHandler() {
|
208
|
-
var _a;
|
209
|
-
this._fetchingData = true;
|
210
|
-
await ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.when(async () => {
|
211
|
-
var _a;
|
212
|
-
this._definitionExpression = this._layer.definitionExpression;
|
213
|
-
this._floorField = (_a = this._layer.floorInfo) === null || _a === void 0 ? void 0 : _a.floorField;
|
214
|
-
this._updateFloorDefinitionExpression();
|
215
|
-
await this._resetTable();
|
216
|
-
this._initLayerExpressions();
|
217
|
-
this._updateShareUrl();
|
218
|
-
this._fetchingData = false;
|
219
|
-
}));
|
220
|
-
}
|
221
|
-
/**
|
222
|
-
* watch for selection changes
|
223
|
-
*/
|
224
|
-
async selectedIdsWatchHandler() {
|
225
|
-
this._updateShareUrl();
|
226
|
-
this._validateEnabledActions();
|
227
|
-
if (this._selectAllActive && this.selectedIds.length !== this._allIds.length) {
|
228
|
-
this._selectAllActive = false;
|
229
|
-
}
|
230
|
-
if (this.selectedIds.length > 0) {
|
231
|
-
this._table.rowHighlightIds.removeAll();
|
232
|
-
this._table.rowHighlightIds.add(this.selectedIds[0]);
|
233
|
-
}
|
234
|
-
}
|
235
|
-
/**
|
236
|
-
* Scroll and zoom to the selected feature from the Features widget.
|
237
|
-
*
|
238
|
-
* @param evt CustomEvent the graphic for the current selection
|
239
|
-
*/
|
240
|
-
async selectionChanged(evt) {
|
241
|
-
const g = evt.detail.selectedFeature[0];
|
242
|
-
const oid = g.getObjectId();
|
243
|
-
//Highlight the current selected feature in the table using rowHighlightIds
|
244
|
-
const table = this._table;
|
245
|
-
if (table.rowHighlightIds.length) {
|
246
|
-
table.rowHighlightIds.removeAll();
|
247
|
-
}
|
248
|
-
table.rowHighlightIds.add(oid);
|
249
|
-
if (this.zoomAndScrollToSelected) {
|
250
|
-
const i = this._table.viewModel.getObjectIdIndex(oid);
|
251
|
-
this._table.scrollToIndex(i);
|
252
|
-
const layer = g.layer;
|
253
|
-
const layerViews = this.mapView.allLayerViews.toArray();
|
254
|
-
let layerView;
|
255
|
-
layerViews.some(lv => {
|
256
|
-
if (lv.layer.title === layer.title && lv.layer.type === 'feature') {
|
257
|
-
layerView = lv;
|
258
|
-
return true;
|
259
|
-
}
|
260
|
-
});
|
261
|
-
if (layerView) {
|
262
|
-
await goToSelection([oid], layerView, this.mapView, true, undefined, this.zoomToScale);
|
263
|
-
}
|
264
|
-
}
|
265
|
-
}
|
266
|
-
/**
|
267
|
-
* Refresh the table when edits are completed
|
268
|
-
*/
|
269
|
-
async editsComplete(evt) {
|
270
|
-
const editType = evt.detail;
|
271
|
-
if (editType === "delete" || editType === "add") {
|
272
|
-
this._allIds = await queryAllIds(this._layer);
|
273
|
-
}
|
274
|
-
await this._refresh();
|
275
|
-
}
|
276
|
-
/**
|
277
|
-
* Refresh the table when floor filter facility is changed
|
278
|
-
*/
|
279
|
-
async facilityChanged(evt) {
|
280
|
-
this._floorFacility = evt.detail;
|
281
|
-
this._updateFloorDefinitionExpression();
|
282
|
-
}
|
283
|
-
/**
|
284
|
-
* Refresh the table when floor filter level is changed
|
285
|
-
*/
|
286
|
-
async levelChanged(evt) {
|
287
|
-
this._floorLevel = evt.detail;
|
288
|
-
this._updateFloorDefinitionExpression();
|
289
|
-
}
|
290
|
-
/**
|
291
|
-
* Refresh the table when floor filter site is changed
|
292
|
-
*/
|
293
|
-
async siteChanged(evt) {
|
294
|
-
this._floorSite = evt.detail;
|
295
|
-
this._updateFloorDefinitionExpression();
|
296
|
-
}
|
297
|
-
/**
|
298
|
-
* Refresh the table when
|
299
|
-
*/
|
300
|
-
noLayersFound() {
|
301
|
-
this._layer = undefined;
|
302
|
-
this._allIds = [];
|
303
|
-
this._clearSelection();
|
304
|
-
}
|
305
|
-
//--------------------------------------------------------------------------
|
306
|
-
//
|
307
|
-
// Functions (lifecycle)
|
308
|
-
//
|
309
|
-
//--------------------------------------------------------------------------
|
310
|
-
/**
|
311
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
312
|
-
*
|
313
|
-
* @returns Promise when complete
|
314
|
-
*/
|
315
|
-
async componentWillLoad() {
|
316
|
-
await this._getTranslations();
|
317
|
-
await this._initModules();
|
318
|
-
this._initToolInfos();
|
319
|
-
if (!this._resizeObserver) {
|
320
|
-
this._resizeObserver = new ResizeObserver(() => this._onResize());
|
321
|
-
}
|
322
|
-
}
|
323
|
-
/**
|
324
|
-
* Renders the component.
|
325
|
-
*/
|
326
|
-
render() {
|
327
|
-
const tableNodeClass = this._fetchingData ? "display-none" : "";
|
328
|
-
const loadingClass = this._fetchingData ? "" : "display-none";
|
329
|
-
const total = this._allIds.length.toString();
|
330
|
-
const selected = this.selectedIds.length.toString();
|
331
|
-
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
332
|
-
this._validateActiveActions();
|
333
|
-
return (h(Host, { key: '547a08c45cc3a0b0bdb5ab841ee202d2d43018dc' }, h("calcite-shell", { key: '7ac39e863586727df7685eb5c3faffd87c46bf9d' }, this._getTableControlRow("header"), h("div", { key: '322dc4820b17365f3f202ce43d85330d25081eb5', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '764955f3cf9371a5ff554821613fffbc9e0bd705', class: "height-full width-full" }, h("calcite-loader", { key: '031fc6520de11b166111626501f0208f1b69c9ff', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '8d62258ee356fdf6bc6c03f88848a32270ce5eed', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
334
|
-
.replace("{{total}}", total)
|
335
|
-
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
336
|
-
}
|
337
|
-
/**
|
338
|
-
* Called once after the component is loaded
|
339
|
-
*/
|
340
|
-
async componentDidLoad() {
|
341
|
-
if (!this.isMobile && !this._observerSet) {
|
342
|
-
this._resizeObserver.observe(this._toolbar);
|
343
|
-
this._observerSet = true;
|
344
|
-
}
|
345
|
-
document.onclick = (e) => this._handleDocumentClick(e);
|
346
|
-
document.onkeydown = (e) => this._handleKeyDown(e);
|
347
|
-
document.onkeyup = (e) => this._handleKeyUp(e);
|
348
|
-
}
|
349
|
-
/**
|
350
|
-
* Called after the component is rendered
|
351
|
-
*/
|
352
|
-
componentDidRender() {
|
353
|
-
this._updateToolbar();
|
354
|
-
}
|
355
|
-
//--------------------------------------------------------------------------
|
356
|
-
//
|
357
|
-
// Functions (protected)
|
358
|
-
//
|
359
|
-
//--------------------------------------------------------------------------
|
360
|
-
/**
|
361
|
-
* Load esri javascript api modules
|
362
|
-
*
|
363
|
-
* @returns Promise resolving when function is done
|
364
|
-
*
|
365
|
-
* @protected
|
366
|
-
*/
|
367
|
-
async _initModules() {
|
368
|
-
const [FeatureTable, reactiveUtils, TableTemplate] = await loadModules([
|
369
|
-
"esri/widgets/FeatureTable",
|
370
|
-
"esri/core/reactiveUtils",
|
371
|
-
"esri/widgets/FeatureTable/support/TableTemplate"
|
372
|
-
]);
|
373
|
-
this.FeatureTable = FeatureTable;
|
374
|
-
this.reactiveUtils = reactiveUtils;
|
375
|
-
this.TableTemplate = TableTemplate;
|
376
|
-
}
|
377
|
-
/**
|
378
|
-
* Update the toolbar when its size changes
|
379
|
-
*/
|
380
|
-
_onResize() {
|
381
|
-
this._updateToolbar();
|
382
|
-
}
|
383
|
-
/**
|
384
|
-
* Gets a row of controls that can be used for various interactions with the table
|
385
|
-
*
|
386
|
-
* @param slot string optional slot to display the control within
|
387
|
-
*
|
388
|
-
* @returns The dom node that contains the controls
|
389
|
-
*/
|
390
|
-
_getTableControlRow(slot) {
|
391
|
-
const id = "more-table-options";
|
392
|
-
return (h("div", { class: "display-flex border-bottom height-51", ref: (el) => this._toolbar = el, slot: slot }, this._getActionBar(), !this.isMobile ? this._getDropdown(id) : undefined, this.enableShare && !this.isMobile ? this._getShare("share") : undefined));
|
393
|
-
}
|
394
|
-
/**
|
395
|
-
* Gets a row of controls that can be used for various interactions with the table
|
396
|
-
*
|
397
|
-
* @param slot string optional slot to display the control within
|
398
|
-
*
|
399
|
-
* @returns The dom node that contains the controls
|
400
|
-
*/
|
401
|
-
_getActionBar() {
|
402
|
-
const containerClass = this.isMobile ? "width-full" : "";
|
403
|
-
const mobileClass = this.isMobile ? "border-top" : "";
|
404
|
-
return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onLayerSelectionChange: (evt) => void this._layerSelectionChanged(evt), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), !this.isMobile ? this._getActions() : undefined));
|
405
|
-
}
|
406
|
-
/**
|
407
|
-
* Get the actions that are used for various interactions with the table
|
408
|
-
*
|
409
|
-
* @returns VNode[] the action nodes
|
410
|
-
*/
|
411
|
-
_getActions() {
|
412
|
-
const actions = this._getActionItems();
|
413
|
-
return actions === null || actions === void 0 ? void 0 : actions.reduce((prev, cur) => {
|
414
|
-
if (cur && !cur.isOverflow) {
|
415
|
-
prev.push(cur.isDanger ?
|
416
|
-
this._getDangerAction(cur.icon, cur.label, cur.func, cur.disabled) :
|
417
|
-
cur.isSublist ? (h("calcite-dropdown", { closeOnSelectDisabled: true, id: this._getId(cur.icon), onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._showHideDropdown = el }, this._getAction(cur.active, this._showHideOpen ? "chevron-down" : cur.icon, cur.indicator, cur.label, cur.func, cur.disabled, cur.loading, "trigger"), this._showHideOpen ? this._getFieldlist() : undefined)) :
|
418
|
-
this._getAction(cur.active, cur.icon, cur.indicator, cur.label, cur.func, cur.disabled, cur.loading));
|
419
|
-
}
|
420
|
-
return prev;
|
421
|
-
}, []);
|
422
|
-
}
|
423
|
-
/**
|
424
|
-
* Get the list of fields as dropdown items and store the current selected state so
|
425
|
-
* we can show/hide the appropriate fields
|
426
|
-
*
|
427
|
-
* @returns Node with the fields as dropdown items
|
428
|
-
*/
|
429
|
-
_getFieldlist() {
|
430
|
-
return this._columnsInfo ? (h("calcite-dropdown-group", { "selection-mode": "multiple" }, Object.keys(this._columnsInfo).map(k => {
|
431
|
-
const selected = this._columnsInfo[k];
|
432
|
-
return (h("calcite-dropdown-item", { id: k, onClick: (e) => {
|
433
|
-
const target = e.target;
|
434
|
-
this._columnsInfo[target.id] = target.selected;
|
435
|
-
if (!target.selected) {
|
436
|
-
this._table.hideColumn(target.id);
|
437
|
-
}
|
438
|
-
else {
|
439
|
-
this._table.showColumn(target.id);
|
440
|
-
}
|
441
|
-
}, selected: selected }, k));
|
442
|
-
}))) : undefined;
|
443
|
-
}
|
444
|
-
/**
|
445
|
-
* Update actions enabled prop based on number of selected indexes
|
446
|
-
*/
|
447
|
-
_validateEnabledActions() {
|
448
|
-
var _a;
|
449
|
-
const featuresSelected = this._featuresSelected();
|
450
|
-
const selectionDependant = [
|
451
|
-
"zoom-to-object",
|
452
|
-
"trash",
|
453
|
-
"erase",
|
454
|
-
"selected-items-filter"
|
455
|
-
];
|
456
|
-
(_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.forEach(ti => {
|
457
|
-
if (ti && selectionDependant.indexOf(ti.icon) > -1) {
|
458
|
-
ti.disabled = !featuresSelected;
|
459
|
-
}
|
460
|
-
});
|
461
|
-
}
|
462
|
-
/**
|
463
|
-
* Update actions active prop based on a stored value
|
464
|
-
*/
|
465
|
-
_validateActiveActions() {
|
466
|
-
var _a;
|
467
|
-
const activeDependant = [
|
468
|
-
"filter",
|
469
|
-
"list-check-all",
|
470
|
-
"selected-items-filter"
|
471
|
-
];
|
472
|
-
(_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.forEach(ti => {
|
473
|
-
if (ti && activeDependant.indexOf(ti.icon) > -1) {
|
474
|
-
if (ti.icon === "filter") {
|
475
|
-
ti.indicator = this._filterActive;
|
476
|
-
}
|
477
|
-
if (ti.icon === "list-check-all") {
|
478
|
-
ti.active = this._selectAllActive;
|
479
|
-
}
|
480
|
-
if (ti.icon === "selected-items-filter") {
|
481
|
-
ti.active = this._showOnlySelected;
|
482
|
-
}
|
483
|
-
}
|
484
|
-
});
|
485
|
-
}
|
486
|
-
/**
|
487
|
-
* Get the full list of toolInfos.
|
488
|
-
* Order is important. They should be listed in the order they should display in the UI from
|
489
|
-
* Left to Right for the action bar and Top to Bottom for the dropdown.
|
490
|
-
*/
|
491
|
-
_initToolInfos() {
|
492
|
-
const featuresSelected = this._featuresSelected();
|
493
|
-
const featuresEmpty = this._featuresEmpty();
|
494
|
-
const hasFilterExpressions = this._hasFilterExpressions();
|
495
|
-
if (this._translations) {
|
496
|
-
this._toolInfos = [
|
497
|
-
!this.mapHidden ? {
|
498
|
-
active: false,
|
499
|
-
icon: "zoom-to-object",
|
500
|
-
indicator: false,
|
501
|
-
label: this._translations.zoom,
|
502
|
-
func: () => this._zoom(),
|
503
|
-
disabled: !featuresSelected,
|
504
|
-
isOverflow: false
|
505
|
-
} : undefined,
|
506
|
-
hasFilterExpressions ? {
|
507
|
-
active: false,
|
508
|
-
icon: "filter",
|
509
|
-
indicator: false,
|
510
|
-
label: this._translations.filters,
|
511
|
-
func: () => this._toggleFilter(),
|
512
|
-
disabled: false,
|
513
|
-
isOverflow: false
|
514
|
-
} : undefined,
|
515
|
-
this._deleteEnabled ? {
|
516
|
-
active: undefined,
|
517
|
-
icon: "trash",
|
518
|
-
indicator: undefined,
|
519
|
-
label: undefined,
|
520
|
-
func: undefined,
|
521
|
-
disabled: !featuresSelected,
|
522
|
-
isDanger: true,
|
523
|
-
isOverflow: false
|
524
|
-
} : undefined, {
|
525
|
-
active: false,
|
526
|
-
icon: "erase",
|
527
|
-
indicator: false,
|
528
|
-
label: this._translations.clearSelection,
|
529
|
-
func: () => this._clearSelection(),
|
530
|
-
disabled: !featuresSelected,
|
531
|
-
isOverflow: false
|
532
|
-
}, {
|
533
|
-
active: false,
|
534
|
-
icon: "selected-items-filter",
|
535
|
-
indicator: false,
|
536
|
-
label: this._showOnlySelected ? this._translations.showAll : this._translations.showSelected,
|
537
|
-
func: () => this._toggleShowSelected(),
|
538
|
-
disabled: !featuresSelected,
|
539
|
-
isOverflow: false
|
540
|
-
}, {
|
541
|
-
active: false,
|
542
|
-
icon: "list-check-all",
|
543
|
-
indicator: false,
|
544
|
-
func: () => this._selectAll(),
|
545
|
-
label: this._translations.selectAll,
|
546
|
-
disabled: featuresEmpty,
|
547
|
-
isOverflow: false
|
548
|
-
}, {
|
549
|
-
active: false,
|
550
|
-
icon: "compare",
|
551
|
-
indicator: false,
|
552
|
-
func: () => this._switchSelected(),
|
553
|
-
label: this._translations.switchSelected,
|
554
|
-
disabled: featuresEmpty,
|
555
|
-
isOverflow: false
|
556
|
-
}, {
|
557
|
-
active: false,
|
558
|
-
icon: "refresh",
|
559
|
-
indicator: false,
|
560
|
-
func: () => this._refresh(),
|
561
|
-
label: this._translations.refresh,
|
562
|
-
disabled: false,
|
563
|
-
isOverflow: false
|
564
|
-
},
|
565
|
-
this.enableCSV ? {
|
566
|
-
active: false,
|
567
|
-
icon: "export",
|
568
|
-
indicator: false,
|
569
|
-
func: () => void this._exportToCSV(),
|
570
|
-
label: this._translations.exportCSV,
|
571
|
-
loading: this._csvExporting,
|
572
|
-
disabled: featuresEmpty,
|
573
|
-
isOverflow: false
|
574
|
-
} : undefined, {
|
575
|
-
active: false,
|
576
|
-
icon: this._showHideOpen ? "chevron-down" : "chevron-right",
|
577
|
-
indicator: false,
|
578
|
-
func: () => this._toggleShowHide(),
|
579
|
-
label: this._translations.showHideColumns,
|
580
|
-
disabled: false,
|
581
|
-
isOverflow: false,
|
582
|
-
isSublist: true
|
583
|
-
}
|
584
|
-
];
|
585
|
-
this._defaultVisibleToolSizeInfos = undefined;
|
586
|
-
}
|
587
|
-
}
|
588
|
-
/**
|
589
|
-
* Applies a definition expression when floor field and level are available
|
590
|
-
*
|
591
|
-
* @returns boolean
|
592
|
-
*/
|
593
|
-
_updateFloorDefinitionExpression() {
|
594
|
-
if (this._floorField && this._floorLevel) {
|
595
|
-
const floorExp = `${this._floorField} = '${this._floorLevel}'`;
|
596
|
-
const defExp = this._layer.definitionExpression;
|
597
|
-
this._layer.definitionExpression = (defExp === null || defExp === void 0 ? void 0 : defExp.indexOf(this._floorExpression)) > -1 ?
|
598
|
-
defExp.replace(this._floorExpression, floorExp) :
|
599
|
-
defExp ? `${defExp} AND (${floorExp})` : floorExp;
|
600
|
-
this._floorExpression = floorExp;
|
601
|
-
}
|
602
|
-
}
|
603
|
-
/**
|
604
|
-
* Returns true when one ore more features are selected
|
605
|
-
*
|
606
|
-
* @returns boolean
|
607
|
-
*/
|
608
|
-
_featuresSelected() {
|
609
|
-
return this.selectedIds.length > 0;
|
610
|
-
}
|
611
|
-
/**
|
612
|
-
* Return true when we have no features
|
613
|
-
*
|
614
|
-
* @returns boolean
|
615
|
-
*/
|
616
|
-
_featuresEmpty() {
|
617
|
-
return this._allIds.length === 0;
|
618
|
-
}
|
619
|
-
/**
|
620
|
-
* Return true when we have at least 1 layer expression for the current layer
|
621
|
-
*
|
622
|
-
* @returns boolean
|
623
|
-
*/
|
624
|
-
_hasFilterExpressions() {
|
625
|
-
var _a, _b, _c;
|
626
|
-
let layerExpressions;
|
627
|
-
if (((_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.layerExpressions) && ((_c = this._layer) === null || _c === void 0 ? void 0 : _c.id)) {
|
628
|
-
layerExpressions = this.mapInfo.filterConfig.layerExpressions.filter((exp) => exp.id === this._layer.id);
|
629
|
-
}
|
630
|
-
return (layerExpressions === null || layerExpressions === void 0 ? void 0 : layerExpressions.length) > 0;
|
631
|
-
}
|
632
|
-
/**
|
633
|
-
* Add/Remove tools from the action bar and dropdown based on available size
|
634
|
-
*/
|
635
|
-
_updateToolbar() {
|
636
|
-
if (this._timeout) {
|
637
|
-
clearTimeout(this._timeout);
|
638
|
-
}
|
639
|
-
if (!this.isMobile && this._toolbar && this._toolInfos) {
|
640
|
-
this._timeout = setTimeout(() => {
|
641
|
-
clearTimeout(this._timeout);
|
642
|
-
this._setToolbarSizeInfos();
|
643
|
-
const toolbarWidth = this._toolbar.offsetWidth;
|
644
|
-
let controlsWidth = this._toolbarSizeInfos.reduce((prev, cur) => {
|
645
|
-
prev += cur.width;
|
646
|
-
return prev;
|
647
|
-
}, 0);
|
648
|
-
const skipControls = ["solutions-more", "solutions-map-layer-picker-container", "solutions-action-share"];
|
649
|
-
if (controlsWidth > toolbarWidth) {
|
650
|
-
if (this._toolbarSizeInfos.length > 0) {
|
651
|
-
const controlsThatFit = [...this._toolbarSizeInfos].reverse().reduce((prev, cur) => {
|
652
|
-
if (skipControls.indexOf(cur.id) < 0) {
|
653
|
-
if (controlsWidth > toolbarWidth) {
|
654
|
-
controlsWidth -= cur.width;
|
655
|
-
}
|
656
|
-
else {
|
657
|
-
prev.push(cur);
|
658
|
-
}
|
659
|
-
}
|
660
|
-
return prev;
|
661
|
-
}, []).reverse();
|
662
|
-
this._setControlsThatFit(controlsThatFit, skipControls);
|
663
|
-
}
|
664
|
-
}
|
665
|
-
else {
|
666
|
-
if (this._defaultVisibleToolSizeInfos) {
|
667
|
-
const currentTools = this._toolbarSizeInfos.reduce((prev, cur) => {
|
668
|
-
prev.push(cur.id);
|
669
|
-
return prev;
|
670
|
-
}, []);
|
671
|
-
let forceFinish = false;
|
672
|
-
const controlsThatFit = [...this._defaultVisibleToolSizeInfos].reduce((prev, cur) => {
|
673
|
-
if (!forceFinish && skipControls.indexOf(cur.id) < 0 &&
|
674
|
-
(currentTools.indexOf(cur.id) > -1 || (controlsWidth + cur.width) <= toolbarWidth)) {
|
675
|
-
if (currentTools.indexOf(cur.id) < 0) {
|
676
|
-
controlsWidth += cur.width;
|
677
|
-
}
|
678
|
-
prev.push(cur);
|
679
|
-
}
|
680
|
-
else if (skipControls.indexOf(cur.id) < 0 && (controlsWidth + cur.width) > toolbarWidth) {
|
681
|
-
// exit the first time we evalute this as true...otherwise it will add the next control that will fit
|
682
|
-
// and not preserve the overall order of controls
|
683
|
-
forceFinish = true;
|
684
|
-
}
|
685
|
-
return prev;
|
686
|
-
}, []);
|
687
|
-
this._setControlsThatFit(controlsThatFit, skipControls);
|
688
|
-
}
|
689
|
-
}
|
690
|
-
}, 250);
|
691
|
-
}
|
692
|
-
}
|
693
|
-
/**
|
694
|
-
* Validate if controls that fit the current display has changed or
|
695
|
-
* is different from what is currently displayed
|
696
|
-
*/
|
697
|
-
_setControlsThatFit(controlsThatFit, skipControls) {
|
698
|
-
let update = JSON.stringify(controlsThatFit) !== JSON.stringify(this._controlsThatFit);
|
699
|
-
const actionbar = document.getElementById("solutions-action-bar");
|
700
|
-
actionbar.childNodes.forEach((n) => {
|
701
|
-
if (skipControls.indexOf(n.id) < 0 && !update) {
|
702
|
-
update = this._controlsThatFit.map(c => c.id).indexOf(n.id) < 0;
|
703
|
-
}
|
704
|
-
});
|
705
|
-
if (update) {
|
706
|
-
this._controlsThatFit = [...controlsThatFit];
|
707
|
-
}
|
708
|
-
}
|
709
|
-
/**
|
710
|
-
* Get the id and size for the toolbars current items
|
711
|
-
*/
|
712
|
-
_setToolbarSizeInfos() {
|
713
|
-
let hasWidth = false;
|
714
|
-
this._toolbarSizeInfos = [];
|
715
|
-
this._toolbar.childNodes.forEach((c, i) => {
|
716
|
-
// handle the action bar
|
717
|
-
if (i === 0) {
|
718
|
-
c.childNodes.forEach((actionbarChild) => {
|
719
|
-
this._toolbarSizeInfos.push({
|
720
|
-
id: actionbarChild.id,
|
721
|
-
width: actionbarChild.offsetWidth
|
722
|
-
});
|
723
|
-
if (!hasWidth) {
|
724
|
-
hasWidth = actionbarChild.offsetWidth > 0;
|
725
|
-
}
|
726
|
-
});
|
727
|
-
}
|
728
|
-
else if (!c.referenceElement) {
|
729
|
-
// skip tooltips
|
730
|
-
this._toolbarSizeInfos.push({
|
731
|
-
id: c.id,
|
732
|
-
width: c.offsetWidth
|
733
|
-
});
|
734
|
-
if (!hasWidth) {
|
735
|
-
hasWidth = c.offsetWidth > 0;
|
736
|
-
}
|
737
|
-
}
|
738
|
-
});
|
739
|
-
if (hasWidth && !this._defaultVisibleToolSizeInfos) {
|
740
|
-
this._defaultVisibleToolSizeInfos = [...this._toolbarSizeInfos];
|
741
|
-
}
|
742
|
-
}
|
743
|
-
/**
|
744
|
-
* Get a list of toolInfos that should display outside of the dropdown
|
745
|
-
*
|
746
|
-
* @returns IToolInfo[] the list of toolInfos that should not display in the overflow dropdown
|
747
|
-
*/
|
748
|
-
_getActionItems() {
|
749
|
-
var _a;
|
750
|
-
return (_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.filter(toolInfo => toolInfo && !toolInfo.isOverflow);
|
751
|
-
}
|
752
|
-
/**
|
753
|
-
* Get a list of toolInfos that should display in the dropdown
|
754
|
-
*
|
755
|
-
* @param id string the id for the dropdown and its tooltip
|
756
|
-
*
|
757
|
-
* @returns VNode the dropdown node
|
758
|
-
*/
|
759
|
-
_getDropdown(id) {
|
760
|
-
const dropdownItems = this._getDropdownItems();
|
761
|
-
return dropdownItems.length > 0 ? (h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this._layer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
|
762
|
-
return (h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, h("calcite-dropdown-item", { disabled: item.loading, iconStart: item.isSublist && this._showHideOpen ? "chevron-down" : item.loading ? "" : item.icon, id: "solutions-subset-list", onClick: item.func }, item.loading ? (h("div", { class: "display-flex" }, h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
|
763
|
-
})), this._showHideOpen ? this._getFieldlist() : undefined)) : undefined;
|
764
|
-
}
|
765
|
-
/**
|
766
|
-
* Get a list of toolInfos that should display in the dropdown
|
767
|
-
*
|
768
|
-
* @returns IToolInfo[] the list of toolInfos that should display in the dropdown
|
769
|
-
*/
|
770
|
-
_getDropdownItems() {
|
771
|
-
var _a;
|
772
|
-
return (_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.filter(toolInfo => toolInfo && toolInfo.isOverflow);
|
773
|
-
}
|
774
|
-
/**
|
775
|
-
* Get an action and tooltip
|
776
|
-
*
|
777
|
-
* @param icon string the name of the icon to display, will also be used as the id
|
778
|
-
* @param label string the text to display and label the action
|
779
|
-
* @param func any the function to execute
|
780
|
-
* @param disabled boolean when true the user will not be able to interact with the action
|
781
|
-
*
|
782
|
-
* @returns VNode The node representing the DOM element that will contain the action
|
783
|
-
*/
|
784
|
-
_getAction(active, icon, indicator, label, func, disabled, loading, slot) {
|
785
|
-
const _disabled = this._layer === undefined ? true : disabled;
|
786
|
-
return (h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, h("calcite-action", { active: active, appearance: "solid", disabled: _disabled, icon: icon, id: icon, indicator: indicator, label: label, loading: loading, onClick: func, text: label, textEnabled: true }), this._getToolTip("bottom", icon, label)));
|
787
|
-
}
|
788
|
-
/**
|
789
|
-
* Get an action and tooltip for share
|
790
|
-
*
|
791
|
-
* @param icon string the name of the icon to display, will also be used in its id
|
792
|
-
*
|
793
|
-
* @returns VNode The node representing the DOM element that will contain the action
|
794
|
-
*/
|
795
|
-
_getShare(icon) {
|
796
|
-
return (h("div", { class: "share-action", id: this._getId(icon) }, h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "instant-app-share", embed: this.shareIncludeEmbed, popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", socialMedia: this.shareIncludeSocial, view: this.mapView }), this._getToolTip("bottom", icon, this._translations.share)));
|
797
|
-
}
|
798
|
-
/**
|
799
|
-
* Called each time the values that are used for custom url params change
|
800
|
-
*/
|
801
|
-
_updateShareUrl() {
|
802
|
-
var _a, _b, _c, _d;
|
803
|
-
const url = (_a = this._shareNode) === null || _a === void 0 ? void 0 : _a.shareUrl;
|
804
|
-
if (!url) {
|
805
|
-
return;
|
806
|
-
}
|
807
|
-
const urlObj = new URL(url);
|
808
|
-
//set the additional search params
|
809
|
-
if ((_b = this.mapInfo) === null || _b === void 0 ? void 0 : _b.id) {
|
810
|
-
urlObj.searchParams.set("webmap", this.mapInfo.id);
|
811
|
-
}
|
812
|
-
else {
|
813
|
-
urlObj.searchParams.delete("webmap");
|
814
|
-
}
|
815
|
-
if ((_c = this._layer) === null || _c === void 0 ? void 0 : _c.id) {
|
816
|
-
urlObj.searchParams.set("layer", this._layer.id);
|
817
|
-
}
|
818
|
-
else {
|
819
|
-
urlObj.searchParams.delete("layer");
|
820
|
-
}
|
821
|
-
if (((_d = this.selectedIds) === null || _d === void 0 ? void 0 : _d.length) > 0) {
|
822
|
-
urlObj.searchParams.set("oid", this.selectedIds.join(","));
|
823
|
-
}
|
824
|
-
else {
|
825
|
-
urlObj.searchParams.delete("oid");
|
826
|
-
}
|
827
|
-
this._shareNode.shareUrl = urlObj.href;
|
828
|
-
}
|
829
|
-
/**
|
830
|
-
* Get a tooltip
|
831
|
-
*
|
832
|
-
* @param label string accessible name for the component
|
833
|
-
* @param placement string where the tooltip should display
|
834
|
-
* @param referenceElement string the element the tooltip will be associated with
|
835
|
-
* @param text string the text to display in the tooltip
|
836
|
-
*
|
837
|
-
* @returns VNode The tooltip node
|
838
|
-
*/
|
839
|
-
_getToolTip(placement, referenceElement, text) {
|
840
|
-
return document.getElementById(referenceElement) ? (h("calcite-tooltip", { placement: placement, "reference-element": referenceElement }, h("span", null, text))) : undefined;
|
841
|
-
}
|
842
|
-
/**
|
843
|
-
* Get an id with a prefix to the user supplied value
|
844
|
-
*
|
845
|
-
* @param id the unique value for the id
|
846
|
-
*
|
847
|
-
* @returns the new id with the prefix value
|
848
|
-
*/
|
849
|
-
_getId(id) {
|
850
|
-
return `solutions-action-${id}`;
|
851
|
-
}
|
852
|
-
/**
|
853
|
-
* Get an action with danger color icon and text
|
854
|
-
*
|
855
|
-
* @param icon string the name of the icon to display, will also be used as the id
|
856
|
-
* @param label string the text to display and label the action
|
857
|
-
* @param func any the function to execute
|
858
|
-
* @param disabled boolean when true the user will not be able to interact with the action
|
859
|
-
*
|
860
|
-
* @returns VNode The node representing the DOM element that will contain the action
|
861
|
-
*/
|
862
|
-
_getDangerAction(icon, label, func, disabled) {
|
863
|
-
const _disabled = this._layer === undefined ? true : disabled;
|
864
|
-
return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: "" }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
|
865
|
-
}
|
866
|
-
/**
|
867
|
-
* Return all currently selected IDs from the table
|
868
|
-
*
|
869
|
-
* @param number[] the selected ids
|
870
|
-
*/
|
871
|
-
_getIds() {
|
872
|
-
return this._table.highlightIds.toArray();
|
873
|
-
}
|
874
|
-
/**
|
875
|
-
* Initialize the FeatureTable
|
876
|
-
*
|
877
|
-
* @param node HTMLDivElement The node representing the DOM element that will contain the widget.
|
878
|
-
*/
|
879
|
-
async _getTable(node, columnTemplates) {
|
880
|
-
if (this._layer) {
|
881
|
-
await this._layer.when(() => {
|
882
|
-
this._table = new this.FeatureTable({
|
883
|
-
autoRefreshEnabled: this.enableAutoRefresh,
|
884
|
-
layer: this._layer,
|
885
|
-
view: this.mapView,
|
886
|
-
columnReorderingEnabled: this.enableColumnReorder,
|
887
|
-
editingEnabled: this._editEnabled && this.enableInlineEdit,
|
888
|
-
highlightEnabled: true,
|
889
|
-
multiSortEnabled: false,
|
890
|
-
visibleElements: {
|
891
|
-
header: false,
|
892
|
-
menu: false
|
893
|
-
},
|
894
|
-
tableTemplate: {
|
895
|
-
columnTemplates
|
896
|
-
},
|
897
|
-
container: node
|
898
|
-
});
|
899
|
-
});
|
900
|
-
await this._table.when(() => {
|
901
|
-
this._table.highlightIds.on("change", (evt) => {
|
902
|
-
void this._handleOnChange(evt);
|
903
|
-
});
|
904
|
-
});
|
905
|
-
}
|
906
|
-
}
|
907
|
-
async _handleOnChange(evt) {
|
908
|
-
const ids = [...this._table.highlightIds.toArray()];
|
909
|
-
if (!this._skipOnChange) {
|
910
|
-
if ((!this._ctrlIsPressed && !this._shiftIsPressed) || (this._selectionFromMap && this._shiftIsPressed)) {
|
911
|
-
if (this.selectedIds.length > 0) {
|
912
|
-
this._skipOnChange = true;
|
913
|
-
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
914
|
-
const reAdd = this.selectedIds.length > 1 && evt.removed.length === 1;
|
915
|
-
const newIds = reAdd ? evt.removed : ids.filter(id => this.selectedIds.indexOf(id) < 0);
|
916
|
-
this._clearSelection();
|
917
|
-
this.selectedIds = [...newIds];
|
918
|
-
if (newIds.length > 0) {
|
919
|
-
this._table.highlightIds.add(newIds[0]);
|
920
|
-
}
|
921
|
-
else {
|
922
|
-
this._skipOnChange = false;
|
923
|
-
}
|
924
|
-
}
|
925
|
-
else {
|
926
|
-
// https://github.com/Esri/solutions-components/issues/365
|
927
|
-
this.selectedIds = ids.reverse();
|
928
|
-
}
|
929
|
-
}
|
930
|
-
else if (this._ctrlIsPressed) {
|
931
|
-
this.selectedIds = ids.reverse();
|
932
|
-
}
|
933
|
-
else if (this._shiftIsPressed && (ids === null || ids === void 0 ? void 0 : ids.length) > 0) {
|
934
|
-
this._skipOnChange = true;
|
935
|
-
this._previousCurrentId = this._currentId;
|
936
|
-
this._currentId = [...ids].reverse()[0];
|
937
|
-
if (ids.length === 1) {
|
938
|
-
this._skipOnChange = false;
|
939
|
-
}
|
940
|
-
else if (this._previousCurrentId !== this._currentId) {
|
941
|
-
// query the layer based on current sort and filters then grab between the current id and previous id
|
942
|
-
const orderBy = this._table.activeSortOrders.reduce((prev, cur) => {
|
943
|
-
prev.push(`${cur.fieldName} ${cur.direction}`);
|
944
|
-
return prev;
|
945
|
-
}, []);
|
946
|
-
const oids = await queryAllOidsWithQueryFeatures(0, this._layer, [], orderBy);
|
947
|
-
let isBetween = false;
|
948
|
-
const _start = this._table.viewModel.getObjectIdIndex(this._previousCurrentId);
|
949
|
-
const _end = this._table.viewModel.getObjectIdIndex(this._currentId);
|
950
|
-
const startIndex = _start < _end ? _start : _end;
|
951
|
-
const endIndex = _end > _start ? _end : _start;
|
952
|
-
this._skipOnChange = startIndex + 1 !== endIndex;
|
953
|
-
const idsInRange = oids.reduce((prev, cur) => {
|
954
|
-
const id = cur;
|
955
|
-
if ((id === this._currentId || id === this._previousCurrentId)) {
|
956
|
-
isBetween = !isBetween;
|
957
|
-
if (prev.indexOf(id) < 0) {
|
958
|
-
prev.push(id);
|
959
|
-
}
|
960
|
-
}
|
961
|
-
else if (isBetween && prev.indexOf(id) < 0) {
|
962
|
-
prev.push(id);
|
963
|
-
}
|
964
|
-
return prev;
|
965
|
-
}, []);
|
966
|
-
const selectedIds = _start < _end ? idsInRange.reverse() : idsInRange;
|
967
|
-
this.selectedIds = [...new Set([...selectedIds, ...this.selectedIds])];
|
968
|
-
this._table.highlightIds.addMany(this.selectedIds.filter(i => ids.indexOf(i) < 0));
|
969
|
-
}
|
970
|
-
}
|
971
|
-
this._finishOnChange();
|
972
|
-
}
|
973
|
-
else {
|
974
|
-
this._skipOnChange = false;
|
975
|
-
}
|
976
|
-
this._currentId = [...this._table.highlightIds.toArray()].reverse()[0];
|
977
|
-
this._selectionFromMap = false;
|
978
|
-
}
|
979
|
-
/**
|
980
|
-
* Handle any updates after a selection change has occured and emit the results
|
981
|
-
*/
|
982
|
-
_finishOnChange() {
|
983
|
-
if (this._showOnlySelected) {
|
984
|
-
if (this._featuresSelected()) {
|
985
|
-
this._table.filterBySelection();
|
986
|
-
}
|
987
|
-
else {
|
988
|
-
this._toggleShowSelected();
|
989
|
-
}
|
990
|
-
}
|
991
|
-
this.featureSelectionChange.emit(this.selectedIds);
|
992
|
-
}
|
993
|
-
/**
|
994
|
-
* Reset the tables column templates when we get new column config
|
995
|
-
*/
|
996
|
-
_resetColumnTemplates() {
|
997
|
-
var _a, _b;
|
998
|
-
const columnTemplates = this._getColumnTemplates((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id, (_b = this._layer) === null || _b === void 0 ? void 0 : _b.fields);
|
999
|
-
const hasChange = columnTemplates === null || columnTemplates === void 0 ? void 0 : columnTemplates.some((ct, i) => {
|
1000
|
-
var _a;
|
1001
|
-
return JSON.stringify((_a = this._table) === null || _a === void 0 ? void 0 : _a.tableTemplate.columnTemplates[i]) !== JSON.stringify(ct);
|
1002
|
-
});
|
1003
|
-
if (this._table && columnTemplates && (hasChange || !this._columnsInfo)) {
|
1004
|
-
this._table.tableTemplate = new this.TableTemplate({
|
1005
|
-
columnTemplates
|
1006
|
-
});
|
1007
|
-
const fieldNames = columnTemplates.map(f => f.fieldName);
|
1008
|
-
this._initColumnsInfo(fieldNames);
|
1009
|
-
}
|
1010
|
-
}
|
1011
|
-
/**
|
1012
|
-
* Reset basic table props
|
1013
|
-
*/
|
1014
|
-
async _resetTable() {
|
1015
|
-
var _a;
|
1016
|
-
this._loaded = false;
|
1017
|
-
this._clearSelection();
|
1018
|
-
this._allIds = await queryAllIds(this._layer);
|
1019
|
-
if (!this._table) {
|
1020
|
-
const columnTemplates = this._getColumnTemplates(this._layer.id, (_a = this._layer) === null || _a === void 0 ? void 0 : _a.fields);
|
1021
|
-
await this._getTable(this._tableNode, columnTemplates);
|
1022
|
-
}
|
1023
|
-
else {
|
1024
|
-
this._table.view = this.mapView;
|
1025
|
-
this._table.layer = this._layer;
|
1026
|
-
}
|
1027
|
-
await this._initLayerRefresh();
|
1028
|
-
this._checkEditEnabled();
|
1029
|
-
this._table.editingEnabled = this._editEnabled && this.enableInlineEdit;
|
1030
|
-
await this._table.when();
|
1031
|
-
// This is a workaround.
|
1032
|
-
// In some cases the first time the app is loaded this._table.state === "loaded" is not being hit.
|
1033
|
-
// When this issue occurs we will wait for 1 second and attempt to finish the loading process
|
1034
|
-
setTimeout(() => {
|
1035
|
-
if (!this._loaded) {
|
1036
|
-
console.log(`table.state: ${this._table.state}`);
|
1037
|
-
void this.finishLoading();
|
1038
|
-
}
|
1039
|
-
}, 1000);
|
1040
|
-
await this.reactiveUtils.once(() => this._table.state === "loaded")
|
1041
|
-
.then(async () => {
|
1042
|
-
await this.finishLoading();
|
1043
|
-
});
|
1044
|
-
}
|
1045
|
-
/**
|
1046
|
-
* Finish the table loading tasks
|
1047
|
-
*/
|
1048
|
-
async finishLoading() {
|
1049
|
-
try {
|
1050
|
-
this._loaded = true;
|
1051
|
-
this._table.highlightIds.removeAll();
|
1052
|
-
this._table.clearSelectionFilter();
|
1053
|
-
this._resetColumnTemplates();
|
1054
|
-
this._showOnlySelected = false;
|
1055
|
-
await this._handleDefaults();
|
1056
|
-
await this._sortTable();
|
1057
|
-
this._initToolInfos();
|
1058
|
-
this._updateToolbar();
|
1059
|
-
}
|
1060
|
-
catch (e) {
|
1061
|
-
console.log(e);
|
1062
|
-
}
|
1063
|
-
}
|
1064
|
-
/**
|
1065
|
-
* Update the current IDs when that layers data is modified
|
1066
|
-
*/
|
1067
|
-
async _initLayerRefresh() {
|
1068
|
-
if (this._refreshHandle) {
|
1069
|
-
this._refreshHandle.remove();
|
1070
|
-
}
|
1071
|
-
this._refreshHandle = this._layer.on("refresh", (evt) => {
|
1072
|
-
if (evt.dataChanged) {
|
1073
|
-
this._skipOnChange = true;
|
1074
|
-
void this._updateAllIds();
|
1075
|
-
}
|
1076
|
-
});
|
1077
|
-
}
|
1078
|
-
/**
|
1079
|
-
* Reset _allIds when the layers data has changed and refresh the selection ids and table
|
1080
|
-
*/
|
1081
|
-
async _updateAllIds() {
|
1082
|
-
this._allIds = await queryAllIds(this._layer);
|
1083
|
-
this.selectedIds = this.selectedIds.filter(id => this._allIds.indexOf(id) > -1);
|
1084
|
-
await this._refresh();
|
1085
|
-
}
|
1086
|
-
/**
|
1087
|
-
* Handle default OID or GlobalID from url parameters
|
1088
|
-
*/
|
1089
|
-
async _handleDefaults() {
|
1090
|
-
var _a, _b;
|
1091
|
-
if (!this._defaultOidHonored && ((_a = this.defaultOid) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.defaultOid[0] > -1 && this._table) {
|
1092
|
-
await this._selectDefaultFeature(this.defaultOid);
|
1093
|
-
this._defaultOidHonored = true;
|
1094
|
-
this.defaultOid = undefined;
|
1095
|
-
this._showOnlySelected = false;
|
1096
|
-
this._toggleShowSelected();
|
1097
|
-
}
|
1098
|
-
if (!this._defaultGlobalIdHonored && ((_b = this.defaultGlobalId) === null || _b === void 0 ? void 0 : _b.length) > 0 && this._table) {
|
1099
|
-
const features = await queryFeaturesByGlobalID(this.defaultGlobalId, this._layer);
|
1100
|
-
const oids = (features === null || features === void 0 ? void 0 : features.length) > 0 ? features.map(f => f.getObjectId()) : undefined;
|
1101
|
-
if (oids) {
|
1102
|
-
await this._selectDefaultFeature(oids);
|
1103
|
-
}
|
1104
|
-
this._defaultGlobalIdHonored = true;
|
1105
|
-
this.defaultGlobalId = undefined;
|
1106
|
-
this._showOnlySelected = false;
|
1107
|
-
this._toggleShowSelected();
|
1108
|
-
}
|
1109
|
-
}
|
1110
|
-
/**
|
1111
|
-
* Store the column names and current hidden status to support show/hide of columns
|
1112
|
-
* @param fieldNames optional list of names from new config options
|
1113
|
-
*/
|
1114
|
-
_initColumnsInfo(fieldNames) {
|
1115
|
-
var _a, _b;
|
1116
|
-
// this._table.columns is not reflecting correct list when new
|
1117
|
-
// tableTemplate.columnTemplates have been defined on an existing FeatureTable
|
1118
|
-
// TODO review for better solution post 2024 R01 release
|
1119
|
-
const columnsInfo = (_a = this._table) === null || _a === void 0 ? void 0 : _a.columns.reduce((prev, cur) => {
|
1120
|
-
if (!fieldNames || ((fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.indexOf(cur.name)) > -1)) {
|
1121
|
-
prev[cur.name] = !cur.hidden;
|
1122
|
-
}
|
1123
|
-
return prev;
|
1124
|
-
}, {});
|
1125
|
-
const oldColumnNames = (_b = this._table) === null || _b === void 0 ? void 0 : _b.columns.map((c) => c.name);
|
1126
|
-
const newColumnNames = fieldNames ? fieldNames.filter(n => oldColumnNames.indexOf(n) < 0) : [];
|
1127
|
-
newColumnNames.forEach(c => {
|
1128
|
-
columnsInfo[c] = true;
|
1129
|
-
});
|
1130
|
-
this._columnsInfo = fieldNames ? fieldNames.reduce((prev, cur) => {
|
1131
|
-
prev[cur] = columnsInfo[cur];
|
1132
|
-
return prev;
|
1133
|
-
}, {}) : columnsInfo;
|
1134
|
-
}
|
1135
|
-
/**
|
1136
|
-
* Select the feature that was specified via url params
|
1137
|
-
*/
|
1138
|
-
async _selectDefaultFeature(oids) {
|
1139
|
-
if (oids.length > 0) {
|
1140
|
-
this._table.highlightIds.addMany(oids);
|
1141
|
-
// This is messed up and only make this worse
|
1142
|
-
//const i = this._table.viewModel.getObjectIdIndex(oids[0]);
|
1143
|
-
//this._table.viewModel.scrollToIndex(i);
|
1144
|
-
}
|
1145
|
-
}
|
1146
|
-
/**
|
1147
|
-
* Verify edit capabilities of the layer
|
1148
|
-
*/
|
1149
|
-
_checkEditEnabled() {
|
1150
|
-
this._editEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsUpdate;
|
1151
|
-
this._deleteEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsDelete;
|
1152
|
-
}
|
1153
|
-
/**
|
1154
|
-
* Sort the table with the configured field and the sort order
|
1155
|
-
*/
|
1156
|
-
async _sortTable() {
|
1157
|
-
var _a, _b, _c, _d, _e, _f;
|
1158
|
-
//By default sort the table using objectIdField and in descending order
|
1159
|
-
let sortField = (_a = this._layer) === null || _a === void 0 ? void 0 : _a.objectIdField;
|
1160
|
-
let sortOrder = 'desc';
|
1161
|
-
let configuredLayer;
|
1162
|
-
//get the sortField and sortOrder from the configuration
|
1163
|
-
if (((_d = (_c = (_b = this.mapInfo) === null || _b === void 0 ? void 0 : _b.layerOptions) === null || _c === void 0 ? void 0 : _c.layers) === null || _d === void 0 ? void 0 : _d.length) > 0 && ((_e = this._layer) === null || _e === void 0 ? void 0 : _e.id)) {
|
1164
|
-
configuredLayer = this.mapInfo.layerOptions.layers.filter((layer) => layer.id === this._layer.id);
|
1165
|
-
if (configuredLayer && configuredLayer.length > 0) {
|
1166
|
-
configuredLayer = configuredLayer[0];
|
1167
|
-
//if sort field is defined and sortField is available in the fields then use it
|
1168
|
-
if (configuredLayer.sortField && ((_f = configuredLayer.fields) === null || _f === void 0 ? void 0 : _f.includes(configuredLayer.sortField))) {
|
1169
|
-
sortField = configuredLayer.sortField;
|
1170
|
-
}
|
1171
|
-
//use sort order if configured
|
1172
|
-
sortOrder = (configuredLayer === null || configuredLayer === void 0 ? void 0 : configuredLayer.sortOrder) ? configuredLayer.sortOrder : "desc";
|
1173
|
-
}
|
1174
|
-
}
|
1175
|
-
if (this._table && this._layer) {
|
1176
|
-
await this._table.when();
|
1177
|
-
await this._layer.when(() => {
|
1178
|
-
this._table.sortColumn(sortField, sortOrder);
|
1179
|
-
});
|
1180
|
-
}
|
1181
|
-
}
|
1182
|
-
/**
|
1183
|
-
* Open show/hide dropdown
|
1184
|
-
*/
|
1185
|
-
_forceShowHide() {
|
1186
|
-
if (this._showHideDropdown) {
|
1187
|
-
this._showHideDropdown.open = this._showHideOpen;
|
1188
|
-
}
|
1189
|
-
if (this._moreDropdown) {
|
1190
|
-
this._moreDropdown.open = this._showHideOpen;
|
1191
|
-
}
|
1192
|
-
}
|
1193
|
-
/**
|
1194
|
-
* Toggle show/hide dropdown
|
1195
|
-
*/
|
1196
|
-
_toggleShowHide() {
|
1197
|
-
this._showHideOpen = !this._showHideOpen;
|
1198
|
-
}
|
1199
|
-
/**
|
1200
|
-
* Open show/hide dropdown
|
1201
|
-
*/
|
1202
|
-
_closeShowHide() {
|
1203
|
-
this._showHideOpen = false;
|
1204
|
-
}
|
1205
|
-
/**
|
1206
|
-
* Close show/hide dropdown when the user clicks outside of it
|
1207
|
-
*/
|
1208
|
-
_handleDocumentClick(e) {
|
1209
|
-
var _a;
|
1210
|
-
const id = (_a = e.target) === null || _a === void 0 ? void 0 : _a.id;
|
1211
|
-
if (this._showHideOpen && Object.keys(this._columnsInfo).indexOf(id) < 0 && id !== "solutions-subset-list" && id !== "chevron-right") {
|
1212
|
-
this._closeShowHide();
|
1213
|
-
if (this._moreDropdown) {
|
1214
|
-
this._moreDropdown.open = false;
|
1215
|
-
}
|
1216
|
-
if (this._showHideDropdown) {
|
1217
|
-
this._showHideDropdown.open = false;
|
1218
|
-
}
|
1219
|
-
}
|
1220
|
-
}
|
1221
|
-
/**
|
1222
|
-
* Keep track of key down for ctrl and shift
|
1223
|
-
*/
|
1224
|
-
_handleKeyDown(e) {
|
1225
|
-
this._ctrlIsPressed = e.ctrlKey;
|
1226
|
-
this._shiftIsPressed = e.shiftKey;
|
1227
|
-
}
|
1228
|
-
/**
|
1229
|
-
* Keep track of key up for ctrl and shift
|
1230
|
-
*/
|
1231
|
-
_handleKeyUp(e) {
|
1232
|
-
this._ctrlIsPressed = e.ctrlKey;
|
1233
|
-
this._shiftIsPressed = e.shiftKey;
|
1234
|
-
}
|
1235
|
-
/**
|
1236
|
-
* Show filter component in modal
|
1237
|
-
*
|
1238
|
-
* @returns node to interact with any configured filters for the current layer
|
1239
|
-
*/
|
1240
|
-
_filterModal() {
|
1241
|
-
var _a, _b, _c;
|
1242
|
-
return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", (_c = this._layer) === null || _c === void 0 ? void 0 : _c.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
|
1243
|
-
}
|
1244
|
-
/**
|
1245
|
-
* Reset the filter active prop
|
1246
|
-
*/
|
1247
|
-
_handleFilterListReset() {
|
1248
|
-
this._filterActive = false;
|
1249
|
-
this._updateShareUrl();
|
1250
|
-
}
|
1251
|
-
/**
|
1252
|
-
* Check if the layers definitionExpression has been modified
|
1253
|
-
*/
|
1254
|
-
_handleFilterUpdate() {
|
1255
|
-
const defExp = this._layer.definitionExpression;
|
1256
|
-
if (this._floorExpression) {
|
1257
|
-
const regEx = new RegExp(`${this._floorField} = ['].+[']`, "gm");
|
1258
|
-
this._layer.definitionExpression = defExp && this._floorField && defExp.indexOf(`${this._floorField} = '`) > -1 ?
|
1259
|
-
defExp.replace(regEx, this._floorExpression) : defExp ?
|
1260
|
-
`${defExp} AND (${this._floorExpression})` : this._floorExpression;
|
1261
|
-
}
|
1262
|
-
this._filterActive = this._definitionExpression !== this._layer.definitionExpression &&
|
1263
|
-
(this._floorExpression ? this._layer.definitionExpression !== this._floorExpression : true);
|
1264
|
-
this._updateShareUrl();
|
1265
|
-
}
|
1266
|
-
/**
|
1267
|
-
* Close the filter modal
|
1268
|
-
*/
|
1269
|
-
async _closeFilter() {
|
1270
|
-
if (this._filterOpen) {
|
1271
|
-
// reset allIds
|
1272
|
-
this._allIds = await queryAllIds(this._layer);
|
1273
|
-
this._filterOpen = false;
|
1274
|
-
}
|
1275
|
-
}
|
1276
|
-
/**
|
1277
|
-
* Handle map click events to keep table and map click selection in sync
|
1278
|
-
*
|
1279
|
-
* @param evt IMapClick map click event details
|
1280
|
-
*/
|
1281
|
-
async _mapClicked(evt) {
|
1282
|
-
const opts = {
|
1283
|
-
include: this._layer
|
1284
|
-
};
|
1285
|
-
const hitTestResult = await this.mapView.hitTest(evt.screenPoint, opts);
|
1286
|
-
if (hitTestResult.results.length > 0) {
|
1287
|
-
hitTestResult.results.forEach((result) => {
|
1288
|
-
const id = result.graphic.getObjectId();
|
1289
|
-
const index = this._table.highlightIds.indexOf(id);
|
1290
|
-
if (index < 0) {
|
1291
|
-
this._selectionFromMap = true;
|
1292
|
-
this._table.highlightIds.add(id);
|
1293
|
-
}
|
1294
|
-
});
|
1295
|
-
if (this._showOnlySelected) {
|
1296
|
-
this._table.filterBySelection();
|
1297
|
-
}
|
1298
|
-
}
|
1299
|
-
else {
|
1300
|
-
this._clearSelection();
|
1301
|
-
}
|
1302
|
-
}
|
1303
|
-
/**
|
1304
|
-
* Select or deselect all rows
|
1305
|
-
*/
|
1306
|
-
_selectAll() {
|
1307
|
-
const ids = this._allIds;
|
1308
|
-
this._table.highlightIds.removeAll();
|
1309
|
-
this._skipOnChange = true;
|
1310
|
-
this._table.highlightIds.addMany(ids);
|
1311
|
-
this.selectedIds = ids;
|
1312
|
-
this._finishOnChange();
|
1313
|
-
this._selectAllActive = true;
|
1314
|
-
}
|
1315
|
-
/**
|
1316
|
-
* Toggle the show only selected flag
|
1317
|
-
* When showOnly is true only the selected features will be shown in the table
|
1318
|
-
*/
|
1319
|
-
_toggleShowSelected() {
|
1320
|
-
this._showOnlySelected = !this._showOnlySelected;
|
1321
|
-
if (this._showOnlySelected) {
|
1322
|
-
this._table.filterBySelection();
|
1323
|
-
}
|
1324
|
-
else {
|
1325
|
-
this._table.clearSelectionFilter();
|
1326
|
-
}
|
1327
|
-
}
|
1328
|
-
/**
|
1329
|
-
* Clears the selected indexes
|
1330
|
-
*/
|
1331
|
-
_clearSelection() {
|
1332
|
-
var _a, _b;
|
1333
|
-
this.selectedIds = [];
|
1334
|
-
(_a = this._table) === null || _a === void 0 ? void 0 : _a.highlightIds.removeAll();
|
1335
|
-
(_b = this._table) === null || _b === void 0 ? void 0 : _b.rowHighlightIds.removeAll();
|
1336
|
-
this._finishOnChange();
|
1337
|
-
}
|
1338
|
-
/**
|
1339
|
-
* When true the filter modal will be displayed
|
1340
|
-
*/
|
1341
|
-
_toggleFilter() {
|
1342
|
-
this._filterOpen = !this._filterOpen;
|
1343
|
-
}
|
1344
|
-
/**
|
1345
|
-
* Store any filters for the current layer.
|
1346
|
-
* Should only occur on layer change
|
1347
|
-
*/
|
1348
|
-
_initLayerExpressions() {
|
1349
|
-
var _a, _b;
|
1350
|
-
const layerExpressions = (_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.layerExpressions;
|
1351
|
-
this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => { var _a; return exp.id === ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id); }) : [];
|
1352
|
-
this._filterList.layerExpressions = this._layerExpressions;
|
1353
|
-
this._filterActive = this._layerExpressions.filter(lyrExp => {
|
1354
|
-
return lyrExp.expressions.filter(exp => exp.active).length > 0;
|
1355
|
-
}).length > 0;
|
1356
|
-
}
|
1357
|
-
/**
|
1358
|
-
* Select all rows that are not currently selectd
|
1359
|
-
*/
|
1360
|
-
_switchSelected() {
|
1361
|
-
const currentIndexes = [...this.selectedIds];
|
1362
|
-
this._table.highlightIds.removeAll();
|
1363
|
-
const ids = this._allIds.reduce((prev, _cur) => {
|
1364
|
-
if (currentIndexes.indexOf(_cur) < 0) {
|
1365
|
-
prev.push(_cur);
|
1366
|
-
}
|
1367
|
-
return prev;
|
1368
|
-
}, []).sort((a, b) => a - b);
|
1369
|
-
this._skipOnChange = true;
|
1370
|
-
this._table.highlightIds.addMany(ids);
|
1371
|
-
this.selectedIds = ids;
|
1372
|
-
this._finishOnChange();
|
1373
|
-
}
|
1374
|
-
/**
|
1375
|
-
* Export all selected rows as CSV
|
1376
|
-
*
|
1377
|
-
* @returns a promise that will resolve when the operation is complete
|
1378
|
-
*/
|
1379
|
-
async _exportToCSV() {
|
1380
|
-
const exportInfos = {};
|
1381
|
-
const ids = this._table.highlightIds.toArray();
|
1382
|
-
exportInfos[this._layer.id] = {
|
1383
|
-
selectionSetNames: [this._layer.title],
|
1384
|
-
ids,
|
1385
|
-
layer: this._layer
|
1386
|
-
};
|
1387
|
-
const fields = this._table.columns.toArray().reduce((prev, cur) => {
|
1388
|
-
if (!cur.hidden) {
|
1389
|
-
prev.push(cur.name.toLocaleLowerCase());
|
1390
|
-
}
|
1391
|
-
return prev;
|
1392
|
-
}, []);
|
1393
|
-
this._updateToolInfoLoading("export", true);
|
1394
|
-
this._csvExporting = true;
|
1395
|
-
await downloadCSV(null, //???
|
1396
|
-
exportInfos, false, // formatUsingLayerPopup
|
1397
|
-
false, // removeDuplicates
|
1398
|
-
true, // addColumnTitle
|
1399
|
-
fields, true, true);
|
1400
|
-
this._updateToolInfoLoading("export", false);
|
1401
|
-
this._csvExporting = false;
|
1402
|
-
}
|
1403
|
-
/**
|
1404
|
-
* Set the loading prop in the stored toolInfos
|
1405
|
-
*/
|
1406
|
-
_updateToolInfoLoading(name, isLoading) {
|
1407
|
-
this._toolInfos.some(tool => {
|
1408
|
-
if ((tool === null || tool === void 0 ? void 0 : tool.icon) === name) {
|
1409
|
-
tool.loading = isLoading;
|
1410
|
-
return true;
|
1411
|
-
}
|
1412
|
-
});
|
1413
|
-
}
|
1414
|
-
/**
|
1415
|
-
* Refreshes the table and maintains the curent scroll position
|
1416
|
-
*/
|
1417
|
-
async _refresh() {
|
1418
|
-
await this._table.refresh();
|
1419
|
-
this.featureSelectionChange.emit(this.selectedIds);
|
1420
|
-
}
|
1421
|
-
/**
|
1422
|
-
* Zoom to all selected features
|
1423
|
-
*
|
1424
|
-
* @returns a promise that will resolve when the operation is complete
|
1425
|
-
*/
|
1426
|
-
async _zoom() {
|
1427
|
-
if (this._layer) {
|
1428
|
-
const selectedLayerView = await getFeatureLayerView(this.mapView, this._layer.id);
|
1429
|
-
await goToSelection(this.selectedIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
|
1430
|
-
}
|
1431
|
-
}
|
1432
|
-
/**
|
1433
|
-
* Handles layer selection change to show new table
|
1434
|
-
*
|
1435
|
-
* @param evt CustomEvent the id for the current layer
|
1436
|
-
*
|
1437
|
-
* @returns a promise that will resolve when the operation is complete
|
1438
|
-
*/
|
1439
|
-
async _layerSelectionChanged(evt) {
|
1440
|
-
var _a;
|
1441
|
-
const id = evt.detail[0];
|
1442
|
-
if (id !== ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id) || this._featuresEmpty()) {
|
1443
|
-
this._fetchingData = true;
|
1444
|
-
const layer = await getLayerOrTable(this.mapView, id);
|
1445
|
-
await layer.when(() => {
|
1446
|
-
this._layer = layer;
|
1447
|
-
});
|
1448
|
-
}
|
1449
|
-
this._fetchingData = false;
|
1450
|
-
}
|
1451
|
-
/**
|
1452
|
-
* Get any columnt templates for the current map
|
1453
|
-
*
|
1454
|
-
* @param id item ID of the current map
|
1455
|
-
*
|
1456
|
-
* @returns a list of column templates if they exist
|
1457
|
-
*/
|
1458
|
-
_getColumnTemplates(id, fieldInfos) {
|
1459
|
-
var _a, _b;
|
1460
|
-
let layerOption;
|
1461
|
-
(_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.layerOptions) === null || _b === void 0 ? void 0 : _b.layers.some(l => {
|
1462
|
-
if (l.id === id) {
|
1463
|
-
layerOption = l;
|
1464
|
-
return true;
|
1465
|
-
}
|
1466
|
-
});
|
1467
|
-
const fieldOrder = (layerOption === null || layerOption === void 0 ? void 0 : layerOption.fields) && (layerOption === null || layerOption === void 0 ? void 0 : layerOption.fieldOrder) ?
|
1468
|
-
layerOption.fieldOrder.filter(f => layerOption.fields.indexOf(f) > -1) :
|
1469
|
-
undefined;
|
1470
|
-
let columnTemplates;
|
1471
|
-
if (fieldInfos) {
|
1472
|
-
columnTemplates = layerOption && (layerOption === null || layerOption === void 0 ? void 0 : layerOption.fields)
|
1473
|
-
? fieldInfos.reduce((prev, cur) => {
|
1474
|
-
if (layerOption.fields.indexOf(cur.name) > -1) {
|
1475
|
-
const template = {
|
1476
|
-
type: "field",
|
1477
|
-
fieldName: cur.name,
|
1478
|
-
label: cur.alias,
|
1479
|
-
menuConfig: this._getMenuConfig(cur.name)
|
1480
|
-
};
|
1481
|
-
prev.push(template);
|
1482
|
-
}
|
1483
|
-
return prev;
|
1484
|
-
}, []).sort(this._sortFields.bind(this, layerOption === null || layerOption === void 0 ? void 0 : layerOption.fieldOrder))
|
1485
|
-
: fieldInfos.map(fieldInfo => {
|
1486
|
-
return {
|
1487
|
-
type: "field",
|
1488
|
-
fieldName: fieldInfo.name,
|
1489
|
-
label: fieldInfo.alias,
|
1490
|
-
menuConfig: this._getMenuConfig(fieldInfo.name)
|
1491
|
-
};
|
1492
|
-
});
|
1493
|
-
}
|
1494
|
-
return fieldOrder ?
|
1495
|
-
columnTemplates === null || columnTemplates === void 0 ? void 0 : columnTemplates.sort(this._sortFields.bind(this, fieldOrder)) :
|
1496
|
-
columnTemplates;
|
1497
|
-
}
|
1498
|
-
_sortFields(sorter, a, b) {
|
1499
|
-
return (sorter === null || sorter === void 0 ? void 0 : sorter.indexOf(a.fieldName)) - sorter.indexOf(b.fieldName);
|
1500
|
-
}
|
1501
|
-
/**
|
1502
|
-
* Get the menu config that adds the ability to hide the current column
|
1503
|
-
*/
|
1504
|
-
_getMenuConfig(name) {
|
1505
|
-
return {
|
1506
|
-
items: [
|
1507
|
-
{
|
1508
|
-
label: this._translations.hideField,
|
1509
|
-
icon: "view-hide",
|
1510
|
-
autoCloseMenu: true,
|
1511
|
-
clickFunction: () => {
|
1512
|
-
this._handleHideClick(name);
|
1513
|
-
}
|
1514
|
-
}
|
1515
|
-
]
|
1516
|
-
};
|
1517
|
-
}
|
1518
|
-
/**
|
1519
|
-
* Hide the table column for the provided name
|
1520
|
-
*/
|
1521
|
-
_handleHideClick(name) {
|
1522
|
-
this._columnsInfo[name] = false;
|
1523
|
-
this._table.hideColumn(name);
|
1524
|
-
this._table.tableTemplate.columnTemplates.forEach((columnTemplate) => {
|
1525
|
-
if (columnTemplate.fieldName === name) {
|
1526
|
-
columnTemplate.visible = false;
|
1527
|
-
}
|
1528
|
-
});
|
1529
|
-
}
|
1530
|
-
/**
|
1531
|
-
* Fetches the component's translations
|
1532
|
-
*
|
1533
|
-
* @returns Promise when complete
|
1534
|
-
* @protected
|
1535
|
-
*/
|
1536
|
-
async _getTranslations() {
|
1537
|
-
const messages = await getLocaleComponentStrings(this.el);
|
1538
|
-
this._translations = messages[0];
|
1539
|
-
}
|
1540
|
-
get el() { return getElement(this); }
|
1541
|
-
static get watchers() { return {
|
1542
|
-
"defaultOid": ["defaultOidWatchHandler"],
|
1543
|
-
"defaultGlobalId": ["defaultGlobalIdWatchHandler"],
|
1544
|
-
"enableCSV": ["enableCSVWatchHandler"],
|
1545
|
-
"enableInlineEdit": ["enableInlineEditWatchHandler"],
|
1546
|
-
"enableShare": ["enableShareWatchHandler"],
|
1547
|
-
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
1548
|
-
"mapHidden": ["mapHiddenWatchHandler"],
|
1549
|
-
"isMobile": ["isMobileWatchHandler"],
|
1550
|
-
"mapInfo": ["mapInfoWatchHandler"],
|
1551
|
-
"mapView": ["mapViewWatchHandler"],
|
1552
|
-
"_layer": ["_layerWatchHandler"],
|
1553
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
1554
|
-
}; }
|
1555
|
-
};
|
1556
|
-
LayerTable.style = layerTableCss;
|
1557
|
-
|
1558
|
-
export { LayerTable as layer_table };
|