@esri/solutions-components 0.2.3 → 0.2.4
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 +1 -1
- 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,284 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { E as EWorkflowType } from './interfaces-1bdfc3a8.js';
|
7
|
+
|
8
|
+
/** @license
|
9
|
+
* Copyright 2022 Esri
|
10
|
+
*
|
11
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
12
|
+
* you may not use this file except in compliance with the License.
|
13
|
+
* You may obtain a copy of the License at
|
14
|
+
*
|
15
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
16
|
+
*
|
17
|
+
* Unless required by applicable law or agreed to in writing, software
|
18
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
19
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
20
|
+
* See the License for the specific language governing permissions and
|
21
|
+
* limitations under the License.
|
22
|
+
*/
|
23
|
+
/**
|
24
|
+
* Query the layer for OIDs based on any user drawn geometries or buffers
|
25
|
+
*
|
26
|
+
* @param geometries Array of geometries used for the selection of ids from the layer
|
27
|
+
* @param layer the layer to retrieve ids from
|
28
|
+
*
|
29
|
+
* @returns Promise with the OIDs of features from the layer that interset the provided geometries
|
30
|
+
*/
|
31
|
+
async function queryObjectIds(geometries, layer) {
|
32
|
+
let ids = [];
|
33
|
+
const queryDefs = geometries.map(g => _intersectQuery(g, layer));
|
34
|
+
const results = await Promise.all(queryDefs);
|
35
|
+
results.forEach(resultIds => {
|
36
|
+
ids = [
|
37
|
+
...ids,
|
38
|
+
...resultIds
|
39
|
+
];
|
40
|
+
});
|
41
|
+
return ids;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Query the layer for features that have the provided OIDs
|
45
|
+
*
|
46
|
+
* @param ids array of ObjectIDs to be used to query for features in a layer
|
47
|
+
* @param layer the layer to retrieve features from
|
48
|
+
*
|
49
|
+
* @returns Promise with the featureSet from the layer that match the provided ids
|
50
|
+
*/
|
51
|
+
async function queryFeaturesByID(ids, layer) {
|
52
|
+
const q = layer.createQuery();
|
53
|
+
q.outFields = ["*"];
|
54
|
+
q.objectIds = ids;
|
55
|
+
return layer.queryFeatures(q);
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* Query the layer for features that intersect the provided geometry
|
59
|
+
*
|
60
|
+
* @param start zero-based index indicating where to begin retrieving features
|
61
|
+
* @param layer the layer to retrieve features from
|
62
|
+
* @param geometry the geometry to apply to the spatial filter
|
63
|
+
* @param featuresCollection
|
64
|
+
*
|
65
|
+
* @returns Promise with the featureSet from the layer that match the provided ids
|
66
|
+
*/
|
67
|
+
async function queryFeaturesByGeometry(start, layer, geometry, featuresCollection) {
|
68
|
+
const num = layer.capabilities.query.maxRecordCount;
|
69
|
+
const query = {
|
70
|
+
start,
|
71
|
+
num,
|
72
|
+
outFields: ["*"],
|
73
|
+
returnGeometry: true,
|
74
|
+
geometry
|
75
|
+
};
|
76
|
+
const result = await layer.queryFeatures(query);
|
77
|
+
featuresCollection[layer.title] = featuresCollection[layer.title].concat(result.features);
|
78
|
+
return result.exceededTransferLimit ?
|
79
|
+
queryFeaturesByGeometry(start += num, layer, geometry, featuresCollection) :
|
80
|
+
Promise.resolve(featuresCollection);
|
81
|
+
}
|
82
|
+
/**
|
83
|
+
* Query the layer for the extent of features with the provided OIDs
|
84
|
+
*
|
85
|
+
* @param ids array of ObjectIDs to be used to query for features in a layer
|
86
|
+
* @param layer the layer to query
|
87
|
+
*
|
88
|
+
* @returns Promise with the Extent of all features that match the provided ids
|
89
|
+
*/
|
90
|
+
async function queryExtent(ids, layer) {
|
91
|
+
const query = layer.createQuery();
|
92
|
+
query.objectIds = ids;
|
93
|
+
return layer.queryExtent(query);
|
94
|
+
}
|
95
|
+
/**
|
96
|
+
* Union geometries based on geometry type
|
97
|
+
*
|
98
|
+
* @param geometries Array of geometries to union
|
99
|
+
* @param geometryEngine the geometry engine instance to perform the unions
|
100
|
+
*
|
101
|
+
* @returns Array of single unioned geometry for each geometry type
|
102
|
+
*/
|
103
|
+
function getQueryGeoms(geometries, geometryEngine) {
|
104
|
+
// sort and union by geom type so we have a single geom for each type to query with
|
105
|
+
return [
|
106
|
+
..._unionGeoms(geometries, "polygon", geometryEngine),
|
107
|
+
..._unionGeoms(geometries, "polyline", geometryEngine),
|
108
|
+
..._unionGeoms(geometries, "point", geometryEngine)
|
109
|
+
];
|
110
|
+
}
|
111
|
+
/**
|
112
|
+
* Get the appropriate ObjectIds query for the provided selection set
|
113
|
+
*
|
114
|
+
* @param selectionSet the current selection set to fetch the query for
|
115
|
+
* @param geometryEngine the geometry engine instance to perform the union of the user drawn graphics or buffers
|
116
|
+
*
|
117
|
+
* @returns A promise that will resolve with ids that intersect the selection sets geometries
|
118
|
+
*/
|
119
|
+
function getSelectionSetQuery(selectionSet, geometryEngine) {
|
120
|
+
let q = Promise.resolve([]);
|
121
|
+
if (selectionSet.workflowType !== EWorkflowType.REFINE) {
|
122
|
+
if (!selectionSet.buffer) {
|
123
|
+
const queryGeoms = getQueryGeoms(selectionSet.geometries, geometryEngine);
|
124
|
+
q = queryObjectIds(queryGeoms, selectionSet.layerView.layer);
|
125
|
+
}
|
126
|
+
else {
|
127
|
+
// buffer is a single unioned geom
|
128
|
+
q = queryObjectIds([selectionSet.buffer], selectionSet.layerView.layer);
|
129
|
+
}
|
130
|
+
}
|
131
|
+
return q;
|
132
|
+
}
|
133
|
+
/**
|
134
|
+
* Union geometries based on geometry type
|
135
|
+
*
|
136
|
+
* @param geometries array of geometries to union
|
137
|
+
* @param type the current geometry type to union
|
138
|
+
* @param geometryEngine the geometry engine instance to perform the unions
|
139
|
+
*
|
140
|
+
* @returns Array of single unioned geometry for the provided geometry type
|
141
|
+
*/
|
142
|
+
function _unionGeoms(geometries, type, geometryEngine) {
|
143
|
+
const geoms = geometries.filter(g => g.type === type);
|
144
|
+
return geoms.length <= 1 ? geoms : [geometryEngine.union(geoms)];
|
145
|
+
}
|
146
|
+
/**
|
147
|
+
* Query the layer for ObjectIds of features that intersect the provided geometry
|
148
|
+
*
|
149
|
+
* @param geometry Geometry used for the selection of ids from the select layer view
|
150
|
+
* @param layer the layer to query
|
151
|
+
*
|
152
|
+
* @returns Promise that will contain the selected ids
|
153
|
+
*/
|
154
|
+
async function _intersectQuery(geometry, layer) {
|
155
|
+
const q = layer.createQuery();
|
156
|
+
q.spatialRelationship = "intersects";
|
157
|
+
q.geometry = geometry;
|
158
|
+
return layer.queryObjectIds(q);
|
159
|
+
}
|
160
|
+
|
161
|
+
/** @license
|
162
|
+
* Copyright 2022 Esri
|
163
|
+
*
|
164
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
165
|
+
* you may not use this file except in compliance with the License.
|
166
|
+
* You may obtain a copy of the License at
|
167
|
+
*
|
168
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
169
|
+
*
|
170
|
+
* Unless required by applicable law or agreed to in writing, software
|
171
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
172
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
173
|
+
* See the License for the specific language governing permissions and
|
174
|
+
* limitations under the License.
|
175
|
+
*/
|
176
|
+
/**
|
177
|
+
* Gets the layer names from the current map
|
178
|
+
*
|
179
|
+
* @param mapView the map view to fetch the layer names from
|
180
|
+
*
|
181
|
+
* @returns Promise resolving with an array of layer names
|
182
|
+
*
|
183
|
+
*/
|
184
|
+
async function getMapLayerNames(mapView) {
|
185
|
+
let layerNames = [];
|
186
|
+
await mapView.when(() => {
|
187
|
+
layerNames = mapView.map.layers.toArray().map((l) => {
|
188
|
+
return l.title;
|
189
|
+
});
|
190
|
+
});
|
191
|
+
return layerNames;
|
192
|
+
}
|
193
|
+
/**
|
194
|
+
* Get a layer view by title
|
195
|
+
*
|
196
|
+
* @param mapView the map view to fetch the layer from
|
197
|
+
* @param title the title if the layer to fetch
|
198
|
+
*
|
199
|
+
* @returns Promise resolving with the fetched layer view
|
200
|
+
*
|
201
|
+
*/
|
202
|
+
async function getMapLayerView(mapView, title) {
|
203
|
+
const layer = await getMapLayer(mapView, title);
|
204
|
+
return layer ? await mapView.whenLayerView(layer) : undefined;
|
205
|
+
}
|
206
|
+
/**
|
207
|
+
* Get a layer by title
|
208
|
+
*
|
209
|
+
* @param mapView the map view to fetch the layer from
|
210
|
+
* @param title the title if the layer to fetch
|
211
|
+
*
|
212
|
+
* @returns Promise resolving with the fetched layer
|
213
|
+
*
|
214
|
+
*/
|
215
|
+
async function getMapLayer(mapView, title) {
|
216
|
+
let layers = [];
|
217
|
+
await mapView.when(() => {
|
218
|
+
layers = mapView.map.layers.toArray().filter((l) => {
|
219
|
+
return l.title === title;
|
220
|
+
});
|
221
|
+
});
|
222
|
+
return layers.length > 0 ? layers[0] : undefined;
|
223
|
+
}
|
224
|
+
/**
|
225
|
+
* Highlight features by OID
|
226
|
+
*
|
227
|
+
* @param ids the OIDs from the layer to highlight
|
228
|
+
* @param layerView the layer view to highlight
|
229
|
+
* @param mapView the map view used if updateExtent is true
|
230
|
+
* @param updateExtent optional (default false) boolean to indicate if we should zoom to the extent
|
231
|
+
*
|
232
|
+
* @returns Promise resolving with the highlight handle
|
233
|
+
*
|
234
|
+
*/
|
235
|
+
async function highlightFeatures(ids, layerView, mapView, updateExtent = false) {
|
236
|
+
if (updateExtent) {
|
237
|
+
await goToSelection(ids, layerView, mapView, false);
|
238
|
+
}
|
239
|
+
return layerView.highlight(ids);
|
240
|
+
}
|
241
|
+
/**
|
242
|
+
* Flash features by OID
|
243
|
+
*
|
244
|
+
* @param ids the OIDs from the layer to highlight
|
245
|
+
* @param layerView the layer view to highlight
|
246
|
+
*
|
247
|
+
* @returns Promise resolving when the operation is complete
|
248
|
+
*
|
249
|
+
*/
|
250
|
+
async function flashSelection(ids, layerView) {
|
251
|
+
const featureFilter = {
|
252
|
+
objectIds: ids
|
253
|
+
};
|
254
|
+
layerView.featureEffect = {
|
255
|
+
filter: featureFilter,
|
256
|
+
includedEffect: "invert(100%)",
|
257
|
+
excludedEffect: "blur(5px)"
|
258
|
+
};
|
259
|
+
setTimeout(() => {
|
260
|
+
layerView.featureEffect = undefined;
|
261
|
+
}, 1300);
|
262
|
+
}
|
263
|
+
/**
|
264
|
+
* Zoom to features based on OID
|
265
|
+
*
|
266
|
+
* @param ids the OIDs from the layer to go to
|
267
|
+
* @param layerView the layer view that contains the OIDs
|
268
|
+
* @param mapView the map view to show the extent change
|
269
|
+
* @param flashFeatures optional (default true) boolean to indicate if we should flash the features
|
270
|
+
*
|
271
|
+
* @returns Promise resolving when the operation is complete
|
272
|
+
*
|
273
|
+
*/
|
274
|
+
async function goToSelection(ids, layerView, mapView, flashFeatures = true) {
|
275
|
+
const result = await queryExtent(ids, layerView.layer);
|
276
|
+
await mapView.goTo(result.extent);
|
277
|
+
if (flashFeatures) {
|
278
|
+
await flashSelection(ids, layerView);
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
export { goToSelection as a, getMapLayerView as b, getSelectionSetQuery as c, getQueryGeoms as d, queryFeaturesByID as e, queryFeaturesByGeometry as f, getMapLayerNames as g, highlightFeatures as h, queryObjectIds as q };
|
283
|
+
|
284
|
+
//# sourceMappingURL=mapViewUtils-809947c8.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"mapViewUtils-809947c8.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;;AAkBA;;;;;;;;AAQO,eAAe,cAAc,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ils.ts","./src/utils/mapViewUtils.ts"],"sourcesContent":["/** @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 { EWorkflowType, ISelectionSet, IQueryExtentResponse } from \"./interfaces\";\r\n\r\n/**\r\n * Query the layer for OIDs 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 layer\r\n * @param layer the layer to retrieve ids from\r\n *\r\n * @returns Promise with the OIDs of features from the layer that interset the provided geometries\r\n */\r\nexport async function queryObjectIds(\r\n geometries: __esri.Geometry[],\r\n layer: __esri.FeatureLayer\r\n): Promise<number[]> {\r\n let ids = [];\r\n const queryDefs = geometries.map(g => _intersectQuery(g, layer))\r\n const results = await Promise.all(queryDefs);\r\n results.forEach(resultIds => {\r\n ids = [\r\n ...ids,\r\n ...resultIds\r\n ]\r\n });\r\n return ids;\r\n}\r\n\r\n/**\r\n * Query the layer for features that have the provided OIDs\r\n *\r\n * @param ids array of ObjectIDs to be used to query for features in a layer\r\n * @param layer the layer to retrieve features from\r\n *\r\n * @returns Promise with the featureSet from the layer that match the provided ids\r\n */\r\n export async function queryFeaturesByID(\r\n ids: number[],\r\n layer: __esri.FeatureLayer\r\n): Promise<__esri.FeatureSet> {\r\n const q = layer.createQuery();\r\n q.outFields = [\"*\"];\r\n q.objectIds = ids;\r\n return layer.queryFeatures(q);\r\n}\r\n\r\n/**\r\n * Query the layer for features that intersect the provided geometry\r\n *\r\n * @param start zero-based index indicating where to begin retrieving features\r\n * @param layer the layer to retrieve features from\r\n * @param geometry the geometry to apply to the spatial filter\r\n * @param featuresCollection\r\n *\r\n * @returns Promise with the featureSet from the layer that match the provided ids\r\n */\r\nexport async function queryFeaturesByGeometry(\r\n start: number,\r\n layer: __esri.FeatureLayer,\r\n geometry: __esri.Geometry,\r\n featuresCollection: {[key: string]: __esri.Graphic[]}\r\n): Promise<{[key: string]: __esri.Graphic[]}> {\r\n const num = layer.capabilities.query.maxRecordCount;\r\n const query = {\r\n start,\r\n num,\r\n outFields: [\"*\"],\r\n returnGeometry: true,\r\n geometry\r\n };\r\n\r\n const result = await layer.queryFeatures(query);\r\n featuresCollection[layer.title] = featuresCollection[layer.title].concat(\r\n result.features\r\n );\r\n\r\n return result.exceededTransferLimit ?\r\n queryFeaturesByGeometry(start += num, layer, geometry, featuresCollection) :\r\n Promise.resolve(featuresCollection);\r\n}\r\n\r\n/**\r\n * Query the layer for the extent of features with the provided OIDs\r\n *\r\n * @param ids array of ObjectIDs to be used to query for features in a layer\r\n * @param layer the layer to query\r\n *\r\n * @returns Promise with the Extent of all features that match the provided ids\r\n */\r\n export async function queryExtent(\r\n ids: number[],\r\n layer: __esri.FeatureLayer\r\n): Promise<IQueryExtentResponse> {\r\n const query = layer.createQuery();\r\n query.objectIds = ids;\r\n return layer.queryExtent(query);\r\n}\r\n\r\n/**\r\n * Union geometries based on geometry type\r\n *\r\n * @param geometries Array of geometries to union\r\n * @param geometryEngine the geometry engine instance to perform the unions\r\n *\r\n * @returns Array of single unioned geometry for each geometry type\r\n */\r\nexport function getQueryGeoms(\r\n geometries: __esri.Geometry[],\r\n geometryEngine: __esri.geometryEngine\r\n): __esri.Geometry[] {\r\n // sort and union by geom type so we have a single geom for each type to query with\r\n return [\r\n ..._unionGeoms(geometries, \"polygon\", geometryEngine),\r\n ..._unionGeoms(geometries, \"polyline\", geometryEngine),\r\n ..._unionGeoms(geometries, \"point\", geometryEngine)\r\n ];\r\n}\r\n\r\n/**\r\n * Get the appropriate ObjectIds query for the provided selection set\r\n *\r\n * @param selectionSet the current selection set to fetch the query for\r\n * @param geometryEngine the geometry engine instance to perform the union of the user drawn graphics or buffers\r\n *\r\n * @returns A promise that will resolve with ids that intersect the selection sets geometries\r\n */\r\nexport function getSelectionSetQuery(\r\n selectionSet: ISelectionSet,\r\n geometryEngine: __esri.geometryEngine\r\n): Promise<number[]> {\r\n let q = Promise.resolve([]);\r\n if (selectionSet.workflowType !== EWorkflowType.REFINE) {\r\n if (!selectionSet.buffer) {\r\n const queryGeoms = getQueryGeoms(\r\n selectionSet.geometries,\r\n geometryEngine\r\n );\r\n q = queryObjectIds(\r\n queryGeoms,\r\n selectionSet.layerView.layer\r\n );\r\n } else {\r\n // buffer is a single unioned geom\r\n q = queryObjectIds(\r\n [selectionSet.buffer],\r\n selectionSet.layerView.layer\r\n );\r\n }\r\n }\r\n return q;\r\n}\r\n\r\n/**\r\n * Union geometries based on geometry type\r\n *\r\n * @param geometries array of geometries to union\r\n * @param type the current geometry type to union\r\n * @param geometryEngine the geometry engine instance to perform the unions\r\n *\r\n * @returns Array of single unioned geometry for the provided geometry type\r\n */\r\n function _unionGeoms(\r\n geometries: __esri.Geometry[],\r\n type: string,\r\n geometryEngine: __esri.geometryEngine\r\n): __esri.Geometry[] {\r\n const geoms = geometries.filter(g => g.type === type);\r\n return geoms.length <= 1 ? geoms : [geometryEngine.union(geoms)];\r\n}\r\n\r\n/**\r\n * Query the layer for ObjectIds of features that intersect the provided geometry\r\n *\r\n * @param geometry Geometry used for the selection of ids from the select layer view\r\n * @param layer the layer to query\r\n *\r\n * @returns Promise that will contain the selected ids\r\n */\r\nasync function _intersectQuery(\r\n geometry: __esri.Geometry,\r\n layer: __esri.FeatureLayer\r\n): Promise<number[]> {\r\n const q = layer.createQuery();\r\n q.spatialRelationship = \"intersects\";\r\n q.geometry = geometry;\r\n return layer.queryObjectIds(q);\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 { queryExtent } from \"./queryUtils\";\r\n\r\n/**\r\n * Gets the layer names from the current map\r\n * \r\n * @param mapView the map view to fetch the layer names from\r\n *\r\n * @returns Promise resolving with an array of layer names\r\n *\r\n */\r\nexport async function getMapLayerNames(\r\n mapView: __esri.MapView\r\n): Promise<string[]> {\r\n let layerNames = [];\r\n await mapView.when(() => {\r\n layerNames = mapView.map.layers.toArray().map((l) => {\r\n return l.title;\r\n });\r\n });\r\n return layerNames;\r\n}\r\n\r\n/**\r\n * Get a layer view by title\r\n * \r\n * @param mapView the map view to fetch the layer from\r\n * @param title the title if the layer to fetch\r\n *\r\n * @returns Promise resolving with the fetched layer view\r\n *\r\n */\r\nexport async function getMapLayerView(\r\n mapView: __esri.MapView,\r\n title: string\r\n): Promise<__esri.FeatureLayerView> {\r\n const layer = await getMapLayer(mapView, title);\r\n return layer ? await mapView.whenLayerView(layer) : undefined;\r\n}\r\n\r\n/**\r\n * Get a layer by title\r\n * \r\n * @param mapView the map view to fetch the layer from\r\n * @param title the title if the layer to fetch\r\n *\r\n * @returns Promise resolving with the fetched layer\r\n *\r\n */\r\nexport async function getMapLayer(\r\n mapView: __esri.MapView,\r\n title: string\r\n): Promise<__esri.FeatureLayer> {\r\n let layers = [];\r\n await mapView.when(() => {\r\n layers = mapView.map.layers.toArray().filter((l) => {\r\n return l.title === title;\r\n });\r\n });\r\n return layers.length > 0 ? layers[0] : undefined;\r\n}\r\n\r\n/**\r\n * Highlight features by OID\r\n * \r\n * @param ids the OIDs from the layer to highlight\r\n * @param layerView the layer view to highlight\r\n * @param mapView the map view used if updateExtent is true\r\n * @param updateExtent optional (default false) boolean to indicate if we should zoom to the extent\r\n *\r\n * @returns Promise resolving with the highlight handle\r\n *\r\n */\r\nexport async function highlightFeatures(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView,\r\n mapView: __esri.MapView,\r\n updateExtent = false\r\n): Promise<__esri.Handle> {\r\n if (updateExtent) {\r\n await goToSelection(ids, layerView, mapView, false);\r\n }\r\n return layerView.highlight(ids);\r\n}\r\n\r\n/**\r\n * Flash features by OID\r\n * \r\n * @param ids the OIDs from the layer to highlight\r\n * @param layerView the layer view to highlight\r\n *\r\n * @returns Promise resolving when the operation is complete\r\n *\r\n */\r\nexport async function flashSelection(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView\r\n): Promise<void> {\r\n const featureFilter = {\r\n objectIds: ids\r\n } as __esri.FeatureFilter;\r\n layerView.featureEffect = {\r\n filter: featureFilter,\r\n includedEffect: \"invert(100%)\",\r\n excludedEffect: \"blur(5px)\"\r\n } as __esri.FeatureEffect;\r\n\r\n setTimeout(() => {\r\n layerView.featureEffect = undefined;\r\n }, 1300);\r\n}\r\n\r\n/**\r\n * Zoom to features based on OID\r\n * \r\n * @param ids the OIDs from the layer to go to\r\n * @param layerView the layer view that contains the OIDs\r\n * @param mapView the map view to show the extent change\r\n * @param flashFeatures optional (default true) boolean to indicate if we should flash the features\r\n * \r\n * @returns Promise resolving when the operation is complete\r\n *\r\n */\r\nexport async function goToSelection(\r\n ids: number[],\r\n layerView: __esri.FeatureLayerView,\r\n mapView: __esri.MapView,\r\n flashFeatures = true\r\n): Promise<void> {\r\n const result = await queryExtent(ids, layerView.layer);\r\n await mapView.goTo(result.extent);\r\n if (flashFeatures) {\r\n await flashSelection(ids, layerView);\r\n }\r\n}\r\n"],"version":3}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"math-552c5420.js","mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACY,MAAC,KAAK,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;AAClE,MAAC,aAAa,GAAG,CAAC,KAAK,KAAK;AACxC,EAAE,MAAM,KAAK,GAAG,CAAC,EAAE,GAAG,KAAK,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC;AACvE,EAAE,IAAI,CAAC,KAAK,EAAE;AACd,IAAI,OAAO,CAAC,CAAC;AACb,GAAG;AACH,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;AACnB;AACA,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC;AACjC;AACA,KAAK,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAChC;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/math.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 */\nexport const clamp = (value, min, max) => Math.max(min, Math.min(value, max));\nexport const decimalPlaces = (value) => {\n const match = (\"\" + value).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\n if (!match) {\n return 0;\n }\n return Math.max(0, \n // Number of digits right of decimal point.\n (match[1] ? match[1].length : 0) -\n // Adjust for scientific notation.\n (match[2] ? +match[2] : 0));\n};\n"],"version":3}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"nonChromiumPlatformUtils-ee349005.js","mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,mBAAmB,CAAC,OAAO,EAAE;AACtC,EAAE,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,IAAI,gBAAgB,CAAC,OAAO,CAAC,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G,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AACnD,IAAI,OAAO,CAAC,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;AACtD,IAAI,OAAO,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;AAChD,IAAI,OAAO,OAAO,CAAC;AACnB,GAAG,EAAE,iCAAiC,CAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,CAAC,CAAC,CAAC;AAClF,EAAE,OAAO;AACT,IAAI,KAAK,EAAE,YAAY,CAAC,KAAK,GAAG,YAAY,CAAC,IAAI;AACjD,IAAI,MAAM,EAAE,YAAY,CAAC,MAAM,GAAG,YAAY,CAAC,GAAG;AAClD,IAAI,CAAC,EAAE,YAAY,CAAC,IAAI;AACxB,IAAI,CAAC,EAAE,YAAY,CAAC,GAAG;AACvB,GAAG,CAAC;AACJ;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.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 { rectToClientRect } from \"@floating-ui/core\";\n/**\n * This module provides utils to fix positioning across shadow DOM in non-Chromium browsers\n *\n * It is based on floating-ui's distributable\n */\n/**\n * 👇 the following are needed to fix shadow DOM positioning 👇️\n *\n * @param element\n */\nfunction getTrueOffsetParent(element) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === \"fixed\") {\n return null;\n }\n return composedOffsetParent(element);\n}\n/**\n * Polyfills the old offsetParent behavior from before the spec was changed:\n * https://github.com/w3c/csswg-drafts/issues/159\n *\n * @param element\n */\nfunction composedOffsetParent(element) {\n let { offsetParent } = element;\n let ancestor = element;\n let foundInsideSlot = false;\n while (ancestor && ancestor !== offsetParent) {\n const { assignedSlot } = ancestor;\n if (assignedSlot) {\n let newOffsetParent = assignedSlot.offsetParent;\n if (getComputedStyle(assignedSlot).display === \"contents\") {\n const hadStyleAttribute = assignedSlot.hasAttribute(\"style\");\n const oldDisplay = assignedSlot.style.display;\n assignedSlot.style.display = getComputedStyle(ancestor).display;\n newOffsetParent = assignedSlot.offsetParent;\n assignedSlot.style.display = oldDisplay;\n if (!hadStyleAttribute) {\n assignedSlot.removeAttribute(\"style\");\n }\n }\n ancestor = assignedSlot;\n if (offsetParent !== newOffsetParent) {\n offsetParent = newOffsetParent;\n foundInsideSlot = true;\n }\n }\n else if (isShadowRoot(ancestor) && ancestor.host && foundInsideSlot) {\n break;\n }\n ancestor = (isShadowRoot(ancestor) && ancestor.host) || ancestor.parentNode;\n }\n return offsetParent;\n}\nfunction getElementRects(_ref) {\n const { reference, floating, strategy } = _ref;\n return {\n reference: getRectRelativeToOffsetParent(reference, getOffsetParent(floating), strategy),\n floating: { ...getDimensions(floating), x: 0, y: 0 }\n };\n}\nexport { getClippingRect, getElementRects, getOffsetParent };\n/**\n * ☝️ the following are needed to fix shadow DOM positioning ☝️\n */\n/**\n * 👇 the following are taken directly from floating-ui's ESM distributable to support the exports above 👇️\n *\n * **Notes**:\n * unused functions are removed\n * ESLint is disabled\n * TS-warnings are suppressed\n */\n/* eslint-disable */\nfunction isWindow(value) {\n return value && value.document && value.location && value.alert && value.setInterval;\n}\nfunction getWindow(node) {\n if (node == null) {\n return window;\n }\n if (!isWindow(node)) {\n const ownerDocument = node.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView || window : window;\n }\n return node;\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeName(node) {\n return isWindow(node) ? \"\" : node ? (node.nodeName || \"\").toLowerCase() : \"\";\n}\nfunction getUAString() {\n // @ts-ignore\n const uaData = navigator.userAgentData;\n if (uaData != null && uaData.brands) {\n return uaData.brands.map((item) => item.brand + \"/\" + item.version).join(\" \");\n }\n return navigator.userAgent;\n}\nfunction isHTMLElement(value) {\n return value instanceof getWindow(value).HTMLElement;\n}\nfunction isElement(value) {\n return value instanceof getWindow(value).Element;\n}\nfunction isNode(value) {\n return value instanceof getWindow(value).Node;\n}\nfunction isShadowRoot(node) {\n // Browsers without `ShadowRoot` support\n if (typeof ShadowRoot === \"undefined\") {\n return false;\n }\n const OwnElement = getWindow(node).ShadowRoot;\n return node instanceof OwnElement || node instanceof ShadowRoot;\n}\nfunction isOverflowElement(element) {\n // Firefox wants us to check `-x` and `-y` variations as well\n const { overflow, overflowX, overflowY, display } = getComputedStyle(element);\n return (/auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX) && ![\"inline\", \"contents\"].includes(display));\n}\nfunction isTableElement(element) {\n return [\"table\", \"td\", \"th\"].includes(getNodeName(element));\n}\nfunction isContainingBlock(element) {\n // TODO: Try and use feature detection here instead\n const isFirefox = /firefox/i.test(getUAString());\n const css = getComputedStyle(element); // This is non-exhaustive but covers the most common CSS properties that\n // create a containing block.\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n return (css.transform !== \"none\" ||\n css.perspective !== \"none\" ||\n (isFirefox && css.willChange === \"filter\") ||\n (isFirefox && (css.filter ? css.filter !== \"none\" : false)) ||\n [\"transform\", \"perspective\"].some((value) => css.willChange.includes(value)) ||\n [\"paint\", \"layout\", \"strict\", \"content\"].some(\n // TS 4.1 compat\n (value) => {\n const contain = css.contain;\n return contain != null ? contain.includes(value) : false;\n }));\n}\nfunction isLayoutViewport() {\n // Not Safari\n return !/^((?!chrome|android).)*safari/i.test(getUAString()); // Feature detection for this fails in various ways\n // • Always-visible scrollbar or not\n // • Width of <html>, etc.\n // const vV = win.visualViewport;\n // return vV ? Math.abs(win.innerWidth / vV.scale - vV.width) < 0.5 : true;\n}\nfunction isLastTraversableNode(node) {\n return [\"html\", \"body\", \"#document\"].includes(getNodeName(node));\n}\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy) {\n var _win$visualViewport$o, _win$visualViewport, _win$visualViewport$o2, _win$visualViewport2;\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n let scaleX = 1;\n let scaleY = 1;\n if (includeScale && isHTMLElement(element)) {\n scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n }\n const win = isElement(element) ? getWindow(element) : window;\n const addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n const x = (clientRect.left +\n (addVisualOffsets\n ? (_win$visualViewport$o =\n (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null\n ? _win$visualViewport$o\n : 0\n : 0)) /\n scaleX;\n const y = (clientRect.top +\n (addVisualOffsets\n ? (_win$visualViewport$o2 =\n (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null\n ? _win$visualViewport$o2\n : 0\n : 0)) /\n scaleY;\n const width = clientRect.width / scaleX;\n const height = clientRect.height / scaleY;\n return {\n width,\n height,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x,\n x,\n y\n };\n}\nfunction getDocumentElement(node) {\n return ((isNode(node) ? node.ownerDocument : node.document) || window.document).documentElement;\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.pageXOffset,\n scrollTop: element.pageYOffset\n };\n}\nfunction getWindowScrollBarX(element) {\n // If <html> has a CSS width greater than the viewport, then this will be\n // incorrect for RTL.\n // @ts-ignore\n return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;\n}\nfunction isScaled(element) {\n // @ts-ignore\n const rect = getBoundingClientRect(element);\n return round(rect.width) !== element.offsetWidth || round(rect.height) !== element.offsetHeight;\n}\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const rect = getBoundingClientRect(element, // @ts-ignore - checked above (TS 4.1 compat)\n isOffsetParentAnElement && isScaled(offsetParent), strategy === \"fixed\");\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = {\n x: 0,\n y: 0\n };\n if (isOffsetParentAnElement || (!isOffsetParentAnElement && strategy !== \"fixed\")) {\n if (getNodeName(offsetParent) !== \"body\" || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n // @ts-ignore\n const offsetRect = getBoundingClientRect(offsetParent, true);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n else if (documentElement) {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n return {\n x: rect.left + scroll.scrollLeft - offsets.x,\n y: rect.top + scroll.scrollTop - offsets.y,\n width: rect.width,\n height: rect.height\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === \"html\") {\n return node;\n }\n return (\n // this is a quicker (but less type safe) way to save quite some bytes from the bundle\n // @ts-ignore\n node.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n node.parentNode || // DOM Element detected\n (isShadowRoot(node) ? node.host : null) || // ShadowRoot detected\n getDocumentElement(node) // fallback\n );\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n if (isShadowRoot(currentNode)) {\n currentNode = currentNode.host;\n }\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n }\n else {\n const parent = currentNode.parentNode;\n currentNode = isShadowRoot(parent) ? parent.host : parent;\n }\n }\n return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element) {\n const window = getWindow(element);\n let offsetParent = getTrueOffsetParent(element);\n while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === \"static\") {\n offsetParent = getTrueOffsetParent(offsetParent);\n }\n if (offsetParent &&\n (getNodeName(offsetParent) === \"html\" ||\n (getNodeName(offsetParent) === \"body\" &&\n getComputedStyle(offsetParent).position === \"static\" &&\n !isContainingBlock(offsetParent)))) {\n return window;\n }\n return offsetParent || getContainingBlock(element) || window;\n}\nfunction getDimensions(element) {\n if (isHTMLElement(element)) {\n return {\n width: element.offsetWidth,\n height: element.offsetHeight\n };\n }\n // @ts-ignore\n const rect = getBoundingClientRect(element);\n return {\n width: rect.width,\n height: rect.height\n };\n}\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const layoutViewport = isLayoutViewport();\n if (layoutViewport || (!layoutViewport && strategy === \"fixed\")) {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\nfunction getDocumentRect(element) {\n var _element$ownerDocumen;\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n const width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n const height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body || html).direction === \"rtl\") {\n x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n // @ts-ignore assume body is always available\n return node.ownerDocument.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list) {\n var _node$ownerDocument;\n if (list === void 0) {\n list = [];\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.body);\n const win = getWindow(scrollableAncestor);\n const target = isBody\n ? [win].concat(win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [])\n : scrollableAncestor;\n const updatedList = list.concat(target);\n return isBody\n ? updatedList // @ts-ignore: isBody tells us target will be an HTMLElement here\n : updatedList.concat(getOverflowAncestors(target));\n}\nfunction contains(parent, child) {\n const rootNode = child.getRootNode == null ? void 0 : child.getRootNode(); // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n } // then fallback to custom implementation with Shadow DOM support\n else if (rootNode && isShadowRoot(rootNode)) {\n let next = child;\n do {\n // use `===` replace node.isSameNode()\n if (next && parent === next) {\n return true;\n } // @ts-ignore: need a better way to handle this...\n next = next.parentNode || next.host;\n } while (next);\n }\n return false;\n}\nfunction getNearestParentCapableOfEscapingClipping(element, clippingAncestors) {\n let currentNode = element;\n while (currentNode && !isLastTraversableNode(currentNode) && !clippingAncestors.includes(currentNode)) {\n if (isElement(currentNode) && [\"absolute\", \"fixed\"].includes(getComputedStyle(currentNode).position)) {\n break;\n }\n const parentNode = getParentNode(currentNode);\n currentNode = isShadowRoot(parentNode) ? parentNode.host : parentNode;\n }\n return currentNode;\n}\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, false, strategy === \"fixed\");\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n return {\n top,\n left,\n x: left,\n y: top,\n right: left + element.clientWidth,\n bottom: top + element.clientHeight,\n width: element.clientWidth,\n height: element.clientHeight\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingParent, strategy) {\n if (clippingParent === \"viewport\") {\n return rectToClientRect(getViewportRect(element, strategy));\n }\n if (isElement(clippingParent)) {\n return getInnerBoundingClientRect(clippingParent, strategy);\n }\n return rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping ancestor\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\nfunction getClippingAncestors(element) {\n // @ts-ignore\n const clippingAncestors = getOverflowAncestors(element);\n const nearestEscapableParent = getNearestParentCapableOfEscapingClipping(element, clippingAncestors);\n let clipperElement = null;\n if (nearestEscapableParent && isHTMLElement(nearestEscapableParent)) {\n const offsetParent = getOffsetParent(nearestEscapableParent);\n if (isOverflowElement(nearestEscapableParent)) {\n clipperElement = nearestEscapableParent;\n }\n else if (isHTMLElement(offsetParent)) {\n clipperElement = offsetParent;\n }\n }\n if (!isElement(clipperElement)) {\n return [];\n } // @ts-ignore isElement check ensures we return Array<Element>\n return clippingAncestors.filter((clippingAncestors) => clipperElement &&\n isElement(clippingAncestors) &&\n contains(clippingAncestors, clipperElement) &&\n getNodeName(clippingAncestors) !== \"body\");\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors\nfunction getClippingRect(_ref) {\n let { element, boundary, rootBoundary, strategy } = _ref;\n const mainClippingAncestors = boundary === \"clippingAncestors\" ? getClippingAncestors(element) : [].concat(boundary);\n const clippingAncestors = [...mainClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n"],"version":3}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"observers-31601001.js","mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE;AAIxD,EAAE,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;AACrC,EAAE,OAAO,IAAI,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AACzC,CAAC;AACD,SAAS,WAAW,CAAC,IAAI,EAAE;AAC3B;AACA,EAAE,MAAM,wBAAwB,SAAS,MAAM,CAAC,gBAAgB,CAAC;AACjE,IAAI,WAAW,CAAC,QAAQ,EAAE;AAC1B,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;AACtB,MAAM,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;AAC9B,MAAM,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC/B,KAAK;AACL,IAAI,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE;AAC7B,MAAM,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;AACnD,MAAM,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC5C,KAAK;AACL,IAAI,SAAS,CAAC,MAAM,EAAE;AACtB,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC;AACrG,MAAM,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;AAC9B,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC,CAAC;AAC/C,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;AACxB,MAAM,kBAAkB,CAAC,OAAO,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AAChG,KAAK;AACL,GAAG;AACH,EAAE,OAAO,CAAC,YAAY;AACtB,IAAI,QAAQ,IAAI,KAAK,cAAc;AACnC,QAAQ,MAAM,CAAC,oBAAoB;AACnC,QAAQ,IAAI,KAAK,UAAU;AAC3B,UAAU,wBAAwB;AAClC,UAAU,MAAM,CAAC,cAAc,EAAE;AACjC,GAAG,GAAG,CAAC;AACP;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/observers.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 { Build } from \"@stencil/core\";\n/**\n * This utility ensures observers are created only for browser contexts.\n *\n * @param type - the type of observer to create\n * @param callback - the observer callback\n * @param options - the observer options\n */\nexport function createObserver(type, callback, options) {\n if (!Build.isBrowser) {\n return undefined;\n }\n const Observer = getObserver(type);\n return new Observer(callback, options);\n}\nfunction getObserver(type) {\n // based on https://github.com/whatwg/dom/issues/126#issuecomment-1049814948\n class ExtendedMutationObserver extends window.MutationObserver {\n constructor(callback) {\n super(callback);\n this.observedEntry = [];\n this.callback = callback;\n }\n observe(target, options) {\n this.observedEntry.push({ target, options });\n return super.observe(target, options);\n }\n unobserve(target) {\n const newObservedEntries = this.observedEntry.filter((observed) => observed.target !== target);\n this.observedEntry = [];\n this.callback(super.takeRecords(), this);\n this.disconnect();\n newObservedEntries.forEach((observed) => this.observe(observed.target, observed.options));\n }\n }\n return (function () {\n return (type === \"intersection\"\n ? window.IntersectionObserver\n : type === \"mutation\"\n ? ExtendedMutationObserver\n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AAE,sBAAsB,CAAC,CAAC;AACvF,IAAI,SAAS,CAAC,YAAY,CAAC,gBAAgB,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;AACnF,GAAG;AACH,CAAC;AACD;AACA;AACA;AACA;AACA;AACO,SAAS,4BAA4B,CAAC,SAAS,EAAE;AACxD,EAAE,IAAI,CAAC,8BAA8B,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE;AACtD,IAAI,OAAO;AACX,GAAG;AACH,EAAE,MAAM,CAAC,YAAY,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,8BAA8B,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACnF,EAAE,YAAY,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;AAC7D,EAAE,YAAY,CAAC,mBAAmB,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC;AACzD,EAAE,8BAA8B,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AACnD;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/openCloseComponent.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 */\nconst componentToTransitionListeners = new WeakMap();\nfunction transitionStart(event) {\n if (event.propertyName === this.openTransitionProp && event.target === this.transitionEl) {\n this.open ? this.onBeforeOpen() : this.onBeforeClose();\n }\n}\nfunction transitionEnd(event) {\n if (event.propertyName === this.openTransitionProp && event.target === this.transitionEl) {\n this.open ? this.onOpen() : this.onClose();\n }\n}\n/**\n * Helper to keep track of transition listeners on setTransitionEl and connectedCallback on OpenCloseComponent components.\n *\n * @param component\n */\nexport function connectOpenCloseComponent(component) {\n disconnectOpenCloseComponent(component);\n if (component.transitionEl) {\n const boundOnTransitionStart = transitionStart.bind(component);\n const boundOnTransitionEnd = transitionEnd.bind(component);\n componentToTransitionListeners.set(component, [\n component.transitionEl,\n boundOnTransitionStart,\n boundOnTransitionEnd\n ]);\n component.transitionEl.addEventListener(\"transitionstart\", boundOnTransitionStart);\n component.transitionEl.addEventListener(\"transitionend\", boundOnTransitionEnd);\n }\n}\n/**\n * Helper to tear down transition listeners on disconnectedCallback on OpenCloseComponent components.\n *\n * @param component\n */\nexport function disconnectOpenCloseComponent(component) {\n if (!componentToTransitionListeners.has(component)) {\n return;\n }\n const [transitionEl, start, end] = componentToTransitionListeners.get(component);\n transitionEl.removeEventListener(\"transitionstart\", start);\n transitionEl.removeEventListener(\"transitionend\", end);\n componentToTransitionListeners.delete(component);\n}\n"],"version":3}
|
@@ -5,8 +5,8 @@
|
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-15022d11.js';
|
7
7
|
import { l as loadModules } from './loadModules-d3b50f95.js';
|
8
|
-
import { a as EPageType, E as EWorkflowType, b as EExportType } from './interfaces-
|
9
|
-
import { a as goToSelection, b as getMapLayerView, c as getSelectionSetQuery, h as highlightFeatures } from './mapViewUtils-
|
8
|
+
import { a as EPageType, E as EWorkflowType, b as EExportType } from './interfaces-1bdfc3a8.js';
|
9
|
+
import { a as goToSelection, b as getMapLayerView, c as getSelectionSetQuery, h as highlightFeatures } from './mapViewUtils-809947c8.js';
|
10
10
|
import { s as state } from './publicNotificationStore-060c59c8.js';
|
11
11
|
import { g as getLocaleComponentStrings } from './locale-0e10d7e5.js';
|
12
12
|
import { g as getTotal, a as getSelectionIds } from './publicNotificationUtils-5cb5a607.js';
|
@@ -538,3 +538,5 @@ const PublicNotification = class {
|
|
538
538
|
PublicNotification.style = publicNotificationCss;
|
539
539
|
|
540
540
|
export { PublicNotification as public_notification };
|
541
|
+
|
542
|
+
//# sourceMappingURL=public-notification.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"public-notification.entry.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,+oEAA+oE;;MC+BhqE,kBAAkB;;;;;2BAkCF,IAAI;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,GAAG,YAAY,CAAC,CAAC,CAAqC,CAAC;GAC1E;;;;;;;;;;;","names":["utils.getTotal","utils.getSelectionIds"],"sources":["./src/components/public-notification/public-notification.css?tag=public-notification","./src/components/public-notification/public-notification.tsx"],"sourcesContent":["/** @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 .border-bottom-1 {\r\n border-width: 0px;\r\n border-bottom-width: 1px;\r\n border-style: solid;\r\n border-color: var(--calcite-ui-border-3);\r\n }\r\n \r\n .action-bar-size {\r\n height: 3.5rem;\r\n width: 100%;\r\n }\r\n \r\n .w-1-3 {\r\n width: 33.3%;\r\n }\r\n \r\n .w-1-4 {\r\n width: 25%;\r\n }\r\n \r\n .action-center {\r\n -webkit-box-align: center;\r\n -webkit-align-items: center;\r\n -ms-grid-row-align: center;\r\n align-items: center;\r\n -webkit-align-content: center;\r\n align-content: center;\r\n -webkit-box-pack: center;\r\n -webkit-justify-content: center;\r\n justify-content: center;\r\n }\r\n \r\n .width-full {\r\n width: 100%;\r\n }\r\n \r\n .height-full {\r\n height: 100%;\r\n }\r\n \r\n .padding-1 {\r\n padding: 1rem;\r\n }\r\n \r\n .padding-top-sides-1 {\r\n padding-block-start: 1rem;\r\n padding-inline-start: 1rem;\r\n padding-inline-end: 1rem;\r\n }\r\n \r\n .padding-sides-1 {\r\n padding-inline-start: 1rem;\r\n padding-inline-end: 1rem;\r\n }\r\n \r\n .padding-end-1-2 {\r\n padding-inline-end: .5rem;\r\n }\r\n \r\n .padding-top-1-2 {\r\n padding-block-start: .5rem;\r\n }\r\n \r\n .padding-top-1 {\r\n padding-top: 1rem;\r\n }\r\n \r\n .padding-bottom-1 {\r\n padding-bottom: 1rem;\r\n }\r\n \r\n .info-blue {\r\n /* This would be better but not the right color in light theme */\r\n /* color: var(--calcite-ui-info); */\r\n \r\n /* This is --calcite-ui-info value for dark theme*/\r\n color: #00A0FF;\r\n }\r\n \r\n .info-message {\r\n justify-content: center;\r\n display: grid;\r\n }\r\n \r\n .font-bold {\r\n font-weight: bold;\r\n }\r\n \r\n .display-flex {\r\n display: flex;\r\n }\r\n \r\n .display-block {\r\n display: block;\r\n }\r\n \r\n .display-none {\r\n display: none;\r\n }\r\n \r\n .main-label {\r\n float: left;\r\n }\r\n \r\n html[dir=\"rtl\"] .main-label {\r\n float: right;\r\n }\r\n \r\n .back-label:hover {\r\n cursor: pointer;\r\n color: var(--calcite-ui-brand-hover);\r\n }\r\n \r\n .border-bottom {\r\n border-bottom: 1px solid var(--calcite-ui-border-2);\r\n }\r\n \r\n .margin-side-1 {\r\n margin-inline-start: 1rem;\r\n margin-inline-end: 1rem;\r\n }\r\n \r\n .border-top {\r\n border-top: 1px solid var(--calcite-ui-border-2);\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 .padding-1-2 {\r\n padding: 0.5rem;\r\n }\r\n \r\n .list-border {\r\n border: 1px solid var(--calcite-ui-border-2);\r\n }\r\n \r\n .margin-sides-1 {\r\n margin-inline-start: 1rem;\r\n margin-inline-end: 1rem;\r\n }\r\n \r\n .margin-start-1-2 {\r\n margin-inline-start: 0.5rem;\r\n }\r\n \r\n .position-right {\r\n position: absolute;\r\n right: 1rem;\r\n }\r\n \r\n .position-right[dir=\"rtl\"] {\r\n position: absolute;\r\n left: 1rem;\r\n }\r\n \r\n .position-left {\r\n position: absolute;\r\n left: 1rem;\r\n }\r\n \r\n .position-left[dir=\"rtl\"] {\r\n position: absolute;\r\n right: 1rem;\r\n }\r\n \r\n .margin-top-0 {\r\n margin-block-start: 0 !important;\r\n }\r\n \r\n .height-1-1-2 {\r\n height: 1.5rem;\r\n }\r\n \r\n .main-background {\r\n background-color: var(--calcite-ui-foreground-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, Host, h, Listen, Prop, State, VNode, Watch } from \"@stencil/core\";\r\nimport { loadModules } from \"../../utils/loadModules\";\r\nimport { EExportType, EPageType, EWorkflowType, ISelectionSet } from \"../../utils/interfaces\";\r\nimport { goToSelection, getMapLayerView, highlightFeatures } from \"../../utils/mapViewUtils\";\r\nimport { getSelectionSetQuery } from \"../../utils/queryUtils\";\r\nimport state from \"../../utils/publicNotificationStore\";\r\nimport NewPublicNotification_T9n from \"../../assets/t9n/public-notification/resources.json\";\r\nimport { getLocaleComponentStrings } from \"../../utils/locale\";\r\nimport * as utils from \"../../utils/publicNotificationUtils\";\r\n\r\n@Component({\r\n tag: \"public-notification\",\r\n styleUrl: \"public-notification.css\",\r\n shadow: false,\r\n})\r\nexport class PublicNotification {\r\n //--------------------------------------------------------------------------\r\n //\r\n // Host element access\r\n //\r\n //--------------------------------------------------------------------------\r\n @Element() el: HTMLPublicNotificationElement;\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 //\r\n // Properties (protected)\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * boolean: Enabled when we have 1 or more selection sets that is enabled in the download pages.\r\n * By default all selection sets are enabled for download when they are first created.\r\n */\r\n @State() _downloadActive = true;\r\n\r\n /**\r\n * number: The number of selected features\r\n */\r\n @State() _numSelected = 0;\r\n\r\n /**\r\n * utils/interfaces/EPageType: LIST | SELECT | REFINE | PDF | CSV\r\n */\r\n @State() _pageType: EPageType = EPageType.LIST;\r\n\r\n /**\r\n * boolean: Save is enabled when we have 1 or more selected features\r\n */\r\n @State() _saveEnabled = false;\r\n\r\n /**\r\n * utils/interfaces/ISelectionSet: An array of user defined selection sets\r\n */\r\n @State() _selectionSets: ISelectionSet[] = [];\r\n\r\n /**\r\n * utils/interfaces/EWorkflowType: SEARCH | SELECT | SKETCH\r\n */\r\n @State() _selectionWorkflowType = EWorkflowType.SEARCH;\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 NewPublicNotification_T9n;\r\n\r\n /**\r\n * ISelectionSet: The current active selection set\r\n */\r\n protected _activeSelection: ISelectionSet;\r\n\r\n /**\r\n * HTMLPdfDownloadElement: The pdf tools element\r\n */\r\n protected _downloadTools: HTMLPdfDownloadElement;\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 * HTMLCalciteCheckboxElement: The remove duplicates checkbox element\r\n */\r\n protected _removeDuplicates: HTMLCalciteCheckboxElement;\r\n\r\n /**\r\n * HTMLMapSelectToolsElement: The select tools element\r\n */\r\n protected _selectTools: HTMLMapSelectToolsElement;\r\n\r\n //--------------------------------------------------------------------------\r\n //\r\n // Watch handlers\r\n //\r\n //--------------------------------------------------------------------------\r\n\r\n /**\r\n * Called each time the selectionSets prop is changed.\r\n */\r\n @Watch(\"_selectionSets\")\r\n async selectionSetsWatchHandler(\r\n v: ISelectionSet[],\r\n oldV: ISelectionSet[]\r\n ): Promise<void> {\r\n if (v && v !== oldV && v.length > 0) {\r\n const nonRefineSets = v.filter(ss => ss.workflowType !== EWorkflowType.REFINE)\r\n if (nonRefineSets.length === 0) {\r\n this._selectionSets = [];\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Called each time the pageType prop is changed.\r\n */\r\n @Watch(\"_pageType\")\r\n async pageTypeWatchHandler(\r\n pageType: EPageType,\r\n oldPageType: EPageType\r\n ): Promise<void> {\r\n this._clearHighlight();\r\n\r\n if (oldPageType === EPageType.SELECT || oldPageType === EPageType.REFINE) {\r\n // clear any draw shapes or buffers\r\n await this._clearSelection()\r\n }\r\n\r\n if (pageType !== EPageType.SELECT) {\r\n return this._highlightFeatures();\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 * Handle changes to the selection sets\r\n */\r\n @Listen(\"selectionSetsChanged\", { target: \"window\" })\r\n selectionSetsChanged(event: CustomEvent): void {\r\n this._selectionSets = [...event.detail];\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 * Renders the component.\r\n */\r\n render():void {\r\n const hasSelections = this._selectionSets.length > 0;\r\n return (\r\n <Host>\r\n <calcite-shell>\r\n <calcite-action-bar class=\"border-bottom-1 action-bar-size\" expand-disabled layout=\"horizontal\" slot=\"header\">\r\n {this._getActionGroup(\"list-check\", false, EPageType.LIST, this._translations?.myLists)}\r\n {this._getActionGroup(\"test-data\", !hasSelections, EPageType.REFINE, this._translations?.refineSelection)}\r\n {this._getActionGroup(\"file-pdf\", !hasSelections, EPageType.PDF, this._translations?.downloadPDF)}\r\n {this._getActionGroup(\"file-csv\", !hasSelections, EPageType.CSV, this._translations?.downloadCSV)}\r\n </calcite-action-bar>\r\n {this._getPage(this._pageType)}\r\n </calcite-shell>\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 [geometryEngine]: [\r\n __esri.geometryEngine\r\n ] = await loadModules([\r\n \"esri/geometry/geometryEngine\"\r\n ]);\r\n this._geometryEngine = geometryEngine;\r\n }\r\n\r\n /**\r\n * Get a calcite action group for the current action\r\n *\r\n * @param icon the icon to display for the current action\r\n * @param disabled should the action be disabled\r\n * @param pageType what page type will the action navigate to\r\n * @param tip information tip to display helpful details to end user\r\n *\r\n * @protected\r\n */\r\n protected _getActionGroup(\r\n icon: string,\r\n disabled: boolean,\r\n pageType: EPageType,\r\n tip: string\r\n ): VNode {\r\n return (\r\n <calcite-action-group class={\"action-center w-1-4\"} layout=\"horizontal\">\r\n <calcite-action\r\n active={this._pageType === pageType}\r\n alignment=\"center\"\r\n class=\"width-full height-full\"\r\n compact={false}\r\n disabled={disabled}\r\n icon={icon}\r\n id={icon}\r\n onClick={() => { this._setPageType(pageType) }}\r\n text=\"\"\r\n />\r\n <calcite-tooltip label=\"\" placement=\"bottom\" reference-element={icon}>\r\n <span>{tip}</span>\r\n </calcite-tooltip>\r\n </calcite-action-group>\r\n );\r\n }\r\n\r\n /**\r\n * Navigate to the defined page type\r\n *\r\n * @param pageType what page type will the action navigate to\r\n *\r\n * @protected\r\n */\r\n protected _setPageType(\r\n pageType: EPageType\r\n ): void {\r\n this._pageType = pageType;\r\n }\r\n\r\n /**\r\n * Navigate to the defined page type\r\n *\r\n * @param pageType what page type will the action navigate to\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n _getPage(\r\n pageType: EPageType\r\n ): VNode {\r\n let page: VNode;\r\n switch (pageType) {\r\n case EPageType.LIST:\r\n page = this._getListPage();\r\n break;\r\n\r\n case EPageType.SELECT:\r\n page = this._getSelectPage();\r\n break;\r\n\r\n case EPageType.REFINE:\r\n page = this._getRefinePage();\r\n break;\r\n\r\n case EPageType.PDF:\r\n page = this._getPDFPage();\r\n break;\r\n\r\n case EPageType.CSV:\r\n page = this._getCSVPage();\r\n break;\r\n\r\n }\r\n return page;\r\n }\r\n\r\n /**\r\n * Create the List page that shows as the initial home screen\r\n * This page is also used to show and selection sets that have been created\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _getListPage(): VNode {\r\n const hasSets = this._selectionSets.filter(ss => ss.workflowType !== EWorkflowType.REFINE).length > 0;\r\n const total = utils.getTotal(this._selectionSets);\r\n return hasSets ? (\r\n <calcite-panel>\r\n <div class=\"padding-top-sides-1\">\r\n <calcite-label class=\"font-bold\">{this._translations?.myLists}</calcite-label>\r\n </div>\r\n {this._getNotice(this._translations?.listHasSetsTip, \"padding-sides-1 padding-bottom-1\")}\r\n <div class=\"display-flex padding-sides-1\">\r\n <calcite-label class=\"font-bold width-full\">{this._translations?.addresseeLayer}\r\n <map-layer-picker\r\n mapView={this.mapView}\r\n onLayerSelectionChange={(evt) => this._layerSelectionChange(evt)}\r\n selectedLayers={this.addresseeLayer ? [this.addresseeLayer?.layer.title] : []}\r\n selectionMode={\"single\"}\r\n />\r\n </calcite-label>\r\n </div>\r\n <div class=\"padding-sides-1 height-1-1-2\">\r\n <div class=\"position-left\">\r\n <calcite-label alignment=\"start\" class=\"font-bold\">{this._translations?.notifications}</calcite-label>\r\n </div>\r\n <div class=\"position-right\">\r\n <calcite-input-message active class=\"info-blue margin-top-0\" scale=\"m\">{this._translations?.uniqueCout.replace(\"{{n}}\", total.toString())}</calcite-input-message>\r\n </div>\r\n </div>\r\n {\r\n hasSets ? this._getSelectionSetList() : (\r\n <div class=\"info-message\">\r\n <calcite-input-message active class=\"info-blue\" scale=\"m\">{this._translations?.noNotifications}</calcite-input-message>\r\n </div>\r\n )\r\n }\r\n <div class=\"display-flex padding-1\">\r\n <calcite-button onClick={() => { this._setPageType(EPageType.SELECT) }} width=\"full\">{this._translations?.add}</calcite-button>\r\n </div>\r\n </calcite-panel>\r\n ) : (\r\n <calcite-panel>\r\n <div class=\"padding-top-sides-1\">\r\n <calcite-label class=\"font-bold\">{this._translations?.myLists}</calcite-label>\r\n </div>\r\n <div class=\"padding-sides-1\">\r\n <calcite-label>{this._translations?.notifications}</calcite-label>\r\n </div>\r\n <div class=\"info-message padding-bottom-1\">\r\n <calcite-input-message active class=\"info-blue\" scale=\"m\">{this._translations?.noNotifications}</calcite-input-message>\r\n </div>\r\n {this._getNotice(this._translations?.selectLayerAndAdd, \"padding-sides-1 padding-bottom-1\")}\r\n <div class=\"display-flex padding-sides-1\">\r\n <calcite-label class=\"font-bold width-full\">{this._translations?.addresseeLayer}\r\n <map-layer-picker\r\n mapView={this.mapView}\r\n onLayerSelectionChange={(evt) => this._layerSelectionChange(evt)}\r\n selectedLayers={this.addresseeLayer ? [this.addresseeLayer?.layer.title] : []}\r\n selectionMode={\"single\"}\r\n />\r\n </calcite-label>\r\n </div>\r\n <div class=\"display-flex padding-1\">\r\n <calcite-button onClick={() => { this._setPageType(EPageType.SELECT) }} width=\"full\">{this._translations?.add}</calcite-button>\r\n </div>\r\n </calcite-panel>\r\n );\r\n }\r\n\r\n /**\r\n * Create the selection sets list node for the List page\r\n *\r\n * @returns selection sets list node\r\n * @protected\r\n */\r\n protected _getSelectionSetList(): VNode {\r\n return (\r\n <calcite-list class=\"list-border margin-sides-1\">\r\n {\r\n // REFINE is handled seperately from the core selection sets\r\n // You can only access after clicking the refine action\r\n this._selectionSets.reduce((prev, cur, i) => {\r\n if (cur.workflowType !== EWorkflowType.REFINE) {\r\n prev.push((\r\n <calcite-list-item\r\n description={this._translations.selectedFeatures.replace(\"{{n}}\", cur.selectedIds.length.toString())}\r\n label={cur.label}\r\n onClick={() => goToSelection(cur.selectedIds, cur.layerView, this.mapView)}\r\n >\r\n {this._getAction(true, \"pencil\", \"\", (evt): void => this._openSelection(cur, evt), false, \"actions-end\")}\r\n {this._getAction(true, \"x\", \"\", (evt): Promise<void> => this._deleteSelection(i, evt), false, \"actions-end\")}\r\n </calcite-list-item>\r\n ));\r\n }\r\n return prev;\r\n }, [])\r\n }\r\n </calcite-list>\r\n );\r\n }\r\n\r\n /**\r\n * Create the Select page that shows the selection workflows\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _getSelectPage(): VNode {\r\n const searchTip = `${this._translations?.selectSearchTip} ${this._translations?.optionalSearchDistance}`;\r\n const selectTip = `${this._translations?.selectLayerTip} ${this._translations?.optionalSearchDistance}`;\r\n const sketchTip = `${this._translations?.selectSketchTip} ${this._translations?.optionalSearchDistance}`;\r\n\r\n const noticeText = this._selectionWorkflowType === EWorkflowType.SELECT ? selectTip :\r\n this._selectionWorkflowType === EWorkflowType.SKETCH ? sketchTip : searchTip;\r\n\r\n return (\r\n <calcite-panel>\r\n {this._getLabel(this._translations?.stepTwoFull, true)}\r\n {this._getNotice(noticeText)}\r\n <div class={\"padding-1\"}>\r\n <map-select-tools\r\n class=\"font-bold\"\r\n isUpdate={!!this._activeSelection}\r\n mapView={this.mapView}\r\n onSelectionSetChange={(evt) => this._updateForSelection(evt)}\r\n onWorkflowTypeChange={(evt) => this._updateForWorkflowType(evt)}\r\n ref={(el) => { this._selectTools = el }}\r\n selectLayerView={this.addresseeLayer}\r\n selectionSet={this._activeSelection}\r\n />\r\n </div>\r\n <div class=\"padding-sides-1 padding-bottom-1\" style={{ \"align-items\": \"end\", \"display\": \"flex\" }}>\r\n <calcite-icon class=\"info-blue padding-end-1-2\" icon=\"feature-layer\" scale=\"s\" />\r\n <calcite-input-message active class=\"info-blue\" scale=\"m\">\r\n {this._translations?.selectedAddresses.replace(\"{{n}}\", this._numSelected.toString())}\r\n </calcite-input-message>\r\n </div>\r\n {\r\n this._getPageNavButtons(\r\n this._translations?.done,\r\n this._numSelected === 0,\r\n (): void => { void this._saveSelection() },\r\n this._translations?.cancel,\r\n false,\r\n (): void => { void this._home() }\r\n )\r\n }\r\n </calcite-panel>\r\n );\r\n }\r\n\r\n /**\r\n * Create the Refine page that users can interactively add/remove features from existing selection sets\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _getRefinePage(): VNode {\r\n return (\r\n <calcite-panel>\r\n {this._getLabel(this._translations?.refineSelection)}\r\n {this._getNotice(this._translations?.refineTip, \"padding-sides-1\")}\r\n <refine-selection\r\n addresseeLayer={this.addresseeLayer}\r\n mapView={this.mapView}\r\n selectionSets={this._selectionSets}\r\n />\r\n </calcite-panel>\r\n );\r\n }\r\n\r\n /**\r\n * Create the PDF download page that shows the download options\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _getPDFPage(): VNode {\r\n return this._getDownloadPage(EExportType.PDF);\r\n }\r\n\r\n /**\r\n * Create the CSV download page that shows the download options\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _getCSVPage(): VNode {\r\n return this._getDownloadPage(EExportType.CSV);\r\n }\r\n\r\n /**\r\n * Create the main download page that has the shared aspects of both PDF and CSV\r\n * But only show the current PDF or CSV page content\r\n *\r\n * @param type EExportType of the current type expected\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _getDownloadPage(\r\n type: EExportType\r\n ): VNode {\r\n const isPdf = type === EExportType.PDF;\r\n return (\r\n <calcite-panel>\r\n <div>\r\n <div class=\"padding-top-sides-1\">\r\n <calcite-label class=\"font-bold\">\r\n {isPdf ? this._translations?.pdfDownloads : this._translations?.csvDownloads}\r\n </calcite-label>\r\n <calcite-label>{this._translations?.notifications}</calcite-label>\r\n </div>\r\n {this._getSelectionLists()}\r\n <div class=\"margin-side-1 padding-top-1 border-bottom\" />\r\n <div class=\"padding-top-sides-1\">\r\n <calcite-label disabled={!this._downloadActive} layout=\"inline\">\r\n <calcite-checkbox disabled={!this._downloadActive} ref={(el) => { this._removeDuplicates = el }} />\r\n {this._translations?.removeDuplicate}\r\n </calcite-label>\r\n </div>\r\n <div class={isPdf ? \"\" : \"display-none\"}>\r\n {this._getLabel(this._translations?.selectPDFLabelOption, false, !this._downloadActive)}\r\n <div class={\"padding-sides-1\"}>\r\n <pdf-download\r\n disabled={!this._downloadActive}\r\n layerView={this.addresseeLayer}\r\n ref={(el) => { this._downloadTools = el }}\r\n />\r\n </div>\r\n </div>\r\n <div class=\"padding-1 display-flex\">\r\n <calcite-button\r\n disabled={!this._downloadActive}\r\n onClick={isPdf ? () => this._downloadPDF() : () => this._downloadCSV()}\r\n width=\"full\"\r\n >\r\n {isPdf ? this._translations?.downloadPDF : this._translations?.downloadCSV}\r\n </calcite-button>\r\n </div>\r\n </div>\r\n </calcite-panel>\r\n );\r\n }\r\n\r\n /**\r\n * Create the stacked navigation buttons for a page\r\n *\r\n * @param topLabel the label to use for the button on top\r\n * @param topDisabled should the button be disabled\r\n * @param topFunc the fucntion to execute when the button is clicked\r\n * @param bottomLabel the label to use for the button on bottom\r\n * @param bottomDisabled should the button be disabled\r\n * @param bottomFunc the fucntion to execute when the button is clicked\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _getPageNavButtons(\r\n topLabel: string,\r\n topDisabled: boolean,\r\n topFunc: () => void,\r\n bottomLabel: string,\r\n bottomDisabled: boolean,\r\n bottomFunc: () => void\r\n ): VNode {\r\n return (\r\n <div>\r\n <div class=\"display-flex padding-top-sides-1\">\r\n <calcite-button\r\n disabled={topDisabled}\r\n onClick={topFunc}\r\n width=\"full\"\r\n >\r\n {topLabel}\r\n </calcite-button>\r\n </div>\r\n <div class=\"display-flex padding-top-1-2 padding-sides-1\">\r\n <calcite-button\r\n appearance=\"outline\"\r\n disabled={bottomDisabled}\r\n onClick={bottomFunc}\r\n width=\"full\"\r\n >\r\n {bottomLabel}\r\n </calcite-button>\r\n </div>\r\n </div>\r\n )\r\n }\r\n\r\n /**\r\n * Create an informational notice\r\n *\r\n * @param message the message to display in the notice\r\n * @param noticeClass any custom css for the notice (default is \"padding-1\")\r\n *\r\n * @returns the notice node\r\n * @protected\r\n */\r\n protected _getNotice(\r\n message: string,\r\n noticeClass = \"padding-1\"\r\n ): VNode {\r\n return (\r\n <calcite-notice active class={noticeClass} color=\"green\" icon=\"lightbulb\">\r\n <div slot=\"message\">{message}</div>\r\n </calcite-notice>\r\n );\r\n }\r\n\r\n /**\r\n * Create a calcite label\r\n *\r\n * @param label value to display in the label\r\n * @param disableSpacing should extra calcite defined spacing be applied\r\n * @param disabled should the label be disabled\r\n *\r\n * @returns the label node\r\n * @protected\r\n */\r\n protected _getLabel(\r\n label: string,\r\n disableSpacing = false,\r\n disabled = false\r\n ): VNode {\r\n return (\r\n <div class=\"padding-top-sides-1\">\r\n <calcite-label\r\n class=\"font-bold\"\r\n disable-spacing={disableSpacing}\r\n disabled={disabled}\r\n >\r\n {label}\r\n </calcite-label>\r\n </div>\r\n );\r\n }\r\n\r\n /**\r\n * Get selection set list node with checkbox for Download pages\r\n *\r\n * @returns the list node\r\n * @protected\r\n */\r\n protected _getSelectionLists(): VNode {\r\n return this._selectionSets.reduce((prev, cur) => {\r\n if (cur.workflowType !== EWorkflowType.REFINE) {\r\n if (!this._downloadActive && cur.download) {\r\n this._downloadActive = true;\r\n }\r\n prev.push((\r\n <div class=\"display-flex padding-sides-1 padding-bottom-1\">\r\n <calcite-checkbox checked={cur.download} onClick={() => { void this._toggleDownload(cur.id) }} />\r\n <calcite-list class=\"list-border margin-start-1-2 w-100\" id=\"download-list\">\r\n <calcite-list-item\r\n description={this._translations.selectedFeatures.replace(\"{{n}}\", cur.selectedIds.length.toString())}\r\n disabled={!cur.download}\r\n label={cur.label}\r\n onClick={() => { void this._toggleDownload(cur.id) }}\r\n />\r\n </calcite-list>\r\n </div>\r\n ));\r\n }\r\n return prev;\r\n }, []) || (<div />);\r\n }\r\n\r\n /**\r\n * Toggle the disabled state for the download options based on user selection\r\n *\r\n * @param id the selection set id to toggle\r\n *\r\n * @protected\r\n */\r\n protected async _toggleDownload(\r\n id: number\r\n ): Promise<void> {\r\n let isActive = false;\r\n this._selectionSets = this._selectionSets.map(ss => {\r\n ss.download = ss.id === id ? !ss.download : ss.download;\r\n isActive = ss.download ? true : isActive;\r\n return ss;\r\n });\r\n this._downloadActive = isActive;\r\n await this._highlightFeatures();\r\n }\r\n\r\n /**\r\n * Download all selection sets as PDF\r\n *\r\n * @protected\r\n */\r\n protected _downloadPDF(): Promise<void> {\r\n const ids = utils.getSelectionIds(this._getDownloadSelectionSets());\r\n return this._downloadTools.downloadPDF(ids, this._removeDuplicates.checked);\r\n }\r\n\r\n /**\r\n * Download all selection sets as CSV\r\n *\r\n * @protected\r\n */\r\n protected _downloadCSV(): Promise<void> {\r\n const ids = utils.getSelectionIds(this._getDownloadSelectionSets());\r\n return this._downloadTools.downloadCSV(ids, this._removeDuplicates.checked);\r\n }\r\n\r\n /**\r\n * Get all enabled selection sets\r\n *\r\n * @returns the selection sets\r\n * @protected\r\n */\r\n protected _getDownloadSelectionSets(): ISelectionSet[] {\r\n return this._selectionSets.filter(ss => {\r\n return ss.download || ss.workflowType === EWorkflowType.REFINE;\r\n });\r\n }\r\n\r\n /**\r\n * Store the current workflow type\r\n *\r\n * @protected\r\n */\r\n protected _updateForWorkflowType(\r\n evt: CustomEvent\r\n ): void {\r\n this._selectionWorkflowType = evt.detail;\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 * Store the number of selected features and if it's more than one enable save\r\n *\r\n * @returns the page node\r\n * @protected\r\n */\r\n protected _updateForSelection(evt: CustomEvent): void {\r\n this._numSelected = evt.detail;\r\n this._saveEnabled = this._numSelected > 0;\r\n }\r\n\r\n /**\r\n * Clear the selection and navigate to the home page\r\n *\r\n * @returns Promise when the function has completed\r\n * @protected\r\n */\r\n protected async _home(): Promise<void> {\r\n await this._clearSelection();\r\n this._setPageType(EPageType.LIST);\r\n }\r\n\r\n /**\r\n * Fetch the layer defined in the selection change event\r\n *\r\n * @returns Promise when the function has completed\r\n * @protected\r\n */\r\n protected async _layerSelectionChange(\r\n evt: CustomEvent\r\n ): Promise<void> {\r\n const title: string = evt?.detail?.length > 0 ? evt.detail[0] : \"\";\r\n if (title !== this.addresseeLayer?.layer.title) {\r\n this.addresseeLayer = await getMapLayerView(this.mapView, title);\r\n await this._updateSelectionSets(this.addresseeLayer);\r\n }\r\n }\r\n\r\n /**\r\n * Update selection sets when the addressee layer changes.\r\n * Will remove any \"refine\" selection set.\r\n * Will use stored search, select, and sketch geometries and any buffers to select from the new addressee layer.\r\n *\r\n * @param layerView The new addressee layer view to select from\r\n *\r\n * @returns Promise when the function has completed\r\n * @protected\r\n */\r\n protected async _updateSelectionSets(\r\n layerView: __esri.FeatureLayerView\r\n ): Promise<void> {\r\n const _selectionSets = this._selectionSets.filter(\r\n selectionSet => selectionSet.workflowType !== EWorkflowType.REFINE\r\n );\r\n const oidDefs = [];\r\n _selectionSets.forEach(selectionSet => {\r\n selectionSet.layerView = layerView;\r\n selectionSet.selectedIds = [];\r\n oidDefs.push(getSelectionSetQuery(selectionSet, this._geometryEngine));\r\n });\r\n\r\n return Promise.all(oidDefs).then(async (results): Promise<void> => {\r\n results.forEach((result, i) => {\r\n _selectionSets[i].selectedIds = result;\r\n });\r\n await this._highlightFeatures();\r\n this._selectionSets = [\r\n ..._selectionSets\r\n ];\r\n });\r\n }\r\n\r\n /**\r\n * Update the selection sets with any new selections from the select tools\r\n *\r\n * @returns Promise when the function has completed\r\n * @protected\r\n */\r\n protected async _saveSelection(): Promise<void> {\r\n const results = await this._selectTools?.getSelection();\r\n const isUpdate = this._selectTools?.isUpdate;\r\n\r\n this._selectionSets = isUpdate ? this._selectionSets.map(ss => {\r\n return ss.id === results.id ? results : ss;\r\n }) : [\r\n ...this._selectionSets,\r\n results\r\n ];\r\n return this._home();\r\n }\r\n\r\n /**\r\n * Clear any selections\r\n *\r\n * @returns Promise when the function has completed\r\n * @protected\r\n */\r\n protected async _clearSelection(): Promise<void> {\r\n await this._selectTools?.clearSelection();\r\n this._numSelected = 0;\r\n this._activeSelection = undefined;\r\n }\r\n\r\n /**\r\n * Delete the selection at the defined index\r\n *\r\n * @param index number that defines what selection set to delete\r\n *\r\n * @protected\r\n */\r\n protected _deleteSelection(\r\n index: number,\r\n evt: CustomEvent\r\n ): Promise<void> {\r\n evt.stopPropagation();\r\n this._selectionSets = this._selectionSets.filter((ss, i) => {\r\n if (i !== index) {\r\n return ss;\r\n }\r\n });\r\n return this._highlightFeatures();\r\n }\r\n\r\n /**\r\n * Open the selection set for further adjustment\r\n *\r\n * @protected\r\n */\r\n protected _openSelection(\r\n selectionSet: ISelectionSet,\r\n evt: CustomEvent\r\n ): void {\r\n evt.stopPropagation();\r\n this._activeSelection = selectionSet;\r\n this._pageType = EPageType.SELECT;\r\n }\r\n\r\n /**\r\n * Highlight any selected features in the map\r\n *\r\n * @protected\r\n */\r\n protected async _highlightFeatures(): Promise<void> {\r\n this._clearHighlight();\r\n const ids = utils.getSelectionIds(this._selectionSets);\r\n if (ids.length > 0) {\r\n state.highlightHandle = await highlightFeatures(\r\n ids,\r\n this.addresseeLayer,\r\n this.mapView\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Clear any highlighted features in the map\r\n *\r\n * @protected\r\n */\r\n protected _clearHighlight(): void {\r\n state.highlightHandle?.remove();\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 NewPublicNotification_T9n;\r\n }\r\n}\r\n"],"version":3}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"publicNotificationStore-060c59c8.js","mappings":";;;;;;;AAAA;;;;;;;;;;;;;;;MAkBM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAC;;EAEpC,aAAa,EAAE,EAAE;;EAEjB,eAAe,EAAE,SAAS;CAC7B,EAAE;AAEH,MAAM,yBAAyB,GAAG,IAAI,WAAW,CAAC,sBAAsB,EAAE;EACtE,OAAO,EAAE,IAAI;EACb,UAAU,EAAE,KAAK;EACjB,QAAQ,EAAE,IAAI;CACjB,CAAC,CAAC;AAEH,QAAQ,CAAC,eAAe,EAAE;EACtB,aAAa,CAAC,yBAAyB,CAAC,CAAC;AAC7C,CAAC,CAAC;;;;","names":[],"sources":["./src/utils/publicNotificationStore.ts"],"sourcesContent":["/** @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 { createStore } from \"@stencil/store\";\r\n\r\nconst { state, onChange } = createStore({\r\n // List of layers added and managed by the component\r\n managedLayers: [],\r\n // Handle: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Handles.html#Handle\r\n highlightHandle: undefined\r\n});\r\n\r\nconst managedLayersChangedEvent = new CustomEvent(\"managedLayersChanged\", {\r\n bubbles: true,\r\n cancelable: false,\r\n composed: true\r\n});\r\n\r\nonChange(\"managedLayers\", () => {\r\n dispatchEvent(managedLayersChangedEvent);\r\n});\r\n\r\nexport default state;"],"version":3}
|