@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,157 @@
|
|
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
|
+
|
8
|
+
const accordionCss = "@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([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-ui-border-2);--calcite-accordion-item-background:var(--calcite-ui-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion--minimal{--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-2)}";
|
9
|
+
|
10
|
+
const Accordion = class {
|
11
|
+
constructor(hostRef) {
|
12
|
+
registerInstance(this, hostRef);
|
13
|
+
this.calciteInternalAccordionChange = createEvent(this, "calciteInternalAccordionChange", 6);
|
14
|
+
//--------------------------------------------------------------------------
|
15
|
+
//
|
16
|
+
// Public Properties
|
17
|
+
//
|
18
|
+
//--------------------------------------------------------------------------
|
19
|
+
/** Specifies the appearance of the component. */
|
20
|
+
this.appearance = "solid";
|
21
|
+
/** Specifies the placement of the icon in the header. */
|
22
|
+
this.iconPosition = "end";
|
23
|
+
/** Specifies the type of the icon in the header. */
|
24
|
+
this.iconType = "chevron";
|
25
|
+
/** Specifies the size of the component. */
|
26
|
+
this.scale = "m";
|
27
|
+
/**
|
28
|
+
* Specifies the selection mode - `"multi"` (allow any number of open items), `"single"` (allow one open item),
|
29
|
+
* or `"single-persist"` (allow and require one open item).
|
30
|
+
*/
|
31
|
+
this.selectionMode = "multi";
|
32
|
+
//--------------------------------------------------------------------------
|
33
|
+
//
|
34
|
+
// Private State/Props
|
35
|
+
//
|
36
|
+
//--------------------------------------------------------------------------
|
37
|
+
/** created list of Accordion items */
|
38
|
+
this.items = [];
|
39
|
+
/** keep track of whether the items have been sorted so we don't re-sort */
|
40
|
+
this.sorted = false;
|
41
|
+
this.sortItems = (items) => items.sort((a, b) => a.position - b.position).map((a) => a.item);
|
42
|
+
}
|
43
|
+
//--------------------------------------------------------------------------
|
44
|
+
//
|
45
|
+
// Lifecycle
|
46
|
+
//
|
47
|
+
//--------------------------------------------------------------------------
|
48
|
+
componentDidLoad() {
|
49
|
+
if (!this.sorted) {
|
50
|
+
this.items = this.sortItems(this.items);
|
51
|
+
this.sorted = true;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
render() {
|
55
|
+
const transparent = this.appearance === "transparent";
|
56
|
+
const minimal = this.appearance === "minimal";
|
57
|
+
return (h("div", { class: {
|
58
|
+
"accordion--transparent": transparent,
|
59
|
+
"accordion--minimal": minimal,
|
60
|
+
accordion: !transparent && !minimal
|
61
|
+
} }, h("slot", null)));
|
62
|
+
}
|
63
|
+
//--------------------------------------------------------------------------
|
64
|
+
//
|
65
|
+
// Event Listeners
|
66
|
+
//
|
67
|
+
//--------------------------------------------------------------------------
|
68
|
+
calciteInternalAccordionItemKeyEvent(event) {
|
69
|
+
const item = event.detail.item;
|
70
|
+
const parent = event.detail.parent;
|
71
|
+
if (this.el === parent) {
|
72
|
+
const { key } = item;
|
73
|
+
const itemToFocus = event.target;
|
74
|
+
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
75
|
+
const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;
|
76
|
+
switch (key) {
|
77
|
+
case "ArrowDown":
|
78
|
+
if (isLastItem) {
|
79
|
+
this.focusFirstItem();
|
80
|
+
}
|
81
|
+
else {
|
82
|
+
this.focusNextItem(itemToFocus);
|
83
|
+
}
|
84
|
+
break;
|
85
|
+
case "ArrowUp":
|
86
|
+
if (isFirstItem) {
|
87
|
+
this.focusLastItem();
|
88
|
+
}
|
89
|
+
else {
|
90
|
+
this.focusPrevItem(itemToFocus);
|
91
|
+
}
|
92
|
+
break;
|
93
|
+
case "Home":
|
94
|
+
this.focusFirstItem();
|
95
|
+
break;
|
96
|
+
case "End":
|
97
|
+
this.focusLastItem();
|
98
|
+
break;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
event.stopPropagation();
|
102
|
+
}
|
103
|
+
registerCalciteAccordionItem(event) {
|
104
|
+
const item = {
|
105
|
+
item: event.target,
|
106
|
+
parent: event.detail.parent,
|
107
|
+
position: event.detail.position
|
108
|
+
};
|
109
|
+
if (this.el === item.parent) {
|
110
|
+
this.items.push(item);
|
111
|
+
}
|
112
|
+
event.stopPropagation();
|
113
|
+
}
|
114
|
+
updateActiveItemOnChange(event) {
|
115
|
+
this.requestedAccordionItem = event.detail.requestedAccordionItem;
|
116
|
+
this.calciteInternalAccordionChange.emit({
|
117
|
+
requestedAccordionItem: this.requestedAccordionItem
|
118
|
+
});
|
119
|
+
event.stopPropagation();
|
120
|
+
}
|
121
|
+
//--------------------------------------------------------------------------
|
122
|
+
//
|
123
|
+
// Private Methods
|
124
|
+
//
|
125
|
+
//--------------------------------------------------------------------------
|
126
|
+
focusFirstItem() {
|
127
|
+
const firstItem = this.items[0];
|
128
|
+
this.focusElement(firstItem);
|
129
|
+
}
|
130
|
+
focusLastItem() {
|
131
|
+
const lastItem = this.items[this.items.length - 1];
|
132
|
+
this.focusElement(lastItem);
|
133
|
+
}
|
134
|
+
focusNextItem(el) {
|
135
|
+
const index = this.itemIndex(el);
|
136
|
+
const nextItem = this.items[index + 1] || this.items[0];
|
137
|
+
this.focusElement(nextItem);
|
138
|
+
}
|
139
|
+
focusPrevItem(el) {
|
140
|
+
const index = this.itemIndex(el);
|
141
|
+
const prevItem = this.items[index - 1] || this.items[this.items.length - 1];
|
142
|
+
this.focusElement(prevItem);
|
143
|
+
}
|
144
|
+
itemIndex(el) {
|
145
|
+
return this.items.indexOf(el);
|
146
|
+
}
|
147
|
+
focusElement(item) {
|
148
|
+
const target = item;
|
149
|
+
target === null || target === void 0 ? void 0 : target.focus();
|
150
|
+
}
|
151
|
+
get el() { return getElement(this); }
|
152
|
+
};
|
153
|
+
Accordion.style = accordionCss;
|
154
|
+
|
155
|
+
export { Accordion as calcite_accordion };
|
156
|
+
|
157
|
+
//# sourceMappingURL=p-64c63eb2.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"calcite-accordion.entry.esm.js","mappings":"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","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css?tag=calcite-accordion&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.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:host([scale=s]) {\n --calcite-accordion-item-spacing-unit: 0.25rem;\n --calcite-accordion-icon-margin: 0.5rem;\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0.5rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n:host([scale=m]) {\n --calcite-accordion-item-spacing-unit: 0.5rem;\n --calcite-accordion-icon-margin: 0.75rem;\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0.75rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n:host([scale=l]) {\n --calcite-accordion-item-spacing-unit: 0.75rem;\n --calcite-accordion-icon-margin: 1rem;\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 1rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n\n:host {\n position: relative;\n display: block;\n max-inline-size: 100%;\n line-height: 1.5rem;\n --calcite-accordion-item-border: var(--calcite-ui-border-2);\n --calcite-accordion-item-background: var(--calcite-ui-foreground-1);\n}\n\n.accordion--transparent {\n --calcite-accordion-item-border: transparent;\n --calcite-accordion-item-background: transparent;\n}\n\n.accordion--minimal {\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0;\n}\n\n.accordion {\n border-width: 1px;\n border-block-end-width: 0px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\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\";\n/**\n * @slot - A slot for adding `calcite-accordion-item`s. `calcite-accordion` cannot be nested, however `calcite-accordion-item`s can.\n */\nexport class Accordion {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** Specifies the appearance of the component. */\n this.appearance = \"solid\";\n /** Specifies the placement of the icon in the header. */\n this.iconPosition = \"end\";\n /** Specifies the type of the icon in the header. */\n this.iconType = \"chevron\";\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /**\n * Specifies the selection mode - `\"multi\"` (allow any number of open items), `\"single\"` (allow one open item),\n * or `\"single-persist\"` (allow and require one open item).\n */\n this.selectionMode = \"multi\";\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n /** created list of Accordion items */\n this.items = [];\n /** keep track of whether the items have been sorted so we don't re-sort */\n this.sorted = false;\n this.sortItems = (items) => items.sort((a, b) => a.position - b.position).map((a) => a.item);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentDidLoad() {\n if (!this.sorted) {\n this.items = this.sortItems(this.items);\n this.sorted = true;\n }\n }\n render() {\n const transparent = this.appearance === \"transparent\";\n const minimal = this.appearance === \"minimal\";\n return (h(\"div\", { class: {\n \"accordion--transparent\": transparent,\n \"accordion--minimal\": minimal,\n accordion: !transparent && !minimal\n } }, h(\"slot\", null)));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n calciteInternalAccordionItemKeyEvent(event) {\n const item = event.detail.item;\n const parent = event.detail.parent;\n if (this.el === parent) {\n const { key } = item;\n const itemToFocus = event.target;\n const isFirstItem = this.itemIndex(itemToFocus) === 0;\n const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;\n switch (key) {\n case \"ArrowDown\":\n if (isLastItem) {\n this.focusFirstItem();\n }\n else {\n this.focusNextItem(itemToFocus);\n }\n break;\n case \"ArrowUp\":\n if (isFirstItem) {\n this.focusLastItem();\n }\n else {\n this.focusPrevItem(itemToFocus);\n }\n break;\n case \"Home\":\n this.focusFirstItem();\n break;\n case \"End\":\n this.focusLastItem();\n break;\n }\n }\n event.stopPropagation();\n }\n registerCalciteAccordionItem(event) {\n const item = {\n item: event.target,\n parent: event.detail.parent,\n position: event.detail.position\n };\n if (this.el === item.parent) {\n this.items.push(item);\n }\n event.stopPropagation();\n }\n updateActiveItemOnChange(event) {\n this.requestedAccordionItem = event.detail.requestedAccordionItem;\n this.calciteInternalAccordionChange.emit({\n requestedAccordionItem: this.requestedAccordionItem\n });\n event.stopPropagation();\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n focusFirstItem() {\n const firstItem = this.items[0];\n this.focusElement(firstItem);\n }\n focusLastItem() {\n const lastItem = this.items[this.items.length - 1];\n this.focusElement(lastItem);\n }\n focusNextItem(el) {\n const index = this.itemIndex(el);\n const nextItem = this.items[index + 1] || this.items[0];\n this.focusElement(nextItem);\n }\n focusPrevItem(el) {\n const index = this.itemIndex(el);\n const prevItem = this.items[index - 1] || this.items[this.items.length - 1];\n this.focusElement(prevItem);\n }\n itemIndex(el) {\n return this.items.indexOf(el);\n }\n focusElement(item) {\n const target = item;\n target === null || target === void 0 ? void 0 : target.focus();\n }\n static get is() { return \"calcite-accordion\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"accordion.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"accordion.css\"]\n };\n }\n static get properties() {\n return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"AccordionAppearance\",\n \"resolved\": \"\\\"default\\\" | \\\"minimal\\\" | \\\"solid\\\" | \\\"transparent\\\"\",\n \"references\": {\n \"AccordionAppearance\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the appearance of the component.\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"solid\\\"\"\n },\n \"iconPosition\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Position\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Position\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the placement of the icon in the header.\"\n },\n \"attribute\": \"icon-position\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"end\\\"\"\n },\n \"iconType\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"chevron\\\" | \\\"caret\\\" | \\\"plus-minus\\\"\",\n \"resolved\": \"\\\"caret\\\" | \\\"chevron\\\" | \\\"plus-minus\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the type of the icon in the header.\"\n },\n \"attribute\": \"icon-type\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"chevron\\\"\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"selectionMode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"multi\\\" | \\\"single\\\" | \\\"single-persist\\\"\",\n \"resolved\": \"\\\"multi\\\" | \\\"single\\\" | \\\"single-persist\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the selection mode - `\\\"multi\\\"` (allow any number of open items), `\\\"single\\\"` (allow one open item),\\nor `\\\"single-persist\\\"` (allow and require one open item).\"\n },\n \"attribute\": \"selection-mode\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"multi\\\"\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteInternalAccordionChange\",\n \"name\": \"calciteInternalAccordionChange\",\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\": \"./interfaces\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"calciteInternalAccordionItemKeyEvent\",\n \"method\": \"calciteInternalAccordionItemKeyEvent\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalAccordionItemRegister\",\n \"method\": \"registerCalciteAccordionItem\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteInternalAccordionItemSelect\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|
@@ -0,0 +1,100 @@
|
|
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, h, g as getElement } from './p-58c69df2.js';
|
7
|
+
import { f as focusElement } from './p-32a67cb2.js';
|
8
|
+
import { u as updateHostInteraction } from './p-7daea1df.js';
|
9
|
+
import './p-729708a3.js';
|
10
|
+
import './p-a80b3880.js';
|
11
|
+
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
15
|
+
* v1.0.0-beta.97
|
16
|
+
*/
|
17
|
+
const CSS = {
|
18
|
+
button: "button"
|
19
|
+
};
|
20
|
+
const ICONS = {
|
21
|
+
plus: "plus"
|
22
|
+
};
|
23
|
+
|
24
|
+
const fabCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
|
25
|
+
|
26
|
+
const Fab = class {
|
27
|
+
constructor(hostRef) {
|
28
|
+
registerInstance(this, hostRef);
|
29
|
+
// --------------------------------------------------------------------------
|
30
|
+
//
|
31
|
+
// Properties
|
32
|
+
//
|
33
|
+
// --------------------------------------------------------------------------
|
34
|
+
/**
|
35
|
+
* Used to set the button's appearance. Default is outline.
|
36
|
+
*/
|
37
|
+
this.appearance = "outline";
|
38
|
+
/**
|
39
|
+
* Used to set the button's color. Default is light.
|
40
|
+
*/
|
41
|
+
this.color = "neutral";
|
42
|
+
/**
|
43
|
+
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
44
|
+
*/
|
45
|
+
this.disabled = false;
|
46
|
+
/**
|
47
|
+
* Specifies an icon to display.
|
48
|
+
*
|
49
|
+
* @default "plus"
|
50
|
+
*/
|
51
|
+
this.icon = ICONS.plus;
|
52
|
+
/**
|
53
|
+
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
54
|
+
*/
|
55
|
+
this.loading = false;
|
56
|
+
/**
|
57
|
+
* Specifies the size of the fab.
|
58
|
+
*/
|
59
|
+
this.scale = "m";
|
60
|
+
/**
|
61
|
+
* Indicates whether the text is displayed.
|
62
|
+
*/
|
63
|
+
this.textEnabled = false;
|
64
|
+
}
|
65
|
+
//--------------------------------------------------------------------------
|
66
|
+
//
|
67
|
+
// Lifecycle
|
68
|
+
//
|
69
|
+
//--------------------------------------------------------------------------
|
70
|
+
componentDidRender() {
|
71
|
+
updateHostInteraction(this);
|
72
|
+
}
|
73
|
+
// --------------------------------------------------------------------------
|
74
|
+
//
|
75
|
+
// Methods
|
76
|
+
//
|
77
|
+
// --------------------------------------------------------------------------
|
78
|
+
/** Sets focus on the component. */
|
79
|
+
async setFocus() {
|
80
|
+
focusElement(this.buttonEl);
|
81
|
+
}
|
82
|
+
// --------------------------------------------------------------------------
|
83
|
+
//
|
84
|
+
// Render Methods
|
85
|
+
//
|
86
|
+
// --------------------------------------------------------------------------
|
87
|
+
render() {
|
88
|
+
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
89
|
+
const title = !textEnabled ? label || text || null : null;
|
90
|
+
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
91
|
+
this.buttonEl = buttonEl;
|
92
|
+
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
93
|
+
}
|
94
|
+
get el() { return getElement(this); }
|
95
|
+
};
|
96
|
+
Fab.style = fabCss;
|
97
|
+
|
98
|
+
export { Fab as calcite_fab };
|
99
|
+
|
100
|
+
//# sourceMappingURL=p-6940e2fd.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"calcite-fab.entry.esm.js","mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,MAAM,EAAE,QAAQ;AAClB,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;ACVD,MAAM,MAAM,GAAG,+9EAA+9E;;MCSj+E,GAAG;EACd;;;;;;;;;;IASE,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;;;;IAI5B,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;;;;IAIvB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;;IAMtB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;;;;IAIvB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;;;;IAIrB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;;;IAIjB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;GAC1B;;;;;;EAMD,kBAAkB;IAChB,qBAAqB,CAAC,IAAI,CAAC,CAAC;GAC7B;;;;;;;EAOD,MAAM,QAAQ;IACZ,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;GAC7B;;;;;;EAMD,MAAM;IACJ,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC7F,MAAM,KAAK,GAAG,CAAC,WAAW,GAAG,KAAK,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC;IAC1D,QAAQ,CAAC,CAAC,gBAAgB,EAAE,EAAE,UAAU,EAAE,UAAU,KAAK,OAAO,GAAG,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ;QACxM,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;OAC1B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE;GACtH;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/fab/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css?tag=calcite-fab&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/fab/fab.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 button: \"button\"\n};\nexport const ICONS = {\n plus: \"plus\"\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:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host {\n display: flex;\n background-color: transparent;\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\ncalcite-button {\n --tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n --tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\ncalcite-button:hover {\n --tw-shadow: 0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);\n --tw-shadow-colored: 0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\ncalcite-button:active {\n --tw-shadow: 0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);\n --tw-shadow-colored: 0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}","/*!\n * 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 } from \"./resources\";\nimport { focusElement } from \"../../utils/dom\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\nexport class Fab {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Used to set the button's appearance. Default is outline.\n */\n this.appearance = \"outline\";\n /**\n * Used to set the button's color. Default is light.\n */\n this.color = \"neutral\";\n /**\n * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\n */\n this.disabled = false;\n /**\n * Specifies an icon to display.\n *\n * @default \"plus\"\n */\n this.icon = ICONS.plus;\n /**\n * When true, content is waiting to be loaded. This state shows a busy indicator.\n */\n this.loading = false;\n /**\n * Specifies the size of the fab.\n */\n this.scale = \"m\";\n /**\n * Indicates whether the text is displayed.\n */\n this.textEnabled = false;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentDidRender() {\n updateHostInteraction(this);\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n focusElement(this.buttonEl);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;\n const title = !textEnabled ? label || text || null : null;\n return (h(\"calcite-button\", { appearance: appearance === \"solid\" ? \"solid\" : \"outline\", class: CSS.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {\n this.buttonEl = buttonEl;\n }, round: true, scale: scale, title: title, type: \"button\", width: \"auto\" }, this.textEnabled ? this.text : null));\n }\n static get is() { return \"calcite-fab\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"fab.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"fab.css\"]\n };\n }\n static get properties() {\n return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Extract<\\\"solid\\\" | \\\"outline\\\", Appearance>\",\n \"resolved\": \"\\\"outline\\\" | \\\"solid\\\"\",\n \"references\": {\n \"Extract\": {\n \"location\": \"global\"\n },\n \"Appearance\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Used to set the button's appearance. Default is outline.\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"outline\\\"\"\n },\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ButtonColor\",\n \"resolved\": \"\\\"blue\\\" | \\\"inverse\\\" | \\\"neutral\\\" | \\\"red\\\"\",\n \"references\": {\n \"ButtonColor\": {\n \"location\": \"import\",\n \"path\": \"../button/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Used to set the button's color. Default is light.\"\n },\n \"attribute\": \"color\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"neutral\\\"\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"icon\": {\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 \"name\": \"default\",\n \"text\": \"\\\"plus\\\"\"\n }],\n \"text\": \"Specifies an icon to display.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": true,\n \"defaultValue\": \"ICONS.plus\"\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\": \"Label of the FAB, exposed on hover when textEnabled is false. If no label is provided, the label inherits what's provided for the `text` prop.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"loading\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When true, content is waiting to be loaded. This state shows a busy indicator.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the fab.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"text\": {\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 FAB icon.\"\n },\n \"attribute\": \"text\",\n \"reflect\": false\n },\n \"textEnabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether the text is displayed.\"\n },\n \"attribute\": \"text-enabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\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}\n"],"version":3}
|
@@ -0,0 +1,152 @@
|
|
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, F as Fragment, g as getElement } from './p-58c69df2.js';
|
7
|
+
import { f as focusElement } from './p-32a67cb2.js';
|
8
|
+
import { u as updateHostInteraction } from './p-7daea1df.js';
|
9
|
+
import { f as filter } from './p-d48a24e6.js';
|
10
|
+
import { d as debounce } from './p-4e32bf8c.js';
|
11
|
+
import './p-729708a3.js';
|
12
|
+
import './p-a80b3880.js';
|
13
|
+
|
14
|
+
/*!
|
15
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
16
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
17
|
+
* v1.0.0-beta.97
|
18
|
+
*/
|
19
|
+
const CSS = {
|
20
|
+
container: "container",
|
21
|
+
searchIcon: "search-icon"
|
22
|
+
};
|
23
|
+
const TEXT = {
|
24
|
+
filterLabel: "Filter",
|
25
|
+
clear: "Clear filter"
|
26
|
+
};
|
27
|
+
const ICONS = {
|
28
|
+
search: "search",
|
29
|
+
close: "x"
|
30
|
+
};
|
31
|
+
const DEBOUNCE_TIMEOUT = 250;
|
32
|
+
|
33
|
+
const filterCss = "@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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
|
34
|
+
|
35
|
+
const Filter = class {
|
36
|
+
constructor(hostRef) {
|
37
|
+
registerInstance(this, hostRef);
|
38
|
+
this.calciteFilterChange = createEvent(this, "calciteFilterChange", 6);
|
39
|
+
// --------------------------------------------------------------------------
|
40
|
+
//
|
41
|
+
// Properties
|
42
|
+
//
|
43
|
+
// --------------------------------------------------------------------------
|
44
|
+
/**
|
45
|
+
* The items to filter through. The filter uses this as the starting point, and returns items
|
46
|
+
* that contain the string entered in the input, using a partial match and recursive search.
|
47
|
+
*
|
48
|
+
* This property is required.
|
49
|
+
*/
|
50
|
+
this.items = [];
|
51
|
+
/**
|
52
|
+
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
53
|
+
*/
|
54
|
+
this.disabled = false;
|
55
|
+
/**
|
56
|
+
* The resulting items after filtering.
|
57
|
+
*
|
58
|
+
* @readonly
|
59
|
+
*/
|
60
|
+
this.filteredItems = [];
|
61
|
+
/** specify the scale of filter, defaults to m */
|
62
|
+
this.scale = "m";
|
63
|
+
/**
|
64
|
+
* Filter value.
|
65
|
+
*/
|
66
|
+
this.value = "";
|
67
|
+
// --------------------------------------------------------------------------
|
68
|
+
//
|
69
|
+
// Private Methods
|
70
|
+
//
|
71
|
+
// --------------------------------------------------------------------------
|
72
|
+
this.filter = debounce((value, emit = false) => this.updateFiltered(filter(this.items, value), emit), DEBOUNCE_TIMEOUT);
|
73
|
+
this.inputHandler = (event) => {
|
74
|
+
const target = event.target;
|
75
|
+
this.value = target.value;
|
76
|
+
this.filter(target.value, true);
|
77
|
+
};
|
78
|
+
this.keyDownHandler = (event) => {
|
79
|
+
if (event.key === "Escape") {
|
80
|
+
this.clear();
|
81
|
+
event.preventDefault();
|
82
|
+
}
|
83
|
+
if (event.key === "Enter") {
|
84
|
+
event.preventDefault();
|
85
|
+
}
|
86
|
+
};
|
87
|
+
this.clear = () => {
|
88
|
+
this.value = "";
|
89
|
+
this.filter("", true);
|
90
|
+
this.setFocus();
|
91
|
+
};
|
92
|
+
}
|
93
|
+
watchItemsHandler() {
|
94
|
+
this.filter(this.value);
|
95
|
+
}
|
96
|
+
valueHandler(value) {
|
97
|
+
this.filter(value);
|
98
|
+
}
|
99
|
+
//--------------------------------------------------------------------------
|
100
|
+
//
|
101
|
+
// Lifecycle
|
102
|
+
//
|
103
|
+
//--------------------------------------------------------------------------
|
104
|
+
componentDidRender() {
|
105
|
+
updateHostInteraction(this);
|
106
|
+
}
|
107
|
+
//--------------------------------------------------------------------------
|
108
|
+
//
|
109
|
+
// Lifecycle
|
110
|
+
//
|
111
|
+
//--------------------------------------------------------------------------
|
112
|
+
componentWillLoad() {
|
113
|
+
this.filter(this.value);
|
114
|
+
}
|
115
|
+
// --------------------------------------------------------------------------
|
116
|
+
//
|
117
|
+
// Public Methods
|
118
|
+
//
|
119
|
+
// --------------------------------------------------------------------------
|
120
|
+
/** Sets focus on the component. */
|
121
|
+
async setFocus() {
|
122
|
+
focusElement(this.textInput);
|
123
|
+
}
|
124
|
+
updateFiltered(filtered, emit = false) {
|
125
|
+
this.filteredItems.length = 0;
|
126
|
+
this.filteredItems = this.filteredItems.concat(filtered);
|
127
|
+
if (emit) {
|
128
|
+
this.calciteFilterChange.emit();
|
129
|
+
}
|
130
|
+
}
|
131
|
+
// --------------------------------------------------------------------------
|
132
|
+
//
|
133
|
+
// Render Methods
|
134
|
+
//
|
135
|
+
// --------------------------------------------------------------------------
|
136
|
+
render() {
|
137
|
+
const { disabled, scale } = this;
|
138
|
+
return (h(Fragment, null, h("div", { class: CSS.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, clearable: true, disabled: disabled, icon: ICONS.search, intlClear: this.intlClear || TEXT.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
139
|
+
this.textInput = el;
|
140
|
+
}, scale: scale, type: "text", value: this.value })))));
|
141
|
+
}
|
142
|
+
get el() { return getElement(this); }
|
143
|
+
static get watchers() { return {
|
144
|
+
"items": ["watchItemsHandler"],
|
145
|
+
"value": ["valueHandler"]
|
146
|
+
}; }
|
147
|
+
};
|
148
|
+
Filter.style = filterCss;
|
149
|
+
|
150
|
+
export { Filter as calcite_filter };
|
151
|
+
|
152
|
+
//# sourceMappingURL=p-69900b68.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"calcite-filter.entry.esm.js","mappings":"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","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/filter/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css?tag=calcite-filter&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/filter/filter.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 container: \"container\",\n searchIcon: \"search-icon\"\n};\nexport const TEXT = {\n filterLabel: \"Filter\",\n clear: \"Clear filter\"\n};\nexport const ICONS = {\n search: \"search\",\n close: \"x\"\n};\nexport const DEBOUNCE_TIMEOUT = 250;\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host {\n display: flex;\n inline-size: 100%;\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\n.container {\n display: flex;\n inline-size: 100%;\n padding: 0.5rem;\n}\n\nlabel {\n position: relative;\n margin-inline: 0.25rem;\n margin-block: 0px;\n display: flex;\n inline-size: 100%;\n align-items: center;\n overflow: hidden;\n}\n\ninput[type=text] {\n margin-block-end: 0.25rem;\n inline-size: 100%;\n border-style: none;\n background-color: transparent;\n padding-block: 0.25rem;\n font-family: inherit;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n color: var(--calcite-ui-text-1);\n padding-inline-end: 0.25rem;\n padding-inline-start: 1.5rem;\n transition: padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);\n}\ninput[type=text]::-ms-clear {\n display: none;\n}\n\ncalcite-input {\n inline-size: 100%;\n}\n\n.search-icon {\n position: absolute;\n display: flex;\n color: var(--calcite-ui-text-2);\n inset-inline-start: 0;\n transition: inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);\n}\n\ninput[type=text]:focus {\n border-color: var(--calcite-ui-brand);\n outline: 2px solid transparent;\n outline-offset: 2px;\n padding-inline: 0.25rem;\n}\ninput[type=text]:focus ~ .search-icon {\n inset-inline-start: calc(1rem * -1);\n opacity: 0;\n}\n\n.clear-button {\n display: flex;\n cursor: pointer;\n align-items: center;\n border-width: 0px;\n background-color: transparent;\n color: var(--calcite-ui-text-2);\n}\n.clear-button:hover, .clear-button:focus {\n color: var(--calcite-ui-text-1);\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 { Fragment, h } from \"@stencil/core\";\nimport { debounce } from \"lodash-es\";\nimport { CSS, DEBOUNCE_TIMEOUT, ICONS, TEXT } from \"./resources\";\nimport { focusElement } from \"../../utils/dom\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\nimport { filter } from \"../../utils/filter\";\nexport class Filter {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * The items to filter through. The filter uses this as the starting point, and returns items\n * that contain the string entered in the input, using a partial match and recursive search.\n *\n * This property is required.\n */\n this.items = [];\n /**\n * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\n */\n this.disabled = false;\n /**\n * The resulting items after filtering.\n *\n * @readonly\n */\n this.filteredItems = [];\n /** specify the scale of filter, defaults to m */\n this.scale = \"m\";\n /**\n * Filter value.\n */\n this.value = \"\";\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.filter = debounce((value, emit = false) => this.updateFiltered(filter(this.items, value), emit), DEBOUNCE_TIMEOUT);\n this.inputHandler = (event) => {\n const target = event.target;\n this.value = target.value;\n this.filter(target.value, true);\n };\n this.keyDownHandler = (event) => {\n if (event.key === \"Escape\") {\n this.clear();\n event.preventDefault();\n }\n if (event.key === \"Enter\") {\n event.preventDefault();\n }\n };\n this.clear = () => {\n this.value = \"\";\n this.filter(\"\", true);\n this.setFocus();\n };\n }\n watchItemsHandler() {\n this.filter(this.value);\n }\n valueHandler(value) {\n this.filter(value);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentDidRender() {\n updateHostInteraction(this);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentWillLoad() {\n this.filter(this.value);\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n focusElement(this.textInput);\n }\n updateFiltered(filtered, emit = false) {\n this.filteredItems.length = 0;\n this.filteredItems = this.filteredItems.concat(filtered);\n if (emit) {\n this.calciteFilterChange.emit();\n }\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const { disabled, scale } = this;\n return (h(Fragment, null, h(\"div\", { class: CSS.container }, h(\"label\", null, h(\"calcite-input\", { \"aria-label\": this.intlLabel || TEXT.filterLabel, clearable: true, disabled: disabled, icon: ICONS.search, intlClear: this.intlClear || TEXT.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {\n this.textInput = el;\n }, scale: scale, type: \"text\", value: this.value })))));\n }\n static get is() { return \"calcite-filter\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"filter.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"filter.css\"]\n };\n }\n static get properties() {\n return {\n \"items\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"object[]\",\n \"resolved\": \"object[]\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The items to filter through. The filter uses this as the starting point, and returns items\\nthat contain the string entered in the input, using a partial match and recursive search.\\n\\nThis property is required.\"\n },\n \"defaultValue\": \"[]\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"filteredItems\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"object[]\",\n \"resolved\": \"object[]\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"readonly\",\n \"text\": undefined\n }],\n \"text\": \"The resulting items after filtering.\"\n },\n \"defaultValue\": \"[]\"\n },\n \"intlClear\": {\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\": \"A text label that will appear on the clear button.\"\n },\n \"attribute\": \"intl-clear\",\n \"reflect\": false\n },\n \"intlLabel\": {\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\": \"A text label that will appear next to the input field.\"\n },\n \"attribute\": \"intl-label\",\n \"reflect\": false\n },\n \"placeholder\": {\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\": \"Placeholder text for the input element's placeholder attribute\"\n },\n \"attribute\": \"placeholder\",\n \"reflect\": false\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the scale of filter, defaults to m\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Filter value.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"\\\"\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteFilterChange\",\n \"name\": \"calciteFilterChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This event fires when the filter text changes.\"\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\": \"items\",\n \"methodName\": \"watchItemsHandler\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueHandler\"\n }];\n }\n}\n"],"version":3}
|
@@ -0,0 +1,44 @@
|
|
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, F as Fragment } from './p-58c69df2.js';
|
7
|
+
|
8
|
+
const optionGroupCss = "@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{display:block}";
|
9
|
+
|
10
|
+
const OptionGroup = class {
|
11
|
+
constructor(hostRef) {
|
12
|
+
registerInstance(this, hostRef);
|
13
|
+
this.calciteInternalOptionGroupChange = createEvent(this, "calciteInternalOptionGroupChange", 6);
|
14
|
+
//--------------------------------------------------------------------------
|
15
|
+
//
|
16
|
+
// Properties
|
17
|
+
//
|
18
|
+
//--------------------------------------------------------------------------
|
19
|
+
/**
|
20
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
21
|
+
*/
|
22
|
+
this.disabled = false;
|
23
|
+
}
|
24
|
+
handlePropChange() {
|
25
|
+
this.calciteInternalOptionGroupChange.emit();
|
26
|
+
}
|
27
|
+
//--------------------------------------------------------------------------
|
28
|
+
//
|
29
|
+
// Render Methods
|
30
|
+
//
|
31
|
+
//--------------------------------------------------------------------------
|
32
|
+
render() {
|
33
|
+
return (h(Fragment, null, h("div", null, this.label), h("slot", null)));
|
34
|
+
}
|
35
|
+
static get watchers() { return {
|
36
|
+
"disabled": ["handlePropChange"],
|
37
|
+
"label": ["handlePropChange"]
|
38
|
+
}; }
|
39
|
+
};
|
40
|
+
OptionGroup.style = optionGroupCss;
|
41
|
+
|
42
|
+
export { OptionGroup as calcite_option_group };
|
43
|
+
|
44
|
+
//# sourceMappingURL=p-699125b6.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"calcite-option-group.entry.esm.js","mappings":";;;;;;;AAAA,MAAM,cAAc,GAAG,kyCAAkyC;;MCS5yC,WAAW;EACtB;;;;;;;;;;;IASE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;GACvB;EACD,gBAAgB;IACd,IAAI,CAAC,gCAAgC,CAAC,IAAI,EAAE,CAAC;GAC9C;;;;;;EAMD,MAAM;IACJ,QAAQ,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE;GACzE;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css?tag=calcite-option-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.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:host {\n display: block;\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, Fragment } from \"@stencil/core\";\n/**\n * @slot - A slot for adding `calcite-option`s.\n */\nexport class OptionGroup {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n this.disabled = false;\n }\n handlePropChange() {\n this.calciteInternalOptionGroupChange.emit();\n }\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n render() {\n return (h(Fragment, null, h(\"div\", null, this.label), h(\"slot\", null)));\n }\n static get is() { return \"calcite-option-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"option-group.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"option-group.css\"]\n };\n }\n static get properties() {\n return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, interaction is prevented and the component is displayed with lower opacity.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteInternalOptionGroupChange\",\n \"name\": \"calciteInternalOptionGroupChange\",\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 watchers() {\n return [{\n \"propName\": \"disabled\",\n \"methodName\": \"handlePropChange\"\n }, {\n \"propName\": \"label\",\n \"methodName\": \"handlePropChange\"\n }];\n }\n}\n"],"version":3}
|