@esri/solutions-components 0.2.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/solution-config-modal/resources.json +22 -0
- package/dist/assets/t9n/solution-config-modal/resources_en.json +22 -0
- package/dist/cjs/ExpandToggle-73df0d51.js +2 -0
- package/dist/cjs/ExpandToggle-73df0d51.js.map +1 -0
- package/dist/cjs/Heading-6b7b374c.js +2 -0
- package/dist/cjs/Heading-6b7b374c.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-6aafa5de.js +2 -0
- package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +1 -0
- package/dist/cjs/app-globals-2f48e57e.js +2 -0
- package/dist/cjs/app-globals-2f48e57e.js.map +1 -0
- package/dist/cjs/array-ace6d4b5.js +2 -0
- package/dist/cjs/array-ace6d4b5.js.map +1 -0
- package/dist/cjs/buffer-tools_6.cjs.entry.js +2 -0
- package/dist/cjs/buffer-tools_6.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -0
- package/dist/cjs/calcite-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +20 -401
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action_2.cjs.entry.js +425 -71
- package/dist/cjs/calcite-action_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -0
- package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +2 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js +2 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-block.cjs.entry.js +2 -0
- package/dist/cjs/calcite-block.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-card.cjs.entry.js +2 -0
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -0
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-chip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-date-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -0
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-filter.cjs.entry.js +2 -0
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -0
- package/dist/cjs/calcite-flow.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-graph.cjs.entry.js +2 -0
- package/dist/cjs/calcite-graph.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -0
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -0
- package/dist/cjs/calcite-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -0
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-label.cjs.entry.js +2 -0
- package/dist/cjs/calcite-label.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-link.cjs.entry.js +2 -0
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-list_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-loader.cjs.entry.js +97 -0
- package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-configuration.cjs.entry.js → calcite-modal_2.cjs.entry.js} +452 -6
- package/dist/cjs/calcite-modal_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/{calcite-shell-panel_14.cjs.entry.js → calcite-panel_12.cjs.entry.js} +469 -711
- package/dist/cjs/calcite-panel_12.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-popover-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-rating.cjs.entry.js +2 -0
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-stepper.cjs.entry.js +2 -0
- package/dist/cjs/calcite-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-switch.cjs.entry.js +2 -0
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile-select.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-time-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tooltip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tree_3.cjs.entry.js.map +1 -0
- package/dist/cjs/check-list.cjs.entry.js +2 -0
- package/dist/cjs/check-list.cjs.entry.js.map +1 -0
- package/dist/cjs/conditionalSlot-2defe83d.js +2 -0
- package/dist/cjs/conditionalSlot-2defe83d.js.map +1 -0
- package/dist/cjs/config-buffer-tools.cjs.entry.js +2 -0
- package/dist/cjs/config-buffer-tools.cjs.entry.js.map +1 -0
- package/dist/cjs/config-draw-tools.cjs.entry.js +2 -0
- package/dist/cjs/config-draw-tools.cjs.entry.js.map +1 -0
- package/dist/cjs/config-layer-picker.cjs.entry.js +2 -0
- package/dist/cjs/config-layer-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/config-pdf-download.cjs.entry.js +2 -0
- package/dist/cjs/config-pdf-download.cjs.entry.js.map +1 -0
- package/dist/cjs/date-e21b2052.js +2 -0
- package/dist/cjs/date-e21b2052.js.map +1 -0
- package/dist/cjs/debounce-69c3bada.js +2 -0
- package/dist/cjs/debounce-69c3bada.js.map +1 -0
- package/dist/cjs/dom-4a580af6.js +2 -0
- package/dist/cjs/dom-4a580af6.js.map +1 -0
- package/dist/cjs/filter-325f654f.js +2 -0
- package/dist/cjs/filter-325f654f.js.map +1 -0
- package/dist/cjs/floating-ui-ca1bcead.js +2 -0
- package/dist/cjs/floating-ui-ca1bcead.js.map +1 -0
- package/dist/cjs/form-45849654.js +2 -0
- package/dist/cjs/form-45849654.js.map +1 -0
- package/dist/cjs/guid-84ac4d91.js +2 -0
- package/dist/cjs/guid-84ac4d91.js.map +1 -0
- package/dist/cjs/index-7af21b6f.js +2 -0
- package/dist/cjs/index-7af21b6f.js.map +1 -0
- package/dist/cjs/index-a86078a0.js +2 -0
- package/dist/cjs/index-a86078a0.js.map +1 -0
- package/dist/cjs/index-d7f9770d.js +2 -0
- package/dist/cjs/index-d7f9770d.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/interactive-0a68ab99.js +2 -0
- package/dist/cjs/interactive-0a68ab99.js.map +1 -0
- package/dist/cjs/interfaces-ab603e16.js +2 -0
- package/dist/cjs/interfaces-ab603e16.js.map +1 -0
- package/dist/cjs/interfaces-e76f31e9.js +2 -0
- package/dist/cjs/interfaces-e76f31e9.js.map +1 -0
- package/dist/cjs/key-55aca5c0.js +2 -0
- package/dist/cjs/key-55aca5c0.js.map +1 -0
- package/dist/cjs/label-24fcd8a5.js +2 -0
- package/dist/cjs/label-24fcd8a5.js.map +1 -0
- package/dist/cjs/labelFormats-3236d2e0.js +2 -0
- package/dist/cjs/labelFormats-3236d2e0.js.map +1 -0
- package/dist/cjs/loadModules-38269f99.js +2 -0
- package/dist/cjs/loadModules-38269f99.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/locale-73cab8e8.js +2 -0
- package/dist/cjs/locale-73cab8e8.js.map +1 -0
- package/dist/cjs/locale-746a095d.js +2 -0
- package/dist/cjs/locale-746a095d.js.map +1 -0
- package/dist/cjs/map-search.cjs.entry.js +2 -0
- package/dist/cjs/map-search.cjs.entry.js.map +1 -0
- package/dist/cjs/mapViewUtils-67cfc412.js +2 -0
- package/dist/cjs/mapViewUtils-67cfc412.js.map +1 -0
- package/dist/cjs/math-460fffaf.js +2 -0
- package/dist/cjs/math-460fffaf.js.map +1 -0
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +2 -0
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +1 -0
- package/dist/cjs/observers-5311faf8.js +2 -0
- package/dist/cjs/observers-5311faf8.js.map +1 -0
- package/dist/cjs/openCloseComponent-bf986132.js +2 -0
- package/dist/cjs/openCloseComponent-bf986132.js.map +1 -0
- package/dist/cjs/public-notification.cjs.entry.js +2 -0
- package/dist/cjs/public-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/publicNotificationStore-6a3d40b3.js +2 -0
- package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +1 -0
- package/dist/cjs/publicNotificationUtils-9d585d8d.js +2 -0
- package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +1 -0
- package/dist/cjs/resources-1f785471.js +2 -0
- package/dist/cjs/resources-1f785471.js.map +1 -0
- package/dist/cjs/resources-2260d186.js +2 -0
- package/dist/cjs/resources-2260d186.js.map +1 -0
- package/dist/cjs/resources-2a9862c7.js +2 -0
- package/dist/cjs/resources-2a9862c7.js.map +1 -0
- package/dist/cjs/resources-308edbd8.js +2 -0
- package/dist/cjs/resources-308edbd8.js.map +1 -0
- package/dist/cjs/resources-6152b073.js +2 -0
- package/dist/cjs/resources-6152b073.js.map +1 -0
- package/dist/cjs/resources-808cfca8.js +2 -0
- package/dist/cjs/resources-808cfca8.js.map +1 -0
- package/dist/cjs/resources-9c55e05c.js +2 -0
- package/dist/cjs/resources-9c55e05c.js.map +1 -0
- package/dist/cjs/resources-aa19bf8c.js +2 -0
- package/dist/cjs/resources-aa19bf8c.js.map +1 -0
- package/dist/cjs/resources-b56bce71.js +2 -0
- package/dist/cjs/resources-b56bce71.js.map +1 -0
- package/dist/cjs/resources-cc7f63b0.js +2 -0
- package/dist/cjs/resources-cc7f63b0.js.map +1 -0
- package/dist/cjs/shared-list-render-4c7d84bf.js +2 -0
- package/dist/cjs/shared-list-render-4c7d84bf.js.map +1 -0
- package/dist/cjs/solution-config-modal.cjs.entry.js +131 -0
- package/dist/cjs/solution-config-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-contents_3.cjs.entry.js → solution-contents_7.cjs.entry.js} +665 -2
- package/dist/cjs/solution-contents_7.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-store-e2fc11ac.js → solution-store-09b3fc53.js} +5 -3
- package/dist/cjs/solution-store-09b3fc53.js.map +1 -0
- package/dist/cjs/solutions-components.cjs.js +3 -1
- package/dist/cjs/solutions-components.cjs.js.map +1 -0
- package/dist/cjs/sortable.esm-bf47019d.js +2 -0
- package/dist/cjs/sortable.esm-bf47019d.js.map +1 -0
- package/dist/cjs/store-manager.cjs.entry.js +2 -0
- package/dist/cjs/store-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/time-3f5577cb.js +2 -0
- package/dist/cjs/time-3f5577cb.js.map +1 -0
- package/dist/cjs/utils-120bbbeb.js +2 -0
- package/dist/cjs/utils-120bbbeb.js.map +1 -0
- package/dist/cjs/utils-b4236001.js +2 -0
- package/dist/cjs/utils-b4236001.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js.map +1 -0
- package/dist/collection/components/check-list/check-list.js +1 -0
- package/dist/collection/components/check-list/check-list.js.map +1 -0
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +1 -0
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +1 -0
- package/dist/collection/components/config-draw-tools/config-draw-tools.js +1 -0
- package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +1 -0
- package/dist/collection/components/config-layer-picker/config-layer-picker.js +1 -0
- package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +1 -0
- package/dist/collection/components/config-pdf-download/config-pdf-download.js +1 -0
- package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +1 -0
- package/dist/collection/components/json-editor/json-editor.js +1 -0
- package/dist/collection/components/json-editor/json-editor.js.map +1 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +1 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +1 -0
- package/dist/collection/components/map-search/map-search.js +1 -0
- package/dist/collection/components/map-search/map-search.js.map +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js.map +1 -0
- package/dist/collection/components/pdf-download/pdf-download.js +1 -0
- package/dist/collection/components/pdf-download/pdf-download.js.map +1 -0
- package/dist/collection/components/public-notification/public-notification.js +1 -0
- package/dist/collection/components/public-notification/public-notification.js.map +1 -0
- package/dist/collection/components/refine-selection/refine-selection.js +1 -0
- package/dist/collection/components/refine-selection/refine-selection.js.map +1 -0
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +1 -0
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +1 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.css +91 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.js +245 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +24 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -0
- package/dist/collection/components/solution-contents/solution-contents.js +1 -0
- package/dist/collection/components/solution-contents/solution-contents.js.map +1 -0
- package/dist/collection/components/solution-item/solution-item.js +1 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -0
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -0
- package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +1 -0
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -0
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +1 -0
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -0
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +1 -0
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -0
- package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +1 -0
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -0
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +1 -0
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +1 -0
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +1 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js.map +1 -0
- package/dist/collection/components/solution-variables/solution-variables.js +1 -0
- package/dist/collection/components/solution-variables/solution-variables.js.map +1 -0
- package/dist/collection/components/store-manager/store-manager.js +1 -0
- package/dist/collection/components/store-manager/store-manager.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/common.js +1 -0
- package/dist/collection/utils/common.js.map +1 -0
- package/dist/collection/utils/csvUtils.js +1 -0
- package/dist/collection/utils/csvUtils.js.map +1 -0
- package/dist/collection/utils/interfaces.js +1 -0
- package/dist/collection/utils/interfaces.js.map +1 -0
- package/dist/collection/utils/languageUtil.js +1 -0
- package/dist/collection/utils/languageUtil.js.map +1 -0
- package/dist/collection/utils/loadModules.js +1 -0
- package/dist/collection/utils/loadModules.js.map +1 -0
- package/dist/collection/utils/locale.js +1 -0
- package/dist/collection/utils/locale.js.map +1 -0
- package/dist/collection/utils/mapViewUtils.js +1 -0
- package/dist/collection/utils/mapViewUtils.js.map +1 -0
- package/dist/collection/utils/publicNotificationStore.js +1 -0
- package/dist/collection/utils/publicNotificationStore.js.map +1 -0
- package/dist/collection/utils/publicNotificationUtils.js +1 -0
- package/dist/collection/utils/publicNotificationUtils.js.map +1 -0
- package/dist/collection/utils/queryUtils.js +1 -0
- package/dist/collection/utils/queryUtils.js.map +1 -0
- package/dist/collection/utils/solution-store.js +4 -3
- package/dist/collection/utils/solution-store.js.map +1 -0
- package/dist/collection/utils/solution-store.ts +3 -3
- package/dist/collection/utils/templates.js +1 -0
- package/dist/collection/utils/templates.js.map +1 -0
- package/dist/collection/utils/test/testUtils.js +1 -0
- package/dist/collection/utils/test/testUtils.js.map +1 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/esm/ExpandToggle-b7d1fb3c.js +2 -0
- package/dist/esm/ExpandToggle-b7d1fb3c.js.map +1 -0
- package/dist/esm/Heading-1efb4837.js +2 -0
- package/dist/esm/Heading-1efb4837.js.map +1 -0
- package/dist/esm/_commonjsHelpers-8fd39c50.js +2 -0
- package/dist/esm/_commonjsHelpers-8fd39c50.js.map +1 -0
- package/dist/esm/app-globals-09b9efee.js +2 -0
- package/dist/esm/app-globals-09b9efee.js.map +1 -0
- package/dist/esm/array-2ab3b18f.js +2 -0
- package/dist/esm/array-2ab3b18f.js.map +1 -0
- package/dist/esm/buffer-tools_6.entry.js +4 -2
- package/dist/esm/buffer-tools_6.entry.js.map +1 -0
- package/dist/esm/calcite-accordion-item.entry.js +2 -0
- package/dist/esm/calcite-accordion-item.entry.js.map +1 -0
- package/dist/esm/calcite-accordion.entry.js +2 -0
- package/dist/esm/calcite-accordion.entry.js.map +1 -0
- package/dist/esm/calcite-action-bar_6.entry.js +4 -2
- package/dist/esm/calcite-action-bar_6.entry.js.map +1 -0
- package/dist/esm/calcite-action-group.entry.js +2 -0
- package/dist/esm/calcite-action-group.entry.js.map +1 -0
- package/dist/esm/calcite-action-menu_2.entry.js +22 -403
- package/dist/esm/calcite-action-menu_2.entry.js.map +1 -0
- package/dist/esm/calcite-action-pad.entry.js +2 -0
- package/dist/esm/calcite-action-pad.entry.js.map +1 -0
- package/dist/esm/calcite-action_2.entry.js +426 -72
- package/dist/esm/calcite-action_2.entry.js.map +1 -0
- package/dist/esm/calcite-alert.entry.js +2 -0
- package/dist/esm/calcite-alert.entry.js.map +1 -0
- package/dist/esm/calcite-avatar.entry.js +2 -0
- package/dist/esm/calcite-avatar.entry.js.map +1 -0
- package/dist/esm/calcite-block-section.entry.js +2 -0
- package/dist/esm/calcite-block-section.entry.js.map +1 -0
- package/dist/esm/calcite-block.entry.js +2 -0
- package/dist/esm/calcite-block.entry.js.map +1 -0
- package/dist/esm/calcite-button.entry.js +2 -0
- package/dist/esm/calcite-button.entry.js.map +1 -0
- package/dist/esm/calcite-card.entry.js +2 -0
- package/dist/esm/calcite-card.entry.js.map +1 -0
- package/dist/esm/calcite-checkbox.entry.js +2 -0
- package/dist/esm/calcite-checkbox.entry.js.map +1 -0
- package/dist/esm/calcite-chip.entry.js +2 -0
- package/dist/esm/calcite-chip.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker-hex-input.entry.js +2 -0
- package/dist/esm/calcite-color-picker-hex-input.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker-swatch.entry.js +2 -0
- package/dist/esm/calcite-color-picker-swatch.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker.entry.js +2 -0
- package/dist/esm/calcite-color-picker.entry.js.map +1 -0
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -0
- package/dist/esm/calcite-combobox-item-group.entry.js.map +1 -0
- package/dist/esm/calcite-combobox_3.entry.js +4 -2
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +2 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js.map +1 -0
- package/dist/esm/calcite-date-picker.entry.js +2 -0
- package/dist/esm/calcite-date-picker.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown-group.entry.js +2 -0
- package/dist/esm/calcite-dropdown-group.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown-item.entry.js +2 -0
- package/dist/esm/calcite-dropdown-item.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown.entry.js +2 -0
- package/dist/esm/calcite-dropdown.entry.js.map +1 -0
- package/dist/esm/calcite-fab.entry.js +2 -0
- package/dist/esm/calcite-fab.entry.js.map +1 -0
- package/dist/esm/calcite-filter.entry.js +2 -0
- package/dist/esm/calcite-filter.entry.js.map +1 -0
- package/dist/esm/calcite-flow-item.entry.js +2 -0
- package/dist/esm/calcite-flow-item.entry.js.map +1 -0
- package/dist/esm/calcite-flow.entry.js +2 -0
- package/dist/esm/calcite-flow.entry.js.map +1 -0
- package/dist/esm/calcite-graph.entry.js +2 -0
- package/dist/esm/calcite-graph.entry.js.map +1 -0
- package/dist/esm/calcite-handle.entry.js +2 -0
- package/dist/esm/calcite-handle.entry.js.map +1 -0
- package/dist/esm/calcite-icon.entry.js +2 -0
- package/dist/esm/calcite-icon.entry.js.map +1 -0
- package/dist/esm/calcite-inline-editable.entry.js +2 -0
- package/dist/esm/calcite-inline-editable.entry.js.map +1 -0
- package/dist/esm/calcite-input-date-picker.entry.js +2 -0
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -0
- package/dist/esm/calcite-input-number.entry.js +2 -0
- package/dist/esm/calcite-input-number.entry.js.map +1 -0
- package/dist/esm/calcite-input-text.entry.js +2 -0
- package/dist/esm/calcite-input-text.entry.js.map +1 -0
- package/dist/esm/calcite-input-time-picker.entry.js +2 -0
- package/dist/esm/calcite-input-time-picker.entry.js.map +1 -0
- package/dist/esm/calcite-input_2.entry.js +2 -0
- package/dist/esm/calcite-input_2.entry.js.map +1 -0
- package/dist/esm/calcite-label.entry.js +2 -0
- package/dist/esm/calcite-label.entry.js.map +1 -0
- package/dist/esm/calcite-link.entry.js +2 -0
- package/dist/esm/calcite-link.entry.js.map +1 -0
- package/dist/esm/calcite-list-item-group.entry.js +2 -0
- package/dist/esm/calcite-list-item-group.entry.js.map +1 -0
- package/dist/esm/calcite-list_2.entry.js +2 -0
- package/dist/esm/calcite-list_2.entry.js.map +1 -0
- package/dist/esm/calcite-loader.entry.js +93 -0
- package/dist/esm/calcite-loader.entry.js.map +1 -0
- package/dist/esm/{solution-configuration.entry.js → calcite-modal_2.entry.js} +454 -9
- package/dist/esm/calcite-modal_2.entry.js.map +1 -0
- package/dist/esm/calcite-option-group.entry.js +2 -0
- package/dist/esm/calcite-option-group.entry.js.map +1 -0
- package/dist/esm/calcite-option_2.entry.js +2 -0
- package/dist/esm/calcite-option_2.entry.js.map +1 -0
- package/dist/esm/calcite-pagination.entry.js +2 -0
- package/dist/esm/calcite-pagination.entry.js.map +1 -0
- package/dist/esm/{calcite-shell-panel_14.entry.js → calcite-panel_12.entry.js} +468 -708
- package/dist/esm/calcite-panel_12.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list-group.entry.js +2 -0
- package/dist/esm/calcite-pick-list-group.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list-item.entry.js +2 -0
- package/dist/esm/calcite-pick-list-item.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list.entry.js +2 -0
- package/dist/esm/calcite-pick-list.entry.js.map +1 -0
- package/dist/esm/calcite-popover-manager.entry.js +2 -0
- package/dist/esm/calcite-popover-manager.entry.js.map +1 -0
- package/dist/esm/calcite-radio-button-group.entry.js +2 -0
- package/dist/esm/calcite-radio-button-group.entry.js.map +1 -0
- package/dist/esm/calcite-radio-button.entry.js +2 -0
- package/dist/esm/calcite-radio-button.entry.js.map +1 -0
- package/dist/esm/calcite-rating.entry.js +2 -0
- package/dist/esm/calcite-rating.entry.js.map +1 -0
- package/dist/esm/calcite-shell-center-row.entry.js +2 -0
- package/dist/esm/calcite-shell-center-row.entry.js.map +1 -0
- package/dist/esm/calcite-sortable-list.entry.js +2 -0
- package/dist/esm/calcite-sortable-list.entry.js.map +1 -0
- package/dist/esm/calcite-split-button.entry.js +2 -0
- package/dist/esm/calcite-split-button.entry.js.map +1 -0
- package/dist/esm/calcite-stepper-item.entry.js +2 -0
- package/dist/esm/calcite-stepper-item.entry.js.map +1 -0
- package/dist/esm/calcite-stepper.entry.js +2 -0
- package/dist/esm/calcite-stepper.entry.js.map +1 -0
- package/dist/esm/calcite-switch.entry.js +2 -0
- package/dist/esm/calcite-switch.entry.js.map +1 -0
- package/dist/esm/calcite-tile-select-group.entry.js +2 -0
- package/dist/esm/calcite-tile-select-group.entry.js.map +1 -0
- package/dist/esm/calcite-tile-select.entry.js +2 -0
- package/dist/esm/calcite-tile-select.entry.js.map +1 -0
- package/dist/esm/calcite-tile.entry.js +2 -0
- package/dist/esm/calcite-tile.entry.js.map +1 -0
- package/dist/esm/calcite-time-picker.entry.js +2 -0
- package/dist/esm/calcite-time-picker.entry.js.map +1 -0
- package/dist/esm/calcite-tip-group.entry.js +2 -0
- package/dist/esm/calcite-tip-group.entry.js.map +1 -0
- package/dist/esm/calcite-tip-manager.entry.js +2 -0
- package/dist/esm/calcite-tip-manager.entry.js.map +1 -0
- package/dist/esm/calcite-tip.entry.js +2 -0
- package/dist/esm/calcite-tip.entry.js.map +1 -0
- package/dist/esm/calcite-tooltip-manager.entry.js +2 -0
- package/dist/esm/calcite-tooltip-manager.entry.js.map +1 -0
- package/dist/esm/calcite-tooltip.entry.js +2 -0
- package/dist/esm/calcite-tooltip.entry.js.map +1 -0
- package/dist/esm/calcite-tree_3.entry.js +2 -0
- package/dist/esm/calcite-tree_3.entry.js.map +1 -0
- package/dist/esm/check-list.entry.js +2 -0
- package/dist/esm/check-list.entry.js.map +1 -0
- package/dist/esm/conditionalSlot-bb4cab11.js +2 -0
- package/dist/esm/conditionalSlot-bb4cab11.js.map +1 -0
- package/dist/esm/config-buffer-tools.entry.js +2 -0
- package/dist/esm/config-buffer-tools.entry.js.map +1 -0
- package/dist/esm/config-draw-tools.entry.js +2 -0
- package/dist/esm/config-draw-tools.entry.js.map +1 -0
- package/dist/esm/config-layer-picker.entry.js +4 -2
- package/dist/esm/config-layer-picker.entry.js.map +1 -0
- package/dist/esm/config-pdf-download.entry.js +2 -0
- package/dist/esm/config-pdf-download.entry.js.map +1 -0
- package/dist/esm/date-45de0016.js +2 -0
- package/dist/esm/date-45de0016.js.map +1 -0
- package/dist/esm/debounce-4c884e5c.js +2 -0
- package/dist/esm/debounce-4c884e5c.js.map +1 -0
- package/dist/esm/dom-e593bf85.js +2 -0
- package/dist/esm/dom-e593bf85.js.map +1 -0
- package/dist/esm/filter-82935f2d.js +2 -0
- package/dist/esm/filter-82935f2d.js.map +1 -0
- package/dist/esm/floating-ui-69a55a27.js +2 -0
- package/dist/esm/floating-ui-69a55a27.js.map +1 -0
- package/dist/esm/form-dbfde8ce.js +2 -0
- package/dist/esm/form-dbfde8ce.js.map +1 -0
- package/dist/esm/guid-15fce7c0.js +2 -0
- package/dist/esm/guid-15fce7c0.js.map +1 -0
- package/dist/esm/index-15022d11.js +2 -0
- package/dist/esm/index-15022d11.js.map +1 -0
- package/dist/esm/index-9c882a6e.js +2 -0
- package/dist/esm/index-9c882a6e.js.map +1 -0
- package/dist/esm/index-d33ebc35.js +2 -0
- package/dist/esm/index-d33ebc35.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/interactive-822ffed6.js +2 -0
- package/dist/esm/interactive-822ffed6.js.map +1 -0
- package/dist/esm/interfaces-1bdfc3a8.js +72 -0
- package/dist/esm/interfaces-1bdfc3a8.js.map +1 -0
- package/dist/esm/interfaces-4ae145eb.js +2 -0
- package/dist/esm/interfaces-4ae145eb.js.map +1 -0
- package/dist/esm/key-acb660e7.js +2 -0
- package/dist/esm/key-acb660e7.js.map +1 -0
- package/dist/esm/label-d411de44.js +2 -0
- package/dist/esm/label-d411de44.js.map +1 -0
- package/dist/esm/labelFormats-b37958c3.js +2 -0
- package/dist/esm/labelFormats-b37958c3.js.map +1 -0
- package/dist/esm/loadModules-d3b50f95.js +2 -0
- package/dist/esm/loadModules-d3b50f95.js.map +1 -0
- package/dist/esm/loader.js +3 -1
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/locale-0b490b02.js +2 -0
- package/dist/esm/locale-0b490b02.js.map +1 -0
- package/dist/esm/locale-0e10d7e5.js +2 -0
- package/dist/esm/locale-0e10d7e5.js.map +1 -0
- package/dist/esm/map-search.entry.js +2 -0
- package/dist/esm/map-search.entry.js.map +1 -0
- package/dist/esm/mapViewUtils-809947c8.js +284 -0
- package/dist/esm/mapViewUtils-809947c8.js.map +1 -0
- package/dist/esm/math-552c5420.js +2 -0
- package/dist/esm/math-552c5420.js.map +1 -0
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js +2 -0
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +1 -0
- package/dist/esm/observers-31601001.js +2 -0
- package/dist/esm/observers-31601001.js.map +1 -0
- package/dist/esm/openCloseComponent-5caff873.js +2 -0
- package/dist/esm/openCloseComponent-5caff873.js.map +1 -0
- package/dist/esm/public-notification.entry.js +4 -2
- package/dist/esm/public-notification.entry.js.map +1 -0
- package/dist/esm/publicNotificationStore-060c59c8.js +2 -0
- package/dist/esm/publicNotificationStore-060c59c8.js.map +1 -0
- package/dist/esm/publicNotificationUtils-5cb5a607.js +2 -0
- package/dist/esm/publicNotificationUtils-5cb5a607.js.map +1 -0
- package/dist/esm/resources-2235e4ff.js +2 -0
- package/dist/esm/resources-2235e4ff.js.map +1 -0
- package/dist/esm/resources-3d641588.js +2 -0
- package/dist/esm/resources-3d641588.js.map +1 -0
- package/dist/esm/resources-436ae282.js +2 -0
- package/dist/esm/resources-436ae282.js.map +1 -0
- package/dist/esm/resources-4d02cb48.js +2 -0
- package/dist/esm/resources-4d02cb48.js.map +1 -0
- package/dist/esm/resources-78132e50.js +2 -0
- package/dist/esm/resources-78132e50.js.map +1 -0
- package/dist/esm/resources-7d4a587f.js +2 -0
- package/dist/esm/resources-7d4a587f.js.map +1 -0
- package/dist/esm/resources-971845d1.js +2 -0
- package/dist/esm/resources-971845d1.js.map +1 -0
- package/dist/esm/resources-9eb63965.js +2 -0
- package/dist/esm/resources-9eb63965.js.map +1 -0
- package/dist/esm/resources-d60362c3.js +2 -0
- package/dist/esm/resources-d60362c3.js.map +1 -0
- package/dist/esm/resources-e3a5cf27.js +2 -0
- package/dist/esm/resources-e3a5cf27.js.map +1 -0
- package/dist/esm/shared-list-render-4e9d47a3.js +2 -0
- package/dist/esm/shared-list-render-4e9d47a3.js.map +1 -0
- package/dist/esm/solution-config-modal.entry.js +127 -0
- package/dist/esm/solution-config-modal.entry.js.map +1 -0
- package/dist/esm/{solution-contents_3.entry.js → solution-contents_7.entry.js} +662 -3
- package/dist/esm/solution-contents_7.entry.js.map +1 -0
- package/dist/esm/{solution-store-b3c65467.js → solution-store-d8519c64.js} +6 -4
- package/dist/esm/solution-store-d8519c64.js.map +1 -0
- package/dist/esm/solutions-components.js +3 -1
- package/dist/esm/solutions-components.js.map +1 -0
- package/dist/esm/sortable.esm-3b2eaa5c.js +2 -0
- package/dist/esm/sortable.esm-3b2eaa5c.js.map +1 -0
- package/dist/esm/store-manager.entry.js +2 -0
- package/dist/esm/store-manager.entry.js.map +1 -0
- package/dist/esm/time-f014778c.js +2 -0
- package/dist/esm/time-f014778c.js.map +1 -0
- package/dist/esm/utils-3f4ee4c3.js +2 -0
- package/dist/esm/utils-3f4ee4c3.js.map +1 -0
- package/dist/esm/utils-583554bc.js +2 -0
- package/dist/esm/utils-583554bc.js.map +1 -0
- package/dist/solutions-components/index.esm.js +2 -0
- package/dist/solutions-components/index.esm.js.map +1 -0
- package/dist/solutions-components/p-06dab43c.entry.js +140 -0
- package/dist/solutions-components/p-06dab43c.entry.js.map +1 -0
- package/dist/solutions-components/p-0bbe4865.entry.js +620 -0
- package/dist/solutions-components/p-0bbe4865.entry.js.map +1 -0
- package/dist/solutions-components/p-0fddf8a4.entry.js +349 -0
- package/dist/solutions-components/p-0fddf8a4.entry.js.map +1 -0
- package/dist/solutions-components/p-11068040.entry.js +1121 -0
- package/dist/solutions-components/p-11068040.entry.js.map +1 -0
- package/dist/solutions-components/p-11bc6805.entry.js +87 -0
- package/dist/solutions-components/p-11bc6805.entry.js.map +1 -0
- package/dist/solutions-components/p-13b37f05.js +308 -3
- package/dist/solutions-components/p-13b37f05.js.map +1 -0
- package/dist/solutions-components/p-1dfb5fae.entry.js +713 -0
- package/dist/solutions-components/p-1dfb5fae.entry.js.map +1 -0
- package/dist/solutions-components/p-1e15b1a3.js +183 -2
- package/dist/solutions-components/p-1e15b1a3.js.map +1 -0
- package/dist/solutions-components/p-1e5bc9c3.entry.js +96 -0
- package/dist/solutions-components/p-1e5bc9c3.entry.js.map +1 -0
- package/dist/solutions-components/p-1ed05745.entry.js +214 -0
- package/dist/solutions-components/p-1ed05745.entry.js.map +1 -0
- package/dist/solutions-components/p-20bdf42f.js +407 -14
- package/dist/solutions-components/p-20bdf42f.js.map +1 -0
- package/dist/solutions-components/p-22574d83.entry.js +74 -0
- package/dist/solutions-components/p-22574d83.entry.js.map +1 -0
- package/dist/solutions-components/p-23904a3d.js +401 -3
- package/dist/solutions-components/p-23904a3d.js.map +1 -0
- package/dist/solutions-components/p-26484399.entry.js +108 -0
- package/dist/solutions-components/p-26484399.entry.js.map +1 -0
- package/dist/solutions-components/p-2910dd9e.js +4094 -0
- package/dist/solutions-components/p-2910dd9e.js.map +1 -0
- package/dist/solutions-components/p-29bdbd3e.entry.js +280 -0
- package/dist/solutions-components/p-29bdbd3e.entry.js.map +1 -0
- package/dist/solutions-components/p-2ac06389.js +25 -16
- package/dist/solutions-components/p-2ac06389.js.map +1 -0
- package/dist/solutions-components/p-2bce7fa2.entry.js +45 -0
- package/dist/solutions-components/p-2bce7fa2.entry.js.map +1 -0
- package/dist/solutions-components/p-2e9ed892.js +48 -1
- package/dist/solutions-components/p-2e9ed892.js.map +1 -0
- package/dist/solutions-components/p-2f12ff1b.entry.js +202 -0
- package/dist/solutions-components/p-2f12ff1b.entry.js.map +1 -0
- package/dist/solutions-components/p-30810b45.entry.js +1250 -0
- package/dist/solutions-components/p-30810b45.entry.js.map +1 -0
- package/dist/solutions-components/p-32a67cb2.js +207 -2
- package/dist/solutions-components/p-32a67cb2.js.map +1 -0
- package/dist/solutions-components/p-341ff921.entry.js +449 -0
- package/dist/solutions-components/p-341ff921.entry.js.map +1 -0
- package/dist/solutions-components/p-36ce64e4.entry.js +215 -0
- package/dist/solutions-components/p-36ce64e4.entry.js.map +1 -0
- package/dist/solutions-components/p-374a5031.js +107 -2
- package/dist/solutions-components/p-374a5031.js.map +1 -0
- package/dist/solutions-components/p-38ddadf2.entry.js +342 -0
- package/dist/solutions-components/p-38ddadf2.entry.js.map +1 -0
- package/dist/solutions-components/p-3b010ce1.js +19 -1
- package/dist/solutions-components/p-3b010ce1.js.map +1 -0
- package/dist/solutions-components/p-3f6b0af4.js +221 -2
- package/dist/solutions-components/p-3f6b0af4.js.map +1 -0
- package/dist/solutions-components/p-400e1427.entry.js +236 -0
- package/dist/solutions-components/p-400e1427.entry.js.map +1 -0
- package/dist/solutions-components/p-40d7cf01.entry.js +228 -0
- package/dist/solutions-components/p-40d7cf01.entry.js.map +1 -0
- package/dist/solutions-components/p-45556aff.entry.js +215 -0
- package/dist/solutions-components/p-45556aff.entry.js.map +1 -0
- package/dist/solutions-components/p-49aaa793.entry.js +95 -0
- package/dist/solutions-components/p-49aaa793.entry.js.map +1 -0
- package/dist/solutions-components/p-4e32bf8c.js +484 -1
- package/dist/solutions-components/p-4e32bf8c.js.map +1 -0
- package/dist/solutions-components/p-4e89b243.entry.js +479 -0
- package/dist/solutions-components/p-4e89b243.entry.js.map +1 -0
- package/dist/solutions-components/p-515637fb.entry.js +183 -0
- package/dist/solutions-components/p-515637fb.entry.js.map +1 -0
- package/dist/solutions-components/p-5243a654.entry.js +147 -0
- package/dist/solutions-components/p-5243a654.entry.js.map +1 -0
- package/dist/solutions-components/p-55673790.entry.js +82 -0
- package/dist/solutions-components/p-55673790.entry.js.map +1 -0
- package/dist/solutions-components/p-56350bff.js +173 -2
- package/dist/solutions-components/p-56350bff.js.map +1 -0
- package/dist/solutions-components/p-58b374c0.entry.js +347 -0
- package/dist/solutions-components/p-58b374c0.entry.js.map +1 -0
- package/dist/solutions-components/p-58c69df2.js +2024 -2
- package/dist/solutions-components/p-58c69df2.js.map +1 -0
- package/dist/solutions-components/p-59fd6684.entry.js +22 -0
- package/dist/solutions-components/p-59fd6684.entry.js.map +1 -0
- package/dist/solutions-components/p-5b0d7c7d.js +35 -16
- package/dist/solutions-components/p-5b0d7c7d.js.map +1 -0
- package/dist/solutions-components/p-5b20090f.entry.js +22189 -0
- package/dist/solutions-components/p-5b20090f.entry.js.map +1 -0
- package/dist/solutions-components/p-5cf33602.js +43 -2
- package/dist/solutions-components/p-5cf33602.js.map +1 -0
- package/dist/solutions-components/p-600e23c6.js +1770 -2
- package/dist/solutions-components/p-600e23c6.js.map +1 -0
- package/dist/solutions-components/p-61398a7b.entry.js +74 -0
- package/dist/solutions-components/p-61398a7b.entry.js.map +1 -0
- package/dist/solutions-components/p-63a05701.entry.js +45 -0
- package/dist/solutions-components/p-63a05701.entry.js.map +1 -0
- package/dist/solutions-components/p-63f6e8f1.js +16 -1
- package/dist/solutions-components/p-63f6e8f1.js.map +1 -0
- package/dist/solutions-components/p-64a2040e.entry.js +63 -0
- package/dist/solutions-components/p-64a2040e.entry.js.map +1 -0
- package/dist/solutions-components/p-64c63eb2.entry.js +157 -0
- package/dist/solutions-components/p-64c63eb2.entry.js.map +1 -0
- package/dist/solutions-components/p-6940e2fd.entry.js +100 -0
- package/dist/solutions-components/p-6940e2fd.entry.js.map +1 -0
- package/dist/solutions-components/p-69900b68.entry.js +152 -0
- package/dist/solutions-components/p-69900b68.entry.js.map +1 -0
- package/dist/solutions-components/p-699125b6.entry.js +44 -0
- package/dist/solutions-components/p-699125b6.entry.js.map +1 -0
- package/dist/solutions-components/p-6d0899c8.entry.js +118 -0
- package/dist/solutions-components/p-6d0899c8.entry.js.map +1 -0
- package/dist/solutions-components/p-6e0da576.js +15 -1
- package/dist/solutions-components/p-6e0da576.js.map +1 -0
- package/dist/solutions-components/p-6fe17794.js +11 -1
- package/dist/solutions-components/p-6fe17794.js.map +1 -0
- package/dist/solutions-components/p-708a63a8.js +14 -1
- package/dist/solutions-components/p-708a63a8.js.map +1 -0
- package/dist/solutions-components/p-729708a3.js +16 -1
- package/dist/solutions-components/p-729708a3.js.map +1 -0
- package/dist/solutions-components/p-73e23995.js +8 -1
- package/dist/solutions-components/p-73e23995.js.map +1 -0
- package/dist/solutions-components/p-75f54a34.entry.js +883 -0
- package/dist/solutions-components/p-75f54a34.entry.js.map +1 -0
- package/dist/solutions-components/p-77182c3a.js +3017 -1
- package/dist/solutions-components/p-77182c3a.js.map +1 -0
- package/dist/solutions-components/p-794ba85d.entry.js +175 -0
- package/dist/solutions-components/p-794ba85d.entry.js.map +1 -0
- package/dist/solutions-components/p-79cde78e.entry.js +203 -0
- package/dist/solutions-components/p-79cde78e.entry.js.map +1 -0
- package/dist/solutions-components/p-7a2c75a4.entry.js +230 -0
- package/dist/solutions-components/p-7a2c75a4.entry.js.map +1 -0
- package/dist/solutions-components/p-7daea1df.js +43 -1
- package/dist/solutions-components/p-7daea1df.js.map +1 -0
- package/dist/solutions-components/p-7de77097.entry.js +162 -0
- package/dist/solutions-components/p-7de77097.entry.js.map +1 -0
- package/dist/solutions-components/p-7f2b74a9.entry.js +56 -0
- package/dist/solutions-components/p-7f2b74a9.entry.js.map +1 -0
- package/dist/solutions-components/p-81e606c0.entry.js +915 -0
- package/dist/solutions-components/p-81e606c0.entry.js.map +1 -0
- package/dist/solutions-components/p-86908777.js +62 -3
- package/dist/solutions-components/p-86908777.js.map +1 -0
- package/dist/solutions-components/p-87a0ccb4.entry.js +254 -0
- package/dist/solutions-components/p-87a0ccb4.entry.js.map +1 -0
- package/dist/solutions-components/p-93d3119d.js +1950 -1
- package/dist/solutions-components/p-93d3119d.js.map +1 -0
- package/dist/solutions-components/p-958e2979.entry.js +111 -0
- package/dist/solutions-components/p-958e2979.entry.js.map +1 -0
- package/dist/solutions-components/p-95ddb529.entry.js +181 -0
- package/dist/solutions-components/p-95ddb529.entry.js.map +1 -0
- package/dist/solutions-components/p-991ee695.js +111 -1
- package/dist/solutions-components/p-991ee695.js.map +1 -0
- package/dist/solutions-components/p-99d9b624.entry.js +177 -0
- package/dist/solutions-components/p-99d9b624.entry.js.map +1 -0
- package/dist/solutions-components/p-9a9955db.js +43 -1
- package/dist/solutions-components/p-9a9955db.js.map +1 -0
- package/dist/solutions-components/p-9d925d5b.entry.js +233 -0
- package/dist/solutions-components/p-9d925d5b.entry.js.map +1 -0
- package/dist/solutions-components/p-9dc0210f.entry.js +125 -0
- package/dist/solutions-components/p-9dc0210f.entry.js.map +1 -0
- package/dist/solutions-components/p-9ef1328a.entry.js +542 -0
- package/dist/solutions-components/p-9ef1328a.entry.js.map +1 -0
- package/dist/solutions-components/p-9fec2884.entry.js +216 -0
- package/dist/solutions-components/p-9fec2884.entry.js.map +1 -0
- package/dist/solutions-components/p-a1786d11.entry.js +2380 -0
- package/dist/solutions-components/p-a1786d11.entry.js.map +1 -0
- package/dist/solutions-components/p-a2ada355.entry.js +135 -0
- package/dist/solutions-components/p-a2ada355.entry.js.map +1 -0
- package/dist/solutions-components/p-a57adb27.entry.js +154 -0
- package/dist/solutions-components/p-a57adb27.entry.js.map +1 -0
- package/dist/solutions-components/p-a80b3880.js +16 -1
- package/dist/solutions-components/p-a80b3880.js.map +1 -0
- package/dist/solutions-components/p-a88dd457.entry.js +123 -0
- package/dist/solutions-components/p-a88dd457.entry.js.map +1 -0
- package/dist/solutions-components/p-ac6efd19.entry.js +57 -0
- package/dist/solutions-components/p-ac6efd19.entry.js.map +1 -0
- package/dist/solutions-components/p-ae1fd76b.js +13 -1
- package/dist/solutions-components/p-ae1fd76b.js.map +1 -0
- package/dist/solutions-components/p-afffa81a.entry.js +140 -0
- package/dist/solutions-components/p-afffa81a.entry.js.map +1 -0
- package/dist/solutions-components/p-b0f3ed4d.entry.js +376 -0
- package/dist/solutions-components/p-b0f3ed4d.entry.js.map +1 -0
- package/dist/solutions-components/p-b359dc78.js +43 -1
- package/dist/solutions-components/p-b359dc78.js.map +1 -0
- package/dist/solutions-components/p-b66cba3e.entry.js +97 -0
- package/dist/solutions-components/p-b66cba3e.entry.js.map +1 -0
- package/dist/solutions-components/p-b6c2f470.entry.js +574 -0
- package/dist/solutions-components/p-b6c2f470.entry.js.map +1 -0
- package/dist/solutions-components/p-b978636e.js +16 -1
- package/dist/solutions-components/p-b978636e.js.map +1 -0
- package/dist/solutions-components/p-bd19837e.entry.js +96 -0
- package/dist/solutions-components/p-bd19837e.entry.js.map +1 -0
- package/dist/solutions-components/p-be8cc144.entry.js +567 -0
- package/dist/solutions-components/p-be8cc144.entry.js.map +1 -0
- package/dist/solutions-components/p-bfd20deb.entry.js +80 -0
- package/dist/solutions-components/p-bfd20deb.entry.js.map +1 -0
- package/dist/{esm/mapViewUtils-09f1e7bd.js → solutions-components/p-c20bd963.js} +3 -1
- package/dist/solutions-components/p-c20bd963.js.map +1 -0
- package/dist/solutions-components/p-c2c8442d.entry.js +140 -0
- package/dist/solutions-components/p-c2c8442d.entry.js.map +1 -0
- package/dist/solutions-components/p-c3f93cec.entry.js +158 -0
- package/dist/solutions-components/p-c3f93cec.entry.js.map +1 -0
- package/dist/solutions-components/p-c5721b0f.entry.js +127 -0
- package/dist/solutions-components/p-c5721b0f.entry.js.map +1 -0
- package/dist/solutions-components/p-c818e661.entry.js +107 -0
- package/dist/solutions-components/p-c818e661.entry.js.map +1 -0
- package/dist/solutions-components/p-c9870dc4.entry.js +38 -0
- package/dist/solutions-components/p-c9870dc4.entry.js.map +1 -0
- package/dist/solutions-components/p-cbd9fecf.js +500 -2
- package/dist/solutions-components/p-cbd9fecf.js.map +1 -0
- package/dist/solutions-components/p-cf59eb16.entry.js +2423 -0
- package/dist/solutions-components/p-cf59eb16.entry.js.map +1 -0
- package/dist/solutions-components/p-cfb300c6.entry.js +250 -0
- package/dist/solutions-components/p-cfb300c6.entry.js.map +1 -0
- package/dist/solutions-components/p-d48a24e6.js +756 -2
- package/dist/solutions-components/p-d48a24e6.js.map +1 -0
- package/dist/solutions-components/p-dbad98e8.js +124 -2
- package/dist/solutions-components/p-dbad98e8.js.map +1 -0
- package/dist/solutions-components/p-dd79118e.entry.js +708 -0
- package/dist/solutions-components/p-dd79118e.entry.js.map +1 -0
- package/dist/solutions-components/p-de5416e8.js +30 -1
- package/dist/solutions-components/p-de5416e8.js.map +1 -0
- package/dist/solutions-components/p-de881187.entry.js +87 -0
- package/dist/solutions-components/p-de881187.entry.js.map +1 -0
- package/dist/solutions-components/p-e1905f7b.entry.js +120 -0
- package/dist/solutions-components/p-e1905f7b.entry.js.map +1 -0
- package/dist/solutions-components/p-e405ebe8.entry.js +93 -0
- package/dist/solutions-components/p-e405ebe8.entry.js.map +1 -0
- package/dist/solutions-components/p-e515767a.entry.js +116 -0
- package/dist/solutions-components/p-e515767a.entry.js.map +1 -0
- package/dist/solutions-components/p-e611d8c8.js +30 -1
- package/dist/solutions-components/p-e611d8c8.js.map +1 -0
- package/dist/solutions-components/p-e6a695a5.js +103 -2
- package/dist/solutions-components/p-e6a695a5.js.map +1 -0
- package/dist/solutions-components/p-e6fb9cde.entry.js +1872 -0
- package/dist/solutions-components/p-e6fb9cde.entry.js.map +1 -0
- package/dist/solutions-components/p-e947d3b0.js +7 -1
- package/dist/solutions-components/p-e947d3b0.js.map +1 -0
- package/dist/solutions-components/p-e99b1247.js +207 -1
- package/dist/solutions-components/p-e99b1247.js.map +1 -0
- package/dist/solutions-components/p-eb5b78c3.entry.js +125 -0
- package/dist/solutions-components/p-eb5b78c3.entry.js.map +1 -0
- package/dist/solutions-components/p-eb976965.js +35 -3
- package/dist/solutions-components/p-eb976965.js.map +1 -0
- package/dist/solutions-components/p-ed075c2f.entry.js +186 -0
- package/dist/solutions-components/p-ed075c2f.entry.js.map +1 -0
- package/dist/solutions-components/p-eeb0321d.js +15 -2
- package/dist/solutions-components/p-eeb0321d.js.map +1 -0
- package/dist/solutions-components/p-ef6f9e24.entry.js +609 -0
- package/dist/solutions-components/p-ef6f9e24.entry.js.map +1 -0
- package/dist/solutions-components/p-f0294899.entry.js +84 -0
- package/dist/solutions-components/p-f0294899.entry.js.map +1 -0
- package/dist/{esm/interfaces-e2a2064d.js → solutions-components/p-f04fdb9a.js} +3 -1
- package/dist/solutions-components/p-f04fdb9a.js.map +1 -0
- package/dist/solutions-components/p-f477f146.entry.js +310 -0
- package/dist/solutions-components/p-f477f146.entry.js.map +1 -0
- package/dist/solutions-components/p-f48821a2.js +60 -7
- package/dist/solutions-components/p-f48821a2.js.map +1 -0
- package/dist/solutions-components/p-f496ed0c.entry.js +150 -0
- package/dist/solutions-components/p-f496ed0c.entry.js.map +1 -0
- package/dist/solutions-components/p-f759a6e7.js +196 -1
- package/dist/solutions-components/p-f759a6e7.js.map +1 -0
- package/dist/solutions-components/p-fc884dd6.js +30 -16
- package/dist/solutions-components/p-fc884dd6.js.map +1 -0
- package/dist/solutions-components/solutions-components.css +10531 -1
- package/dist/solutions-components/solutions-components.esm.js +22 -1
- package/dist/solutions-components/solutions-components.esm.js.map +1 -0
- package/dist/solutions-components/utils/solution-store.ts +3 -3
- package/dist/solutions-components_commit.txt +8 -6
- package/dist/types/components/solution-config-modal/solution-config-modal.d.ts +69 -0
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +4 -2
- package/dist/types/components.d.ts +43 -5
- package/dist/types/preact.d.ts +4 -0
- package/package.json +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -447
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -437
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -62
- package/dist/esm/calcite-modal.entry.js +0 -443
- package/dist/esm/calcite-panel_2.entry.js +0 -432
- package/dist/esm/calcite-scrim.entry.js +0 -58
- package/dist/solutions-components/p-006c6ae1.entry.js +0 -11
- package/dist/solutions-components/p-04a37fc0.entry.js +0 -6
- package/dist/solutions-components/p-062dbde8.entry.js +0 -6
- package/dist/solutions-components/p-0b941521.entry.js +0 -11
- package/dist/solutions-components/p-0c80eb51.entry.js +0 -11
- package/dist/solutions-components/p-10501e21.entry.js +0 -23
- package/dist/solutions-components/p-109e4684.entry.js +0 -6
- package/dist/solutions-components/p-12dfd43e.entry.js +0 -11
- package/dist/solutions-components/p-1c3bcd99.entry.js +0 -12
- package/dist/solutions-components/p-1c589630.entry.js +0 -6
- package/dist/solutions-components/p-1fb471cf.entry.js +0 -11
- package/dist/solutions-components/p-23275dbd.entry.js +0 -6
- package/dist/solutions-components/p-236d76e7.entry.js +0 -11
- package/dist/solutions-components/p-29246858.entry.js +0 -11
- package/dist/solutions-components/p-2af67c67.entry.js +0 -6
- package/dist/solutions-components/p-2bee764f.entry.js +0 -11
- package/dist/solutions-components/p-2f6b4f04.entry.js +0 -6
- package/dist/solutions-components/p-305ae3fe.entry.js +0 -11
- package/dist/solutions-components/p-343e325d.entry.js +0 -11
- package/dist/solutions-components/p-3485601e.entry.js +0 -6
- package/dist/solutions-components/p-395e9b6c.entry.js +0 -6
- package/dist/solutions-components/p-39c5f2d2.entry.js +0 -6
- package/dist/solutions-components/p-3c4f2257.entry.js +0 -11
- package/dist/solutions-components/p-3c8ec7a3.entry.js +0 -12
- package/dist/solutions-components/p-4130fbcd.entry.js +0 -11
- package/dist/solutions-components/p-421cbb15.entry.js +0 -6
- package/dist/solutions-components/p-43fa414d.entry.js +0 -11
- package/dist/solutions-components/p-4760f22a.entry.js +0 -6
- package/dist/solutions-components/p-4fb6d2cf.entry.js +0 -11
- package/dist/solutions-components/p-54384555.entry.js +0 -11
- package/dist/solutions-components/p-5493f036.entry.js +0 -6
- package/dist/solutions-components/p-551fd063.entry.js +0 -11
- package/dist/solutions-components/p-5a61ef0d.entry.js +0 -6
- package/dist/solutions-components/p-6a3ce8f6.entry.js +0 -6
- package/dist/solutions-components/p-6b9dc092.js +0 -21
- package/dist/solutions-components/p-6be581f5.entry.js +0 -6
- package/dist/solutions-components/p-6cf432f9.entry.js +0 -11
- package/dist/solutions-components/p-70368b2b.entry.js +0 -6
- package/dist/solutions-components/p-708ffad0.entry.js +0 -11
- package/dist/solutions-components/p-7321ba65.entry.js +0 -11
- package/dist/solutions-components/p-75b35018.entry.js +0 -11
- package/dist/solutions-components/p-764c0a90.entry.js +0 -11
- package/dist/solutions-components/p-77031b01.entry.js +0 -11
- package/dist/solutions-components/p-778a1b4a.entry.js +0 -11
- package/dist/solutions-components/p-7cdc6089.entry.js +0 -6
- package/dist/solutions-components/p-81467529.entry.js +0 -6
- package/dist/solutions-components/p-834380d6.entry.js +0 -11
- package/dist/solutions-components/p-89cc843b.entry.js +0 -11
- package/dist/solutions-components/p-8e3a2736.entry.js +0 -11
- package/dist/solutions-components/p-8e8b182f.entry.js +0 -12
- package/dist/solutions-components/p-8f052987.entry.js +0 -11
- package/dist/solutions-components/p-93790a9e.entry.js +0 -37
- package/dist/solutions-components/p-9bbee464.entry.js +0 -6
- package/dist/solutions-components/p-9bdd4abe.entry.js +0 -17
- package/dist/solutions-components/p-a4a7d49d.entry.js +0 -17
- package/dist/solutions-components/p-a7036d68.entry.js +0 -11
- package/dist/solutions-components/p-ac91cd40.entry.js +0 -11
- package/dist/solutions-components/p-acd0a09f.entry.js +0 -11
- package/dist/solutions-components/p-acd3b2bf.entry.js +0 -11
- package/dist/solutions-components/p-aea937fb.entry.js +0 -12
- package/dist/solutions-components/p-b1b36556.entry.js +0 -11
- package/dist/solutions-components/p-b25f6ebe.js +0 -257
- package/dist/solutions-components/p-b2ae8634.entry.js +0 -6
- package/dist/solutions-components/p-ba104266.entry.js +0 -11
- package/dist/solutions-components/p-bfcab358.entry.js +0 -11
- package/dist/solutions-components/p-c848d1bd.entry.js +0 -29
- package/dist/solutions-components/p-c9766584.entry.js +0 -6
- package/dist/solutions-components/p-d2cc1b94.entry.js +0 -12
- package/dist/solutions-components/p-d51a72d2.entry.js +0 -11
- package/dist/solutions-components/p-d88fe54b.entry.js +0 -18
- package/dist/solutions-components/p-daee23cc.entry.js +0 -11
- package/dist/solutions-components/p-db7d14d5.entry.js +0 -12
- package/dist/solutions-components/p-dc724c1d.entry.js +0 -11
- package/dist/solutions-components/p-dc7bc20f.entry.js +0 -11
- package/dist/solutions-components/p-de242ea9.entry.js +0 -6
- package/dist/solutions-components/p-e4ebb82a.entry.js +0 -11
- package/dist/solutions-components/p-e64c5c11.entry.js +0 -6
- package/dist/solutions-components/p-e9e47eab.entry.js +0 -6
- package/dist/solutions-components/p-eb3be6d4.entry.js +0 -6
- package/dist/solutions-components/p-ed27c151.entry.js +0 -6
- package/dist/solutions-components/p-ef170bb1.entry.js +0 -6
- package/dist/solutions-components/p-f044863f.entry.js +0 -16
- package/dist/solutions-components/p-f0bae2f0.entry.js +0 -37
- package/dist/solutions-components/p-f5a3b34f.entry.js +0 -23
- package/dist/solutions-components/p-fa2575c2.entry.js +0 -6
- package/dist/solutions-components/p-fe0fdd8b.js +0 -36
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"calcite-action-bar.calcite-input-message.calcite-notice.map-select-tools.pdf-download.refine-selection.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAMA,KAAG,GAAG;AACnB,EAAE,iBAAiB,EAAE,sBAAsB;AAC3C,CAAC,CAAC;AACK,MAAMC,OAAK,GAAG;AACrB,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,aAAa,EAAE,gBAAgB;AACjC,CAAC,CAAC;AACK,MAAMC,MAAI,GAAG;AACpB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,QAAQ,EAAE,UAAU;AACtB,CAAC;;ACfD,MAAM,YAAY,GAAG,u4EAAu4E;;MCkB/4E,SAAS;EACpB;;;;;;;;;;;IASE,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;;;;IAI5B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;;;;IAIzB,IAAI,CAAC,uBAAuB,GAAG,KAAK,CAAC;IACrC,IAAI,CAAC,gBAAgB,GAAG,cAAc,CAAC,UAAU,EAAE;MACjD,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;MAC9B,qBAAqB,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;MAChD,IAAI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;OACpB;QACC,MAAM,EAAE,SAAS;QACjB,QAAQ,EAAE,CAAC;QACX,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,EAAE;QACd,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE;QACd,KAAK,EAAE,QAAQ;QACf,SAAS,EAAE,IAAI,CAAC,cAAc;QAC9B,kBAAkB,EAAE,EAAE;QACtB,YAAY,EAAE,SAAS;QACvB,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,YAAY,EAAE,aAAa,CAAC,MAAM;QAClC,SAAS,EAAE;UACT,MAAM,EAAE,MAAM;UACd,SAAS,EAAE,SAAS;SACrB;OACF;KACF,CAAC;GACH;;;;;;EAOU,MAAM,gBAAgB;IAC/B,MAAM,YAAY,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC9D,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC,CAAC,CAA+B,CAAC;GACpE;;;;;;;","names":["CSS","SLOTS","TEXT","utils.getSelectionIds","utils.getTotal"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/action-bar/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css?tag=calcite-action-bar&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.js","./node_modules/@esri/calcite-components/dist/collection/components/input-message/interfaces.js","./node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css?tag=calcite-input-message&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.js","./node_modules/@esri/calcite-components/dist/collection/components/notice/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css?tag=calcite-notice&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/notice/notice.js","./src/components/map-select-tools/map-select-tools.css?tag=map-select-tools","./src/components/map-select-tools/map-select-tools.tsx","./src/utils/csvUtils.ts","./src/components/pdf-download/pdf-download.css?tag=pdf-download&encapsulation=shadow","./src/components/pdf-download/pdf-download.tsx","./src/components/refine-selection/refine-selection.css?tag=refine-selection","./src/components/refine-selection/refine-selection.tsx"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n actionGroupBottom: \"action-group--bottom\"\n};\nexport const SLOTS = {\n bottomActions: \"bottom-actions\",\n expandTooltip: \"expand-tooltip\"\n};\nexport const TEXT = {\n expand: \"Expand\",\n collapse: \"Collapse\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-action-bar-expanded-max-width: optionally specify the expanded max width of the action bar when in \"vertical\" layout.\n*/\n:host {\n pointer-events: auto;\n display: inline-flex;\n align-self: stretch;\n background: transparent;\n --calcite-action-bar-expanded-max-width: auto;\n}\n\n:host([layout=vertical]) {\n flex-direction: column;\n}\n\n:host([layout=horizontal]) {\n flex-direction: row;\n}\n\n:host([layout=vertical][overflow-actions-disabled]) {\n overflow-y: auto;\n}\n\n:host([layout=horizontal][overflow-actions-disabled]) {\n overflow-x: auto;\n}\n\n:host([layout=vertical][expanded]) {\n max-inline-size: var(--calcite-action-bar-expanded-max-width);\n}\n\n::slotted(calcite-action-group) {\n border-width: 0px;\n border-block-end-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n}\n\n:host([layout=horizontal]) ::slotted(calcite-action-group) {\n border-width: 0px;\n border-inline-end-width: 1px;\n border-style: solid;\n}\n\n::slotted(calcite-action-group:last-child) {\n border-block-end-width: 0px;\n border-inline-end-width: 0px;\n}\n\n.action-group--bottom {\n flex-grow: 1;\n justify-content: flex-end;\n padding-block-end: 0px;\n padding-inline-end: 0px;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { Host, h } from \"@stencil/core\";\nimport { ExpandToggle, toggleChildActionText } from \"../functional/ExpandToggle\";\nimport { CSS, SLOTS, TEXT } from \"./resources\";\nimport { getSlotted, focusElement } from \"../../utils/dom\";\nimport { geActionDimensions, getOverflowCount, overflowActions, queryActions, overflowActionsDebounceInMs } from \"./utils\";\nimport { createObserver } from \"../../utils/observers\";\nimport { debounce } from \"lodash-es\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding `calcite-action`s that will appear at the top of the action bar.\n * @slot bottom-actions - A slot for adding `calcite-action`s that will appear at the bottom of the action bar, above the collapse/expand button.\n * @slot expand-tooltip - Used to set the tooltip for the expand toggle.\n */\nexport class ActionBar {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, the expand-toggling behavior is disabled.\n */\n this.expandDisabled = false;\n /**\n * When `true`, the component is expanded.\n */\n this.expanded = false;\n /**\n * The layout direction of the actions.\n */\n this.layout = \"vertical\";\n /**\n * Disables automatically overflowing `calcite-action`s that won't fit into menus.\n */\n this.overflowActionsDisabled = false;\n this.mutationObserver = createObserver(\"mutation\", () => {\n const { el, expanded } = this;\n toggleChildActionText({ parent: el, expanded });\n this.conditionallyOverflowActions();\n });\n this.resizeObserver = createObserver(\"resize\", (entries) => this.resizeHandlerEntries(entries));\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.actionMenuOpenChangeHandler = (event) => {\n if (event.detail) {\n const composedPath = event.composedPath();\n Array.from(this.el.querySelectorAll(\"calcite-action-group\")).forEach((group) => {\n if (!composedPath.includes(group)) {\n group.menuOpen = false;\n }\n });\n }\n };\n this.resizeHandlerEntries = (entries) => {\n entries.forEach(this.resizeHandler);\n };\n this.resizeHandler = (entry) => {\n const { width, height } = entry.contentRect;\n this.resize({ width, height });\n };\n this.resize = debounce(({ width, height }) => {\n const { el, expanded, expandDisabled, layout } = this;\n if ((layout === \"vertical\" && !height) || (layout === \"horizontal\" && !width)) {\n return;\n }\n const actions = queryActions(el);\n const actionCount = expandDisabled ? actions.length : actions.length + 1;\n const actionGroups = Array.from(el.querySelectorAll(\"calcite-action-group\"));\n const groupCount = getSlotted(el, SLOTS.bottomActions) || !expandDisabled\n ? actionGroups.length + 1\n : actionGroups.length;\n const { actionHeight, actionWidth } = geActionDimensions(actions);\n const overflowCount = getOverflowCount({\n layout,\n actionCount,\n actionHeight,\n actionWidth,\n height,\n width,\n groupCount\n });\n overflowActions({\n actionGroups,\n expanded,\n overflowCount\n });\n }, overflowActionsDebounceInMs);\n this.conditionallyOverflowActions = () => {\n if (!this.overflowActionsDisabled) {\n this.overflowActions();\n }\n };\n this.toggleExpand = () => {\n this.expanded = !this.expanded;\n this.calciteActionBarToggle.emit();\n };\n this.setExpandToggleRef = (el) => {\n this.expandToggleEl = el;\n };\n }\n expandHandler() {\n this.conditionallyOverflowActions();\n }\n expandedHandler(expanded) {\n toggleChildActionText({ parent: this.el, expanded });\n this.conditionallyOverflowActions();\n }\n overflowDisabledHandler(overflowActionsDisabled) {\n overflowActionsDisabled\n ? this.resizeObserver.disconnect()\n : this.resizeObserver.observe(this.el);\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n componentDidLoad() {\n this.conditionallyOverflowActions();\n }\n connectedCallback() {\n var _a, _b;\n const { el, expanded } = this;\n toggleChildActionText({ parent: el, expanded });\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });\n if (!this.overflowActionsDisabled) {\n (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);\n }\n this.conditionallyOverflowActions();\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n var _a, _b;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /**\n * Overflows actions that won't fit into menus.\n *\n * @internal\n */\n async overflowActions() {\n this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });\n }\n /**\n * Sets focus on the component.\n *\n * @param focusId\n */\n async setFocus(focusId) {\n var _a;\n if (focusId === \"expand-toggle\") {\n await focusElement(this.expandToggleEl);\n return;\n }\n (_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderBottomActionGroup() {\n const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;\n const tooltip = getSlotted(el, SLOTS.expandTooltip);\n const expandLabel = intlExpand || TEXT.expand;\n const collapseLabel = intlCollapse || TEXT.collapse;\n const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;\n return getSlotted(el, SLOTS.bottomActions) || expandToggleNode ? (h(\"calcite-action-group\", { class: CSS.actionGroupBottom, layout: layout, scale: scale }, h(\"slot\", { name: SLOTS.bottomActions }), h(\"slot\", { name: SLOTS.expandTooltip }), expandToggleNode)) : null;\n }\n render() {\n return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h(\"slot\", null), this.renderBottomActionGroup()));\n }\n static get is() { return \"calcite-action-bar\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"action-bar.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"action-bar.css\"]\n };\n }\n static get properties() {\n return {\n \"expandDisabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the expand-toggling behavior is disabled.\"\n },\n \"attribute\": \"expand-disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"expanded\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is expanded.\"\n },\n \"attribute\": \"expanded\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlExpand\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the label of the expand icon when the component is collapsed.\"\n },\n \"attribute\": \"intl-expand\",\n \"reflect\": false\n },\n \"intlCollapse\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the label of the collapse icon when the component is expanded.\"\n },\n \"attribute\": \"intl-collapse\",\n \"reflect\": false\n },\n \"layout\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Extract<\\\"horizontal\\\" | \\\"vertical\\\", Layout>\",\n \"resolved\": \"\\\"horizontal\\\" | \\\"vertical\\\"\",\n \"references\": {\n \"Extract\": {\n \"location\": \"global\"\n },\n \"Layout\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The layout direction of the actions.\"\n },\n \"attribute\": \"layout\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"vertical\\\"\"\n },\n \"overflowActionsDisabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Disables automatically overflowing `calcite-action`s that won't fit into menus.\"\n },\n \"attribute\": \"overflow-actions-disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"position\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Position\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Position\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Arranges the component depending on the element's `dir` property.\"\n },\n \"attribute\": \"position\",\n \"reflect\": true\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the expand `calcite-action`.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteActionBarToggle\",\n \"name\": \"calciteActionBarToggle\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emits when the `expanded` property is toggled.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"overflowActions\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Overflows actions that won't fit into menus.\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n },\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"expand-toggle\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"expandDisabled\",\n \"methodName\": \"expandHandler\"\n }, {\n \"propName\": \"expanded\",\n \"methodName\": \"expandedHandler\"\n }, {\n \"propName\": \"overflowActionsDisabled\",\n \"methodName\": \"overflowDisabledHandler\"\n }];\n }\n}\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport var StatusIconDefaults;\n(function (StatusIconDefaults) {\n StatusIconDefaults[\"valid\"] = \"check-circle\";\n StatusIconDefaults[\"invalid\"] = \"exclamation-mark-triangle\";\n StatusIconDefaults[\"idle\"] = \"information\";\n})(StatusIconDefaults || (StatusIconDefaults = {}));\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-input-message-spacing-value: The top margin spacing above the component.\n*/\n:host([active][scale=m]),\n:host([active][scale=l]) {\n --calcite-input-message-spacing-value: 0.25rem;\n}\n\n:host {\n visibility: hidden;\n box-sizing: border-box;\n display: flex;\n block-size: 0px;\n inline-size: 100%;\n align-items: center;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n opacity: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n\n:host([active]) {\n visibility: visible;\n block-size: auto;\n opacity: 1;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n}\n\n:host([active][scale=m]),\n:host([active][scale=l]) {\n margin-block-start: var(--calcite-input-message-spacing-value);\n}\n\n:host([calcite-hydrated-hidden]) {\n visibility: hidden !important;\n pointer-events: none;\n}\n\n.calcite-input-message-icon {\n pointer-events: none;\n display: inline-flex;\n flex-shrink: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n margin-inline-end: 0.5rem;\n}\n\n:host([status=invalid]) .calcite-input-message-icon {\n color: var(--calcite-ui-danger);\n}\n\n:host([status=warning]) .calcite-input-message-icon {\n color: var(--calcite-ui-warning);\n}\n\n:host([status=valid]) .calcite-input-message-icon {\n color: var(--calcite-ui-success);\n}\n\n:host([status=idle]) .calcite-input-message-icon {\n color: var(--calcite-ui-brand);\n}\n\n:host([status][active]) {\n color: var(--calcite-ui-text-1);\n}\n\n:host([status][scale=s]) {\n font-size: var(--calcite-font-size--3);\n line-height: 0.75rem;\n}\n\n:host([status][scale=m]) {\n margin-block-start: 0.25rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n:host([status][scale=l]) {\n margin-block-start: 0.25rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { Host, h } from \"@stencil/core\";\nimport { getElementProp, setRequestedIcon } from \"../../utils/dom\";\nimport { StatusIconDefaults } from \"./interfaces\";\n/**\n * @slot - A slot for adding text.\n */\nexport class InputMessage {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** When `true`, the component is active. */\n this.active = false;\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /** Specifies the status of the input field, which determines message and icons. */\n this.status = \"idle\";\n }\n handleIconEl() {\n this.requestedIcon = setRequestedIcon(StatusIconDefaults, this.icon, this.status);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n this.status = getElementProp(this.el, \"status\", this.status);\n this.scale = getElementProp(this.el, \"scale\", this.scale);\n this.requestedIcon = setRequestedIcon(StatusIconDefaults, this.icon, this.status);\n }\n render() {\n const hidden = !this.active;\n return (h(Host, { \"calcite-hydrated-hidden\": hidden }, this.renderIcon(this.requestedIcon), h(\"slot\", null)));\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n renderIcon(iconName) {\n if (iconName) {\n return h(\"calcite-icon\", { class: \"calcite-input-message-icon\", icon: iconName, scale: \"s\" });\n }\n }\n static get is() { return \"calcite-input-message\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"input-message.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"input-message.css\"]\n };\n }\n static get properties() {\n return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is active.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"icon\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean | string\",\n \"resolved\": \"boolean | string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies an icon to display.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": true\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"status\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Status\",\n \"resolved\": \"\\\"idle\\\" | \\\"invalid\\\" | \\\"valid\\\"\",\n \"references\": {\n \"Status\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the status of the input field, which determines message and icons.\"\n },\n \"attribute\": \"status\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"idle\\\"\"\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"default\\\"\",\n \"resolved\": \"\\\"default\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"The `\\\"floating\\\"` type is no longer supported.\"\n }],\n \"text\": \"Specifies the appearance of a slotted message - `\\\"default\\\"` (displayed under the component), or `\\\"floating\\\"` (positioned absolutely under the component).\"\n },\n \"attribute\": \"type\",\n \"reflect\": true\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"status\",\n \"methodName\": \"handleIconEl\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"handleIconEl\"\n }];\n }\n}\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const TEXT = {\n close: \"Close\"\n};\nexport const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\",\n actionsEnd: \"actions-end\"\n};\nexport const CSS = {\n actionsEnd: \"actions-end\",\n close: \"notice-close\",\n container: \"container\",\n content: \"notice-content\",\n icon: \"notice-icon\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-notice-width: The width of the component.\n*/\n:host([scale=s]) {\n --calcite-notice-spacing-token-small: 0.5rem;\n --calcite-notice-spacing-token-large: 0.75rem;\n}\n:host([scale=s]) .container slot[name=title]::slotted(*), \n:host([scale=s]) .container *::slotted([slot=title]) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=s]) .container slot[name=message]::slotted(*), \n:host([scale=s]) .container *::slotted([slot=message]) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n:host([scale=s]) ::slotted(calcite-link) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n:host([scale=s]) .notice-close {\n padding: 0.5rem;\n}\n\n:host([scale=m]) {\n --calcite-notice-spacing-token-small: 0.75rem;\n --calcite-notice-spacing-token-large: 1rem;\n}\n:host([scale=m]) .container slot[name=title]::slotted(*), \n:host([scale=m]) .container *::slotted([slot=title]) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=m]) .container slot[name=message]::slotted(*), \n:host([scale=m]) .container *::slotted([slot=message]) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n:host([scale=m]) ::slotted(calcite-link) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n\n:host([scale=l]) {\n --calcite-notice-spacing-token-small: 1rem;\n --calcite-notice-spacing-token-large: 1.25rem;\n}\n:host([scale=l]) .container slot[name=title]::slotted(*), \n:host([scale=l]) .container *::slotted([slot=title]) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size-1);\n line-height: 1.375;\n}\n:host([scale=l]) .container slot[name=message]::slotted(*), \n:host([scale=l]) .container *::slotted([slot=message]) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n:host([scale=l]) ::slotted(calcite-link) {\n margin-block: 0.125rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n\n:host([width=auto]) {\n --calcite-notice-width: auto;\n}\n\n:host([width=half]) {\n --calcite-notice-width: 50%;\n}\n\n:host([width=full]) {\n --calcite-notice-width: 100%;\n}\n\n:host {\n margin-inline: auto;\n display: none;\n max-inline-size: 100%;\n align-items: center;\n inline-size: var(--calcite-notice-width);\n}\n\n.container {\n pointer-events: none;\n margin-block: 0px;\n box-sizing: border-box;\n display: none;\n inline-size: 100%;\n background-color: var(--calcite-ui-foreground-1);\n opacity: 0;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n max-block-size: 0;\n text-align: start;\n border-inline-start: 0px solid;\n box-shadow: 0 0 0 0 transparent;\n}\n\n.notice-close {\n outline-color: transparent;\n}\n.notice-close:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n:host {\n display: flex;\n}\n\n:host([open]) .container {\n pointer-events: auto;\n display: flex;\n max-block-size: 100%;\n align-items: center;\n border-width: 2px;\n opacity: 1;\n --tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);\n --tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.container slot[name=title]::slotted(*), \n.container *::slotted([slot=title]) {\n margin: 0px;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n}\n\n.container slot[name=message]::slotted(*), \n.container *::slotted([slot=message]) {\n margin: 0px;\n display: inline;\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-2);\n margin-inline-end: var(--calcite-notice-spacing-token-small);\n}\n\n.notice-content {\n box-sizing: border-box;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n display: flex;\n min-inline-size: 0px;\n flex-direction: column;\n overflow-wrap: break-word;\n flex: 1 1 0;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: 0 var(--calcite-notice-spacing-token-small);\n}\n.notice-content:first-of-type:not(:only-child) {\n padding-inline-start: var(--calcite-notice-spacing-token-large);\n}\n.notice-content:only-of-type {\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n}\n\n.notice-icon {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n}\n\n.notice-close {\n display: flex;\n cursor: pointer;\n align-items: center;\n align-self: stretch;\n border-style: none;\n background-color: transparent;\n color: var(--calcite-ui-text-3);\n outline: 2px solid transparent;\n outline-offset: 2px;\n box-sizing: border-box;\n transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;\n padding-block: var(--calcite-notice-spacing-token-small);\n padding-inline: var(--calcite-notice-spacing-token-large);\n flex: 0 0 auto;\n -webkit-appearance: none;\n}\n.notice-close:hover, .notice-close:focus {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n}\n.notice-close:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.actions-end {\n display: flex;\n align-self: stretch;\n}\n\n:host([color=blue]) .container {\n border-color: var(--calcite-ui-brand);\n}\n:host([color=blue]) .container .notice-icon {\n color: var(--calcite-ui-brand);\n}\n\n:host([color=red]) .container {\n border-color: var(--calcite-ui-danger);\n}\n:host([color=red]) .container .notice-icon {\n color: var(--calcite-ui-danger);\n}\n\n:host([color=yellow]) .container {\n border-color: var(--calcite-ui-warning);\n}\n:host([color=yellow]) .container .notice-icon {\n color: var(--calcite-ui-warning);\n}\n\n:host([color=green]) .container {\n border-color: var(--calcite-ui-success);\n}\n:host([color=green]) .container .notice-icon {\n color: var(--calcite-ui-success);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h } from \"@stencil/core\";\nimport { CSS, SLOTS, TEXT } from \"./resources\";\nimport { StatusIcons } from \"../alert/interfaces\";\nimport { getSlotted, setRequestedIcon } from \"../../utils/dom\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * Notices are intended to be used to present users with important-but-not-crucial contextual tips or copy. Because\n * notices are displayed inline, a common use case is displaying them on page-load to present users with short hints or contextual copy.\n * They are optionally dismissible - useful for keeping track of whether or not a user has dismissed the notice. You can also choose not\n * to display a notice on page load and set the \"active\" attribute as needed to contextually provide inline messaging to users.\n */\n/**\n * @slot title - A slot for adding the title.\n * @slot message - A slot for adding the message.\n * @slot link - A slot for adding actions to take, such as: undo, try again, link to page, etc.\n * @slot actions-end - A slot for adding actions to the end of the component. It is recommended to use two or less actions.\n */\nexport class Notice {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n /**\n * When `true`, the component is active.\n *\n * @deprecated Use `open` instead.\n */\n this.active = false;\n /** When `true`, the component is visible. */\n this.open = false;\n /** The color for the component's top border and icon. */\n this.color = \"blue\";\n /**\n * When `true`, a close button is added to the component.\n *\n * @deprecated use `closable` instead.\n */\n this.dismissible = false;\n /** When `true`, a close button is added to the component. */\n this.closable = false;\n /**\n * Accessible name for the close button.\n *\n * @default \"Close\"\n */\n this.intlClose = TEXT.close;\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /** Specifies the width of the component. */\n this.width = \"auto\";\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.close = () => {\n this.open = false;\n this.calciteNoticeClose.emit();\n };\n }\n activeHandler(value) {\n this.open = value;\n }\n openHandler(value) {\n this.active = value;\n }\n handleDismissible(value) {\n this.closable = value;\n }\n handleClosable(value) {\n this.dismissible = value;\n }\n updateRequestedIcon() {\n this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n const isOpen = this.active || this.open;\n if (isOpen) {\n this.activeHandler(isOpen);\n this.openHandler(isOpen);\n }\n if (this.dismissible) {\n this.handleDismissible(this.dismissible);\n }\n if (this.closable) {\n this.handleClosable(this.closable);\n }\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n componentWillLoad() {\n this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);\n }\n render() {\n const { el } = this;\n const closeButton = (h(\"button\", { \"aria-label\": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, h(\"calcite-icon\", { icon: \"x\", scale: this.scale === \"l\" ? \"m\" : \"s\" })));\n const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);\n return (h(\"div\", { class: CSS.container }, this.requestedIcon ? (h(\"div\", { class: CSS.icon }, h(\"calcite-icon\", { icon: this.requestedIcon, scale: this.scale === \"l\" ? \"m\" : \"s\" }))) : null, h(\"div\", { class: CSS.content }, h(\"slot\", { name: SLOTS.title }), h(\"slot\", { name: SLOTS.message }), h(\"slot\", { name: SLOTS.link })), hasActionEnd ? (h(\"div\", { class: CSS.actionsEnd }, h(\"slot\", { name: SLOTS.actionsEnd }))) : null, this.closable ? closeButton : null));\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n const noticeLinkEl = this.el.querySelector(\"calcite-link\");\n if (!this.closeButton && !noticeLinkEl) {\n return;\n }\n if (noticeLinkEl) {\n noticeLinkEl.setFocus();\n }\n else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n static get is() { return \"calcite-notice\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"notice.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"notice.css\"]\n };\n }\n static get properties() {\n return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"Use `open` instead.\"\n }],\n \"text\": \"When `true`, the component is active.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is visible.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"StatusColor\",\n \"resolved\": \"\\\"blue\\\" | \\\"green\\\" | \\\"red\\\" | \\\"yellow\\\"\",\n \"references\": {\n \"StatusColor\": {\n \"location\": \"import\",\n \"path\": \"../alert/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color for the component's top border and icon.\"\n },\n \"attribute\": \"color\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"blue\\\"\"\n },\n \"dismissible\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `closable` instead.\"\n }],\n \"text\": \"When `true`, a close button is added to the component.\"\n },\n \"attribute\": \"dismissible\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"closable\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, a close button is added to the component.\"\n },\n \"attribute\": \"closable\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"icon\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | boolean\",\n \"resolved\": \"boolean | string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, shows a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": true\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Close\\\"\"\n }],\n \"text\": \"Accessible name for the close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.close\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"width\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Width\",\n \"resolved\": \"\\\"auto\\\" | \\\"full\\\" | \\\"half\\\"\",\n \"references\": {\n \"Width\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the width of the component.\"\n },\n \"attribute\": \"width\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"auto\\\"\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteNoticeClose\",\n \"name\": \"calciteNoticeClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fired when the component is closed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteNoticeOpen\",\n \"name\": \"calciteNoticeOpen\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fired when the component is opened.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"active\",\n \"methodName\": \"activeHandler\"\n }, {\n \"propName\": \"open\",\n \"methodName\": \"openHandler\"\n }, {\n \"propName\": \"dismissible\",\n \"methodName\": \"handleDismissible\"\n }, {\n \"propName\": \"closable\",\n \"methodName\": \"handleClosable\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"updateRequestedIcon\"\n }, {\n \"propName\": \"color\",\n \"methodName\": \"updateRequestedIcon\"\n }];\n }\n}\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n:host {\r\n display: block;\r\n}\r\n\r\n.div-visible {\r\n display: inherit;\r\n}\r\n\r\n.div-visible-search {\r\n display: flex;\r\n height: 44px;\r\n align-items: center;\r\n padding-bottom: 0;\r\n}\r\n\r\n.div-not-visible {\r\n display: none;\r\n}\r\n\r\n.padding-bottom-1 {\r\n padding-bottom: 1rem;\r\n}\r\n\r\n.search-widget {\r\n width: 100% !important;\r\n border: 1px solid var(--calcite-ui-border-input);\r\n}\r\n\r\n.w-100 {\r\n width: 100%;\r\n}\r\n\r\n.w-50 {\r\n width: 50%;\r\n}\r\n\r\n.search-distance-container {\r\n padding-top: \"1rem\" !important;\r\n}\r\n\r\n.end-border {\r\n border-inline-end: 1px solid var(--calcite-ui-border-2);\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { Component, Element, Event, EventEmitter, Host, h, Method, Listen, Prop, State, VNode, Watch } from \"@stencil/core\";\r\nimport { loadModules } from \"../../utils/loadModules\";\r\nimport { highlightFeatures, goToSelection } from \"../../utils/mapViewUtils\";\r\nimport { getQueryGeoms, queryObjectIds } from \"../../utils/queryUtils\";\r\nimport { EWorkflowType, ESelectionMode, ISelectionSet, ERefineMode } from \"../../utils/interfaces\";\r\nimport state from \"../../utils/publicNotificationStore\";\r\nimport MapSelectTools_T9n from \"../../assets/t9n/map-select-tools/resources.json\";\r\nimport { getLocaleComponentStrings } from \"../../utils/locale\";\r\n\r\n@Component({\r\n tag: \"map-select-tools\",\r\n styleUrl: \"map-select-tools.css\",\r\n shadow: false,\r\n})\r\nexport class MapSelectTools {\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n @Element() el: HTMLElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html\r\n */\r\n @Prop() mapView: __esri.MapView;\r\n\r\n /**\r\n * esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html\r\n */\r\n @Prop() selectLayerView: __esri.FeatureLayerView;\r\n\r\n /**\r\n * esri/geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry.html\r\n */\r\n @Prop() geometries: __esri.Geometry[];\r\n\r\n /**\r\n * utils/interfaces/ISelectionSet: Used to store key details about any selections that have been made.\r\n */\r\n @Prop({reflect: false}) selectionSet: ISelectionSet;\r\n\r\n /**\r\n * boolean: When true a new label is not generated for the stored selection set\r\n */\r\n @Prop() isUpdate = false;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * string: Text entered by the end user.\r\n * Used to search against the locator.\r\n */\r\n @State() _searchTerm: string;\r\n\r\n /**\r\n * Contains the translations for this component.\r\n * All UI strings should be defined here.\r\n */\r\n @State() protected _translations: typeof MapSelectTools_T9n;\r\n\r\n /**\r\n * EWorkflowType: \"SEARCH\", \"SELECT\", \"SKETCH\", \"REFINE\"\r\n */\r\n @State() _workflowType: EWorkflowType;\r\n\r\n /**\r\n * esri/geometry/Geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html\r\n */\r\n protected Geometry: typeof __esri.Geometry;\r\n\r\n /**\r\n * esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html\r\n */\r\n protected Graphic: typeof __esri.Graphic;\r\n\r\n /**\r\n * esri/layers/GraphicsLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html\r\n */\r\n protected GraphicsLayer: typeof __esri.GraphicsLayer;\r\n\r\n /**\r\n * esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html\r\n */\r\n protected Search: typeof __esri.widgetsSearch;\r\n\r\n /**\r\n * esri/geometry: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry.html\r\n */\r\n protected _bufferGeometry: __esri.Geometry;\r\n\r\n /**\r\n * esri/layers/GraphicsLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html\r\n */\r\n protected _bufferGraphicsLayer: __esri.GraphicsLayer;\r\n\r\n /**\r\n * HTMLBufferToolsElement: The container div for the buffer tools\r\n */\r\n protected _bufferTools: HTMLBufferToolsElement;\r\n\r\n /**\r\n * HTMLMapDrawToolsElement: The container div for the sketch widget\r\n */\r\n protected _drawTools: HTMLMapDrawToolsElement;\r\n\r\n /**\r\n * esri/geometry/geometryEngine: https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html\r\n */\r\n protected _geometryEngine: __esri.geometryEngine;\r\n\r\n /**\r\n * esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html\r\n */\r\n protected _refineSelectLayers: __esri.FeatureLayerView[];\r\n\r\n /**\r\n * HTMLRefineSelectionToolsElement: The container div for the sketch widget\r\n */\r\n protected _refineTools: HTMLRefineSelectionToolsElement;\r\n\r\n /**\r\n * HTMLElement: The container div for the search widget\r\n */\r\n protected _searchElement: HTMLElement;\r\n\r\n /**\r\n * An array of objects representing the results of search\r\n */\r\n protected _searchResult: any;\r\n\r\n /**\r\n * esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html\r\n */\r\n protected _searchWidget: __esri.widgetsSearch;\r\n\r\n /**\r\n * number[]: the oids of the selected features\r\n */\r\n protected _selectedIds: number[] = [];\r\n\r\n /**\r\n * string: A label to help uniquely identify the selection set\r\n */\r\n protected _selectionLabel = \"\";\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Watch handlers\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Called each time the geometries prop is changed.\r\n *\r\n * @returns Promise when complete\r\n */\r\n @Watch(\"geometries\")\r\n async watchGeometriesHandler(\r\n newValue: __esri.Geometry[],\r\n oldValue: __esri.Geometry[]\r\n ): Promise<void> {\r\n if (newValue !== oldValue) {\r\n if (newValue.length > 0) {\r\n return this._geomQuery(this.geometries);\r\n } else if (newValue.length === 0) {\r\n return this._clearResults(true, true);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Called each time the workflowType prop is changed and emits the workflowTypeChange event.\r\n *\r\n * @returns Promise when complete\r\n */\r\n @Watch(\"_workflowType\")\r\n async workflowTypeHandler(\r\n newValue: EWorkflowType,\r\n oldValue: EWorkflowType\r\n ): Promise<void> {\r\n if (newValue !== oldValue) {\r\n this.workflowTypeChange.emit(newValue);\r\n }\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Methods (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Clear any selection results\r\n *\r\n * @returns Promise when the results have been cleared\r\n */\r\n @Method()\r\n async clearSelection(): Promise<void> {\r\n return this._clearResults();\r\n }\r\n\r\n /**\r\n * Get the new selection set\r\n *\r\n * @returns Promise with the new selection set\r\n */\r\n @Method()\r\n async getSelection(): Promise<ISelectionSet> {\r\n return {\r\n id: this.isUpdate ? this.selectionSet.id : Date.now(),\r\n workflowType: this._workflowType,\r\n searchResult: this._searchResult,\r\n buffer: this._bufferGeometry,\r\n distance: this._bufferTools.distance,\r\n download: true,\r\n unit: this._bufferTools.unit,\r\n label: this._workflowType === EWorkflowType.SEARCH ?\r\n this._selectionLabel : `${this._selectionLabel} ${this._bufferTools.distance} ${this._bufferTools.unit}`,\r\n selectedIds: this._selectedIds,\r\n layerView: this.selectLayerView,\r\n geometries: this.geometries,\r\n refineSelectLayers: this._refineTools.layerViews\r\n } as ISelectionSet;\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Events (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Emitted on demand when the selection set changes.\r\n *\r\n */\r\n @Event() selectionSetChange: EventEmitter<number>;\r\n\r\n /**\r\n * Emitted on demand when the workflow type changes.\r\n *\r\n */\r\n @Event() workflowTypeChange: EventEmitter<EWorkflowType>;\r\n\r\n /**\r\n * Listen to changes in the sketch graphics\r\n *\r\n */\r\n @Listen(\"sketchGraphicsChange\", { target: \"window\" })\r\n sketchGraphicsChange(event: CustomEvent): void {\r\n this._updateSelection(EWorkflowType.SKETCH, event.detail, this._translations.sketch);\r\n }\r\n\r\n /**\r\n * Listen to changes in the refine graphics\r\n *\r\n */\r\n @Listen(\"refineSelectionGraphicsChange\", { target: \"window\" })\r\n refineSelectionGraphicsChange(event: CustomEvent): Promise<void> {\r\n const graphics = event.detail;\r\n\r\n this._updateSelection(EWorkflowType.SELECT, graphics, this._translations.select);\r\n // Using OIDs to avoid issue with points\r\n const oids = Array.isArray(graphics) ? graphics.map(g => g.attributes[g?.layer?.objectIdField]) : [];\r\n return this._highlightFeatures(oids);\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (lifecycle)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * StencilJS: Called once just after the component is first connected to the DOM.\r\n */\r\n async componentWillLoad(): Promise<void> {\r\n await this._getTranslations();\r\n await this._initModules();\r\n }\r\n\r\n /**\r\n * StencilJS: Called once just after the component is fully loaded and the first render() occurs.\r\n */\r\n async componentDidLoad(): Promise<void> {\r\n return this._init();\r\n }\r\n\r\n /**\r\n * Renders the component.\r\n */\r\n render(): VNode {\r\n const searchEnabled = this._workflowType === EWorkflowType.SEARCH;\r\n const showSearchClass = searchEnabled ? \" div-visible-search\" : \" div-not-visible\";\r\n\r\n const drawEnabled = this._workflowType === EWorkflowType.SKETCH;\r\n const showDrawToolsClass = drawEnabled ? \" div-visible\" : \" div-not-visible\";\r\n\r\n const selectEnabled = this._workflowType === EWorkflowType.SELECT;\r\n const showSelectToolsClass = selectEnabled ? \" div-visible\" : \" div-not-visible\";\r\n\r\n return (\r\n <Host>\r\n <div class=\"padding-bottom-1\">\r\n <calcite-radio-group\r\n class=\"w-100\"\r\n onCalciteRadioGroupChange={(evt) => this._workflowChange(evt)}\r\n >\r\n <calcite-radio-group-item\r\n checked={searchEnabled}\r\n class=\"w-50 end-border\"\r\n value={EWorkflowType.SEARCH}\r\n >\r\n {this._translations.search}\r\n </calcite-radio-group-item>\r\n <calcite-radio-group-item\r\n checked={selectEnabled}\r\n class=\"w-50 end-border\"\r\n value={EWorkflowType.SELECT}\r\n >\r\n {this._translations.select}\r\n </calcite-radio-group-item>\r\n <calcite-radio-group-item\r\n checked={drawEnabled}\r\n class=\"w-50\"\r\n value={EWorkflowType.SKETCH}\r\n >\r\n {this._translations.sketch}\r\n </calcite-radio-group-item>\r\n </calcite-radio-group>\r\n </div>\r\n <div class={showSearchClass}>\r\n <div class=\"search-widget\" ref={(el) => { this._searchElement = el }} />\r\n </div>\r\n <map-draw-tools\r\n active={drawEnabled}\r\n border={true}\r\n class={showDrawToolsClass}\r\n mapView={this.mapView}\r\n ref={(el) => { this._drawTools = el}}\r\n />\r\n <refine-selection-tools\r\n active={selectEnabled}\r\n border={true}\r\n class={showSelectToolsClass}\r\n layerViews={this._refineSelectLayers}\r\n mapView={this.mapView}\r\n mode={ESelectionMode.ADD}\r\n ref={(el) => { this._refineTools = el }}\r\n refineMode={ERefineMode.SUBSET}\r\n />\r\n <calcite-label style={{ \"display\": \"flex\", \"padding-top\": \"1rem\" }}>\r\n {this._translations?.searchDistance}\r\n <buffer-tools\r\n distance={this.selectionSet?.distance}\r\n geometries={this.geometries}\r\n onBufferComplete={(evt) => this._bufferComplete(evt)}\r\n ref={(el) => this._bufferTools = el}\r\n unit={this.selectionSet?.unit}\r\n />\r\n </calcite-label>\r\n <slot />\r\n </Host>\r\n );\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Load esri javascript api modules\r\n *\r\n * @returns Promise resolving when function is done\r\n *\r\n * @protected\r\n */\r\n protected async _initModules(): Promise<void> {\r\n const [GraphicsLayer, Graphic, Search, Geometry, geometryEngine]: [\r\n __esri.GraphicsLayerConstructor,\r\n __esri.GraphicConstructor,\r\n __esri.widgetsSearchConstructor,\r\n __esri.GeometryConstructor,\r\n __esri.geometryEngine\r\n ] = await loadModules([\r\n \"esri/layers/GraphicsLayer\",\r\n \"esri/Graphic\",\r\n \"esri/widgets/Search\",\r\n \"esri/geometry/Geometry\",\r\n \"esri/geometry/geometryEngine\"\r\n ]);\r\n this.GraphicsLayer = GraphicsLayer;\r\n this.Graphic = Graphic;\r\n this.Search = Search;\r\n this.Geometry = Geometry;\r\n this._geometryEngine = geometryEngine;\r\n }\r\n\r\n /**\r\n * Initialize the graphics layer, selection set, and search widget\r\n *\r\n * @returns Promise when the operation has completed\r\n */\r\n protected async _init(): Promise<void> {\r\n this._initGraphicsLayer();\r\n this._initSelectionSet();\r\n this._initSearchWidget();\r\n }\r\n\r\n /**\r\n * Initialize the state of the component with any stored values in a selection set\r\n *\r\n * @protected\r\n */\r\n protected _initSelectionSet(): void {\r\n if (this.selectionSet) {\r\n this._searchTerm = this.selectionSet?.searchResult?.name;\r\n this._workflowType = this.selectionSet?.workflowType;\r\n this._searchResult = this.selectionSet?.searchResult;\r\n this._refineSelectLayers = this.selectionSet?.refineSelectLayers;\r\n this.geometries = [\r\n ...this.selectionSet?.geometries\r\n ];\r\n // reset selection label base\r\n this._selectionLabel = this._workflowType === EWorkflowType.SKETCH ?\r\n this._translations.sketch : this._workflowType === EWorkflowType.SELECT ?\r\n this._translations.select : this.selectionSet?.label;\r\n\r\n void goToSelection(this.selectionSet.selectedIds, this.selectionSet.layerView, this.mapView, false);\r\n } else {\r\n this._workflowType = EWorkflowType.SEARCH;\r\n }\r\n }\r\n\r\n /**\r\n * Initialize the search widget\r\n *\r\n * @protected\r\n */\r\n protected _initSearchWidget(): void {\r\n if (this.mapView && this._searchElement) {\r\n const searchOptions: __esri.widgetsSearchProperties = {\r\n view: this.mapView,\r\n container: this._searchElement,\r\n searchTerm: this._searchTerm\r\n };\r\n\r\n this._searchWidget = new this.Search(searchOptions);\r\n\r\n this._searchWidget.on(\"search-clear\", () => {\r\n void this._clearResults(false);\r\n });\r\n\r\n this._searchWidget.on(\"select-result\", (searchResults) => {\r\n void this._clearResults(false);\r\n if (searchResults.result) {\r\n this._searchResult = searchResults.result;\r\n this._updateSelection(\r\n EWorkflowType.SEARCH,\r\n [searchResults.result.feature],\r\n searchResults?.result?.name\r\n );\r\n }\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * Initialize the graphics layer used to store any buffer grapghics\r\n *\r\n * @protected\r\n */\r\n protected _initGraphicsLayer(): void {\r\n const title = this._translations.bufferLayer;\r\n\r\n const bufferIndex = this.mapView.map.layers.findIndex((l) => l.title === title);\r\n if (bufferIndex > -1) {\r\n this._bufferGraphicsLayer = this.mapView.map.layers.getItemAt(bufferIndex) as __esri.GraphicsLayer;\r\n } else {\r\n this._bufferGraphicsLayer = new this.GraphicsLayer({ title });\r\n state.managedLayers.push(title);\r\n const sketchIndex = this.mapView.map.layers.findIndex((l) => l.title === this._translations.sketchLayer);\r\n if (sketchIndex > -1) {\r\n this.mapView.map.layers.add(this._bufferGraphicsLayer, sketchIndex);\r\n } else {\r\n this.mapView.map.layers.add(this._bufferGraphicsLayer);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Store workflow type change\r\n *\r\n * @protected\r\n */\r\n protected _workflowChange(evt: CustomEvent): void {\r\n this._workflowType = evt.detail;\r\n }\r\n\r\n /**\r\n * Highlight the features in the map\r\n *\r\n * @protected\r\n */\r\n protected async _highlightFeatures(\r\n ids: number[]\r\n ): Promise<void> {\r\n state.highlightHandle?.remove();\r\n if (ids.length > 0) {\r\n state.highlightHandle = await highlightFeatures(\r\n ids,\r\n this.selectLayerView,\r\n this.mapView\r\n );\r\n }\r\n this.selectionSetChange.emit(ids.length);\r\n }\r\n\r\n /**\r\n * Query the selectLayerView based on any user drawn geometries or buffers\r\n *\r\n * @param geometries Array of geometries used for the selection of ids from the select layer view\r\n *\r\n * @returns Promise when the selection is complete and the graphics have been highlighted\r\n */\r\n protected async _selectFeatures(\r\n geometries: __esri.Geometry[]\r\n ): Promise<void> {\r\n this._selectedIds = await queryObjectIds(\r\n geometries,\r\n this.selectLayerView.layer\r\n );\r\n // Add geometries used for selecting features as graphics\r\n this._drawTools.graphics = this.geometries.map(geom => {\r\n const props = {\r\n \"geometry\": geom,\r\n \"symbol\": geom.type === \"point\" ?\r\n this._drawTools?.pointSymbol : geom.type === \"polyline\" ?\r\n this._drawTools?.polylineSymbol : geom.type === \"polygon\" ?\r\n this._drawTools?.polygonSymbol : undefined\r\n };\r\n return new this.Graphic(props)\r\n });\r\n void this._highlightFeatures(this._selectedIds);\r\n }\r\n\r\n /**\r\n * Query the selectLayerView based on any user drawn geometries or buffers\r\n *\r\n * @param evt CustomEvent that contains the result of the buffer\r\n *\r\n * @protected\r\n */\r\n protected async _bufferComplete(\r\n evt: CustomEvent\r\n ): Promise<void> {\r\n this._bufferGeometry = Array.isArray(evt.detail) ?\r\n evt.detail[0] : evt.detail;\r\n\r\n if (this._bufferGeometry) {\r\n // Create a symbol for rendering the graphic\r\n const symbol = {\r\n type: \"simple-fill\",\r\n color: [227, 139, 79, 0.8],\r\n outline: {\r\n color: [255, 255, 255],\r\n width: 1\r\n }\r\n };\r\n\r\n // Add the geometry and symbol to a new graphic\r\n const polygonGraphic = new this.Graphic({\r\n geometry: this._bufferGeometry,\r\n symbol\r\n });\r\n\r\n this._bufferGraphicsLayer.removeAll();\r\n this._bufferGraphicsLayer.add(polygonGraphic);\r\n void this._selectFeatures([this._bufferGeometry]);\r\n void this.mapView.goTo(polygonGraphic.geometry.extent);\r\n } else {\r\n if (this._bufferGraphicsLayer) {\r\n this._bufferGraphicsLayer.removeAll();\r\n }\r\n void this._geomQuery(this.geometries);\r\n }\r\n }\r\n\r\n /**\r\n * Fetch a single geometry for each potential geometry type\r\n *\r\n * @param geometries All current selection geometries\r\n *\r\n * @protected\r\n */\r\n protected _geomQuery(\r\n geometries: __esri.Geometry[]\r\n ): Promise<void> {\r\n const queryGeoms = getQueryGeoms(geometries, this._geometryEngine);\r\n return this._selectFeatures(queryGeoms);\r\n }\r\n\r\n /**\r\n * Clear all stored values and general state for the component\r\n *\r\n * @param clearSearchWidget Optional boolean for clearing the search widget (default is true)\r\n * @param clearLabel Optional boolean for clearing the search label (default is true)\r\n *\r\n * @protected\r\n */\r\n protected async _clearResults(\r\n clearSearchWidget = true,\r\n clearLabel = true\r\n ): Promise<void> {\r\n this._selectedIds = [];\r\n\r\n if (clearLabel) {\r\n this._selectionLabel = \"\";\r\n }\r\n\r\n if (this._bufferGraphicsLayer) {\r\n this._bufferGraphicsLayer.removeAll();\r\n }\r\n\r\n if (clearSearchWidget && this._searchWidget) {\r\n this._searchWidget.clear();\r\n }\r\n\r\n state.highlightHandle?.remove();\r\n\r\n // for sketch\r\n if (this._drawTools) {\r\n void this._drawTools.clear();\r\n }\r\n this.selectionSetChange.emit(this._selectedIds.length);\r\n }\r\n\r\n /**\r\n * Fetch a single geometry for the current geometry type\r\n *\r\n * @param type worflow type\r\n * @param graphics graphics to be used for selection\r\n * @param label selection label\r\n *\r\n * @protected\r\n */\r\n protected _updateSelection(\r\n type: EWorkflowType,\r\n graphics: __esri.Graphic[],\r\n label: string\r\n ): void {\r\n this.geometries = Array.isArray(graphics) ? graphics.map(g => g.geometry) : this.geometries;\r\n this._workflowType = type;\r\n this._selectionLabel = label;\r\n }\r\n\r\n /**\r\n * Fetches the component's translations\r\n *\r\n * @protected\r\n */\r\n protected async _getTranslations(): Promise<void> {\r\n const translations = await getLocaleComponentStrings(this.el);\r\n this._translations = translations[0] as typeof MapSelectTools_T9n;\r\n }\r\n}\r\n","// May change this but doing this for now so the download button will do something\r\n\r\nimport { queryFeaturesByID } from \"./queryUtils\";\r\n\r\n/**\r\n * Export a csv of the attributes from the features that match the provided ids\r\n *\r\n * @param layerView layer view to query\r\n * @param ids number array of ids to export to csv\r\n *\r\n * @returns Promise when the function has completed\r\n */\r\nexport async function exportCSV(\r\n layerView: __esri.FeatureLayerView,\r\n ids: number[]\r\n): Promise<void> {\r\n const featureSet = await queryFeaturesByID(ids, layerView.layer);\r\n const attributes = featureSet.features.map(f => f.attributes);\r\n const fieldNames = {};\r\n const entry = attributes[0];\r\n Object.keys(entry).forEach(k => {\r\n if (entry.hasOwnProperty(k)) {\r\n fieldNames[k] = k;\r\n }\r\n });\r\n _downloadCSVFile(fieldNames, attributes, `notify-${Date.now().toString()}`);\r\n}\r\n\r\n/**\r\n * Download the CSV file\r\n *\r\n * @param fieldNames the names for each of the features fields\r\n * @param attributes the features attributes\r\n *\r\n * Based on:\r\n * https://medium.com/@danny.pule/export-json-to-csv-file-using-javascript-a0b7bc5b00d2\r\n *\r\n * @returns void\r\n */\r\nfunction _downloadCSVFile(\r\n fieldNames: {[key: string]: string},\r\n attributes: {[key: string]: string}[],\r\n fileTitle: string\r\n): void {\r\n if (fieldNames) {\r\n attributes.unshift(fieldNames);\r\n }\r\n // format values to string so it doesn't get tripped up when a value has a comma\r\n // another option could be to export with a different delimiter\r\n const csv = attributes.reduce((prev, cur) => {\r\n return prev + Object.values(cur).map(v => `\"${v}\"`).join(\",\") + \"\\r\\n\";\r\n }, \"\");\r\n const link = document.createElement(\"a\");\r\n if (link.download !== undefined) {\r\n link.href = URL.createObjectURL(new Blob([csv], { type: \"text/csv;charset=utf-8;\" }));\r\n link.download = `${fileTitle}.csv` || \"export.csv\";\r\n link.style.visibility = \"hidden\";\r\n document.body.appendChild(link);\r\n link.click();\r\n document.body.removeChild(link);\r\n }\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n:host {\r\n display: block;\r\n}\r\n","/** @license\r\n * Copyright 2022 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\nimport { Component, Element, Host, h, Method, Prop, State, VNode } from \"@stencil/core\";\r\nimport * as pdfUtils from \"../../assets/data/labelFormats.json\";\r\nimport \"@esri/calcite-components\";\r\nimport PdfDownload_T9n from \"../../assets/t9n/pdf-download/resources.json\";\r\nimport { getLocaleComponentStrings } from \"../../utils/locale\";\r\nimport { exportCSV } from \"../../utils/csvUtils\";\r\n\r\n@Component({\r\n tag: \"pdf-download\",\r\n styleUrl: \"pdf-download.css\",\r\n shadow: true,\r\n})\r\nexport class PdfDownload {\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n @Element() el: HTMLPdfDownloadElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * boolean: Controls the enabled/disabled state of download\r\n */\r\n @Prop() disabled = true;\r\n\r\n /**\r\n * esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html\r\n */\r\n @Prop() layerView: __esri.FeatureLayerView;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Contains the translations for this component.\r\n * All UI strings should be defined here.\r\n */\r\n @State() protected _translations: typeof PdfDownload_T9n;\r\n\r\n /**\r\n * HTMLCalciteSelectElement: The html element for selecting buffer unit\r\n */\r\n protected _labelInfoElement: HTMLCalciteSelectElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Watch handlers\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Methods (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Downloads pdf of mailing labels for the provided list of ids\r\n *\r\n * @param ids List of ids to download\r\n * @param removeDuplicates When true a single label is generated when multiple featues have a shared address value\r\n * @returns Promise resolving when function is done\r\n */\r\n @Method()\r\n async downloadPDF(\r\n ids: number[],\r\n removeDuplicates: boolean\r\n ): Promise<void> {\r\n return this._downloadPDF(ids, removeDuplicates);\r\n }\r\n\r\n /**\r\n * Downloads csv of mailing labels for the provided list of ids\r\n *\r\n * @param ids List of ids to download\r\n * @param removeDuplicates When true a single label is generated when multiple featues have a shared address value\r\n * @returns Promise resolving when function is done\r\n */\r\n @Method()\r\n async downloadCSV(\r\n ids: number[],\r\n removeDuplicates: boolean\r\n ): Promise<void> {\r\n return this._downloadCSV(ids, removeDuplicates);\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Events (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (lifecycle)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * StencilJS: Called once just after the component is first connected to the DOM.\r\n */\r\n async componentWillLoad(): Promise<void> {\r\n await this._getTranslations();\r\n }\r\n\r\n /**\r\n * Renders the component.\r\n */\r\n render(): VNode {\r\n return (\r\n <Host>\r\n <calcite-select\r\n disabled={this.disabled}\r\n label=\"\"\r\n ref={(el) => { this._labelInfoElement = el }}\r\n >\r\n {this._renderItems()}\r\n </calcite-select>\r\n </Host>\r\n );\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Renders the pdf export size options\r\n *\r\n * @returns Node array of size options\r\n *\r\n * @protected\r\n */\r\n protected _renderItems(): VNode[] {\r\n const s: any = pdfUtils;\r\n const sortedPdfIndo = (s.default || s).sort((a, b) => {\r\n const _a = parseInt(a.descriptionPDF.labelsPerPageDisplay, 10);\r\n const _b = parseInt(b.descriptionPDF.labelsPerPageDisplay, 10);\r\n return _a < _b ? -1 : _a > _b ? 1 : 0\r\n });\r\n return sortedPdfIndo.map((l) => {\r\n return (<calcite-option value={l}>{this._getLabelSizeText(l)}</calcite-option>)\r\n });\r\n }\r\n\r\n /**\r\n * Downloads pdf of mailing labels for the provided list of ids\r\n *\r\n * @param ids List of ids to download\r\n * @param removeDuplicates When true a single label is generated when multiple featues have a shared address value\r\n *\r\n * @returns Promise resolving when function is done\r\n * @protected\r\n */\r\n protected async _downloadPDF(\r\n ids: number[],\r\n removeDuplicates: boolean\r\n ): Promise<void> {\r\n const l = this._labelInfoElement.selectedOption.value;\r\n alert(`PDF download: (${this._getLabelSizeText(l)}) (remove dups: ${removeDuplicates}) ${ids.join(\", \")}`);\r\n }\r\n\r\n /**\r\n * Downloads csv of mailing labels for the provided list of ids\r\n *\r\n * @param ids List of ids to download\r\n * @param removeDuplicates When true a single label is generated when multiple featues have a shared address value\r\n * @returns Promise resolving when function is done\r\n *\r\n * @returns Promise that will resolve when the download is complete\r\n * @protected\r\n */\r\n protected async _downloadCSV(\r\n ids: number[],\r\n removeDuplicates: boolean\r\n ): Promise<void> {\r\n // TODO this will be leveraged when we do the real implementation of this\r\n console.log(removeDuplicates)\r\n await exportCSV(this.layerView, ids);\r\n }\r\n\r\n /**\r\n * Gets the formatted pdf export size text\r\n *\r\n * @param labelInfo current user selected label info\r\n *\r\n * @returns the pdf label as a string\r\n * @protected\r\n */\r\n protected _getLabelSizeText(\r\n labelInfo: any\r\n ): string {\r\n const lNum = labelInfo.descriptionPDF.labelsPerPageDisplay;\r\n const lSize = `${labelInfo.descriptionPDF.labelWidthDisplay} x ${labelInfo.descriptionPDF.labelHeightDisplay}`;\r\n return this._translations.pdfLabel.replace(\"{{n}}\", lNum).replace(\"{{labelSize}}\", lSize);\r\n }\r\n\r\n /**\r\n * Fetches the component's translations\r\n *\r\n * @protected\r\n */\r\n protected async _getTranslations(): Promise<void> {\r\n const translations = await getLocaleComponentStrings(this.el);\r\n this._translations = translations[0] as typeof PdfDownload_T9n;\r\n }\r\n\r\n}\r\n",":host {\r\n display: block;\r\n}\r\n","import { Component, Element, Event, EventEmitter, Host, h, Listen, Prop, State, VNode } from \"@stencil/core\";\r\nimport { ESelectionMode, EWorkflowType, ISelectionSet } from \"../../utils/interfaces\";\r\nimport * as utils from \"../../utils/publicNotificationUtils\";\r\nimport RefineSelection_T9n from \"../../assets/t9n/refine-selection/resources.json\";\r\nimport { getLocaleComponentStrings } from \"../../utils/locale\";\r\n\r\n@Component({\r\n tag: \"refine-selection\",\r\n styleUrl: \"refine-selection.css\",\r\n shadow: false,\r\n})\r\nexport class RefineSelection {\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n @Element() el: HTMLRefineSelectionToolsElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html\r\n */\r\n @Prop() addresseeLayer: __esri.FeatureLayerView;\r\n\r\n /**\r\n * esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html\r\n */\r\n @Prop() mapView: __esri.MapView;\r\n\r\n /**\r\n * utils/interfaces/ISelectionSet: An array of user defined selection sets\r\n */\r\n @Prop() selectionSets: ISelectionSet[] = [];\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Properties (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Contains the translations for this component.\r\n * All UI strings should be defined here.\r\n */\r\n @State() protected _translations: typeof RefineSelection_T9n;\r\n\r\n /**\r\n * boolean: Indicates if any new graphics should be added or removed\r\n */\r\n protected _addEnabled = true;\r\n\r\n /**\r\n * HTMLRefineSelectionToolsElement: The html element for the refine selection tools\r\n */\r\n protected _refineTools: HTMLRefineSelectionToolsElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Watch handlers\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Methods (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Events (public)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Emitted on demand when selection sets change.\r\n *\r\n */\r\n @Event() selectionSetsChanged: EventEmitter<ISelectionSet[]>;\r\n\r\n /**\r\n * Handles changes to refine selection ids.\r\n *\r\n */\r\n @Listen(\"refineSelectionIdsChange\", { target: \"window\" })\r\n refineSelectionIdsChange(event: CustomEvent): void {\r\n const addIds = event.detail?.addIds || [];\r\n const removeIds = event.detail?.removeIds || [];\r\n\r\n this._updateSelectionSets(removeIds);\r\n this._updateRefineSelectionSet(addIds, removeIds);\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (lifecycle)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * StencilJS: Called once just after the component is first connected to the DOM.\r\n */\r\n async componentWillLoad(): Promise<void> {\r\n await this._getTranslations();\r\n }\r\n\r\n /**\r\n * Renders the component.\r\n */\r\n render(): VNode {\r\n return (\r\n <Host>\r\n <div class=\"padding-1\">\r\n <div>\r\n <calcite-radio-group\r\n class=\"w-100\"\r\n onCalciteRadioGroupChange={(evt) => this._modeChanged(evt)}\r\n >\r\n <calcite-radio-group-item\r\n checked={this._addEnabled}\r\n class=\"w-50\"\r\n onClick={() => this._setSelectionMode(ESelectionMode.ADD)}\r\n value={ESelectionMode.ADD}\r\n >\r\n {this._translations.add}\r\n </calcite-radio-group-item>\r\n <calcite-radio-group-item\r\n checked={!this._addEnabled}\r\n class=\"w-50\"\r\n onClick={() => this._setSelectionMode(ESelectionMode.REMOVE)}\r\n value={ESelectionMode.REMOVE}\r\n >\r\n {this._translations.remove}\r\n </calcite-radio-group-item>\r\n </calcite-radio-group>\r\n <refine-selection-tools\r\n border={true}\r\n ids={utils.getSelectionIds(this.selectionSets)}\r\n layerViews={[this.addresseeLayer]}\r\n mapView={this.mapView}\r\n mode={this._addEnabled ? ESelectionMode.ADD : ESelectionMode.REMOVE}\r\n ref={(el) => { this._refineTools = el }}\r\n useLayerPicker={false}\r\n />\r\n </div>\r\n <br />\r\n {\r\n (\r\n <calcite-list class=\"list-border\">\r\n {this._getRefineSelectionSetList()}\r\n </calcite-list>\r\n )\r\n }\r\n </div>\r\n </Host>\r\n );\r\n }\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Functions (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Store the Add/Remove mode\r\n *\r\n * @protected\r\n */\r\n protected _modeChanged(\r\n evt: CustomEvent\r\n ): void {\r\n this._addEnabled = evt.detail === ESelectionMode.ADD;\r\n }\r\n\r\n /**\r\n * Set the refine tools selection mode\r\n *\r\n * @protected\r\n */\r\n protected _setSelectionMode(\r\n mode: ESelectionMode\r\n ): void {\r\n this._refineTools.mode = mode;\r\n }\r\n\r\n /**\r\n * Create a list to show the number added/removed/total unique selected\r\n *\r\n * @returns the list node\r\n * @protected\r\n */\r\n protected _getRefineSelectionSetList(): VNode[] {\r\n const total = utils.getTotal(this.selectionSets);\r\n const refineSet = this._getRefineSelectionSet(this.selectionSets);\r\n const numAdded = refineSet?.refineIds.addIds.length || 0;\r\n const numRemoved = refineSet?.refineIds.removeIds.length || 0;\r\n\r\n return [(\r\n <calcite-list-item\r\n label={this._translations.featuresAdded?.replace(\"{{n}}\", numAdded.toString())}\r\n />\r\n ),(\r\n <calcite-list-item\r\n label={this._translations.featuresRemoved?.replace(\"{{n}}\", numRemoved.toString())}\r\n />\r\n ), (\r\n <calcite-list-item\r\n label={this._translations.totalSelected?.replace(\"{{n}}\", total.toString())}\r\n />\r\n )];\r\n }\r\n\r\n /**\r\n * Fetch the refine selection set\r\n *\r\n * @returns the refine selection set\r\n * @protected\r\n */\r\n protected _getRefineSelectionSet(\r\n selectionSets: ISelectionSet[]\r\n ): ISelectionSet {\r\n let refineSelectionSet: ISelectionSet;\r\n selectionSets.some(ss => {\r\n if (ss.workflowType === EWorkflowType.REFINE) {\r\n refineSelectionSet = ss;\r\n return true;\r\n }\r\n });\r\n return refineSelectionSet;\r\n }\r\n\r\n /**\r\n * Create a calcite action\r\n *\r\n * @param enabled controls the enabled state of the control\r\n * @param icon the image to display in the action\r\n * @param text and supporting text for the action\r\n * @param onClick the fucntion the actio will execute\r\n * @param indicator boolean to control if an indicator should be shown (default is false)\r\n * @param slot the supporting slot to use\r\n *\r\n * @returns the calcite action node\r\n * @protected\r\n */\r\n protected _getAction(\r\n enabled: boolean,\r\n icon: string,\r\n text: string,\r\n onClick: any,\r\n indicator = false,\r\n slot = \"\"\r\n ): VNode {\r\n return (\r\n <calcite-action\r\n disabled={!enabled}\r\n icon={icon}\r\n indicator={indicator}\r\n onClick={onClick}\r\n slot={slot}\r\n text={text} />\r\n );\r\n }\r\n\r\n /**\r\n * Remove ids from existing selection sets.\r\n * Remove any selection sets than have no selected ids\r\n * This can update any selection set not just the refine set.\r\n * We do not do something similar for adds as we will only ever add from refine tools to the single REFINE selection set.\r\n *\r\n * @param removeIds the ids to remove\r\n *\r\n * @protected\r\n */\r\n protected _updateSelectionSets(\r\n removeIds: number[]\r\n ): void {\r\n if (removeIds.length > 0) {\r\n this.selectionSets = this.selectionSets.reduce((prev, cur) => {\r\n cur.selectedIds = cur.selectedIds.filter(id => removeIds.indexOf(id) < 0);\r\n if (cur.selectedIds.length > 0) {\r\n prev.push(cur);\r\n }\r\n return prev;\r\n }, []);\r\n this.selectionSetsChanged.emit(this.selectionSets);\r\n }\r\n }\r\n\r\n /**\r\n * Update the refine selection set with any adds or removes\r\n *\r\n * @param addIds any ids to add\r\n * @param removeIds any ids to remove\r\n *\r\n * @returns Promise resolving when function is done\r\n * @protected\r\n */\r\n protected _updateRefineSelectionSet(\r\n addIds: number[],\r\n removeIds: number[]\r\n ): void {\r\n const selectionSet = this._getRefineSelectionSet(this.selectionSets);\r\n this.selectionSets = selectionSet ?\r\n this._updateRefineIds(selectionSet, addIds, removeIds) :\r\n this._addRefineSelectionSet(addIds, removeIds);\r\n this.selectionSetsChanged.emit(this.selectionSets);\r\n }\r\n\r\n /**\r\n * Update the ids stored for the refine selection set\r\n *\r\n * @param selectionSet the refine selection set\r\n * @param addIds any ids to add\r\n * @param removeIds any ids to remove\r\n *\r\n * @returns updated selection sets\r\n * @protected\r\n */\r\n protected _updateRefineIds(\r\n selectionSet: ISelectionSet,\r\n addIds: number[],\r\n removeIds: number[]\r\n ): ISelectionSet[] {\r\n // remove ids if they exist in the current add or remove list\r\n selectionSet.refineIds.addIds = selectionSet.refineIds.addIds.filter(id => removeIds.indexOf(id) < 0)\r\n selectionSet.refineIds.removeIds = selectionSet.refineIds.removeIds.filter(id => addIds.indexOf(id) < 0)\r\n\r\n const _addIds = [...new Set(selectionSet.refineIds.addIds.concat(addIds))];\r\n const _removeIds = [...new Set(selectionSet.refineIds.removeIds.concat(removeIds))];\r\n selectionSet.refineIds = {\r\n addIds: _addIds.filter(id => _removeIds.indexOf(id) < 0),\r\n removeIds: _removeIds.filter(id => _addIds.indexOf(id) < 0)\r\n }\r\n selectionSet.selectedIds = selectionSet.refineIds.addIds.length > 0 ?\r\n [...new Set(selectionSet.selectedIds.concat(selectionSet.refineIds.addIds))] :\r\n selectionSet.selectedIds.filter(id => selectionSet.refineIds.removeIds.indexOf(id) < 0);\r\n\r\n return this.selectionSets.map(ss => {\r\n return ss.workflowType === EWorkflowType.REFINE ? selectionSet : ss;\r\n });\r\n }\r\n\r\n /**\r\n * Add a new refine selection set\r\n *\r\n * @param addIds any ids to add\r\n * @param removeIds any ids to remove\r\n *\r\n * @returns updated selection sets\r\n * @protected\r\n */\r\n protected _addRefineSelectionSet(\r\n addIds: number[],\r\n removeIds: number[]\r\n ): ISelectionSet[] {\r\n return [\r\n ...this.selectionSets,\r\n ({\r\n buffer: undefined,\r\n distance: 0,\r\n download: true,\r\n geometries: [],\r\n id: Date.now(),\r\n label: \"Refine\",\r\n layerView: this.addresseeLayer,\r\n refineSelectLayers: [],\r\n searchResult: undefined,\r\n selectedIds: addIds,\r\n unit: \"feet\",\r\n workflowType: EWorkflowType.REFINE,\r\n refineIds: {\r\n addIds: addIds,\r\n removeIds: removeIds\r\n }\r\n })\r\n ];\r\n }\r\n\r\n /**\r\n * Fetches the component's translations\r\n *\r\n * @protected\r\n */\r\n protected async _getTranslations(): Promise<void> {\r\n const translations = await getLocaleComponentStrings(this.el);\r\n this._translations = translations[0] as typeof RefineSelection_T9n;\r\n }\r\n\r\n}\r\n"],"version":3}
|
@@ -3,9 +3,214 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{C as
|
6
|
+
import { C as CSS_UTILITY } from './p-729708a3.js';
|
7
|
+
import { g as guid } from './p-a80b3880.js';
|
8
|
+
|
7
9
|
/*!
|
8
10
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
11
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
12
|
* v1.0.0-beta.97
|
11
|
-
*/
|
13
|
+
*/
|
14
|
+
/**
|
15
|
+
* This helper will guarantee an ID on the provided element.
|
16
|
+
*
|
17
|
+
* If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.
|
18
|
+
*
|
19
|
+
* @param el
|
20
|
+
* @returns {string} The element's ID.
|
21
|
+
*/
|
22
|
+
function ensureId(el) {
|
23
|
+
if (!el) {
|
24
|
+
return "";
|
25
|
+
}
|
26
|
+
return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);
|
27
|
+
}
|
28
|
+
function nodeListToArray(nodeList) {
|
29
|
+
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
30
|
+
}
|
31
|
+
function getThemeName(el) {
|
32
|
+
const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);
|
33
|
+
return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains("calcite-theme-dark")) ? "dark" : "light";
|
34
|
+
}
|
35
|
+
function getElementDir(el) {
|
36
|
+
const prop = "dir";
|
37
|
+
const selector = `[${prop}]`;
|
38
|
+
const closest = closestElementCrossShadowBoundary(el, selector);
|
39
|
+
return closest ? closest.getAttribute(prop) : "ltr";
|
40
|
+
}
|
41
|
+
function getElementProp(el, prop, fallbackValue) {
|
42
|
+
const selector = `[${prop}]`;
|
43
|
+
const closest = el.closest(selector);
|
44
|
+
return closest ? closest.getAttribute(prop) : fallbackValue;
|
45
|
+
}
|
46
|
+
function getRootNode(el) {
|
47
|
+
return el.getRootNode();
|
48
|
+
}
|
49
|
+
function getHost(root) {
|
50
|
+
return root.host || null;
|
51
|
+
}
|
52
|
+
/**
|
53
|
+
* This helper queries an element's rootNode and any ancestor rootNodes.
|
54
|
+
*
|
55
|
+
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
56
|
+
*
|
57
|
+
* @param element
|
58
|
+
* @param root0
|
59
|
+
* @param root0.selector
|
60
|
+
* @param root0.id
|
61
|
+
* @returns {Element} The element.
|
62
|
+
*/
|
63
|
+
function queryElementRoots(element, { selector, id }) {
|
64
|
+
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
65
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
66
|
+
function queryFrom(el) {
|
67
|
+
if (!el) {
|
68
|
+
return null;
|
69
|
+
}
|
70
|
+
if (el.assignedSlot) {
|
71
|
+
el = el.assignedSlot;
|
72
|
+
}
|
73
|
+
const rootNode = getRootNode(el);
|
74
|
+
const found = id
|
75
|
+
? "getElementById" in rootNode
|
76
|
+
? /*
|
77
|
+
Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.
|
78
|
+
https://github.com/Esri/calcite-components/pull/4280
|
79
|
+
*/
|
80
|
+
rootNode.getElementById(id)
|
81
|
+
: null
|
82
|
+
: selector
|
83
|
+
? rootNode.querySelector(selector)
|
84
|
+
: null;
|
85
|
+
const host = getHost(rootNode);
|
86
|
+
return found ? found : host ? queryFrom(host) : null;
|
87
|
+
}
|
88
|
+
return queryFrom(element);
|
89
|
+
}
|
90
|
+
function closestElementCrossShadowBoundary(element, selector) {
|
91
|
+
// based on https://stackoverflow.com/q/54520554/194216
|
92
|
+
function closestFrom(el) {
|
93
|
+
return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;
|
94
|
+
}
|
95
|
+
return closestFrom(element);
|
96
|
+
}
|
97
|
+
/**
|
98
|
+
* This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.
|
99
|
+
*
|
100
|
+
* Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function
|
101
|
+
*
|
102
|
+
* @param element
|
103
|
+
* @param onVisit
|
104
|
+
*/
|
105
|
+
function walkUpAncestry(element, onVisit) {
|
106
|
+
return visit(element, onVisit);
|
107
|
+
}
|
108
|
+
function visit(node, onVisit) {
|
109
|
+
if (!node) {
|
110
|
+
return;
|
111
|
+
}
|
112
|
+
const result = onVisit(node);
|
113
|
+
if (result !== undefined) {
|
114
|
+
return result;
|
115
|
+
}
|
116
|
+
const { parentNode } = node;
|
117
|
+
return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);
|
118
|
+
}
|
119
|
+
function containsCrossShadowBoundary(element, maybeDescendant) {
|
120
|
+
return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));
|
121
|
+
}
|
122
|
+
function isCalciteFocusable(el) {
|
123
|
+
return typeof (el === null || el === void 0 ? void 0 : el.setFocus) === "function";
|
124
|
+
}
|
125
|
+
async function focusElement(el) {
|
126
|
+
if (!el) {
|
127
|
+
return;
|
128
|
+
}
|
129
|
+
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
130
|
+
}
|
131
|
+
const defaultSlotSelector = ":not([slot])";
|
132
|
+
function getSlotted(element, slotName, options) {
|
133
|
+
if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
|
134
|
+
options = slotName;
|
135
|
+
slotName = null;
|
136
|
+
}
|
137
|
+
const slotSelector = slotName
|
138
|
+
? Array.isArray(slotName)
|
139
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
140
|
+
: `[slot="${slotName}"]`
|
141
|
+
: defaultSlotSelector;
|
142
|
+
if (options === null || options === void 0 ? void 0 : options.all) {
|
143
|
+
return queryMultiple(element, slotSelector, options);
|
144
|
+
}
|
145
|
+
return querySingle(element, slotSelector, options);
|
146
|
+
}
|
147
|
+
function getDirectChildren(el, selector) {
|
148
|
+
return el ? Array.from(el.children || []).filter((child) => child === null || child === void 0 ? void 0 : child.matches(selector)) : [];
|
149
|
+
}
|
150
|
+
function queryMultiple(element, slotSelector, options) {
|
151
|
+
let matches = slotSelector === defaultSlotSelector
|
152
|
+
? getDirectChildren(element, defaultSlotSelector)
|
153
|
+
: Array.from(element.querySelectorAll(slotSelector));
|
154
|
+
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
155
|
+
matches = (options === null || options === void 0 ? void 0 : options.matches) ? matches.filter((el) => el === null || el === void 0 ? void 0 : el.matches(options.matches)) : matches;
|
156
|
+
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
157
|
+
return selector
|
158
|
+
? matches
|
159
|
+
.map((item) => Array.from(item.querySelectorAll(selector)))
|
160
|
+
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])
|
161
|
+
.filter((match) => !!match)
|
162
|
+
: matches;
|
163
|
+
}
|
164
|
+
function querySingle(element, slotSelector, options) {
|
165
|
+
let match = slotSelector === defaultSlotSelector
|
166
|
+
? getDirectChildren(element, defaultSlotSelector)[0] || null
|
167
|
+
: element.querySelector(slotSelector);
|
168
|
+
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
169
|
+
match = (options === null || options === void 0 ? void 0 : options.matches) ? ((match === null || match === void 0 ? void 0 : match.matches(options.matches)) ? match : null) : match;
|
170
|
+
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
171
|
+
return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
|
172
|
+
}
|
173
|
+
function filterDirectChildren(el, selector) {
|
174
|
+
return Array.from(el.children).filter((child) => child.matches(selector));
|
175
|
+
}
|
176
|
+
// set a default icon from a defined set or allow an override with an icon name string
|
177
|
+
function setRequestedIcon(iconObject, iconValue, matchedValue) {
|
178
|
+
if (typeof iconValue === "string" && iconValue !== "") {
|
179
|
+
return iconValue;
|
180
|
+
}
|
181
|
+
else if (iconValue === "") {
|
182
|
+
return iconObject[matchedValue];
|
183
|
+
}
|
184
|
+
}
|
185
|
+
function intersects(rect1, rect2) {
|
186
|
+
return !(rect2.left > rect1.right ||
|
187
|
+
rect2.right < rect1.left ||
|
188
|
+
rect2.top > rect1.bottom ||
|
189
|
+
rect2.bottom < rect1.top);
|
190
|
+
}
|
191
|
+
/**
|
192
|
+
* This helper makes sure that boolean aria attributes are properly converted to a string.
|
193
|
+
*
|
194
|
+
* It should only be used for aria attributes that require a string value of "true" or "false".
|
195
|
+
*
|
196
|
+
* @param value
|
197
|
+
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
198
|
+
*/
|
199
|
+
function toAriaBoolean(value) {
|
200
|
+
return Boolean(value).toString();
|
201
|
+
}
|
202
|
+
/**
|
203
|
+
* This helper returns true if the pointer event fired from the primary button of the device.
|
204
|
+
*
|
205
|
+
* See https://www.w3.org/TR/pointerevents/#the-button-property.
|
206
|
+
*
|
207
|
+
* @param event
|
208
|
+
* @returns {boolean}
|
209
|
+
*/
|
210
|
+
function isPrimaryPointerButton(event) {
|
211
|
+
return !!(event.isPrimary && event.button === 0);
|
212
|
+
}
|
213
|
+
|
214
|
+
export { getSlotted as a, getElementDir as b, closestElementCrossShadowBoundary as c, containsCrossShadowBoundary as d, getThemeName as e, focusElement as f, getElementProp as g, ensureId as h, isPrimaryPointerButton as i, isCalciteFocusable as j, intersects as k, filterDirectChildren as l, getRootNode as m, nodeListToArray as n, queryElementRoots as q, setRequestedIcon as s, toAriaBoolean as t };
|
215
|
+
|
216
|
+
//# sourceMappingURL=p-32a67cb2.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"p-32a67cb2.js","mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,QAAQ,CAAC,EAAE,EAAE;AAC7B,EAAE,IAAI,CAAC,EAAE,EAAE;AACX,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;AACpE,CAAC;AACM,SAAS,eAAe,CAAC,QAAQ,EAAE;AAC1C,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,Q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,KAAK,KAAK,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC5E,CAAC;AACD;AACO,SAAS,gBAAgB,CAAC,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE;AACtE,EAAE,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,EAAE,EAAE;AACzD,IAAI,OAAO,SAAS,CAAC;AACrB,GAAG;AACH,OAAO,IAAI,SAAS,KAAK,EAAE,EAAE;AAC7B,IAAI,OAAO,UAAU,CAAC,YAAY,CAAC,CAAC;AACpC,GAAG;AACH,CAAC;AACM,SAAS,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE;AACzC,EAAE,OAAO,EAAE,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK;AACnC,IAAI,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI;AAC5B,IAAI,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,MAAM;AAC5B,IAAI,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;AAC9B,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,aAAa,CAAC,KAAK,EAAE;AACrC,EAAE,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC;AACnC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,sBAAsB,CAAC,KAAK,EAAE;AAC9C,EAAE,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC;AACnD;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/dom.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { CSS_UTILITY } from \"./resources\";\nimport { guid } from \"./guid\";\n/**\n * This helper will guarantee an ID on the provided element.\n *\n * If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.\n *\n * @param el\n * @returns {string} The element's ID.\n */\nexport function ensureId(el) {\n if (!el) {\n return \"\";\n }\n return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);\n}\nexport function nodeListToArray(nodeList) {\n return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);\n}\nexport function getThemeName(el) {\n const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);\n return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains(\"calcite-theme-dark\")) ? \"dark\" : \"light\";\n}\nexport function getElementDir(el) {\n const prop = \"dir\";\n const selector = `[${prop}]`;\n const closest = closestElementCrossShadowBoundary(el, selector);\n return closest ? closest.getAttribute(prop) : \"ltr\";\n}\nexport function getElementProp(el, prop, fallbackValue) {\n const selector = `[${prop}]`;\n const closest = el.closest(selector);\n return closest ? closest.getAttribute(prop) : fallbackValue;\n}\nexport function getRootNode(el) {\n return el.getRootNode();\n}\nexport function getHost(root) {\n return root.host || null;\n}\n/**\n * This helper queries an element's rootNode and any ancestor rootNodes.\n *\n * If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.\n *\n * @param element\n * @param root0\n * @param root0.selector\n * @param root0.id\n * @returns {Element} The element.\n */\nexport function queryElementRoots(element, { selector, id }) {\n // Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.\n // Based on: https://stackoverflow.com/q/54520554/194216\n function queryFrom(el) {\n if (!el) {\n return null;\n }\n if (el.assignedSlot) {\n el = el.assignedSlot;\n }\n const rootNode = getRootNode(el);\n const found = id\n ? \"getElementById\" in rootNode\n ? /*\n Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.\n https://github.com/Esri/calcite-components/pull/4280\n */\n rootNode.getElementById(id)\n : null\n : selector\n ? rootNode.querySelector(selector)\n : null;\n const host = getHost(rootNode);\n return found ? found : host ? queryFrom(host) : null;\n }\n return queryFrom(element);\n}\nexport function closestElementCrossShadowBoundary(element, selector) {\n // based on https://stackoverflow.com/q/54520554/194216\n function closestFrom(el) {\n return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;\n }\n return closestFrom(element);\n}\n/**\n * This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.\n *\n * Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function\n *\n * @param element\n * @param onVisit\n */\nexport function walkUpAncestry(element, onVisit) {\n return visit(element, onVisit);\n}\nfunction visit(node, onVisit) {\n if (!node) {\n return;\n }\n const result = onVisit(node);\n if (result !== undefined) {\n return result;\n }\n const { parentNode } = node;\n return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);\n}\nexport function containsCrossShadowBoundary(element, maybeDescendant) {\n return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));\n}\nexport function isCalciteFocusable(el) {\n return typeof (el === null || el === void 0 ? void 0 : el.setFocus) === \"function\";\n}\nexport async function focusElement(el) {\n if (!el) {\n return;\n }\n return isCalciteFocusable(el) ? el.setFocus() : el.focus();\n}\nconst defaultSlotSelector = \":not([slot])\";\nexport function getSlotted(element, slotName, options) {\n if (slotName && !Array.isArray(slotName) && typeof slotName !== \"string\") {\n options = slotName;\n slotName = null;\n }\n const slotSelector = slotName\n ? Array.isArray(slotName)\n ? slotName.map((name) => `[slot=\"${name}\"]`).join(\",\")\n : `[slot=\"${slotName}\"]`\n : defaultSlotSelector;\n if (options === null || options === void 0 ? void 0 : options.all) {\n return queryMultiple(element, slotSelector, options);\n }\n return querySingle(element, slotSelector, options);\n}\nfunction getDirectChildren(el, selector) {\n return el ? Array.from(el.children || []).filter((child) => child === null || child === void 0 ? void 0 : child.matches(selector)) : [];\n}\nfunction queryMultiple(element, slotSelector, options) {\n let matches = slotSelector === defaultSlotSelector\n ? getDirectChildren(element, defaultSlotSelector)\n : Array.from(element.querySelectorAll(slotSelector));\n matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);\n matches = (options === null || options === void 0 ? void 0 : options.matches) ? matches.filter((el) => el === null || el === void 0 ? void 0 : el.matches(options.matches)) : matches;\n const selector = options === null || options === void 0 ? void 0 : options.selector;\n return selector\n ? matches\n .map((item) => Array.from(item.querySelectorAll(selector)))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])\n .filter((match) => !!match)\n : matches;\n}\nfunction querySingle(element, slotSelector, options) {\n let match = slotSelector === defaultSlotSelector\n ? getDirectChildren(element, defaultSlotSelector)[0] || null\n : element.querySelector(slotSelector);\n match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;\n match = (options === null || options === void 0 ? void 0 : options.matches) ? ((match === null || match === void 0 ? void 0 : match.matches(options.matches)) ? match : null) : match;\n const selector = options === null || options === void 0 ? void 0 : options.selector;\n return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;\n}\nexport function filterDirectChildren(el, selector) {\n return Array.from(el.children).filter((child) => child.matches(selector));\n}\n// set a default icon from a defined set or allow an override with an icon name string\nexport function setRequestedIcon(iconObject, iconValue, matchedValue) {\n if (typeof iconValue === \"string\" && iconValue !== \"\") {\n return iconValue;\n }\n else if (iconValue === \"\") {\n return iconObject[matchedValue];\n }\n}\nexport function intersects(rect1, rect2) {\n return !(rect2.left > rect1.right ||\n rect2.right < rect1.left ||\n rect2.top > rect1.bottom ||\n rect2.bottom < rect1.top);\n}\n/**\n * This helper makes sure that boolean aria attributes are properly converted to a string.\n *\n * It should only be used for aria attributes that require a string value of \"true\" or \"false\".\n *\n * @param value\n * @returns {string} The string conversion of a boolean value (\"true\" | \"false\").\n */\nexport function toAriaBoolean(value) {\n return Boolean(value).toString();\n}\n/**\n * This helper returns true if the pointer event fired from the primary button of the device.\n *\n * See https://www.w3.org/TR/pointerevents/#the-button-property.\n *\n * @param event\n * @returns {boolean}\n */\nexport function isPrimaryPointerButton(event) {\n return !!(event.isPrimary && event.button === 0);\n}\n"],"version":3}
|