@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,175 @@
|
|
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, g as getElement } from './p-58c69df2.js';
|
7
|
+
import { T as TEXT, C as CSS, I as ICONS, H as HEADING_LEVEL } from './p-e611d8c8.js';
|
8
|
+
import { b as getElementDir, t as toAriaBoolean } from './p-32a67cb2.js';
|
9
|
+
import { H as Heading } from './p-eeb0321d.js';
|
10
|
+
import { c as createObserver } from './p-9a9955db.js';
|
11
|
+
import './p-729708a3.js';
|
12
|
+
import './p-a80b3880.js';
|
13
|
+
|
14
|
+
const tipManagerCss = "@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{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{-webkit-margin-before:1px;margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";
|
15
|
+
|
16
|
+
const TipManager = class {
|
17
|
+
constructor(hostRef) {
|
18
|
+
registerInstance(this, hostRef);
|
19
|
+
this.calciteTipManagerToggle = createEvent(this, "calciteTipManagerToggle", 6);
|
20
|
+
this.calciteTipManagerClose = createEvent(this, "calciteTipManagerClose", 6);
|
21
|
+
// --------------------------------------------------------------------------
|
22
|
+
//
|
23
|
+
// Properties
|
24
|
+
//
|
25
|
+
// --------------------------------------------------------------------------
|
26
|
+
/**
|
27
|
+
* When `true`, does not display or position the component.
|
28
|
+
*/
|
29
|
+
this.closed = false;
|
30
|
+
this.mutationObserver = createObserver("mutation", () => this.setUpTips());
|
31
|
+
this.hideTipManager = () => {
|
32
|
+
this.closed = true;
|
33
|
+
this.calciteTipManagerToggle.emit();
|
34
|
+
this.calciteTipManagerClose.emit();
|
35
|
+
};
|
36
|
+
this.previousClicked = () => {
|
37
|
+
this.previousTip();
|
38
|
+
};
|
39
|
+
this.nextClicked = () => {
|
40
|
+
this.nextTip();
|
41
|
+
};
|
42
|
+
this.tipManagerKeyDownHandler = (event) => {
|
43
|
+
if (event.target !== this.container) {
|
44
|
+
return;
|
45
|
+
}
|
46
|
+
switch (event.key) {
|
47
|
+
case "ArrowRight":
|
48
|
+
event.preventDefault();
|
49
|
+
this.nextTip();
|
50
|
+
break;
|
51
|
+
case "ArrowLeft":
|
52
|
+
event.preventDefault();
|
53
|
+
this.previousTip();
|
54
|
+
break;
|
55
|
+
case "Home":
|
56
|
+
event.preventDefault();
|
57
|
+
this.selectedIndex = 0;
|
58
|
+
break;
|
59
|
+
case "End":
|
60
|
+
event.preventDefault();
|
61
|
+
this.selectedIndex = this.total - 1;
|
62
|
+
break;
|
63
|
+
}
|
64
|
+
};
|
65
|
+
this.storeContainerRef = (el) => {
|
66
|
+
this.container = el;
|
67
|
+
};
|
68
|
+
}
|
69
|
+
closedChangeHandler() {
|
70
|
+
this.direction = null;
|
71
|
+
this.calciteTipManagerToggle.emit();
|
72
|
+
}
|
73
|
+
selectedChangeHandler() {
|
74
|
+
this.showSelectedTip();
|
75
|
+
this.updateGroupTitle();
|
76
|
+
}
|
77
|
+
// --------------------------------------------------------------------------
|
78
|
+
//
|
79
|
+
// Lifecycle
|
80
|
+
//
|
81
|
+
// --------------------------------------------------------------------------
|
82
|
+
connectedCallback() {
|
83
|
+
var _a;
|
84
|
+
this.setUpTips();
|
85
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
86
|
+
}
|
87
|
+
disconnectedCallback() {
|
88
|
+
var _a;
|
89
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
90
|
+
}
|
91
|
+
// --------------------------------------------------------------------------
|
92
|
+
//
|
93
|
+
// Public Methods
|
94
|
+
//
|
95
|
+
// --------------------------------------------------------------------------
|
96
|
+
/** Selects the next `calcite-tip` to display. */
|
97
|
+
async nextTip() {
|
98
|
+
this.direction = "advancing";
|
99
|
+
const nextIndex = this.selectedIndex + 1;
|
100
|
+
this.selectedIndex = (nextIndex + this.total) % this.total;
|
101
|
+
}
|
102
|
+
/** Selects the previous `calcite-tip` to display. */
|
103
|
+
async previousTip() {
|
104
|
+
this.direction = "retreating";
|
105
|
+
const previousIndex = this.selectedIndex - 1;
|
106
|
+
this.selectedIndex = (previousIndex + this.total) % this.total;
|
107
|
+
}
|
108
|
+
// --------------------------------------------------------------------------
|
109
|
+
//
|
110
|
+
// Private Methods
|
111
|
+
//
|
112
|
+
// --------------------------------------------------------------------------
|
113
|
+
setUpTips() {
|
114
|
+
const tips = Array.from(this.el.querySelectorAll("calcite-tip"));
|
115
|
+
this.total = tips.length;
|
116
|
+
if (this.total === 0) {
|
117
|
+
return;
|
118
|
+
}
|
119
|
+
const selectedTip = this.el.querySelector("calcite-tip[selected]");
|
120
|
+
this.tips = tips;
|
121
|
+
this.selectedIndex = selectedTip ? tips.indexOf(selectedTip) : 0;
|
122
|
+
tips.forEach((tip) => {
|
123
|
+
tip.nonDismissible = true;
|
124
|
+
});
|
125
|
+
this.showSelectedTip();
|
126
|
+
this.updateGroupTitle();
|
127
|
+
}
|
128
|
+
showSelectedTip() {
|
129
|
+
this.tips.forEach((tip, index) => {
|
130
|
+
const isSelected = this.selectedIndex === index;
|
131
|
+
tip.selected = isSelected;
|
132
|
+
tip.hidden = !isSelected;
|
133
|
+
});
|
134
|
+
}
|
135
|
+
updateGroupTitle() {
|
136
|
+
const selectedTip = this.tips[this.selectedIndex];
|
137
|
+
const tipParent = selectedTip.closest("calcite-tip-group");
|
138
|
+
this.groupTitle = (tipParent === null || tipParent === void 0 ? void 0 : tipParent.groupTitle) || this.intlDefaultTitle || TEXT.defaultGroupTitle;
|
139
|
+
}
|
140
|
+
// --------------------------------------------------------------------------
|
141
|
+
//
|
142
|
+
// Render Methods
|
143
|
+
//
|
144
|
+
// --------------------------------------------------------------------------
|
145
|
+
renderPagination() {
|
146
|
+
const dir = getElementDir(this.el);
|
147
|
+
const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
|
148
|
+
const nextLabel = intlNext || TEXT.next;
|
149
|
+
const previousLabel = intlPrevious || TEXT.previous;
|
150
|
+
const paginationLabel = intlPaginationLabel || TEXT.defaultPaginationLabel;
|
151
|
+
return tips.length > 1 ? (h("footer", { class: CSS.pagination }, h("calcite-action", { class: CSS.pagePrevious, icon: dir === "ltr" ? ICONS.chevronLeft : ICONS.chevronRight, onClick: this.previousClicked, scale: "m", text: previousLabel }), h("span", { class: CSS.pagePosition }, `${paginationLabel} ${selectedIndex + 1}/${total}`), h("calcite-action", { class: CSS.pageNext, icon: dir === "ltr" ? ICONS.chevronRight : ICONS.chevronLeft, onClick: this.nextClicked, scale: "m", text: nextLabel }))) : null;
|
152
|
+
}
|
153
|
+
render() {
|
154
|
+
const { closed, direction, headingLevel, groupTitle, selectedIndex, intlClose, total } = this;
|
155
|
+
const closeLabel = intlClose || TEXT.close;
|
156
|
+
if (total === 0) {
|
157
|
+
return null;
|
158
|
+
}
|
159
|
+
return (h("section", { "aria-hidden": toAriaBoolean(closed), class: CSS.container, hidden: closed, onKeyDown: this.tipManagerKeyDownHandler, ref: this.storeContainerRef, tabIndex: 0 }, h("header", { class: CSS.header }, h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, groupTitle), h("calcite-action", { class: CSS.close, onClick: this.hideTipManager, scale: "m", text: closeLabel }, h("calcite-icon", { icon: ICONS.close, scale: "m" }))), h("div", { class: {
|
160
|
+
[CSS.tipContainer]: true,
|
161
|
+
[CSS.tipContainerAdvancing]: !closed && direction === "advancing",
|
162
|
+
[CSS.tipContainerRetreating]: !closed && direction === "retreating"
|
163
|
+
}, key: selectedIndex, tabIndex: 0 }, h("slot", null)), this.renderPagination()));
|
164
|
+
}
|
165
|
+
get el() { return getElement(this); }
|
166
|
+
static get watchers() { return {
|
167
|
+
"closed": ["closedChangeHandler"],
|
168
|
+
"selectedIndex": ["selectedChangeHandler"]
|
169
|
+
}; }
|
170
|
+
};
|
171
|
+
TipManager.style = tipManagerCss;
|
172
|
+
|
173
|
+
export { TipManager as calcite_tip_manager };
|
174
|
+
|
175
|
+
//# sourceMappingURL=p-794ba85d.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"calcite-tip-manager.entry.esm.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,aAAa,GAAG,g4GAAg4G;;MCaz4G,UAAU;EACrB;;;;;;;;;;;;IASE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACpB,IAAI,CAAC,gBAAgB,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sulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-tip-manager-height: The maximum height of the component.\n* @prop --calcite-tip-max-width: The maximum width of a slotted `calcite-tip` within the component.\n*/\n:host {\n box-sizing: border-box;\n display: block;\n background-color: var(--calcite-ui-foreground-1);\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n --calcite-tip-manager-height: 19vh;\n}\n:host * {\n box-sizing: border-box;\n}\n\n:host([closed]) {\n display: none;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.header {\n border-width: 0px;\n border-block-end-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n padding-block: 0px;\n padding-inline-end: 0px;\n padding-inline-start: 1rem;\n}\n.header .heading {\n padding: 0px;\n font-size: var(--calcite-font-size-1);\n line-height: 1.5rem;\n font-weight: var(--calcite-font-weight-bold);\n color: var(--calcite-ui-text-1);\n}\n\n.container {\n position: relative;\n overflow: hidden;\n outline-color: transparent;\n min-block-size: 150px;\n}\n.container:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n.tip-container {\n margin-block-start: 1px;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n overflow: auto;\n outline-color: transparent;\n animation-name: none;\n animation-duration: var(--calcite-animation-timing);\n block-size: var(--calcite-tip-manager-height);\n}\n.tip-container:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n::slotted(calcite-tip) {\n border-style: none;\n padding: 0.75rem;\n max-inline-size: var(--calcite-tip-max-width);\n}\n\n.tip-container--advancing {\n animation-name: tip-advance;\n}\n\n.tip-container--retreating {\n animation-name: tip-retreat;\n}\n\n/* Pagination Styles*/\n.pagination {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-inline: 0px;\n padding-block: 0.75rem 0.5rem;\n}\n\n.page-position {\n margin-block: 0px;\n margin-inline: 0.5rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n/* @keyframes*/\n@keyframes tip-advance {\n 0% {\n opacity: 0;\n transform: translate3d(50px, 0, 0) scale(0.99);\n }\n 100% {\n opacity: 1;\n transform: translate3d(0, 0, 0) scale(1);\n }\n}\n@keyframes tip-retreat {\n 0% {\n opacity: 0;\n transform: translate3d(-50px, 0, 0) scale(0.99);\n }\n 100% {\n opacity: 1;\n transform: translate3d(0, 0, 0) scale(1);\n }\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h } from \"@stencil/core\";\nimport { CSS, ICONS, TEXT, HEADING_LEVEL } from \"./resources\";\nimport { getElementDir, toAriaBoolean } from \"../../utils/dom\";\nimport { Heading } from \"../functional/Heading\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding `calcite-tip`s.\n */\nexport class TipManager {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, does not display or position the component.\n */\n this.closed = false;\n this.mutationObserver = createObserver(\"mutation\", () => this.setUpTips());\n this.hideTipManager = () => {\n this.closed = true;\n this.calciteTipManagerToggle.emit();\n this.calciteTipManagerClose.emit();\n };\n this.previousClicked = () => {\n this.previousTip();\n };\n this.nextClicked = () => {\n this.nextTip();\n };\n this.tipManagerKeyDownHandler = (event) => {\n if (event.target !== this.container) {\n return;\n }\n switch (event.key) {\n case \"ArrowRight\":\n event.preventDefault();\n this.nextTip();\n break;\n case \"ArrowLeft\":\n event.preventDefault();\n this.previousTip();\n break;\n case \"Home\":\n event.preventDefault();\n this.selectedIndex = 0;\n break;\n case \"End\":\n event.preventDefault();\n this.selectedIndex = this.total - 1;\n break;\n }\n };\n this.storeContainerRef = (el) => {\n this.container = el;\n };\n }\n closedChangeHandler() {\n this.direction = null;\n this.calciteTipManagerToggle.emit();\n }\n selectedChangeHandler() {\n this.showSelectedTip();\n this.updateGroupTitle();\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.setUpTips();\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n }\n disconnectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n /** Selects the next `calcite-tip` to display. */\n async nextTip() {\n this.direction = \"advancing\";\n const nextIndex = this.selectedIndex + 1;\n this.selectedIndex = (nextIndex + this.total) % this.total;\n }\n /** Selects the previous `calcite-tip` to display. */\n async previousTip() {\n this.direction = \"retreating\";\n const previousIndex = this.selectedIndex - 1;\n this.selectedIndex = (previousIndex + this.total) % this.total;\n }\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n setUpTips() {\n const tips = Array.from(this.el.querySelectorAll(\"calcite-tip\"));\n this.total = tips.length;\n if (this.total === 0) {\n return;\n }\n const selectedTip = this.el.querySelector(\"calcite-tip[selected]\");\n this.tips = tips;\n this.selectedIndex = selectedTip ? tips.indexOf(selectedTip) : 0;\n tips.forEach((tip) => {\n tip.nonDismissible = true;\n });\n this.showSelectedTip();\n this.updateGroupTitle();\n }\n showSelectedTip() {\n this.tips.forEach((tip, index) => {\n const isSelected = this.selectedIndex === index;\n tip.selected = isSelected;\n tip.hidden = !isSelected;\n });\n }\n updateGroupTitle() {\n const selectedTip = this.tips[this.selectedIndex];\n const tipParent = selectedTip.closest(\"calcite-tip-group\");\n this.groupTitle = (tipParent === null || tipParent === void 0 ? void 0 : tipParent.groupTitle) || this.intlDefaultTitle || TEXT.defaultGroupTitle;\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderPagination() {\n const dir = getElementDir(this.el);\n const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;\n const nextLabel = intlNext || TEXT.next;\n const previousLabel = intlPrevious || TEXT.previous;\n const paginationLabel = intlPaginationLabel || TEXT.defaultPaginationLabel;\n return tips.length > 1 ? (h(\"footer\", { class: CSS.pagination }, h(\"calcite-action\", { class: CSS.pagePrevious, icon: dir === \"ltr\" ? ICONS.chevronLeft : ICONS.chevronRight, onClick: this.previousClicked, scale: \"m\", text: previousLabel }), h(\"span\", { class: CSS.pagePosition }, `${paginationLabel} ${selectedIndex + 1}/${total}`), h(\"calcite-action\", { class: CSS.pageNext, icon: dir === \"ltr\" ? ICONS.chevronRight : ICONS.chevronLeft, onClick: this.nextClicked, scale: \"m\", text: nextLabel }))) : null;\n }\n render() {\n const { closed, direction, headingLevel, groupTitle, selectedIndex, intlClose, total } = this;\n const closeLabel = intlClose || TEXT.close;\n if (total === 0) {\n return null;\n }\n return (h(\"section\", { \"aria-hidden\": toAriaBoolean(closed), class: CSS.container, hidden: closed, onKeyDown: this.tipManagerKeyDownHandler, ref: this.storeContainerRef, tabIndex: 0 }, h(\"header\", { class: CSS.header }, h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, groupTitle), h(\"calcite-action\", { class: CSS.close, onClick: this.hideTipManager, scale: \"m\", text: closeLabel }, h(\"calcite-icon\", { icon: ICONS.close, scale: \"m\" }))), h(\"div\", { class: {\n [CSS.tipContainer]: true,\n [CSS.tipContainerAdvancing]: !closed && direction === \"advancing\",\n [CSS.tipContainerRetreating]: !closed && direction === \"retreating\"\n }, key: selectedIndex, tabIndex: 0 }, h(\"slot\", null)), this.renderPagination()));\n }\n static get is() { return \"calcite-tip-manager\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tip-manager.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tip-manager.css\"]\n };\n }\n static get properties() {\n return {\n \"closed\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, does not display or position the component.\"\n },\n \"attribute\": \"closed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false\n },\n \"intlDefaultTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the `calcite-tip-group` title.\"\n },\n \"attribute\": \"intl-default-title\",\n \"reflect\": false\n },\n \"intlNext\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for navigating to the next tip.\"\n },\n \"attribute\": \"intl-next\",\n \"reflect\": false\n },\n \"intlPaginationLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Text that accompanies the component's pagination.\"\n },\n \"attribute\": \"intl-pagination-label\",\n \"reflect\": false\n },\n \"intlPrevious\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for navigating to the previous tip.\"\n },\n \"attribute\": \"intl-previous\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"selectedIndex\": {},\n \"tips\": {},\n \"total\": {},\n \"direction\": {},\n \"groupTitle\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteTipManagerToggle\",\n \"name\": \"calciteTipManagerToggle\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calciteTipManagerClose` instead.\"\n }],\n \"text\": \"Emits when the component has been open or closed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteTipManagerClose\",\n \"name\": \"calciteTipManagerClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emits when the component has been closed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"nextTip\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Selects the next `calcite-tip` to display.\",\n \"tags\": []\n }\n },\n \"previousTip\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Selects the previous `calcite-tip` to display.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"closed\",\n \"methodName\": \"closedChangeHandler\"\n }, {\n \"propName\": \"selectedIndex\",\n \"methodName\": \"selectedChangeHandler\"\n }];\n }\n}\n"],"version":3}
|
@@ -0,0 +1,203 @@
|
|
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 { g as getElementProp, t as toAriaBoolean } from './p-32a67cb2.js';
|
8
|
+
import './p-729708a3.js';
|
9
|
+
import './p-a80b3880.js';
|
10
|
+
|
11
|
+
/*!
|
12
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
14
|
+
* v1.0.0-beta.97
|
15
|
+
*/
|
16
|
+
const CSS = {
|
17
|
+
containerLink: "container--link",
|
18
|
+
containerSmall: "container--s",
|
19
|
+
containerMedium: "container--m",
|
20
|
+
containerLarge: "container--l",
|
21
|
+
containerMulti: "container--multi-selection",
|
22
|
+
containerSingle: "container--single-selection",
|
23
|
+
containerNone: "container--none-selection"
|
24
|
+
};
|
25
|
+
|
26
|
+
const dropdownItemCss = "@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}.container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;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);text-align:start}.dropdown-item-content{flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;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)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
27
|
+
|
28
|
+
const DropdownItem = class {
|
29
|
+
constructor(hostRef) {
|
30
|
+
registerInstance(this, hostRef);
|
31
|
+
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 6);
|
32
|
+
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 6);
|
33
|
+
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 6);
|
34
|
+
//--------------------------------------------------------------------------
|
35
|
+
//
|
36
|
+
// Public Properties
|
37
|
+
//
|
38
|
+
//--------------------------------------------------------------------------
|
39
|
+
/**
|
40
|
+
* Indicates whether the item is active.
|
41
|
+
*
|
42
|
+
* @deprecated Use selected instead.
|
43
|
+
*/
|
44
|
+
this.active = false;
|
45
|
+
/** When true, item is selected */
|
46
|
+
this.selected = false;
|
47
|
+
}
|
48
|
+
activeHandler(value) {
|
49
|
+
this.selected = value;
|
50
|
+
}
|
51
|
+
selectedHandler(value) {
|
52
|
+
this.active = value;
|
53
|
+
}
|
54
|
+
//--------------------------------------------------------------------------
|
55
|
+
//
|
56
|
+
// Public Methods
|
57
|
+
//
|
58
|
+
//--------------------------------------------------------------------------
|
59
|
+
/** Sets focus on the component. */
|
60
|
+
async setFocus() {
|
61
|
+
var _a;
|
62
|
+
(_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
|
63
|
+
}
|
64
|
+
//--------------------------------------------------------------------------
|
65
|
+
//
|
66
|
+
// Lifecycle
|
67
|
+
//
|
68
|
+
//--------------------------------------------------------------------------
|
69
|
+
componentWillLoad() {
|
70
|
+
this.initialize();
|
71
|
+
}
|
72
|
+
connectedCallback() {
|
73
|
+
const isSelected = this.selected || this.active;
|
74
|
+
if (isSelected) {
|
75
|
+
this.activeHandler(isSelected);
|
76
|
+
this.selectedHandler(isSelected);
|
77
|
+
}
|
78
|
+
this.initialize();
|
79
|
+
}
|
80
|
+
render() {
|
81
|
+
const scale = getElementProp(this.el, "scale", "m");
|
82
|
+
const iconStartEl = (h("calcite-icon", { class: "dropdown-item-icon-start", flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
83
|
+
const contentNode = (h("span", { class: "dropdown-item-content" }, h("slot", null)));
|
84
|
+
const iconEndEl = (h("calcite-icon", { class: "dropdown-item-icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
85
|
+
const slottedContent = this.iconStart && this.iconEnd
|
86
|
+
? [iconStartEl, contentNode, iconEndEl]
|
87
|
+
: this.iconStart
|
88
|
+
? [iconStartEl, h("slot", null)]
|
89
|
+
: this.iconEnd
|
90
|
+
? [contentNode, iconEndEl]
|
91
|
+
: contentNode;
|
92
|
+
const contentEl = !this.href ? (slottedContent) : (h("a", { "aria-label": this.label, class: "dropdown-link", href: this.href, ref: (el) => (this.childLink = el), rel: this.rel, target: this.target }, slottedContent));
|
93
|
+
const itemRole = this.href
|
94
|
+
? null
|
95
|
+
: this.selectionMode === "single"
|
96
|
+
? "menuitemradio"
|
97
|
+
: this.selectionMode === "multi"
|
98
|
+
? "menuitemcheckbox"
|
99
|
+
: "menuitem";
|
100
|
+
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
101
|
+
return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, h("div", { class: {
|
102
|
+
container: true,
|
103
|
+
[CSS.containerLink]: !!this.href,
|
104
|
+
[CSS.containerSmall]: scale === "s",
|
105
|
+
[CSS.containerMedium]: scale === "m",
|
106
|
+
[CSS.containerLarge]: scale === "l",
|
107
|
+
[CSS.containerMulti]: this.selectionMode === "multi",
|
108
|
+
[CSS.containerSingle]: this.selectionMode === "single",
|
109
|
+
[CSS.containerNone]: this.selectionMode === "none"
|
110
|
+
} }, this.selectionMode !== "none" ? (h("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
111
|
+
}
|
112
|
+
//--------------------------------------------------------------------------
|
113
|
+
//
|
114
|
+
// Event Listeners
|
115
|
+
//
|
116
|
+
//--------------------------------------------------------------------------
|
117
|
+
onClick() {
|
118
|
+
this.emitRequestedItem();
|
119
|
+
}
|
120
|
+
keyDownHandler(event) {
|
121
|
+
switch (event.key) {
|
122
|
+
case " ":
|
123
|
+
case "Enter":
|
124
|
+
this.emitRequestedItem();
|
125
|
+
if (this.href) {
|
126
|
+
this.childLink.click();
|
127
|
+
}
|
128
|
+
event.preventDefault();
|
129
|
+
break;
|
130
|
+
case "Escape":
|
131
|
+
this.calciteInternalDropdownCloseRequest.emit();
|
132
|
+
event.preventDefault();
|
133
|
+
break;
|
134
|
+
case "Tab":
|
135
|
+
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });
|
136
|
+
break;
|
137
|
+
case "ArrowUp":
|
138
|
+
case "ArrowDown":
|
139
|
+
case "Home":
|
140
|
+
case "End":
|
141
|
+
event.preventDefault();
|
142
|
+
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });
|
143
|
+
break;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
updateActiveItemOnChange(event) {
|
147
|
+
const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);
|
148
|
+
if (parentEmittedChange) {
|
149
|
+
this.requestedDropdownGroup = event.detail.requestedDropdownGroup;
|
150
|
+
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
151
|
+
this.determineActiveItem();
|
152
|
+
}
|
153
|
+
event.stopPropagation();
|
154
|
+
}
|
155
|
+
//--------------------------------------------------------------------------
|
156
|
+
//
|
157
|
+
// Private Methods
|
158
|
+
//
|
159
|
+
//--------------------------------------------------------------------------
|
160
|
+
initialize() {
|
161
|
+
this.selectionMode = getElementProp(this.el, "selection-mode", "single");
|
162
|
+
this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
|
163
|
+
if (this.selectionMode === "none") {
|
164
|
+
this.selected = false;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
determineActiveItem() {
|
168
|
+
switch (this.selectionMode) {
|
169
|
+
case "multi":
|
170
|
+
if (this.el === this.requestedDropdownItem) {
|
171
|
+
this.selected = !this.selected;
|
172
|
+
}
|
173
|
+
break;
|
174
|
+
case "single":
|
175
|
+
if (this.el === this.requestedDropdownItem) {
|
176
|
+
this.selected = true;
|
177
|
+
}
|
178
|
+
else if (this.requestedDropdownGroup === this.parentDropdownGroupEl) {
|
179
|
+
this.selected = false;
|
180
|
+
}
|
181
|
+
break;
|
182
|
+
case "none":
|
183
|
+
this.selected = false;
|
184
|
+
break;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
emitRequestedItem() {
|
188
|
+
this.calciteInternalDropdownItemSelect.emit({
|
189
|
+
requestedDropdownItem: this.el,
|
190
|
+
requestedDropdownGroup: this.parentDropdownGroupEl
|
191
|
+
});
|
192
|
+
}
|
193
|
+
get el() { return getElement(this); }
|
194
|
+
static get watchers() { return {
|
195
|
+
"active": ["activeHandler"],
|
196
|
+
"selected": ["selectedHandler"]
|
197
|
+
}; }
|
198
|
+
};
|
199
|
+
DropdownItem.style = dropdownItemCss;
|
200
|
+
|
201
|
+
export { DropdownItem as calcite_dropdown_item };
|
202
|
+
|
203
|
+
//# sourceMappingURL=p-79cde78e.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"calcite-dropdown-item.entry.esm.js","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,aAAa,EAAE,iBAAiB;AAClC,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,eAAe,EAAE,cAAc;AACjC,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,cAAc,EAAE,4BAA4B;AAC9C,EAAE,eAAe,EAAE,6BAA6B;AAChD,EAAE,aAAa,EAAE,2BAA2B;AAC5C,CAAC;;ACbD,MAAM,eAAe,GAAG,4/MAA4/M;;MCWvgN,YAAY;EACvB;;;;;;;;;;;;;;;IAWE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;IAEpB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;GACvB;EACD,aAAa,CAAC,KAAK;IACjB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;GACvB;EACD,eAAe,CAAC,KAAK;IACnB,IAAI,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I,CAAC,sBAAsB,KAAK,IAAI,CAAC,qBAAqB,EAAE;UACnE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;SACvB;QACD,MAAM;MACR,KAAK,MAAM;QACT,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACtB,MAAM;KACT;GACF;EACD,iBAAiB;IACf,IAAI,CAAC,iCAAiC,CAAC,IAAI,CAAC;MAC1C,qBAAqB,EAAE,IAAI,CAAC,EAAE;MAC9B,sBAAsB,EAAE,IAAI,CAAC,qBAAqB;KACnD,CAAC,CAAC;GACJ;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css?tag=calcite-dropdown-item&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n containerLink: \"container--link\",\n containerSmall: \"container--s\",\n containerMedium: \"container--m\",\n containerLarge: \"container--l\",\n containerMulti: \"container--multi-selection\",\n containerSingle: \"container--single-selection\",\n containerNone: \"container--none-selection\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.container--s {\n padding-block: 0.25rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n padding-inline-end: 0.5rem;\n padding-inline-start: 1.5rem;\n}\n\n.container--m {\n padding-block: 0.5rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n padding-inline-end: 0.75rem;\n padding-inline-start: 2rem;\n}\n\n.container--l {\n padding-block: 0.75rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n padding-inline-end: 1rem;\n padding-inline-start: 2.5rem;\n}\n\n.container--s.container--none-selection {\n padding-inline-start: 0.25rem;\n}\n.container--s.container--none-selection .dropdown-link {\n padding-inline-start: 0px;\n}\n\n.container--m.container--none-selection {\n padding-inline-start: 0.5rem;\n}\n.container--m.container--none-selection .dropdown-link {\n padding-inline-start: 0px;\n}\n\n.container--l.container--none-selection {\n padding-inline-start: 0.75rem;\n}\n.container--l.container--none-selection .dropdown-link {\n padding-inline-start: 0px;\n}\n\n:host {\n position: relative;\n display: flex;\n flex-grow: 1;\n align-items: center;\n}\n\n.container {\n position: relative;\n display: flex;\n flex-grow: 1;\n cursor: pointer;\n align-items: center;\n color: var(--calcite-ui-text-3);\n text-decoration-line: none;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n text-align: start;\n}\n\n.dropdown-item-content {\n flex: 1 1 auto;\n padding-inline-end: auto;\n padding-inline-start: 0.25rem;\n}\n\n:host, \n.container--link a {\n outline-color: transparent;\n}\n\n:host(:focus) {\n outline: 2px solid transparent;\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.container--link {\n padding: 0px;\n}\n.container--link a {\n position: relative;\n display: flex;\n flex-grow: 1;\n cursor: pointer;\n align-items: center;\n color: var(--calcite-ui-text-3);\n text-decoration-line: none;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.container--s .dropdown-link {\n padding-block: 0.25rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n padding-inline-end: 0.5rem;\n padding-inline-start: 1.5rem;\n}\n\n.container--m .dropdown-link {\n padding-block: 0.5rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n padding-inline-end: 0.75rem;\n padding-inline-start: 2rem;\n}\n\n.container--l .dropdown-link {\n padding-block: 0.75rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n padding-inline-end: 1rem;\n padding-inline-start: 2.5rem;\n}\n\n:host(:hover) .container, \n:host(:active) .container {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n text-decoration-line: none;\n}\n\n:host(:hover) .container--link .dropdown-link, \n:host(:active) .container--link .dropdown-link {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .container {\n color: var(--calcite-ui-text-1);\n text-decoration-line: none;\n}\n\n:host(:active) .container {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n:host(:hover) .container:before, \n:host(:active) .container:before, \n:host(:focus) .container:before {\n opacity: 1;\n}\n\n:host([selected]) .container:not(.container--none-selection), \n:host([selected]) .container--link .dropdown-link {\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n}\n:host([selected]) .container:not(.container--none-selection):before, \n:host([selected]) .container--link .dropdown-link:before {\n opacity: 1;\n color: var(--calcite-ui-brand);\n}\n:host([selected]) .container:not(.container--none-selection) calcite-icon,\n:host([selected]) .container--link .dropdown-link calcite-icon {\n color: var(--calcite-ui-brand);\n}\n\n.container--multi-selection:before, \n.container--none-selection:before {\n display: none;\n}\n\n.container--s:before {\n inset-inline-start: 0.5rem;\n}\n\n.container--m:before {\n inset-inline-start: 0.75rem;\n}\n\n.container--l:before {\n inset-inline-start: 1rem;\n}\n\n.dropdown-item-icon {\n position: absolute;\n opacity: 0;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transform: scale(0.9);\n}\n\n.container--s .dropdown-item-icon {\n inset-inline-start: 0.25rem;\n}\n\n.container--m .dropdown-item-icon {\n inset-inline-start: 0.5rem;\n}\n\n.container--l .dropdown-item-icon {\n inset-inline-start: 0.75rem;\n}\n\n:host(:hover) .dropdown-item-icon {\n color: var(--calcite-ui-border-1);\n opacity: 1;\n}\n\n:host([active]) .dropdown-item-icon {\n color: var(--calcite-ui-brand);\n opacity: 1;\n}\n\n.container--s .dropdown-item-icon-start {\n margin-inline-end: 0.5rem;\n margin-inline-start: 0.25rem;\n}\n.container--s .dropdown-item-icon-end {\n margin-inline-start: 0.5rem;\n}\n\n.container--m .dropdown-item-icon-start {\n margin-inline-end: 0.75rem;\n margin-inline-start: 0.25rem;\n}\n.container--m .dropdown-item-icon-end {\n margin-inline-start: 0.75rem;\n}\n\n.container--l .dropdown-item-icon-start {\n margin-inline-end: 1rem;\n margin-inline-start: 0.25rem;\n}\n.container--l .dropdown-item-icon-end {\n margin-inline-start: 1rem;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Host } from \"@stencil/core\";\nimport { getElementProp, toAriaBoolean } from \"../../utils/dom\";\nimport { CSS } from \"./resources\";\n/**\n * @slot - A slot for adding text.\n */\nexport class DropdownItem {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /**\n * Indicates whether the item is active.\n *\n * @deprecated Use selected instead.\n */\n this.active = false;\n /** When true, item is selected */\n this.selected = false;\n }\n activeHandler(value) {\n this.selected = value;\n }\n selectedHandler(value) {\n this.active = value;\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n var _a;\n (_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentWillLoad() {\n this.initialize();\n }\n connectedCallback() {\n const isSelected = this.selected || this.active;\n if (isSelected) {\n this.activeHandler(isSelected);\n this.selectedHandler(isSelected);\n }\n this.initialize();\n }\n render() {\n const scale = getElementProp(this.el, \"scale\", \"m\");\n const iconStartEl = (h(\"calcite-icon\", { class: \"dropdown-item-icon-start\", flipRtl: this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\", icon: this.iconStart, scale: \"s\" }));\n const contentNode = (h(\"span\", { class: \"dropdown-item-content\" }, h(\"slot\", null)));\n const iconEndEl = (h(\"calcite-icon\", { class: \"dropdown-item-icon-end\", flipRtl: this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\", icon: this.iconEnd, scale: \"s\" }));\n const slottedContent = this.iconStart && this.iconEnd\n ? [iconStartEl, contentNode, iconEndEl]\n : this.iconStart\n ? [iconStartEl, h(\"slot\", null)]\n : this.iconEnd\n ? [contentNode, iconEndEl]\n : contentNode;\n const contentEl = !this.href ? (slottedContent) : (h(\"a\", { \"aria-label\": this.label, class: \"dropdown-link\", href: this.href, ref: (el) => (this.childLink = el), rel: this.rel, target: this.target }, slottedContent));\n const itemRole = this.href\n ? null\n : this.selectionMode === \"single\"\n ? \"menuitemradio\"\n : this.selectionMode === \"multi\"\n ? \"menuitemcheckbox\"\n : \"menuitem\";\n const itemAria = this.selectionMode !== \"none\" ? toAriaBoolean(this.selected) : null;\n return (h(Host, { \"aria-checked\": itemAria, role: itemRole, tabindex: \"0\" }, h(\"div\", { class: {\n container: true,\n [CSS.containerLink]: !!this.href,\n [CSS.containerSmall]: scale === \"s\",\n [CSS.containerMedium]: scale === \"m\",\n [CSS.containerLarge]: scale === \"l\",\n [CSS.containerMulti]: this.selectionMode === \"multi\",\n [CSS.containerSingle]: this.selectionMode === \"single\",\n [CSS.containerNone]: this.selectionMode === \"none\"\n } }, this.selectionMode !== \"none\" ? (h(\"calcite-icon\", { class: \"dropdown-item-icon\", icon: this.selectionMode === \"multi\" ? \"check\" : \"bullet-point\", scale: \"s\" })) : null, contentEl)));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n onClick() {\n this.emitRequestedItem();\n }\n keyDownHandler(event) {\n switch (event.key) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n if (this.href) {\n this.childLink.click();\n }\n event.preventDefault();\n break;\n case \"Escape\":\n this.calciteInternalDropdownCloseRequest.emit();\n event.preventDefault();\n break;\n case \"Tab\":\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n event.preventDefault();\n this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: event });\n break;\n }\n }\n updateActiveItemOnChange(event) {\n const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);\n if (parentEmittedChange) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.determineActiveItem();\n }\n event.stopPropagation();\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n initialize() {\n this.selectionMode = getElementProp(this.el, \"selection-mode\", \"single\");\n this.parentDropdownGroupEl = this.el.closest(\"calcite-dropdown-group\");\n if (this.selectionMode === \"none\") {\n this.selected = false;\n }\n }\n determineActiveItem() {\n switch (this.selectionMode) {\n case \"multi\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = !this.selected;\n }\n break;\n case \"single\":\n if (this.el === this.requestedDropdownItem) {\n this.selected = true;\n }\n else if (this.requestedDropdownGroup === this.parentDropdownGroupEl) {\n this.selected = false;\n }\n break;\n case \"none\":\n this.selected = false;\n break;\n }\n }\n emitRequestedItem() {\n this.calciteInternalDropdownItemSelect.emit({\n requestedDropdownItem: this.el,\n requestedDropdownGroup: this.parentDropdownGroupEl\n });\n }\n static get is() { return \"calcite-dropdown-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"dropdown-item.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"dropdown-item.css\"]\n };\n }\n static get properties() {\n return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"Use selected instead.\"\n }],\n \"text\": \"Indicates whether the item is active.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When true, item is selected\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"iconFlipRtl\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"FlipContext\",\n \"resolved\": \"\\\"both\\\" | \\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"FlipContext\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When true, the icon will be flipped when the element direction is right-to-left (`\\\"rtl\\\"`).\"\n },\n \"attribute\": \"icon-flip-rtl\",\n \"reflect\": true\n },\n \"iconStart\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies an icon to display at the start of the component.\"\n },\n \"attribute\": \"icon-start\",\n \"reflect\": true\n },\n \"iconEnd\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies an icon to display at the end of the component.\"\n },\n \"attribute\": \"icon-end\",\n \"reflect\": true\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally pass a href - used to determine if the component should render as anchor\"\n },\n \"attribute\": \"href\",\n \"reflect\": true\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Applies to the aria-label attribute on the button or hyperlink\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"rel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The rel attribute to apply to the hyperlink\"\n },\n \"attribute\": \"rel\",\n \"reflect\": true\n },\n \"target\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The target attribute to apply to the hyperlink\"\n },\n \"attribute\": \"target\",\n \"reflect\": true\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteInternalDropdownItemSelect\",\n \"name\": \"calciteInternalDropdownItemSelect\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"RequestedItem\",\n \"resolved\": \"RequestedItem\",\n \"references\": {\n \"RequestedItem\": {\n \"location\": \"import\",\n \"path\": \"../dropdown-group/interfaces\"\n }\n }\n }\n }, {\n \"method\": \"calciteInternalDropdownItemKeyEvent\",\n \"name\": \"calciteInternalDropdownItemKeyEvent\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"ItemKeyboardEvent\",\n \"resolved\": \"ItemKeyboardEvent\",\n \"references\": {\n \"ItemKeyboardEvent\": {\n \"location\": \"import\",\n \"path\": \"../dropdown/interfaces\"\n }\n }\n }\n }, {\n \"method\": \"calciteInternalDropdownCloseRequest\",\n \"name\": \"calciteInternalDropdownCloseRequest\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"active\",\n \"methodName\": \"activeHandler\"\n }, {\n \"propName\": \"selected\",\n \"methodName\": \"selectedHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"click\",\n \"method\": \"onClick\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"keyDownHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalDropdownItemChange\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|