@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,1121 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './p-58c69df2.js';
|
7
|
+
import { f as filter } from './p-d48a24e6.js';
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './p-600e23c6.js';
|
9
|
+
import { g as guid } from './p-a80b3880.js';
|
10
|
+
import { T as TEXT, C as ComboboxChildSelector, b as getItemAncestors, c as getItemChildren, h as hasActiveChildren, d as ComboboxItem$1, e as ComboboxItemGroup, g as getAncestors, a as getDepth } from './p-eb976965.js';
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './p-dbad98e8.js';
|
12
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './p-3f6b0af4.js';
|
13
|
+
import { c as createObserver } from './p-9a9955db.js';
|
14
|
+
import { u as updateHostInteraction } from './p-7daea1df.js';
|
15
|
+
import { i as isPrimaryPointerButton, t as toAriaBoolean, g as getElementProp, a as getSlotted } from './p-32a67cb2.js';
|
16
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './p-2e9ed892.js';
|
17
|
+
import { d as debounce } from './p-4e32bf8c.js';
|
18
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './p-5cf33602.js';
|
19
|
+
import { g as getMapLayerNames } from './p-c20bd963.js';
|
20
|
+
import { s as state } from './p-5b0d7c7d.js';
|
21
|
+
import './p-729708a3.js';
|
22
|
+
import './p-f04fdb9a.js';
|
23
|
+
import './p-f759a6e7.js';
|
24
|
+
|
25
|
+
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
26
|
+
|
27
|
+
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
28
|
+
const itemUidPrefix = "combobox-item-";
|
29
|
+
const chipUidPrefix = "combobox-chip-";
|
30
|
+
const labelUidPrefix = "combobox-label-";
|
31
|
+
const listboxUidPrefix = "combobox-listbox-";
|
32
|
+
const inputUidPrefix = "combobox-input-";
|
33
|
+
const Combobox = class {
|
34
|
+
constructor(hostRef) {
|
35
|
+
registerInstance(this, hostRef);
|
36
|
+
this.calciteLookupChange = createEvent(this, "calciteLookupChange", 6);
|
37
|
+
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 6);
|
38
|
+
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 6);
|
39
|
+
this.calciteComboboxChipDismiss = createEvent(this, "calciteComboboxChipDismiss", 6);
|
40
|
+
this.calciteComboboxBeforeClose = createEvent(this, "calciteComboboxBeforeClose", 6);
|
41
|
+
this.calciteComboboxClose = createEvent(this, "calciteComboboxClose", 6);
|
42
|
+
this.calciteComboboxBeforeOpen = createEvent(this, "calciteComboboxBeforeOpen", 6);
|
43
|
+
this.calciteComboboxOpen = createEvent(this, "calciteComboboxOpen", 6);
|
44
|
+
//--------------------------------------------------------------------------
|
45
|
+
//
|
46
|
+
// Public Properties
|
47
|
+
//
|
48
|
+
//--------------------------------------------------------------------------
|
49
|
+
/**
|
50
|
+
* When `true`, displays and positions the component.
|
51
|
+
*
|
52
|
+
* @deprecated use `open` instead.
|
53
|
+
*/
|
54
|
+
this.active = false;
|
55
|
+
/**When `true`, displays and positions the component. */
|
56
|
+
this.open = false;
|
57
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
58
|
+
this.disabled = false;
|
59
|
+
/** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */
|
60
|
+
this.maxItems = 0;
|
61
|
+
/**
|
62
|
+
* Determines the type of positioning to use for the overlaid content.
|
63
|
+
*
|
64
|
+
* Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
|
65
|
+
*
|
66
|
+
* `"fixed"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
67
|
+
*
|
68
|
+
*/
|
69
|
+
this.overlayPositioning = "absolute";
|
70
|
+
/**
|
71
|
+
* When `true`, the component must have a value in order for the form to submit.
|
72
|
+
*
|
73
|
+
* @internal
|
74
|
+
*/
|
75
|
+
this.required = false;
|
76
|
+
/**
|
77
|
+
* Specifies the selection mode -
|
78
|
+
* `"multi"` (allow any number of selected items),
|
79
|
+
* `"single"` (allow only one selection), or
|
80
|
+
* `"ancestors"` (like `"multi"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).
|
81
|
+
*/
|
82
|
+
this.selectionMode = "multi";
|
83
|
+
/** Specifies the size of the component. */
|
84
|
+
this.scale = "m";
|
85
|
+
/** The component's value(s) from the selected `calcite-combobox-item`(s). */
|
86
|
+
this.value = null;
|
87
|
+
/**
|
88
|
+
* Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.
|
89
|
+
*
|
90
|
+
* @default "Remove tag"
|
91
|
+
*/
|
92
|
+
this.intlRemoveTag = TEXT.removeTag;
|
93
|
+
//--------------------------------------------------------------------------
|
94
|
+
//
|
95
|
+
// Private State/Props
|
96
|
+
//
|
97
|
+
//--------------------------------------------------------------------------
|
98
|
+
this.placement = defaultMenuPlacement;
|
99
|
+
this.internalValueChangeFlag = false;
|
100
|
+
this.items = [];
|
101
|
+
this.groupItems = [];
|
102
|
+
this.selectedItems = [];
|
103
|
+
this.visibleItems = [];
|
104
|
+
this.activeItemIndex = -1;
|
105
|
+
this.activeChipIndex = -1;
|
106
|
+
this.activeDescendant = "";
|
107
|
+
this.text = "";
|
108
|
+
this.textInput = null;
|
109
|
+
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
110
|
+
this.resizeObserver = createObserver("resize", () => this.setMaxScrollerHeight());
|
111
|
+
this.guid = guid();
|
112
|
+
this.inputHeight = 0;
|
113
|
+
this.ignoreSelectedEventsFlag = false;
|
114
|
+
this.openTransitionProp = "opacity";
|
115
|
+
// --------------------------------------------------------------------------
|
116
|
+
//
|
117
|
+
// Private Methods
|
118
|
+
//
|
119
|
+
// --------------------------------------------------------------------------
|
120
|
+
this.setFilteredPlacements = () => {
|
121
|
+
const { el, flipPlacements } = this;
|
122
|
+
this.filteredFlipPlacements = flipPlacements
|
123
|
+
? filterComputedPlacements(flipPlacements, el)
|
124
|
+
: null;
|
125
|
+
};
|
126
|
+
this.getValue = () => {
|
127
|
+
const items = this.selectedItems.map((item) => { var _a; return (_a = item === null || item === void 0 ? void 0 : item.value) === null || _a === void 0 ? void 0 : _a.toString(); });
|
128
|
+
return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
|
129
|
+
};
|
130
|
+
this.onLabelClick = () => {
|
131
|
+
this.setFocus();
|
132
|
+
};
|
133
|
+
this.keydownHandler = (event) => {
|
134
|
+
const { key } = event;
|
135
|
+
switch (key) {
|
136
|
+
case "Tab":
|
137
|
+
this.activeChipIndex = -1;
|
138
|
+
this.activeItemIndex = -1;
|
139
|
+
if (this.allowCustomValues && this.text) {
|
140
|
+
this.addCustomChip(this.text, true);
|
141
|
+
event.preventDefault();
|
142
|
+
}
|
143
|
+
else if (this.open) {
|
144
|
+
this.open = false;
|
145
|
+
event.preventDefault();
|
146
|
+
}
|
147
|
+
break;
|
148
|
+
case "ArrowLeft":
|
149
|
+
this.previousChip();
|
150
|
+
event.preventDefault();
|
151
|
+
break;
|
152
|
+
case "ArrowRight":
|
153
|
+
this.nextChip();
|
154
|
+
event.preventDefault();
|
155
|
+
break;
|
156
|
+
case "ArrowUp":
|
157
|
+
event.preventDefault();
|
158
|
+
this.shiftActiveItemIndex(-1);
|
159
|
+
if (!this.comboboxInViewport()) {
|
160
|
+
this.el.scrollIntoView();
|
161
|
+
}
|
162
|
+
break;
|
163
|
+
case "ArrowDown":
|
164
|
+
event.preventDefault();
|
165
|
+
if (!this.open) {
|
166
|
+
this.open = true;
|
167
|
+
}
|
168
|
+
this.shiftActiveItemIndex(1);
|
169
|
+
if (!this.comboboxInViewport()) {
|
170
|
+
this.el.scrollIntoView();
|
171
|
+
}
|
172
|
+
break;
|
173
|
+
case " ":
|
174
|
+
if (!this.textInput.value) {
|
175
|
+
event.preventDefault();
|
176
|
+
this.open = true;
|
177
|
+
this.shiftActiveItemIndex(1);
|
178
|
+
}
|
179
|
+
break;
|
180
|
+
case "Home":
|
181
|
+
if (!this.open) {
|
182
|
+
return;
|
183
|
+
}
|
184
|
+
event.preventDefault();
|
185
|
+
this.updateActiveItemIndex(0);
|
186
|
+
this.scrollToActiveItem();
|
187
|
+
if (!this.comboboxInViewport()) {
|
188
|
+
this.el.scrollIntoView();
|
189
|
+
}
|
190
|
+
break;
|
191
|
+
case "End":
|
192
|
+
if (!this.open) {
|
193
|
+
return;
|
194
|
+
}
|
195
|
+
event.preventDefault();
|
196
|
+
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
197
|
+
this.scrollToActiveItem();
|
198
|
+
if (!this.comboboxInViewport()) {
|
199
|
+
this.el.scrollIntoView();
|
200
|
+
}
|
201
|
+
break;
|
202
|
+
case "Escape":
|
203
|
+
this.open = false;
|
204
|
+
event.preventDefault();
|
205
|
+
break;
|
206
|
+
case "Enter":
|
207
|
+
if (this.activeItemIndex > -1) {
|
208
|
+
this.toggleSelection(this.visibleItems[this.activeItemIndex]);
|
209
|
+
event.preventDefault();
|
210
|
+
}
|
211
|
+
else if (this.activeChipIndex > -1) {
|
212
|
+
this.removeActiveChip();
|
213
|
+
event.preventDefault();
|
214
|
+
}
|
215
|
+
else if (this.allowCustomValues && this.text) {
|
216
|
+
this.addCustomChip(this.text, true);
|
217
|
+
event.preventDefault();
|
218
|
+
}
|
219
|
+
else if (!event.defaultPrevented) {
|
220
|
+
if (submitForm(this)) {
|
221
|
+
event.preventDefault();
|
222
|
+
}
|
223
|
+
}
|
224
|
+
break;
|
225
|
+
case "Delete":
|
226
|
+
case "Backspace":
|
227
|
+
if (this.activeChipIndex > -1) {
|
228
|
+
event.preventDefault();
|
229
|
+
this.removeActiveChip();
|
230
|
+
}
|
231
|
+
else if (!this.text && this.isMulti()) {
|
232
|
+
event.preventDefault();
|
233
|
+
this.removeLastChip();
|
234
|
+
}
|
235
|
+
break;
|
236
|
+
}
|
237
|
+
};
|
238
|
+
this.toggleCloseEnd = () => {
|
239
|
+
this.open = false;
|
240
|
+
this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
241
|
+
};
|
242
|
+
this.toggleOpenEnd = () => {
|
243
|
+
this.open = false;
|
244
|
+
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
245
|
+
};
|
246
|
+
this.setMaxScrollerHeight = async () => {
|
247
|
+
const { listContainerEl, open, referenceEl } = this;
|
248
|
+
if (!listContainerEl || !open) {
|
249
|
+
return;
|
250
|
+
}
|
251
|
+
await this.reposition(true);
|
252
|
+
const maxScrollerHeight = this.getMaxScrollerHeight();
|
253
|
+
listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
254
|
+
listContainerEl.style.minWidth = `${referenceEl.clientWidth}px`;
|
255
|
+
await this.reposition(true);
|
256
|
+
};
|
257
|
+
this.calciteChipDismissHandler = (event, comboboxItem) => {
|
258
|
+
this.open = false;
|
259
|
+
const selection = this.items.find((item) => item === comboboxItem);
|
260
|
+
if (selection) {
|
261
|
+
this.toggleSelection(selection, false);
|
262
|
+
}
|
263
|
+
this.calciteComboboxChipDismiss.emit(event.detail);
|
264
|
+
};
|
265
|
+
this.clickHandler = (event) => {
|
266
|
+
if (event.composedPath().some((node) => node.tagName === "CALCITE-CHIP")) {
|
267
|
+
return;
|
268
|
+
}
|
269
|
+
this.open = !this.open;
|
270
|
+
this.updateActiveItemIndex(0);
|
271
|
+
this.setFocus();
|
272
|
+
};
|
273
|
+
this.setInactiveIfNotContained = (event) => {
|
274
|
+
const composedPath = event.composedPath();
|
275
|
+
if (!this.open || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
276
|
+
return;
|
277
|
+
}
|
278
|
+
if (this.allowCustomValues && this.text.trim().length) {
|
279
|
+
this.addCustomChip(this.text);
|
280
|
+
}
|
281
|
+
if (this.selectionMode === "single") {
|
282
|
+
if (this.textInput) {
|
283
|
+
this.textInput.value = "";
|
284
|
+
}
|
285
|
+
this.text = "";
|
286
|
+
this.filterItems("");
|
287
|
+
this.updateActiveItemIndex(-1);
|
288
|
+
}
|
289
|
+
this.open = false;
|
290
|
+
};
|
291
|
+
this.setFloatingEl = (el) => {
|
292
|
+
this.floatingEl = el;
|
293
|
+
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
294
|
+
};
|
295
|
+
this.setContainerEl = (el) => {
|
296
|
+
this.resizeObserver.observe(el);
|
297
|
+
this.listContainerEl = el;
|
298
|
+
this.transitionEl = el;
|
299
|
+
connectOpenCloseComponent(this);
|
300
|
+
};
|
301
|
+
this.setReferenceEl = (el) => {
|
302
|
+
this.referenceEl = el;
|
303
|
+
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
304
|
+
};
|
305
|
+
this.inputHandler = (event) => {
|
306
|
+
const value = event.target.value;
|
307
|
+
this.text = value;
|
308
|
+
this.filterItems(value);
|
309
|
+
if (value) {
|
310
|
+
this.activeChipIndex = -1;
|
311
|
+
}
|
312
|
+
};
|
313
|
+
this.filterItems = (() => {
|
314
|
+
const find = (item, filteredData) => item &&
|
315
|
+
filteredData.some(({ label, value }) => {
|
316
|
+
if (isGroup(item)) {
|
317
|
+
return value === item.label;
|
318
|
+
}
|
319
|
+
return (value === item.textLabel ||
|
320
|
+
value === item.value ||
|
321
|
+
label === item.textLabel ||
|
322
|
+
label === item.value);
|
323
|
+
});
|
324
|
+
return debounce((text) => {
|
325
|
+
const filteredData = filter(this.data, text);
|
326
|
+
const items = this.getCombinedItems();
|
327
|
+
items.forEach((item) => {
|
328
|
+
const hidden = !find(item, filteredData);
|
329
|
+
item.hidden = hidden;
|
330
|
+
const [parent, grandparent] = item.ancestors;
|
331
|
+
if (find(parent, filteredData) || find(grandparent, filteredData)) {
|
332
|
+
item.hidden = false;
|
333
|
+
}
|
334
|
+
if (!hidden) {
|
335
|
+
item.ancestors.forEach((ancestor) => (ancestor.hidden = false));
|
336
|
+
}
|
337
|
+
});
|
338
|
+
this.visibleItems = this.getVisibleItems();
|
339
|
+
this.calciteComboboxFilterChange.emit({ visibleItems: [...this.visibleItems], text: text });
|
340
|
+
}, 100);
|
341
|
+
})();
|
342
|
+
this.internalCalciteLookupChangeEvent = () => {
|
343
|
+
this.calciteLookupChange.emit(this.selectedItems);
|
344
|
+
};
|
345
|
+
this.emitCalciteLookupChange = debounce(this.internalCalciteLookupChangeEvent, 0);
|
346
|
+
this.internalComboboxChangeEvent = () => {
|
347
|
+
const { selectedItems } = this;
|
348
|
+
this.calciteComboboxChange.emit({ selectedItems });
|
349
|
+
};
|
350
|
+
this.emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);
|
351
|
+
this.updateItems = () => {
|
352
|
+
this.items = this.getItems();
|
353
|
+
this.groupItems = this.getGroupItems();
|
354
|
+
this.data = this.getData();
|
355
|
+
this.selectedItems = this.getSelectedItems();
|
356
|
+
this.visibleItems = this.getVisibleItems();
|
357
|
+
this.needsIcon = this.getNeedsIcon();
|
358
|
+
if (!this.allowCustomValues) {
|
359
|
+
this.setMaxScrollerHeight();
|
360
|
+
}
|
361
|
+
};
|
362
|
+
this.scrollToActiveItem = () => {
|
363
|
+
const activeItem = this.visibleItems[this.activeItemIndex];
|
364
|
+
const height = this.calculateSingleItemHeight(activeItem);
|
365
|
+
const { offsetHeight, scrollTop } = this.listContainerEl;
|
366
|
+
if (offsetHeight + scrollTop < activeItem.offsetTop + height) {
|
367
|
+
this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;
|
368
|
+
}
|
369
|
+
else if (activeItem.offsetTop < scrollTop) {
|
370
|
+
this.listContainerEl.scrollTop = activeItem.offsetTop;
|
371
|
+
}
|
372
|
+
};
|
373
|
+
this.comboboxFocusHandler = () => {
|
374
|
+
var _a;
|
375
|
+
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
376
|
+
};
|
377
|
+
this.comboboxBlurHandler = (event) => {
|
378
|
+
this.setInactiveIfNotContained(event);
|
379
|
+
};
|
380
|
+
}
|
381
|
+
activeHandler(value) {
|
382
|
+
if (this.disabled) {
|
383
|
+
this.active = false;
|
384
|
+
this.open = false;
|
385
|
+
return;
|
386
|
+
}
|
387
|
+
this.open = value;
|
388
|
+
}
|
389
|
+
openHandler(value) {
|
390
|
+
if (!value) {
|
391
|
+
updateAfterClose(this.floatingEl);
|
392
|
+
}
|
393
|
+
if (this.disabled) {
|
394
|
+
this.active = false;
|
395
|
+
this.open = false;
|
396
|
+
return;
|
397
|
+
}
|
398
|
+
this.active = value;
|
399
|
+
this.setMaxScrollerHeight();
|
400
|
+
}
|
401
|
+
handleDisabledChange(value) {
|
402
|
+
if (!value) {
|
403
|
+
this.active = false;
|
404
|
+
this.open = false;
|
405
|
+
}
|
406
|
+
}
|
407
|
+
maxItemsHandler() {
|
408
|
+
this.setMaxScrollerHeight();
|
409
|
+
}
|
410
|
+
overlayPositioningHandler() {
|
411
|
+
this.reposition(true);
|
412
|
+
}
|
413
|
+
valueHandler(value) {
|
414
|
+
if (!this.internalValueChangeFlag) {
|
415
|
+
const items = this.getItems();
|
416
|
+
if (Array.isArray(value)) {
|
417
|
+
items.forEach((item) => (item.selected = value.includes(item.value)));
|
418
|
+
}
|
419
|
+
else if (value) {
|
420
|
+
items.forEach((item) => (item.selected = value === item.value));
|
421
|
+
}
|
422
|
+
else {
|
423
|
+
items.forEach((item) => (item.selected = false));
|
424
|
+
}
|
425
|
+
this.updateItems();
|
426
|
+
}
|
427
|
+
}
|
428
|
+
flipPlacementsHandler() {
|
429
|
+
this.setFilteredPlacements();
|
430
|
+
this.reposition(true);
|
431
|
+
}
|
432
|
+
//--------------------------------------------------------------------------
|
433
|
+
//
|
434
|
+
// Event Listeners
|
435
|
+
//
|
436
|
+
//--------------------------------------------------------------------------
|
437
|
+
documentClickHandler(event) {
|
438
|
+
if (!isPrimaryPointerButton(event)) {
|
439
|
+
return;
|
440
|
+
}
|
441
|
+
this.setInactiveIfNotContained(event);
|
442
|
+
}
|
443
|
+
calciteComboboxItemChangeHandler(event) {
|
444
|
+
if (this.ignoreSelectedEventsFlag) {
|
445
|
+
return;
|
446
|
+
}
|
447
|
+
const target = event.target;
|
448
|
+
const newIndex = this.visibleItems.indexOf(target);
|
449
|
+
this.updateActiveItemIndex(newIndex);
|
450
|
+
this.toggleSelection(target, target.selected);
|
451
|
+
}
|
452
|
+
//--------------------------------------------------------------------------
|
453
|
+
//
|
454
|
+
// Public Methods
|
455
|
+
//
|
456
|
+
//--------------------------------------------------------------------------
|
457
|
+
/**
|
458
|
+
* Updates the position of the component.
|
459
|
+
*
|
460
|
+
* @param delayed
|
461
|
+
*/
|
462
|
+
async reposition(delayed = false) {
|
463
|
+
const { floatingEl, referenceEl, placement, overlayPositioning, filteredFlipPlacements } = this;
|
464
|
+
return reposition(this, {
|
465
|
+
floatingEl,
|
466
|
+
referenceEl,
|
467
|
+
overlayPositioning,
|
468
|
+
placement,
|
469
|
+
flipPlacements: filteredFlipPlacements,
|
470
|
+
type: "menu"
|
471
|
+
}, delayed);
|
472
|
+
}
|
473
|
+
/** Sets focus on the component. */
|
474
|
+
async setFocus() {
|
475
|
+
var _a;
|
476
|
+
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
477
|
+
this.activeChipIndex = -1;
|
478
|
+
this.activeItemIndex = -1;
|
479
|
+
}
|
480
|
+
// --------------------------------------------------------------------------
|
481
|
+
//
|
482
|
+
// Lifecycle
|
483
|
+
//
|
484
|
+
// --------------------------------------------------------------------------
|
485
|
+
connectedCallback() {
|
486
|
+
var _a;
|
487
|
+
this.internalValueChangeFlag = true;
|
488
|
+
this.value = this.getValue();
|
489
|
+
this.internalValueChangeFlag = false;
|
490
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
491
|
+
connectLabel(this);
|
492
|
+
connectForm(this);
|
493
|
+
connectOpenCloseComponent(this);
|
494
|
+
this.setFilteredPlacements();
|
495
|
+
this.reposition(true);
|
496
|
+
if (this.active) {
|
497
|
+
this.activeHandler(this.active);
|
498
|
+
}
|
499
|
+
if (this.open) {
|
500
|
+
this.openHandler(this.open);
|
501
|
+
}
|
502
|
+
}
|
503
|
+
componentWillLoad() {
|
504
|
+
this.updateItems();
|
505
|
+
}
|
506
|
+
componentDidLoad() {
|
507
|
+
afterConnectDefaultValueSet(this, this.getValue());
|
508
|
+
this.reposition(true);
|
509
|
+
}
|
510
|
+
componentDidRender() {
|
511
|
+
if (this.el.offsetHeight !== this.inputHeight) {
|
512
|
+
this.reposition(true);
|
513
|
+
this.inputHeight = this.el.offsetHeight;
|
514
|
+
}
|
515
|
+
updateHostInteraction(this);
|
516
|
+
}
|
517
|
+
disconnectedCallback() {
|
518
|
+
var _a, _b;
|
519
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
520
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
521
|
+
disconnectLabel(this);
|
522
|
+
disconnectForm(this);
|
523
|
+
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
524
|
+
disconnectOpenCloseComponent(this);
|
525
|
+
}
|
526
|
+
selectedItemsHandler() {
|
527
|
+
this.internalValueChangeFlag = true;
|
528
|
+
this.value = this.getValue();
|
529
|
+
this.internalValueChangeFlag = false;
|
530
|
+
}
|
531
|
+
/** when search text is cleared, reset active to */
|
532
|
+
textHandler() {
|
533
|
+
this.updateActiveItemIndex(-1);
|
534
|
+
}
|
535
|
+
comboboxInViewport() {
|
536
|
+
const bounding = this.el.getBoundingClientRect();
|
537
|
+
return (bounding.top >= 0 &&
|
538
|
+
bounding.left >= 0 &&
|
539
|
+
bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
|
540
|
+
bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
|
541
|
+
}
|
542
|
+
onBeforeOpen() {
|
543
|
+
this.calciteComboboxBeforeOpen.emit();
|
544
|
+
}
|
545
|
+
onOpen() {
|
546
|
+
this.calciteComboboxOpen.emit();
|
547
|
+
}
|
548
|
+
onBeforeClose() {
|
549
|
+
this.calciteComboboxBeforeClose.emit();
|
550
|
+
}
|
551
|
+
onClose() {
|
552
|
+
this.calciteComboboxClose.emit();
|
553
|
+
}
|
554
|
+
getMaxScrollerHeight() {
|
555
|
+
const items = this.getCombinedItems().filter((item) => !item.hidden);
|
556
|
+
const { maxItems } = this;
|
557
|
+
let itemsToProcess = 0;
|
558
|
+
let maxScrollerHeight = 0;
|
559
|
+
if (items.length > maxItems) {
|
560
|
+
items.forEach((item) => {
|
561
|
+
if (itemsToProcess < maxItems && maxItems > 0) {
|
562
|
+
const height = this.calculateSingleItemHeight(item);
|
563
|
+
if (height > 0) {
|
564
|
+
maxScrollerHeight += height;
|
565
|
+
itemsToProcess++;
|
566
|
+
}
|
567
|
+
}
|
568
|
+
});
|
569
|
+
}
|
570
|
+
return maxScrollerHeight;
|
571
|
+
}
|
572
|
+
calculateSingleItemHeight(item) {
|
573
|
+
let height = item.offsetHeight;
|
574
|
+
// if item has children items, don't count their height twice
|
575
|
+
const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
|
576
|
+
children
|
577
|
+
.map((child) => child === null || child === void 0 ? void 0 : child.offsetHeight)
|
578
|
+
.forEach((offsetHeight) => {
|
579
|
+
height -= offsetHeight;
|
580
|
+
});
|
581
|
+
return height;
|
582
|
+
}
|
583
|
+
getCombinedItems() {
|
584
|
+
return [...this.groupItems, ...this.items];
|
585
|
+
}
|
586
|
+
toggleSelection(item, value = !item.selected) {
|
587
|
+
if (!item) {
|
588
|
+
return;
|
589
|
+
}
|
590
|
+
if (this.isMulti()) {
|
591
|
+
item.selected = value;
|
592
|
+
this.updateAncestors(item);
|
593
|
+
this.selectedItems = this.getSelectedItems();
|
594
|
+
this.emitCalciteLookupChange();
|
595
|
+
this.emitComboboxChange();
|
596
|
+
this.resetText();
|
597
|
+
this.filterItems("");
|
598
|
+
}
|
599
|
+
else {
|
600
|
+
this.ignoreSelectedEventsFlag = true;
|
601
|
+
this.items.forEach((el) => (el.selected = el === item ? value : false));
|
602
|
+
this.ignoreSelectedEventsFlag = false;
|
603
|
+
this.selectedItems = this.getSelectedItems();
|
604
|
+
this.emitComboboxChange();
|
605
|
+
if (this.textInput) {
|
606
|
+
this.textInput.value = item.textLabel;
|
607
|
+
}
|
608
|
+
this.open = false;
|
609
|
+
this.updateActiveItemIndex(-1);
|
610
|
+
this.resetText();
|
611
|
+
this.filterItems("");
|
612
|
+
}
|
613
|
+
}
|
614
|
+
updateAncestors(item) {
|
615
|
+
if (this.selectionMode !== "ancestors") {
|
616
|
+
return;
|
617
|
+
}
|
618
|
+
const ancestors = getItemAncestors(item);
|
619
|
+
const children = getItemChildren(item);
|
620
|
+
if (item.selected) {
|
621
|
+
ancestors.forEach((el) => {
|
622
|
+
el.selected = true;
|
623
|
+
});
|
624
|
+
}
|
625
|
+
else {
|
626
|
+
children.forEach((el) => (el.selected = false));
|
627
|
+
[...ancestors].forEach((el) => {
|
628
|
+
if (!hasActiveChildren(el)) {
|
629
|
+
el.selected = false;
|
630
|
+
}
|
631
|
+
});
|
632
|
+
}
|
633
|
+
}
|
634
|
+
getVisibleItems() {
|
635
|
+
return this.items.filter((item) => !item.hidden);
|
636
|
+
}
|
637
|
+
getSelectedItems() {
|
638
|
+
if (!this.isMulti()) {
|
639
|
+
const match = this.items.find(({ selected }) => selected);
|
640
|
+
return match ? [match] : [];
|
641
|
+
}
|
642
|
+
return (this.items
|
643
|
+
.filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)))
|
644
|
+
/** Preserve order of entered tags */
|
645
|
+
.sort((a, b) => {
|
646
|
+
const aIdx = this.selectedItems.indexOf(a);
|
647
|
+
const bIdx = this.selectedItems.indexOf(b);
|
648
|
+
if (aIdx > -1 && bIdx > -1) {
|
649
|
+
return aIdx - bIdx;
|
650
|
+
}
|
651
|
+
return bIdx - aIdx;
|
652
|
+
}));
|
653
|
+
}
|
654
|
+
getData() {
|
655
|
+
return this.items.map((item) => ({
|
656
|
+
constant: item.constant,
|
657
|
+
filterDisabled: item.filterDisabled,
|
658
|
+
value: item.value,
|
659
|
+
label: item.textLabel
|
660
|
+
}));
|
661
|
+
}
|
662
|
+
getNeedsIcon() {
|
663
|
+
return this.selectionMode === "single" && this.items.some((item) => item.icon);
|
664
|
+
}
|
665
|
+
resetText() {
|
666
|
+
if (this.textInput) {
|
667
|
+
this.textInput.value = "";
|
668
|
+
}
|
669
|
+
this.text = "";
|
670
|
+
}
|
671
|
+
getItems() {
|
672
|
+
const items = Array.from(this.el.querySelectorAll(ComboboxItem$1));
|
673
|
+
return items.filter((item) => !item.disabled);
|
674
|
+
}
|
675
|
+
getGroupItems() {
|
676
|
+
return Array.from(this.el.querySelectorAll(ComboboxItemGroup));
|
677
|
+
}
|
678
|
+
addCustomChip(value, focus) {
|
679
|
+
const existingItem = this.items.find((el) => el.textLabel === value);
|
680
|
+
if (existingItem) {
|
681
|
+
this.toggleSelection(existingItem, true);
|
682
|
+
}
|
683
|
+
else {
|
684
|
+
if (!this.isMulti()) {
|
685
|
+
this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
|
686
|
+
}
|
687
|
+
const item = document.createElement(ComboboxItem$1);
|
688
|
+
item.value = value;
|
689
|
+
item.textLabel = value;
|
690
|
+
item.selected = true;
|
691
|
+
this.el.appendChild(item);
|
692
|
+
this.resetText();
|
693
|
+
if (focus) {
|
694
|
+
this.setFocus();
|
695
|
+
}
|
696
|
+
this.updateItems();
|
697
|
+
this.filterItems("");
|
698
|
+
this.emitCalciteLookupChange();
|
699
|
+
this.emitComboboxChange();
|
700
|
+
}
|
701
|
+
}
|
702
|
+
removeActiveChip() {
|
703
|
+
this.toggleSelection(this.selectedItems[this.activeChipIndex], false);
|
704
|
+
this.setFocus();
|
705
|
+
}
|
706
|
+
removeLastChip() {
|
707
|
+
this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
|
708
|
+
this.setFocus();
|
709
|
+
}
|
710
|
+
previousChip() {
|
711
|
+
if (this.text) {
|
712
|
+
return;
|
713
|
+
}
|
714
|
+
const length = this.selectedItems.length - 1;
|
715
|
+
const active = this.activeChipIndex;
|
716
|
+
this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);
|
717
|
+
this.updateActiveItemIndex(-1);
|
718
|
+
this.focusChip();
|
719
|
+
}
|
720
|
+
nextChip() {
|
721
|
+
if (this.text || this.activeChipIndex === -1) {
|
722
|
+
return;
|
723
|
+
}
|
724
|
+
const last = this.selectedItems.length - 1;
|
725
|
+
const newIndex = this.activeChipIndex + 1;
|
726
|
+
if (newIndex > last) {
|
727
|
+
this.activeChipIndex = -1;
|
728
|
+
this.setFocus();
|
729
|
+
}
|
730
|
+
else {
|
731
|
+
this.activeChipIndex = newIndex;
|
732
|
+
this.focusChip();
|
733
|
+
}
|
734
|
+
this.updateActiveItemIndex(-1);
|
735
|
+
}
|
736
|
+
focusChip() {
|
737
|
+
var _a;
|
738
|
+
const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
|
739
|
+
const chip = guid
|
740
|
+
? this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`)
|
741
|
+
: null;
|
742
|
+
chip === null || chip === void 0 ? void 0 : chip.setFocus();
|
743
|
+
}
|
744
|
+
shiftActiveItemIndex(delta) {
|
745
|
+
const { length } = this.visibleItems;
|
746
|
+
const newIndex = (this.activeItemIndex + length + delta) % length;
|
747
|
+
this.updateActiveItemIndex(newIndex);
|
748
|
+
this.scrollToActiveItem();
|
749
|
+
}
|
750
|
+
updateActiveItemIndex(index) {
|
751
|
+
var _a;
|
752
|
+
this.activeItemIndex = index;
|
753
|
+
let activeDescendant = null;
|
754
|
+
this.visibleItems.forEach((el, i) => {
|
755
|
+
if (i === index) {
|
756
|
+
el.active = true;
|
757
|
+
activeDescendant = `${itemUidPrefix}${el.guid}`;
|
758
|
+
}
|
759
|
+
else {
|
760
|
+
el.active = false;
|
761
|
+
}
|
762
|
+
});
|
763
|
+
this.activeDescendant = activeDescendant;
|
764
|
+
if (this.activeItemIndex > -1) {
|
765
|
+
this.activeChipIndex = -1;
|
766
|
+
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
767
|
+
}
|
768
|
+
}
|
769
|
+
isMulti() {
|
770
|
+
return this.selectionMode !== "single";
|
771
|
+
}
|
772
|
+
//--------------------------------------------------------------------------
|
773
|
+
//
|
774
|
+
// Render Methods
|
775
|
+
//
|
776
|
+
//--------------------------------------------------------------------------
|
777
|
+
renderChips() {
|
778
|
+
const { activeChipIndex, scale, selectionMode, intlRemoveTag } = this;
|
779
|
+
return this.selectedItems.map((item, i) => {
|
780
|
+
const chipClasses = {
|
781
|
+
chip: true,
|
782
|
+
"chip--active": activeChipIndex === i
|
783
|
+
};
|
784
|
+
const ancestors = [...getItemAncestors(item)].reverse();
|
785
|
+
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
786
|
+
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
787
|
+
return (h("calcite-chip", { class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
|
788
|
+
});
|
789
|
+
}
|
790
|
+
renderInput() {
|
791
|
+
const { guid, active, disabled, placeholder, selectionMode, selectedItems, open } = this;
|
792
|
+
const single = selectionMode === "single";
|
793
|
+
const selectedItem = selectedItems[0];
|
794
|
+
const showLabel = !(open || active) && single && !!selectedItem;
|
795
|
+
return (h("span", { class: {
|
796
|
+
"input-wrap": true,
|
797
|
+
"input-wrap--single": single
|
798
|
+
} }, showLabel && (h("span", { class: {
|
799
|
+
label: true,
|
800
|
+
"label--icon": !!(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon)
|
801
|
+
}, key: "label" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
802
|
+
input: true,
|
803
|
+
"input--single": true,
|
804
|
+
"input--transparent": this.activeChipIndex > -1,
|
805
|
+
"input--hidden": showLabel,
|
806
|
+
"input--icon": !!this.placeholderIcon
|
807
|
+
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
|
808
|
+
}
|
809
|
+
renderListBoxOptions() {
|
810
|
+
return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
811
|
+
}
|
812
|
+
renderFloatingUIContainer() {
|
813
|
+
const { active, setFloatingEl, setContainerEl, open } = this;
|
814
|
+
const classes = {
|
815
|
+
"list-container": true,
|
816
|
+
[FloatingCSS.animation]: true,
|
817
|
+
[FloatingCSS.animationActive]: open || active
|
818
|
+
};
|
819
|
+
return (h("div", { "aria-hidden": "true", class: {
|
820
|
+
"floating-ui-container": true,
|
821
|
+
"floating-ui-container--active": open || active
|
822
|
+
}, ref: setFloatingEl }, h("div", { class: classes, ref: setContainerEl }, h("ul", { class: { list: true, "list--hide": !(open || active) } }, h("slot", null)))));
|
823
|
+
}
|
824
|
+
renderIconStart() {
|
825
|
+
const { selectedItems, placeholderIcon, selectionMode } = this;
|
826
|
+
const selectedItem = selectedItems[0];
|
827
|
+
const selectedIcon = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon;
|
828
|
+
const singleSelectionMode = selectionMode === "single";
|
829
|
+
const iconAtStart = !this.open && selectedItem
|
830
|
+
? !!selectedIcon && singleSelectionMode
|
831
|
+
: !!this.placeholderIcon && (!selectedItem || singleSelectionMode);
|
832
|
+
return (iconAtStart && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: "s" }))));
|
833
|
+
}
|
834
|
+
renderIconEnd() {
|
835
|
+
const { active, open } = this;
|
836
|
+
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active || open ? "chevron-up" : "chevron-down", scale: "s" })));
|
837
|
+
}
|
838
|
+
render() {
|
839
|
+
const { active, guid, label, open } = this;
|
840
|
+
const single = this.selectionMode === "single";
|
841
|
+
return (h(Host, null, h("div", { "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-expanded": toAriaBoolean(open || active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-live": "polite", "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
842
|
+
wrapper: true,
|
843
|
+
"wrapper--single": single || !this.selectedItems.length,
|
844
|
+
"wrapper--active": open || active
|
845
|
+
}, onClick: this.clickHandler, onKeyDown: this.keydownHandler, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderFloatingUIContainer(), h(HiddenFormInputSlot, { component: this })));
|
846
|
+
}
|
847
|
+
get el() { return getElement(this); }
|
848
|
+
static get watchers() { return {
|
849
|
+
"active": ["activeHandler"],
|
850
|
+
"open": ["openHandler"],
|
851
|
+
"disabled": ["handleDisabledChange"],
|
852
|
+
"maxItems": ["maxItemsHandler"],
|
853
|
+
"overlayPositioning": ["overlayPositioningHandler"],
|
854
|
+
"value": ["valueHandler"],
|
855
|
+
"flipPlacements": ["flipPlacementsHandler"],
|
856
|
+
"selectedItems": ["selectedItemsHandler"],
|
857
|
+
"text": ["textHandler"]
|
858
|
+
}; }
|
859
|
+
};
|
860
|
+
Combobox.style = comboboxCss;
|
861
|
+
|
862
|
+
/*!
|
863
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
864
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
865
|
+
* v1.0.0-beta.97
|
866
|
+
*/
|
867
|
+
const CSS = {
|
868
|
+
icon: "icon",
|
869
|
+
iconActive: "icon--active",
|
870
|
+
custom: "icon--custom",
|
871
|
+
dot: "icon--dot",
|
872
|
+
single: "label--single",
|
873
|
+
label: "label",
|
874
|
+
active: "label--active",
|
875
|
+
selected: "label--selected",
|
876
|
+
title: "title",
|
877
|
+
textContainer: "text-container"
|
878
|
+
};
|
879
|
+
|
880
|
+
const comboboxItemCss = "@charset \"UTF-8\";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{-webkit-margin-before:-1px;margin-block-start:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:flex-end;min-inline-size:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
881
|
+
|
882
|
+
const ComboboxItem = class {
|
883
|
+
constructor(hostRef) {
|
884
|
+
registerInstance(this, hostRef);
|
885
|
+
this.calciteComboboxItemChange = createEvent(this, "calciteComboboxItemChange", 6);
|
886
|
+
// --------------------------------------------------------------------------
|
887
|
+
//
|
888
|
+
// Properties
|
889
|
+
//
|
890
|
+
// --------------------------------------------------------------------------
|
891
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
892
|
+
this.disabled = false;
|
893
|
+
/**
|
894
|
+
* When `true`, the component is selected.
|
895
|
+
*/
|
896
|
+
this.selected = false;
|
897
|
+
/** When `true`, the component is active. */
|
898
|
+
this.active = false;
|
899
|
+
/** The `id` attribute of the component. When omitted, a globally unique identifier is used. */
|
900
|
+
this.guid = guid();
|
901
|
+
this.scale = "m";
|
902
|
+
// --------------------------------------------------------------------------
|
903
|
+
//
|
904
|
+
// Private Methods
|
905
|
+
//
|
906
|
+
// --------------------------------------------------------------------------
|
907
|
+
this.itemClickHandler = (event) => {
|
908
|
+
event.preventDefault();
|
909
|
+
if (this.disabled) {
|
910
|
+
return;
|
911
|
+
}
|
912
|
+
this.selected = !this.selected;
|
913
|
+
};
|
914
|
+
}
|
915
|
+
selectedWatchHandler() {
|
916
|
+
this.calciteComboboxItemChange.emit(this.el);
|
917
|
+
}
|
918
|
+
// --------------------------------------------------------------------------
|
919
|
+
//
|
920
|
+
// Lifecycle
|
921
|
+
//
|
922
|
+
// --------------------------------------------------------------------------
|
923
|
+
connectedCallback() {
|
924
|
+
this.ancestors = getAncestors(this.el);
|
925
|
+
this.scale = getElementProp(this.el, "scale", this.scale);
|
926
|
+
connectConditionalSlotComponent(this);
|
927
|
+
}
|
928
|
+
disconnectedCallback() {
|
929
|
+
disconnectConditionalSlotComponent(this);
|
930
|
+
}
|
931
|
+
componentDidRender() {
|
932
|
+
updateHostInteraction(this);
|
933
|
+
}
|
934
|
+
// --------------------------------------------------------------------------
|
935
|
+
//
|
936
|
+
// Public Methods
|
937
|
+
//
|
938
|
+
// --------------------------------------------------------------------------
|
939
|
+
/**
|
940
|
+
* Used to toggle the selection state. By default this won't trigger an event.
|
941
|
+
* The first argument allows the value to be coerced, rather than swapping values.
|
942
|
+
*
|
943
|
+
* @param coerce
|
944
|
+
*/
|
945
|
+
async toggleSelected(coerce) {
|
946
|
+
if (this.disabled) {
|
947
|
+
return;
|
948
|
+
}
|
949
|
+
this.selected = typeof coerce === "boolean" ? coerce : !this.selected;
|
950
|
+
}
|
951
|
+
// --------------------------------------------------------------------------
|
952
|
+
//
|
953
|
+
// Render Methods
|
954
|
+
//
|
955
|
+
// --------------------------------------------------------------------------
|
956
|
+
renderIcon(isSingle) {
|
957
|
+
const { icon, disabled, selected } = this;
|
958
|
+
const level = `${CSS.icon}--indent`;
|
959
|
+
const defaultIcon = isSingle ? "dot" : "check";
|
960
|
+
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
961
|
+
const showDot = isSingle && !icon && !disabled;
|
962
|
+
return showDot ? (h("span", { class: {
|
963
|
+
[CSS.icon]: true,
|
964
|
+
[CSS.dot]: true,
|
965
|
+
[level]: true
|
966
|
+
} })) : (h("calcite-icon", { class: {
|
967
|
+
[CSS.icon]: !icon,
|
968
|
+
[CSS.custom]: !!icon,
|
969
|
+
[CSS.iconActive]: icon && selected,
|
970
|
+
[level]: true
|
971
|
+
}, icon: icon || iconPath, scale: "s" }));
|
972
|
+
}
|
973
|
+
renderChildren() {
|
974
|
+
if (getSlotted(this.el)) {
|
975
|
+
return (h("ul", { key: "default-slot-container" }, h("slot", null)));
|
976
|
+
}
|
977
|
+
return null;
|
978
|
+
}
|
979
|
+
render() {
|
980
|
+
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
981
|
+
const classes = {
|
982
|
+
[CSS.label]: true,
|
983
|
+
[CSS.selected]: this.selected,
|
984
|
+
[CSS.active]: this.active,
|
985
|
+
[CSS.single]: isSingleSelect
|
986
|
+
};
|
987
|
+
const depth = getDepth(this.el);
|
988
|
+
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS.title }, this.textLabel)), this.renderChildren())));
|
989
|
+
}
|
990
|
+
get el() { return getElement(this); }
|
991
|
+
static get watchers() { return {
|
992
|
+
"selected": ["selectedWatchHandler"]
|
993
|
+
}; }
|
994
|
+
};
|
995
|
+
ComboboxItem.style = comboboxItemCss;
|
996
|
+
|
997
|
+
const mapLayerPickerCss = ":host{display:block}.background-w{background-color:white}.map-layer-picker-container{width:100%}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}";
|
998
|
+
|
999
|
+
const MapLayerPicker = class {
|
1000
|
+
constructor(hostRef) {
|
1001
|
+
registerInstance(this, hostRef);
|
1002
|
+
this.layerSelectionChange = createEvent(this, "layerSelectionChange", 7);
|
1003
|
+
this.layerNames = [];
|
1004
|
+
this.mapView = undefined;
|
1005
|
+
this.selectedLayers = [];
|
1006
|
+
this.selectionMode = "single";
|
1007
|
+
}
|
1008
|
+
//--------------------------------------------------------------------------
|
1009
|
+
//
|
1010
|
+
// Watch handlers
|
1011
|
+
//
|
1012
|
+
//--------------------------------------------------------------------------
|
1013
|
+
/**
|
1014
|
+
* Called each time the mapView prop is changed.
|
1015
|
+
*
|
1016
|
+
*/
|
1017
|
+
async watchStateHandler(newValue, oldValue) {
|
1018
|
+
if (newValue !== oldValue) {
|
1019
|
+
await this._setLayers();
|
1020
|
+
if (this.selectionMode === "single") {
|
1021
|
+
this.layerSelectionChange.emit([this.layerNames[0]]);
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
//--------------------------------------------------------------------------
|
1026
|
+
//
|
1027
|
+
// Functions (lifecycle)
|
1028
|
+
//
|
1029
|
+
//--------------------------------------------------------------------------
|
1030
|
+
/**
|
1031
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
1032
|
+
*/
|
1033
|
+
async componentWillLoad() {
|
1034
|
+
await this._setLayers();
|
1035
|
+
if (this.selectionMode === "single" && (this.layerNames.length > 0 || this.selectedLayers.length === 1)) {
|
1036
|
+
this.layerSelectionChange.emit(this.selectedLayers.length === 1 ? [this.selectedLayers[0]] : [this.layerNames[0]]);
|
1037
|
+
}
|
1038
|
+
}
|
1039
|
+
/**
|
1040
|
+
* Renders the component.
|
1041
|
+
*/
|
1042
|
+
render() {
|
1043
|
+
return (h(Host, null, h("div", { class: "background-w map-layer-picker-container" }, h("div", { class: "map-layer-picker" }, this.selectionMode === "multi" ? this._getCombobox() : this._getSelect()))));
|
1044
|
+
}
|
1045
|
+
//--------------------------------------------------------------------------
|
1046
|
+
//
|
1047
|
+
// Functions (protected)
|
1048
|
+
//
|
1049
|
+
//--------------------------------------------------------------------------
|
1050
|
+
/**
|
1051
|
+
* Create a list of layers from the map
|
1052
|
+
*
|
1053
|
+
* Used for selecting a single layer.
|
1054
|
+
*
|
1055
|
+
* @returns Calcite Select component with the names of the layers from the map
|
1056
|
+
*/
|
1057
|
+
_getSelect() {
|
1058
|
+
return (h("calcite-select", { label: "", onCalciteSelectChange: (evt) => this._layerSelectionChange(evt), ref: (el) => { this._layerElement = el; } }, this._addMapLayersOptions()));
|
1059
|
+
}
|
1060
|
+
/**
|
1061
|
+
* Create a list of layers from the map
|
1062
|
+
*
|
1063
|
+
* Used for selecting multiple layers
|
1064
|
+
*
|
1065
|
+
* @returns Calcite ComboBox component with the names of the layers from the map
|
1066
|
+
*/
|
1067
|
+
_getCombobox() {
|
1068
|
+
return (h("calcite-combobox", { label: "", onCalciteComboboxChange: (evt) => this._layerSelectionChange(evt), "selection-mode": this.selectionMode }, this._addMapLayersOptions()));
|
1069
|
+
}
|
1070
|
+
/**
|
1071
|
+
* Hydrate a select or combobox component with the names of the layers in the map
|
1072
|
+
*
|
1073
|
+
* @returns Array of ComboBox items or Select options for the names of the layers
|
1074
|
+
*/
|
1075
|
+
_addMapLayersOptions() {
|
1076
|
+
return this.layerNames.reduce((prev, cur) => {
|
1077
|
+
if (state.managedLayers.indexOf(cur) < 0) {
|
1078
|
+
prev.push(this.selectionMode === "multi" && this.selectedLayers.indexOf(cur) > -1 ?
|
1079
|
+
(h("calcite-combobox-item", { selected: true, textLabel: cur, value: cur })) :
|
1080
|
+
this.selectionMode === "multi" ?
|
1081
|
+
(h("calcite-combobox-item", { textLabel: cur, value: cur })) :
|
1082
|
+
this.selectedLayers.indexOf(cur) > -1 ?
|
1083
|
+
(h("calcite-option", { label: cur, selected: true, value: cur })) :
|
1084
|
+
(h("calcite-option", { label: cur, value: cur })));
|
1085
|
+
}
|
1086
|
+
return prev;
|
1087
|
+
}, []);
|
1088
|
+
}
|
1089
|
+
/**
|
1090
|
+
* Fetch the names of the layers from the map
|
1091
|
+
*
|
1092
|
+
* @returns Promise when the operation has completed
|
1093
|
+
*/
|
1094
|
+
async _setLayers() {
|
1095
|
+
if (this.mapView) {
|
1096
|
+
this.layerNames = await getMapLayerNames(this.mapView);
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
/**
|
1100
|
+
* Fetch the names of the layers from the map
|
1101
|
+
*
|
1102
|
+
* @returns Promise when the operation has completed
|
1103
|
+
*/
|
1104
|
+
_layerSelectionChange(evt) {
|
1105
|
+
var _a;
|
1106
|
+
this.selectedLayers = this.selectionMode === "single" ?
|
1107
|
+
[this._layerElement.value] : ((_a = evt.detail) === null || _a === void 0 ? void 0 : _a.selectedItems.map((item) => {
|
1108
|
+
return item.value;
|
1109
|
+
})) || [];
|
1110
|
+
this.layerSelectionChange.emit(this.selectedLayers);
|
1111
|
+
}
|
1112
|
+
get el() { return getElement(this); }
|
1113
|
+
static get watchers() { return {
|
1114
|
+
"mapView": ["watchStateHandler"]
|
1115
|
+
}; }
|
1116
|
+
};
|
1117
|
+
MapLayerPicker.style = mapLayerPickerCss;
|
1118
|
+
|
1119
|
+
export { Combobox as calcite_combobox, ComboboxItem as calcite_combobox_item, MapLayerPicker as map_layer_picker };
|
1120
|
+
|
1121
|
+
//# sourceMappingURL=p-11068040.entry.js.map
|