@esri/solutions-components 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-73df0d51.js +0 -2
- package/dist/cjs/Heading-6b7b374c.js +0 -2
- package/dist/cjs/_commonjsHelpers-6aafa5de.js +0 -2
- package/dist/cjs/app-globals-2f48e57e.js +0 -2
- package/dist/cjs/array-ace6d4b5.js +0 -2
- package/dist/cjs/buffer-tools_6.cjs.entry.js +0 -2
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block.cjs.entry.js +0 -2
- package/dist/cjs/calcite-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-card.cjs.entry.js +0 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
- package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
- package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-number.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-text.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-label.cjs.entry.js +0 -2
- package/dist/cjs/calcite-link.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tree_3.cjs.entry.js +0 -2
- package/dist/cjs/check-list.cjs.entry.js +0 -2
- package/dist/cjs/conditionalSlot-2defe83d.js +0 -2
- package/dist/cjs/config-buffer-tools.cjs.entry.js +0 -2
- package/dist/cjs/config-draw-tools.cjs.entry.js +0 -2
- package/dist/cjs/config-layer-picker.cjs.entry.js +0 -2
- package/dist/cjs/config-pdf-download.cjs.entry.js +0 -2
- package/dist/cjs/date-e21b2052.js +0 -2
- package/dist/cjs/debounce-69c3bada.js +0 -2
- package/dist/cjs/dom-4a580af6.js +0 -2
- package/dist/cjs/filter-325f654f.js +0 -2
- package/dist/cjs/floating-ui-ca1bcead.js +0 -2
- package/dist/cjs/form-45849654.js +0 -2
- package/dist/cjs/guid-84ac4d91.js +0 -2
- package/dist/cjs/index-7af21b6f.js +0 -2
- package/dist/cjs/index-a86078a0.js +0 -2
- package/dist/cjs/index-d7f9770d.js +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/interactive-0a68ab99.js +0 -2
- package/dist/cjs/interfaces-ab603e16.js +0 -2
- package/dist/cjs/interfaces-e76f31e9.js +0 -2
- package/dist/cjs/key-55aca5c0.js +0 -2
- package/dist/cjs/label-24fcd8a5.js +0 -2
- package/dist/cjs/labelFormats-3236d2e0.js +0 -2
- package/dist/cjs/loadModules-38269f99.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -2
- package/dist/cjs/locale-73cab8e8.js +0 -2
- package/dist/cjs/locale-746a095d.js +0 -2
- package/dist/cjs/map-search.cjs.entry.js +0 -2
- package/dist/cjs/mapViewUtils-67cfc412.js +0 -2
- package/dist/cjs/math-460fffaf.js +0 -2
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +0 -2
- package/dist/cjs/observers-5311faf8.js +0 -2
- package/dist/cjs/openCloseComponent-bf986132.js +0 -2
- package/dist/cjs/public-notification.cjs.entry.js +0 -2
- package/dist/cjs/publicNotificationStore-6a3d40b3.js +0 -2
- package/dist/cjs/publicNotificationUtils-9d585d8d.js +0 -2
- package/dist/cjs/resources-1f785471.js +0 -2
- package/dist/cjs/resources-2260d186.js +0 -2
- package/dist/cjs/resources-2a9862c7.js +0 -2
- package/dist/cjs/resources-308edbd8.js +0 -2
- package/dist/cjs/resources-6152b073.js +0 -2
- package/dist/cjs/resources-808cfca8.js +0 -2
- package/dist/cjs/resources-9c55e05c.js +0 -2
- package/dist/cjs/resources-aa19bf8c.js +0 -2
- package/dist/cjs/resources-b56bce71.js +0 -2
- package/dist/cjs/resources-cc7f63b0.js +0 -2
- package/dist/cjs/shared-list-render-4c7d84bf.js +0 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -9
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -5
- package/dist/cjs/{solution-store-893499a5.js → solution-store-e2fc11ac.js} +0 -4
- package/dist/cjs/solutions-components.cjs.js +0 -2
- package/dist/cjs/sortable.esm-bf47019d.js +0 -2
- package/dist/cjs/store-manager.cjs.entry.js +0 -2
- package/dist/cjs/time-3f5577cb.js +0 -2
- package/dist/cjs/utils-120bbbeb.js +0 -2
- package/dist/cjs/utils-b4236001.js +0 -2
- package/dist/collection/components/buffer-tools/buffer-tools.js +0 -1
- package/dist/collection/components/check-list/check-list.js +0 -1
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +0 -1
- package/dist/collection/components/config-draw-tools/config-draw-tools.js +0 -1
- package/dist/collection/components/config-layer-picker/config-layer-picker.js +0 -1
- package/dist/collection/components/config-pdf-download/config-pdf-download.js +0 -1
- package/dist/collection/components/json-editor/json-editor.js +0 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +0 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +0 -1
- package/dist/collection/components/map-search/map-search.js +0 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +0 -1
- package/dist/collection/components/pdf-download/pdf-download.js +0 -1
- package/dist/collection/components/public-notification/public-notification.js +0 -1
- package/dist/collection/components/refine-selection/refine-selection.js +0 -1
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +0 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +0 -7
- package/dist/collection/components/solution-contents/solution-contents.js +0 -1
- package/dist/collection/components/solution-item/solution-item.js +0 -3
- package/dist/collection/components/solution-item-details/solution-item-details.js +0 -14
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +0 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +0 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +0 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +0 -1
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +0 -1
- package/dist/collection/components/solution-variables/solution-variables.js +0 -1
- package/dist/collection/components/store-manager/store-manager.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/common.js +0 -1
- package/dist/collection/utils/csvUtils.js +0 -1
- package/dist/collection/utils/interfaces.js +0 -1
- package/dist/collection/utils/languageUtil.js +0 -1
- package/dist/collection/utils/loadModules.js +0 -1
- package/dist/collection/utils/locale.js +0 -1
- package/dist/collection/utils/mapViewUtils.js +0 -1
- package/dist/collection/utils/publicNotificationStore.js +0 -1
- package/dist/collection/utils/publicNotificationUtils.js +0 -1
- package/dist/collection/utils/queryUtils.js +0 -1
- package/dist/collection/utils/solution-store.js +0 -3
- package/dist/collection/utils/solution-store.ts +0 -2
- package/dist/collection/utils/templates.js +0 -1
- package/dist/collection/utils/test/testUtils.js +0 -1
- package/dist/collection/utils/types.js +0 -1
- package/dist/esm/ExpandToggle-b7d1fb3c.js +0 -2
- package/dist/esm/Heading-1efb4837.js +0 -2
- package/dist/esm/_commonjsHelpers-8fd39c50.js +0 -2
- package/dist/esm/app-globals-09b9efee.js +0 -2
- package/dist/esm/array-2ab3b18f.js +0 -2
- package/dist/esm/buffer-tools_6.entry.js +0 -2
- package/dist/esm/calcite-accordion-item.entry.js +0 -2
- package/dist/esm/calcite-accordion.entry.js +0 -2
- package/dist/esm/calcite-action-bar_6.entry.js +0 -2
- package/dist/esm/calcite-action-group.entry.js +0 -2
- package/dist/esm/calcite-action-menu_2.entry.js +0 -2
- package/dist/esm/calcite-action-pad.entry.js +0 -2
- package/dist/esm/calcite-action_2.entry.js +0 -2
- package/dist/esm/calcite-alert.entry.js +0 -2
- package/dist/esm/calcite-avatar.entry.js +0 -2
- package/dist/esm/calcite-block-section.entry.js +0 -2
- package/dist/esm/calcite-block.entry.js +0 -2
- package/dist/esm/calcite-button.entry.js +0 -2
- package/dist/esm/calcite-card.entry.js +0 -2
- package/dist/esm/calcite-checkbox.entry.js +0 -2
- package/dist/esm/calcite-chip.entry.js +0 -2
- package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -2
- package/dist/esm/calcite-color-picker-swatch.entry.js +0 -2
- package/dist/esm/calcite-color-picker.entry.js +0 -2
- package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
- package/dist/esm/calcite-combobox_3.entry.js +0 -2
- package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
- package/dist/esm/calcite-date-picker.entry.js +0 -2
- package/dist/esm/calcite-dropdown-group.entry.js +0 -2
- package/dist/esm/calcite-dropdown-item.entry.js +0 -2
- package/dist/esm/calcite-dropdown.entry.js +0 -2
- package/dist/esm/calcite-fab.entry.js +0 -2
- package/dist/esm/calcite-filter.entry.js +0 -2
- package/dist/esm/calcite-flow-item.entry.js +0 -2
- package/dist/esm/calcite-flow.entry.js +0 -2
- package/dist/esm/calcite-graph.entry.js +0 -2
- package/dist/esm/calcite-handle.entry.js +0 -2
- package/dist/esm/calcite-icon.entry.js +0 -2
- package/dist/esm/calcite-inline-editable.entry.js +0 -2
- package/dist/esm/calcite-input-date-picker.entry.js +0 -2
- package/dist/esm/calcite-input-number.entry.js +0 -2
- package/dist/esm/calcite-input-text.entry.js +0 -2
- package/dist/esm/calcite-input-time-picker.entry.js +0 -2
- package/dist/esm/calcite-input_2.entry.js +0 -2
- package/dist/esm/calcite-label.entry.js +0 -2
- package/dist/esm/calcite-link.entry.js +0 -2
- package/dist/esm/calcite-list-item-group.entry.js +0 -2
- package/dist/esm/calcite-list_2.entry.js +0 -2
- package/dist/esm/calcite-modal.entry.js +0 -2
- package/dist/esm/calcite-option-group.entry.js +0 -2
- package/dist/esm/calcite-option_2.entry.js +0 -2
- package/dist/esm/calcite-pagination.entry.js +0 -2
- package/dist/esm/calcite-panel_2.entry.js +0 -2
- package/dist/esm/calcite-pick-list-group.entry.js +0 -2
- package/dist/esm/calcite-pick-list-item.entry.js +0 -2
- package/dist/esm/calcite-pick-list.entry.js +0 -2
- package/dist/esm/calcite-popover-manager.entry.js +0 -2
- package/dist/esm/calcite-radio-button-group.entry.js +0 -2
- package/dist/esm/calcite-radio-button.entry.js +0 -2
- package/dist/esm/calcite-rating.entry.js +0 -2
- package/dist/esm/calcite-scrim.entry.js +0 -2
- package/dist/esm/calcite-shell-center-row.entry.js +0 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +1 -13
- package/dist/esm/calcite-sortable-list.entry.js +0 -2
- package/dist/esm/calcite-split-button.entry.js +0 -2
- package/dist/esm/calcite-stepper-item.entry.js +0 -2
- package/dist/esm/calcite-stepper.entry.js +0 -2
- package/dist/esm/calcite-switch.entry.js +0 -2
- package/dist/esm/calcite-tile-select-group.entry.js +0 -2
- package/dist/esm/calcite-tile-select.entry.js +0 -2
- package/dist/esm/calcite-tile.entry.js +0 -2
- package/dist/esm/calcite-time-picker.entry.js +0 -2
- package/dist/esm/calcite-tip-group.entry.js +0 -2
- package/dist/esm/calcite-tip-manager.entry.js +0 -2
- package/dist/esm/calcite-tip.entry.js +0 -2
- package/dist/esm/calcite-tooltip-manager.entry.js +0 -2
- package/dist/esm/calcite-tooltip.entry.js +0 -2
- package/dist/esm/calcite-tree_3.entry.js +0 -2
- package/dist/esm/check-list.entry.js +0 -2
- package/dist/esm/conditionalSlot-bb4cab11.js +0 -2
- package/dist/esm/config-buffer-tools.entry.js +0 -2
- package/dist/esm/config-draw-tools.entry.js +0 -2
- package/dist/esm/config-layer-picker.entry.js +0 -2
- package/dist/esm/config-pdf-download.entry.js +0 -2
- package/dist/esm/date-45de0016.js +0 -2
- package/dist/esm/debounce-4c884e5c.js +0 -2
- package/dist/esm/dom-e593bf85.js +0 -2
- package/dist/esm/filter-82935f2d.js +0 -2
- package/dist/esm/floating-ui-69a55a27.js +0 -2
- package/dist/esm/form-dbfde8ce.js +0 -2
- package/dist/esm/guid-15fce7c0.js +0 -2
- package/dist/esm/index-15022d11.js +0 -2
- package/dist/esm/index-9c882a6e.js +0 -2
- package/dist/esm/index-d33ebc35.js +0 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/interactive-822ffed6.js +0 -2
- package/dist/esm/interfaces-4ae145eb.js +0 -2
- package/dist/esm/interfaces-e2a2064d.js +0 -2
- package/dist/esm/key-acb660e7.js +0 -2
- package/dist/esm/label-d411de44.js +0 -2
- package/dist/esm/labelFormats-b37958c3.js +0 -2
- package/dist/esm/loadModules-d3b50f95.js +0 -2
- package/dist/esm/loader.js +0 -2
- package/dist/esm/locale-0b490b02.js +0 -2
- package/dist/esm/locale-0e10d7e5.js +0 -2
- package/dist/esm/map-search.entry.js +0 -2
- package/dist/esm/mapViewUtils-09f1e7bd.js +0 -2
- package/dist/esm/math-552c5420.js +0 -2
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js +0 -2
- package/dist/esm/observers-31601001.js +0 -2
- package/dist/esm/openCloseComponent-5caff873.js +0 -2
- package/dist/esm/public-notification.entry.js +0 -2
- package/dist/esm/publicNotificationStore-060c59c8.js +0 -2
- package/dist/esm/publicNotificationUtils-5cb5a607.js +0 -2
- package/dist/esm/resources-2235e4ff.js +0 -2
- package/dist/esm/resources-3d641588.js +0 -2
- package/dist/esm/resources-436ae282.js +0 -2
- package/dist/esm/resources-4d02cb48.js +0 -2
- package/dist/esm/resources-78132e50.js +0 -2
- package/dist/esm/resources-7d4a587f.js +0 -2
- package/dist/esm/resources-971845d1.js +0 -2
- package/dist/esm/resources-9eb63965.js +0 -2
- package/dist/esm/resources-d60362c3.js +0 -2
- package/dist/esm/resources-e3a5cf27.js +0 -2
- package/dist/esm/shared-list-render-4e9d47a3.js +0 -2
- package/dist/esm/solution-configuration.entry.js +1 -9
- package/dist/esm/solution-contents_3.entry.js +1 -5
- package/dist/esm/{solution-store-0c58c852.js → solution-store-b3c65467.js} +0 -4
- package/dist/esm/solutions-components.js +0 -2
- package/dist/esm/sortable.esm-3b2eaa5c.js +0 -2
- package/dist/esm/store-manager.entry.js +0 -2
- package/dist/esm/time-f014778c.js +0 -2
- package/dist/esm/utils-3f4ee4c3.js +0 -2
- package/dist/esm/utils-583554bc.js +0 -2
- package/dist/solutions-components/index.esm.js +0 -2
- package/dist/solutions-components/p-006c6ae1.entry.js +11 -0
- package/dist/solutions-components/p-04a37fc0.entry.js +6 -0
- package/dist/solutions-components/p-062dbde8.entry.js +6 -0
- package/dist/solutions-components/p-0b941521.entry.js +11 -0
- package/dist/solutions-components/p-0c80eb51.entry.js +11 -0
- package/dist/solutions-components/p-10501e21.entry.js +23 -0
- package/dist/solutions-components/p-109e4684.entry.js +6 -0
- package/dist/solutions-components/p-12dfd43e.entry.js +11 -0
- package/dist/solutions-components/p-13b37f05.js +3 -308
- package/dist/solutions-components/p-1c3bcd99.entry.js +12 -0
- package/dist/solutions-components/p-1c589630.entry.js +6 -0
- package/dist/solutions-components/p-1e15b1a3.js +2 -183
- package/dist/solutions-components/p-1fb471cf.entry.js +11 -0
- package/dist/solutions-components/p-20bdf42f.js +14 -407
- package/dist/solutions-components/p-23275dbd.entry.js +6 -0
- package/dist/solutions-components/p-236d76e7.entry.js +11 -0
- package/dist/solutions-components/p-23904a3d.js +3 -401
- package/dist/solutions-components/p-29246858.entry.js +11 -0
- package/dist/solutions-components/p-2ac06389.js +16 -25
- package/dist/solutions-components/p-2af67c67.entry.js +6 -0
- package/dist/solutions-components/p-2bee764f.entry.js +11 -0
- package/dist/solutions-components/p-2e9ed892.js +1 -48
- package/dist/solutions-components/p-2f6b4f04.entry.js +6 -0
- package/dist/solutions-components/p-305ae3fe.entry.js +11 -0
- package/dist/solutions-components/p-32a67cb2.js +2 -207
- package/dist/solutions-components/p-343e325d.entry.js +11 -0
- package/dist/solutions-components/p-3485601e.entry.js +6 -0
- package/dist/solutions-components/p-374a5031.js +2 -107
- package/dist/solutions-components/p-395e9b6c.entry.js +6 -0
- package/dist/solutions-components/p-39c5f2d2.entry.js +6 -0
- package/dist/solutions-components/p-3b010ce1.js +1 -19
- package/dist/solutions-components/p-3c4f2257.entry.js +11 -0
- package/dist/solutions-components/p-3c8ec7a3.entry.js +12 -0
- package/dist/solutions-components/p-3f6b0af4.js +2 -221
- package/dist/solutions-components/p-4130fbcd.entry.js +11 -0
- package/dist/solutions-components/p-421cbb15.entry.js +6 -0
- package/dist/solutions-components/p-43fa414d.entry.js +11 -0
- package/dist/solutions-components/p-4760f22a.entry.js +6 -0
- package/dist/solutions-components/p-4e32bf8c.js +1 -484
- package/dist/solutions-components/p-4fb6d2cf.entry.js +11 -0
- package/dist/solutions-components/p-54384555.entry.js +11 -0
- package/dist/solutions-components/p-5493f036.entry.js +6 -0
- package/dist/solutions-components/p-551fd063.entry.js +11 -0
- package/dist/solutions-components/p-56350bff.js +2 -173
- package/dist/solutions-components/p-58c69df2.js +2 -2024
- package/dist/solutions-components/p-5a61ef0d.entry.js +6 -0
- package/dist/solutions-components/p-5b0d7c7d.js +16 -35
- package/dist/solutions-components/p-5cf33602.js +2 -43
- package/dist/solutions-components/p-600e23c6.js +2 -1770
- package/dist/solutions-components/p-63f6e8f1.js +1 -16
- package/dist/solutions-components/p-6a3ce8f6.entry.js +6 -0
- package/dist/solutions-components/p-6b9dc092.js +16 -67
- package/dist/solutions-components/p-6be581f5.entry.js +6 -0
- package/dist/solutions-components/p-6cf432f9.entry.js +11 -0
- package/dist/solutions-components/p-6e0da576.js +1 -15
- package/dist/solutions-components/p-6fe17794.js +1 -11
- package/dist/solutions-components/p-70368b2b.entry.js +6 -0
- package/dist/solutions-components/p-708a63a8.js +1 -14
- package/dist/solutions-components/p-708ffad0.entry.js +11 -0
- package/dist/solutions-components/p-729708a3.js +1 -16
- package/dist/solutions-components/p-7321ba65.entry.js +11 -0
- package/dist/solutions-components/p-73e23995.js +1 -8
- package/dist/solutions-components/p-75b35018.entry.js +11 -0
- package/dist/solutions-components/p-764c0a90.entry.js +11 -0
- package/dist/solutions-components/p-77031b01.entry.js +11 -0
- package/dist/solutions-components/p-77182c3a.js +1 -3017
- package/dist/solutions-components/p-778a1b4a.entry.js +11 -0
- package/dist/solutions-components/p-7cdc6089.entry.js +6 -0
- package/dist/solutions-components/p-7daea1df.js +1 -43
- package/dist/solutions-components/p-81467529.entry.js +6 -0
- package/dist/solutions-components/p-834380d6.entry.js +11 -0
- package/dist/solutions-components/p-86908777.js +3 -62
- package/dist/solutions-components/p-89cc843b.entry.js +11 -0
- package/dist/solutions-components/p-8e3a2736.entry.js +11 -0
- package/dist/solutions-components/p-8e8b182f.entry.js +12 -0
- package/dist/solutions-components/p-8f052987.entry.js +11 -0
- package/dist/solutions-components/p-93790a9e.entry.js +37 -0
- package/dist/solutions-components/p-93d3119d.js +1 -1950
- package/dist/solutions-components/p-991ee695.js +1 -111
- package/dist/solutions-components/p-9a9955db.js +1 -43
- package/dist/solutions-components/p-9bbee464.entry.js +6 -0
- package/dist/solutions-components/p-9bdd4abe.entry.js +17 -0
- package/dist/solutions-components/p-a4a7d49d.entry.js +17 -0
- package/dist/solutions-components/p-a7036d68.entry.js +11 -0
- package/dist/solutions-components/p-a80b3880.js +1 -16
- package/dist/solutions-components/p-ac91cd40.entry.js +11 -0
- package/dist/solutions-components/p-acd0a09f.entry.js +11 -0
- package/dist/solutions-components/p-acd3b2bf.entry.js +11 -0
- package/dist/solutions-components/p-ae1fd76b.js +1 -13
- package/dist/solutions-components/p-aea937fb.entry.js +12 -0
- package/dist/solutions-components/p-b1b36556.entry.js +11 -0
- package/dist/solutions-components/p-b25f6ebe.js +257 -0
- package/dist/solutions-components/p-b2ae8634.entry.js +6 -0
- package/dist/solutions-components/p-b359dc78.js +1 -43
- package/dist/solutions-components/p-b978636e.js +1 -16
- package/dist/solutions-components/p-ba104266.entry.js +11 -0
- package/dist/solutions-components/p-bfcab358.entry.js +11 -0
- package/dist/solutions-components/p-c848d1bd.entry.js +29 -0
- package/dist/solutions-components/p-c9766584.entry.js +6 -0
- package/dist/solutions-components/p-cbd9fecf.js +2 -500
- package/dist/solutions-components/p-d2cc1b94.entry.js +12 -0
- package/dist/solutions-components/p-d48a24e6.js +2 -756
- package/dist/solutions-components/p-d51a72d2.entry.js +11 -0
- package/dist/solutions-components/p-d88fe54b.entry.js +18 -0
- package/dist/solutions-components/p-daee23cc.entry.js +11 -0
- package/dist/solutions-components/p-db7d14d5.entry.js +12 -0
- package/dist/solutions-components/p-dbad98e8.js +2 -124
- package/dist/solutions-components/p-dc724c1d.entry.js +11 -0
- package/dist/solutions-components/p-dc7bc20f.entry.js +11 -0
- package/dist/solutions-components/p-de242ea9.entry.js +6 -0
- package/dist/solutions-components/p-de5416e8.js +1 -30
- package/dist/solutions-components/p-e4ebb82a.entry.js +11 -0
- package/dist/solutions-components/p-e611d8c8.js +1 -30
- package/dist/solutions-components/p-e64c5c11.entry.js +6 -0
- package/dist/solutions-components/p-e6a695a5.js +2 -103
- package/dist/solutions-components/p-e947d3b0.js +1 -7
- package/dist/solutions-components/p-e99b1247.js +1 -207
- package/dist/solutions-components/p-e9e47eab.entry.js +6 -0
- package/dist/solutions-components/p-eb3be6d4.entry.js +6 -0
- package/dist/solutions-components/p-eb976965.js +3 -35
- package/dist/solutions-components/p-ed27c151.entry.js +6 -0
- package/dist/solutions-components/p-eeb0321d.js +2 -15
- package/dist/solutions-components/p-ef170bb1.entry.js +6 -0
- package/dist/solutions-components/p-f044863f.entry.js +16 -0
- package/dist/solutions-components/p-f0bae2f0.entry.js +37 -0
- package/dist/solutions-components/p-f48821a2.js +7 -60
- package/dist/solutions-components/p-f5a3b34f.entry.js +23 -0
- package/dist/solutions-components/p-f759a6e7.js +1 -196
- package/dist/solutions-components/p-fa2575c2.entry.js +6 -0
- package/dist/solutions-components/p-fc884dd6.js +16 -30
- package/dist/solutions-components/p-fe0fdd8b.js +31 -279
- package/dist/solutions-components/solutions-components.css +1 -10531
- package/dist/solutions-components/solutions-components.esm.js +1 -22
- package/dist/solutions-components/utils/solution-store.ts +0 -2
- package/dist/solutions-components_commit.txt +7 -9
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/ExpandToggle-73df0d51.js.map +0 -1
- package/dist/cjs/Heading-6b7b374c.js.map +0 -1
- package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +0 -1
- package/dist/cjs/app-globals-2f48e57e.js.map +0 -1
- package/dist/cjs/array-ace6d4b5.js.map +0 -1
- package/dist/cjs/buffer-tools_6.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-panel_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tree_3.cjs.entry.js.map +0 -1
- package/dist/cjs/check-list.cjs.entry.js.map +0 -1
- package/dist/cjs/conditionalSlot-2defe83d.js.map +0 -1
- package/dist/cjs/config-buffer-tools.cjs.entry.js.map +0 -1
- package/dist/cjs/config-draw-tools.cjs.entry.js.map +0 -1
- package/dist/cjs/config-layer-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/config-pdf-download.cjs.entry.js.map +0 -1
- package/dist/cjs/date-e21b2052.js.map +0 -1
- package/dist/cjs/debounce-69c3bada.js.map +0 -1
- package/dist/cjs/dom-4a580af6.js.map +0 -1
- package/dist/cjs/filter-325f654f.js.map +0 -1
- package/dist/cjs/floating-ui-ca1bcead.js.map +0 -1
- package/dist/cjs/form-45849654.js.map +0 -1
- package/dist/cjs/guid-84ac4d91.js.map +0 -1
- package/dist/cjs/index-7af21b6f.js.map +0 -1
- package/dist/cjs/index-a86078a0.js.map +0 -1
- package/dist/cjs/index-d7f9770d.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/interactive-0a68ab99.js.map +0 -1
- package/dist/cjs/interfaces-ab603e16.js.map +0 -1
- package/dist/cjs/interfaces-e76f31e9.js.map +0 -1
- package/dist/cjs/key-55aca5c0.js.map +0 -1
- package/dist/cjs/label-24fcd8a5.js.map +0 -1
- package/dist/cjs/labelFormats-3236d2e0.js.map +0 -1
- package/dist/cjs/loadModules-38269f99.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/locale-73cab8e8.js.map +0 -1
- package/dist/cjs/locale-746a095d.js.map +0 -1
- package/dist/cjs/map-search.cjs.entry.js.map +0 -1
- package/dist/cjs/mapViewUtils-67cfc412.js.map +0 -1
- package/dist/cjs/math-460fffaf.js.map +0 -1
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +0 -1
- package/dist/cjs/observers-5311faf8.js.map +0 -1
- package/dist/cjs/openCloseComponent-bf986132.js.map +0 -1
- package/dist/cjs/public-notification.cjs.entry.js.map +0 -1
- package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +0 -1
- package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +0 -1
- package/dist/cjs/resources-1f785471.js.map +0 -1
- package/dist/cjs/resources-2260d186.js.map +0 -1
- package/dist/cjs/resources-2a9862c7.js.map +0 -1
- package/dist/cjs/resources-308edbd8.js.map +0 -1
- package/dist/cjs/resources-6152b073.js.map +0 -1
- package/dist/cjs/resources-808cfca8.js.map +0 -1
- package/dist/cjs/resources-9c55e05c.js.map +0 -1
- package/dist/cjs/resources-aa19bf8c.js.map +0 -1
- package/dist/cjs/resources-b56bce71.js.map +0 -1
- package/dist/cjs/resources-cc7f63b0.js.map +0 -1
- package/dist/cjs/shared-list-render-4c7d84bf.js.map +0 -1
- package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
- package/dist/cjs/solution-store-893499a5.js.map +0 -1
- package/dist/cjs/solutions-components.cjs.js.map +0 -1
- package/dist/cjs/sortable.esm-bf47019d.js.map +0 -1
- package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/time-3f5577cb.js.map +0 -1
- package/dist/cjs/utils-120bbbeb.js.map +0 -1
- package/dist/cjs/utils-b4236001.js.map +0 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js.map +0 -1
- package/dist/collection/components/check-list/check-list.js.map +0 -1
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +0 -1
- package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +0 -1
- package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +0 -1
- package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +0 -1
- package/dist/collection/components/json-editor/json-editor.js.map +0 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +0 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +0 -1
- package/dist/collection/components/map-search/map-search.js.map +0 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js.map +0 -1
- package/dist/collection/components/pdf-download/pdf-download.js.map +0 -1
- package/dist/collection/components/public-notification/public-notification.js.map +0 -1
- package/dist/collection/components/refine-selection/refine-selection.js.map +0 -1
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +0 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
- package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
- package/dist/collection/components/solution-item/solution-item.js.map +0 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
- package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
- package/dist/collection/components/store-manager/store-manager.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/common.js.map +0 -1
- package/dist/collection/utils/csvUtils.js.map +0 -1
- package/dist/collection/utils/interfaces.js.map +0 -1
- package/dist/collection/utils/languageUtil.js.map +0 -1
- package/dist/collection/utils/loadModules.js.map +0 -1
- package/dist/collection/utils/locale.js.map +0 -1
- package/dist/collection/utils/mapViewUtils.js.map +0 -1
- package/dist/collection/utils/publicNotificationStore.js.map +0 -1
- package/dist/collection/utils/publicNotificationUtils.js.map +0 -1
- package/dist/collection/utils/queryUtils.js.map +0 -1
- package/dist/collection/utils/solution-store.js.map +0 -1
- package/dist/collection/utils/templates.js.map +0 -1
- package/dist/collection/utils/test/testUtils.js.map +0 -1
- package/dist/collection/utils/types.js.map +0 -1
- package/dist/esm/ExpandToggle-b7d1fb3c.js.map +0 -1
- package/dist/esm/Heading-1efb4837.js.map +0 -1
- package/dist/esm/_commonjsHelpers-8fd39c50.js.map +0 -1
- package/dist/esm/app-globals-09b9efee.js.map +0 -1
- package/dist/esm/array-2ab3b18f.js.map +0 -1
- package/dist/esm/buffer-tools_6.entry.js.map +0 -1
- package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
- package/dist/esm/calcite-accordion.entry.js.map +0 -1
- package/dist/esm/calcite-action-bar_6.entry.js.map +0 -1
- package/dist/esm/calcite-action-group.entry.js.map +0 -1
- package/dist/esm/calcite-action-menu_2.entry.js.map +0 -1
- package/dist/esm/calcite-action-pad.entry.js.map +0 -1
- package/dist/esm/calcite-action_2.entry.js.map +0 -1
- package/dist/esm/calcite-alert.entry.js.map +0 -1
- package/dist/esm/calcite-avatar.entry.js.map +0 -1
- package/dist/esm/calcite-block-section.entry.js.map +0 -1
- package/dist/esm/calcite-block.entry.js.map +0 -1
- package/dist/esm/calcite-button.entry.js.map +0 -1
- package/dist/esm/calcite-card.entry.js.map +0 -1
- package/dist/esm/calcite-checkbox.entry.js.map +0 -1
- package/dist/esm/calcite-chip.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker.entry.js.map +0 -1
- package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-combobox_3.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown.entry.js.map +0 -1
- package/dist/esm/calcite-fab.entry.js.map +0 -1
- package/dist/esm/calcite-filter.entry.js.map +0 -1
- package/dist/esm/calcite-flow-item.entry.js.map +0 -1
- package/dist/esm/calcite-flow.entry.js.map +0 -1
- package/dist/esm/calcite-graph.entry.js.map +0 -1
- package/dist/esm/calcite-handle.entry.js.map +0 -1
- package/dist/esm/calcite-icon.entry.js.map +0 -1
- package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
- package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input-number.entry.js.map +0 -1
- package/dist/esm/calcite-input-text.entry.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input_2.entry.js.map +0 -1
- package/dist/esm/calcite-label.entry.js.map +0 -1
- package/dist/esm/calcite-link.entry.js.map +0 -1
- package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-list_2.entry.js.map +0 -1
- package/dist/esm/calcite-modal.entry.js.map +0 -1
- package/dist/esm/calcite-option-group.entry.js.map +0 -1
- package/dist/esm/calcite-option_2.entry.js.map +0 -1
- package/dist/esm/calcite-pagination.entry.js.map +0 -1
- package/dist/esm/calcite-panel_2.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list.entry.js.map +0 -1
- package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button.entry.js.map +0 -1
- package/dist/esm/calcite-rating.entry.js.map +0 -1
- package/dist/esm/calcite-scrim.entry.js.map +0 -1
- package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
- package/dist/esm/calcite-shell-panel_14.entry.js.map +0 -1
- package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
- package/dist/esm/calcite-split-button.entry.js.map +0 -1
- package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
- package/dist/esm/calcite-stepper.entry.js.map +0 -1
- package/dist/esm/calcite-switch.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select.entry.js.map +0 -1
- package/dist/esm/calcite-tile.entry.js.map +0 -1
- package/dist/esm/calcite-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-tip-group.entry.js.map +0 -1
- package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
- package/dist/esm/calcite-tip.entry.js.map +0 -1
- package/dist/esm/calcite-tooltip-manager.entry.js.map +0 -1
- package/dist/esm/calcite-tooltip.entry.js.map +0 -1
- package/dist/esm/calcite-tree_3.entry.js.map +0 -1
- package/dist/esm/check-list.entry.js.map +0 -1
- package/dist/esm/conditionalSlot-bb4cab11.js.map +0 -1
- package/dist/esm/config-buffer-tools.entry.js.map +0 -1
- package/dist/esm/config-draw-tools.entry.js.map +0 -1
- package/dist/esm/config-layer-picker.entry.js.map +0 -1
- package/dist/esm/config-pdf-download.entry.js.map +0 -1
- package/dist/esm/date-45de0016.js.map +0 -1
- package/dist/esm/debounce-4c884e5c.js.map +0 -1
- package/dist/esm/dom-e593bf85.js.map +0 -1
- package/dist/esm/filter-82935f2d.js.map +0 -1
- package/dist/esm/floating-ui-69a55a27.js.map +0 -1
- package/dist/esm/form-dbfde8ce.js.map +0 -1
- package/dist/esm/guid-15fce7c0.js.map +0 -1
- package/dist/esm/index-15022d11.js.map +0 -1
- package/dist/esm/index-9c882a6e.js.map +0 -1
- package/dist/esm/index-d33ebc35.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/interactive-822ffed6.js.map +0 -1
- package/dist/esm/interfaces-4ae145eb.js.map +0 -1
- package/dist/esm/interfaces-e2a2064d.js.map +0 -1
- package/dist/esm/key-acb660e7.js.map +0 -1
- package/dist/esm/label-d411de44.js.map +0 -1
- package/dist/esm/labelFormats-b37958c3.js.map +0 -1
- package/dist/esm/loadModules-d3b50f95.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/locale-0b490b02.js.map +0 -1
- package/dist/esm/locale-0e10d7e5.js.map +0 -1
- package/dist/esm/map-search.entry.js.map +0 -1
- package/dist/esm/mapViewUtils-09f1e7bd.js.map +0 -1
- package/dist/esm/math-552c5420.js.map +0 -1
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +0 -1
- package/dist/esm/observers-31601001.js.map +0 -1
- package/dist/esm/openCloseComponent-5caff873.js.map +0 -1
- package/dist/esm/public-notification.entry.js.map +0 -1
- package/dist/esm/publicNotificationStore-060c59c8.js.map +0 -1
- package/dist/esm/publicNotificationUtils-5cb5a607.js.map +0 -1
- package/dist/esm/resources-2235e4ff.js.map +0 -1
- package/dist/esm/resources-3d641588.js.map +0 -1
- package/dist/esm/resources-436ae282.js.map +0 -1
- package/dist/esm/resources-4d02cb48.js.map +0 -1
- package/dist/esm/resources-78132e50.js.map +0 -1
- package/dist/esm/resources-7d4a587f.js.map +0 -1
- package/dist/esm/resources-971845d1.js.map +0 -1
- package/dist/esm/resources-9eb63965.js.map +0 -1
- package/dist/esm/resources-d60362c3.js.map +0 -1
- package/dist/esm/resources-e3a5cf27.js.map +0 -1
- package/dist/esm/shared-list-render-4e9d47a3.js.map +0 -1
- package/dist/esm/solution-configuration.entry.js.map +0 -1
- package/dist/esm/solution-contents_3.entry.js.map +0 -1
- package/dist/esm/solution-store-0c58c852.js.map +0 -1
- package/dist/esm/solutions-components.js.map +0 -1
- package/dist/esm/sortable.esm-3b2eaa5c.js.map +0 -1
- package/dist/esm/store-manager.entry.js.map +0 -1
- package/dist/esm/time-f014778c.js.map +0 -1
- package/dist/esm/utils-3f4ee4c3.js.map +0 -1
- package/dist/esm/utils-583554bc.js.map +0 -1
- package/dist/solutions-components/index.esm.js.map +0 -1
- package/dist/solutions-components/p-06dab43c.entry.js +0 -140
- package/dist/solutions-components/p-06dab43c.entry.js.map +0 -1
- package/dist/solutions-components/p-0bbe4865.entry.js +0 -620
- package/dist/solutions-components/p-0bbe4865.entry.js.map +0 -1
- package/dist/solutions-components/p-0fda7d9e.entry.js +0 -434
- package/dist/solutions-components/p-0fda7d9e.entry.js.map +0 -1
- package/dist/solutions-components/p-0fddf8a4.entry.js +0 -349
- package/dist/solutions-components/p-0fddf8a4.entry.js.map +0 -1
- package/dist/solutions-components/p-11bc6805.entry.js +0 -87
- package/dist/solutions-components/p-11bc6805.entry.js.map +0 -1
- package/dist/solutions-components/p-13b37f05.js.map +0 -1
- package/dist/solutions-components/p-1dfb5fae.entry.js +0 -713
- package/dist/solutions-components/p-1dfb5fae.entry.js.map +0 -1
- package/dist/solutions-components/p-1e15b1a3.js.map +0 -1
- package/dist/solutions-components/p-1e5bc9c3.entry.js +0 -96
- package/dist/solutions-components/p-1e5bc9c3.entry.js.map +0 -1
- package/dist/solutions-components/p-1ed05745.entry.js +0 -214
- package/dist/solutions-components/p-1ed05745.entry.js.map +0 -1
- package/dist/solutions-components/p-20bdf42f.js.map +0 -1
- package/dist/solutions-components/p-22574d83.entry.js +0 -74
- package/dist/solutions-components/p-22574d83.entry.js.map +0 -1
- package/dist/solutions-components/p-23904a3d.js.map +0 -1
- package/dist/solutions-components/p-24d75151.entry.js +0 -107
- package/dist/solutions-components/p-24d75151.entry.js.map +0 -1
- package/dist/solutions-components/p-26484399.entry.js +0 -108
- package/dist/solutions-components/p-26484399.entry.js.map +0 -1
- package/dist/solutions-components/p-291fd295.entry.js +0 -1250
- package/dist/solutions-components/p-291fd295.entry.js.map +0 -1
- package/dist/solutions-components/p-29bdbd3e.entry.js +0 -280
- package/dist/solutions-components/p-29bdbd3e.entry.js.map +0 -1
- package/dist/solutions-components/p-2ac06389.js.map +0 -1
- package/dist/solutions-components/p-2bce7fa2.entry.js +0 -45
- package/dist/solutions-components/p-2bce7fa2.entry.js.map +0 -1
- package/dist/solutions-components/p-2e9ed892.js.map +0 -1
- package/dist/solutions-components/p-2f12ff1b.entry.js +0 -202
- package/dist/solutions-components/p-2f12ff1b.entry.js.map +0 -1
- package/dist/solutions-components/p-2ff754ce.entry.js +0 -257
- package/dist/solutions-components/p-2ff754ce.entry.js.map +0 -1
- package/dist/solutions-components/p-30a6199a.entry.js +0 -445
- package/dist/solutions-components/p-30a6199a.entry.js.map +0 -1
- package/dist/solutions-components/p-32a67cb2.js.map +0 -1
- package/dist/solutions-components/p-341ff921.entry.js +0 -449
- package/dist/solutions-components/p-341ff921.entry.js.map +0 -1
- package/dist/solutions-components/p-36ce64e4.entry.js +0 -215
- package/dist/solutions-components/p-36ce64e4.entry.js.map +0 -1
- package/dist/solutions-components/p-374a5031.js.map +0 -1
- package/dist/solutions-components/p-3b010ce1.js.map +0 -1
- package/dist/solutions-components/p-3f6b0af4.js.map +0 -1
- package/dist/solutions-components/p-400e1427.entry.js +0 -236
- package/dist/solutions-components/p-400e1427.entry.js.map +0 -1
- package/dist/solutions-components/p-40d7cf01.entry.js +0 -228
- package/dist/solutions-components/p-40d7cf01.entry.js.map +0 -1
- package/dist/solutions-components/p-45556aff.entry.js +0 -215
- package/dist/solutions-components/p-45556aff.entry.js.map +0 -1
- package/dist/solutions-components/p-49aaa793.entry.js +0 -95
- package/dist/solutions-components/p-49aaa793.entry.js.map +0 -1
- package/dist/solutions-components/p-4e32bf8c.js.map +0 -1
- package/dist/solutions-components/p-4e89b243.entry.js +0 -479
- package/dist/solutions-components/p-4e89b243.entry.js.map +0 -1
- package/dist/solutions-components/p-515637fb.entry.js +0 -183
- package/dist/solutions-components/p-515637fb.entry.js.map +0 -1
- package/dist/solutions-components/p-5243a654.entry.js +0 -147
- package/dist/solutions-components/p-5243a654.entry.js.map +0 -1
- package/dist/solutions-components/p-55673790.entry.js +0 -82
- package/dist/solutions-components/p-55673790.entry.js.map +0 -1
- package/dist/solutions-components/p-56350bff.js.map +0 -1
- package/dist/solutions-components/p-58b374c0.entry.js +0 -347
- package/dist/solutions-components/p-58b374c0.entry.js.map +0 -1
- package/dist/solutions-components/p-58c69df2.js.map +0 -1
- package/dist/solutions-components/p-59fd6684.entry.js +0 -22
- package/dist/solutions-components/p-59fd6684.entry.js.map +0 -1
- package/dist/solutions-components/p-5b0d7c7d.js.map +0 -1
- package/dist/solutions-components/p-5cf33602.js.map +0 -1
- package/dist/solutions-components/p-600e23c6.js.map +0 -1
- package/dist/solutions-components/p-61398a7b.entry.js +0 -74
- package/dist/solutions-components/p-61398a7b.entry.js.map +0 -1
- package/dist/solutions-components/p-63a05701.entry.js +0 -45
- package/dist/solutions-components/p-63a05701.entry.js.map +0 -1
- package/dist/solutions-components/p-63f6e8f1.js.map +0 -1
- package/dist/solutions-components/p-64a2040e.entry.js +0 -63
- package/dist/solutions-components/p-64a2040e.entry.js.map +0 -1
- package/dist/solutions-components/p-64c63eb2.entry.js +0 -157
- package/dist/solutions-components/p-64c63eb2.entry.js.map +0 -1
- package/dist/solutions-components/p-659edb14.js +0 -4096
- package/dist/solutions-components/p-659edb14.js.map +0 -1
- package/dist/solutions-components/p-6940e2fd.entry.js +0 -100
- package/dist/solutions-components/p-6940e2fd.entry.js.map +0 -1
- package/dist/solutions-components/p-69900b68.entry.js +0 -152
- package/dist/solutions-components/p-69900b68.entry.js.map +0 -1
- package/dist/solutions-components/p-699125b6.entry.js +0 -44
- package/dist/solutions-components/p-699125b6.entry.js.map +0 -1
- package/dist/solutions-components/p-6b9dc092.js.map +0 -1
- package/dist/solutions-components/p-6d0899c8.entry.js +0 -118
- package/dist/solutions-components/p-6d0899c8.entry.js.map +0 -1
- package/dist/solutions-components/p-6e0da576.js.map +0 -1
- package/dist/solutions-components/p-6fe17794.js.map +0 -1
- package/dist/solutions-components/p-708a63a8.js.map +0 -1
- package/dist/solutions-components/p-729708a3.js.map +0 -1
- package/dist/solutions-components/p-73e23995.js.map +0 -1
- package/dist/solutions-components/p-75f54a34.entry.js +0 -883
- package/dist/solutions-components/p-75f54a34.entry.js.map +0 -1
- package/dist/solutions-components/p-77182c3a.js.map +0 -1
- package/dist/solutions-components/p-77c75f3a.entry.js +0 -21534
- package/dist/solutions-components/p-77c75f3a.entry.js.map +0 -1
- package/dist/solutions-components/p-77e6b03c.entry.js +0 -1872
- package/dist/solutions-components/p-77e6b03c.entry.js.map +0 -1
- package/dist/solutions-components/p-794ba85d.entry.js +0 -175
- package/dist/solutions-components/p-794ba85d.entry.js.map +0 -1
- package/dist/solutions-components/p-79cde78e.entry.js +0 -203
- package/dist/solutions-components/p-79cde78e.entry.js.map +0 -1
- package/dist/solutions-components/p-7a2c75a4.entry.js +0 -230
- package/dist/solutions-components/p-7a2c75a4.entry.js.map +0 -1
- package/dist/solutions-components/p-7daea1df.js.map +0 -1
- package/dist/solutions-components/p-7de77097.entry.js +0 -162
- package/dist/solutions-components/p-7de77097.entry.js.map +0 -1
- package/dist/solutions-components/p-7f2b74a9.entry.js +0 -56
- package/dist/solutions-components/p-7f2b74a9.entry.js.map +0 -1
- package/dist/solutions-components/p-81e606c0.entry.js +0 -915
- package/dist/solutions-components/p-81e606c0.entry.js.map +0 -1
- package/dist/solutions-components/p-86908777.js.map +0 -1
- package/dist/solutions-components/p-87a0ccb4.entry.js +0 -254
- package/dist/solutions-components/p-87a0ccb4.entry.js.map +0 -1
- package/dist/solutions-components/p-90629c1d.entry.js +0 -1986
- package/dist/solutions-components/p-90629c1d.entry.js.map +0 -1
- package/dist/solutions-components/p-9393631c.entry.js +0 -542
- package/dist/solutions-components/p-9393631c.entry.js.map +0 -1
- package/dist/solutions-components/p-93d3119d.js.map +0 -1
- package/dist/solutions-components/p-958e2979.entry.js +0 -111
- package/dist/solutions-components/p-958e2979.entry.js.map +0 -1
- package/dist/solutions-components/p-95ddb529.entry.js +0 -181
- package/dist/solutions-components/p-95ddb529.entry.js.map +0 -1
- package/dist/solutions-components/p-97c4a268.entry.js +0 -725
- package/dist/solutions-components/p-97c4a268.entry.js.map +0 -1
- package/dist/solutions-components/p-984cb687.entry.js +0 -2632
- package/dist/solutions-components/p-984cb687.entry.js.map +0 -1
- package/dist/solutions-components/p-991ee695.js.map +0 -1
- package/dist/solutions-components/p-99d9b624.entry.js +0 -177
- package/dist/solutions-components/p-99d9b624.entry.js.map +0 -1
- package/dist/solutions-components/p-9a9955db.js.map +0 -1
- package/dist/solutions-components/p-9d925d5b.entry.js +0 -233
- package/dist/solutions-components/p-9d925d5b.entry.js.map +0 -1
- package/dist/solutions-components/p-9dc0210f.entry.js +0 -125
- package/dist/solutions-components/p-9dc0210f.entry.js.map +0 -1
- package/dist/solutions-components/p-9fec2884.entry.js +0 -216
- package/dist/solutions-components/p-9fec2884.entry.js.map +0 -1
- package/dist/solutions-components/p-a2ada355.entry.js +0 -135
- package/dist/solutions-components/p-a2ada355.entry.js.map +0 -1
- package/dist/solutions-components/p-a57adb27.entry.js +0 -154
- package/dist/solutions-components/p-a57adb27.entry.js.map +0 -1
- package/dist/solutions-components/p-a80b3880.js.map +0 -1
- package/dist/solutions-components/p-a88dd457.entry.js +0 -123
- package/dist/solutions-components/p-a88dd457.entry.js.map +0 -1
- package/dist/solutions-components/p-ac6efd19.entry.js +0 -57
- package/dist/solutions-components/p-ac6efd19.entry.js.map +0 -1
- package/dist/solutions-components/p-ae1fd76b.js.map +0 -1
- package/dist/solutions-components/p-afffa81a.entry.js +0 -140
- package/dist/solutions-components/p-afffa81a.entry.js.map +0 -1
- package/dist/solutions-components/p-b0f3ed4d.entry.js +0 -376
- package/dist/solutions-components/p-b0f3ed4d.entry.js.map +0 -1
- package/dist/solutions-components/p-b359dc78.js.map +0 -1
- package/dist/solutions-components/p-b66cba3e.entry.js +0 -97
- package/dist/solutions-components/p-b66cba3e.entry.js.map +0 -1
- package/dist/solutions-components/p-b6c2f470.entry.js +0 -574
- package/dist/solutions-components/p-b6c2f470.entry.js.map +0 -1
- package/dist/solutions-components/p-b978636e.js.map +0 -1
- package/dist/solutions-components/p-bd19837e.entry.js +0 -96
- package/dist/solutions-components/p-bd19837e.entry.js.map +0 -1
- package/dist/solutions-components/p-be1ed982.entry.js +0 -1121
- package/dist/solutions-components/p-be1ed982.entry.js.map +0 -1
- package/dist/solutions-components/p-be8cc144.entry.js +0 -567
- package/dist/solutions-components/p-be8cc144.entry.js.map +0 -1
- package/dist/solutions-components/p-bfd20deb.entry.js +0 -80
- package/dist/solutions-components/p-bfd20deb.entry.js.map +0 -1
- package/dist/solutions-components/p-c2c8442d.entry.js +0 -140
- package/dist/solutions-components/p-c2c8442d.entry.js.map +0 -1
- package/dist/solutions-components/p-c3f93cec.entry.js +0 -158
- package/dist/solutions-components/p-c3f93cec.entry.js.map +0 -1
- package/dist/solutions-components/p-c9870dc4.entry.js +0 -38
- package/dist/solutions-components/p-c9870dc4.entry.js.map +0 -1
- package/dist/solutions-components/p-cbd9fecf.js.map +0 -1
- package/dist/solutions-components/p-cfb300c6.entry.js +0 -250
- package/dist/solutions-components/p-cfb300c6.entry.js.map +0 -1
- package/dist/solutions-components/p-d48a24e6.js.map +0 -1
- package/dist/solutions-components/p-dbad98e8.js.map +0 -1
- package/dist/solutions-components/p-dd79118e.entry.js +0 -708
- package/dist/solutions-components/p-dd79118e.entry.js.map +0 -1
- package/dist/solutions-components/p-de5416e8.js.map +0 -1
- package/dist/solutions-components/p-de881187.entry.js +0 -87
- package/dist/solutions-components/p-de881187.entry.js.map +0 -1
- package/dist/solutions-components/p-e1905f7b.entry.js +0 -120
- package/dist/solutions-components/p-e1905f7b.entry.js.map +0 -1
- package/dist/solutions-components/p-e515767a.entry.js +0 -116
- package/dist/solutions-components/p-e515767a.entry.js.map +0 -1
- package/dist/solutions-components/p-e611d8c8.js.map +0 -1
- package/dist/solutions-components/p-e6a695a5.js.map +0 -1
- package/dist/solutions-components/p-e947d3b0.js.map +0 -1
- package/dist/solutions-components/p-e99b1247.js.map +0 -1
- package/dist/solutions-components/p-eb5b78c3.entry.js +0 -125
- package/dist/solutions-components/p-eb5b78c3.entry.js.map +0 -1
- package/dist/solutions-components/p-eb976965.js.map +0 -1
- package/dist/solutions-components/p-ed075c2f.entry.js +0 -186
- package/dist/solutions-components/p-ed075c2f.entry.js.map +0 -1
- package/dist/solutions-components/p-eeb0321d.js.map +0 -1
- package/dist/solutions-components/p-f0294899.entry.js +0 -84
- package/dist/solutions-components/p-f0294899.entry.js.map +0 -1
- package/dist/solutions-components/p-f477f146.entry.js +0 -310
- package/dist/solutions-components/p-f477f146.entry.js.map +0 -1
- package/dist/solutions-components/p-f48821a2.js.map +0 -1
- package/dist/solutions-components/p-f496ed0c.entry.js +0 -150
- package/dist/solutions-components/p-f496ed0c.entry.js.map +0 -1
- package/dist/solutions-components/p-f5268b4f.entry.js +0 -60
- package/dist/solutions-components/p-f5268b4f.entry.js.map +0 -1
- package/dist/solutions-components/p-f759a6e7.js.map +0 -1
- package/dist/solutions-components/p-fc884dd6.js.map +0 -1
- package/dist/solutions-components/p-fe0fdd8b.js.map +0 -1
- package/dist/solutions-components/solutions-components.esm.js.map +0 -1
@@ -1,215 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './p-58c69df2.js';
|
7
|
-
import { n as normalizeHex, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './p-991ee695.js';
|
8
|
-
import { c as color } from './p-93d3119d.js';
|
9
|
-
import { f as focusElement } from './p-32a67cb2.js';
|
10
|
-
import { T as TEXT } from './p-374a5031.js';
|
11
|
-
import './p-3b010ce1.js';
|
12
|
-
import './p-729708a3.js';
|
13
|
-
import './p-a80b3880.js';
|
14
|
-
|
15
|
-
/*!
|
16
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
17
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
18
|
-
* v1.0.0-beta.97
|
19
|
-
*/
|
20
|
-
const CSS = {
|
21
|
-
container: "container",
|
22
|
-
preview: "preview",
|
23
|
-
input: "input"
|
24
|
-
};
|
25
|
-
|
26
|
-
const colorPickerHexInputCss = "@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}.container{display:inline-grid;inline-size:100%;align-items:center;grid-template-columns:1fr auto}.preview{grid-column:2/3;pointer-events:none;margin-block:0px;margin-inline:0.25rem;display:flex;align-items:center}.preview,.input{grid-row:1}.input{grid-column:1/3;inline-size:100%;text-transform:uppercase}";
|
27
|
-
|
28
|
-
const DEFAULT_COLOR = color();
|
29
|
-
const ColorPickerHexInput = class {
|
30
|
-
constructor(hostRef) {
|
31
|
-
registerInstance(this, hostRef);
|
32
|
-
this.calciteColorPickerHexInputChange = createEvent(this, "calciteColorPickerHexInputChange", 6);
|
33
|
-
//--------------------------------------------------------------------------
|
34
|
-
//
|
35
|
-
// Public Properties
|
36
|
-
//
|
37
|
-
//--------------------------------------------------------------------------
|
38
|
-
/**
|
39
|
-
* When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
|
40
|
-
*
|
41
|
-
* When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
|
42
|
-
*/
|
43
|
-
this.allowEmpty = false;
|
44
|
-
/**
|
45
|
-
* Accessible name for the Hex input.
|
46
|
-
*
|
47
|
-
* @default "Hex"
|
48
|
-
*/
|
49
|
-
this.intlHex = TEXT.hex;
|
50
|
-
/**
|
51
|
-
* Accessible name for the Hex input when there is no color selected.
|
52
|
-
*
|
53
|
-
* @default "No color"
|
54
|
-
*/
|
55
|
-
this.intlNoColor = TEXT.noColor;
|
56
|
-
/** Specifies the size of the component. */
|
57
|
-
this.scale = "m";
|
58
|
-
/**
|
59
|
-
* The Hex value.
|
60
|
-
*/
|
61
|
-
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
62
|
-
this.onCalciteInternalInputBlur = () => {
|
63
|
-
const node = this.inputNode;
|
64
|
-
const inputValue = node.value;
|
65
|
-
const hex = `#${inputValue}`;
|
66
|
-
const willClearValue = this.allowEmpty && !inputValue;
|
67
|
-
if (willClearValue || (isValidHex(hex) && isLonghandHex(hex))) {
|
68
|
-
return;
|
69
|
-
}
|
70
|
-
// manipulating DOM directly since rerender doesn't update input value
|
71
|
-
node.value =
|
72
|
-
this.allowEmpty && !this.internalColor
|
73
|
-
? ""
|
74
|
-
: this.formatForInternalInput(rgbToHex(this.internalColor.object()));
|
75
|
-
};
|
76
|
-
this.onInputChange = () => {
|
77
|
-
this.internalSetValue(this.inputNode.value, this.value);
|
78
|
-
};
|
79
|
-
/**
|
80
|
-
* The last valid/selected color. Used as a fallback if an invalid hex code is entered.
|
81
|
-
*/
|
82
|
-
this.internalColor = DEFAULT_COLOR;
|
83
|
-
this.previousNonNullValue = this.value;
|
84
|
-
this.storeInputRef = (node) => {
|
85
|
-
this.inputNode = node;
|
86
|
-
};
|
87
|
-
}
|
88
|
-
//--------------------------------------------------------------------------
|
89
|
-
//
|
90
|
-
// Lifecycle
|
91
|
-
//
|
92
|
-
//--------------------------------------------------------------------------
|
93
|
-
connectedCallback() {
|
94
|
-
const { allowEmpty, value } = this;
|
95
|
-
if (value) {
|
96
|
-
const normalized = normalizeHex(value);
|
97
|
-
if (isValidHex(normalized)) {
|
98
|
-
this.internalSetValue(normalized, normalized, false);
|
99
|
-
}
|
100
|
-
return;
|
101
|
-
}
|
102
|
-
if (allowEmpty) {
|
103
|
-
this.internalSetValue(null, null, false);
|
104
|
-
}
|
105
|
-
}
|
106
|
-
handleValueChange(value, oldValue) {
|
107
|
-
this.internalSetValue(value, oldValue, false);
|
108
|
-
}
|
109
|
-
// using @Listen as a workaround for VDOM listener not firing
|
110
|
-
onInputKeyDown(event) {
|
111
|
-
const { altKey, ctrlKey, metaKey, shiftKey } = event;
|
112
|
-
const { internalColor, value } = this;
|
113
|
-
const { key } = event;
|
114
|
-
if (key === "Tab" || key === "Enter") {
|
115
|
-
this.onInputChange();
|
116
|
-
return;
|
117
|
-
}
|
118
|
-
const isNudgeKey = key === "ArrowDown" || key === "ArrowUp";
|
119
|
-
const oldValue = this.value;
|
120
|
-
if (isNudgeKey) {
|
121
|
-
if (!value) {
|
122
|
-
this.internalSetValue(this.previousNonNullValue, oldValue);
|
123
|
-
event.preventDefault();
|
124
|
-
return;
|
125
|
-
}
|
126
|
-
const direction = key === "ArrowUp" ? 1 : -1;
|
127
|
-
const bump = shiftKey ? 10 : 1;
|
128
|
-
this.internalSetValue(normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);
|
129
|
-
event.preventDefault();
|
130
|
-
return;
|
131
|
-
}
|
132
|
-
const withModifiers = altKey || ctrlKey || metaKey;
|
133
|
-
const singleChar = key.length === 1;
|
134
|
-
const validHexChar = hexChar.test(key);
|
135
|
-
if (singleChar && !withModifiers && !validHexChar) {
|
136
|
-
event.preventDefault();
|
137
|
-
}
|
138
|
-
}
|
139
|
-
onPaste(event) {
|
140
|
-
const hex = event.clipboardData.getData("text");
|
141
|
-
if (isValidHex(hex)) {
|
142
|
-
event.preventDefault();
|
143
|
-
this.inputNode.value = hex.slice(1);
|
144
|
-
}
|
145
|
-
}
|
146
|
-
//--------------------------------------------------------------------------
|
147
|
-
//
|
148
|
-
// Lifecycle
|
149
|
-
//
|
150
|
-
//--------------------------------------------------------------------------
|
151
|
-
render() {
|
152
|
-
const { intlHex, value } = this;
|
153
|
-
const hexInputValue = this.formatForInternalInput(value);
|
154
|
-
return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
155
|
-
}
|
156
|
-
//--------------------------------------------------------------------------
|
157
|
-
//
|
158
|
-
// Public Methods
|
159
|
-
//
|
160
|
-
//--------------------------------------------------------------------------
|
161
|
-
/** Sets focus on the component. */
|
162
|
-
async setFocus() {
|
163
|
-
focusElement(this.inputNode);
|
164
|
-
}
|
165
|
-
//--------------------------------------------------------------------------
|
166
|
-
//
|
167
|
-
// Private Methods
|
168
|
-
//
|
169
|
-
//--------------------------------------------------------------------------
|
170
|
-
internalSetValue(value, oldValue, emit = true) {
|
171
|
-
if (value) {
|
172
|
-
const normalized = normalizeHex(value);
|
173
|
-
if (isValidHex(normalized)) {
|
174
|
-
const { internalColor } = this;
|
175
|
-
const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());
|
176
|
-
this.internalColor = color(normalized);
|
177
|
-
this.previousNonNullValue = normalized;
|
178
|
-
this.value = normalized;
|
179
|
-
if (changed && emit) {
|
180
|
-
this.calciteColorPickerHexInputChange.emit();
|
181
|
-
}
|
182
|
-
return;
|
183
|
-
}
|
184
|
-
}
|
185
|
-
else if (this.allowEmpty) {
|
186
|
-
this.internalColor = null;
|
187
|
-
this.value = null;
|
188
|
-
if (emit) {
|
189
|
-
this.calciteColorPickerHexInputChange.emit();
|
190
|
-
}
|
191
|
-
return;
|
192
|
-
}
|
193
|
-
this.value = oldValue;
|
194
|
-
}
|
195
|
-
formatForInternalInput(hex) {
|
196
|
-
return hex ? hex.replace("#", "") : "";
|
197
|
-
}
|
198
|
-
nudgeRGBChannels(color$1, amount) {
|
199
|
-
return color.rgb(color$1.array().map((channel) => channel + amount));
|
200
|
-
}
|
201
|
-
handleKeyDown(event) {
|
202
|
-
if (event.key === "Enter") {
|
203
|
-
event.preventDefault();
|
204
|
-
}
|
205
|
-
}
|
206
|
-
get el() { return getElement(this); }
|
207
|
-
static get watchers() { return {
|
208
|
-
"value": ["handleValueChange"]
|
209
|
-
}; }
|
210
|
-
};
|
211
|
-
ColorPickerHexInput.style = colorPickerHexInputCss;
|
212
|
-
|
213
|
-
export { ColorPickerHexInput as calcite_color_picker_hex_input };
|
214
|
-
|
215
|
-
//# sourceMappingURL=p-36ce64e4.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file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GA,KAAK,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,CAAC,oBAAoB,GAAG,UAAU,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC;QACxB,IAAI,OAAO,IAAI,IAAI,EAAE;UACnB,IAAI,CAAC,gCAAgC,CAAC,IAAI,EAAE,CAAC;SAC9C;QACD,OAAO;OACR;KACF;SACI,IAAI,IAAI,CAAC,UAAU,EAAE;MACxB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;MAC1B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;MAClB,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,gCAAgC,CAAC,IAAI,EAAE,CAAC;OAC9C;MACD,OAAO;KACR;IACD,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC;GACvB;EACD,sBAAsB,CAAC,GAAG;IACxB,OAAO,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC;GACxC;EACD,gBAAgB,CAACC,OAAK,EAAE,MAAM;IAC5B,OAAOD,KAAK,CAAC,GAAG,CAACC,OAAK,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC;GACpE;EACD,aAAa,CAAC,KAAK;IACjB,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,EAAE;MACzB,KAAK,CAAC,cAAc,EAAE,CAAC;KACxB;GACF;;;;;;;;;;","names":["Color","color"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css?tag=calcite-color-picker-hex-input&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.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 preview: \"preview\",\n input: \"input\"\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 {\n display: block;\n}\n\n.container {\n display: inline-grid;\n inline-size: 100%;\n align-items: center;\n grid-template-columns: 1fr auto;\n}\n\n.preview {\n grid-column: 2/3;\n pointer-events: none;\n margin-block: 0px;\n margin-inline: 0.25rem;\n display: flex;\n align-items: center;\n}\n\n.preview,\n.input {\n grid-row: 1;\n}\n\n.input {\n grid-column: 1/3;\n inline-size: 100%;\n text-transform: uppercase;\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 { hexChar, isLonghandHex, isValidHex, normalizeHex, rgbToHex } from \"../color-picker/utils\";\nimport Color from \"color\";\nimport { CSS } from \"./resources\";\nimport { focusElement } from \"../../utils/dom\";\nimport { TEXT } from \"../color-picker/resources\";\nconst DEFAULT_COLOR = Color();\nexport class ColorPickerHexInput {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /**\n * When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.\n *\n * When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.\n */\n this.allowEmpty = false;\n /**\n * Accessible name for the Hex input.\n *\n * @default \"Hex\"\n */\n this.intlHex = TEXT.hex;\n /**\n * Accessible name for the Hex input when there is no color selected.\n *\n * @default \"No color\"\n */\n this.intlNoColor = TEXT.noColor;\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /**\n * The Hex value.\n */\n this.value = normalizeHex(DEFAULT_COLOR.hex());\n this.onCalciteInternalInputBlur = () => {\n const node = this.inputNode;\n const inputValue = node.value;\n const hex = `#${inputValue}`;\n const willClearValue = this.allowEmpty && !inputValue;\n if (willClearValue || (isValidHex(hex) && isLonghandHex(hex))) {\n return;\n }\n // manipulating DOM directly since rerender doesn't update input value\n node.value =\n this.allowEmpty && !this.internalColor\n ? \"\"\n : this.formatForInternalInput(rgbToHex(this.internalColor.object()));\n };\n this.onInputChange = () => {\n this.internalSetValue(this.inputNode.value, this.value);\n };\n /**\n * The last valid/selected color. Used as a fallback if an invalid hex code is entered.\n */\n this.internalColor = DEFAULT_COLOR;\n this.previousNonNullValue = this.value;\n this.storeInputRef = (node) => {\n this.inputNode = node;\n };\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n const { allowEmpty, value } = this;\n if (value) {\n const normalized = normalizeHex(value);\n if (isValidHex(normalized)) {\n this.internalSetValue(normalized, normalized, false);\n }\n return;\n }\n if (allowEmpty) {\n this.internalSetValue(null, null, false);\n }\n }\n handleValueChange(value, oldValue) {\n this.internalSetValue(value, oldValue, false);\n }\n // using @Listen as a workaround for VDOM listener not firing\n onInputKeyDown(event) {\n const { altKey, ctrlKey, metaKey, shiftKey } = event;\n const { internalColor, value } = this;\n const { key } = event;\n if (key === \"Tab\" || key === \"Enter\") {\n this.onInputChange();\n return;\n }\n const isNudgeKey = key === \"ArrowDown\" || key === \"ArrowUp\";\n const oldValue = this.value;\n if (isNudgeKey) {\n if (!value) {\n this.internalSetValue(this.previousNonNullValue, oldValue);\n event.preventDefault();\n return;\n }\n const direction = key === \"ArrowUp\" ? 1 : -1;\n const bump = shiftKey ? 10 : 1;\n this.internalSetValue(normalizeHex(this.nudgeRGBChannels(internalColor, bump * direction).hex()), oldValue);\n event.preventDefault();\n return;\n }\n const withModifiers = altKey || ctrlKey || metaKey;\n const singleChar = key.length === 1;\n const validHexChar = hexChar.test(key);\n if (singleChar && !withModifiers && !validHexChar) {\n event.preventDefault();\n }\n }\n onPaste(event) {\n const hex = event.clipboardData.getData(\"text\");\n if (isValidHex(hex)) {\n event.preventDefault();\n this.inputNode.value = hex.slice(1);\n }\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n render() {\n const { intlHex, value } = this;\n const hexInputValue = this.formatForInternalInput(value);\n return (h(\"div\", { class: CSS.container }, h(\"calcite-input\", { class: CSS.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: \"#\", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h(\"calcite-color-picker-swatch\", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n focusElement(this.inputNode);\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n internalSetValue(value, oldValue, emit = true) {\n if (value) {\n const normalized = normalizeHex(value);\n if (isValidHex(normalized)) {\n const { internalColor } = this;\n const changed = !internalColor || normalized !== normalizeHex(internalColor.hex());\n this.internalColor = Color(normalized);\n this.previousNonNullValue = normalized;\n this.value = normalized;\n if (changed && emit) {\n this.calciteColorPickerHexInputChange.emit();\n }\n return;\n }\n }\n else if (this.allowEmpty) {\n this.internalColor = null;\n this.value = null;\n if (emit) {\n this.calciteColorPickerHexInputChange.emit();\n }\n return;\n }\n this.value = oldValue;\n }\n formatForInternalInput(hex) {\n return hex ? hex.replace(\"#\", \"\") : \"\";\n }\n nudgeRGBChannels(color, amount) {\n return Color.rgb(color.array().map((channel) => channel + amount));\n }\n handleKeyDown(event) {\n if (event.key === \"Enter\") {\n event.preventDefault();\n }\n }\n static get is() { return \"calcite-color-picker-hex-input\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"color-picker-hex-input.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"color-picker-hex-input.css\"]\n };\n }\n static get properties() {\n return {\n \"allowEmpty\": {\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 `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.\\n\\nWhen `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.\"\n },\n \"attribute\": \"allow-empty\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"intlHex\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Hex\\\"\"\n }],\n \"text\": \"Accessible name for the Hex input.\"\n },\n \"attribute\": \"intl-hex\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.hex\"\n },\n \"intlNoColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"No color\\\"\"\n }],\n \"text\": \"Accessible name for the Hex input when there is no color selected.\"\n },\n \"attribute\": \"intl-no-color\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.noColor\"\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 \"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\": \"The Hex value.\"\n },\n \"attribute\": \"value\",\n \"reflect\": true,\n \"defaultValue\": \"normalizeHex(DEFAULT_COLOR.hex())\"\n },\n \"numberingSystem\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"NumberingSystem\",\n \"resolved\": \"\\\"arab\\\" | \\\"arabext\\\" | \\\"bali\\\" | \\\"beng\\\" | \\\"deva\\\" | \\\"fullwide\\\" | \\\"gujr\\\" | \\\"guru\\\" | \\\"hanidec\\\" | \\\"khmr\\\" | \\\"knda\\\" | \\\"laoo\\\" | \\\"latn\\\" | \\\"limb\\\" | \\\"mlym\\\" | \\\"mong\\\" | \\\"mymr\\\" | \\\"orya\\\" | \\\"tamldec\\\" | \\\"telu\\\" | \\\"thai\\\" | \\\"tibt\\\"\",\n \"references\": {\n \"NumberingSystem\": {\n \"location\": \"import\",\n \"path\": \"../../utils/locale\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the Unicode numeral system used by the component for localization.\"\n },\n \"attribute\": \"numbering-system\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"internalColor\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteColorPickerHexInputChange\",\n \"name\": \"calciteColorPickerHexInputChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the hex value 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\": \"value\",\n \"methodName\": \"handleValueChange\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"keydown\",\n \"method\": \"onInputKeyDown\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"p-374a5031.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEY,MAAC,GAAG,GAAG;AACnB,EAAE,SAAS,EAAE,WAAW;AACxB,EAAE,cAAc,EAAE,iBAAiB;AACnC,EAAE,UAAU,EAAE,mBAAmB;AACjC,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,YAAY,EAAE,gBAAgB;AAChC,EAAE,kBAAkB,EAAE,sBAAsB;AAC5C,EAAE,SAAS,EAAE,YAAY;AACzB,EAAE,QAAQ,EAAE,UAAU;AACtB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,WAAW,EAAE,cAAc;AAC7B,EAAE,kBAAkB,EAAE,sBAAsB;AAC5C,EAAE,SAAS,EAAE,YAAY;AACzB,EAAE,WAAW,EAAE,cAAc;AAC7B,EAAE,kBAAkB,EAAE,sBAAsB;AAC5C,EAAE,SAAS,EAAE,aAAa;AAC1B,EAAE,mBAAmB,EAAE,wBAAwB;AAC/C,EAAE,8BAA8B,EAAE,qCAAqC;AACvE,EAAE,uBAAuB,EAAE,6BAA6B;AACxD,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,QAAQ,EAAE,YAAY;AACxB,EAAE,eAAe,EAAE,oBAAoB;AACvC,EAAE,UAAU,EAAE,aAAa;AAC3B,EAAE;AACU,MAAC,aAAa,GAAGA,KAAK,CAAC,SAAS,EAAE;AAClC,MAAC,0BAA0B,GAAG,iBAAiB;AAC/C,MAAC,UAAU,GAAG;AAC1B,EAAE,CAAC,EAAE,GAAG;AACR,EAAE,CAAC,EAAE,GAAG;AACR,EAAE,CAAC,EAAE,GAAG;AACR,EAAE;AACU,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AChB,KAAK;AACL,IAAI,KAAK,EAAE;AACX,MAAM,MAAM,EAAE,EAAE;AAChB,KAAK;AACL,GAAG;AACH,EAAE,CAAC,EAAE;AACL,IAAI,MAAM,EAAE;AACZ,MAAM,MAAM,EAAE,EAAE;AAChB,MAAM,KAAK,EAAE,GAAG;AAChB,KAAK;AACL,IAAI,UAAU,EAAE;AAChB,MAAM,MAAM,EAAE,GAAG;AACjB,MAAM,KAAK,EAAE,GAAG;AAChB,KAAK;AACL,IAAI,KAAK,EAAE;AACX,MAAM,MAAM,EAAE,EAAE;AAChB,KAAK;AACL,GAAG;AACH;;;;","names":["Color"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/color-picker/resources.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport Color from \"color\";\nexport const CSS = {\n container: \"container\",\n controlSection: \"control-section\",\n hexOptions: \"color-hex-options\",\n section: \"section\",\n header: \"header\",\n control: \"control\",\n splitSection: \"section--split\",\n colorModeContainer: \"color-mode-container\",\n colorMode: \"color-mode\",\n channels: \"channels\",\n channel: \"channel\",\n savedColors: \"saved-colors\",\n savedColorsSection: \"saved-colors-section\",\n saveColor: \"save-color\",\n deleteColor: \"delete-color\",\n savedColorsButtons: \"saved-colors-buttons\",\n headerHex: \"header--hex\",\n colorFieldAndSlider: \"color-field-and-slider\",\n colorFieldAndSliderInteractive: \"color-field-and-slider--interactive\",\n colorFieldAndSliderWrap: \"color-field-and-slider-wrap\",\n scope: \"scope\",\n hueScope: \"scope--hue\",\n colorFieldScope: \"scope--color-field\",\n savedColor: \"saved-color\"\n};\nexport const DEFAULT_COLOR = Color(\"#007AC2\");\nexport const DEFAULT_STORAGE_KEY_PREFIX = \"calcite-color-\";\nexport const RGB_LIMITS = {\n r: 255,\n g: 255,\n b: 255\n};\nexport const HSV_LIMITS = {\n h: 360,\n s: 100,\n v: 100\n};\nexport const TEXT = {\n b: \"B\",\n blue: \"Blue\",\n deleteColor: \"Delete color\",\n g: \"G\",\n green: \"Green\",\n h: \"H\",\n hsv: \"HSV\",\n hex: \"Hex\",\n hue: \"Hue\",\n noColor: \"No color\",\n r: \"R\",\n red: \"Red\",\n rgb: \"RGB\",\n s: \"S\",\n saturation: \"Saturation\",\n saveColor: \"Save color\",\n saved: \"Saved\",\n v: \"V\",\n value: \"Value\"\n};\nexport const DIMENSIONS = {\n s: {\n slider: {\n height: 10,\n width: 160\n },\n colorField: {\n height: 80,\n width: 160\n },\n thumb: {\n radius: 8\n }\n },\n m: {\n slider: {\n height: 14,\n width: 272\n },\n colorField: {\n height: 150,\n width: 272\n },\n thumb: {\n radius: 10\n }\n },\n l: {\n slider: {\n height: 16,\n width: 464\n },\n colorField: {\n height: 200,\n width: 464\n },\n thumb: {\n radius: 12\n }\n }\n};\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"p-3b010ce1.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"p-3f6b0af4.js","mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACO,MAAM,uBAAuB,GAAG,mBAAmB,CAAC;AAC3D,SAAS,WAAW,CAAC,SAAS,EAAE;AAChC,EAAE,OAAO,SAAS,IAAI,SAAS,CAAC;AAChC,CAAC;AACD,MAAM,cAAc,GAAG,IAAI,OAAO,EAAE,CAAC;AACrC,MAAM,gBAAgB,GAAG,IAAI,OAAO,EAAE,CAAC;AACvC,SAAS,gCAAgC,CAAC,IAAI,EAAE,eAAe,EAAE;AACjE;AACA,EAAE,MAAM,8BAA8B,GAAG,sCAAsC,CAAC;AAChF,EAAE,IAAI,gCAAgC,GAAG,KAAK,CAAC;AAC/C,EAAE,IAAI,CAAC,gBAAgB,CAAC,8BAA8B,EAAE,CAAC,KAAK,KAA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GAAG,KAAK,IAAI,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,mBAAmB,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AACtG,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACY,MAAC,mBAAmB,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK;AACtD,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACjC,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC,CAAC;AACtD;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/form.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { closestElementCrossShadowBoundary } from \"./dom\";\nimport { h } from \"@stencil/core\";\n/**\n * Exported for testing purposes.\n */\nexport const hiddenFormInputSlotName = \"hidden-form-input\";\nfunction isCheckable(component) {\n return \"checked\" in component;\n}\nconst onFormResetMap = new WeakMap();\nconst formComponentSet = new WeakSet();\nfunction hasRegisteredFormComponentParent(form, formComponentEl) {\n // we use events as a way to test for nested form-associated components across shadow bounds\n const formComponentRegisterEventName = \"calciteInternalFormComponentRegister\";\n let hasRegisteredFormComponentParent = false;\n form.addEventListener(formComponentRegisterEventName, (event) => {\n hasRegisteredFormComponentParent = event\n .composedPath()\n .some((element) => formComponentSet.has(element));\n event.stopPropagation();\n }, { once: true });\n formComponentEl.dispatchEvent(new CustomEvent(formComponentRegisterEventName, {\n bubbles: true,\n composed: true\n }));\n return hasRegisteredFormComponentParent;\n}\n/**\n * Helper to submit a form.\n *\n * @param component\n * @returns true if its associated form was submitted, false otherwise.\n */\nexport function submitForm(component) {\n const { formEl } = component;\n if (!formEl) {\n return false;\n }\n \"requestSubmit\" in formEl ? formEl.requestSubmit() : formEl.submit();\n return true;\n}\n/**\n * Helper to reset a form.\n *\n * @param component\n */\nexport function resetForm(component) {\n var _a;\n (_a = component.formEl) === null || _a === void 0 ? void 0 : _a.reset();\n}\n/**\n * Helper to set up form interactions on connectedCallback.\n *\n * @param component\n */\nexport function connectForm(component) {\n const { el, value } = component;\n const form = closestElementCrossShadowBoundary(el, \"form\");\n if (!form || hasRegisteredFormComponentParent(form, el)) {\n return;\n }\n component.formEl = form;\n component.defaultValue = value;\n if (isCheckable(component)) {\n component.defaultChecked = component.checked;\n }\n const boundOnFormReset = (component.onFormReset || onFormReset).bind(component);\n form.addEventListener(\"reset\", boundOnFormReset);\n onFormResetMap.set(component.el, boundOnFormReset);\n formComponentSet.add(el);\n}\nfunction onFormReset() {\n if (isCheckable(this)) {\n this.checked = this.defaultChecked;\n return;\n }\n this.value = this.defaultValue;\n}\n/**\n * Helper to tear down form interactions on disconnectedCallback.\n *\n * @param component\n */\nexport function disconnectForm(component) {\n const { el, formEl } = component;\n if (!formEl) {\n return;\n }\n const boundOnFormReset = onFormResetMap.get(el);\n formEl.removeEventListener(\"reset\", boundOnFormReset);\n onFormResetMap.delete(el);\n component.formEl = null;\n formComponentSet.delete(el);\n}\n/**\n * Helper for setting the default value on initialization after connectedCallback.\n *\n * Note that this is only needed if the default value cannot be determined on connectedCallback.\n *\n * @param component\n * @param value\n */\nexport function afterConnectDefaultValueSet(component, value) {\n component.defaultValue = value;\n}\nconst hiddenInputChangeHandler = (event) => {\n event.target.dispatchEvent(new CustomEvent(\"calciteInternalHiddenInputChange\", { bubbles: true }));\n};\nconst removeHiddenInputChangeEventListener = (input) => input.removeEventListener(\"change\", hiddenInputChangeHandler);\n/**\n * Helper for maintaining a form-associated's hidden input in sync with the component.\n *\n * Based on Ionic's approach: https://github.com/ionic-team/ionic-framework/blob/e4bf052794af9aac07f887013b9250d2a045eba3/core/src/utils/helpers.ts#L198\n *\n * @param component\n */\nfunction syncHiddenFormInput(component) {\n const { el, formEl, name, value } = component;\n const { ownerDocument } = el;\n const inputs = el.querySelectorAll(`input[slot=\"${hiddenFormInputSlotName}\"]`);\n if (!formEl || !name) {\n inputs.forEach((input) => {\n removeHiddenInputChangeEventListener(input);\n input.remove();\n });\n return;\n }\n const values = Array.isArray(value) ? value : [value];\n const extra = [];\n const seen = new Set();\n inputs.forEach((input) => {\n const valueMatch = values.find((val) => \n /* intentional non-strict equality check */\n val == input.value);\n if (valueMatch != null) {\n seen.add(valueMatch);\n defaultSyncHiddenFormInput(component, input, valueMatch);\n }\n else {\n extra.push(input);\n }\n });\n let docFrag;\n values.forEach((value) => {\n if (seen.has(value)) {\n return;\n }\n let input = extra.pop();\n if (!input) {\n input = ownerDocument.createElement(\"input\");\n input.slot = hiddenFormInputSlotName;\n }\n if (!docFrag) {\n docFrag = ownerDocument.createDocumentFragment();\n }\n docFrag.append(input);\n // emits when hidden input is autofilled\n input.addEventListener(\"change\", hiddenInputChangeHandler);\n defaultSyncHiddenFormInput(component, input, value);\n });\n if (docFrag) {\n el.append(docFrag);\n }\n extra.forEach((input) => {\n removeHiddenInputChangeEventListener(input);\n input.remove();\n });\n}\nfunction defaultSyncHiddenFormInput(component, input, value) {\n var _a;\n const { defaultValue, disabled, name, required } = component;\n // keep in sync to prevent losing reset value\n input.defaultValue = defaultValue;\n input.disabled = disabled;\n input.name = name;\n input.required = required;\n input.tabIndex = -1;\n if (isCheckable(component)) {\n // keep in sync to prevent losing reset value\n input.defaultChecked = component.defaultChecked;\n // heuristic to support default/on mode from https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default-on\n input.value = component.checked ? value || \"on\" : \"\";\n // we disable the component when not checked to avoid having its value submitted\n if (!disabled && !component.checked) {\n input.disabled = true;\n }\n }\n else {\n input.value = value || \"\";\n }\n (_a = component.syncHiddenFormInput) === null || _a === void 0 ? void 0 : _a.call(component, input);\n}\n/**\n * Helper to render the slot for form-associated component's hidden input.\n *\n * If the component has a default slot, this must be placed at the bottom of the component's root container to ensure it is the last child.\n *\n * render(): VNode {\n * <Host>\n * <div class={CSS.container}>\n * // ...\n * <HiddenFormInputSlot component={this} />\n * </div>\n * </Host>\n * }\n *\n * Note that the hidden-form-input Sass mixin must be added to the component's style to apply specific styles.\n *\n * @param root0\n * @param root0.component\n */\nexport const HiddenFormInputSlot = ({ component }) => {\n syncHiddenFormInput(component);\n return h(\"slot\", { name: hiddenFormInputSlotName });\n};\n"],"version":3}
|
@@ -1,236 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './p-58c69df2.js';
|
7
|
-
import { g as getElementProp, t as toAriaBoolean } from './p-32a67cb2.js';
|
8
|
-
import { u as updateHostInteraction } from './p-7daea1df.js';
|
9
|
-
import { n as numberStringFormatter, c as connectLocalized, d as disconnectLocalized } from './p-23904a3d.js';
|
10
|
-
import './p-729708a3.js';
|
11
|
-
import './p-a80b3880.js';
|
12
|
-
import './p-73e23995.js';
|
13
|
-
import './p-9a9955db.js';
|
14
|
-
|
15
|
-
const stepperItemCss = "@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([layout=horizontal][disabled]) .stepper-item-header,: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([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);-webkit-margin-before:1px;margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content ::slotted(:last-child){-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-l);margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-after:var(--calcite-stepper-item-spacing-unit-s);margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}";
|
16
|
-
|
17
|
-
const StepperItem = class {
|
18
|
-
constructor(hostRef) {
|
19
|
-
registerInstance(this, hostRef);
|
20
|
-
this.calciteInternalStepperItemKeyEvent = createEvent(this, "calciteInternalStepperItemKeyEvent", 6);
|
21
|
-
this.calciteInternalStepperItemSelect = createEvent(this, "calciteInternalStepperItemSelect", 6);
|
22
|
-
this.calciteInternalUserRequestedStepperItemSelect = createEvent(this, "calciteInternalUserRequestedStepperItemSelect", 6);
|
23
|
-
this.calciteInternalStepperItemRegister = createEvent(this, "calciteInternalStepperItemRegister", 6);
|
24
|
-
//--------------------------------------------------------------------------
|
25
|
-
//
|
26
|
-
// Public Properties
|
27
|
-
//
|
28
|
-
//--------------------------------------------------------------------------
|
29
|
-
/**
|
30
|
-
* When `true`, the component is selected.
|
31
|
-
*
|
32
|
-
* @deprecated Use `selected` instead.
|
33
|
-
*/
|
34
|
-
this.active = false;
|
35
|
-
/**
|
36
|
-
* When `true`, the component is selected.
|
37
|
-
*/
|
38
|
-
this.selected = false;
|
39
|
-
/** When `true`, the step has been completed. */
|
40
|
-
this.complete = false;
|
41
|
-
/** When `true`, the component contains an error that requires resolution from the user. */
|
42
|
-
this.error = false;
|
43
|
-
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
44
|
-
this.disabled = false;
|
45
|
-
// internal props inherited from wrapping calcite-stepper
|
46
|
-
/** Defines the layout of the component. */
|
47
|
-
/** @internal */
|
48
|
-
this.layout = "horizontal";
|
49
|
-
/** When `true`, displays a status icon in the component's heading. */
|
50
|
-
/** @internal */
|
51
|
-
this.icon = false;
|
52
|
-
/** When `true`, displays the step number in the component's heading. */
|
53
|
-
/** @internal */
|
54
|
-
this.numbered = false;
|
55
|
-
/** Specifies the size of the component. */
|
56
|
-
/** @internal */
|
57
|
-
this.scale = "m";
|
58
|
-
//--------------------------------------------------------------------------
|
59
|
-
//
|
60
|
-
// Internal State/Props
|
61
|
-
//
|
62
|
-
//--------------------------------------------------------------------------
|
63
|
-
this.effectiveLocale = "";
|
64
|
-
//--------------------------------------------------------------------------
|
65
|
-
//
|
66
|
-
// Private Methods
|
67
|
-
//
|
68
|
-
//--------------------------------------------------------------------------
|
69
|
-
this.keyDownHandler = (event) => {
|
70
|
-
if (!this.disabled && event.target === this.el) {
|
71
|
-
switch (event.key) {
|
72
|
-
case " ":
|
73
|
-
case "Enter":
|
74
|
-
this.emitUserRequestedItem();
|
75
|
-
event.preventDefault();
|
76
|
-
break;
|
77
|
-
case "ArrowUp":
|
78
|
-
case "ArrowDown":
|
79
|
-
case "ArrowLeft":
|
80
|
-
case "ArrowRight":
|
81
|
-
case "Home":
|
82
|
-
case "End":
|
83
|
-
this.calciteInternalStepperItemKeyEvent.emit({ item: event });
|
84
|
-
event.preventDefault();
|
85
|
-
break;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
};
|
89
|
-
this.handleItemClick = (event) => {
|
90
|
-
if (this.layout === "horizontal" &&
|
91
|
-
event
|
92
|
-
.composedPath()
|
93
|
-
.some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("stepper-item-content"); })) {
|
94
|
-
return;
|
95
|
-
}
|
96
|
-
this.emitUserRequestedItem();
|
97
|
-
};
|
98
|
-
this.emitUserRequestedItem = () => {
|
99
|
-
this.emitRequestedItem();
|
100
|
-
if (!this.disabled) {
|
101
|
-
const position = this.itemPosition;
|
102
|
-
this.calciteInternalUserRequestedStepperItemSelect.emit({
|
103
|
-
position
|
104
|
-
});
|
105
|
-
}
|
106
|
-
};
|
107
|
-
this.emitRequestedItem = () => {
|
108
|
-
if (!this.disabled) {
|
109
|
-
const position = this.itemPosition;
|
110
|
-
this.calciteInternalStepperItemSelect.emit({
|
111
|
-
position
|
112
|
-
});
|
113
|
-
}
|
114
|
-
};
|
115
|
-
}
|
116
|
-
activeHandler(value) {
|
117
|
-
this.selected = value;
|
118
|
-
}
|
119
|
-
selectedHandler(value) {
|
120
|
-
this.active = value;
|
121
|
-
if (this.selected) {
|
122
|
-
this.emitRequestedItem();
|
123
|
-
}
|
124
|
-
}
|
125
|
-
// watch for removal of disabled to register step
|
126
|
-
disabledWatcher() {
|
127
|
-
this.registerStepperItem();
|
128
|
-
}
|
129
|
-
effectiveLocaleWatcher(locale) {
|
130
|
-
var _a;
|
131
|
-
numberStringFormatter.numberFormatOptions = {
|
132
|
-
locale,
|
133
|
-
numberingSystem: (_a = this.parentStepperEl) === null || _a === void 0 ? void 0 : _a.numberingSystem,
|
134
|
-
useGrouping: false
|
135
|
-
};
|
136
|
-
}
|
137
|
-
//--------------------------------------------------------------------------
|
138
|
-
//
|
139
|
-
// Lifecycle
|
140
|
-
//
|
141
|
-
//--------------------------------------------------------------------------
|
142
|
-
connectedCallback() {
|
143
|
-
connectLocalized(this);
|
144
|
-
const { selected, active } = this;
|
145
|
-
if (selected) {
|
146
|
-
this.active = selected;
|
147
|
-
}
|
148
|
-
else if (active) {
|
149
|
-
this.selected = active;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
componentWillLoad() {
|
153
|
-
var _a;
|
154
|
-
this.icon = getElementProp(this.el, "icon", false);
|
155
|
-
this.numbered = getElementProp(this.el, "numbered", false);
|
156
|
-
this.layout = getElementProp(this.el, "layout", false);
|
157
|
-
this.scale = getElementProp(this.el, "scale", "m");
|
158
|
-
this.parentStepperEl = this.el.parentElement;
|
159
|
-
this.itemPosition = this.getItemPosition();
|
160
|
-
this.registerStepperItem();
|
161
|
-
if (this.selected) {
|
162
|
-
this.emitRequestedItem();
|
163
|
-
}
|
164
|
-
numberStringFormatter.numberFormatOptions = {
|
165
|
-
locale: this.effectiveLocale,
|
166
|
-
numberingSystem: (_a = this.parentStepperEl) === null || _a === void 0 ? void 0 : _a.numberingSystem,
|
167
|
-
useGrouping: false
|
168
|
-
};
|
169
|
-
}
|
170
|
-
componentDidRender() {
|
171
|
-
updateHostInteraction(this, true);
|
172
|
-
}
|
173
|
-
disconnectedCallback() {
|
174
|
-
disconnectLocalized(this);
|
175
|
-
}
|
176
|
-
render() {
|
177
|
-
return (h(Host, { "aria-expanded": toAriaBoolean(this.active), onClick: this.handleItemClick, onKeyDown: this.keyDownHandler }, h("div", { class: "container" }, h("div", { class: "stepper-item-header", ref: (el) => (this.headerEl = el), tabIndex:
|
178
|
-
/* additional tab index logic needed because of display: contents */
|
179
|
-
this.layout === "horizontal" && !this.disabled ? 0 : null }, this.icon ? this.renderIcon() : null, this.numbered ? (h("div", { class: "stepper-item-number" }, numberStringFormatter.numberFormatter.format(this.itemPosition + 1), ".")) : null, h("div", { class: "stepper-item-header-text" }, h("span", { class: "stepper-item-heading" }, this.heading || this.itemTitle), h("span", { class: "stepper-item-description" }, this.description || this.itemSubtitle))), h("div", { class: "stepper-item-content" }, h("slot", null)))));
|
180
|
-
}
|
181
|
-
//--------------------------------------------------------------------------
|
182
|
-
//
|
183
|
-
// Event Listeners
|
184
|
-
//
|
185
|
-
//--------------------------------------------------------------------------
|
186
|
-
updateActiveItemOnChange(event) {
|
187
|
-
if (event.target === this.parentStepperEl ||
|
188
|
-
event.composedPath().includes(this.parentStepperEl)) {
|
189
|
-
this.selectedPosition = event.detail.position;
|
190
|
-
this.determineSelectedItem();
|
191
|
-
}
|
192
|
-
}
|
193
|
-
//--------------------------------------------------------------------------
|
194
|
-
//
|
195
|
-
// Public Methods
|
196
|
-
//
|
197
|
-
//--------------------------------------------------------------------------
|
198
|
-
async setFocus() {
|
199
|
-
var _a;
|
200
|
-
(_a = (this.layout === "vertical" ? this.el : this.headerEl)) === null || _a === void 0 ? void 0 : _a.focus();
|
201
|
-
}
|
202
|
-
renderIcon() {
|
203
|
-
const path = this.selected
|
204
|
-
? "circleF"
|
205
|
-
: this.error
|
206
|
-
? "exclamationMarkCircleF"
|
207
|
-
: this.complete
|
208
|
-
? "checkCircleF"
|
209
|
-
: "circle";
|
210
|
-
return h("calcite-icon", { class: "stepper-item-icon", icon: path, scale: "s" });
|
211
|
-
}
|
212
|
-
determineSelectedItem() {
|
213
|
-
this.selected = !this.disabled && this.itemPosition === this.selectedPosition;
|
214
|
-
}
|
215
|
-
registerStepperItem() {
|
216
|
-
this.calciteInternalStepperItemRegister.emit({
|
217
|
-
position: this.itemPosition
|
218
|
-
});
|
219
|
-
}
|
220
|
-
getItemPosition() {
|
221
|
-
var _a;
|
222
|
-
return Array.from((_a = this.parentStepperEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll("calcite-stepper-item")).indexOf(this.el);
|
223
|
-
}
|
224
|
-
get el() { return getElement(this); }
|
225
|
-
static get watchers() { return {
|
226
|
-
"active": ["activeHandler"],
|
227
|
-
"selected": ["selectedHandler"],
|
228
|
-
"disabled": ["disabledWatcher"],
|
229
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
230
|
-
}; }
|
231
|
-
};
|
232
|
-
StepperItem.style = stepperItemCss;
|
233
|
-
|
234
|
-
export { StepperItem as calcite_stepper_item };
|
235
|
-
|
236
|
-
//# sourceMappingURL=p-400e1427.entry.js.map
|