@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
@@ -3,228 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import
|
7
|
-
import { h } from './p-58c69df2.js';
|
8
|
-
|
6
|
+
import{c as n}from"./p-32a67cb2.js";import{h as t}from"./p-58c69df2.js";
|
9
7
|
/*!
|
10
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
11
9
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
12
10
|
* v1.0.0-beta.97
|
13
|
-
*/
|
14
|
-
/**
|
15
|
-
* Exported for testing purposes.
|
16
|
-
*/
|
17
|
-
const hiddenFormInputSlotName = "hidden-form-input";
|
18
|
-
function isCheckable(component) {
|
19
|
-
return "checked" in component;
|
20
|
-
}
|
21
|
-
const onFormResetMap = new WeakMap();
|
22
|
-
const formComponentSet = new WeakSet();
|
23
|
-
function hasRegisteredFormComponentParent(form, formComponentEl) {
|
24
|
-
// we use events as a way to test for nested form-associated components across shadow bounds
|
25
|
-
const formComponentRegisterEventName = "calciteInternalFormComponentRegister";
|
26
|
-
let hasRegisteredFormComponentParent = false;
|
27
|
-
form.addEventListener(formComponentRegisterEventName, (event) => {
|
28
|
-
hasRegisteredFormComponentParent = event
|
29
|
-
.composedPath()
|
30
|
-
.some((element) => formComponentSet.has(element));
|
31
|
-
event.stopPropagation();
|
32
|
-
}, { once: true });
|
33
|
-
formComponentEl.dispatchEvent(new CustomEvent(formComponentRegisterEventName, {
|
34
|
-
bubbles: true,
|
35
|
-
composed: true
|
36
|
-
}));
|
37
|
-
return hasRegisteredFormComponentParent;
|
38
|
-
}
|
39
|
-
/**
|
40
|
-
* Helper to submit a form.
|
41
|
-
*
|
42
|
-
* @param component
|
43
|
-
* @returns true if its associated form was submitted, false otherwise.
|
44
|
-
*/
|
45
|
-
function submitForm(component) {
|
46
|
-
const { formEl } = component;
|
47
|
-
if (!formEl) {
|
48
|
-
return false;
|
49
|
-
}
|
50
|
-
"requestSubmit" in formEl ? formEl.requestSubmit() : formEl.submit();
|
51
|
-
return true;
|
52
|
-
}
|
53
|
-
/**
|
54
|
-
* Helper to reset a form.
|
55
|
-
*
|
56
|
-
* @param component
|
57
|
-
*/
|
58
|
-
function resetForm(component) {
|
59
|
-
var _a;
|
60
|
-
(_a = component.formEl) === null || _a === void 0 ? void 0 : _a.reset();
|
61
|
-
}
|
62
|
-
/**
|
63
|
-
* Helper to set up form interactions on connectedCallback.
|
64
|
-
*
|
65
|
-
* @param component
|
66
|
-
*/
|
67
|
-
function connectForm(component) {
|
68
|
-
const { el, value } = component;
|
69
|
-
const form = closestElementCrossShadowBoundary(el, "form");
|
70
|
-
if (!form || hasRegisteredFormComponentParent(form, el)) {
|
71
|
-
return;
|
72
|
-
}
|
73
|
-
component.formEl = form;
|
74
|
-
component.defaultValue = value;
|
75
|
-
if (isCheckable(component)) {
|
76
|
-
component.defaultChecked = component.checked;
|
77
|
-
}
|
78
|
-
const boundOnFormReset = (component.onFormReset || onFormReset).bind(component);
|
79
|
-
form.addEventListener("reset", boundOnFormReset);
|
80
|
-
onFormResetMap.set(component.el, boundOnFormReset);
|
81
|
-
formComponentSet.add(el);
|
82
|
-
}
|
83
|
-
function onFormReset() {
|
84
|
-
if (isCheckable(this)) {
|
85
|
-
this.checked = this.defaultChecked;
|
86
|
-
return;
|
87
|
-
}
|
88
|
-
this.value = this.defaultValue;
|
89
|
-
}
|
90
|
-
/**
|
91
|
-
* Helper to tear down form interactions on disconnectedCallback.
|
92
|
-
*
|
93
|
-
* @param component
|
94
|
-
*/
|
95
|
-
function disconnectForm(component) {
|
96
|
-
const { el, formEl } = component;
|
97
|
-
if (!formEl) {
|
98
|
-
return;
|
99
|
-
}
|
100
|
-
const boundOnFormReset = onFormResetMap.get(el);
|
101
|
-
formEl.removeEventListener("reset", boundOnFormReset);
|
102
|
-
onFormResetMap.delete(el);
|
103
|
-
component.formEl = null;
|
104
|
-
formComponentSet.delete(el);
|
105
|
-
}
|
106
|
-
/**
|
107
|
-
* Helper for setting the default value on initialization after connectedCallback.
|
108
|
-
*
|
109
|
-
* Note that this is only needed if the default value cannot be determined on connectedCallback.
|
110
|
-
*
|
111
|
-
* @param component
|
112
|
-
* @param value
|
113
|
-
*/
|
114
|
-
function afterConnectDefaultValueSet(component, value) {
|
115
|
-
component.defaultValue = value;
|
116
|
-
}
|
117
|
-
const hiddenInputChangeHandler = (event) => {
|
118
|
-
event.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange", { bubbles: true }));
|
119
|
-
};
|
120
|
-
const removeHiddenInputChangeEventListener = (input) => input.removeEventListener("change", hiddenInputChangeHandler);
|
121
|
-
/**
|
122
|
-
* Helper for maintaining a form-associated's hidden input in sync with the component.
|
123
|
-
*
|
124
|
-
* Based on Ionic's approach: https://github.com/ionic-team/ionic-framework/blob/e4bf052794af9aac07f887013b9250d2a045eba3/core/src/utils/helpers.ts#L198
|
125
|
-
*
|
126
|
-
* @param component
|
127
|
-
*/
|
128
|
-
function syncHiddenFormInput(component) {
|
129
|
-
const { el, formEl, name, value } = component;
|
130
|
-
const { ownerDocument } = el;
|
131
|
-
const inputs = el.querySelectorAll(`input[slot="${hiddenFormInputSlotName}"]`);
|
132
|
-
if (!formEl || !name) {
|
133
|
-
inputs.forEach((input) => {
|
134
|
-
removeHiddenInputChangeEventListener(input);
|
135
|
-
input.remove();
|
136
|
-
});
|
137
|
-
return;
|
138
|
-
}
|
139
|
-
const values = Array.isArray(value) ? value : [value];
|
140
|
-
const extra = [];
|
141
|
-
const seen = new Set();
|
142
|
-
inputs.forEach((input) => {
|
143
|
-
const valueMatch = values.find((val) =>
|
144
|
-
/* intentional non-strict equality check */
|
145
|
-
val == input.value);
|
146
|
-
if (valueMatch != null) {
|
147
|
-
seen.add(valueMatch);
|
148
|
-
defaultSyncHiddenFormInput(component, input, valueMatch);
|
149
|
-
}
|
150
|
-
else {
|
151
|
-
extra.push(input);
|
152
|
-
}
|
153
|
-
});
|
154
|
-
let docFrag;
|
155
|
-
values.forEach((value) => {
|
156
|
-
if (seen.has(value)) {
|
157
|
-
return;
|
158
|
-
}
|
159
|
-
let input = extra.pop();
|
160
|
-
if (!input) {
|
161
|
-
input = ownerDocument.createElement("input");
|
162
|
-
input.slot = hiddenFormInputSlotName;
|
163
|
-
}
|
164
|
-
if (!docFrag) {
|
165
|
-
docFrag = ownerDocument.createDocumentFragment();
|
166
|
-
}
|
167
|
-
docFrag.append(input);
|
168
|
-
// emits when hidden input is autofilled
|
169
|
-
input.addEventListener("change", hiddenInputChangeHandler);
|
170
|
-
defaultSyncHiddenFormInput(component, input, value);
|
171
|
-
});
|
172
|
-
if (docFrag) {
|
173
|
-
el.append(docFrag);
|
174
|
-
}
|
175
|
-
extra.forEach((input) => {
|
176
|
-
removeHiddenInputChangeEventListener(input);
|
177
|
-
input.remove();
|
178
|
-
});
|
179
|
-
}
|
180
|
-
function defaultSyncHiddenFormInput(component, input, value) {
|
181
|
-
var _a;
|
182
|
-
const { defaultValue, disabled, name, required } = component;
|
183
|
-
// keep in sync to prevent losing reset value
|
184
|
-
input.defaultValue = defaultValue;
|
185
|
-
input.disabled = disabled;
|
186
|
-
input.name = name;
|
187
|
-
input.required = required;
|
188
|
-
input.tabIndex = -1;
|
189
|
-
if (isCheckable(component)) {
|
190
|
-
// keep in sync to prevent losing reset value
|
191
|
-
input.defaultChecked = component.defaultChecked;
|
192
|
-
// heuristic to support default/on mode from https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default-on
|
193
|
-
input.value = component.checked ? value || "on" : "";
|
194
|
-
// we disable the component when not checked to avoid having its value submitted
|
195
|
-
if (!disabled && !component.checked) {
|
196
|
-
input.disabled = true;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
else {
|
200
|
-
input.value = value || "";
|
201
|
-
}
|
202
|
-
(_a = component.syncHiddenFormInput) === null || _a === void 0 ? void 0 : _a.call(component, input);
|
203
|
-
}
|
204
|
-
/**
|
205
|
-
* Helper to render the slot for form-associated component's hidden input.
|
206
|
-
*
|
207
|
-
* 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.
|
208
|
-
*
|
209
|
-
* render(): VNode {
|
210
|
-
* <Host>
|
211
|
-
* <div class={CSS.container}>
|
212
|
-
* // ...
|
213
|
-
* <HiddenFormInputSlot component={this} />
|
214
|
-
* </div>
|
215
|
-
* </Host>
|
216
|
-
* }
|
217
|
-
*
|
218
|
-
* Note that the hidden-form-input Sass mixin must be added to the component's style to apply specific styles.
|
219
|
-
*
|
220
|
-
* @param root0
|
221
|
-
* @param root0.component
|
222
|
-
*/
|
223
|
-
const HiddenFormInputSlot = ({ component }) => {
|
224
|
-
syncHiddenFormInput(component);
|
225
|
-
return h("slot", { name: hiddenFormInputSlotName });
|
226
|
-
};
|
227
|
-
|
228
|
-
export { HiddenFormInputSlot as H, afterConnectDefaultValueSet as a, connectForm as c, disconnectForm as d, resetForm as r, submitForm as s };
|
229
|
-
|
230
|
-
//# sourceMappingURL=p-3f6b0af4.js.map
|
11
|
+
*/function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(n){const{formEl:t}=n;return!!t&&("requestSubmit"in t?t.requestSubmit():t.submit(),!0)}function s(n){var t;null===(t=n.formEl)||void 0===t||t.reset()}function c(t){const{el:r,value:s}=t,c=n(r,"form");if(!c||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(c,r))return;t.formEl=c,t.defaultValue=s,e(t)&&(t.defaultChecked=t.checked);const a=(t.onFormReset||u).bind(t);c.addEventListener("reset",a),o.set(t.el,a),i.add(r)}function u(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function a(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function l(n,t){n.defaultValue=t}const f=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},m=n=>n.removeEventListener("change",f);function d(n,t,o){var i;const{defaultValue:r,disabled:s,name:c,required:u}=n;t.defaultValue=r,t.disabled=s,t.name=c,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const p=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>{m(n),n.remove()}));const c=Array.isArray(i)?i:[i],u=[],a=new Set;let l;s.forEach((t=>{const e=c.find((n=>n==t.value));null!=e?(a.add(e),d(n,t,e)):u.push(t)})),c.forEach((t=>{if(a.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),l||(l=r.createDocumentFragment()),l.append(e),e.addEventListener("change",f),d(n,e,t)})),l&&t.append(l),u.forEach((n=>{m(n),n.remove()}))}(n),t("slot",{name:"hidden-form-input"}));export{p as H,l as a,c,a as d,s as r,r as s}
|
@@ -0,0 +1,11 @@
|
|
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 a,h as i,H as t,g as n}from"./p-58c69df2.js";import{H as e,c}from"./p-eeb0321d.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.0.0-beta.97
|
11
|
+
*/const r=class{constructor(i){a(this,i)}render(){var a;const{el:n,heading:r,headingLevel:o}=this,l=null===(a=n.closest("calcite-list, calcite-list-item-group"))||void 0===a?void 0:a.headingLevel,s=l?c(l+1):null;return i(t,null,r?i(e,{class:"heading",level:o||s||3},r):null,i("div",{class:"container",role:"group"},i("slot",null)))}get el(){return n(this)}};r.style="@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:flex;flex-direction:column}.heading{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:flex;inline-size:100%;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";export{r as calcite_list_item_group}
|
@@ -0,0 +1,6 @@
|
|
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 t,c as i,h as e,g as a,F as n}from"./p-58c69df2.js";import{c}from"./p-9a9955db.js";import{f as o}from"./p-32a67cb2.js";import{c as r,d as s}from"./p-dbad98e8.js";import{c as l,d,a as m,H as h}from"./p-3f6b0af4.js";import{u as p}from"./p-7daea1df.js";import"./p-729708a3.js";import"./p-a80b3880.js";const u=class{constructor(e){t(this,e),this.calciteInternalOptionChange=i(this,"calciteInternalOptionChange",6),this.disabled=!1,this.mutationObserver=c("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}))}handlePropChange(t,i,e){"label"!==e&&"value"!==e||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){var t;this.ensureTextContentDependentProps(),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}render(){return e("slot",null,this.label)}get el(){return a(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};u.style="@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}";function f(t){return"CALCITE-OPTION"===t.tagName}const v=class{constructor(e){t(this,e),this.calciteSelectChange=i(this,"calciteSelectChange",6),this.disabled=!1,this.required=!1,this.scale="m",this.value=null,this.width="auto",this.componentToNativeEl=new Map,this.mutationObserver=c("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>{var i;return null===(i=this.selectEl)||void 0===i?void 0:i.append(this.toNativeElement(t))}))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()}}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((i=>i.selected=i.value===t))}selectedOptionHandler(t){this.value=null==t?void 0:t.value}connectedCallback(){var t;const{el:i}=this;null===(t=this.mutationObserver)||void 0===t||t.observe(i,{subtree:!0,childList:!0}),r(this),l(this)}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),s(this),d(this)}componentDidLoad(){var t,i;m(this,null!==(i=null===(t=this.selectedOption)||void 0===t?void 0:t.value)&&void 0!==i?i:"")}componentDidRender(){p(this)}async setFocus(){o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const i=t.target,e=this.componentToNativeEl.get(i);e&&(this.updateNativeElement(i,e),f(i)&&i.selected&&(this.deselectAllExcept(i),this.selectedOption=i))}onLabelClick(){this.setFocus()}updateNativeElement(t,i){if(i.disabled=t.disabled,i.label=t.label,f(t)){const e=i;e.selected=t.selected,e.value=t.value,e.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let i;this.componentToNativeEl.forEach(((e,a)=>{f(a)&&e===t&&(a.selected=!0,i=a,this.deselectAllExcept(a))})),i&&(this.selectedOption=i)}toNativeElement(t){if(f(t)){const i=document.createElement("option");return this.updateNativeElement(t,i),this.componentToNativeEl.set(t,i),i}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const i=document.createElement("optgroup");return this.updateNativeElement(t,i),Array.from(t.children).forEach((e=>{const a=this.toNativeElement(e);i.append(a),this.componentToNativeEl.set(t,a)})),this.componentToNativeEl.set(t,i),i}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((i=>{i!==t&&(i.selected=!1)}))}renderChevron(){return e("div",{class:"icon-container"},e("calcite-icon",{class:"icon",icon:"chevron-down",scale:"s"}))}render(){return e(n,null,e("select",{"aria-label":this.label,class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},e("slot",null)),this.renderChevron(),e(h,{component:this}))}get el(){return a(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};v.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{u as calcite_option,v as calcite_select}
|
@@ -0,0 +1,11 @@
|
|
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 a,h as t,g as i}from"./p-58c69df2.js";import{f as o}from"./p-32a67cb2.js";import{u as n}from"./p-7daea1df.js";import"./p-729708a3.js";import"./p-a80b3880.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
+
* v1.0.0-beta.97
|
11
|
+
*/const e=class{constructor(t){a(this,t),this.appearance="outline",this.color="neutral",this.disabled=!1,this.icon="plus",this.loading=!1,this.scale="m",this.textEnabled=!1}componentDidRender(){n(this)}async setFocus(){o(this.buttonEl)}render(){const{appearance:a,color:i,disabled:o,loading:n,scale:e,textEnabled:r,icon:c,label:s,text:l}=this;return t("calcite-button",{appearance:"solid"===a?"solid":"outline",class:"button",color:i,disabled:o,iconStart:c,label:s,loading:n,ref:a=>{this.buttonEl=a},round:!0,scale:e,title:r?null:s||l||null,type:"button",width:"auto"},this.textEnabled?this.text:null)}get el(){return i(this)}};e.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 12px 32px -2px var(--tw-shadow-color), 0 4px 20px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";export{e as calcite_fab}
|
@@ -0,0 +1,6 @@
|
|
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 t,c as i,h as e,g as s}from"./p-58c69df2.js";import{c as n}from"./p-93d3119d.js";import{D as a,T as o,a as l,H as r,C as h,b as c,R as d}from"./p-374a5031.js";import{i as p,b as u,f as m}from"./p-32a67cb2.js";import{n as f,C as g,p as b,c as v}from"./p-991ee695.js";import{c as x}from"./p-63f6e8f1.js";import{u as w}from"./p-7daea1df.js";import{i as y}from"./p-73e23995.js";import{d as k,i as C}from"./p-4e32bf8c.js";import"./p-3b010ce1.js";import"./p-729708a3.js";import"./p-a80b3880.js";const S=f(a.hex()),D=class{constructor(s){var m,b,v,w;t(this,s),this.calciteColorPickerChange=i(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=i(this,"calciteColorPickerInput",6),this.allowEmpty=!1,this.appearance="solid",this.color=a,this.disabled=!1,this.format="auto",this.hideHex=!1,this.hideChannels=!1,this.hideSaved=!1,this.intlB=o.b,this.intlBlue=o.blue,this.intlDeleteColor=o.deleteColor,this.intlG=o.g,this.intlGreen=o.green,this.intlH=o.h,this.intlHsv=o.hsv,this.intlHex=o.hex,this.intlHue=o.hue,this.intlNoColor=o.noColor,this.intlR=o.r,this.intlRed=o.red,this.intlRgb=o.rgb,this.intlS=o.s,this.intlSaturation=o.saturation,this.intlSaveColor=o.saveColor,this.intlSaved=o.saved,this.intlV=o.v,this.intlValue=o.value,this.scale="m",this.value=S,this.colorFieldAndSliderHovered=!1,this.hueThumbState="idle",this.internalColorUpdateContext=null,this.mode=g.HEX,this.shiftKeyChannelAdjustment=0,this.sliderThumbState="idle",this.colorFieldAndSliderInteractive=!1,this.channelMode="rgb",this.channels=this.toChannels(a),this.dimensions=l.m,this.savedColors=[],this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:i}=t,e={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};e[i]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===i||"ArrowUp"===i?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+e[i].x||0,this.colorFieldScopeTop+e[i].y||0,!1))},this.handleHueScopeKeyDown=t=>{const i=t.shiftKey?10:1,{key:e}=t,s={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(s[e]){t.preventDefault();const n=s[e]*i,a=this.baseColorFieldColor.hue(),o=this.baseColorFieldColor.hue(a+n);this.internalColorSet(o,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:i,color:e}=this,s=t.target.value;!i||s?s!==(e&&f(e.hex()))&&this.internalColorSet(n(s)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(n(t.currentTarget.color))},this.handleChannelInput=t=>{const i=t.currentTarget,e=t.detail.nativeEvent.target,s=Number(i.getAttribute("data-channel-index")),n="rgb"===this.channelMode?d[Object.keys(d)[s]]:r[Object.keys(r)[s]];let a;if(this.allowEmpty&&!i.value)a="";else{const t=Number(i.value)+this.shiftKeyChannelAdjustment;a=x(t,0,n).toString()}i.value=a,e.value=a},this.handleChannelChange=t=>{const i=t.currentTarget,e=Number(i.getAttribute("data-channel-index")),s=[...this.channels];if(this.allowEmpty&&!i.value)return this.channels=[null,null,null],void this.internalColorSet(null);s[e]=Number(i.value),this.updateColorFromChannels(s)},this.handleSavedColorKeyDown=t=>{y(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldAndSliderPointerLeave=()=>{this.colorFieldAndSliderInteractive=!1,this.colorFieldAndSliderHovered=!1,"drag"!==this.sliderThumbState&&"drag"!==this.hueThumbState&&(this.hueThumbState="idle",this.sliderThumbState="idle",this.drawColorFieldAndSlider())},this.handleColorFieldAndSliderPointerDown=t=>{var i,e;if(!p(t))return;const{offsetX:s,offsetY:n}=t,a=this.getCanvasRegion(n);"color-field"===a?(this.hueThumbState="drag",this.captureColorFieldColor(s,n),null===(i=this.colorFieldScopeNode)||void 0===i||i.focus()):"slider"===a&&(this.sliderThumbState="drag",this.captureHueSliderColor(s),null===(e=this.hueScopeNode)||void 0===e||e.focus()),t.preventDefault(),document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeColorFieldAndSliderRect=this.fieldAndSliderRenderingContext.canvas.getBoundingClientRect()},this.globalPointerUpHandler=t=>{if(!p(t))return;const i="drag"===this.sliderThumbState||"drag"===this.hueThumbState;this.hueThumbState="idle",this.sliderThumbState="idle",this.activeColorFieldAndSliderRect=null,this.drawColorFieldAndSlider(),i&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{el:i,dimensions:e}=this,s="drag"===this.hueThumbState;if(!i.isConnected||"drag"!==this.sliderThumbState&&!s)return;let n,a;const o=this.activeColorFieldAndSliderRect,{clientX:l,clientY:r}=t;if(this.colorFieldAndSliderHovered)n=l-o.x,a=r-o.y;else{const t=e.colorField.width,i=e.colorField.height,s=e.slider.height;n=l<o.x+t&&l>o.x?l-o.x:l<o.x?0:t-1,a=r<o.y+i+s&&r>o.y?r-o.y:r<o.y?0:i+s}s?this.captureColorFieldColor(n,a,!1):this.captureHueSliderColor(n)},this.handleColorFieldAndSliderPointerEnterOrMove=({offsetX:t,offsetY:i})=>{const{dimensions:{colorField:e,slider:s,thumb:n}}=this;this.colorFieldAndSliderInteractive=i<=e.height+s.height,this.colorFieldAndSliderHovered=!0;const a=this.getCanvasRegion(i);if("color-field"===a){const s=this.hueThumbState,a=this.baseColorFieldColor.hsv(),o=Math.round(a.saturationv()/(r.s/e.width)),l=Math.round(e.height-a.value()/(r.v/e.height)),h=this.containsPoint(t,i,o,l,n.radius);let c=!1;"idle"===s&&h?(this.hueThumbState="hover",c=!0):"hover"!==s||h||(this.hueThumbState="idle",c=!0),"drag"!==this.hueThumbState&&c&&this.drawColorFieldAndSlider()}else if("slider"===a){const a=this.baseColorFieldColor.hsv().saturationv(100).value(100),o=this.sliderThumbState,l=Math.round(a.hue()/(360/s.width)),r=Math.round((s.height+this.getSliderCapSpacing())/2)+e.height,h=this.containsPoint(t,i,l,r,n.radius);let c=!1;"idle"===o&&h?(this.sliderThumbState="hover",c=!0):"hover"!==o||h||(this.sliderThumbState="idle",c=!0),"drag"!==this.sliderThumbState&&c&&this.drawColorFieldAndSlider()}},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:i,intlRgb:s,intlHsv:n}=this;return e("calcite-tab-title",{active:t===i,class:h.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate},"rgb"===t?s:n)},this.renderChannelsTab=t=>{const{channelMode:i,channels:s,intlB:n,intlBlue:a,intlG:o,intlGreen:l,intlH:r,intlHue:c,intlR:d,intlRed:p,intlS:m,intlSaturation:f,intlV:g,intlValue:b}=this,v=t===i,x="rgb"===t,w=x?[d,o,n]:[r,m,g],y=x?[p,l,a]:[c,f,b],k=u(this.el);return e("calcite-tab",{active:v,class:h.control,key:t},e("div",{class:h.channels,dir:"ltr"},s.map(((t,i)=>this.renderChannel(t,i,w[i],y[i],k)))))},this.renderChannel=(t,i,s,n,a)=>e("calcite-input",{class:h.channel,"data-channel-index":i,dir:a,label:n,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputChange:this.handleChannelChange,onCalciteInputInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,prefixText:s,scale:"l"===this.scale?"m":"s",type:"number",value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=this.color.hex();if(!(this.savedColors.indexOf(t)>-1))return;const i=this.savedColors.filter((i=>i!==t));this.savedColors=i,this.storageId&&localStorage.setItem(`${c}${this.storageId}`,JSON.stringify(i))},this.saveColor=()=>{const t=this.color.hex();if(this.savedColors.indexOf(t)>-1)return;const i=[...this.savedColors,t];this.savedColors=i,this.storageId&&localStorage.setItem(`${c}${this.storageId}`,JSON.stringify(i))},this.drawColorFieldAndSlider=(m=()=>{this.fieldAndSliderRenderingContext&&(this.drawColorField(),this.drawHueSlider())},v=!0,w=!0,C(b)&&(v="leading"in b?!!b.leading:v,w="trailing"in b?!!b.trailing:w),k(m,16,{leading:v,maxWait:16,trailing:w})),this.captureColorFieldColor=(t,i,e=!0)=>{const{dimensions:{colorField:{height:s,width:n}}}=this,a=Math.round(r.s/n*t),o=Math.round(r.v/s*(s-i));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(a).value(o),e)},this.initColorFieldAndSlider=t=>{this.fieldAndSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize(t)}}handleColorChange(t,i){this.drawColorFieldAndSlider(),this.updateChannelsFromColor(t),this.previousColor=i}handleFormatChange(t){this.setMode(t),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){var i;this.updateDimensions(t),this.updateCanvasSize(null===(i=this.fieldAndSliderRenderingContext)||void 0===i?void 0:i.canvas)}handleValueChange(t,i){const{allowEmpty:e,format:s}=this;let a=!1;if(!e||t){const e=b(t);if(!e||"auto"!==s&&e!==s)return this.showIncompatibleColorWarning(t,s),void(this.value=i);a=this.mode!==e,this.setMode(e)}const o="drag"===this.sliderThumbState||"drag"===this.hueThumbState;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(o||this.calciteColorPickerChange.emit());const l=e&&!t?null:n(t),r=!v(l,this.color);(a||r)&&this.internalColorSet(l,!0,"internal")}get baseColorFieldColor(){return this.color||this.previousColor||a}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:i}=t;if("ArrowUp"!==i&&"ArrowDown"!==i||!t.composedPath().some((t=>{var i;return null===(i=t.classList)||void 0===i?void 0:i.contains(h.channel)})))return;const{shiftKey:e}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===i&&e?9:"ArrowDown"===i&&e?-9:0}async setFocus(){return m(this.colorFieldScopeNode)}componentWillLoad(){const{allowEmpty:t,color:i,format:e,value:s}=this,a=t&&!s,o=b(s),l=a||"auto"===e&&o||e===o,r=a?null:l?n(s):i;l||this.showIncompatibleColorWarning(s,e),this.setMode(e),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${c}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h)))}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler)}componentDidRender(){w(this)}render(){const{allowEmpty:t,color:i,intlDeleteColor:s,hideHex:n,hideChannels:o,hideSaved:l,intlHex:c,intlSaved:d,intlSaveColor:p,savedColors:u,scale:m}=this,f=i?i.hex():null,g="l"===m?"m":"s",{colorFieldAndSliderInteractive:b,colorFieldScopeTop:v,colorFieldScopeLeft:x,hueScopeLeft:w,hueScopeTop:y,scopeOrientation:k,dimensions:{colorField:{height:C,width:S},slider:{height:D}}}=this,F=null!=y?y:D/2+C,A=null!=w?w:S*a.hue()/r.h,z=null===i,j="vertical"===k;return e("div",{class:h.container},e("div",{class:h.colorFieldAndSliderWrap},e("canvas",{class:{[h.colorFieldAndSlider]:!0,[h.colorFieldAndSliderInteractive]:b},onPointerDown:this.handleColorFieldAndSliderPointerDown,onPointerEnter:this.handleColorFieldAndSliderPointerEnterOrMove,onPointerLeave:this.handleColorFieldAndSliderPointerLeave,onPointerMove:this.handleColorFieldAndSliderPointerEnterOrMove,ref:this.initColorFieldAndSlider}),e("div",{"aria-label":j?this.intlValue:this.intlSaturation,"aria-valuemax":j?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(j?null==i?void 0:i.saturationv():null==i?void 0:i.value())||"0",class:{[h.scope]:!0,[h.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,ref:this.storeColorFieldScope,role:"slider",style:{top:`${v||0}px`,left:`${x||0}px`},tabindex:"0"}),e("div",{"aria-label":this.intlHue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==i?void 0:i.round().hue())||a.round().hue(),class:{[h.scope]:!0,[h.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,ref:this.storeHueScope,role:"slider",style:{top:`${F}px`,left:`${A}px`},tabindex:"0"})),n&&o?null:e("div",{class:{[h.controlSection]:!0,[h.section]:!0}},n?null:e("div",{class:h.hexOptions},e("span",{class:{[h.header]:!0,[h.headerHex]:!0}},c),e("calcite-color-picker-hex-input",{allowEmpty:t,class:h.control,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:g,value:f})),o?null:e("calcite-tabs",{class:{[h.colorModeContainer]:!0,[h.splitSection]:!0},scale:g},e("calcite-tab-nav",{slot:"tab-nav"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv"))),l?null:e("div",{class:{[h.savedColorsSection]:!0,[h.section]:!0}},e("div",{class:h.header},e("label",null,d),e("div",{class:h.savedColorsButtons},e("calcite-button",{appearance:"transparent",class:h.deleteColor,color:"neutral",disabled:z,iconStart:"minus",label:s,onClick:this.deleteColor,scale:g,type:"button"}),e("calcite-button",{appearance:"transparent",class:h.saveColor,color:"neutral",disabled:z,iconStart:"plus",label:p,onClick:this.saveColor,scale:g,type:"button"}))),u.length>0?e("div",{class:h.savedColors},[...u.map((t=>e("calcite-color-picker-swatch",{active:f===t,class:h.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:m,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,i){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${i})`)}setMode(t){this.mode="auto"===t?this.mode:t}captureHueSliderColor(t){const{dimensions:{slider:{width:i}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(360/i*t),!1)}getCanvasRegion(t){const{dimensions:{colorField:{height:i},slider:{height:e}}}=this;return t<=i?"color-field":t<=i+e?"slider":"none"}internalColorSet(t,i=!0,e="user-interaction"){i&&v(t,this.color)||(this.internalColorUpdateContext=e,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,i=this.mode){if(!t)return null;if(i.includes("hex"))return f(t.round().hex());if(i.includes("-css"))return t[i.replace("-css","").replace("a","")]().round().string();const e=t[i]().round().object();return i.endsWith("a")&&(e.a=e.alpha,delete e.alpha),e}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:i}}}=this;return 2*i-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.fieldAndSliderRenderingContext,{dimensions:{colorField:{height:i,width:e}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).string(),t.fillRect(0,0,e,i);const s=t.createLinearGradient(0,0,e,0);s.addColorStop(0,"rgba(255,255,255,1)"),s.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=s,t.fillRect(0,0,e,i);const n=t.createLinearGradient(0,0,0,i);n.addColorStop(0,"rgba(0,0,0,0)"),n.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=n,t.fillRect(0,0,e,i),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:i,width:e}){const s=window.devicePixelRatio||1;t.width=e*s,t.height=i*s,t.style.height=`${i}px`,t.style.width=`${e}px`,t.getContext("2d").scale(s,s)}updateCanvasSize(t){t&&(this.setCanvasContextSize(t,{width:this.dimensions.colorField.width,height:this.dimensions.colorField.height+this.dimensions.slider.height+2*this.getSliderCapSpacing()}),this.drawColorFieldAndSlider())}containsPoint(t,i,e,s,n){return Math.pow(t-e,2)+Math.pow(i-s,2)<=Math.pow(n,2)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const i=t.hsv(),{dimensions:{colorField:{height:e,width:s},thumb:{radius:n}}}=this,a=i.saturationv()/(r.s/s),o=e-i.value()/(r.v/e);requestAnimationFrame((()=>{this.colorFieldScopeLeft=a,this.colorFieldScopeTop=o})),this.drawThumb(this.fieldAndSliderRenderingContext,n,a,o,i,this.hueThumbState)}drawThumb(t,i,e,s,n,a){const o=2*Math.PI;t.beginPath(),t.arc(e,s,i,0,o),t.shadowBlur="hover"===a?32:16,t.shadowColor=`rgba(0, 0, 0, ${"drag"===a?.32:.16})`,t.fillStyle="#fff",t.fill(),t.beginPath(),t.arc(e,s,i-3,0,o),t.shadowBlur=0,t.shadowColor="transparent",t.fillStyle=n.rgb().string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const i=t.hsv().saturationv(100).value(100),{dimensions:{colorField:{height:e},slider:{height:s,width:n},thumb:{radius:a}}}=this,o=i.hue()/(360/n),l=s/2+e;requestAnimationFrame((()=>{this.hueScopeLeft=o,this.hueScopeTop=l})),this.drawThumb(this.fieldAndSliderRenderingContext,a,o,l,i,this.sliderThumbState)}drawHueSlider(){const t=this.fieldAndSliderRenderingContext,{dimensions:{colorField:{height:i},slider:{height:e,width:s}}}=this,a=t.createLinearGradient(0,0,s,0),o=["red","yellow","lime","cyan","blue","magenta","red"],l=1/(o.length-1);let r=0;o.forEach((t=>{a.addColorStop(r,n(t).string()),r+=l})),t.fillStyle=a,t.clearRect(0,i,s,e+2*this.getSliderCapSpacing()),t.fillRect(0,i,s,e),this.drawActiveHueSliderColor()}updateColorFromChannels(t){this.internalColorSet(n(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null]}toChannels(t){const{channelMode:i}=this;return t[i]().array().map((t=>Math.floor(t)))}get el(){return s(this)}static get watchers(){return{color:["handleColorChange"],format:["handleFormatChange"],scale:["handleScaleChange"],value:["handleValueChange"]}}};D.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{flex-direction:column}:host([scale=s]) .channel{inline-size:100%;-webkit-margin-after:4px;margin-block-end:4px}:host([scale=s]) .channel:last-child{-webkit-margin-after:0;margin-block-end:0}:host([scale=m]) .container{inline-size:272px}:host([scale=l]) .header{-webkit-padding-after:0px;padding-block-end:0px}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .color-field-and-slider{-webkit-margin-after:-20px;margin-block-end:-20px}:host([scale=l]) .section{padding-block:0 16px;padding-inline:16px}:host([scale=l]) .section:first-of-type{-webkit-padding-before:16px;padding-block-start:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;-webkit-padding-before:16px;padding-block-start:16px}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around;min-block-size:98px;inline-size:160px}:host([scale=l]) .color-mode-container{flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{pointer-events:none;position:absolute;font-size:var(--calcite-font-size--1);outline-color:transparent;outline-offset:14px}.scope:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:16px}.color-field-and-slider{-webkit-margin-after:-16px;margin-block-end:-16px;touch-action:none}.color-field-and-slider--interactive{cursor:pointer}.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 12px;padding-inline:12px}.section:first-of-type{-webkit-padding-before:12px;padding-block-start:12px}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;-webkit-padding-after:0.25rem;padding-block-end:0.25rem;color:var(--calcite-ui-text-1)}.header--hex,.color-mode-container{-webkit-padding-before:12px;padding-block-start:12px}.channels{display:flex;justify-content:space-between}.channel{inline-size:31%}.saved-colors{-webkit-padding-before:12px;padding-block-start:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;inline-size:100%}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";export{D as calcite_color_picker}
|