@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,1562 +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
|
-
'use strict';
|
7
|
-
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
9
|
-
|
10
|
-
const index = require('./index-62dddc18.js');
|
11
|
-
const loadModules = require('./loadModules-e03cf23a.js');
|
12
|
-
const locale = require('./locale-898d043a.js');
|
13
|
-
const mapViewUtils = require('./mapViewUtils-83bc7d78.js');
|
14
|
-
const queryUtils = require('./queryUtils-ad516c97.js');
|
15
|
-
const downloadUtils = require('./downloadUtils-3f3ba92b.js');
|
16
|
-
require('./esri-loader-9b0ce1a4.js');
|
17
|
-
require('./_commonjsHelpers-2dd87068.js');
|
18
|
-
require('./interfaces-7cd0a48a.js');
|
19
|
-
require('./index-bf47f22d.js');
|
20
|
-
require('./index-f64944ad.js');
|
21
|
-
|
22
|
-
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%}";
|
23
|
-
|
24
|
-
const LayerTable = class {
|
25
|
-
constructor(hostRef) {
|
26
|
-
index.registerInstance(this, hostRef);
|
27
|
-
this.featureSelectionChange = index.createEvent(this, "featureSelectionChange", 7);
|
28
|
-
/**
|
29
|
-
* boolean: When true the ctrl key is currently pressed
|
30
|
-
*/
|
31
|
-
this._ctrlIsPressed = false;
|
32
|
-
/**
|
33
|
-
* boolean: When true the default filter provided via url param has been honored and should now be ignored
|
34
|
-
*/
|
35
|
-
this._defaultFilterHonored = false;
|
36
|
-
/**
|
37
|
-
* boolean: When true the default global id provided via url param has been honored and should now be ignored
|
38
|
-
*/
|
39
|
-
this._defaultGlobalIdHonored = false;
|
40
|
-
/**
|
41
|
-
* boolean: When true the default OID provided via url param has been honored and should now be ignored
|
42
|
-
*/
|
43
|
-
this._defaultOidHonored = false;
|
44
|
-
/**
|
45
|
-
* boolean: When true the table has been successfully loaded
|
46
|
-
*/
|
47
|
-
this._loaded = false;
|
48
|
-
/**
|
49
|
-
* boolean: When true the observer has been set and we don't need to set it again
|
50
|
-
*/
|
51
|
-
this._observerSet = false;
|
52
|
-
/**
|
53
|
-
* boolean: When true the current selection was done via the map and we will ignore shift->Select
|
54
|
-
*/
|
55
|
-
this._selectionFromMap = false;
|
56
|
-
/**
|
57
|
-
* boolean: When true the shift key is currently pressed
|
58
|
-
*/
|
59
|
-
this._shiftIsPressed = false;
|
60
|
-
/**
|
61
|
-
* boolean: When true any onChange handeling will be skipped
|
62
|
-
*/
|
63
|
-
this._skipOnChange = false;
|
64
|
-
/**
|
65
|
-
* Store a reference to the table node after it's first created
|
66
|
-
* and initializes the FeatureTable
|
67
|
-
*
|
68
|
-
* @param node HTMLDivElement The node representing the DOM element that will contain the widget.
|
69
|
-
*/
|
70
|
-
this.onTableNodeCreate = (node) => {
|
71
|
-
this._tableNode = node;
|
72
|
-
};
|
73
|
-
this.defaultGlobalId = undefined;
|
74
|
-
this.defaultLayerId = undefined;
|
75
|
-
this.defaultOid = undefined;
|
76
|
-
this.enableAutoRefresh = undefined;
|
77
|
-
this.enableColumnReorder = true;
|
78
|
-
this.enableCSV = undefined;
|
79
|
-
this.enableInlineEdit = undefined;
|
80
|
-
this.enableShare = undefined;
|
81
|
-
this.isMobile = undefined;
|
82
|
-
this.mapHidden = undefined;
|
83
|
-
this.mapInfo = undefined;
|
84
|
-
this.mapView = undefined;
|
85
|
-
this.onlyShowUpdatableLayers = undefined;
|
86
|
-
this.selectedIds = [];
|
87
|
-
this.shareIncludeEmbed = undefined;
|
88
|
-
this.shareIncludeSocial = undefined;
|
89
|
-
this.showNewestFirst = undefined;
|
90
|
-
this.zoomAndScrollToSelected = undefined;
|
91
|
-
this.zoomToScale = undefined;
|
92
|
-
this._allIds = [];
|
93
|
-
this._controlsThatFit = undefined;
|
94
|
-
this._csvExporting = false;
|
95
|
-
this._fetchingData = false;
|
96
|
-
this._filterActive = false;
|
97
|
-
this._filterOpen = false;
|
98
|
-
this._layer = undefined;
|
99
|
-
this._selectAllActive = false;
|
100
|
-
this._showHideOpen = false;
|
101
|
-
this._showOnlySelected = false;
|
102
|
-
this._toolInfos = undefined;
|
103
|
-
this._translations = undefined;
|
104
|
-
}
|
105
|
-
//--------------------------------------------------------------------------
|
106
|
-
//
|
107
|
-
// Watch handlers
|
108
|
-
//
|
109
|
-
//--------------------------------------------------------------------------
|
110
|
-
/**
|
111
|
-
* Handle url defaults when defaultOid is set
|
112
|
-
*/
|
113
|
-
async defaultOidWatchHandler() {
|
114
|
-
await this._handleDefaults();
|
115
|
-
}
|
116
|
-
/**
|
117
|
-
* Handle url defaults when defaultGlobalId is set
|
118
|
-
*/
|
119
|
-
async defaultGlobalIdWatchHandler() {
|
120
|
-
await this._handleDefaults();
|
121
|
-
}
|
122
|
-
/**
|
123
|
-
* Reset the toolInfos when export csv is enabled/disabled
|
124
|
-
*/
|
125
|
-
enableCSVWatchHandler() {
|
126
|
-
var _a;
|
127
|
-
if (((_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
128
|
-
this._initToolInfos();
|
129
|
-
}
|
130
|
-
}
|
131
|
-
/**
|
132
|
-
* Update the table when enableInlineEdit is enabled/disabled
|
133
|
-
*/
|
134
|
-
enableInlineEditWatchHandler() {
|
135
|
-
if (this._table) {
|
136
|
-
this._table.editingEnabled = this._editEnabled && this.enableInlineEdit;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
/**
|
140
|
-
* Update the toolbar when the share button is enabled/disabled
|
141
|
-
*/
|
142
|
-
enableShareWatchHandler() {
|
143
|
-
// this should be caught by component did render and is when I test locally
|
144
|
-
// however have had reported case where it is not somehow on devext so adding explicit check here
|
145
|
-
if (this._toolbar) {
|
146
|
-
this._updateToolbar();
|
147
|
-
}
|
148
|
-
}
|
149
|
-
/**
|
150
|
-
* watch for changes to the list of controls that will currently fit in the display
|
151
|
-
*/
|
152
|
-
_controlsThatFitWatchHandler() {
|
153
|
-
var _a;
|
154
|
-
const ids = this._controlsThatFit ? this._controlsThatFit.reduce((prev, cur) => {
|
155
|
-
prev.push(cur.id);
|
156
|
-
return prev;
|
157
|
-
}, []) : [];
|
158
|
-
this._toolInfos = (_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.map(ti => {
|
159
|
-
if (ti && this._controlsThatFit) {
|
160
|
-
const id = this._getId(ti.icon);
|
161
|
-
ti.isOverflow = ids.indexOf(id) < 0;
|
162
|
-
return ti;
|
163
|
-
}
|
164
|
-
});
|
165
|
-
}
|
166
|
-
/**
|
167
|
-
* Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
|
168
|
-
*/
|
169
|
-
mapHiddenWatchHandler() {
|
170
|
-
var _a;
|
171
|
-
if (((_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
172
|
-
this._initToolInfos();
|
173
|
-
}
|
174
|
-
}
|
175
|
-
/**
|
176
|
-
* When isMobile is false we need to init the tool infos for the dynamic toolbar
|
177
|
-
*/
|
178
|
-
isMobileWatchHandler() {
|
179
|
-
if (!this._toolInfos && !this.isMobile) {
|
180
|
-
this._initToolInfos();
|
181
|
-
}
|
182
|
-
}
|
183
|
-
/**
|
184
|
-
* watch for changes in map info and update the toolbar
|
185
|
-
*/
|
186
|
-
async mapInfoWatchHandler() {
|
187
|
-
this._resetColumnTemplates();
|
188
|
-
this._initLayerExpressions();
|
189
|
-
this._initToolInfos();
|
190
|
-
this._updateToolbar();
|
191
|
-
await this._sortTable();
|
192
|
-
}
|
193
|
-
/**
|
194
|
-
* watch for changes in map view and get the first layer
|
195
|
-
*/
|
196
|
-
async mapViewWatchHandler() {
|
197
|
-
if (this._mapClickHandle) {
|
198
|
-
this._mapClickHandle.remove();
|
199
|
-
}
|
200
|
-
if (this.mapView) {
|
201
|
-
this._floorExpression = undefined;
|
202
|
-
this._updateShareUrl();
|
203
|
-
this._mapClickHandle = this.reactiveUtils.on(() => this.mapView, "click", (event) => {
|
204
|
-
void this._mapClicked(event);
|
205
|
-
});
|
206
|
-
}
|
207
|
-
}
|
208
|
-
/**
|
209
|
-
* watch for changes in layer view and verify if it has editing enabled
|
210
|
-
*/
|
211
|
-
async _layerWatchHandler() {
|
212
|
-
var _a;
|
213
|
-
this._fetchingData = true;
|
214
|
-
await ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.when(async () => {
|
215
|
-
var _a;
|
216
|
-
this._definitionExpression = this._layer.definitionExpression;
|
217
|
-
this._floorField = (_a = this._layer.floorInfo) === null || _a === void 0 ? void 0 : _a.floorField;
|
218
|
-
this._updateFloorDefinitionExpression();
|
219
|
-
await this._resetTable();
|
220
|
-
this._initLayerExpressions();
|
221
|
-
this._updateShareUrl();
|
222
|
-
this._fetchingData = false;
|
223
|
-
}));
|
224
|
-
}
|
225
|
-
/**
|
226
|
-
* watch for selection changes
|
227
|
-
*/
|
228
|
-
async selectedIdsWatchHandler() {
|
229
|
-
this._updateShareUrl();
|
230
|
-
this._validateEnabledActions();
|
231
|
-
if (this._selectAllActive && this.selectedIds.length !== this._allIds.length) {
|
232
|
-
this._selectAllActive = false;
|
233
|
-
}
|
234
|
-
if (this.selectedIds.length > 0) {
|
235
|
-
this._table.rowHighlightIds.removeAll();
|
236
|
-
this._table.rowHighlightIds.add(this.selectedIds[0]);
|
237
|
-
}
|
238
|
-
}
|
239
|
-
/**
|
240
|
-
* Scroll and zoom to the selected feature from the Features widget.
|
241
|
-
*
|
242
|
-
* @param evt CustomEvent the graphic for the current selection
|
243
|
-
*/
|
244
|
-
async selectionChanged(evt) {
|
245
|
-
const g = evt.detail.selectedFeature[0];
|
246
|
-
const oid = g.getObjectId();
|
247
|
-
//Highlight the current selected feature in the table using rowHighlightIds
|
248
|
-
const table = this._table;
|
249
|
-
if (table.rowHighlightIds.length) {
|
250
|
-
table.rowHighlightIds.removeAll();
|
251
|
-
}
|
252
|
-
table.rowHighlightIds.add(oid);
|
253
|
-
if (this.zoomAndScrollToSelected) {
|
254
|
-
const i = this._table.viewModel.getObjectIdIndex(oid);
|
255
|
-
this._table.scrollToIndex(i);
|
256
|
-
const layer = g.layer;
|
257
|
-
const layerViews = this.mapView.allLayerViews.toArray();
|
258
|
-
let layerView;
|
259
|
-
layerViews.some(lv => {
|
260
|
-
if (lv.layer.title === layer.title && lv.layer.type === 'feature') {
|
261
|
-
layerView = lv;
|
262
|
-
return true;
|
263
|
-
}
|
264
|
-
});
|
265
|
-
if (layerView) {
|
266
|
-
await mapViewUtils.goToSelection([oid], layerView, this.mapView, true, undefined, this.zoomToScale);
|
267
|
-
}
|
268
|
-
}
|
269
|
-
}
|
270
|
-
/**
|
271
|
-
* Refresh the table when edits are completed
|
272
|
-
*/
|
273
|
-
async editsComplete(evt) {
|
274
|
-
const editType = evt.detail;
|
275
|
-
if (editType === "delete" || editType === "add") {
|
276
|
-
this._allIds = await queryUtils.queryAllIds(this._layer);
|
277
|
-
}
|
278
|
-
await this._refresh();
|
279
|
-
}
|
280
|
-
/**
|
281
|
-
* Refresh the table when floor filter facility is changed
|
282
|
-
*/
|
283
|
-
async facilityChanged(evt) {
|
284
|
-
this._floorFacility = evt.detail;
|
285
|
-
this._updateFloorDefinitionExpression();
|
286
|
-
}
|
287
|
-
/**
|
288
|
-
* Refresh the table when floor filter level is changed
|
289
|
-
*/
|
290
|
-
async levelChanged(evt) {
|
291
|
-
this._floorLevel = evt.detail;
|
292
|
-
this._updateFloorDefinitionExpression();
|
293
|
-
}
|
294
|
-
/**
|
295
|
-
* Refresh the table when floor filter site is changed
|
296
|
-
*/
|
297
|
-
async siteChanged(evt) {
|
298
|
-
this._floorSite = evt.detail;
|
299
|
-
this._updateFloorDefinitionExpression();
|
300
|
-
}
|
301
|
-
/**
|
302
|
-
* Refresh the table when
|
303
|
-
*/
|
304
|
-
noLayersFound() {
|
305
|
-
this._layer = undefined;
|
306
|
-
this._allIds = [];
|
307
|
-
this._clearSelection();
|
308
|
-
}
|
309
|
-
//--------------------------------------------------------------------------
|
310
|
-
//
|
311
|
-
// Functions (lifecycle)
|
312
|
-
//
|
313
|
-
//--------------------------------------------------------------------------
|
314
|
-
/**
|
315
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
316
|
-
*
|
317
|
-
* @returns Promise when complete
|
318
|
-
*/
|
319
|
-
async componentWillLoad() {
|
320
|
-
await this._getTranslations();
|
321
|
-
await this._initModules();
|
322
|
-
this._initToolInfos();
|
323
|
-
if (!this._resizeObserver) {
|
324
|
-
this._resizeObserver = new ResizeObserver(() => this._onResize());
|
325
|
-
}
|
326
|
-
}
|
327
|
-
/**
|
328
|
-
* Renders the component.
|
329
|
-
*/
|
330
|
-
render() {
|
331
|
-
const tableNodeClass = this._fetchingData ? "display-none" : "";
|
332
|
-
const loadingClass = this._fetchingData ? "" : "display-none";
|
333
|
-
const total = this._allIds.length.toString();
|
334
|
-
const selected = this.selectedIds.length.toString();
|
335
|
-
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
336
|
-
this._validateActiveActions();
|
337
|
-
return (index.h(index.Host, { key: '547a08c45cc3a0b0bdb5ab841ee202d2d43018dc' }, index.h("calcite-shell", { key: '7ac39e863586727df7685eb5c3faffd87c46bf9d' }, this._getTableControlRow("header"), index.h("div", { key: '322dc4820b17365f3f202ce43d85330d25081eb5', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '764955f3cf9371a5ff554821613fffbc9e0bd705', class: "height-full width-full" }, index.h("calcite-loader", { key: '031fc6520de11b166111626501f0208f1b69c9ff', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '8d62258ee356fdf6bc6c03f88848a32270ce5eed', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
338
|
-
.replace("{{total}}", total)
|
339
|
-
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
340
|
-
}
|
341
|
-
/**
|
342
|
-
* Called once after the component is loaded
|
343
|
-
*/
|
344
|
-
async componentDidLoad() {
|
345
|
-
if (!this.isMobile && !this._observerSet) {
|
346
|
-
this._resizeObserver.observe(this._toolbar);
|
347
|
-
this._observerSet = true;
|
348
|
-
}
|
349
|
-
document.onclick = (e) => this._handleDocumentClick(e);
|
350
|
-
document.onkeydown = (e) => this._handleKeyDown(e);
|
351
|
-
document.onkeyup = (e) => this._handleKeyUp(e);
|
352
|
-
}
|
353
|
-
/**
|
354
|
-
* Called after the component is rendered
|
355
|
-
*/
|
356
|
-
componentDidRender() {
|
357
|
-
this._updateToolbar();
|
358
|
-
}
|
359
|
-
//--------------------------------------------------------------------------
|
360
|
-
//
|
361
|
-
// Functions (protected)
|
362
|
-
//
|
363
|
-
//--------------------------------------------------------------------------
|
364
|
-
/**
|
365
|
-
* Load esri javascript api modules
|
366
|
-
*
|
367
|
-
* @returns Promise resolving when function is done
|
368
|
-
*
|
369
|
-
* @protected
|
370
|
-
*/
|
371
|
-
async _initModules() {
|
372
|
-
const [FeatureTable, reactiveUtils, TableTemplate] = await loadModules.loadModules([
|
373
|
-
"esri/widgets/FeatureTable",
|
374
|
-
"esri/core/reactiveUtils",
|
375
|
-
"esri/widgets/FeatureTable/support/TableTemplate"
|
376
|
-
]);
|
377
|
-
this.FeatureTable = FeatureTable;
|
378
|
-
this.reactiveUtils = reactiveUtils;
|
379
|
-
this.TableTemplate = TableTemplate;
|
380
|
-
}
|
381
|
-
/**
|
382
|
-
* Update the toolbar when its size changes
|
383
|
-
*/
|
384
|
-
_onResize() {
|
385
|
-
this._updateToolbar();
|
386
|
-
}
|
387
|
-
/**
|
388
|
-
* Gets a row of controls that can be used for various interactions with the table
|
389
|
-
*
|
390
|
-
* @param slot string optional slot to display the control within
|
391
|
-
*
|
392
|
-
* @returns The dom node that contains the controls
|
393
|
-
*/
|
394
|
-
_getTableControlRow(slot) {
|
395
|
-
const id = "more-table-options";
|
396
|
-
return (index.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));
|
397
|
-
}
|
398
|
-
/**
|
399
|
-
* Gets a row of controls that can be used for various interactions with the table
|
400
|
-
*
|
401
|
-
* @param slot string optional slot to display the control within
|
402
|
-
*
|
403
|
-
* @returns The dom node that contains the controls
|
404
|
-
*/
|
405
|
-
_getActionBar() {
|
406
|
-
const containerClass = this.isMobile ? "width-full" : "";
|
407
|
-
const mobileClass = this.isMobile ? "border-top" : "";
|
408
|
-
return (index.h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, index.h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, index.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));
|
409
|
-
}
|
410
|
-
/**
|
411
|
-
* Get the actions that are used for various interactions with the table
|
412
|
-
*
|
413
|
-
* @returns VNode[] the action nodes
|
414
|
-
*/
|
415
|
-
_getActions() {
|
416
|
-
const actions = this._getActionItems();
|
417
|
-
return actions === null || actions === void 0 ? void 0 : actions.reduce((prev, cur) => {
|
418
|
-
if (cur && !cur.isOverflow) {
|
419
|
-
prev.push(cur.isDanger ?
|
420
|
-
this._getDangerAction(cur.icon, cur.label, cur.func, cur.disabled) :
|
421
|
-
cur.isSublist ? (index.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)) :
|
422
|
-
this._getAction(cur.active, cur.icon, cur.indicator, cur.label, cur.func, cur.disabled, cur.loading));
|
423
|
-
}
|
424
|
-
return prev;
|
425
|
-
}, []);
|
426
|
-
}
|
427
|
-
/**
|
428
|
-
* Get the list of fields as dropdown items and store the current selected state so
|
429
|
-
* we can show/hide the appropriate fields
|
430
|
-
*
|
431
|
-
* @returns Node with the fields as dropdown items
|
432
|
-
*/
|
433
|
-
_getFieldlist() {
|
434
|
-
return this._columnsInfo ? (index.h("calcite-dropdown-group", { "selection-mode": "multiple" }, Object.keys(this._columnsInfo).map(k => {
|
435
|
-
const selected = this._columnsInfo[k];
|
436
|
-
return (index.h("calcite-dropdown-item", { id: k, onClick: (e) => {
|
437
|
-
const target = e.target;
|
438
|
-
this._columnsInfo[target.id] = target.selected;
|
439
|
-
if (!target.selected) {
|
440
|
-
this._table.hideColumn(target.id);
|
441
|
-
}
|
442
|
-
else {
|
443
|
-
this._table.showColumn(target.id);
|
444
|
-
}
|
445
|
-
}, selected: selected }, k));
|
446
|
-
}))) : undefined;
|
447
|
-
}
|
448
|
-
/**
|
449
|
-
* Update actions enabled prop based on number of selected indexes
|
450
|
-
*/
|
451
|
-
_validateEnabledActions() {
|
452
|
-
var _a;
|
453
|
-
const featuresSelected = this._featuresSelected();
|
454
|
-
const selectionDependant = [
|
455
|
-
"zoom-to-object",
|
456
|
-
"trash",
|
457
|
-
"erase",
|
458
|
-
"selected-items-filter"
|
459
|
-
];
|
460
|
-
(_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.forEach(ti => {
|
461
|
-
if (ti && selectionDependant.indexOf(ti.icon) > -1) {
|
462
|
-
ti.disabled = !featuresSelected;
|
463
|
-
}
|
464
|
-
});
|
465
|
-
}
|
466
|
-
/**
|
467
|
-
* Update actions active prop based on a stored value
|
468
|
-
*/
|
469
|
-
_validateActiveActions() {
|
470
|
-
var _a;
|
471
|
-
const activeDependant = [
|
472
|
-
"filter",
|
473
|
-
"list-check-all",
|
474
|
-
"selected-items-filter"
|
475
|
-
];
|
476
|
-
(_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.forEach(ti => {
|
477
|
-
if (ti && activeDependant.indexOf(ti.icon) > -1) {
|
478
|
-
if (ti.icon === "filter") {
|
479
|
-
ti.indicator = this._filterActive;
|
480
|
-
}
|
481
|
-
if (ti.icon === "list-check-all") {
|
482
|
-
ti.active = this._selectAllActive;
|
483
|
-
}
|
484
|
-
if (ti.icon === "selected-items-filter") {
|
485
|
-
ti.active = this._showOnlySelected;
|
486
|
-
}
|
487
|
-
}
|
488
|
-
});
|
489
|
-
}
|
490
|
-
/**
|
491
|
-
* Get the full list of toolInfos.
|
492
|
-
* Order is important. They should be listed in the order they should display in the UI from
|
493
|
-
* Left to Right for the action bar and Top to Bottom for the dropdown.
|
494
|
-
*/
|
495
|
-
_initToolInfos() {
|
496
|
-
const featuresSelected = this._featuresSelected();
|
497
|
-
const featuresEmpty = this._featuresEmpty();
|
498
|
-
const hasFilterExpressions = this._hasFilterExpressions();
|
499
|
-
if (this._translations) {
|
500
|
-
this._toolInfos = [
|
501
|
-
!this.mapHidden ? {
|
502
|
-
active: false,
|
503
|
-
icon: "zoom-to-object",
|
504
|
-
indicator: false,
|
505
|
-
label: this._translations.zoom,
|
506
|
-
func: () => this._zoom(),
|
507
|
-
disabled: !featuresSelected,
|
508
|
-
isOverflow: false
|
509
|
-
} : undefined,
|
510
|
-
hasFilterExpressions ? {
|
511
|
-
active: false,
|
512
|
-
icon: "filter",
|
513
|
-
indicator: false,
|
514
|
-
label: this._translations.filters,
|
515
|
-
func: () => this._toggleFilter(),
|
516
|
-
disabled: false,
|
517
|
-
isOverflow: false
|
518
|
-
} : undefined,
|
519
|
-
this._deleteEnabled ? {
|
520
|
-
active: undefined,
|
521
|
-
icon: "trash",
|
522
|
-
indicator: undefined,
|
523
|
-
label: undefined,
|
524
|
-
func: undefined,
|
525
|
-
disabled: !featuresSelected,
|
526
|
-
isDanger: true,
|
527
|
-
isOverflow: false
|
528
|
-
} : undefined, {
|
529
|
-
active: false,
|
530
|
-
icon: "erase",
|
531
|
-
indicator: false,
|
532
|
-
label: this._translations.clearSelection,
|
533
|
-
func: () => this._clearSelection(),
|
534
|
-
disabled: !featuresSelected,
|
535
|
-
isOverflow: false
|
536
|
-
}, {
|
537
|
-
active: false,
|
538
|
-
icon: "selected-items-filter",
|
539
|
-
indicator: false,
|
540
|
-
label: this._showOnlySelected ? this._translations.showAll : this._translations.showSelected,
|
541
|
-
func: () => this._toggleShowSelected(),
|
542
|
-
disabled: !featuresSelected,
|
543
|
-
isOverflow: false
|
544
|
-
}, {
|
545
|
-
active: false,
|
546
|
-
icon: "list-check-all",
|
547
|
-
indicator: false,
|
548
|
-
func: () => this._selectAll(),
|
549
|
-
label: this._translations.selectAll,
|
550
|
-
disabled: featuresEmpty,
|
551
|
-
isOverflow: false
|
552
|
-
}, {
|
553
|
-
active: false,
|
554
|
-
icon: "compare",
|
555
|
-
indicator: false,
|
556
|
-
func: () => this._switchSelected(),
|
557
|
-
label: this._translations.switchSelected,
|
558
|
-
disabled: featuresEmpty,
|
559
|
-
isOverflow: false
|
560
|
-
}, {
|
561
|
-
active: false,
|
562
|
-
icon: "refresh",
|
563
|
-
indicator: false,
|
564
|
-
func: () => this._refresh(),
|
565
|
-
label: this._translations.refresh,
|
566
|
-
disabled: false,
|
567
|
-
isOverflow: false
|
568
|
-
},
|
569
|
-
this.enableCSV ? {
|
570
|
-
active: false,
|
571
|
-
icon: "export",
|
572
|
-
indicator: false,
|
573
|
-
func: () => void this._exportToCSV(),
|
574
|
-
label: this._translations.exportCSV,
|
575
|
-
loading: this._csvExporting,
|
576
|
-
disabled: featuresEmpty,
|
577
|
-
isOverflow: false
|
578
|
-
} : undefined, {
|
579
|
-
active: false,
|
580
|
-
icon: this._showHideOpen ? "chevron-down" : "chevron-right",
|
581
|
-
indicator: false,
|
582
|
-
func: () => this._toggleShowHide(),
|
583
|
-
label: this._translations.showHideColumns,
|
584
|
-
disabled: false,
|
585
|
-
isOverflow: false,
|
586
|
-
isSublist: true
|
587
|
-
}
|
588
|
-
];
|
589
|
-
this._defaultVisibleToolSizeInfos = undefined;
|
590
|
-
}
|
591
|
-
}
|
592
|
-
/**
|
593
|
-
* Applies a definition expression when floor field and level are available
|
594
|
-
*
|
595
|
-
* @returns boolean
|
596
|
-
*/
|
597
|
-
_updateFloorDefinitionExpression() {
|
598
|
-
if (this._floorField && this._floorLevel) {
|
599
|
-
const floorExp = `${this._floorField} = '${this._floorLevel}'`;
|
600
|
-
const defExp = this._layer.definitionExpression;
|
601
|
-
this._layer.definitionExpression = (defExp === null || defExp === void 0 ? void 0 : defExp.indexOf(this._floorExpression)) > -1 ?
|
602
|
-
defExp.replace(this._floorExpression, floorExp) :
|
603
|
-
defExp ? `${defExp} AND (${floorExp})` : floorExp;
|
604
|
-
this._floorExpression = floorExp;
|
605
|
-
}
|
606
|
-
}
|
607
|
-
/**
|
608
|
-
* Returns true when one ore more features are selected
|
609
|
-
*
|
610
|
-
* @returns boolean
|
611
|
-
*/
|
612
|
-
_featuresSelected() {
|
613
|
-
return this.selectedIds.length > 0;
|
614
|
-
}
|
615
|
-
/**
|
616
|
-
* Return true when we have no features
|
617
|
-
*
|
618
|
-
* @returns boolean
|
619
|
-
*/
|
620
|
-
_featuresEmpty() {
|
621
|
-
return this._allIds.length === 0;
|
622
|
-
}
|
623
|
-
/**
|
624
|
-
* Return true when we have at least 1 layer expression for the current layer
|
625
|
-
*
|
626
|
-
* @returns boolean
|
627
|
-
*/
|
628
|
-
_hasFilterExpressions() {
|
629
|
-
var _a, _b, _c;
|
630
|
-
let layerExpressions;
|
631
|
-
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)) {
|
632
|
-
layerExpressions = this.mapInfo.filterConfig.layerExpressions.filter((exp) => exp.id === this._layer.id);
|
633
|
-
}
|
634
|
-
return (layerExpressions === null || layerExpressions === void 0 ? void 0 : layerExpressions.length) > 0;
|
635
|
-
}
|
636
|
-
/**
|
637
|
-
* Add/Remove tools from the action bar and dropdown based on available size
|
638
|
-
*/
|
639
|
-
_updateToolbar() {
|
640
|
-
if (this._timeout) {
|
641
|
-
clearTimeout(this._timeout);
|
642
|
-
}
|
643
|
-
if (!this.isMobile && this._toolbar && this._toolInfos) {
|
644
|
-
this._timeout = setTimeout(() => {
|
645
|
-
clearTimeout(this._timeout);
|
646
|
-
this._setToolbarSizeInfos();
|
647
|
-
const toolbarWidth = this._toolbar.offsetWidth;
|
648
|
-
let controlsWidth = this._toolbarSizeInfos.reduce((prev, cur) => {
|
649
|
-
prev += cur.width;
|
650
|
-
return prev;
|
651
|
-
}, 0);
|
652
|
-
const skipControls = ["solutions-more", "solutions-map-layer-picker-container", "solutions-action-share"];
|
653
|
-
if (controlsWidth > toolbarWidth) {
|
654
|
-
if (this._toolbarSizeInfos.length > 0) {
|
655
|
-
const controlsThatFit = [...this._toolbarSizeInfos].reverse().reduce((prev, cur) => {
|
656
|
-
if (skipControls.indexOf(cur.id) < 0) {
|
657
|
-
if (controlsWidth > toolbarWidth) {
|
658
|
-
controlsWidth -= cur.width;
|
659
|
-
}
|
660
|
-
else {
|
661
|
-
prev.push(cur);
|
662
|
-
}
|
663
|
-
}
|
664
|
-
return prev;
|
665
|
-
}, []).reverse();
|
666
|
-
this._setControlsThatFit(controlsThatFit, skipControls);
|
667
|
-
}
|
668
|
-
}
|
669
|
-
else {
|
670
|
-
if (this._defaultVisibleToolSizeInfos) {
|
671
|
-
const currentTools = this._toolbarSizeInfos.reduce((prev, cur) => {
|
672
|
-
prev.push(cur.id);
|
673
|
-
return prev;
|
674
|
-
}, []);
|
675
|
-
let forceFinish = false;
|
676
|
-
const controlsThatFit = [...this._defaultVisibleToolSizeInfos].reduce((prev, cur) => {
|
677
|
-
if (!forceFinish && skipControls.indexOf(cur.id) < 0 &&
|
678
|
-
(currentTools.indexOf(cur.id) > -1 || (controlsWidth + cur.width) <= toolbarWidth)) {
|
679
|
-
if (currentTools.indexOf(cur.id) < 0) {
|
680
|
-
controlsWidth += cur.width;
|
681
|
-
}
|
682
|
-
prev.push(cur);
|
683
|
-
}
|
684
|
-
else if (skipControls.indexOf(cur.id) < 0 && (controlsWidth + cur.width) > toolbarWidth) {
|
685
|
-
// exit the first time we evalute this as true...otherwise it will add the next control that will fit
|
686
|
-
// and not preserve the overall order of controls
|
687
|
-
forceFinish = true;
|
688
|
-
}
|
689
|
-
return prev;
|
690
|
-
}, []);
|
691
|
-
this._setControlsThatFit(controlsThatFit, skipControls);
|
692
|
-
}
|
693
|
-
}
|
694
|
-
}, 250);
|
695
|
-
}
|
696
|
-
}
|
697
|
-
/**
|
698
|
-
* Validate if controls that fit the current display has changed or
|
699
|
-
* is different from what is currently displayed
|
700
|
-
*/
|
701
|
-
_setControlsThatFit(controlsThatFit, skipControls) {
|
702
|
-
let update = JSON.stringify(controlsThatFit) !== JSON.stringify(this._controlsThatFit);
|
703
|
-
const actionbar = document.getElementById("solutions-action-bar");
|
704
|
-
actionbar.childNodes.forEach((n) => {
|
705
|
-
if (skipControls.indexOf(n.id) < 0 && !update) {
|
706
|
-
update = this._controlsThatFit.map(c => c.id).indexOf(n.id) < 0;
|
707
|
-
}
|
708
|
-
});
|
709
|
-
if (update) {
|
710
|
-
this._controlsThatFit = [...controlsThatFit];
|
711
|
-
}
|
712
|
-
}
|
713
|
-
/**
|
714
|
-
* Get the id and size for the toolbars current items
|
715
|
-
*/
|
716
|
-
_setToolbarSizeInfos() {
|
717
|
-
let hasWidth = false;
|
718
|
-
this._toolbarSizeInfos = [];
|
719
|
-
this._toolbar.childNodes.forEach((c, i) => {
|
720
|
-
// handle the action bar
|
721
|
-
if (i === 0) {
|
722
|
-
c.childNodes.forEach((actionbarChild) => {
|
723
|
-
this._toolbarSizeInfos.push({
|
724
|
-
id: actionbarChild.id,
|
725
|
-
width: actionbarChild.offsetWidth
|
726
|
-
});
|
727
|
-
if (!hasWidth) {
|
728
|
-
hasWidth = actionbarChild.offsetWidth > 0;
|
729
|
-
}
|
730
|
-
});
|
731
|
-
}
|
732
|
-
else if (!c.referenceElement) {
|
733
|
-
// skip tooltips
|
734
|
-
this._toolbarSizeInfos.push({
|
735
|
-
id: c.id,
|
736
|
-
width: c.offsetWidth
|
737
|
-
});
|
738
|
-
if (!hasWidth) {
|
739
|
-
hasWidth = c.offsetWidth > 0;
|
740
|
-
}
|
741
|
-
}
|
742
|
-
});
|
743
|
-
if (hasWidth && !this._defaultVisibleToolSizeInfos) {
|
744
|
-
this._defaultVisibleToolSizeInfos = [...this._toolbarSizeInfos];
|
745
|
-
}
|
746
|
-
}
|
747
|
-
/**
|
748
|
-
* Get a list of toolInfos that should display outside of the dropdown
|
749
|
-
*
|
750
|
-
* @returns IToolInfo[] the list of toolInfos that should not display in the overflow dropdown
|
751
|
-
*/
|
752
|
-
_getActionItems() {
|
753
|
-
var _a;
|
754
|
-
return (_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.filter(toolInfo => toolInfo && !toolInfo.isOverflow);
|
755
|
-
}
|
756
|
-
/**
|
757
|
-
* Get a list of toolInfos that should display in the dropdown
|
758
|
-
*
|
759
|
-
* @param id string the id for the dropdown and its tooltip
|
760
|
-
*
|
761
|
-
* @returns VNode the dropdown node
|
762
|
-
*/
|
763
|
-
_getDropdown(id) {
|
764
|
-
const dropdownItems = this._getDropdownItems();
|
765
|
-
return dropdownItems.length > 0 ? (index.h("calcite-dropdown", { closeOnSelectDisabled: true, disabled: this._layer === undefined, id: "solutions-more", onCalciteDropdownBeforeClose: () => this._forceShowHide(), ref: (el) => this._moreDropdown = el }, index.h("calcite-action", { appearance: "solid", id: id, label: "", onClick: () => this._closeShowHide(), slot: "trigger", text: "" }, index.h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), index.h("calcite-dropdown-group", { "selection-mode": "none" }, dropdownItems.map(item => {
|
766
|
-
return (index.h("calcite-dropdown-group", { class: item.disabled ? "disabled" : "", selectionMode: item.disabled ? "none" : "single" }, index.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 ? (index.h("div", { class: "display-flex" }, index.h("calcite-loader", { inline: true, label: item.label, scale: "m" }), item.label)) : item.label)));
|
767
|
-
})), this._showHideOpen ? this._getFieldlist() : undefined)) : undefined;
|
768
|
-
}
|
769
|
-
/**
|
770
|
-
* Get a list of toolInfos that should display in the dropdown
|
771
|
-
*
|
772
|
-
* @returns IToolInfo[] the list of toolInfos that should display in the dropdown
|
773
|
-
*/
|
774
|
-
_getDropdownItems() {
|
775
|
-
var _a;
|
776
|
-
return (_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.filter(toolInfo => toolInfo && toolInfo.isOverflow);
|
777
|
-
}
|
778
|
-
/**
|
779
|
-
* Get an action and tooltip
|
780
|
-
*
|
781
|
-
* @param icon string the name of the icon to display, will also be used as the id
|
782
|
-
* @param label string the text to display and label the action
|
783
|
-
* @param func any the function to execute
|
784
|
-
* @param disabled boolean when true the user will not be able to interact with the action
|
785
|
-
*
|
786
|
-
* @returns VNode The node representing the DOM element that will contain the action
|
787
|
-
*/
|
788
|
-
_getAction(active, icon, indicator, label, func, disabled, loading, slot) {
|
789
|
-
const _disabled = this._layer === undefined ? true : disabled;
|
790
|
-
return (index.h("div", { class: "display-flex", id: this._getId(icon), slot: slot }, index.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)));
|
791
|
-
}
|
792
|
-
/**
|
793
|
-
* Get an action and tooltip for share
|
794
|
-
*
|
795
|
-
* @param icon string the name of the icon to display, will also be used in its id
|
796
|
-
*
|
797
|
-
* @returns VNode The node representing the DOM element that will contain the action
|
798
|
-
*/
|
799
|
-
_getShare(icon) {
|
800
|
-
return (index.h("div", { class: "share-action", id: this._getId(icon) }, index.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)));
|
801
|
-
}
|
802
|
-
/**
|
803
|
-
* Called each time the values that are used for custom url params change
|
804
|
-
*/
|
805
|
-
_updateShareUrl() {
|
806
|
-
var _a, _b, _c, _d;
|
807
|
-
const url = (_a = this._shareNode) === null || _a === void 0 ? void 0 : _a.shareUrl;
|
808
|
-
if (!url) {
|
809
|
-
return;
|
810
|
-
}
|
811
|
-
const urlObj = new URL(url);
|
812
|
-
//set the additional search params
|
813
|
-
if ((_b = this.mapInfo) === null || _b === void 0 ? void 0 : _b.id) {
|
814
|
-
urlObj.searchParams.set("webmap", this.mapInfo.id);
|
815
|
-
}
|
816
|
-
else {
|
817
|
-
urlObj.searchParams.delete("webmap");
|
818
|
-
}
|
819
|
-
if ((_c = this._layer) === null || _c === void 0 ? void 0 : _c.id) {
|
820
|
-
urlObj.searchParams.set("layer", this._layer.id);
|
821
|
-
}
|
822
|
-
else {
|
823
|
-
urlObj.searchParams.delete("layer");
|
824
|
-
}
|
825
|
-
if (((_d = this.selectedIds) === null || _d === void 0 ? void 0 : _d.length) > 0) {
|
826
|
-
urlObj.searchParams.set("oid", this.selectedIds.join(","));
|
827
|
-
}
|
828
|
-
else {
|
829
|
-
urlObj.searchParams.delete("oid");
|
830
|
-
}
|
831
|
-
this._shareNode.shareUrl = urlObj.href;
|
832
|
-
}
|
833
|
-
/**
|
834
|
-
* Get a tooltip
|
835
|
-
*
|
836
|
-
* @param label string accessible name for the component
|
837
|
-
* @param placement string where the tooltip should display
|
838
|
-
* @param referenceElement string the element the tooltip will be associated with
|
839
|
-
* @param text string the text to display in the tooltip
|
840
|
-
*
|
841
|
-
* @returns VNode The tooltip node
|
842
|
-
*/
|
843
|
-
_getToolTip(placement, referenceElement, text) {
|
844
|
-
return document.getElementById(referenceElement) ? (index.h("calcite-tooltip", { placement: placement, "reference-element": referenceElement }, index.h("span", null, text))) : undefined;
|
845
|
-
}
|
846
|
-
/**
|
847
|
-
* Get an id with a prefix to the user supplied value
|
848
|
-
*
|
849
|
-
* @param id the unique value for the id
|
850
|
-
*
|
851
|
-
* @returns the new id with the prefix value
|
852
|
-
*/
|
853
|
-
_getId(id) {
|
854
|
-
return `solutions-action-${id}`;
|
855
|
-
}
|
856
|
-
/**
|
857
|
-
* Get an action with danger color icon and text
|
858
|
-
*
|
859
|
-
* @param icon string the name of the icon to display, will also be used as the id
|
860
|
-
* @param label string the text to display and label the action
|
861
|
-
* @param func any the function to execute
|
862
|
-
* @param disabled boolean when true the user will not be able to interact with the action
|
863
|
-
*
|
864
|
-
* @returns VNode The node representing the DOM element that will contain the action
|
865
|
-
*/
|
866
|
-
_getDangerAction(icon, label, func, disabled) {
|
867
|
-
const _disabled = this._layer === undefined ? true : disabled;
|
868
|
-
return (index.h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (index.h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, ids: this._getIds(), layer: this._layer })) : (index.h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: "" }, index.h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
|
869
|
-
}
|
870
|
-
/**
|
871
|
-
* Return all currently selected IDs from the table
|
872
|
-
*
|
873
|
-
* @param number[] the selected ids
|
874
|
-
*/
|
875
|
-
_getIds() {
|
876
|
-
return this._table.highlightIds.toArray();
|
877
|
-
}
|
878
|
-
/**
|
879
|
-
* Initialize the FeatureTable
|
880
|
-
*
|
881
|
-
* @param node HTMLDivElement The node representing the DOM element that will contain the widget.
|
882
|
-
*/
|
883
|
-
async _getTable(node, columnTemplates) {
|
884
|
-
if (this._layer) {
|
885
|
-
await this._layer.when(() => {
|
886
|
-
this._table = new this.FeatureTable({
|
887
|
-
autoRefreshEnabled: this.enableAutoRefresh,
|
888
|
-
layer: this._layer,
|
889
|
-
view: this.mapView,
|
890
|
-
columnReorderingEnabled: this.enableColumnReorder,
|
891
|
-
editingEnabled: this._editEnabled && this.enableInlineEdit,
|
892
|
-
highlightEnabled: true,
|
893
|
-
multiSortEnabled: false,
|
894
|
-
visibleElements: {
|
895
|
-
header: false,
|
896
|
-
menu: false
|
897
|
-
},
|
898
|
-
tableTemplate: {
|
899
|
-
columnTemplates
|
900
|
-
},
|
901
|
-
container: node
|
902
|
-
});
|
903
|
-
});
|
904
|
-
await this._table.when(() => {
|
905
|
-
this._table.highlightIds.on("change", (evt) => {
|
906
|
-
void this._handleOnChange(evt);
|
907
|
-
});
|
908
|
-
});
|
909
|
-
}
|
910
|
-
}
|
911
|
-
async _handleOnChange(evt) {
|
912
|
-
const ids = [...this._table.highlightIds.toArray()];
|
913
|
-
if (!this._skipOnChange) {
|
914
|
-
if ((!this._ctrlIsPressed && !this._shiftIsPressed) || (this._selectionFromMap && this._shiftIsPressed)) {
|
915
|
-
if (this.selectedIds.length > 0) {
|
916
|
-
this._skipOnChange = true;
|
917
|
-
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
918
|
-
const reAdd = this.selectedIds.length > 1 && evt.removed.length === 1;
|
919
|
-
const newIds = reAdd ? evt.removed : ids.filter(id => this.selectedIds.indexOf(id) < 0);
|
920
|
-
this._clearSelection();
|
921
|
-
this.selectedIds = [...newIds];
|
922
|
-
if (newIds.length > 0) {
|
923
|
-
this._table.highlightIds.add(newIds[0]);
|
924
|
-
}
|
925
|
-
else {
|
926
|
-
this._skipOnChange = false;
|
927
|
-
}
|
928
|
-
}
|
929
|
-
else {
|
930
|
-
// https://github.com/Esri/solutions-components/issues/365
|
931
|
-
this.selectedIds = ids.reverse();
|
932
|
-
}
|
933
|
-
}
|
934
|
-
else if (this._ctrlIsPressed) {
|
935
|
-
this.selectedIds = ids.reverse();
|
936
|
-
}
|
937
|
-
else if (this._shiftIsPressed && (ids === null || ids === void 0 ? void 0 : ids.length) > 0) {
|
938
|
-
this._skipOnChange = true;
|
939
|
-
this._previousCurrentId = this._currentId;
|
940
|
-
this._currentId = [...ids].reverse()[0];
|
941
|
-
if (ids.length === 1) {
|
942
|
-
this._skipOnChange = false;
|
943
|
-
}
|
944
|
-
else if (this._previousCurrentId !== this._currentId) {
|
945
|
-
// query the layer based on current sort and filters then grab between the current id and previous id
|
946
|
-
const orderBy = this._table.activeSortOrders.reduce((prev, cur) => {
|
947
|
-
prev.push(`${cur.fieldName} ${cur.direction}`);
|
948
|
-
return prev;
|
949
|
-
}, []);
|
950
|
-
const oids = await queryUtils.queryAllOidsWithQueryFeatures(0, this._layer, [], orderBy);
|
951
|
-
let isBetween = false;
|
952
|
-
const _start = this._table.viewModel.getObjectIdIndex(this._previousCurrentId);
|
953
|
-
const _end = this._table.viewModel.getObjectIdIndex(this._currentId);
|
954
|
-
const startIndex = _start < _end ? _start : _end;
|
955
|
-
const endIndex = _end > _start ? _end : _start;
|
956
|
-
this._skipOnChange = startIndex + 1 !== endIndex;
|
957
|
-
const idsInRange = oids.reduce((prev, cur) => {
|
958
|
-
const id = cur;
|
959
|
-
if ((id === this._currentId || id === this._previousCurrentId)) {
|
960
|
-
isBetween = !isBetween;
|
961
|
-
if (prev.indexOf(id) < 0) {
|
962
|
-
prev.push(id);
|
963
|
-
}
|
964
|
-
}
|
965
|
-
else if (isBetween && prev.indexOf(id) < 0) {
|
966
|
-
prev.push(id);
|
967
|
-
}
|
968
|
-
return prev;
|
969
|
-
}, []);
|
970
|
-
const selectedIds = _start < _end ? idsInRange.reverse() : idsInRange;
|
971
|
-
this.selectedIds = [...new Set([...selectedIds, ...this.selectedIds])];
|
972
|
-
this._table.highlightIds.addMany(this.selectedIds.filter(i => ids.indexOf(i) < 0));
|
973
|
-
}
|
974
|
-
}
|
975
|
-
this._finishOnChange();
|
976
|
-
}
|
977
|
-
else {
|
978
|
-
this._skipOnChange = false;
|
979
|
-
}
|
980
|
-
this._currentId = [...this._table.highlightIds.toArray()].reverse()[0];
|
981
|
-
this._selectionFromMap = false;
|
982
|
-
}
|
983
|
-
/**
|
984
|
-
* Handle any updates after a selection change has occured and emit the results
|
985
|
-
*/
|
986
|
-
_finishOnChange() {
|
987
|
-
if (this._showOnlySelected) {
|
988
|
-
if (this._featuresSelected()) {
|
989
|
-
this._table.filterBySelection();
|
990
|
-
}
|
991
|
-
else {
|
992
|
-
this._toggleShowSelected();
|
993
|
-
}
|
994
|
-
}
|
995
|
-
this.featureSelectionChange.emit(this.selectedIds);
|
996
|
-
}
|
997
|
-
/**
|
998
|
-
* Reset the tables column templates when we get new column config
|
999
|
-
*/
|
1000
|
-
_resetColumnTemplates() {
|
1001
|
-
var _a, _b;
|
1002
|
-
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);
|
1003
|
-
const hasChange = columnTemplates === null || columnTemplates === void 0 ? void 0 : columnTemplates.some((ct, i) => {
|
1004
|
-
var _a;
|
1005
|
-
return JSON.stringify((_a = this._table) === null || _a === void 0 ? void 0 : _a.tableTemplate.columnTemplates[i]) !== JSON.stringify(ct);
|
1006
|
-
});
|
1007
|
-
if (this._table && columnTemplates && (hasChange || !this._columnsInfo)) {
|
1008
|
-
this._table.tableTemplate = new this.TableTemplate({
|
1009
|
-
columnTemplates
|
1010
|
-
});
|
1011
|
-
const fieldNames = columnTemplates.map(f => f.fieldName);
|
1012
|
-
this._initColumnsInfo(fieldNames);
|
1013
|
-
}
|
1014
|
-
}
|
1015
|
-
/**
|
1016
|
-
* Reset basic table props
|
1017
|
-
*/
|
1018
|
-
async _resetTable() {
|
1019
|
-
var _a;
|
1020
|
-
this._loaded = false;
|
1021
|
-
this._clearSelection();
|
1022
|
-
this._allIds = await queryUtils.queryAllIds(this._layer);
|
1023
|
-
if (!this._table) {
|
1024
|
-
const columnTemplates = this._getColumnTemplates(this._layer.id, (_a = this._layer) === null || _a === void 0 ? void 0 : _a.fields);
|
1025
|
-
await this._getTable(this._tableNode, columnTemplates);
|
1026
|
-
}
|
1027
|
-
else {
|
1028
|
-
this._table.view = this.mapView;
|
1029
|
-
this._table.layer = this._layer;
|
1030
|
-
}
|
1031
|
-
await this._initLayerRefresh();
|
1032
|
-
this._checkEditEnabled();
|
1033
|
-
this._table.editingEnabled = this._editEnabled && this.enableInlineEdit;
|
1034
|
-
await this._table.when();
|
1035
|
-
// This is a workaround.
|
1036
|
-
// In some cases the first time the app is loaded this._table.state === "loaded" is not being hit.
|
1037
|
-
// When this issue occurs we will wait for 1 second and attempt to finish the loading process
|
1038
|
-
setTimeout(() => {
|
1039
|
-
if (!this._loaded) {
|
1040
|
-
console.log(`table.state: ${this._table.state}`);
|
1041
|
-
void this.finishLoading();
|
1042
|
-
}
|
1043
|
-
}, 1000);
|
1044
|
-
await this.reactiveUtils.once(() => this._table.state === "loaded")
|
1045
|
-
.then(async () => {
|
1046
|
-
await this.finishLoading();
|
1047
|
-
});
|
1048
|
-
}
|
1049
|
-
/**
|
1050
|
-
* Finish the table loading tasks
|
1051
|
-
*/
|
1052
|
-
async finishLoading() {
|
1053
|
-
try {
|
1054
|
-
this._loaded = true;
|
1055
|
-
this._table.highlightIds.removeAll();
|
1056
|
-
this._table.clearSelectionFilter();
|
1057
|
-
this._resetColumnTemplates();
|
1058
|
-
this._showOnlySelected = false;
|
1059
|
-
await this._handleDefaults();
|
1060
|
-
await this._sortTable();
|
1061
|
-
this._initToolInfos();
|
1062
|
-
this._updateToolbar();
|
1063
|
-
}
|
1064
|
-
catch (e) {
|
1065
|
-
console.log(e);
|
1066
|
-
}
|
1067
|
-
}
|
1068
|
-
/**
|
1069
|
-
* Update the current IDs when that layers data is modified
|
1070
|
-
*/
|
1071
|
-
async _initLayerRefresh() {
|
1072
|
-
if (this._refreshHandle) {
|
1073
|
-
this._refreshHandle.remove();
|
1074
|
-
}
|
1075
|
-
this._refreshHandle = this._layer.on("refresh", (evt) => {
|
1076
|
-
if (evt.dataChanged) {
|
1077
|
-
this._skipOnChange = true;
|
1078
|
-
void this._updateAllIds();
|
1079
|
-
}
|
1080
|
-
});
|
1081
|
-
}
|
1082
|
-
/**
|
1083
|
-
* Reset _allIds when the layers data has changed and refresh the selection ids and table
|
1084
|
-
*/
|
1085
|
-
async _updateAllIds() {
|
1086
|
-
this._allIds = await queryUtils.queryAllIds(this._layer);
|
1087
|
-
this.selectedIds = this.selectedIds.filter(id => this._allIds.indexOf(id) > -1);
|
1088
|
-
await this._refresh();
|
1089
|
-
}
|
1090
|
-
/**
|
1091
|
-
* Handle default OID or GlobalID from url parameters
|
1092
|
-
*/
|
1093
|
-
async _handleDefaults() {
|
1094
|
-
var _a, _b;
|
1095
|
-
if (!this._defaultOidHonored && ((_a = this.defaultOid) === null || _a === void 0 ? void 0 : _a.length) > 0 && this.defaultOid[0] > -1 && this._table) {
|
1096
|
-
await this._selectDefaultFeature(this.defaultOid);
|
1097
|
-
this._defaultOidHonored = true;
|
1098
|
-
this.defaultOid = undefined;
|
1099
|
-
this._showOnlySelected = false;
|
1100
|
-
this._toggleShowSelected();
|
1101
|
-
}
|
1102
|
-
if (!this._defaultGlobalIdHonored && ((_b = this.defaultGlobalId) === null || _b === void 0 ? void 0 : _b.length) > 0 && this._table) {
|
1103
|
-
const features = await queryUtils.queryFeaturesByGlobalID(this.defaultGlobalId, this._layer);
|
1104
|
-
const oids = (features === null || features === void 0 ? void 0 : features.length) > 0 ? features.map(f => f.getObjectId()) : undefined;
|
1105
|
-
if (oids) {
|
1106
|
-
await this._selectDefaultFeature(oids);
|
1107
|
-
}
|
1108
|
-
this._defaultGlobalIdHonored = true;
|
1109
|
-
this.defaultGlobalId = undefined;
|
1110
|
-
this._showOnlySelected = false;
|
1111
|
-
this._toggleShowSelected();
|
1112
|
-
}
|
1113
|
-
}
|
1114
|
-
/**
|
1115
|
-
* Store the column names and current hidden status to support show/hide of columns
|
1116
|
-
* @param fieldNames optional list of names from new config options
|
1117
|
-
*/
|
1118
|
-
_initColumnsInfo(fieldNames) {
|
1119
|
-
var _a, _b;
|
1120
|
-
// this._table.columns is not reflecting correct list when new
|
1121
|
-
// tableTemplate.columnTemplates have been defined on an existing FeatureTable
|
1122
|
-
// TODO review for better solution post 2024 R01 release
|
1123
|
-
const columnsInfo = (_a = this._table) === null || _a === void 0 ? void 0 : _a.columns.reduce((prev, cur) => {
|
1124
|
-
if (!fieldNames || ((fieldNames === null || fieldNames === void 0 ? void 0 : fieldNames.indexOf(cur.name)) > -1)) {
|
1125
|
-
prev[cur.name] = !cur.hidden;
|
1126
|
-
}
|
1127
|
-
return prev;
|
1128
|
-
}, {});
|
1129
|
-
const oldColumnNames = (_b = this._table) === null || _b === void 0 ? void 0 : _b.columns.map((c) => c.name);
|
1130
|
-
const newColumnNames = fieldNames ? fieldNames.filter(n => oldColumnNames.indexOf(n) < 0) : [];
|
1131
|
-
newColumnNames.forEach(c => {
|
1132
|
-
columnsInfo[c] = true;
|
1133
|
-
});
|
1134
|
-
this._columnsInfo = fieldNames ? fieldNames.reduce((prev, cur) => {
|
1135
|
-
prev[cur] = columnsInfo[cur];
|
1136
|
-
return prev;
|
1137
|
-
}, {}) : columnsInfo;
|
1138
|
-
}
|
1139
|
-
/**
|
1140
|
-
* Select the feature that was specified via url params
|
1141
|
-
*/
|
1142
|
-
async _selectDefaultFeature(oids) {
|
1143
|
-
if (oids.length > 0) {
|
1144
|
-
this._table.highlightIds.addMany(oids);
|
1145
|
-
// This is messed up and only make this worse
|
1146
|
-
//const i = this._table.viewModel.getObjectIdIndex(oids[0]);
|
1147
|
-
//this._table.viewModel.scrollToIndex(i);
|
1148
|
-
}
|
1149
|
-
}
|
1150
|
-
/**
|
1151
|
-
* Verify edit capabilities of the layer
|
1152
|
-
*/
|
1153
|
-
_checkEditEnabled() {
|
1154
|
-
this._editEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsUpdate;
|
1155
|
-
this._deleteEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsDelete;
|
1156
|
-
}
|
1157
|
-
/**
|
1158
|
-
* Sort the table with the configured field and the sort order
|
1159
|
-
*/
|
1160
|
-
async _sortTable() {
|
1161
|
-
var _a, _b, _c, _d, _e, _f;
|
1162
|
-
//By default sort the table using objectIdField and in descending order
|
1163
|
-
let sortField = (_a = this._layer) === null || _a === void 0 ? void 0 : _a.objectIdField;
|
1164
|
-
let sortOrder = 'desc';
|
1165
|
-
let configuredLayer;
|
1166
|
-
//get the sortField and sortOrder from the configuration
|
1167
|
-
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)) {
|
1168
|
-
configuredLayer = this.mapInfo.layerOptions.layers.filter((layer) => layer.id === this._layer.id);
|
1169
|
-
if (configuredLayer && configuredLayer.length > 0) {
|
1170
|
-
configuredLayer = configuredLayer[0];
|
1171
|
-
//if sort field is defined and sortField is available in the fields then use it
|
1172
|
-
if (configuredLayer.sortField && ((_f = configuredLayer.fields) === null || _f === void 0 ? void 0 : _f.includes(configuredLayer.sortField))) {
|
1173
|
-
sortField = configuredLayer.sortField;
|
1174
|
-
}
|
1175
|
-
//use sort order if configured
|
1176
|
-
sortOrder = (configuredLayer === null || configuredLayer === void 0 ? void 0 : configuredLayer.sortOrder) ? configuredLayer.sortOrder : "desc";
|
1177
|
-
}
|
1178
|
-
}
|
1179
|
-
if (this._table && this._layer) {
|
1180
|
-
await this._table.when();
|
1181
|
-
await this._layer.when(() => {
|
1182
|
-
this._table.sortColumn(sortField, sortOrder);
|
1183
|
-
});
|
1184
|
-
}
|
1185
|
-
}
|
1186
|
-
/**
|
1187
|
-
* Open show/hide dropdown
|
1188
|
-
*/
|
1189
|
-
_forceShowHide() {
|
1190
|
-
if (this._showHideDropdown) {
|
1191
|
-
this._showHideDropdown.open = this._showHideOpen;
|
1192
|
-
}
|
1193
|
-
if (this._moreDropdown) {
|
1194
|
-
this._moreDropdown.open = this._showHideOpen;
|
1195
|
-
}
|
1196
|
-
}
|
1197
|
-
/**
|
1198
|
-
* Toggle show/hide dropdown
|
1199
|
-
*/
|
1200
|
-
_toggleShowHide() {
|
1201
|
-
this._showHideOpen = !this._showHideOpen;
|
1202
|
-
}
|
1203
|
-
/**
|
1204
|
-
* Open show/hide dropdown
|
1205
|
-
*/
|
1206
|
-
_closeShowHide() {
|
1207
|
-
this._showHideOpen = false;
|
1208
|
-
}
|
1209
|
-
/**
|
1210
|
-
* Close show/hide dropdown when the user clicks outside of it
|
1211
|
-
*/
|
1212
|
-
_handleDocumentClick(e) {
|
1213
|
-
var _a;
|
1214
|
-
const id = (_a = e.target) === null || _a === void 0 ? void 0 : _a.id;
|
1215
|
-
if (this._showHideOpen && Object.keys(this._columnsInfo).indexOf(id) < 0 && id !== "solutions-subset-list" && id !== "chevron-right") {
|
1216
|
-
this._closeShowHide();
|
1217
|
-
if (this._moreDropdown) {
|
1218
|
-
this._moreDropdown.open = false;
|
1219
|
-
}
|
1220
|
-
if (this._showHideDropdown) {
|
1221
|
-
this._showHideDropdown.open = false;
|
1222
|
-
}
|
1223
|
-
}
|
1224
|
-
}
|
1225
|
-
/**
|
1226
|
-
* Keep track of key down for ctrl and shift
|
1227
|
-
*/
|
1228
|
-
_handleKeyDown(e) {
|
1229
|
-
this._ctrlIsPressed = e.ctrlKey;
|
1230
|
-
this._shiftIsPressed = e.shiftKey;
|
1231
|
-
}
|
1232
|
-
/**
|
1233
|
-
* Keep track of key up for ctrl and shift
|
1234
|
-
*/
|
1235
|
-
_handleKeyUp(e) {
|
1236
|
-
this._ctrlIsPressed = e.ctrlKey;
|
1237
|
-
this._shiftIsPressed = e.shiftKey;
|
1238
|
-
}
|
1239
|
-
/**
|
1240
|
-
* Show filter component in modal
|
1241
|
-
*
|
1242
|
-
* @returns node to interact with any configured filters for the current layer
|
1243
|
-
*/
|
1244
|
-
_filterModal() {
|
1245
|
-
var _a, _b, _c;
|
1246
|
-
return (index.h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, index.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)), index.h("div", { slot: "content" }, index.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 }))));
|
1247
|
-
}
|
1248
|
-
/**
|
1249
|
-
* Reset the filter active prop
|
1250
|
-
*/
|
1251
|
-
_handleFilterListReset() {
|
1252
|
-
this._filterActive = false;
|
1253
|
-
this._updateShareUrl();
|
1254
|
-
}
|
1255
|
-
/**
|
1256
|
-
* Check if the layers definitionExpression has been modified
|
1257
|
-
*/
|
1258
|
-
_handleFilterUpdate() {
|
1259
|
-
const defExp = this._layer.definitionExpression;
|
1260
|
-
if (this._floorExpression) {
|
1261
|
-
const regEx = new RegExp(`${this._floorField} = ['].+[']`, "gm");
|
1262
|
-
this._layer.definitionExpression = defExp && this._floorField && defExp.indexOf(`${this._floorField} = '`) > -1 ?
|
1263
|
-
defExp.replace(regEx, this._floorExpression) : defExp ?
|
1264
|
-
`${defExp} AND (${this._floorExpression})` : this._floorExpression;
|
1265
|
-
}
|
1266
|
-
this._filterActive = this._definitionExpression !== this._layer.definitionExpression &&
|
1267
|
-
(this._floorExpression ? this._layer.definitionExpression !== this._floorExpression : true);
|
1268
|
-
this._updateShareUrl();
|
1269
|
-
}
|
1270
|
-
/**
|
1271
|
-
* Close the filter modal
|
1272
|
-
*/
|
1273
|
-
async _closeFilter() {
|
1274
|
-
if (this._filterOpen) {
|
1275
|
-
// reset allIds
|
1276
|
-
this._allIds = await queryUtils.queryAllIds(this._layer);
|
1277
|
-
this._filterOpen = false;
|
1278
|
-
}
|
1279
|
-
}
|
1280
|
-
/**
|
1281
|
-
* Handle map click events to keep table and map click selection in sync
|
1282
|
-
*
|
1283
|
-
* @param evt IMapClick map click event details
|
1284
|
-
*/
|
1285
|
-
async _mapClicked(evt) {
|
1286
|
-
const opts = {
|
1287
|
-
include: this._layer
|
1288
|
-
};
|
1289
|
-
const hitTestResult = await this.mapView.hitTest(evt.screenPoint, opts);
|
1290
|
-
if (hitTestResult.results.length > 0) {
|
1291
|
-
hitTestResult.results.forEach((result) => {
|
1292
|
-
const id = result.graphic.getObjectId();
|
1293
|
-
const index = this._table.highlightIds.indexOf(id);
|
1294
|
-
if (index < 0) {
|
1295
|
-
this._selectionFromMap = true;
|
1296
|
-
this._table.highlightIds.add(id);
|
1297
|
-
}
|
1298
|
-
});
|
1299
|
-
if (this._showOnlySelected) {
|
1300
|
-
this._table.filterBySelection();
|
1301
|
-
}
|
1302
|
-
}
|
1303
|
-
else {
|
1304
|
-
this._clearSelection();
|
1305
|
-
}
|
1306
|
-
}
|
1307
|
-
/**
|
1308
|
-
* Select or deselect all rows
|
1309
|
-
*/
|
1310
|
-
_selectAll() {
|
1311
|
-
const ids = this._allIds;
|
1312
|
-
this._table.highlightIds.removeAll();
|
1313
|
-
this._skipOnChange = true;
|
1314
|
-
this._table.highlightIds.addMany(ids);
|
1315
|
-
this.selectedIds = ids;
|
1316
|
-
this._finishOnChange();
|
1317
|
-
this._selectAllActive = true;
|
1318
|
-
}
|
1319
|
-
/**
|
1320
|
-
* Toggle the show only selected flag
|
1321
|
-
* When showOnly is true only the selected features will be shown in the table
|
1322
|
-
*/
|
1323
|
-
_toggleShowSelected() {
|
1324
|
-
this._showOnlySelected = !this._showOnlySelected;
|
1325
|
-
if (this._showOnlySelected) {
|
1326
|
-
this._table.filterBySelection();
|
1327
|
-
}
|
1328
|
-
else {
|
1329
|
-
this._table.clearSelectionFilter();
|
1330
|
-
}
|
1331
|
-
}
|
1332
|
-
/**
|
1333
|
-
* Clears the selected indexes
|
1334
|
-
*/
|
1335
|
-
_clearSelection() {
|
1336
|
-
var _a, _b;
|
1337
|
-
this.selectedIds = [];
|
1338
|
-
(_a = this._table) === null || _a === void 0 ? void 0 : _a.highlightIds.removeAll();
|
1339
|
-
(_b = this._table) === null || _b === void 0 ? void 0 : _b.rowHighlightIds.removeAll();
|
1340
|
-
this._finishOnChange();
|
1341
|
-
}
|
1342
|
-
/**
|
1343
|
-
* When true the filter modal will be displayed
|
1344
|
-
*/
|
1345
|
-
_toggleFilter() {
|
1346
|
-
this._filterOpen = !this._filterOpen;
|
1347
|
-
}
|
1348
|
-
/**
|
1349
|
-
* Store any filters for the current layer.
|
1350
|
-
* Should only occur on layer change
|
1351
|
-
*/
|
1352
|
-
_initLayerExpressions() {
|
1353
|
-
var _a, _b;
|
1354
|
-
const layerExpressions = (_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.layerExpressions;
|
1355
|
-
this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => { var _a; return exp.id === ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id); }) : [];
|
1356
|
-
this._filterList.layerExpressions = this._layerExpressions;
|
1357
|
-
this._filterActive = this._layerExpressions.filter(lyrExp => {
|
1358
|
-
return lyrExp.expressions.filter(exp => exp.active).length > 0;
|
1359
|
-
}).length > 0;
|
1360
|
-
}
|
1361
|
-
/**
|
1362
|
-
* Select all rows that are not currently selectd
|
1363
|
-
*/
|
1364
|
-
_switchSelected() {
|
1365
|
-
const currentIndexes = [...this.selectedIds];
|
1366
|
-
this._table.highlightIds.removeAll();
|
1367
|
-
const ids = this._allIds.reduce((prev, _cur) => {
|
1368
|
-
if (currentIndexes.indexOf(_cur) < 0) {
|
1369
|
-
prev.push(_cur);
|
1370
|
-
}
|
1371
|
-
return prev;
|
1372
|
-
}, []).sort((a, b) => a - b);
|
1373
|
-
this._skipOnChange = true;
|
1374
|
-
this._table.highlightIds.addMany(ids);
|
1375
|
-
this.selectedIds = ids;
|
1376
|
-
this._finishOnChange();
|
1377
|
-
}
|
1378
|
-
/**
|
1379
|
-
* Export all selected rows as CSV
|
1380
|
-
*
|
1381
|
-
* @returns a promise that will resolve when the operation is complete
|
1382
|
-
*/
|
1383
|
-
async _exportToCSV() {
|
1384
|
-
const exportInfos = {};
|
1385
|
-
const ids = this._table.highlightIds.toArray();
|
1386
|
-
exportInfos[this._layer.id] = {
|
1387
|
-
selectionSetNames: [this._layer.title],
|
1388
|
-
ids,
|
1389
|
-
layer: this._layer
|
1390
|
-
};
|
1391
|
-
const fields = this._table.columns.toArray().reduce((prev, cur) => {
|
1392
|
-
if (!cur.hidden) {
|
1393
|
-
prev.push(cur.name.toLocaleLowerCase());
|
1394
|
-
}
|
1395
|
-
return prev;
|
1396
|
-
}, []);
|
1397
|
-
this._updateToolInfoLoading("export", true);
|
1398
|
-
this._csvExporting = true;
|
1399
|
-
await downloadUtils.downloadCSV(null, //???
|
1400
|
-
exportInfos, false, // formatUsingLayerPopup
|
1401
|
-
false, // removeDuplicates
|
1402
|
-
true, // addColumnTitle
|
1403
|
-
fields, true, true);
|
1404
|
-
this._updateToolInfoLoading("export", false);
|
1405
|
-
this._csvExporting = false;
|
1406
|
-
}
|
1407
|
-
/**
|
1408
|
-
* Set the loading prop in the stored toolInfos
|
1409
|
-
*/
|
1410
|
-
_updateToolInfoLoading(name, isLoading) {
|
1411
|
-
this._toolInfos.some(tool => {
|
1412
|
-
if ((tool === null || tool === void 0 ? void 0 : tool.icon) === name) {
|
1413
|
-
tool.loading = isLoading;
|
1414
|
-
return true;
|
1415
|
-
}
|
1416
|
-
});
|
1417
|
-
}
|
1418
|
-
/**
|
1419
|
-
* Refreshes the table and maintains the curent scroll position
|
1420
|
-
*/
|
1421
|
-
async _refresh() {
|
1422
|
-
await this._table.refresh();
|
1423
|
-
this.featureSelectionChange.emit(this.selectedIds);
|
1424
|
-
}
|
1425
|
-
/**
|
1426
|
-
* Zoom to all selected features
|
1427
|
-
*
|
1428
|
-
* @returns a promise that will resolve when the operation is complete
|
1429
|
-
*/
|
1430
|
-
async _zoom() {
|
1431
|
-
if (this._layer) {
|
1432
|
-
const selectedLayerView = await mapViewUtils.getFeatureLayerView(this.mapView, this._layer.id);
|
1433
|
-
await mapViewUtils.goToSelection(this.selectedIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
|
1434
|
-
}
|
1435
|
-
}
|
1436
|
-
/**
|
1437
|
-
* Handles layer selection change to show new table
|
1438
|
-
*
|
1439
|
-
* @param evt CustomEvent the id for the current layer
|
1440
|
-
*
|
1441
|
-
* @returns a promise that will resolve when the operation is complete
|
1442
|
-
*/
|
1443
|
-
async _layerSelectionChanged(evt) {
|
1444
|
-
var _a;
|
1445
|
-
const id = evt.detail[0];
|
1446
|
-
if (id !== ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id) || this._featuresEmpty()) {
|
1447
|
-
this._fetchingData = true;
|
1448
|
-
const layer = await mapViewUtils.getLayerOrTable(this.mapView, id);
|
1449
|
-
await layer.when(() => {
|
1450
|
-
this._layer = layer;
|
1451
|
-
});
|
1452
|
-
}
|
1453
|
-
this._fetchingData = false;
|
1454
|
-
}
|
1455
|
-
/**
|
1456
|
-
* Get any columnt templates for the current map
|
1457
|
-
*
|
1458
|
-
* @param id item ID of the current map
|
1459
|
-
*
|
1460
|
-
* @returns a list of column templates if they exist
|
1461
|
-
*/
|
1462
|
-
_getColumnTemplates(id, fieldInfos) {
|
1463
|
-
var _a, _b;
|
1464
|
-
let layerOption;
|
1465
|
-
(_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.layerOptions) === null || _b === void 0 ? void 0 : _b.layers.some(l => {
|
1466
|
-
if (l.id === id) {
|
1467
|
-
layerOption = l;
|
1468
|
-
return true;
|
1469
|
-
}
|
1470
|
-
});
|
1471
|
-
const fieldOrder = (layerOption === null || layerOption === void 0 ? void 0 : layerOption.fields) && (layerOption === null || layerOption === void 0 ? void 0 : layerOption.fieldOrder) ?
|
1472
|
-
layerOption.fieldOrder.filter(f => layerOption.fields.indexOf(f) > -1) :
|
1473
|
-
undefined;
|
1474
|
-
let columnTemplates;
|
1475
|
-
if (fieldInfos) {
|
1476
|
-
columnTemplates = layerOption && (layerOption === null || layerOption === void 0 ? void 0 : layerOption.fields)
|
1477
|
-
? fieldInfos.reduce((prev, cur) => {
|
1478
|
-
if (layerOption.fields.indexOf(cur.name) > -1) {
|
1479
|
-
const template = {
|
1480
|
-
type: "field",
|
1481
|
-
fieldName: cur.name,
|
1482
|
-
label: cur.alias,
|
1483
|
-
menuConfig: this._getMenuConfig(cur.name)
|
1484
|
-
};
|
1485
|
-
prev.push(template);
|
1486
|
-
}
|
1487
|
-
return prev;
|
1488
|
-
}, []).sort(this._sortFields.bind(this, layerOption === null || layerOption === void 0 ? void 0 : layerOption.fieldOrder))
|
1489
|
-
: fieldInfos.map(fieldInfo => {
|
1490
|
-
return {
|
1491
|
-
type: "field",
|
1492
|
-
fieldName: fieldInfo.name,
|
1493
|
-
label: fieldInfo.alias,
|
1494
|
-
menuConfig: this._getMenuConfig(fieldInfo.name)
|
1495
|
-
};
|
1496
|
-
});
|
1497
|
-
}
|
1498
|
-
return fieldOrder ?
|
1499
|
-
columnTemplates === null || columnTemplates === void 0 ? void 0 : columnTemplates.sort(this._sortFields.bind(this, fieldOrder)) :
|
1500
|
-
columnTemplates;
|
1501
|
-
}
|
1502
|
-
_sortFields(sorter, a, b) {
|
1503
|
-
return (sorter === null || sorter === void 0 ? void 0 : sorter.indexOf(a.fieldName)) - sorter.indexOf(b.fieldName);
|
1504
|
-
}
|
1505
|
-
/**
|
1506
|
-
* Get the menu config that adds the ability to hide the current column
|
1507
|
-
*/
|
1508
|
-
_getMenuConfig(name) {
|
1509
|
-
return {
|
1510
|
-
items: [
|
1511
|
-
{
|
1512
|
-
label: this._translations.hideField,
|
1513
|
-
icon: "view-hide",
|
1514
|
-
autoCloseMenu: true,
|
1515
|
-
clickFunction: () => {
|
1516
|
-
this._handleHideClick(name);
|
1517
|
-
}
|
1518
|
-
}
|
1519
|
-
]
|
1520
|
-
};
|
1521
|
-
}
|
1522
|
-
/**
|
1523
|
-
* Hide the table column for the provided name
|
1524
|
-
*/
|
1525
|
-
_handleHideClick(name) {
|
1526
|
-
this._columnsInfo[name] = false;
|
1527
|
-
this._table.hideColumn(name);
|
1528
|
-
this._table.tableTemplate.columnTemplates.forEach((columnTemplate) => {
|
1529
|
-
if (columnTemplate.fieldName === name) {
|
1530
|
-
columnTemplate.visible = false;
|
1531
|
-
}
|
1532
|
-
});
|
1533
|
-
}
|
1534
|
-
/**
|
1535
|
-
* Fetches the component's translations
|
1536
|
-
*
|
1537
|
-
* @returns Promise when complete
|
1538
|
-
* @protected
|
1539
|
-
*/
|
1540
|
-
async _getTranslations() {
|
1541
|
-
const messages = await locale.getLocaleComponentStrings(this.el);
|
1542
|
-
this._translations = messages[0];
|
1543
|
-
}
|
1544
|
-
get el() { return index.getElement(this); }
|
1545
|
-
static get watchers() { return {
|
1546
|
-
"defaultOid": ["defaultOidWatchHandler"],
|
1547
|
-
"defaultGlobalId": ["defaultGlobalIdWatchHandler"],
|
1548
|
-
"enableCSV": ["enableCSVWatchHandler"],
|
1549
|
-
"enableInlineEdit": ["enableInlineEditWatchHandler"],
|
1550
|
-
"enableShare": ["enableShareWatchHandler"],
|
1551
|
-
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
1552
|
-
"mapHidden": ["mapHiddenWatchHandler"],
|
1553
|
-
"isMobile": ["isMobileWatchHandler"],
|
1554
|
-
"mapInfo": ["mapInfoWatchHandler"],
|
1555
|
-
"mapView": ["mapViewWatchHandler"],
|
1556
|
-
"_layer": ["_layerWatchHandler"],
|
1557
|
-
"selectedIds": ["selectedIdsWatchHandler"]
|
1558
|
-
}; }
|
1559
|
-
};
|
1560
|
-
LayerTable.style = layerTableCss;
|
1561
|
-
|
1562
|
-
exports.layer_table = LayerTable;
|