@esri/solutions-components 0.8.3 → 0.8.4
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 +1 -1
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +5 -5
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-avatar.cjs.entry.js +4 -4
- package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +8 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +4 -4
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-meter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-modal.cjs.entry.js +11 -17
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +4 -4
- package/dist/cjs/calcite-notice.cjs.entry.js +10 -10
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -201
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +23 -23
- package/dist/cjs/calcite-pick-list.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +5 -5
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -7
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-stepper.cjs.entry.js +7 -7
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-table.cjs.entry.js +9 -9
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -15
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -15
- package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip.cjs.entry.js +7 -7
- package/dist/cjs/card-manager_3.cjs.entry.js +1 -1
- package/dist/cjs/consent-manager.cjs.entry.js +15 -379
- package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -7
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +7 -9
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-1f283d95.js → downloadUtils-8b05d7cc.js} +3 -3
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/index.cjs.js +0 -15
- package/dist/cjs/{index.es-4af23ecc.js → index.es-e7587227.js} +1 -1
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-header.cjs.entry.js +4 -5
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +21 -25
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -7
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -9
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +9 -9
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +9 -9
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-popover.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
- package/dist/cjs/layout-manager.cjs.entry.js +4 -5
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +11 -12
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1105 -21
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +5 -36
- package/dist/cjs/spatial-ref.cjs.entry.js +6 -7
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/collection/utils/downloadUtils.js +2 -2
- package/dist/collection/utils/downloadUtils.ts +2 -2
- package/dist/components/ExpandToggle.js +8 -8
- package/dist/components/_commonjsHelpers.js +2 -10
- package/dist/components/action-bar.js +3 -3
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/arcgis-login.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +1 -1
- package/dist/components/block.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-color-picker.js +5 -5
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -5
- package/dist/components/calcite-input-time-zone.js +2 -2
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -3
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +2 -2
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -8
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/card-manager2.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +3 -314
- package/dist/components/consent-manager.js +13 -376
- package/dist/components/create-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -28
- package/dist/components/downloadUtils.js +99 -1179
- package/dist/components/dropdown-group.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/esri-loader.js +3 -8
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +1 -1
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +718 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +7 -384
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/helpers.js +2 -6
- package/dist/components/html2canvas.js +3 -8
- package/dist/components/icon.js +1 -1
- package/dist/components/index.es.js +22 -555
- package/dist/components/index.js +0 -16
- package/dist/components/index2.js +0 -3
- package/dist/components/index3.js +1865 -41262
- package/dist/components/index5.js +185 -2086
- package/dist/components/index6.js +55 -188
- package/dist/components/info-card2.js +1 -1
- package/dist/components/input-date-picker.js +1 -1
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +1 -2
- package/dist/components/instant-apps-header2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-classic2.js +7 -10
- package/dist/components/instant-apps-interactive-legend-count2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +2 -2
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
- package/dist/components/instant-apps-interactive-legend.js +1 -1
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/instant-apps-measurement-tool2.js +1 -1
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-social-share2.js +1 -1
- package/dist/components/instant-apps-splash.js +2 -2
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +0 -28
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/languageUtil.js +1 -22
- package/dist/components/layer-list2.js +1 -1
- package/dist/components/layer-table2.js +1 -1
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +1 -1
- package/dist/components/list.js +2 -2
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +0 -12
- package/dist/components/locale2.js +1 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -3
- package/dist/components/menu.js +1 -1
- package/dist/components/modal.js +1 -7
- package/dist/components/mode.js +0 -8
- package/dist/components/notice.js +1 -1
- package/dist/components/openCloseComponent.js +0 -48
- package/dist/components/option.js +1 -1
- package/dist/components/pagination.js +1 -194
- package/dist/components/panel.js +1 -2
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/purify.js +2 -5
- package/dist/components/queryUtils.js +0 -43
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +0 -17
- package/dist/components/resources4.js +0 -3
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +1 -6
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/slider.js +1 -3
- package/dist/components/solution-configuration.js +1088 -2
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +3 -2
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +756 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +0 -701
- package/dist/components/spatial-ref2.js +4 -263
- package/dist/components/stack.js +1 -1
- package/dist/components/store-manager.js +1 -1
- package/dist/components/store.js +0 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +1 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils4.js +0 -12
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +1 -4
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/calcite-accordion-item.entry.js +5 -5
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +4 -4
- package/dist/esm/calcite-block-section.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-color-picker.entry.js +16 -16
- package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +11 -11
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker.entry.js +17 -17
- package/dist/esm/calcite-input-time-zone.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +4 -4
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +8 -8
- package/dist/esm/calcite-menu.entry.js +8 -8
- package/dist/esm/calcite-meter.entry.js +8 -8
- package/dist/esm/calcite-modal.entry.js +11 -17
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +4 -4
- package/dist/esm/calcite-notice.entry.js +10 -10
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-pagination.entry.js +8 -201
- package/dist/esm/calcite-pick-list-group.entry.js +6 -6
- package/dist/esm/calcite-pick-list-item.entry.js +13 -13
- package/dist/esm/calcite-pick-list.entry.js +10 -10
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +12 -14
- package/dist/esm/calcite-scrim.entry.js +7 -7
- package/dist/esm/calcite-sheet.entry.js +7 -7
- package/dist/esm/calcite-shell-center-row.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +7 -7
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +10 -10
- package/dist/esm/calcite-stepper.entry.js +7 -7
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-table-row.entry.js +6 -6
- package/dist/esm/calcite-table.entry.js +9 -9
- package/dist/esm/calcite-text-area.entry.js +15 -14
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +9 -9
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +8 -15
- package/dist/esm/calcite-tip.entry.js +9 -9
- package/dist/esm/calcite-tooltip.entry.js +7 -7
- package/dist/esm/card-manager_3.entry.js +1 -1
- package/dist/esm/consent-manager.entry.js +15 -379
- package/dist/esm/crowdsource-manager.entry.js +5 -7
- package/dist/esm/crowdsource-reporter.entry.js +5 -7
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{downloadUtils-01e2cb56.js → downloadUtils-0c13073b.js} +3 -3
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/{index.es-ac6f5e76.js → index.es-ad250bc6.js} +1 -1
- package/dist/esm/index.js +0 -15
- package/dist/esm/instant-apps-control-panel.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +7 -7
- package/dist/esm/instant-apps-header.entry.js +4 -5
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +11 -15
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -7
- package/dist/esm/instant-apps-interactive-legend.entry.js +8 -9
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
- package/dist/esm/instant-apps-language-translator.entry.js +9 -9
- package/dist/esm/instant-apps-measurement.entry.js +6 -6
- package/dist/esm/instant-apps-popover.entry.js +6 -6
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
- package/dist/esm/instant-apps-splash.entry.js +6 -6
- package/dist/esm/layout-manager.entry.js +4 -5
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +10 -11
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +1093 -9
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +6 -37
- package/dist/esm/spatial-ref.entry.js +6 -7
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/solutions-components/index.esm.js +0 -15
- package/dist/solutions-components/{p-8910dc99.js → p-1d3a1794.js} +2 -2
- package/dist/solutions-components/{p-b4913a01.js → p-590a2a26.js} +1 -1
- package/dist/solutions-components/{p-53ef8adf.entry.js → p-65ad1625.entry.js} +1 -1
- package/dist/solutions-components/{p-04dbc667.entry.js → p-989bf0bf.entry.js} +1 -1
- package/dist/solutions-components/{p-607773a3.entry.js → p-a0611720.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.css +1 -84
- package/dist/solutions-components/solutions-components.esm.js +1 -52
- package/dist/solutions-components/utils/downloadUtils.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/ExpandToggle-3ab7dfd7.js +0 -118
- package/dist/cjs/FloatingArrow-89e0e55a.js +0 -50
- package/dist/cjs/Heading-9112a4c5.js +0 -25
- package/dist/cjs/InitiativeUiSchemaEdit-108652db.js +0 -28
- package/dist/cjs/ProjectUiSchemaCreate-81217580.js +0 -126
- package/dist/cjs/ProjectUiSchemaEdit-d5f11c17.js +0 -178
- package/dist/cjs/Validation-20182093.js +0 -20
- package/dist/cjs/_commonjsHelpers-ed90c4ad.js +0 -55
- package/dist/cjs/app-globals-379d737f.js +0 -69
- package/dist/cjs/ar-a694ca24.js +0 -105
- package/dist/cjs/basemap-gallery.cjs.entry.js +0 -121
- package/dist/cjs/bg-62b6b3ba.js +0 -83
- package/dist/cjs/browser-fe25aefa.js +0 -28
- package/dist/cjs/bs-e673542b.js +0 -52
- package/dist/cjs/buffer-tools.cjs.entry.js +0 -257
- package/dist/cjs/ca-e4d2f562.js +0 -72
- package/dist/cjs/calcite-action-menu.cjs.entry.js +0 -295
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -169
- package/dist/cjs/calcite-action.cjs.entry.js +0 -188
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -322
- package/dist/cjs/calcite-block.cjs.entry.js +0 -214
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -262
- 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 -1431
- package/dist/cjs/calcite-date-picker-day.cjs.entry.js +0 -97
- package/dist/cjs/calcite-date-picker-month-header.cjs.entry.js +0 -207
- package/dist/cjs/calcite-date-picker-month.cjs.entry.js +0 -362
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -460
- 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 -430
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -179
- 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 -204
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -744
- package/dist/cjs/calcite-input-message.cjs.entry.js +0 -70
- package/dist/cjs/calcite-input-time-picker-9e93f694.js +0 -1854
- package/dist/cjs/calcite-input.cjs.entry.js +0 -695
- package/dist/cjs/calcite-list-item.cjs.entry.js +0 -454
- package/dist/cjs/calcite-list.cjs.entry.js +0 -567
- package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
- 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 -418
- package/dist/cjs/calcite-progress.cjs.entry.js +0 -41
- package/dist/cjs/calcite-segmented-control-item.cjs.entry.js +0 -70
- package/dist/cjs/calcite-segmented-control.cjs.entry.js +0 -245
- package/dist/cjs/calcite-select.cjs.entry.js +0 -235
- 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 -844
- package/dist/cjs/calcite-stack.cjs.entry.js +0 -74
- package/dist/cjs/calcite-tab-nav.cjs.entry.js +0 -263
- 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 -156
- package/dist/cjs/calcite-table-header.cjs.entry.js +0 -169
- package/dist/cjs/calcite-tabs.cjs.entry.js +0 -178
- package/dist/cjs/calcite-tree-item.cjs.entry.js +0 -296
- 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 -326
- package/dist/cjs/card-manager.cjs.entry.js +0 -107
- package/dist/cjs/common-1b4bd8de.js +0 -297
- package/dist/cjs/conditionalSlot-73e71a05.js +0 -63
- package/dist/cjs/create-feature.cjs.entry.js +0 -263
- package/dist/cjs/cs-1ea34123.js +0 -148
- package/dist/cjs/da-199f5488.js +0 -67
- package/dist/cjs/date-3d094f58.js +0 -261
- package/dist/cjs/de-222afa04.js +0 -92
- package/dist/cjs/de-at-a62870ea.js +0 -91
- package/dist/cjs/de-ch-b0b46c1b.js +0 -91
- package/dist/cjs/delete-button.cjs.entry.js +0 -150
- package/dist/cjs/dom-cf1e2e9f.js +0 -1114
- package/dist/cjs/downloadUtils-de0c0682.js +0 -4246
- package/dist/cjs/edit-card.cjs.entry.js +0 -228
- package/dist/cjs/el-934951a0.js +0 -67
- package/dist/cjs/en-au-6872d248.js +0 -67
- package/dist/cjs/en-ca-7133c4f2.js +0 -66
- package/dist/cjs/en-gb-2c66b954.js +0 -70
- package/dist/cjs/es-48e65aa5.js +0 -67
- package/dist/cjs/es-mx-46d70897.js +0 -66
- package/dist/cjs/esri-loader-5b8fbfa4.js +0 -308
- package/dist/cjs/et-63c5628d.js +0 -93
- package/dist/cjs/feature-list.cjs.entry.js +0 -199
- package/dist/cjs/fi-dc20f9ac.js +0 -116
- package/dist/cjs/filter-cc2705b7.js +0 -48
- package/dist/cjs/floating-ui-90bd00af.js +0 -2350
- package/dist/cjs/floor-filter.cjs.entry.js +0 -111
- package/dist/cjs/focusTrapComponent-946b0666.js +0 -1028
- package/dist/cjs/form-da52e819.js +0 -316
- package/dist/cjs/fr-7067996a.js +0 -69
- package/dist/cjs/fr-ch-dbd7ba02.js +0 -67
- package/dist/cjs/he-4eb6a5a9.js +0 -106
- package/dist/cjs/helpers-7415d67a.js +0 -830
- package/dist/cjs/hi-5563acd4.js +0 -66
- package/dist/cjs/hr-7a0a4191.js +0 -81
- package/dist/cjs/html2canvas-57f1616d.js +0 -7847
- package/dist/cjs/hu-0b69b8fb.js +0 -89
- package/dist/cjs/id-345dd5a9.js +0 -67
- package/dist/cjs/index-5799a29c.js +0 -41521
- package/dist/cjs/index-8c75d784.js +0 -1958
- package/dist/cjs/index-af047760.js +0 -201
- package/dist/cjs/index-b53bfd7c.js +0 -4185
- package/dist/cjs/index.es-152bb462.js +0 -11342
- package/dist/cjs/info-card.cjs.entry.js +0 -320
- package/dist/cjs/instant-apps-ckeditor-wrapper.cjs.entry.js +0 -125
- package/dist/cjs/instant-apps-filter-list.cjs.entry.js +0 -1059
- 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 -515
- package/dist/cjs/interactive-08e5bc95.js +0 -144
- package/dist/cjs/it-ac7cf3e5.js +0 -67
- package/dist/cjs/it-ch-6f7209eb.js +0 -67
- package/dist/cjs/ja-29e7b0a2.js +0 -73
- package/dist/cjs/json-editor.cjs.entry.js +0 -406
- package/dist/cjs/key-86f4a0b0.js +0 -47
- package/dist/cjs/ko-aeebde8b.js +0 -73
- package/dist/cjs/label-24b05042.js +0 -186
- package/dist/cjs/languageSwitcher-aafa5b47.js +0 -58
- package/dist/cjs/languageUtil-43c3acdc.js +0 -90
- package/dist/cjs/layer-list.cjs.entry.js +0 -207
- package/dist/cjs/layer-table.cjs.entry.js +0 -1487
- package/dist/cjs/loadModules-a67b6702.js +0 -23
- package/dist/cjs/loadModules-b5f244cd.js +0 -30
- package/dist/cjs/loadable-41446b78.js +0 -97
- package/dist/cjs/locale-28c7c569.js +0 -91
- package/dist/cjs/locale-42a9e623.js +0 -152
- package/dist/cjs/locale-a615b02f.js +0 -585
- package/dist/cjs/lodash-7587da9f.js +0 -18030
- package/dist/cjs/lt-6816d14c.js +0 -98
- package/dist/cjs/lv-2c998515.js +0 -67
- package/dist/cjs/map-card.cjs.entry.js +0 -192
- 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-6fa5bab1.js +0 -271
- package/dist/cjs/mk-147994ea.js +0 -67
- package/dist/cjs/mode-a0417ce5.js +0 -27
- package/dist/cjs/nb-f3d75f05.js +0 -68
- package/dist/cjs/nl-cb0a22c8.js +0 -68
- package/dist/cjs/observers-5923a7cc.js +0 -58
- package/dist/cjs/openCloseComponent-8d9cb545.js +0 -140
- package/dist/cjs/parser-e80279bf.js +0 -1656
- package/dist/cjs/pdf-download.cjs.entry.js +0 -359
- package/dist/cjs/pl-ade28edd.js +0 -115
- package/dist/cjs/popupUtils-4de17e65.js +0 -96
- package/dist/cjs/pt-5543b782.js +0 -68
- package/dist/cjs/pt-br-bdce1868.js +0 -66
- package/dist/cjs/publicNotificationStore-f690e171.js +0 -47
- package/dist/cjs/purify-557ad134.js +0 -1715
- package/dist/cjs/queryUtils-aba29fcf.js +0 -253
- package/dist/cjs/refine-selection.cjs.entry.js +0 -411
- package/dist/cjs/resources-2ccf85d3.js +0 -53
- package/dist/cjs/resources-37006465.js +0 -29
- package/dist/cjs/resources-63b3a6b8.js +0 -116
- package/dist/cjs/resources-a2b1b149.js +0 -49
- package/dist/cjs/resources-ac626172.js +0 -26
- package/dist/cjs/resources-b0cc39b4.js +0 -30
- package/dist/cjs/ro-f4bb9704.js +0 -67
- package/dist/cjs/ru-ba86b627.js +0 -127
- package/dist/cjs/shadow-css-bbaea014.js +0 -483
- package/dist/cjs/shared-list-render-c8555864.js +0 -370
- package/dist/cjs/sk-ac03aca5.js +0 -149
- package/dist/cjs/sl-c68e3fd0.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 -158
- package/dist/cjs/solution-store-6194ba89.js +0 -589
- 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-5e3419af.js +0 -3443
- package/dist/cjs/sr-80f65cf0.js +0 -102
- package/dist/cjs/store-1f422ad4.js +0 -91
- package/dist/cjs/sv-eee15401.js +0 -72
- package/dist/cjs/t9n-463dcbff.js +0 -103
- package/dist/cjs/th-f90768db.js +0 -66
- package/dist/cjs/time-4a9bf7e2.js +0 -289
- package/dist/cjs/tr-37fec0b5.js +0 -67
- package/dist/cjs/uk-3041a292.js +0 -105
- package/dist/cjs/utils-3a633152.js +0 -64
- package/dist/cjs/utils-7281bf72.js +0 -110
- package/dist/cjs/utils-72a66b3c.js +0 -66
- package/dist/cjs/utils-934ee777.js +0 -142
- package/dist/cjs/utils-b276a49d.js +0 -226
- package/dist/cjs/vi-57a02ad1.js +0 -71
- package/dist/cjs/zh-cn-165c486d.js +0 -95
- package/dist/cjs/zh-hk-0aa560a6.js +0 -72
- package/dist/cjs/zh-tw-42d975f0.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 -1654
- package/dist/esm/ExpandToggle-22fd2faa.js +0 -110
- package/dist/esm/FloatingArrow-de6fd1c7.js +0 -48
- package/dist/esm/Heading-f003a141.js +0 -22
- package/dist/esm/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/esm/ProjectUiSchemaCreate-dd179c0f.js +0 -124
- package/dist/esm/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/esm/Validation-59a77488.js +0 -18
- package/dist/esm/_commonjsHelpers-3cd6d4ee.js +0 -49
- package/dist/esm/app-globals-928553ab.js +0 -67
- package/dist/esm/ar-75ffdabb.js +0 -103
- package/dist/esm/basemap-gallery.entry.js +0 -117
- package/dist/esm/bg-fac0bf10.js +0 -81
- package/dist/esm/browser-b8d08bed.js +0 -26
- package/dist/esm/bs-c03c8ef2.js +0 -50
- package/dist/esm/buffer-tools.entry.js +0 -253
- package/dist/esm/ca-29e49f82.js +0 -70
- package/dist/esm/calcite-action-menu.entry.js +0 -291
- package/dist/esm/calcite-action-pad.entry.js +0 -165
- package/dist/esm/calcite-action.entry.js +0 -184
- package/dist/esm/calcite-alert.entry.js +0 -318
- package/dist/esm/calcite-block.entry.js +0 -210
- package/dist/esm/calcite-chip.entry.js +0 -258
- 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 -1427
- package/dist/esm/calcite-date-picker-day.entry.js +0 -93
- package/dist/esm/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/esm/calcite-date-picker-month.entry.js +0 -358
- package/dist/esm/calcite-date-picker.entry.js +0 -456
- 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 -426
- package/dist/esm/calcite-filter.entry.js +0 -175
- 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 -200
- package/dist/esm/calcite-input-date-picker.entry.js +0 -740
- package/dist/esm/calcite-input-message.entry.js +0 -66
- package/dist/esm/calcite-input-time-picker-e5cd4d26.js +0 -1851
- package/dist/esm/calcite-input.entry.js +0 -691
- package/dist/esm/calcite-list-item.entry.js +0 -450
- package/dist/esm/calcite-list.entry.js +0 -563
- package/dist/esm/calcite-loader.entry.js +0 -76
- 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 -414
- package/dist/esm/calcite-progress.entry.js +0 -37
- package/dist/esm/calcite-segmented-control-item.entry.js +0 -66
- package/dist/esm/calcite-segmented-control.entry.js +0 -241
- package/dist/esm/calcite-select.entry.js +0 -231
- 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 -840
- package/dist/esm/calcite-stack.entry.js +0 -70
- package/dist/esm/calcite-tab-nav.entry.js +0 -259
- 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 -152
- package/dist/esm/calcite-table-header.entry.js +0 -165
- package/dist/esm/calcite-tabs.entry.js +0 -174
- package/dist/esm/calcite-tree-item.entry.js +0 -292
- 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 -322
- package/dist/esm/card-manager.entry.js +0 -103
- package/dist/esm/common-7e0dcaa2.js +0 -295
- package/dist/esm/conditionalSlot-a395417e.js +0 -60
- package/dist/esm/create-feature.entry.js +0 -259
- package/dist/esm/cs-04f36d01.js +0 -146
- package/dist/esm/da-5a3b8600.js +0 -65
- package/dist/esm/date-74c7f03b.js +0 -245
- package/dist/esm/de-579cda2e.js +0 -90
- package/dist/esm/de-at-52bf1c4c.js +0 -89
- package/dist/esm/de-ch-12d03480.js +0 -89
- package/dist/esm/delete-button.entry.js +0 -146
- package/dist/esm/dom-b91aa537.js +0 -1083
- package/dist/esm/downloadUtils-b3220f86.js +0 -4240
- package/dist/esm/edit-card.entry.js +0 -224
- package/dist/esm/el-c18d3ea4.js +0 -65
- package/dist/esm/en-au-2599e6da.js +0 -65
- package/dist/esm/en-ca-8cfbe6bc.js +0 -64
- package/dist/esm/en-gb-5e4e8a1e.js +0 -68
- package/dist/esm/es-d86f9957.js +0 -65
- package/dist/esm/es-mx-f99d9fd1.js +0 -64
- package/dist/esm/esri-loader-af2bbfd5.js +0 -306
- package/dist/esm/et-8bf52e57.js +0 -91
- package/dist/esm/feature-list.entry.js +0 -195
- package/dist/esm/fi-aeb49e52.js +0 -114
- package/dist/esm/filter-0d00d2e2.js +0 -46
- package/dist/esm/floating-ui-b3256614.js +0 -2342
- package/dist/esm/floor-filter.entry.js +0 -107
- package/dist/esm/focusTrapComponent-2fe6623b.js +0 -1023
- package/dist/esm/form-f2181470.js +0 -307
- package/dist/esm/fr-6200cc01.js +0 -67
- package/dist/esm/fr-ch-df62bb30.js +0 -65
- package/dist/esm/he-07ace6cb.js +0 -104
- package/dist/esm/helpers-85ca7251.js +0 -807
- package/dist/esm/hi-5aa9519e.js +0 -64
- package/dist/esm/hr-e0614bed.js +0 -79
- package/dist/esm/html2canvas-d52e7c8d.js +0 -7845
- package/dist/esm/hu-732fe37c.js +0 -87
- package/dist/esm/id-0832fc24.js +0 -65
- package/dist/esm/index-7fc1cba9.js +0 -41502
- package/dist/esm/index-91eeaf01.js +0 -199
- package/dist/esm/index-b1fb529b.js +0 -1956
- package/dist/esm/index-bdfaac50.js +0 -4145
- package/dist/esm/index.es-3db60115.js +0 -11256
- package/dist/esm/info-card.entry.js +0 -316
- package/dist/esm/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/esm/instant-apps-filter-list.entry.js +0 -1055
- 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 -511
- package/dist/esm/interactive-71585ecc.js +0 -139
- package/dist/esm/it-142bc820.js +0 -65
- package/dist/esm/it-ch-1ad1f0ac.js +0 -65
- package/dist/esm/ja-6a33e9d4.js +0 -71
- package/dist/esm/json-editor.entry.js +0 -402
- package/dist/esm/key-9a10d862.js +0 -44
- package/dist/esm/ko-d61df01d.js +0 -71
- package/dist/esm/label-16184ce7.js +0 -179
- package/dist/esm/languageSwitcher-2a9037e5.js +0 -55
- package/dist/esm/languageUtil-71a7a914.js +0 -87
- package/dist/esm/layer-list.entry.js +0 -203
- package/dist/esm/layer-table.entry.js +0 -1483
- package/dist/esm/loadModules-827c5581.js +0 -28
- package/dist/esm/loadModules-acccbc1c.js +0 -21
- package/dist/esm/loadable-aea90723.js +0 -92
- package/dist/esm/locale-4cfbae3e.js +0 -86
- package/dist/esm/locale-857f39cf.js +0 -572
- package/dist/esm/locale-d9463a95.js +0 -148
- package/dist/esm/lodash-98e4b7d0.js +0 -18025
- package/dist/esm/lt-652c530a.js +0 -96
- package/dist/esm/lv-84e48ed0.js +0 -65
- package/dist/esm/map-card.entry.js +0 -188
- 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-436a516e.js +0 -261
- package/dist/esm/mk-bbf2ee01.js +0 -65
- package/dist/esm/mode-f9bfc4e9.js +0 -25
- package/dist/esm/nb-ccfaa0f7.js +0 -66
- package/dist/esm/nl-4bc56289.js +0 -66
- package/dist/esm/observers-5ba39eee.js +0 -56
- package/dist/esm/openCloseComponent-b4b3788b.js +0 -138
- package/dist/esm/parser-87982ce2.js +0 -1654
- package/dist/esm/pdf-download.entry.js +0 -355
- package/dist/esm/pl-1f435988.js +0 -113
- package/dist/esm/popupUtils-b61d7ffd.js +0 -94
- package/dist/esm/pt-4a05a00d.js +0 -66
- package/dist/esm/pt-br-9720547b.js +0 -64
- package/dist/esm/publicNotificationStore-208e26f0.js +0 -45
- package/dist/esm/purify-909c20fa.js +0 -1713
- package/dist/esm/queryUtils-2529c537.js +0 -244
- package/dist/esm/refine-selection.entry.js +0 -407
- package/dist/esm/resources-0f8db821.js +0 -45
- package/dist/esm/resources-3c6947d3.js +0 -26
- package/dist/esm/resources-47b3ca40.js +0 -106
- package/dist/esm/resources-667afb5d.js +0 -27
- package/dist/esm/resources-9b2084c6.js +0 -24
- package/dist/esm/resources-bb6c11c3.js +0 -49
- package/dist/esm/ro-f87076a1.js +0 -65
- package/dist/esm/ru-e69ca895.js +0 -125
- package/dist/esm/shadow-css-f5236d52.js +0 -481
- package/dist/esm/shared-list-render-a572ef93.js +0 -348
- package/dist/esm/sk-d632e850.js +0 -147
- package/dist/esm/sl-5099fa6f.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 -154
- package/dist/esm/solution-store-31cccb90.js +0 -587
- package/dist/esm/solution-template-data.entry.js +0 -115
- package/dist/esm/solution-variables.entry.js +0 -103
- package/dist/esm/sortableComponent-e715a3dd.js +0 -3439
- package/dist/esm/sr-944b7fd7.js +0 -100
- package/dist/esm/store-194c1a01.js +0 -87
- package/dist/esm/sv-e481fa6a.js +0 -70
- package/dist/esm/t9n-b39c5433.js +0 -98
- package/dist/esm/th-60961669.js +0 -64
- package/dist/esm/time-4a90614b.js +0 -274
- package/dist/esm/tr-eba8dd86.js +0 -65
- package/dist/esm/uk-ec375ce0.js +0 -103
- package/dist/esm/utils-32df4a1e.js +0 -133
- package/dist/esm/utils-57e2ccde.js +0 -61
- package/dist/esm/utils-7db4ecdc.js +0 -100
- package/dist/esm/utils-95e9dd51.js +0 -55
- package/dist/esm/utils-cfbe589a.js +0 -208
- package/dist/esm/vi-29345f79.js +0 -69
- package/dist/esm/zh-cn-32c7c714.js +0 -93
- package/dist/esm/zh-hk-7c770845.js +0 -70
- package/dist/esm/zh-tw-c318be5c.js +0 -91
- package/dist/solutions-components/ExpandToggle-22fd2faa.js +0 -110
- package/dist/solutions-components/FloatingArrow-de6fd1c7.js +0 -48
- package/dist/solutions-components/Heading-f003a141.js +0 -22
- package/dist/solutions-components/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
- package/dist/solutions-components/ProjectUiSchemaCreate-dd179c0f.js +0 -124
- package/dist/solutions-components/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
- package/dist/solutions-components/Validation-59a77488.js +0 -18
- package/dist/solutions-components/_commonjsHelpers-3cd6d4ee.js +0 -49
- package/dist/solutions-components/app-globals-928553ab.js +0 -67
- package/dist/solutions-components/ar-75ffdabb.js +0 -103
- package/dist/solutions-components/arcgis-login.entry.js +0 -56
- package/dist/solutions-components/array-396bdf3c.js +0 -15
- package/dist/solutions-components/basemap-gallery.entry.js +0 -117
- package/dist/solutions-components/bg-fac0bf10.js +0 -81
- package/dist/solutions-components/breakpoints-f0f1417d.js +0 -15
- package/dist/solutions-components/browser-b8d08bed.js +0 -26
- package/dist/solutions-components/bs-c03c8ef2.js +0 -50
- package/dist/solutions-components/buffer-tools.entry.js +0 -253
- package/dist/solutions-components/ca-29e49f82.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 -291
- package/dist/solutions-components/calcite-action-pad.entry.js +0 -165
- package/dist/solutions-components/calcite-action.entry.js +0 -184
- 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 -227
- package/dist/solutions-components/calcite-card.entry.js +0 -132
- package/dist/solutions-components/calcite-checkbox.entry.js +0 -134
- package/dist/solutions-components/calcite-chip-group.entry.js +0 -175
- package/dist/solutions-components/calcite-chip.entry.js +0 -258
- 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 -906
- 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 -1427
- package/dist/solutions-components/calcite-date-picker-day.entry.js +0 -93
- package/dist/solutions-components/calcite-date-picker-month-header.entry.js +0 -203
- package/dist/solutions-components/calcite-date-picker-month.entry.js +0 -358
- package/dist/solutions-components/calcite-date-picker.entry.js +0 -456
- 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 -426
- package/dist/solutions-components/calcite-fab.entry.js +0 -90
- package/dist/solutions-components/calcite-filter.entry.js +0 -175
- 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 -200
- 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 -740
- package/dist/solutions-components/calcite-input-message.entry.js +0 -66
- package/dist/solutions-components/calcite-input-number.entry.js +0 -610
- package/dist/solutions-components/calcite-input-text.entry.js +0 -349
- package/dist/solutions-components/calcite-input-time-picker-e5cd4d26.js +0 -1851
- package/dist/solutions-components/calcite-input-time-picker.entry.js +0 -25
- package/dist/solutions-components/calcite-input-time-zone.entry.js +0 -332
- package/dist/solutions-components/calcite-input.entry.js +0 -691
- 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 -69
- package/dist/solutions-components/calcite-list-item.entry.js +0 -450
- package/dist/solutions-components/calcite-list.entry.js +0 -563
- package/dist/solutions-components/calcite-loader.entry.js +0 -76
- package/dist/solutions-components/calcite-menu-item.entry.js +0 -281
- 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 -84
- 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 -554
- 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 -414
- 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 -241
- package/dist/solutions-components/calcite-select.entry.js +0 -231
- 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 -840
- 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 -238
- package/dist/solutions-components/calcite-stepper.entry.js +0 -377
- package/dist/solutions-components/calcite-switch.entry.js +0 -113
- package/dist/solutions-components/calcite-tab-nav.entry.js +0 -259
- 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 -152
- package/dist/solutions-components/calcite-table-header.entry.js +0 -165
- package/dist/solutions-components/calcite-table-row.entry.js +0 -244
- package/dist/solutions-components/calcite-table.entry.js +0 -314
- package/dist/solutions-components/calcite-tabs.entry.js +0 -174
- package/dist/solutions-components/calcite-text-area.entry.js +0 -276
- 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 -75
- 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 -434
- package/dist/solutions-components/calcite-tree-item.entry.js +0 -292
- 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 -322
- package/dist/solutions-components/card-manager.entry.js +0 -103
- package/dist/solutions-components/common-7e0dcaa2.js +0 -295
- package/dist/solutions-components/component-edd2c3cd.js +0 -30
- package/dist/solutions-components/conditionalSlot-a395417e.js +0 -60
- package/dist/solutions-components/consent-manager.entry.js +0 -2139
- package/dist/solutions-components/create-feature.entry.js +0 -259
- package/dist/solutions-components/crowdsource-manager.entry.js +0 -494
- package/dist/solutions-components/crowdsource-reporter.entry.js +0 -557
- package/dist/solutions-components/cs-04f36d01.js +0 -146
- package/dist/solutions-components/da-5a3b8600.js +0 -65
- package/dist/solutions-components/date-74c7f03b.js +0 -245
- package/dist/solutions-components/de-579cda2e.js +0 -90
- package/dist/solutions-components/de-at-52bf1c4c.js +0 -89
- package/dist/solutions-components/de-ch-12d03480.js +0 -89
- 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-b91aa537.js +0 -1083
- package/dist/solutions-components/downloadUtils-b3220f86.js +0 -4240
- package/dist/solutions-components/edit-card.entry.js +0 -224
- package/dist/solutions-components/el-c18d3ea4.js +0 -65
- package/dist/solutions-components/en-au-2599e6da.js +0 -65
- package/dist/solutions-components/en-ca-8cfbe6bc.js +0 -64
- package/dist/solutions-components/en-gb-5e4e8a1e.js +0 -68
- package/dist/solutions-components/es-d86f9957.js +0 -65
- package/dist/solutions-components/es-mx-f99d9fd1.js +0 -64
- package/dist/solutions-components/esri-loader-af2bbfd5.js +0 -306
- package/dist/solutions-components/et-8bf52e57.js +0 -91
- package/dist/solutions-components/feature-comments.entry.js +0 -56
- package/dist/solutions-components/feature-form-flow-item.entry.js +0 -56
- package/dist/solutions-components/feature-list.entry.js +0 -195
- package/dist/solutions-components/features-flow-item.entry.js +0 -56
- package/dist/solutions-components/fi-aeb49e52.js +0 -114
- package/dist/solutions-components/filter-0d00d2e2.js +0 -46
- package/dist/solutions-components/floating-ui-b3256614.js +0 -2342
- package/dist/solutions-components/floor-filter.entry.js +0 -107
- package/dist/solutions-components/focusTrapComponent-2fe6623b.js +0 -1023
- package/dist/solutions-components/form-f2181470.js +0 -307
- package/dist/solutions-components/fr-6200cc01.js +0 -67
- package/dist/solutions-components/fr-ch-df62bb30.js +0 -65
- package/dist/solutions-components/guid-b75a5f7b.js +0 -24
- package/dist/solutions-components/he-07ace6cb.js +0 -104
- package/dist/solutions-components/helpers-85ca7251.js +0 -807
- package/dist/solutions-components/hi-5aa9519e.js +0 -64
- package/dist/solutions-components/hr-e0614bed.js +0 -79
- package/dist/solutions-components/html2canvas-d52e7c8d.js +0 -7845
- package/dist/solutions-components/hu-732fe37c.js +0 -87
- package/dist/solutions-components/id-0832fc24.js +0 -65
- package/dist/solutions-components/index-5110a27a.js +0 -71
- package/dist/solutions-components/index-7fc1cba9.js +0 -41502
- package/dist/solutions-components/index-91eeaf01.js +0 -199
- package/dist/solutions-components/index-a1e91462.js +0 -2105
- package/dist/solutions-components/index-b1fb529b.js +0 -1956
- package/dist/solutions-components/index-bdfaac50.js +0 -4145
- package/dist/solutions-components/index-d8ff08ed.js +0 -204
- package/dist/solutions-components/index.es-3db60115.js +0 -11256
- package/dist/solutions-components/info-card.entry.js +0 -316
- package/dist/solutions-components/instant-apps-ckeditor-wrapper.entry.js +0 -121
- package/dist/solutions-components/instant-apps-control-panel.entry.js +0 -94
- package/dist/solutions-components/instant-apps-export.entry.js +0 -888
- package/dist/solutions-components/instant-apps-filter-list.entry.js +0 -1055
- package/dist/solutions-components/instant-apps-header.entry.js +0 -124
- package/dist/solutions-components/instant-apps-interactive-legend-classic.entry.js +0 -1604
- 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 -114
- 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-social-share.entry.js +0 -511
- package/dist/solutions-components/instant-apps-splash.entry.js +0 -144
- package/dist/solutions-components/interactive-71585ecc.js +0 -139
- package/dist/solutions-components/interfaces-586e863c.js +0 -80
- package/dist/solutions-components/it-142bc820.js +0 -65
- package/dist/solutions-components/it-ch-1ad1f0ac.js +0 -65
- package/dist/solutions-components/ja-6a33e9d4.js +0 -71
- package/dist/solutions-components/json-editor.entry.js +0 -402
- package/dist/solutions-components/key-9a10d862.js +0 -44
- package/dist/solutions-components/ko-d61df01d.js +0 -71
- package/dist/solutions-components/label-16184ce7.js +0 -179
- package/dist/solutions-components/languageSwitcher-2a9037e5.js +0 -55
- package/dist/solutions-components/languageUtil-71a7a914.js +0 -87
- package/dist/solutions-components/layer-list.entry.js +0 -203
- package/dist/solutions-components/layer-table.entry.js +0 -1483
- 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-827c5581.js +0 -28
- package/dist/solutions-components/loadModules-acccbc1c.js +0 -21
- package/dist/solutions-components/loadable-aea90723.js +0 -92
- package/dist/solutions-components/locale-4cfbae3e.js +0 -86
- package/dist/solutions-components/locale-857f39cf.js +0 -572
- package/dist/solutions-components/locale-d9463a95.js +0 -148
- 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-652c530a.js +0 -96
- package/dist/solutions-components/lv-84e48ed0.js +0 -65
- package/dist/solutions-components/map-card.entry.js +0 -188
- 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-436a516e.js +0 -261
- package/dist/solutions-components/math-efada7a9.js +0 -54
- package/dist/solutions-components/mk-bbf2ee01.js +0 -65
- package/dist/solutions-components/mode-f9bfc4e9.js +0 -25
- package/dist/solutions-components/nb-ccfaa0f7.js +0 -66
- package/dist/solutions-components/nl-4bc56289.js +0 -66
- package/dist/solutions-components/observers-5ba39eee.js +0 -56
- package/dist/solutions-components/openCloseComponent-b4b3788b.js +0 -138
- package/dist/solutions-components/parser-87982ce2.js +0 -1654
- package/dist/solutions-components/pci-calculator.entry.js +0 -113
- package/dist/solutions-components/pciUtils-73d4b6b4.js +0 -844
- package/dist/solutions-components/pdf-download.entry.js +0 -355
- package/dist/solutions-components/pl-1f435988.js +0 -113
- package/dist/solutions-components/popupUtils-b61d7ffd.js +0 -94
- package/dist/solutions-components/pt-4a05a00d.js +0 -66
- package/dist/solutions-components/pt-br-9720547b.js +0 -64
- package/dist/solutions-components/public-notification.entry.js +0 -886
- package/dist/solutions-components/publicNotificationStore-208e26f0.js +0 -45
- package/dist/solutions-components/purify-909c20fa.js +0 -1713
- package/dist/solutions-components/queryUtils-2529c537.js +0 -244
- package/dist/solutions-components/refine-results-flow-item.entry.js +0 -56
- package/dist/solutions-components/refine-selection.entry.js +0 -407
- package/dist/solutions-components/resources-0f8db821.js +0 -45
- package/dist/solutions-components/resources-20074cb1.js +0 -24
- package/dist/solutions-components/resources-3709252d.js +0 -35
- package/dist/solutions-components/resources-3c6947d3.js +0 -26
- package/dist/solutions-components/resources-47b3ca40.js +0 -106
- package/dist/solutions-components/resources-667afb5d.js +0 -27
- package/dist/solutions-components/resources-88a48c5c.js +0 -20
- package/dist/solutions-components/resources-9b2084c6.js +0 -24
- package/dist/solutions-components/resources-9b7e72d5.js +0 -20
- package/dist/solutions-components/resources-b0e2b809.js +0 -22
- package/dist/solutions-components/resources-bb6c11c3.js +0 -49
- package/dist/solutions-components/ro-f87076a1.js +0 -65
- package/dist/solutions-components/ru-e69ca895.js +0 -125
- package/dist/solutions-components/shadow-css-f5236d52.js +0 -481
- package/dist/solutions-components/share-item.entry.js +0 -56
- package/dist/solutions-components/shared-list-render-a572ef93.js +0 -348
- package/dist/solutions-components/sk-d632e850.js +0 -147
- package/dist/solutions-components/sl-5099fa6f.js +0 -167
- package/dist/solutions-components/solution-configuration.entry.js +0 -906
- 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 -154
- package/dist/solutions-components/solution-store-31cccb90.js +0 -587
- 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-e715a3dd.js +0 -3439
- package/dist/solutions-components/spatial-ref.entry.js +0 -21296
- package/dist/solutions-components/sr-944b7fd7.js +0 -100
- package/dist/solutions-components/store-194c1a01.js +0 -87
- package/dist/solutions-components/store-manager.entry.js +0 -61
- package/dist/solutions-components/styles-367380b5.js +0 -11
- package/dist/solutions-components/sv-e481fa6a.js +0 -70
- package/dist/solutions-components/t9n-b39c5433.js +0 -98
- package/dist/solutions-components/th-60961669.js +0 -64
- package/dist/solutions-components/time-4a90614b.js +0 -274
- package/dist/solutions-components/tr-eba8dd86.js +0 -65
- package/dist/solutions-components/uk-ec375ce0.js +0 -103
- package/dist/solutions-components/utils-32df4a1e.js +0 -133
- package/dist/solutions-components/utils-57e2ccde.js +0 -61
- package/dist/solutions-components/utils-7db4ecdc.js +0 -100
- package/dist/solutions-components/utils-95e9dd51.js +0 -55
- package/dist/solutions-components/utils-cfbe589a.js +0 -208
- package/dist/solutions-components/vi-29345f79.js +0 -69
- package/dist/solutions-components/zh-cn-32c7c714.js +0 -93
- package/dist/solutions-components/zh-hk-7c770845.js +0 -70
- package/dist/solutions-components/zh-tw-c318be5c.js +0 -91
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as i,c as t,h as s,H as e,g as a}from"./p-7d280d8a.js";import{a as l,l as h,g as n}from"./p-be8ef276.js";import{c as o,h as r,j as d,k as c,b as p,l as g,m as b,n as u}from"./p-c897e3eb.js";import{a as v,e as y,f as m}from"./p-c1cf3ebc.js";import{s as w}from"./p-cc280aa1.js";import{d as f,a as S}from"./p-8910dc99.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-18f1e8b5.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";const _=class{constructor(s){i(this,s),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){return s(e,null,this._getMapLayerPicker(),s("div",{class:"border-bottom"}),s("div",{class:"padding-top-sides-1"},s("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{class:"padding-top-1"},s("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),s("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const e=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:e},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=l(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,s,e,a]=await h(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=s,this._geometryEngine=e,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){var i,t,s,e;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(s=this.selectionSet)||void 0===s?void 0:s.label,this._useLayerFeaturesEnabled||null===(e=this._drawTools)||void 0===e||e.updateGraphics(),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,s;if(i.result){this._searchResult=i.result;const e=(null===(s=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===s?void 0:s.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=e?[i.result.feature.getObjectId()]:void 0;this._workflowType=v.SEARCH,this._updateLabel();const l=[i.result.feature];this._updateSelection(l,e,a),this._drawTools.graphics=l,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}})),await this._searchWidget.when((()=>{var i;this._searchWidget.allPlaceholder=(null===(i=this.searchConfiguration)||void 0===i?void 0:i.allPlaceholder)&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const s=null==i?void 0:i.sources;return(null==s?void 0:s.length)>0?(i.includeDefaultSources=!1,s.forEach((i=>{var s,e;if(i.hasOwnProperty("layer")){const a=i,l=null===(s=a.layer)||void 0===s?void 0:s.id,h=l?t.map.findLayerById(l):null,n=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:n&&(a.layer=new this.FeatureLayer(n))}})),null==s||s.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const s=i.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this._useLayerFeaturesEnabled?v.SELECT:v.SKETCH,this._workflowType===v.SKETCH&&this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(s)?s.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=s.reduce(((i,t)=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),e=i.detail.useOIDs&&t.length>0;this._updateSelection(s,e,t),e&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await d(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,s=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(i){const t=c(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var s;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),(null===(s=this._drawTools)||void 0===s?void 0:s.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){var i,t;const s=this._selectionLabel.indexOf(this._translations.sketch)>-1,e=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,l=this._workflowType===v.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===v.SELECT?this._translations.select:this._translations.sketch,h=this._unit?this._unit:this._bufferTools.unit,n=await this._bufferTools.getTranslatedUnit(h),o=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=s||e||a||!this._selectionLabel?`${l} ${o} ${n}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const s=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&s===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,s),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],g(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((s=>{t=t.concat(i[s])}))}));let s=!1;t.forEach((i=>{var t;const e=i.geometry;i.symbol="point"===e.type?this.sketchPointSymbol:"polyline"===e.type?this.sketchLineSymbol:"polygon"===e.type?this.sketchPolygonSymbol:void 0,s=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const e=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&s;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:e}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};_.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),P=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,s,e=!0){return f(i,t,!0,s,e)}async downloadPDF(i,t,s=!1,e="",a=""){var l;return S(i,t,null===(l=this._labelInfoElement.selectedOption)||void 0===l?void 0:l.value,s,e,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,s("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await h(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const s=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),e=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return s<e?-1:s>e?1:0})).forEach(((i,t)=>{const s=document.createElement("calcite-option");s.value=i,s.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(s),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(s.selected=!0,this._labelInfoElement.selectedOption=s)}))}get el(){return a(this)}};P.style=":host{display:block}";const x=class{constructor(s){i(this,s),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=y.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return s(e,null,s("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{class:"display-flex"},s("calcite-label",{class:"font-bold width-full label-margin-0"},s("div",{class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{class:"padding-1"},s("div",{class:"padding-bottom-1"},s("calcite-segmented-control",{class:"w-100",width:"full"},s("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(y.ADD),value:y.ADD},s("span",{class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(y.REMOVE),value:y.REMOVE},s("span",{class:"font-weight-500"},this._translations.remove)))),s("div",null,s("map-draw-tools",{active:!0,drawMode:m.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),s("br",null),s("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const s=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(s)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var s;const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===v.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===v.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const s={};s[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),s):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:v.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:s,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===y.ADD?y.REMOVE:y.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===y.ADD?y.REMOVE:y.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===v.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=b(i);return Object.keys(t).reduce(((i,s)=>i+t[s].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){var t,s;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const e=await g(0,null===(s=this._refineLayer)||void 0===s?void 0:s.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(e).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(e[i]))}));const l=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(l,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await u(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,s,e){let a=!1;const l=this._refineSelectionSet.refineInfos,h=e.layer.id,n={};n[h]={addIds:[],removeIds:[],layerView:e};const o=Object.keys(l).indexOf(h)>-1?l[h]:n[h];if(t===y.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&s.push({ids:i,mode:t,layerView:e}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const l=this.selectionSets.reduce(((t,s)=>(i.forEach((i=>{s.workflowType!==v.REFINE?s.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(s.refineInfos).some((a=>{const l=s.refineInfos[a];if(l.layerView.layer.id===e.layer.id&&l.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...l,...o.removeIds])],o.addIds=o.addIds.filter((i=>l.indexOf(i)<0)),o.removeIds.length>0&&s.push({ids:l,mode:t,layerView:e}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==v.REFINE&&t.layerView.layer.id===e.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[h]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{_ as map_select_tools,P as pdf_download,x as refine_selection}
|
6
|
+
import{r as i,c as t,h as s,H as e,g as a}from"./p-7d280d8a.js";import{a as l,l as h,g as n}from"./p-be8ef276.js";import{c as o,h as r,j as d,k as c,b as p,l as g,m as b,n as u}from"./p-c897e3eb.js";import{a as v,e as y,f as m}from"./p-c1cf3ebc.js";import{s as w}from"./p-cc280aa1.js";import{d as f,a as S}from"./p-1d3a1794.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-18f1e8b5.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";const _=class{constructor(s){i(this,s),this.selectionSetChange=t(this,"selectionSetChange",7),this._selectedIds=[],this._selectionLabel="",this._graphics=[],this._featuresCollection={},this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._numSelected=0,this._searchDistanceEnabled=!1,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0,this._useLayerFeaturesEnabled=!1}async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools.distance,download:!0,unit:this._bufferTools.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this._searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this._useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){return s(e,null,this._getMapLayerPicker(),s("div",{class:"border-bottom"}),s("div",{class:"padding-top-sides-1"},s("div",{class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{class:"padding-top-1"},s("map-draw-tools",{active:!0,editGraphicsEnabled:!this._useLayerFeaturesEnabled,graphics:this._graphics,mapView:this.mapView,onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this._getBufferOptions(),this._getUseLayerFeaturesOptions(),this._getNumSelected()),s("div",{class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){var i,t;const e=this._searchDistanceEnabled?"search-distance":"div-not-visible",a="number"==typeof(null===(i=this.selectionSet)||void 0===i?void 0:i.distance)?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this._searchDistanceEnabled,onCalciteSwitchChange:()=>this._searchDistanceEnabled=!this._searchDistanceEnabled})),s("div",{class:e},s("buffer-tools",{disabled:!this._searchDistanceEnabled,distance:a,geometries:this.geometries,onBufferComplete:i=>this._bufferComplete(i),ref:i=>this._bufferTools=i,unit:(null===(t=this.selectionSet)||void 0===t?void 0:t.unit)||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){const i=this._useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this._useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=l(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>this._inputLayerSelectionChange(i),selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,s,e,a]=await h(["esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this.GraphicsLayer=i,this.Graphic=t,this.Search=s,this._geometryEngine=e,this.FeatureLayer=a}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){var i,t,s,e;this.selectionSet&&(this._searchTerm=null===(i=this.selectionSet.searchResult)||void 0===i?void 0:i.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this._searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this._useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...(null===(t=this.selectionSet)||void 0===t?void 0:t.geometries)||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=null===(s=this.selectionSet)||void 0===s?void 0:s.label,this._useLayerFeaturesEnabled||null===(e=this._drawTools)||void 0===e||e.updateGraphics(),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t=Object.assign({view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm},i);this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{var t,s;if(i.result){this._searchResult=i.result;const e=(null===(s=null===(t=i.source)||void 0===t?void 0:t.layer)||void 0===s?void 0:s.id)&&i.source.layer.id===this.selectLayerView.layer.id,a=e?[i.result.feature.getObjectId()]:void 0;this._workflowType=v.SEARCH,this._updateLabel();const l=[i.result.feature];this._updateSelection(l,e,a),this._drawTools.graphics=l,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}})),await this._searchWidget.when((()=>{var i;this._searchWidget.allPlaceholder=(null===(i=this.searchConfiguration)||void 0===i?void 0:i.allPlaceholder)&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}_searchClearLabel(){var i;return(null===(i=this._searchResult)||void 0===i?void 0:i.name)&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const s=null==i?void 0:i.sources;return(null==s?void 0:s.length)>0?(i.includeDefaultSources=!1,s.forEach((i=>{var s,e;if(i.hasOwnProperty("layer")){const a=i,l=null===(s=a.layer)||void 0===s?void 0:s.id,h=l?t.map.findLayerById(l):null,n=null===(e=null==a?void 0:a.layer)||void 0===e?void 0:e.url;h?a.layer=h:n&&(a.layer=new this.FeatureLayer(n))}})),null==s||s.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===(null==t?void 0:t.name)&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i=Object.assign(Object.assign({},i),{includeDefaultSources:!0}),i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers.push(i);const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const s=i.detail.graphics;if(s.length>0&&s[0])if(t||(this._sketchGraphic=s[0]),this._workflowType=this._useLayerFeaturesEnabled?v.SELECT:v.SKETCH,this._workflowType===v.SKETCH&&this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this._useLayerFeaturesEnabled&&!t){const i=Array.isArray(s)?s.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=s.reduce(((i,t)=>{var s;return(null===(s=null==t?void 0:t.layer)||void 0===s?void 0:s.objectIdField)?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i}),[]),e=i.detail.useOIDs&&t.length>0;this._updateSelection(s,e,t),e&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){var i;return(null===(i=this._skipGeomOIDs)||void 0===i?void 0:i.length)>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await d(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,s=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),s=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:s})}_geomQuery(i){const t=c(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){var s;this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName.value=""),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),(null===(s=this._drawTools)||void 0===s?void 0:s.clear)&&(this._graphics=[],await this._drawTools.clear()),this.selectionSetChange.emit(this._selectedIds.length)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,s){this._selectedIds=t&&s?s:this._selectedIds,this._skipGeomOIDs=t?s:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){var i,t;const s=this._selectionLabel.indexOf(this._translations.sketch)>-1,e=this._selectionLabel.indexOf(this._translations.select)>-1,a=this._selectionLabel.indexOf(null===(i=this._searchResult)||void 0===i?void 0:i.name)>-1,l=this._workflowType===v.SEARCH?null===(t=this._searchResult)||void 0===t?void 0:t.name:this._workflowType===v.SELECT?this._translations.select:this._translations.sketch,h=this._unit?this._unit:this._bufferTools.unit,n=await this._bufferTools.getTranslatedUnit(h),o=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=s||e||a||!this._selectionLabel?`${l} ${o} ${n}`:this._selectionLabel,this._labelName.value=this._selectionLabel}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){var t;const s=(null===(t=null==i?void 0:i.detail)||void 0===t?void 0:t.length)>0?i.detail[0]:"";this.selectLayerView&&s===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,s),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],g(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((s=>{t=t.concat(i[s])}))}));let s=!1;t.forEach((i=>{var t;const e=i.geometry;i.symbol="point"===e.type?this.sketchPointSymbol:"polyline"===e.type?this.sketchLineSymbol:"polygon"===e.type?this.sketchPolygonSymbol:void 0,s=(null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.hasOwnProperty("objectIdField"))||i.hasOwnProperty("getObjectId")}));const e=this.layerViews[0].layer.title===this.selectLayerView.layer.title&&s;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:e}},!0)}))}_useLayerFeaturesEnabledChanged(){this._useLayerFeaturesEnabled=!this._useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}get el(){return a(this)}static get watchers(){return{geometries:["watchGeometriesHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};_.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),P=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this._translations=void 0}async downloadCSV(i,t,s,e=!0){return f(i,t,!0,s,e)}async downloadPDF(i,t,s=!1,e="",a=""){var l;return S(i,t,null===(l=this._labelInfoElement.selectedOption)||void 0===l?void 0:l.value,s,e,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(e,null,s("calcite-select",{disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await h(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="‎"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"‏";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const s=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),e=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return s<e?-1:s>e?1:0})).forEach(((i,t)=>{const s=document.createElement("calcite-option");s.value=i,s.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(s),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(s.selected=!0,this._labelInfoElement.selectedOption=s)}))}get el(){return a(this)}};P.style=":host{display:block}";const x=class{constructor(s){i(this,s),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this._addEnabled=!0,this._refineSets=[],this._enabledLayerIds=[],this._featuresCollection={},this.addresseeLayer=void 0,this.enabledLayerIds=[],this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=y.ADD,this._refineLayer=void 0}async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){var i,t;return s(e,null,s("div",{class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{class:"display-flex"},s("calcite-label",{class:"font-bold width-full label-margin-0"},s("div",{class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{enabledLayerIds:this._enabledLayerIds,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{class:"padding-1"},s("div",{class:"padding-bottom-1"},s("calcite-segmented-control",{class:"w-100",width:"full"},s("calcite-segmented-control-item",{checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(y.ADD),value:y.ADD},s("span",{class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(y.REMOVE),value:y.REMOVE},s("span",{class:"font-weight-500"},this._translations.remove)))),s("div",null,s("map-draw-tools",{active:!0,drawMode:m.REFINE,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:(null===(i=this._refineSelectionSet)||void 0===i?void 0:i.redoStack.length)>0,ref:i=>{this._drawTools=i},undoEnabled:(null===(t=this._refineSelectionSet)||void 0===t?void 0:t.undoStack.length)>0})),s("br",null),s("calcite-list",{class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){var t;const s=null===(t=i.detail)||void 0===t?void 0:t.graphics[0].geometry;this._selectFeatures(s)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{var s;const e=null===(s=null==t?void 0:t.layerView)||void 0===s?void 0:s.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===v.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===v.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const s={};s[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos=Object.assign(Object.assign({},t.refineInfos),s):(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:v.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:s,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===y.ADD?y.REMOVE:y.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===y.ADD?y.REMOVE:y.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===v.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=b(i);return Object.keys(t).reduce(((i,s)=>i+t[s].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){var t,s;this.selectionLoadingChange.emit(!0),this._featuresCollection[null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id]=[];const e=await g(0,null===(s=this._refineLayer)||void 0===s?void 0:s.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let a=[];Object.keys(e).forEach((i=>{var t;i===(null===(t=this._refineLayer)||void 0===t?void 0:t.layer.id)&&(a=a.concat(e[i]))}));const l=Array.isArray(a)?a.map((i=>{var t;return i.attributes[null===(t=null==i?void 0:i.layer)||void 0===t?void 0:t.objectIdField]})):[];await this._updateIds(l,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await u(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,s,e){let a=!1;const l=this._refineSelectionSet.refineInfos,h=e.layer.id,n={};n[h]={addIds:[],removeIds:[],layerView:e};const o=Object.keys(l).indexOf(h)>-1?l[h]:n[h];if(t===y.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&s.push({ids:i,mode:t,layerView:e}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const l=this.selectionSets.reduce(((t,s)=>(i.forEach((i=>{s.workflowType!==v.REFINE?s.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(s.refineInfos).some((a=>{const l=s.refineInfos[a];if(l.layerView.layer.id===e.layer.id&&l.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...l,...o.removeIds])],o.addIds=o.addIds.filter((i=>l.indexOf(i)<0)),o.removeIds.length>0&&s.push({ids:l,mode:t,layerView:e}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==v.REFINE&&t.layerView.layer.id===e.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[h]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}get el(){return a(this)}};x.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{_ as map_select_tools,P as pdf_download,x as refine_selection}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,a as s,h as e,H as a,g as l}from"./p-7d280d8a.js";import{b as o,c as n,a as h}from"./p-c1cf3ebc.js";import{l as c,g as d}from"./p-be8ef276.js";import{c as r,h as p}from"./p-c897e3eb.js";import{s as g}from"./p-cc280aa1.js";import{c as b,r as m}from"./p-8910dc99.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-18f1e8b5.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),t!==n.SELECT)return this._highlightFeatures()}selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=t,this._jsonUtils=i}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return e("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let o=!0;return i.workflowType===h.REFINE&&(o=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),o&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},e("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",s=this._addResults?"":"display-none";return e("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),e("div",{class:`padding-top-sides-1 ${s}`},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:`padding-sides-1 ${s}`},e("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:i})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,a,l,o){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==h.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=null==t?void 0:t.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{var s;if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,a,l=!1,o=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){r(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await d(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
|
6
|
+
import{r as t,c as i,a as s,h as e,H as a,g as l}from"./p-7d280d8a.js";import{b as o,c as n,a as h}from"./p-c1cf3ebc.js";import{l as c,g as d}from"./p-be8ef276.js";import{c as r,h as p}from"./p-c897e3eb.js";import{s as g}from"./p-cc280aa1.js";import{c as b,r as m}from"./p-1d3a1794.js";import"./p-8ddc7786.js";import"./p-e2d0ad1b.js";import"./p-18f1e8b5.js";import"./p-b503d01d.js";import"./p-a230b270.js";import"./p-94c634ba.js";const u=class{constructor(s){t(this,s),this.searchConfigurationChange=i(this,"searchConfigurationChange",7),this._onboardingImageUrl="",this._titleValue=void 0,this._numSelected=0,this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.featureEffect=void 0,this.featureHighlightEnabled=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=o.PDF,this._fetchingData=!1,this._isMobile=void 0,this._numDuplicates=0,this._pageType=n.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=void 0}async mapViewWatchHandler(t){(null==t?void 0:t.popup)&&(this._popupsEnabled=null==t?void 0:t.popup.autoOpenEnabled),this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(t,i){const s=JSON.stringify(t);this.mapView&&(s!==JSON.stringify(i)||s&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(s),this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setLineSymbol(t)}async sketchPointSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPointSymbol(t)}async sketchPolygonSymbolWatchHandler(t,i){t&&JSON.stringify(t)!==JSON.stringify(i)&&this._setPolygonSymbol(t)}async pageTypeWatchHandler(t,i){var s;if(this._checkPopups(),(null===(s=this.mapView)||void 0===s?void 0:s.popup)&&(this.mapView.popupEnabled=t===n.LIST&&this._popupsEnabled),t===n.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1),this._clearHighlight(),i!==n.SELECT&&i!==n.REFINE||await this._clearSelection(),t!==n.SELECT)return this._highlightFeatures()}selectionSetsChanged(t){this._selectionSets=[...t.detail]}connectedCallback(){this._mediaQuery=window.matchMedia("(max-width: 600px)"),this._mediaQuery.addEventListener("change",(t=>this._setIsMobile(t)))}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initSymbols(),this._onboardingImageUrl=s("../assets/data/images/onboarding.png")}render(){return e(a,null,e("calcite-shell",null,e("calcite-action-bar",{class:"border-bottom-1 action-bar-size","expand-disabled":!0,layout:"horizontal",slot:this._isMobile?"footer":"header"},this._getActionGroup("list-check",n.LIST,this._translations.myLists),this.showRefineSelection?this._getActionGroup("test-data",n.REFINE,this._translations.refineSelection):null,this._getActionGroup("export",n.EXPORT,this._translations.export)),this._getPage(this._pageType)))}async componentDidLoad(){this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){this._mediaQuery.removeEventListener("change",(t=>this._setIsMobile(t)))}async _initModules(){const[t,i]=await c(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils"]);this._geometryEngine=t,this._jsonUtils=i}_initSearchConfiguration(t){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=t,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(t){this.sketchLineSymbol="simple-line"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(t){this.sketchPointSymbol="simple-marker"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(t){this.sketchPolygonSymbol="simple-fill"===(null==t?void 0:t.type)?t:this._jsonUtils.fromJSON(t||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(t){this._isMobile=t.matches}_getActionGroup(t,i,s){return e("calcite-action-group",{class:this.showRefineSelection?"w-1-3":"w-1-2",layout:"horizontal"},e("div",{class:"background-override"},e("calcite-action",{active:this._pageType===i,alignment:"center",class:"width-full height-full",compact:!1,icon:t,id:t,onClick:()=>{this._setPageType(i)},text:""})),e("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},e("span",null,s)))}_setPageType(t){this._pageType=t}_getPage(t){let i;switch(t){case n.LIST:i=this._getListPage();break;case n.SELECT:i=this._getSelectPage();break;case n.EXPORT:i=this._getExportPage();break;case n.REFINE:i=this._getRefinePage()}return i}_getListPage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.myLists),this._getNotice(t?this._translations.listHasSetsTip:this._translations.selectLayerAndAdd,"padding-sides-1 padding-bottom-1","word-wrap-anywhere"),t?this._getSelectionSetList():this._getOnboardingImage(),e("div",{class:"display-flex padding-1"},e("calcite-button",{onClick:()=>{this._setPageType(n.SELECT)},width:"full"},e("span",{class:"font-weight-500"},this._translations.add))))}_getOnboardingImage(){return e("div",{class:"display-flex padding-sides-1"},e("img",{class:"img-container",src:this._onboardingImageUrl}))}_getSelectionSetList(){return e("div",{class:"padding-top-1-2 padding-bottom-1-2"},e("calcite-list",{class:"list-border margin-sides-1"},this._selectionSets.reduce(((t,i,s)=>{var a;const l=this._getSelectionSetIds(i);let o=!0;return i.workflowType===h.REFINE&&(o=Object.keys(i.refineInfos).reduce(((t,s)=>{const e=i.refineInfos[s];return t+(e.addIds.length+e.removeIds.length)}),0)>0),o&&t.push(e("calcite-list-item",{label:i.label,onClick:()=>this._gotoSelection(i,this.mapView)},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(a=null==i?void 0:i.layerView)||void 0===a?void 0:a.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",l.length.toString()))),this._getAction(!0,"pencil","",(t=>this._openSelection(i,t)),!1,"actions-end"),this._getAction(!0,"x","",(t=>this._deleteSelection(s,t)),!1,"actions-end"))),t}),[])))}_getSelectionSetIds(t){return t.workflowType!==h.REFINE?t.selectedIds:Object.keys(t.refineInfos).reduce(((i,s)=>[...i,...t.refineInfos[s].addIds]),[])}_hasSelections(t=!1){let i=[];const s=this._selectionSets.some((t=>{if(t.workflowType===h.REFINE)return i=this._getSelectionSetIds(t),!0}));return t&&s?i.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){const t=this._getExportInfos(),i=await b(this.mapView.map,t),s=m(i);return i.length-s.length}_getExportInfos(){return this._selectionSets.reduce(((t,i)=>(i.download&&(i.workflowType!==h.REFINE?this._updateIds(i.layerView.layer.id,i.layerView,i.selectedIds,t):Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds.length>0&&this._updateIds(s,e.layerView,e.addIds,t)}))),t)),{})}_updateIds(t,i,s,e){return e[t]?e[t].ids=e[t].ids.concat(s):e[t]={layerView:i,ids:s},e}_getSelectPage(){const t=this._translations.selectSearchTip;return e("calcite-panel",null,this._getLabel(this._translations.stepTwoFull,!0),this._getNotice(t,"padding-1","word-wrap-anywhere"),e("div",null,e("map-select-tools",{bufferColor:this.bufferColor,bufferOutlineColor:this.bufferOutlineColor,class:"font-bold",customLabelEnabled:this.customLabelEnabled,defaultBufferDistance:this.defaultBufferDistance,defaultBufferUnit:this.defaultBufferUnit,enabledLayerIds:this.addresseeLayerIds,isUpdate:!!this._activeSelection,mapView:this.mapView,noResultText:this.noResultText,onSelectionSetChange:t=>this._updateForSelection(t),ref:t=>{this._selectTools=t},searchConfiguration:this._searchConfiguration,selectionLayerIds:this.selectionLayerIds,selectionSet:this._activeSelection,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})),this._getPageNavButtons(this._translations.done,0===this._numSelected,(()=>{this._saveSelection()}),this._translations.cancel,!1,(()=>{this._home()})))}_getExportPage(){const t=this._hasSelections(this.showRefineSelection),i=this._numDuplicates>0?"display-block":"display-none";return e("calcite-panel",null,e("div",null,this._getLabel(this._translations.export,!1),t?e("div",null,this._getNotice(this._translations.exportTip,"padding-sides-1"),this._getLabel(this._translations.exportListsLabel),this._getExportSelectionLists(),e("div",{class:"padding-sides-1 "+i},e("div",{class:"display-flex"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{ref:t=>{this._removeDuplicates=t}}),e("div",{class:"display-flex"},this._translations.removeDuplicate,e("div",{class:"info-message padding-start-1-2"},e("calcite-input-message",{class:"info-blue margin-top-0",scale:"m"},` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`)))),e("calcite-icon",{class:"padding-start-1-2 icon",icon:"question",id:"remove-duplicates-icon",scale:"s"})),e("calcite-popover",{closable:!0,label:"",referenceElement:"remove-duplicates-icon"},e("span",{class:"tooltip-message"},this._translations.duplicatesTip))),e("div",{class:"border-bottom"}),e("div",{class:"padding-top-sides-1"},e("calcite-segmented-control",{class:"w-100",onCalciteSegmentedControlChange:t=>this._exportTypeChange(t),width:"full"},e("calcite-segmented-control-item",{checked:this._exportType===o.PDF,class:"w-50 end-border",value:o.PDF},e("span",{class:"font-weight-500"},this._translations.pdf)),e("calcite-segmented-control-item",{checked:this._exportType===o.CSV,class:"w-50",value:o.CSV},e("span",{class:"font-weight-500"},this._translations.csv)))),e("div",{class:"padding-bottom-1"},this._getExportOptions()),e("div",{class:"padding-1 display-flex"},e("calcite-button",{disabled:!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults,loading:this._fetchingData,onClick:()=>{this._export()},width:"full"},e("span",{class:"font-weight-500"},this._translations.export)))):this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")))}_exportTypeChange(t){this._exportType=t.target.value}_getExportOptions(){const t=this._addTitle?"display-block":"display-none",i=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",s=this._addResults?"":"display-none";return e("div",{class:this._exportType===o.PDF?"display-block":"display-none"},this._getLabel(this._translations.pdfOptions,!0),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addResults,onCalciteCheckboxChange:()=>this._addResults=!this._addResults}),this._translations.addResults)),e("div",{class:`padding-top-sides-1 ${s}`},e("calcite-label",{class:"label-margin-0"},this._translations.selectPDFLabelOption)),e("div",{class:`padding-sides-1 ${s}`},e("pdf-download",{defaultNumLabelsPerPage:parseInt(this.defaultNumLabelsPerPage.toString(),10),disabled:!this._downloadActive,ref:t=>{this._downloadTools=t}})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addTitle,onCalciteCheckboxChange:()=>this._addTitle=!this._addTitle}),this._translations.title)),e("div",{class:t},this._getLabel(this._translations.title,!0,""),e("calcite-input-text",{class:"padding-sides-1",onCalciteInputTextInput:()=>this._changeTitle(),placeholder:this._translations.titlePlaceholder,ref:t=>{this._titleElement=t},value:i})),e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:"label-margin-0",layout:"inline"},e("calcite-checkbox",{checked:this._addMap,onCalciteCheckboxChange:()=>this._addMap=!this._addMap}),this._translations.includeMap)))}_getRefinePage(){const t=this._hasSelections();return e("calcite-panel",null,this._getLabel(this._translations.refineSelection),t?e("div",null,this._getNotice(this._translations.refineTip,"padding-sides-1"),e("refine-selection",{enabledLayerIds:this.selectionLayerIds,mapView:this.mapView,selectionSets:this._selectionSets,sketchLineSymbol:this.sketchLineSymbol,sketchPointSymbol:this.sketchPointSymbol,sketchPolygonSymbol:this.sketchPolygonSymbol})):this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1"))}_getPageNavButtons(t,i,s,a,l,o){return e("div",{class:"padding-bottom-1"},e("div",{class:"display-flex padding-top-sides-1"},e("calcite-button",{disabled:i,onClick:s,width:"full"},e("span",{class:"font-weight-500"},t))),e("div",{class:"display-flex padding-top-1-2 padding-sides-1"},e("calcite-button",{appearance:"outline",disabled:l,onClick:o,width:"full"},e("span",{class:"font-weight-500"},a))))}_changeTitle(){this._titleValue=this._titleElement.value}_getNotice(t,i="padding-1",s=""){return e("calcite-notice",{class:i,icon:"lightbulb",kind:"success",open:!0},e("div",{class:s,slot:"message"},t))}_getLabel(t,i=!1,s="font-bold"){return e("div",{class:"padding-top-sides-1"},e("calcite-label",{class:s+=i?" label-margin-0":""},t))}_getExportSelectionLists(){return this._selectionSets.reduce(((t,i)=>{var s;const a=this._getSelectionSetIds(i),l=i.workflowType!==h.REFINE||a.length>0;return!this._downloadActive&&i.download&&l&&(this._downloadActive=!0),l&&t.push(e("div",{class:"display-flex padding-sides-1 padding-bottom-1"},e("calcite-checkbox",{checked:i.download,class:"align-center",onClick:()=>{this._toggleDownload(i.id)}}),e("calcite-list",{class:"list-border margin-start-1-2 width-full",id:"download-list"},e("calcite-list-item",{disabled:!i.download,label:i.label,onClick:()=>{this._toggleDownload(i.id)}},e("div",{slot:"content"},e("div",{class:"list-label"},i.label),e("div",{class:"list-description"},null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.title),e("div",{class:"list-description"},this._translations.selectedFeatures.replace("{{n}}",a.length.toString()))))))),t}),[])||e("div",null)}async _toggleDownload(t){let i=!1;this._selectionSets=this._selectionSets.map((s=>(s.download=s.id===t?!s.download:s.download,i=!!s.download||i,s))),this._downloadActive=i,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){const t=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===o.PDF){let i="";if(this._addMap&&this.mapView){const t=await this.mapView.takeScreenshot({width:1500,height:2e3});i=null==t?void 0:t.dataUrl}this._fetchingData=!0,await this._downloadTools.downloadPDF(this.mapView.map,t,this._removeDuplicates.checked,this._addTitle?this._titleElement.value:"",i),this._fetchingData=!1}this._exportType===o.CSV&&(this._fetchingData=!0,await this._downloadTools.downloadCSV(this.mapView.map,t,this._removeDuplicates.checked),this._fetchingData=!1)}_getSelectionIdsAndViews(t,i=!1){return(i?t.filter((t=>t.download)):t).reduce(((t,i)=>{var s;if(i.workflowType===h.REFINE)Object.keys(i.refineInfos).forEach((s=>{const e=i.refineInfos[s];e.addIds&&(t=this._updateExportInfos(t,e.layerView.layer.id,i.label,e.addIds,e.layerView))}));else{const e=null===(s=null==i?void 0:i.layerView)||void 0===s?void 0:s.layer.id;t=this._updateExportInfos(t,e,i.label,i.selectedIds,i.layerView)}return t}),{})}_updateExportInfos(t,i,s,e,a){return i&&Object.keys(t).indexOf(i)>-1?(t[i].ids=[...new Set([...t[i].ids,...e])],t[i].selectionSetNames.push(s)):i&&(t[i]={ids:e,layerView:a,selectionSetNames:[s]}),t}_getAction(t,i,s,a,l=!1,o=""){return e("calcite-action",{disabled:!t,icon:i,indicator:l,onClick:a,slot:o,text:s})}_updateForSelection(t){this._numSelected=t.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(n.LIST)}async _saveSelection(){var t,i;const s=await(null===(t=this._selectTools)||void 0===t?void 0:t.getSelection()),e=null===(i=this._selectTools)||void 0===i?void 0:i.isUpdate;return this._selectionSets=e?this._selectionSets.map((t=>t.id===s.id?s:t)):[...this._selectionSets,s],this._home()}async _clearSelection(){var t;await(null===(t=this._selectTools)||void 0===t?void 0:t.clearSelection()),this._numSelected=0,this._activeSelection=void 0}_deleteSelection(t,i){return i.stopPropagation(),this._selectionSets=this._selectionSets.filter(((i,s)=>{if(s!==t)return i})),this._highlightFeatures()}_gotoSelection(t,i){r(t.selectedIds,t.layerView,i,this.featureHighlightEnabled,this.featureEffect)}_openSelection(t,i){i.stopPropagation(),this._activeSelection=t,this._pageType=t.workflowType===h.REFINE?n.REFINE:n.SELECT}async _highlightFeatures(){this._clearHighlight();const t=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===n.EXPORT),i=Object.keys(t);if(i.length>0)for(let s=0;s<i.length;s++){const e=t[i[s]];g.highlightHandles.push(await p(e.ids,e.layerView,this.mapView))}}_checkPopups(){var t;"boolean"!=typeof this._popupsEnabled&&(this._popupsEnabled=null===(t=this.mapView)||void 0===t?void 0:t.popupEnabled)}_clearHighlight(){g&&g.highlightHandles&&g.removeHandles()}async _getTranslations(){const t=await d(this.el);this._translations=t[0]}get el(){return l(this)}static get watchers(){return{mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"],sketchLineSymbol:["sketchLineSymbolWatchHandler"],sketchPointSymbol:["sketchPointSymbolWatchHandler"],sketchPolygonSymbol:["sketchPolygonSymbolWatchHandler"],_pageType:["pageTypeWatchHandler"]}}};u.style=':host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:0.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir="rtl"]{float:left}.float-left{float:left}.float-left[dir="rtl"]{float:right}.margin-top-0{margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir="rtl"]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom:0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3:var(--calcite-color-brand);--calcite-color-foreground-2:var(--calcite-color-brand-hover);--calcite-color-text-1:var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}';export{u as public_notification}
|
@@ -1,84 +1 @@
|
|
1
|
-
|
2
|
-
* Copyright 2018 Esri
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
/*#region Basic Overrides*/
|
17
|
-
html, body {
|
18
|
-
height: 100%;
|
19
|
-
width: 100%;
|
20
|
-
overflow-y: hidden;
|
21
|
-
background-color: #F4F4F4;
|
22
|
-
margin: 0px;
|
23
|
-
}
|
24
|
-
|
25
|
-
h1 {
|
26
|
-
line-height: unset;
|
27
|
-
margin: unset;
|
28
|
-
font-size: 2rem;
|
29
|
-
padding-left: 0.5rem;
|
30
|
-
}
|
31
|
-
|
32
|
-
#appContainer {
|
33
|
-
height: 100%;
|
34
|
-
opacity: 0;
|
35
|
-
transition: 1s;
|
36
|
-
}
|
37
|
-
|
38
|
-
/*#endregion */
|
39
|
-
/*#region Calcite overrides */
|
40
|
-
.block-group {
|
41
|
-
margin-inline-start: 0.625rem;
|
42
|
-
margin-inline-end: 0.625rem;
|
43
|
-
}
|
44
|
-
|
45
|
-
calcite-tree-item[highlight] > div {
|
46
|
-
font-weight: 700;
|
47
|
-
}
|
48
|
-
|
49
|
-
calcite-tree-item[childselected] > div {
|
50
|
-
font-weight: 700;
|
51
|
-
}
|
52
|
-
|
53
|
-
calcite-tree-item > a:hover {
|
54
|
-
text-decoration: none;
|
55
|
-
}
|
56
|
-
|
57
|
-
calcite-switch > input {
|
58
|
-
display: none;
|
59
|
-
}
|
60
|
-
|
61
|
-
calcite-switch {
|
62
|
-
position: static;
|
63
|
-
}
|
64
|
-
|
65
|
-
calcite-tree a {
|
66
|
-
color: black;
|
67
|
-
}
|
68
|
-
|
69
|
-
input.input-group-input, .input-group-input {
|
70
|
-
width: unset;
|
71
|
-
display: flex;
|
72
|
-
flex: auto;
|
73
|
-
}
|
74
|
-
|
75
|
-
/*#endregion */
|
76
|
-
.display-none {
|
77
|
-
display: none;
|
78
|
-
}
|
79
|
-
|
80
|
-
.empty-box {
|
81
|
-
width: 200px;
|
82
|
-
aspect-ratio: auto 200/133;
|
83
|
-
border: 1px dotted gray;
|
84
|
-
}
|
1
|
+
html,body{height:100%;width:100%;overflow-y:hidden;background-color:#F4F4F4;margin:0px}h1{line-height:unset;margin:unset;font-size:2rem;padding-left:0.5rem}#appContainer{height:100%;opacity:0;transition:1s}.block-group{margin-inline-start:0.625rem;margin-inline-end:0.625rem}calcite-tree-item[highlight]>div{font-weight:700}calcite-tree-item[childselected]>div{font-weight:700}calcite-tree-item>a:hover{text-decoration:none}calcite-switch>input{display:none}calcite-switch{position:static}calcite-tree a{color:black}input.input-group-input,.input-group-input{width:unset;display:flex;flex:auto}.display-none{display:none}.empty-box{width:200px;aspect-ratio:auto 200/133;border:1px dotted gray}
|