@esri/solutions-components 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-73df0d51.js +0 -2
- package/dist/cjs/Heading-6b7b374c.js +0 -2
- package/dist/cjs/_commonjsHelpers-6aafa5de.js +0 -2
- package/dist/cjs/app-globals-2f48e57e.js +0 -2
- package/dist/cjs/array-ace6d4b5.js +0 -2
- package/dist/cjs/buffer-tools_6.cjs.entry.js +0 -2
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block.cjs.entry.js +0 -2
- package/dist/cjs/calcite-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-card.cjs.entry.js +0 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
- package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
- package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-number.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-text.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-label.cjs.entry.js +0 -2
- package/dist/cjs/calcite-link.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tree_3.cjs.entry.js +0 -2
- package/dist/cjs/check-list.cjs.entry.js +0 -2
- package/dist/cjs/conditionalSlot-2defe83d.js +0 -2
- package/dist/cjs/config-buffer-tools.cjs.entry.js +0 -2
- package/dist/cjs/config-draw-tools.cjs.entry.js +0 -2
- package/dist/cjs/config-layer-picker.cjs.entry.js +0 -2
- package/dist/cjs/config-pdf-download.cjs.entry.js +0 -2
- package/dist/cjs/date-e21b2052.js +0 -2
- package/dist/cjs/debounce-69c3bada.js +0 -2
- package/dist/cjs/dom-4a580af6.js +0 -2
- package/dist/cjs/filter-325f654f.js +0 -2
- package/dist/cjs/floating-ui-ca1bcead.js +0 -2
- package/dist/cjs/form-45849654.js +0 -2
- package/dist/cjs/guid-84ac4d91.js +0 -2
- package/dist/cjs/index-7af21b6f.js +0 -2
- package/dist/cjs/index-a86078a0.js +0 -2
- package/dist/cjs/index-d7f9770d.js +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/interactive-0a68ab99.js +0 -2
- package/dist/cjs/interfaces-ab603e16.js +0 -2
- package/dist/cjs/interfaces-e76f31e9.js +0 -2
- package/dist/cjs/key-55aca5c0.js +0 -2
- package/dist/cjs/label-24fcd8a5.js +0 -2
- package/dist/cjs/labelFormats-3236d2e0.js +0 -2
- package/dist/cjs/loadModules-38269f99.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -2
- package/dist/cjs/locale-73cab8e8.js +0 -2
- package/dist/cjs/locale-746a095d.js +0 -2
- package/dist/cjs/map-search.cjs.entry.js +0 -2
- package/dist/cjs/mapViewUtils-67cfc412.js +0 -2
- package/dist/cjs/math-460fffaf.js +0 -2
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +0 -2
- package/dist/cjs/observers-5311faf8.js +0 -2
- package/dist/cjs/openCloseComponent-bf986132.js +0 -2
- package/dist/cjs/public-notification.cjs.entry.js +0 -2
- package/dist/cjs/publicNotificationStore-6a3d40b3.js +0 -2
- package/dist/cjs/publicNotificationUtils-9d585d8d.js +0 -2
- package/dist/cjs/resources-1f785471.js +0 -2
- package/dist/cjs/resources-2260d186.js +0 -2
- package/dist/cjs/resources-2a9862c7.js +0 -2
- package/dist/cjs/resources-308edbd8.js +0 -2
- package/dist/cjs/resources-6152b073.js +0 -2
- package/dist/cjs/resources-808cfca8.js +0 -2
- package/dist/cjs/resources-9c55e05c.js +0 -2
- package/dist/cjs/resources-aa19bf8c.js +0 -2
- package/dist/cjs/resources-b56bce71.js +0 -2
- package/dist/cjs/resources-cc7f63b0.js +0 -2
- package/dist/cjs/shared-list-render-4c7d84bf.js +0 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -9
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -5
- package/dist/cjs/{solution-store-893499a5.js → solution-store-e2fc11ac.js} +0 -4
- package/dist/cjs/solutions-components.cjs.js +0 -2
- package/dist/cjs/sortable.esm-bf47019d.js +0 -2
- package/dist/cjs/store-manager.cjs.entry.js +0 -2
- package/dist/cjs/time-3f5577cb.js +0 -2
- package/dist/cjs/utils-120bbbeb.js +0 -2
- package/dist/cjs/utils-b4236001.js +0 -2
- package/dist/collection/components/buffer-tools/buffer-tools.js +0 -1
- package/dist/collection/components/check-list/check-list.js +0 -1
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +0 -1
- package/dist/collection/components/config-draw-tools/config-draw-tools.js +0 -1
- package/dist/collection/components/config-layer-picker/config-layer-picker.js +0 -1
- package/dist/collection/components/config-pdf-download/config-pdf-download.js +0 -1
- package/dist/collection/components/json-editor/json-editor.js +0 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +0 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +0 -1
- package/dist/collection/components/map-search/map-search.js +0 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +0 -1
- package/dist/collection/components/pdf-download/pdf-download.js +0 -1
- package/dist/collection/components/public-notification/public-notification.js +0 -1
- package/dist/collection/components/refine-selection/refine-selection.js +0 -1
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +0 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +0 -7
- package/dist/collection/components/solution-contents/solution-contents.js +0 -1
- package/dist/collection/components/solution-item/solution-item.js +0 -3
- package/dist/collection/components/solution-item-details/solution-item-details.js +0 -14
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +0 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +0 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +0 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +0 -1
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +0 -1
- package/dist/collection/components/solution-variables/solution-variables.js +0 -1
- package/dist/collection/components/store-manager/store-manager.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/common.js +0 -1
- package/dist/collection/utils/csvUtils.js +0 -1
- package/dist/collection/utils/interfaces.js +0 -1
- package/dist/collection/utils/languageUtil.js +0 -1
- package/dist/collection/utils/loadModules.js +0 -1
- package/dist/collection/utils/locale.js +0 -1
- package/dist/collection/utils/mapViewUtils.js +0 -1
- package/dist/collection/utils/publicNotificationStore.js +0 -1
- package/dist/collection/utils/publicNotificationUtils.js +0 -1
- package/dist/collection/utils/queryUtils.js +0 -1
- package/dist/collection/utils/solution-store.js +0 -3
- package/dist/collection/utils/solution-store.ts +0 -2
- package/dist/collection/utils/templates.js +0 -1
- package/dist/collection/utils/test/testUtils.js +0 -1
- package/dist/collection/utils/types.js +0 -1
- package/dist/esm/ExpandToggle-b7d1fb3c.js +0 -2
- package/dist/esm/Heading-1efb4837.js +0 -2
- package/dist/esm/_commonjsHelpers-8fd39c50.js +0 -2
- package/dist/esm/app-globals-09b9efee.js +0 -2
- package/dist/esm/array-2ab3b18f.js +0 -2
- package/dist/esm/buffer-tools_6.entry.js +0 -2
- package/dist/esm/calcite-accordion-item.entry.js +0 -2
- package/dist/esm/calcite-accordion.entry.js +0 -2
- package/dist/esm/calcite-action-bar_6.entry.js +0 -2
- package/dist/esm/calcite-action-group.entry.js +0 -2
- package/dist/esm/calcite-action-menu_2.entry.js +0 -2
- package/dist/esm/calcite-action-pad.entry.js +0 -2
- package/dist/esm/calcite-action_2.entry.js +0 -2
- package/dist/esm/calcite-alert.entry.js +0 -2
- package/dist/esm/calcite-avatar.entry.js +0 -2
- package/dist/esm/calcite-block-section.entry.js +0 -2
- package/dist/esm/calcite-block.entry.js +0 -2
- package/dist/esm/calcite-button.entry.js +0 -2
- package/dist/esm/calcite-card.entry.js +0 -2
- package/dist/esm/calcite-checkbox.entry.js +0 -2
- package/dist/esm/calcite-chip.entry.js +0 -2
- package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -2
- package/dist/esm/calcite-color-picker-swatch.entry.js +0 -2
- package/dist/esm/calcite-color-picker.entry.js +0 -2
- package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
- package/dist/esm/calcite-combobox_3.entry.js +0 -2
- package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
- package/dist/esm/calcite-date-picker.entry.js +0 -2
- package/dist/esm/calcite-dropdown-group.entry.js +0 -2
- package/dist/esm/calcite-dropdown-item.entry.js +0 -2
- package/dist/esm/calcite-dropdown.entry.js +0 -2
- package/dist/esm/calcite-fab.entry.js +0 -2
- package/dist/esm/calcite-filter.entry.js +0 -2
- package/dist/esm/calcite-flow-item.entry.js +0 -2
- package/dist/esm/calcite-flow.entry.js +0 -2
- package/dist/esm/calcite-graph.entry.js +0 -2
- package/dist/esm/calcite-handle.entry.js +0 -2
- package/dist/esm/calcite-icon.entry.js +0 -2
- package/dist/esm/calcite-inline-editable.entry.js +0 -2
- package/dist/esm/calcite-input-date-picker.entry.js +0 -2
- package/dist/esm/calcite-input-number.entry.js +0 -2
- package/dist/esm/calcite-input-text.entry.js +0 -2
- package/dist/esm/calcite-input-time-picker.entry.js +0 -2
- package/dist/esm/calcite-input_2.entry.js +0 -2
- package/dist/esm/calcite-label.entry.js +0 -2
- package/dist/esm/calcite-link.entry.js +0 -2
- package/dist/esm/calcite-list-item-group.entry.js +0 -2
- package/dist/esm/calcite-list_2.entry.js +0 -2
- package/dist/esm/calcite-modal.entry.js +0 -2
- package/dist/esm/calcite-option-group.entry.js +0 -2
- package/dist/esm/calcite-option_2.entry.js +0 -2
- package/dist/esm/calcite-pagination.entry.js +0 -2
- package/dist/esm/calcite-panel_2.entry.js +0 -2
- package/dist/esm/calcite-pick-list-group.entry.js +0 -2
- package/dist/esm/calcite-pick-list-item.entry.js +0 -2
- package/dist/esm/calcite-pick-list.entry.js +0 -2
- package/dist/esm/calcite-popover-manager.entry.js +0 -2
- package/dist/esm/calcite-radio-button-group.entry.js +0 -2
- package/dist/esm/calcite-radio-button.entry.js +0 -2
- package/dist/esm/calcite-rating.entry.js +0 -2
- package/dist/esm/calcite-scrim.entry.js +0 -2
- package/dist/esm/calcite-shell-center-row.entry.js +0 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +1 -13
- package/dist/esm/calcite-sortable-list.entry.js +0 -2
- package/dist/esm/calcite-split-button.entry.js +0 -2
- package/dist/esm/calcite-stepper-item.entry.js +0 -2
- package/dist/esm/calcite-stepper.entry.js +0 -2
- package/dist/esm/calcite-switch.entry.js +0 -2
- package/dist/esm/calcite-tile-select-group.entry.js +0 -2
- package/dist/esm/calcite-tile-select.entry.js +0 -2
- package/dist/esm/calcite-tile.entry.js +0 -2
- package/dist/esm/calcite-time-picker.entry.js +0 -2
- package/dist/esm/calcite-tip-group.entry.js +0 -2
- package/dist/esm/calcite-tip-manager.entry.js +0 -2
- package/dist/esm/calcite-tip.entry.js +0 -2
- package/dist/esm/calcite-tooltip-manager.entry.js +0 -2
- package/dist/esm/calcite-tooltip.entry.js +0 -2
- package/dist/esm/calcite-tree_3.entry.js +0 -2
- package/dist/esm/check-list.entry.js +0 -2
- package/dist/esm/conditionalSlot-bb4cab11.js +0 -2
- package/dist/esm/config-buffer-tools.entry.js +0 -2
- package/dist/esm/config-draw-tools.entry.js +0 -2
- package/dist/esm/config-layer-picker.entry.js +0 -2
- package/dist/esm/config-pdf-download.entry.js +0 -2
- package/dist/esm/date-45de0016.js +0 -2
- package/dist/esm/debounce-4c884e5c.js +0 -2
- package/dist/esm/dom-e593bf85.js +0 -2
- package/dist/esm/filter-82935f2d.js +0 -2
- package/dist/esm/floating-ui-69a55a27.js +0 -2
- package/dist/esm/form-dbfde8ce.js +0 -2
- package/dist/esm/guid-15fce7c0.js +0 -2
- package/dist/esm/index-15022d11.js +0 -2
- package/dist/esm/index-9c882a6e.js +0 -2
- package/dist/esm/index-d33ebc35.js +0 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/interactive-822ffed6.js +0 -2
- package/dist/esm/interfaces-4ae145eb.js +0 -2
- package/dist/esm/interfaces-e2a2064d.js +0 -2
- package/dist/esm/key-acb660e7.js +0 -2
- package/dist/esm/label-d411de44.js +0 -2
- package/dist/esm/labelFormats-b37958c3.js +0 -2
- package/dist/esm/loadModules-d3b50f95.js +0 -2
- package/dist/esm/loader.js +0 -2
- package/dist/esm/locale-0b490b02.js +0 -2
- package/dist/esm/locale-0e10d7e5.js +0 -2
- package/dist/esm/map-search.entry.js +0 -2
- package/dist/esm/mapViewUtils-09f1e7bd.js +0 -2
- package/dist/esm/math-552c5420.js +0 -2
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js +0 -2
- package/dist/esm/observers-31601001.js +0 -2
- package/dist/esm/openCloseComponent-5caff873.js +0 -2
- package/dist/esm/public-notification.entry.js +0 -2
- package/dist/esm/publicNotificationStore-060c59c8.js +0 -2
- package/dist/esm/publicNotificationUtils-5cb5a607.js +0 -2
- package/dist/esm/resources-2235e4ff.js +0 -2
- package/dist/esm/resources-3d641588.js +0 -2
- package/dist/esm/resources-436ae282.js +0 -2
- package/dist/esm/resources-4d02cb48.js +0 -2
- package/dist/esm/resources-78132e50.js +0 -2
- package/dist/esm/resources-7d4a587f.js +0 -2
- package/dist/esm/resources-971845d1.js +0 -2
- package/dist/esm/resources-9eb63965.js +0 -2
- package/dist/esm/resources-d60362c3.js +0 -2
- package/dist/esm/resources-e3a5cf27.js +0 -2
- package/dist/esm/shared-list-render-4e9d47a3.js +0 -2
- package/dist/esm/solution-configuration.entry.js +1 -9
- package/dist/esm/solution-contents_3.entry.js +1 -5
- package/dist/esm/{solution-store-0c58c852.js → solution-store-b3c65467.js} +0 -4
- package/dist/esm/solutions-components.js +0 -2
- package/dist/esm/sortable.esm-3b2eaa5c.js +0 -2
- package/dist/esm/store-manager.entry.js +0 -2
- package/dist/esm/time-f014778c.js +0 -2
- package/dist/esm/utils-3f4ee4c3.js +0 -2
- package/dist/esm/utils-583554bc.js +0 -2
- package/dist/solutions-components/index.esm.js +0 -2
- package/dist/solutions-components/p-006c6ae1.entry.js +11 -0
- package/dist/solutions-components/p-04a37fc0.entry.js +6 -0
- package/dist/solutions-components/p-062dbde8.entry.js +6 -0
- package/dist/solutions-components/p-0b941521.entry.js +11 -0
- package/dist/solutions-components/p-0c80eb51.entry.js +11 -0
- package/dist/solutions-components/p-10501e21.entry.js +23 -0
- package/dist/solutions-components/p-109e4684.entry.js +6 -0
- package/dist/solutions-components/p-12dfd43e.entry.js +11 -0
- package/dist/solutions-components/p-13b37f05.js +3 -308
- package/dist/solutions-components/p-1c3bcd99.entry.js +12 -0
- package/dist/solutions-components/p-1c589630.entry.js +6 -0
- package/dist/solutions-components/p-1e15b1a3.js +2 -183
- package/dist/solutions-components/p-1fb471cf.entry.js +11 -0
- package/dist/solutions-components/p-20bdf42f.js +14 -407
- package/dist/solutions-components/p-23275dbd.entry.js +6 -0
- package/dist/solutions-components/p-236d76e7.entry.js +11 -0
- package/dist/solutions-components/p-23904a3d.js +3 -401
- package/dist/solutions-components/p-29246858.entry.js +11 -0
- package/dist/solutions-components/p-2ac06389.js +16 -25
- package/dist/solutions-components/p-2af67c67.entry.js +6 -0
- package/dist/solutions-components/p-2bee764f.entry.js +11 -0
- package/dist/solutions-components/p-2e9ed892.js +1 -48
- package/dist/solutions-components/p-2f6b4f04.entry.js +6 -0
- package/dist/solutions-components/p-305ae3fe.entry.js +11 -0
- package/dist/solutions-components/p-32a67cb2.js +2 -207
- package/dist/solutions-components/p-343e325d.entry.js +11 -0
- package/dist/solutions-components/p-3485601e.entry.js +6 -0
- package/dist/solutions-components/p-374a5031.js +2 -107
- package/dist/solutions-components/p-395e9b6c.entry.js +6 -0
- package/dist/solutions-components/p-39c5f2d2.entry.js +6 -0
- package/dist/solutions-components/p-3b010ce1.js +1 -19
- package/dist/solutions-components/p-3c4f2257.entry.js +11 -0
- package/dist/solutions-components/p-3c8ec7a3.entry.js +12 -0
- package/dist/solutions-components/p-3f6b0af4.js +2 -221
- package/dist/solutions-components/p-4130fbcd.entry.js +11 -0
- package/dist/solutions-components/p-421cbb15.entry.js +6 -0
- package/dist/solutions-components/p-43fa414d.entry.js +11 -0
- package/dist/solutions-components/p-4760f22a.entry.js +6 -0
- package/dist/solutions-components/p-4e32bf8c.js +1 -484
- package/dist/solutions-components/p-4fb6d2cf.entry.js +11 -0
- package/dist/solutions-components/p-54384555.entry.js +11 -0
- package/dist/solutions-components/p-5493f036.entry.js +6 -0
- package/dist/solutions-components/p-551fd063.entry.js +11 -0
- package/dist/solutions-components/p-56350bff.js +2 -173
- package/dist/solutions-components/p-58c69df2.js +2 -2024
- package/dist/solutions-components/p-5a61ef0d.entry.js +6 -0
- package/dist/solutions-components/p-5b0d7c7d.js +16 -35
- package/dist/solutions-components/p-5cf33602.js +2 -43
- package/dist/solutions-components/p-600e23c6.js +2 -1770
- package/dist/solutions-components/p-63f6e8f1.js +1 -16
- package/dist/solutions-components/p-6a3ce8f6.entry.js +6 -0
- package/dist/solutions-components/p-6b9dc092.js +16 -67
- package/dist/solutions-components/p-6be581f5.entry.js +6 -0
- package/dist/solutions-components/p-6cf432f9.entry.js +11 -0
- package/dist/solutions-components/p-6e0da576.js +1 -15
- package/dist/solutions-components/p-6fe17794.js +1 -11
- package/dist/solutions-components/p-70368b2b.entry.js +6 -0
- package/dist/solutions-components/p-708a63a8.js +1 -14
- package/dist/solutions-components/p-708ffad0.entry.js +11 -0
- package/dist/solutions-components/p-729708a3.js +1 -16
- package/dist/solutions-components/p-7321ba65.entry.js +11 -0
- package/dist/solutions-components/p-73e23995.js +1 -8
- package/dist/solutions-components/p-75b35018.entry.js +11 -0
- package/dist/solutions-components/p-764c0a90.entry.js +11 -0
- package/dist/solutions-components/p-77031b01.entry.js +11 -0
- package/dist/solutions-components/p-77182c3a.js +1 -3017
- package/dist/solutions-components/p-778a1b4a.entry.js +11 -0
- package/dist/solutions-components/p-7cdc6089.entry.js +6 -0
- package/dist/solutions-components/p-7daea1df.js +1 -43
- package/dist/solutions-components/p-81467529.entry.js +6 -0
- package/dist/solutions-components/p-834380d6.entry.js +11 -0
- package/dist/solutions-components/p-86908777.js +3 -62
- package/dist/solutions-components/p-89cc843b.entry.js +11 -0
- package/dist/solutions-components/p-8e3a2736.entry.js +11 -0
- package/dist/solutions-components/p-8e8b182f.entry.js +12 -0
- package/dist/solutions-components/p-8f052987.entry.js +11 -0
- package/dist/solutions-components/p-93790a9e.entry.js +37 -0
- package/dist/solutions-components/p-93d3119d.js +1 -1950
- package/dist/solutions-components/p-991ee695.js +1 -111
- package/dist/solutions-components/p-9a9955db.js +1 -43
- package/dist/solutions-components/p-9bbee464.entry.js +6 -0
- package/dist/solutions-components/p-9bdd4abe.entry.js +17 -0
- package/dist/solutions-components/p-a4a7d49d.entry.js +17 -0
- package/dist/solutions-components/p-a7036d68.entry.js +11 -0
- package/dist/solutions-components/p-a80b3880.js +1 -16
- package/dist/solutions-components/p-ac91cd40.entry.js +11 -0
- package/dist/solutions-components/p-acd0a09f.entry.js +11 -0
- package/dist/solutions-components/p-acd3b2bf.entry.js +11 -0
- package/dist/solutions-components/p-ae1fd76b.js +1 -13
- package/dist/solutions-components/p-aea937fb.entry.js +12 -0
- package/dist/solutions-components/p-b1b36556.entry.js +11 -0
- package/dist/solutions-components/p-b25f6ebe.js +257 -0
- package/dist/solutions-components/p-b2ae8634.entry.js +6 -0
- package/dist/solutions-components/p-b359dc78.js +1 -43
- package/dist/solutions-components/p-b978636e.js +1 -16
- package/dist/solutions-components/p-ba104266.entry.js +11 -0
- package/dist/solutions-components/p-bfcab358.entry.js +11 -0
- package/dist/solutions-components/p-c848d1bd.entry.js +29 -0
- package/dist/solutions-components/p-c9766584.entry.js +6 -0
- package/dist/solutions-components/p-cbd9fecf.js +2 -500
- package/dist/solutions-components/p-d2cc1b94.entry.js +12 -0
- package/dist/solutions-components/p-d48a24e6.js +2 -756
- package/dist/solutions-components/p-d51a72d2.entry.js +11 -0
- package/dist/solutions-components/p-d88fe54b.entry.js +18 -0
- package/dist/solutions-components/p-daee23cc.entry.js +11 -0
- package/dist/solutions-components/p-db7d14d5.entry.js +12 -0
- package/dist/solutions-components/p-dbad98e8.js +2 -124
- package/dist/solutions-components/p-dc724c1d.entry.js +11 -0
- package/dist/solutions-components/p-dc7bc20f.entry.js +11 -0
- package/dist/solutions-components/p-de242ea9.entry.js +6 -0
- package/dist/solutions-components/p-de5416e8.js +1 -30
- package/dist/solutions-components/p-e4ebb82a.entry.js +11 -0
- package/dist/solutions-components/p-e611d8c8.js +1 -30
- package/dist/solutions-components/p-e64c5c11.entry.js +6 -0
- package/dist/solutions-components/p-e6a695a5.js +2 -103
- package/dist/solutions-components/p-e947d3b0.js +1 -7
- package/dist/solutions-components/p-e99b1247.js +1 -207
- package/dist/solutions-components/p-e9e47eab.entry.js +6 -0
- package/dist/solutions-components/p-eb3be6d4.entry.js +6 -0
- package/dist/solutions-components/p-eb976965.js +3 -35
- package/dist/solutions-components/p-ed27c151.entry.js +6 -0
- package/dist/solutions-components/p-eeb0321d.js +2 -15
- package/dist/solutions-components/p-ef170bb1.entry.js +6 -0
- package/dist/solutions-components/p-f044863f.entry.js +16 -0
- package/dist/solutions-components/p-f0bae2f0.entry.js +37 -0
- package/dist/solutions-components/p-f48821a2.js +7 -60
- package/dist/solutions-components/p-f5a3b34f.entry.js +23 -0
- package/dist/solutions-components/p-f759a6e7.js +1 -196
- package/dist/solutions-components/p-fa2575c2.entry.js +6 -0
- package/dist/solutions-components/p-fc884dd6.js +16 -30
- package/dist/solutions-components/p-fe0fdd8b.js +31 -279
- package/dist/solutions-components/solutions-components.css +1 -10531
- package/dist/solutions-components/solutions-components.esm.js +1 -22
- package/dist/solutions-components/utils/solution-store.ts +0 -2
- package/dist/solutions-components_commit.txt +7 -9
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/ExpandToggle-73df0d51.js.map +0 -1
- package/dist/cjs/Heading-6b7b374c.js.map +0 -1
- package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +0 -1
- package/dist/cjs/app-globals-2f48e57e.js.map +0 -1
- package/dist/cjs/array-ace6d4b5.js.map +0 -1
- package/dist/cjs/buffer-tools_6.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-panel_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tree_3.cjs.entry.js.map +0 -1
- package/dist/cjs/check-list.cjs.entry.js.map +0 -1
- package/dist/cjs/conditionalSlot-2defe83d.js.map +0 -1
- package/dist/cjs/config-buffer-tools.cjs.entry.js.map +0 -1
- package/dist/cjs/config-draw-tools.cjs.entry.js.map +0 -1
- package/dist/cjs/config-layer-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/config-pdf-download.cjs.entry.js.map +0 -1
- package/dist/cjs/date-e21b2052.js.map +0 -1
- package/dist/cjs/debounce-69c3bada.js.map +0 -1
- package/dist/cjs/dom-4a580af6.js.map +0 -1
- package/dist/cjs/filter-325f654f.js.map +0 -1
- package/dist/cjs/floating-ui-ca1bcead.js.map +0 -1
- package/dist/cjs/form-45849654.js.map +0 -1
- package/dist/cjs/guid-84ac4d91.js.map +0 -1
- package/dist/cjs/index-7af21b6f.js.map +0 -1
- package/dist/cjs/index-a86078a0.js.map +0 -1
- package/dist/cjs/index-d7f9770d.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/interactive-0a68ab99.js.map +0 -1
- package/dist/cjs/interfaces-ab603e16.js.map +0 -1
- package/dist/cjs/interfaces-e76f31e9.js.map +0 -1
- package/dist/cjs/key-55aca5c0.js.map +0 -1
- package/dist/cjs/label-24fcd8a5.js.map +0 -1
- package/dist/cjs/labelFormats-3236d2e0.js.map +0 -1
- package/dist/cjs/loadModules-38269f99.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/locale-73cab8e8.js.map +0 -1
- package/dist/cjs/locale-746a095d.js.map +0 -1
- package/dist/cjs/map-search.cjs.entry.js.map +0 -1
- package/dist/cjs/mapViewUtils-67cfc412.js.map +0 -1
- package/dist/cjs/math-460fffaf.js.map +0 -1
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +0 -1
- package/dist/cjs/observers-5311faf8.js.map +0 -1
- package/dist/cjs/openCloseComponent-bf986132.js.map +0 -1
- package/dist/cjs/public-notification.cjs.entry.js.map +0 -1
- package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +0 -1
- package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +0 -1
- package/dist/cjs/resources-1f785471.js.map +0 -1
- package/dist/cjs/resources-2260d186.js.map +0 -1
- package/dist/cjs/resources-2a9862c7.js.map +0 -1
- package/dist/cjs/resources-308edbd8.js.map +0 -1
- package/dist/cjs/resources-6152b073.js.map +0 -1
- package/dist/cjs/resources-808cfca8.js.map +0 -1
- package/dist/cjs/resources-9c55e05c.js.map +0 -1
- package/dist/cjs/resources-aa19bf8c.js.map +0 -1
- package/dist/cjs/resources-b56bce71.js.map +0 -1
- package/dist/cjs/resources-cc7f63b0.js.map +0 -1
- package/dist/cjs/shared-list-render-4c7d84bf.js.map +0 -1
- package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
- package/dist/cjs/solution-store-893499a5.js.map +0 -1
- package/dist/cjs/solutions-components.cjs.js.map +0 -1
- package/dist/cjs/sortable.esm-bf47019d.js.map +0 -1
- package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/time-3f5577cb.js.map +0 -1
- package/dist/cjs/utils-120bbbeb.js.map +0 -1
- package/dist/cjs/utils-b4236001.js.map +0 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js.map +0 -1
- package/dist/collection/components/check-list/check-list.js.map +0 -1
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +0 -1
- package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +0 -1
- package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +0 -1
- package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +0 -1
- package/dist/collection/components/json-editor/json-editor.js.map +0 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +0 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +0 -1
- package/dist/collection/components/map-search/map-search.js.map +0 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js.map +0 -1
- package/dist/collection/components/pdf-download/pdf-download.js.map +0 -1
- package/dist/collection/components/public-notification/public-notification.js.map +0 -1
- package/dist/collection/components/refine-selection/refine-selection.js.map +0 -1
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +0 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
- package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
- package/dist/collection/components/solution-item/solution-item.js.map +0 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
- package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
- package/dist/collection/components/store-manager/store-manager.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/common.js.map +0 -1
- package/dist/collection/utils/csvUtils.js.map +0 -1
- package/dist/collection/utils/interfaces.js.map +0 -1
- package/dist/collection/utils/languageUtil.js.map +0 -1
- package/dist/collection/utils/loadModules.js.map +0 -1
- package/dist/collection/utils/locale.js.map +0 -1
- package/dist/collection/utils/mapViewUtils.js.map +0 -1
- package/dist/collection/utils/publicNotificationStore.js.map +0 -1
- package/dist/collection/utils/publicNotificationUtils.js.map +0 -1
- package/dist/collection/utils/queryUtils.js.map +0 -1
- package/dist/collection/utils/solution-store.js.map +0 -1
- package/dist/collection/utils/templates.js.map +0 -1
- package/dist/collection/utils/test/testUtils.js.map +0 -1
- package/dist/collection/utils/types.js.map +0 -1
- package/dist/esm/ExpandToggle-b7d1fb3c.js.map +0 -1
- package/dist/esm/Heading-1efb4837.js.map +0 -1
- package/dist/esm/_commonjsHelpers-8fd39c50.js.map +0 -1
- package/dist/esm/app-globals-09b9efee.js.map +0 -1
- package/dist/esm/array-2ab3b18f.js.map +0 -1
- package/dist/esm/buffer-tools_6.entry.js.map +0 -1
- package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
- package/dist/esm/calcite-accordion.entry.js.map +0 -1
- package/dist/esm/calcite-action-bar_6.entry.js.map +0 -1
- package/dist/esm/calcite-action-group.entry.js.map +0 -1
- package/dist/esm/calcite-action-menu_2.entry.js.map +0 -1
- package/dist/esm/calcite-action-pad.entry.js.map +0 -1
- package/dist/esm/calcite-action_2.entry.js.map +0 -1
- package/dist/esm/calcite-alert.entry.js.map +0 -1
- package/dist/esm/calcite-avatar.entry.js.map +0 -1
- package/dist/esm/calcite-block-section.entry.js.map +0 -1
- package/dist/esm/calcite-block.entry.js.map +0 -1
- package/dist/esm/calcite-button.entry.js.map +0 -1
- package/dist/esm/calcite-card.entry.js.map +0 -1
- package/dist/esm/calcite-checkbox.entry.js.map +0 -1
- package/dist/esm/calcite-chip.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker.entry.js.map +0 -1
- package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-combobox_3.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown.entry.js.map +0 -1
- package/dist/esm/calcite-fab.entry.js.map +0 -1
- package/dist/esm/calcite-filter.entry.js.map +0 -1
- package/dist/esm/calcite-flow-item.entry.js.map +0 -1
- package/dist/esm/calcite-flow.entry.js.map +0 -1
- package/dist/esm/calcite-graph.entry.js.map +0 -1
- package/dist/esm/calcite-handle.entry.js.map +0 -1
- package/dist/esm/calcite-icon.entry.js.map +0 -1
- package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
- package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input-number.entry.js.map +0 -1
- package/dist/esm/calcite-input-text.entry.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input_2.entry.js.map +0 -1
- package/dist/esm/calcite-label.entry.js.map +0 -1
- package/dist/esm/calcite-link.entry.js.map +0 -1
- package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-list_2.entry.js.map +0 -1
- package/dist/esm/calcite-modal.entry.js.map +0 -1
- package/dist/esm/calcite-option-group.entry.js.map +0 -1
- package/dist/esm/calcite-option_2.entry.js.map +0 -1
- package/dist/esm/calcite-pagination.entry.js.map +0 -1
- package/dist/esm/calcite-panel_2.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list.entry.js.map +0 -1
- package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button.entry.js.map +0 -1
- package/dist/esm/calcite-rating.entry.js.map +0 -1
- package/dist/esm/calcite-scrim.entry.js.map +0 -1
- package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
- package/dist/esm/calcite-shell-panel_14.entry.js.map +0 -1
- package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
- package/dist/esm/calcite-split-button.entry.js.map +0 -1
- package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
- package/dist/esm/calcite-stepper.entry.js.map +0 -1
- package/dist/esm/calcite-switch.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select.entry.js.map +0 -1
- package/dist/esm/calcite-tile.entry.js.map +0 -1
- package/dist/esm/calcite-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-tip-group.entry.js.map +0 -1
- package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
- package/dist/esm/calcite-tip.entry.js.map +0 -1
- package/dist/esm/calcite-tooltip-manager.entry.js.map +0 -1
- package/dist/esm/calcite-tooltip.entry.js.map +0 -1
- package/dist/esm/calcite-tree_3.entry.js.map +0 -1
- package/dist/esm/check-list.entry.js.map +0 -1
- package/dist/esm/conditionalSlot-bb4cab11.js.map +0 -1
- package/dist/esm/config-buffer-tools.entry.js.map +0 -1
- package/dist/esm/config-draw-tools.entry.js.map +0 -1
- package/dist/esm/config-layer-picker.entry.js.map +0 -1
- package/dist/esm/config-pdf-download.entry.js.map +0 -1
- package/dist/esm/date-45de0016.js.map +0 -1
- package/dist/esm/debounce-4c884e5c.js.map +0 -1
- package/dist/esm/dom-e593bf85.js.map +0 -1
- package/dist/esm/filter-82935f2d.js.map +0 -1
- package/dist/esm/floating-ui-69a55a27.js.map +0 -1
- package/dist/esm/form-dbfde8ce.js.map +0 -1
- package/dist/esm/guid-15fce7c0.js.map +0 -1
- package/dist/esm/index-15022d11.js.map +0 -1
- package/dist/esm/index-9c882a6e.js.map +0 -1
- package/dist/esm/index-d33ebc35.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/interactive-822ffed6.js.map +0 -1
- package/dist/esm/interfaces-4ae145eb.js.map +0 -1
- package/dist/esm/interfaces-e2a2064d.js.map +0 -1
- package/dist/esm/key-acb660e7.js.map +0 -1
- package/dist/esm/label-d411de44.js.map +0 -1
- package/dist/esm/labelFormats-b37958c3.js.map +0 -1
- package/dist/esm/loadModules-d3b50f95.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/locale-0b490b02.js.map +0 -1
- package/dist/esm/locale-0e10d7e5.js.map +0 -1
- package/dist/esm/map-search.entry.js.map +0 -1
- package/dist/esm/mapViewUtils-09f1e7bd.js.map +0 -1
- package/dist/esm/math-552c5420.js.map +0 -1
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +0 -1
- package/dist/esm/observers-31601001.js.map +0 -1
- package/dist/esm/openCloseComponent-5caff873.js.map +0 -1
- package/dist/esm/public-notification.entry.js.map +0 -1
- package/dist/esm/publicNotificationStore-060c59c8.js.map +0 -1
- package/dist/esm/publicNotificationUtils-5cb5a607.js.map +0 -1
- package/dist/esm/resources-2235e4ff.js.map +0 -1
- package/dist/esm/resources-3d641588.js.map +0 -1
- package/dist/esm/resources-436ae282.js.map +0 -1
- package/dist/esm/resources-4d02cb48.js.map +0 -1
- package/dist/esm/resources-78132e50.js.map +0 -1
- package/dist/esm/resources-7d4a587f.js.map +0 -1
- package/dist/esm/resources-971845d1.js.map +0 -1
- package/dist/esm/resources-9eb63965.js.map +0 -1
- package/dist/esm/resources-d60362c3.js.map +0 -1
- package/dist/esm/resources-e3a5cf27.js.map +0 -1
- package/dist/esm/shared-list-render-4e9d47a3.js.map +0 -1
- package/dist/esm/solution-configuration.entry.js.map +0 -1
- package/dist/esm/solution-contents_3.entry.js.map +0 -1
- package/dist/esm/solution-store-0c58c852.js.map +0 -1
- package/dist/esm/solutions-components.js.map +0 -1
- package/dist/esm/sortable.esm-3b2eaa5c.js.map +0 -1
- package/dist/esm/store-manager.entry.js.map +0 -1
- package/dist/esm/time-f014778c.js.map +0 -1
- package/dist/esm/utils-3f4ee4c3.js.map +0 -1
- package/dist/esm/utils-583554bc.js.map +0 -1
- package/dist/solutions-components/index.esm.js.map +0 -1
- package/dist/solutions-components/p-06dab43c.entry.js +0 -140
- package/dist/solutions-components/p-06dab43c.entry.js.map +0 -1
- package/dist/solutions-components/p-0bbe4865.entry.js +0 -620
- package/dist/solutions-components/p-0bbe4865.entry.js.map +0 -1
- package/dist/solutions-components/p-0fda7d9e.entry.js +0 -434
- package/dist/solutions-components/p-0fda7d9e.entry.js.map +0 -1
- package/dist/solutions-components/p-0fddf8a4.entry.js +0 -349
- package/dist/solutions-components/p-0fddf8a4.entry.js.map +0 -1
- package/dist/solutions-components/p-11bc6805.entry.js +0 -87
- package/dist/solutions-components/p-11bc6805.entry.js.map +0 -1
- package/dist/solutions-components/p-13b37f05.js.map +0 -1
- package/dist/solutions-components/p-1dfb5fae.entry.js +0 -713
- package/dist/solutions-components/p-1dfb5fae.entry.js.map +0 -1
- package/dist/solutions-components/p-1e15b1a3.js.map +0 -1
- package/dist/solutions-components/p-1e5bc9c3.entry.js +0 -96
- package/dist/solutions-components/p-1e5bc9c3.entry.js.map +0 -1
- package/dist/solutions-components/p-1ed05745.entry.js +0 -214
- package/dist/solutions-components/p-1ed05745.entry.js.map +0 -1
- package/dist/solutions-components/p-20bdf42f.js.map +0 -1
- package/dist/solutions-components/p-22574d83.entry.js +0 -74
- package/dist/solutions-components/p-22574d83.entry.js.map +0 -1
- package/dist/solutions-components/p-23904a3d.js.map +0 -1
- package/dist/solutions-components/p-24d75151.entry.js +0 -107
- package/dist/solutions-components/p-24d75151.entry.js.map +0 -1
- package/dist/solutions-components/p-26484399.entry.js +0 -108
- package/dist/solutions-components/p-26484399.entry.js.map +0 -1
- package/dist/solutions-components/p-291fd295.entry.js +0 -1250
- package/dist/solutions-components/p-291fd295.entry.js.map +0 -1
- package/dist/solutions-components/p-29bdbd3e.entry.js +0 -280
- package/dist/solutions-components/p-29bdbd3e.entry.js.map +0 -1
- package/dist/solutions-components/p-2ac06389.js.map +0 -1
- package/dist/solutions-components/p-2bce7fa2.entry.js +0 -45
- package/dist/solutions-components/p-2bce7fa2.entry.js.map +0 -1
- package/dist/solutions-components/p-2e9ed892.js.map +0 -1
- package/dist/solutions-components/p-2f12ff1b.entry.js +0 -202
- package/dist/solutions-components/p-2f12ff1b.entry.js.map +0 -1
- package/dist/solutions-components/p-2ff754ce.entry.js +0 -257
- package/dist/solutions-components/p-2ff754ce.entry.js.map +0 -1
- package/dist/solutions-components/p-30a6199a.entry.js +0 -445
- package/dist/solutions-components/p-30a6199a.entry.js.map +0 -1
- package/dist/solutions-components/p-32a67cb2.js.map +0 -1
- package/dist/solutions-components/p-341ff921.entry.js +0 -449
- package/dist/solutions-components/p-341ff921.entry.js.map +0 -1
- package/dist/solutions-components/p-36ce64e4.entry.js +0 -215
- package/dist/solutions-components/p-36ce64e4.entry.js.map +0 -1
- package/dist/solutions-components/p-374a5031.js.map +0 -1
- package/dist/solutions-components/p-3b010ce1.js.map +0 -1
- package/dist/solutions-components/p-3f6b0af4.js.map +0 -1
- package/dist/solutions-components/p-400e1427.entry.js +0 -236
- package/dist/solutions-components/p-400e1427.entry.js.map +0 -1
- package/dist/solutions-components/p-40d7cf01.entry.js +0 -228
- package/dist/solutions-components/p-40d7cf01.entry.js.map +0 -1
- package/dist/solutions-components/p-45556aff.entry.js +0 -215
- package/dist/solutions-components/p-45556aff.entry.js.map +0 -1
- package/dist/solutions-components/p-49aaa793.entry.js +0 -95
- package/dist/solutions-components/p-49aaa793.entry.js.map +0 -1
- package/dist/solutions-components/p-4e32bf8c.js.map +0 -1
- package/dist/solutions-components/p-4e89b243.entry.js +0 -479
- package/dist/solutions-components/p-4e89b243.entry.js.map +0 -1
- package/dist/solutions-components/p-515637fb.entry.js +0 -183
- package/dist/solutions-components/p-515637fb.entry.js.map +0 -1
- package/dist/solutions-components/p-5243a654.entry.js +0 -147
- package/dist/solutions-components/p-5243a654.entry.js.map +0 -1
- package/dist/solutions-components/p-55673790.entry.js +0 -82
- package/dist/solutions-components/p-55673790.entry.js.map +0 -1
- package/dist/solutions-components/p-56350bff.js.map +0 -1
- package/dist/solutions-components/p-58b374c0.entry.js +0 -347
- package/dist/solutions-components/p-58b374c0.entry.js.map +0 -1
- package/dist/solutions-components/p-58c69df2.js.map +0 -1
- package/dist/solutions-components/p-59fd6684.entry.js +0 -22
- package/dist/solutions-components/p-59fd6684.entry.js.map +0 -1
- package/dist/solutions-components/p-5b0d7c7d.js.map +0 -1
- package/dist/solutions-components/p-5cf33602.js.map +0 -1
- package/dist/solutions-components/p-600e23c6.js.map +0 -1
- package/dist/solutions-components/p-61398a7b.entry.js +0 -74
- package/dist/solutions-components/p-61398a7b.entry.js.map +0 -1
- package/dist/solutions-components/p-63a05701.entry.js +0 -45
- package/dist/solutions-components/p-63a05701.entry.js.map +0 -1
- package/dist/solutions-components/p-63f6e8f1.js.map +0 -1
- package/dist/solutions-components/p-64a2040e.entry.js +0 -63
- package/dist/solutions-components/p-64a2040e.entry.js.map +0 -1
- package/dist/solutions-components/p-64c63eb2.entry.js +0 -157
- package/dist/solutions-components/p-64c63eb2.entry.js.map +0 -1
- package/dist/solutions-components/p-659edb14.js +0 -4096
- package/dist/solutions-components/p-659edb14.js.map +0 -1
- package/dist/solutions-components/p-6940e2fd.entry.js +0 -100
- package/dist/solutions-components/p-6940e2fd.entry.js.map +0 -1
- package/dist/solutions-components/p-69900b68.entry.js +0 -152
- package/dist/solutions-components/p-69900b68.entry.js.map +0 -1
- package/dist/solutions-components/p-699125b6.entry.js +0 -44
- package/dist/solutions-components/p-699125b6.entry.js.map +0 -1
- package/dist/solutions-components/p-6b9dc092.js.map +0 -1
- package/dist/solutions-components/p-6d0899c8.entry.js +0 -118
- package/dist/solutions-components/p-6d0899c8.entry.js.map +0 -1
- package/dist/solutions-components/p-6e0da576.js.map +0 -1
- package/dist/solutions-components/p-6fe17794.js.map +0 -1
- package/dist/solutions-components/p-708a63a8.js.map +0 -1
- package/dist/solutions-components/p-729708a3.js.map +0 -1
- package/dist/solutions-components/p-73e23995.js.map +0 -1
- package/dist/solutions-components/p-75f54a34.entry.js +0 -883
- package/dist/solutions-components/p-75f54a34.entry.js.map +0 -1
- package/dist/solutions-components/p-77182c3a.js.map +0 -1
- package/dist/solutions-components/p-77c75f3a.entry.js +0 -21534
- package/dist/solutions-components/p-77c75f3a.entry.js.map +0 -1
- package/dist/solutions-components/p-77e6b03c.entry.js +0 -1872
- package/dist/solutions-components/p-77e6b03c.entry.js.map +0 -1
- package/dist/solutions-components/p-794ba85d.entry.js +0 -175
- package/dist/solutions-components/p-794ba85d.entry.js.map +0 -1
- package/dist/solutions-components/p-79cde78e.entry.js +0 -203
- package/dist/solutions-components/p-79cde78e.entry.js.map +0 -1
- package/dist/solutions-components/p-7a2c75a4.entry.js +0 -230
- package/dist/solutions-components/p-7a2c75a4.entry.js.map +0 -1
- package/dist/solutions-components/p-7daea1df.js.map +0 -1
- package/dist/solutions-components/p-7de77097.entry.js +0 -162
- package/dist/solutions-components/p-7de77097.entry.js.map +0 -1
- package/dist/solutions-components/p-7f2b74a9.entry.js +0 -56
- package/dist/solutions-components/p-7f2b74a9.entry.js.map +0 -1
- package/dist/solutions-components/p-81e606c0.entry.js +0 -915
- package/dist/solutions-components/p-81e606c0.entry.js.map +0 -1
- package/dist/solutions-components/p-86908777.js.map +0 -1
- package/dist/solutions-components/p-87a0ccb4.entry.js +0 -254
- package/dist/solutions-components/p-87a0ccb4.entry.js.map +0 -1
- package/dist/solutions-components/p-90629c1d.entry.js +0 -1986
- package/dist/solutions-components/p-90629c1d.entry.js.map +0 -1
- package/dist/solutions-components/p-9393631c.entry.js +0 -542
- package/dist/solutions-components/p-9393631c.entry.js.map +0 -1
- package/dist/solutions-components/p-93d3119d.js.map +0 -1
- package/dist/solutions-components/p-958e2979.entry.js +0 -111
- package/dist/solutions-components/p-958e2979.entry.js.map +0 -1
- package/dist/solutions-components/p-95ddb529.entry.js +0 -181
- package/dist/solutions-components/p-95ddb529.entry.js.map +0 -1
- package/dist/solutions-components/p-97c4a268.entry.js +0 -725
- package/dist/solutions-components/p-97c4a268.entry.js.map +0 -1
- package/dist/solutions-components/p-984cb687.entry.js +0 -2632
- package/dist/solutions-components/p-984cb687.entry.js.map +0 -1
- package/dist/solutions-components/p-991ee695.js.map +0 -1
- package/dist/solutions-components/p-99d9b624.entry.js +0 -177
- package/dist/solutions-components/p-99d9b624.entry.js.map +0 -1
- package/dist/solutions-components/p-9a9955db.js.map +0 -1
- package/dist/solutions-components/p-9d925d5b.entry.js +0 -233
- package/dist/solutions-components/p-9d925d5b.entry.js.map +0 -1
- package/dist/solutions-components/p-9dc0210f.entry.js +0 -125
- package/dist/solutions-components/p-9dc0210f.entry.js.map +0 -1
- package/dist/solutions-components/p-9fec2884.entry.js +0 -216
- package/dist/solutions-components/p-9fec2884.entry.js.map +0 -1
- package/dist/solutions-components/p-a2ada355.entry.js +0 -135
- package/dist/solutions-components/p-a2ada355.entry.js.map +0 -1
- package/dist/solutions-components/p-a57adb27.entry.js +0 -154
- package/dist/solutions-components/p-a57adb27.entry.js.map +0 -1
- package/dist/solutions-components/p-a80b3880.js.map +0 -1
- package/dist/solutions-components/p-a88dd457.entry.js +0 -123
- package/dist/solutions-components/p-a88dd457.entry.js.map +0 -1
- package/dist/solutions-components/p-ac6efd19.entry.js +0 -57
- package/dist/solutions-components/p-ac6efd19.entry.js.map +0 -1
- package/dist/solutions-components/p-ae1fd76b.js.map +0 -1
- package/dist/solutions-components/p-afffa81a.entry.js +0 -140
- package/dist/solutions-components/p-afffa81a.entry.js.map +0 -1
- package/dist/solutions-components/p-b0f3ed4d.entry.js +0 -376
- package/dist/solutions-components/p-b0f3ed4d.entry.js.map +0 -1
- package/dist/solutions-components/p-b359dc78.js.map +0 -1
- package/dist/solutions-components/p-b66cba3e.entry.js +0 -97
- package/dist/solutions-components/p-b66cba3e.entry.js.map +0 -1
- package/dist/solutions-components/p-b6c2f470.entry.js +0 -574
- package/dist/solutions-components/p-b6c2f470.entry.js.map +0 -1
- package/dist/solutions-components/p-b978636e.js.map +0 -1
- package/dist/solutions-components/p-bd19837e.entry.js +0 -96
- package/dist/solutions-components/p-bd19837e.entry.js.map +0 -1
- package/dist/solutions-components/p-be1ed982.entry.js +0 -1121
- package/dist/solutions-components/p-be1ed982.entry.js.map +0 -1
- package/dist/solutions-components/p-be8cc144.entry.js +0 -567
- package/dist/solutions-components/p-be8cc144.entry.js.map +0 -1
- package/dist/solutions-components/p-bfd20deb.entry.js +0 -80
- package/dist/solutions-components/p-bfd20deb.entry.js.map +0 -1
- package/dist/solutions-components/p-c2c8442d.entry.js +0 -140
- package/dist/solutions-components/p-c2c8442d.entry.js.map +0 -1
- package/dist/solutions-components/p-c3f93cec.entry.js +0 -158
- package/dist/solutions-components/p-c3f93cec.entry.js.map +0 -1
- package/dist/solutions-components/p-c9870dc4.entry.js +0 -38
- package/dist/solutions-components/p-c9870dc4.entry.js.map +0 -1
- package/dist/solutions-components/p-cbd9fecf.js.map +0 -1
- package/dist/solutions-components/p-cfb300c6.entry.js +0 -250
- package/dist/solutions-components/p-cfb300c6.entry.js.map +0 -1
- package/dist/solutions-components/p-d48a24e6.js.map +0 -1
- package/dist/solutions-components/p-dbad98e8.js.map +0 -1
- package/dist/solutions-components/p-dd79118e.entry.js +0 -708
- package/dist/solutions-components/p-dd79118e.entry.js.map +0 -1
- package/dist/solutions-components/p-de5416e8.js.map +0 -1
- package/dist/solutions-components/p-de881187.entry.js +0 -87
- package/dist/solutions-components/p-de881187.entry.js.map +0 -1
- package/dist/solutions-components/p-e1905f7b.entry.js +0 -120
- package/dist/solutions-components/p-e1905f7b.entry.js.map +0 -1
- package/dist/solutions-components/p-e515767a.entry.js +0 -116
- package/dist/solutions-components/p-e515767a.entry.js.map +0 -1
- package/dist/solutions-components/p-e611d8c8.js.map +0 -1
- package/dist/solutions-components/p-e6a695a5.js.map +0 -1
- package/dist/solutions-components/p-e947d3b0.js.map +0 -1
- package/dist/solutions-components/p-e99b1247.js.map +0 -1
- package/dist/solutions-components/p-eb5b78c3.entry.js +0 -125
- package/dist/solutions-components/p-eb5b78c3.entry.js.map +0 -1
- package/dist/solutions-components/p-eb976965.js.map +0 -1
- package/dist/solutions-components/p-ed075c2f.entry.js +0 -186
- package/dist/solutions-components/p-ed075c2f.entry.js.map +0 -1
- package/dist/solutions-components/p-eeb0321d.js.map +0 -1
- package/dist/solutions-components/p-f0294899.entry.js +0 -84
- package/dist/solutions-components/p-f0294899.entry.js.map +0 -1
- package/dist/solutions-components/p-f477f146.entry.js +0 -310
- package/dist/solutions-components/p-f477f146.entry.js.map +0 -1
- package/dist/solutions-components/p-f48821a2.js.map +0 -1
- package/dist/solutions-components/p-f496ed0c.entry.js +0 -150
- package/dist/solutions-components/p-f496ed0c.entry.js.map +0 -1
- package/dist/solutions-components/p-f5268b4f.entry.js +0 -60
- package/dist/solutions-components/p-f5268b4f.entry.js.map +0 -1
- package/dist/solutions-components/p-f759a6e7.js.map +0 -1
- package/dist/solutions-components/p-fc884dd6.js.map +0 -1
- package/dist/solutions-components/p-fe0fdd8b.js.map +0 -1
- package/dist/solutions-components/solutions-components.esm.js.map +0 -1
@@ -1,154 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, h, g as getElement } from './p-58c69df2.js';
|
7
|
-
import { h as hexToRGB, i as isValidHex } from './p-991ee695.js';
|
8
|
-
import { e as getThemeName } from './p-32a67cb2.js';
|
9
|
-
import './p-729708a3.js';
|
10
|
-
import './p-a80b3880.js';
|
11
|
-
|
12
|
-
/*!
|
13
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
15
|
-
* v1.0.0-beta.97
|
16
|
-
*/
|
17
|
-
/**
|
18
|
-
* Convert a string to a valid hex by hashing its contents
|
19
|
-
* and using the hash as a seed for three distinct color values
|
20
|
-
*
|
21
|
-
* @param str
|
22
|
-
*/
|
23
|
-
function stringToHex(str) {
|
24
|
-
let hash = 0;
|
25
|
-
for (let i = 0; i < str.length; i++) {
|
26
|
-
hash = str.charCodeAt(i) + ((hash << 5) - hash);
|
27
|
-
}
|
28
|
-
let hex = "#";
|
29
|
-
for (let j = 0; j < 3; j++) {
|
30
|
-
const value = (hash >> (j * 8)) & 0xff;
|
31
|
-
hex += ("00" + value.toString(16)).substr(-2);
|
32
|
-
}
|
33
|
-
return hex;
|
34
|
-
}
|
35
|
-
/**
|
36
|
-
* Find the hue of a color given the separate RGB color channels
|
37
|
-
*
|
38
|
-
* @param rgb
|
39
|
-
*/
|
40
|
-
function rgbToHue(rgb) {
|
41
|
-
let { r, g, b } = rgb;
|
42
|
-
r /= 255;
|
43
|
-
g /= 255;
|
44
|
-
b /= 255;
|
45
|
-
const max = Math.max(r, g, b);
|
46
|
-
const min = Math.min(r, g, b);
|
47
|
-
const delta = max - min;
|
48
|
-
if (max === min) {
|
49
|
-
return 0;
|
50
|
-
}
|
51
|
-
let hue = (max + min) / 2;
|
52
|
-
switch (max) {
|
53
|
-
case r:
|
54
|
-
hue = (g - b) / delta + (g < b ? 6 : 0);
|
55
|
-
break;
|
56
|
-
case g:
|
57
|
-
hue = (b - r) / delta + 2;
|
58
|
-
break;
|
59
|
-
case b:
|
60
|
-
hue = (r - g) / delta + 4;
|
61
|
-
break;
|
62
|
-
}
|
63
|
-
return Math.round(hue * 60);
|
64
|
-
}
|
65
|
-
/**
|
66
|
-
* For a hex color, find the hue
|
67
|
-
*
|
68
|
-
* @param hex {string} - form of "#------"
|
69
|
-
*/
|
70
|
-
function hexToHue(hex) {
|
71
|
-
return rgbToHue(hexToRGB(hex));
|
72
|
-
}
|
73
|
-
|
74
|
-
const avatarCss = "@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:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-3)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}";
|
75
|
-
|
76
|
-
const Avatar = class {
|
77
|
-
constructor(hostRef) {
|
78
|
-
registerInstance(this, hostRef);
|
79
|
-
//--------------------------------------------------------------------------
|
80
|
-
//
|
81
|
-
// Properties
|
82
|
-
//
|
83
|
-
//--------------------------------------------------------------------------
|
84
|
-
/** Specifies the size of the component. */
|
85
|
-
this.scale = "m";
|
86
|
-
//--------------------------------------------------------------------------
|
87
|
-
//
|
88
|
-
// Private State/Props
|
89
|
-
//
|
90
|
-
//--------------------------------------------------------------------------
|
91
|
-
this.thumbnailFailedToLoad = false;
|
92
|
-
}
|
93
|
-
//--------------------------------------------------------------------------
|
94
|
-
//
|
95
|
-
// Lifecycle
|
96
|
-
//
|
97
|
-
//--------------------------------------------------------------------------
|
98
|
-
render() {
|
99
|
-
return this.determineContent();
|
100
|
-
}
|
101
|
-
//--------------------------------------------------------------------------
|
102
|
-
//
|
103
|
-
// Private Methods
|
104
|
-
//
|
105
|
-
//--------------------------------------------------------------------------
|
106
|
-
determineContent() {
|
107
|
-
if (this.thumbnail && !this.thumbnailFailedToLoad) {
|
108
|
-
return (h("img", { alt: "", class: "thumbnail", onError: () => (this.thumbnailFailedToLoad = true), src: this.thumbnail }));
|
109
|
-
}
|
110
|
-
const initials = this.generateInitials();
|
111
|
-
const backgroundColor = this.generateFillColor();
|
112
|
-
return (h("span", { class: "background", style: { backgroundColor } }, initials ? (h("span", { "aria-hidden": "true", class: "initials" }, initials)) : (h("calcite-icon", { class: "icon", icon: "user", scale: this.scale }))));
|
113
|
-
}
|
114
|
-
/**
|
115
|
-
* Generate a valid background color that is consistent and unique to this user
|
116
|
-
*/
|
117
|
-
generateFillColor() {
|
118
|
-
const { userId, username, fullName, el } = this;
|
119
|
-
const theme = getThemeName(el);
|
120
|
-
const id = userId && `#${userId.substr(userId.length - 6)}`;
|
121
|
-
const name = username || fullName || "";
|
122
|
-
const hex = id && isValidHex(id) ? id : stringToHex(name);
|
123
|
-
// if there is not unique information, or an invalid hex is produced, return a default
|
124
|
-
if ((!userId && !name) || !isValidHex(hex)) {
|
125
|
-
return `var(--calcite-ui-foreground-2)`;
|
126
|
-
}
|
127
|
-
const hue = hexToHue(hex);
|
128
|
-
const l = theme === "dark" ? 20 : 90;
|
129
|
-
return `hsl(${hue}, 60%, ${l}%)`;
|
130
|
-
}
|
131
|
-
/**
|
132
|
-
* Use fullname or username to generate initials
|
133
|
-
*/
|
134
|
-
generateInitials() {
|
135
|
-
const { fullName, username } = this;
|
136
|
-
if (fullName) {
|
137
|
-
return fullName
|
138
|
-
.trim()
|
139
|
-
.split(" ")
|
140
|
-
.map((name) => name.substring(0, 1))
|
141
|
-
.join("");
|
142
|
-
}
|
143
|
-
else if (username) {
|
144
|
-
return username.substring(0, 2);
|
145
|
-
}
|
146
|
-
return false;
|
147
|
-
}
|
148
|
-
get el() { return getElement(this); }
|
149
|
-
};
|
150
|
-
Avatar.style = avatarCss;
|
151
|
-
|
152
|
-
export { Avatar as calcite_avatar };
|
153
|
-
|
154
|
-
//# sourceMappingURL=p-a57adb27.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-avatar.entry.esm.js","mappings":"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","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/avatar/utils.js","./node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css?tag=calcite-avatar&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { hexToRGB } from \"../color-picker/utils\";\n/**\n * Convert a string to a valid hex by hashing its contents\n * and using the hash as a seed for three distinct color values\n *\n * @param str\n */\nexport function stringToHex(str) {\n let hash = 0;\n for (let i = 0; i < str.length; i++) {\n hash = str.charCodeAt(i) + ((hash << 5) - hash);\n }\n let hex = \"#\";\n for (let j = 0; j < 3; j++) {\n const value = (hash >> (j * 8)) & 0xff;\n hex += (\"00\" + value.toString(16)).substr(-2);\n }\n return hex;\n}\n/**\n * Find the hue of a color given the separate RGB color channels\n *\n * @param rgb\n */\nexport function rgbToHue(rgb) {\n let { r, g, b } = rgb;\n r /= 255;\n g /= 255;\n b /= 255;\n const max = Math.max(r, g, b);\n const min = Math.min(r, g, b);\n const delta = max - min;\n if (max === min) {\n return 0;\n }\n let hue = (max + min) / 2;\n switch (max) {\n case r:\n hue = (g - b) / delta + (g < b ? 6 : 0);\n break;\n case g:\n hue = (b - r) / delta + 2;\n break;\n case b:\n hue = (r - g) / delta + 4;\n break;\n }\n return Math.round(hue * 60);\n}\n/**\n * For a hex color, find the hue\n *\n * @param hex {string} - form of \"#------\"\n */\nexport function hexToHue(hex) {\n return rgbToHue(hexToRGB(hex));\n}\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: inline-block;\n overflow: hidden;\n border-radius: 50%;\n}\n\n:host([scale=s]) {\n block-size: 1.5rem;\n inline-size: 1.5rem;\n font-size: var(--calcite-font-size--3);\n}\n\n:host([scale=m]) {\n block-size: 2rem;\n inline-size: 2rem;\n font-size: var(--calcite-font-size--2);\n}\n\n:host([scale=l]) {\n block-size: 2.75rem;\n inline-size: 2.75rem;\n font-size: var(--calcite-font-size-0);\n}\n\n.icon {\n display: flex;\n}\n\n.background {\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n}\n\n.initials {\n font-weight: var(--calcite-font-weight-bold);\n text-transform: uppercase;\n color: var(--calcite-ui-text-3);\n}\n\n.thumbnail {\n block-size: 100%;\n inline-size: 100%;\n border-radius: 50%;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h } from \"@stencil/core\";\nimport { isValidHex } from \"../color-picker/utils\";\nimport { hexToHue, stringToHex } from \"./utils\";\nimport { getThemeName } from \"../../utils/dom\";\nexport class Avatar {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** Specifies the size of the component. */\n this.scale = \"m\";\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n this.thumbnailFailedToLoad = false;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n render() {\n return this.determineContent();\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n determineContent() {\n if (this.thumbnail && !this.thumbnailFailedToLoad) {\n return (h(\"img\", { alt: \"\", class: \"thumbnail\", onError: () => (this.thumbnailFailedToLoad = true), src: this.thumbnail }));\n }\n const initials = this.generateInitials();\n const backgroundColor = this.generateFillColor();\n return (h(\"span\", { class: \"background\", style: { backgroundColor } }, initials ? (h(\"span\", { \"aria-hidden\": \"true\", class: \"initials\" }, initials)) : (h(\"calcite-icon\", { class: \"icon\", icon: \"user\", scale: this.scale }))));\n }\n /**\n * Generate a valid background color that is consistent and unique to this user\n */\n generateFillColor() {\n const { userId, username, fullName, el } = this;\n const theme = getThemeName(el);\n const id = userId && `#${userId.substr(userId.length - 6)}`;\n const name = username || fullName || \"\";\n const hex = id && isValidHex(id) ? id : stringToHex(name);\n // if there is not unique information, or an invalid hex is produced, return a default\n if ((!userId && !name) || !isValidHex(hex)) {\n return `var(--calcite-ui-foreground-2)`;\n }\n const hue = hexToHue(hex);\n const l = theme === \"dark\" ? 20 : 90;\n return `hsl(${hue}, 60%, ${l}%)`;\n }\n /**\n * Use fullname or username to generate initials\n */\n generateInitials() {\n const { fullName, username } = this;\n if (fullName) {\n return fullName\n .trim()\n .split(\" \")\n .map((name) => name.substring(0, 1))\n .join(\"\");\n }\n else if (username) {\n return username.substring(0, 2);\n }\n return false;\n }\n static get is() { return \"calcite-avatar\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"avatar.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"avatar.css\"]\n };\n }\n static get properties() {\n return {\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"thumbnail\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the `src` to an image (remember to add a token if the user is private).\"\n },\n \"attribute\": \"thumbnail\",\n \"reflect\": true\n },\n \"fullName\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the full name of the user.\"\n },\n \"attribute\": \"full-name\",\n \"reflect\": true\n },\n \"username\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the username of the user.\"\n },\n \"attribute\": \"username\",\n \"reflect\": true\n },\n \"userId\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the unique id of the user.\"\n },\n \"attribute\": \"user-id\",\n \"reflect\": true\n }\n };\n }\n static get states() {\n return {\n \"thumbnailFailedToLoad\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"p-a80b3880.js","mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA,SAAS,GAAG,CAAC,MAAM,EAAE;AACrB,EAAE,OAAO,MAAM;AACf,KAAK,GAAG,CAAC,CAAC,KAAK,KAAK;AACpB,IAAI,IAAI,GAAG,GAAG,EAAE,CAAC;AACjB,IAAI,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;AACpC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,OAAO,IAAI,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAC7E,KAAK;AACL,IAAI,OAAO,GAAG,CAAC;AACf,GAAG,CAAC;AACJ,KAAK,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC;AACW,MAAC,IAAI,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/guid.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nfunction gen(counts) {\n return counts\n .map((count) => {\n let out = \"\";\n for (let i = 0; i < count; i++) {\n out += (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);\n }\n return out;\n })\n .join(\"-\");\n}\nexport const guid = () => gen([2, 1, 1, 1, 3]);\n"],"version":3}
|
@@ -1,123 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './p-58c69df2.js';
|
7
|
-
import { H as HEADING_LEVEL$1 } from './p-e611d8c8.js';
|
8
|
-
import { a as getSlotted } from './p-32a67cb2.js';
|
9
|
-
import { H as Heading, c as constrainHeadingLevel } from './p-eeb0321d.js';
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './p-5cf33602.js';
|
11
|
-
import './p-729708a3.js';
|
12
|
-
import './p-a80b3880.js';
|
13
|
-
import './p-9a9955db.js';
|
14
|
-
|
15
|
-
/*!
|
16
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
17
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
18
|
-
* v1.0.0-beta.97
|
19
|
-
*/
|
20
|
-
const CSS = {
|
21
|
-
container: "container",
|
22
|
-
header: "header",
|
23
|
-
heading: "heading",
|
24
|
-
close: "close",
|
25
|
-
imageFrame: "image-frame",
|
26
|
-
content: "content",
|
27
|
-
info: "info"
|
28
|
-
};
|
29
|
-
const ICONS = {
|
30
|
-
close: "x"
|
31
|
-
};
|
32
|
-
const SLOTS = {
|
33
|
-
thumbnail: "thumbnail"
|
34
|
-
};
|
35
|
-
const TEXT = {
|
36
|
-
close: "Close"
|
37
|
-
};
|
38
|
-
const HEADING_LEVEL = (HEADING_LEVEL$1 + 1);
|
39
|
-
|
40
|
-
const tipCss = "@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{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{-webkit-margin-after:0.5rem;margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){-webkit-margin-before:0px;margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}";
|
41
|
-
|
42
|
-
const Tip = class {
|
43
|
-
constructor(hostRef) {
|
44
|
-
registerInstance(this, hostRef);
|
45
|
-
this.calciteTipDismiss = createEvent(this, "calciteTipDismiss", 6);
|
46
|
-
// --------------------------------------------------------------------------
|
47
|
-
//
|
48
|
-
// Properties
|
49
|
-
//
|
50
|
-
// --------------------------------------------------------------------------
|
51
|
-
/**
|
52
|
-
* When `true`, the component does not display.
|
53
|
-
*/
|
54
|
-
this.dismissed = false;
|
55
|
-
/**
|
56
|
-
* When `true`, the close button is not present on the component.
|
57
|
-
*/
|
58
|
-
this.nonDismissible = false;
|
59
|
-
/**
|
60
|
-
* When `true`, the component is selected if it has a parent `calcite-tip-manager`.
|
61
|
-
*
|
62
|
-
* Only one tip can be selected within the `calcite-tip-manager` parent.
|
63
|
-
*/
|
64
|
-
this.selected = false;
|
65
|
-
// --------------------------------------------------------------------------
|
66
|
-
//
|
67
|
-
// Private Methods
|
68
|
-
//
|
69
|
-
// --------------------------------------------------------------------------
|
70
|
-
this.hideTip = () => {
|
71
|
-
this.dismissed = true;
|
72
|
-
this.calciteTipDismiss.emit();
|
73
|
-
};
|
74
|
-
}
|
75
|
-
// --------------------------------------------------------------------------
|
76
|
-
//
|
77
|
-
// Lifecycle
|
78
|
-
//
|
79
|
-
// --------------------------------------------------------------------------
|
80
|
-
connectedCallback() {
|
81
|
-
connectConditionalSlotComponent(this);
|
82
|
-
}
|
83
|
-
disconnectedCallback() {
|
84
|
-
disconnectConditionalSlotComponent(this);
|
85
|
-
}
|
86
|
-
// --------------------------------------------------------------------------
|
87
|
-
//
|
88
|
-
// Render Methods
|
89
|
-
//
|
90
|
-
// --------------------------------------------------------------------------
|
91
|
-
renderHeader() {
|
92
|
-
var _a;
|
93
|
-
const { heading, headingLevel, el } = this;
|
94
|
-
const parentLevel = (_a = el.closest("calcite-tip-manager")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
95
|
-
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
96
|
-
const level = headingLevel || relativeLevel || HEADING_LEVEL;
|
97
|
-
return heading ? (h("header", { class: CSS.header }, h(Heading, { class: CSS.heading, level: level }, heading))) : null;
|
98
|
-
}
|
99
|
-
renderDismissButton() {
|
100
|
-
const { nonDismissible, hideTip, intlClose } = this;
|
101
|
-
const text = intlClose || TEXT.close;
|
102
|
-
return !nonDismissible ? (h("calcite-action", { class: CSS.close, icon: ICONS.close, onClick: hideTip, scale: "l", text: text })) : null;
|
103
|
-
}
|
104
|
-
renderImageFrame() {
|
105
|
-
const { el } = this;
|
106
|
-
return getSlotted(el, SLOTS.thumbnail) ? (h("div", { class: CSS.imageFrame, key: "thumbnail" }, h("slot", { name: SLOTS.thumbnail }))) : null;
|
107
|
-
}
|
108
|
-
renderInfoNode() {
|
109
|
-
return (h("div", { class: CSS.info }, h("slot", null)));
|
110
|
-
}
|
111
|
-
renderContent() {
|
112
|
-
return (h("div", { class: CSS.content }, this.renderImageFrame(), this.renderInfoNode()));
|
113
|
-
}
|
114
|
-
render() {
|
115
|
-
return (h(Fragment, null, h("article", { class: CSS.container }, this.renderHeader(), this.renderContent()), this.renderDismissButton()));
|
116
|
-
}
|
117
|
-
get el() { return getElement(this); }
|
118
|
-
};
|
119
|
-
Tip.style = tipCss;
|
120
|
-
|
121
|
-
export { Tip as calcite_tip };
|
122
|
-
|
123
|
-
//# sourceMappingURL=p-a88dd457.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-tip.entry.esm.js","mappings":"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","names":["PARENT_HEADING_LEVEL"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tip/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css?tag=calcite-tip&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tip/tip.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { HEADING_LEVEL as PARENT_HEADING_LEVEL } from \"../tip-manager/resources\";\nexport const CSS = {\n container: \"container\",\n header: \"header\",\n heading: \"heading\",\n close: \"close\",\n imageFrame: \"image-frame\",\n content: \"content\",\n info: \"info\"\n};\nexport const ICONS = {\n close: \"x\"\n};\nexport const SLOTS = {\n thumbnail: \"thumbnail\"\n};\nexport const TEXT = {\n close: \"Close\"\n};\nexport const HEADING_LEVEL = (PARENT_HEADING_LEVEL + 1);\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n position: relative;\n margin: 1rem;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\n background-color: var(--calcite-ui-foreground-1);\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n}\n:host * {\n box-sizing: border-box;\n}\n\n.container {\n inline-size: 100%;\n padding: 1rem;\n}\n\n:host([dismissed]), \n:host([dismissed]) .container {\n display: none;\n}\n\n:host([selected]) .container {\n margin: 0px;\n border-style: none;\n padding: 0px;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.header {\n margin-block-end: 0.5rem;\n}\n\n.header .heading {\n padding: 0px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n color: var(--calcite-ui-text-1);\n}\n\n.container[hidden] {\n display: none;\n}\n\n.content {\n display: flex;\n}\n\n.info {\n padding-block: 0px;\n padding-inline: 1rem;\n inline-size: 70%;\n}\n.info:only-child {\n inline-size: 100%;\n padding-inline: 0px;\n}\n\n::slotted(p) {\n margin-block-start: 0px;\n}\n\n::slotted(a) {\n outline-color: transparent;\n color: var(--calcite-ui-brand);\n}\n\n::slotted(a:focus) {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n.image-frame {\n inline-size: 25%;\n}\n.image-frame img {\n max-inline-size: 100%;\n}\n\n::slotted(img) {\n max-inline-size: 100%;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Fragment } from \"@stencil/core\";\nimport { CSS, ICONS, SLOTS, TEXT, HEADING_LEVEL } from \"./resources\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { Heading, constrainHeadingLevel } from \"../functional/Heading\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding text and a hyperlink.\n * @slot thumbnail - A slot for adding an HTML image element.\n */\nexport class Tip {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, the component does not display.\n */\n this.dismissed = false;\n /**\n * When `true`, the close button is not present on the component.\n */\n this.nonDismissible = false;\n /**\n * When `true`, the component is selected if it has a parent `calcite-tip-manager`.\n *\n * Only one tip can be selected within the `calcite-tip-manager` parent.\n */\n this.selected = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.hideTip = () => {\n this.dismissed = true;\n this.calciteTipDismiss.emit();\n };\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderHeader() {\n var _a;\n const { heading, headingLevel, el } = this;\n const parentLevel = (_a = el.closest(\"calcite-tip-manager\")) === null || _a === void 0 ? void 0 : _a.headingLevel;\n const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;\n const level = headingLevel || relativeLevel || HEADING_LEVEL;\n return heading ? (h(\"header\", { class: CSS.header }, h(Heading, { class: CSS.heading, level: level }, heading))) : null;\n }\n renderDismissButton() {\n const { nonDismissible, hideTip, intlClose } = this;\n const text = intlClose || TEXT.close;\n return !nonDismissible ? (h(\"calcite-action\", { class: CSS.close, icon: ICONS.close, onClick: hideTip, scale: \"l\", text: text })) : null;\n }\n renderImageFrame() {\n const { el } = this;\n return getSlotted(el, SLOTS.thumbnail) ? (h(\"div\", { class: CSS.imageFrame, key: \"thumbnail\" }, h(\"slot\", { name: SLOTS.thumbnail }))) : null;\n }\n renderInfoNode() {\n return (h(\"div\", { class: CSS.info }, h(\"slot\", null)));\n }\n renderContent() {\n return (h(\"div\", { class: CSS.content }, this.renderImageFrame(), this.renderInfoNode()));\n }\n render() {\n return (h(Fragment, null, h(\"article\", { class: CSS.container }, this.renderHeader(), this.renderContent()), this.renderDismissButton()));\n }\n static get is() { return \"calcite-tip\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tip.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tip.css\"]\n };\n }\n static get properties() {\n return {\n \"dismissed\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component does not display.\"\n },\n \"attribute\": \"dismissed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"nonDismissible\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the close button is not present on the component.\"\n },\n \"attribute\": \"non-dismissible\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component header text.\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, the component is selected if it has a parent `calcite-tip-manager`.\\n\\nOnly one tip can be selected within the `calcite-tip-manager` parent.\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteTipDismiss\",\n \"name\": \"calciteTipDismiss\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emits when the component has been dismissed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
|
@@ -1,57 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, h, F as Fragment, g as getElement } from './p-58c69df2.js';
|
7
|
-
import { S as SLOTS, C as CSS, H as HEADING_LEVEL } from './p-ae1fd76b.js';
|
8
|
-
import { a as getSlotted } from './p-32a67cb2.js';
|
9
|
-
import { H as Heading, c as constrainHeadingLevel } from './p-eeb0321d.js';
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './p-5cf33602.js';
|
11
|
-
import './p-729708a3.js';
|
12
|
-
import './p-a80b3880.js';
|
13
|
-
import './p-9a9955db.js';
|
14
|
-
|
15
|
-
const pickListGroupCss = "@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{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host(:last-child){-webkit-margin-after:0px;margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-3)}.container--indented{-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}";
|
16
|
-
|
17
|
-
const PickListGroup = class {
|
18
|
-
constructor(hostRef) {
|
19
|
-
registerInstance(this, hostRef);
|
20
|
-
}
|
21
|
-
// --------------------------------------------------------------------------
|
22
|
-
//
|
23
|
-
// Lifecycle
|
24
|
-
//
|
25
|
-
// --------------------------------------------------------------------------
|
26
|
-
connectedCallback() {
|
27
|
-
connectConditionalSlotComponent(this);
|
28
|
-
}
|
29
|
-
disconnectedCallback() {
|
30
|
-
disconnectConditionalSlotComponent(this);
|
31
|
-
}
|
32
|
-
// --------------------------------------------------------------------------
|
33
|
-
//
|
34
|
-
// Render Methods
|
35
|
-
//
|
36
|
-
// --------------------------------------------------------------------------
|
37
|
-
render() {
|
38
|
-
var _a;
|
39
|
-
const { el, groupTitle, headingLevel } = this;
|
40
|
-
const hasParentItem = getSlotted(el, SLOTS.parentItem) !== null;
|
41
|
-
const sectionClasses = {
|
42
|
-
[CSS.container]: true,
|
43
|
-
[CSS.indented]: hasParentItem
|
44
|
-
};
|
45
|
-
const title = groupTitle;
|
46
|
-
const parentLevel = (_a = el.closest("calcite-pick-list")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
47
|
-
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
48
|
-
const level = headingLevel || relativeLevel || HEADING_LEVEL;
|
49
|
-
return (h(Fragment, null, title ? (h(Heading, { class: CSS.heading, level: level }, title)) : null, h("slot", { name: SLOTS.parentItem }), h("section", { class: sectionClasses }, h("slot", null))));
|
50
|
-
}
|
51
|
-
get el() { return getElement(this); }
|
52
|
-
};
|
53
|
-
PickListGroup.style = pickListGroupCss;
|
54
|
-
|
55
|
-
export { PickListGroup as calcite_pick_list_group };
|
56
|
-
|
57
|
-
//# sourceMappingURL=p-ac6efd19.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-pick-list-group.entry.esm.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,mkEAAmkE;;MCc/kE,aAAa;;;;;;;;;EAMxB,iBAAiB;IACf,+BAA+B,CAAC,IAAI,CAAC,CAAC;GACvC;EACD,oBAAoB;IAClB,kCAAkC,CAAC,IAAI,CAAC,CAAC;GAC1C;;;;;;EAMD,MAAM;IACJ,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAC9C,MAAM,aAAa,GAAG,UAAU,CAAC,EAAE,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IAChE,MAAM,cAAc,GAAG;MACrB,CAAC,GAAG,CAAC,SAAS,GAAG,IAAI;MACrB,CAAC,GAAG,CAAC,QAAQ,GAAG,aAAa;KAC9B,CAAC;IACF,MAAM,KAAK,GAAG,UAAU,CAAC;IACzB,MAAM,WAAW,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC;IAChH,MAAM,aAAa,GAAG,WAAW,GAAG,qBAAqB,CAAC,WAAW,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC;IAClF,MAAM,KAAK,GAAG,YAAY,IAAI,aAAa,IAAI,aAAa,CAAC;IAC7D,QAAQ,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE;GACvM;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css?tag=calcite-pick-list-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n margin-block-end: 0.25rem;\n box-sizing: border-box;\n display: block;\n background-color: transparent;\n font-size: var(--calcite-font-size--1);\n color: var(--calcite-ui-text-2);\n}\n:host * {\n box-sizing: border-box;\n}\n\n:host(:last-child) {\n margin-block-end: 0px;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.heading {\n margin-block: 0.5rem;\n margin-inline: 1rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n color: var(--calcite-ui-text-3);\n}\n\n.container--indented {\n margin-inline-start: 1.5rem;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Fragment } from \"@stencil/core\";\nimport { CSS, SLOTS } from \"./resources\";\nimport { HEADING_LEVEL } from \"./resources\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { Heading, constrainHeadingLevel } from \"../functional/Heading\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding `calcite-pick-list-item` elements.\n */\nexport class PickListGroup {\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n var _a;\n const { el, groupTitle, headingLevel } = this;\n const hasParentItem = getSlotted(el, SLOTS.parentItem) !== null;\n const sectionClasses = {\n [CSS.container]: true,\n [CSS.indented]: hasParentItem\n };\n const title = groupTitle;\n const parentLevel = (_a = el.closest(\"calcite-pick-list\")) === null || _a === void 0 ? void 0 : _a.headingLevel;\n const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;\n const level = headingLevel || relativeLevel || HEADING_LEVEL;\n return (h(Fragment, null, title ? (h(Heading, { class: CSS.heading, level: level }, title)) : null, h(\"slot\", { name: SLOTS.parentItem }), h(\"section\", { class: sectionClasses }, h(\"slot\", null))));\n }\n static get is() { return \"calcite-pick-list-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"pick-list-group.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"pick-list-group.css\"]\n };\n }\n static get properties() {\n return {\n \"groupTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the title for all nested `calcite-pick-list-item`s.\"\n },\n \"attribute\": \"group-title\",\n \"reflect\": true\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"p-ae1fd76b.js","mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACY,MAAC,GAAG,GAAG;AACnB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,SAAS,EAAE,WAAW;AACxB,EAAE,QAAQ,EAAE,qBAAqB;AACjC,EAAE;AACU,MAAC,KAAK,GAAG;AACrB,EAAE,UAAU,EAAE,aAAa;AAC3B,EAAE;AACU,MAAC,aAAa,GAAG;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/resources.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n heading: \"heading\",\n container: \"container\",\n indented: \"container--indented\"\n};\nexport const SLOTS = {\n parentItem: \"parent-item\"\n};\nexport const HEADING_LEVEL = 3;\n"],"version":3}
|
@@ -1,140 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './p-58c69df2.js';
|
7
|
-
import { t as toggleChildActionText, E as ExpandToggle } from './p-e6a695a5.js';
|
8
|
-
import { f as focusElement, a as getSlotted } from './p-32a67cb2.js';
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './p-5cf33602.js';
|
10
|
-
import './p-6e0da576.js';
|
11
|
-
import './p-708a63a8.js';
|
12
|
-
import './p-729708a3.js';
|
13
|
-
import './p-a80b3880.js';
|
14
|
-
import './p-9a9955db.js';
|
15
|
-
|
16
|
-
/*!
|
17
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
18
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
19
|
-
* v1.0.0-beta.97
|
20
|
-
*/
|
21
|
-
const CSS = {
|
22
|
-
actionGroupBottom: "action-group--bottom",
|
23
|
-
container: "container"
|
24
|
-
};
|
25
|
-
const TEXT = {
|
26
|
-
expand: "Expand",
|
27
|
-
collapse: "Collapse"
|
28
|
-
};
|
29
|
-
const SLOTS = {
|
30
|
-
expandTooltip: "expand-tooltip"
|
31
|
-
};
|
32
|
-
|
33
|
-
const actionPadCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--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)}.action-group--bottom{flex-grow:1;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";
|
34
|
-
|
35
|
-
const ActionPad = class {
|
36
|
-
constructor(hostRef) {
|
37
|
-
registerInstance(this, hostRef);
|
38
|
-
this.calciteActionPadToggle = createEvent(this, "calciteActionPadToggle", 6);
|
39
|
-
// --------------------------------------------------------------------------
|
40
|
-
//
|
41
|
-
// Properties
|
42
|
-
//
|
43
|
-
// --------------------------------------------------------------------------
|
44
|
-
/**
|
45
|
-
* When `true`, the expand-toggling behavior is disabled.
|
46
|
-
*/
|
47
|
-
this.expandDisabled = false;
|
48
|
-
/**
|
49
|
-
* When `true`, the component is expanded.
|
50
|
-
*/
|
51
|
-
this.expanded = false;
|
52
|
-
/**
|
53
|
-
* Indicates the layout of the component.
|
54
|
-
*/
|
55
|
-
this.layout = "vertical";
|
56
|
-
// --------------------------------------------------------------------------
|
57
|
-
//
|
58
|
-
// Private Methods
|
59
|
-
//
|
60
|
-
// --------------------------------------------------------------------------
|
61
|
-
this.actionMenuOpenChangeHandler = (event) => {
|
62
|
-
if (event.detail) {
|
63
|
-
const composedPath = event.composedPath();
|
64
|
-
Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
|
65
|
-
if (!composedPath.includes(group)) {
|
66
|
-
group.menuOpen = false;
|
67
|
-
}
|
68
|
-
});
|
69
|
-
}
|
70
|
-
};
|
71
|
-
this.toggleExpand = () => {
|
72
|
-
this.expanded = !this.expanded;
|
73
|
-
this.calciteActionPadToggle.emit();
|
74
|
-
};
|
75
|
-
this.setExpandToggleRef = (el) => {
|
76
|
-
this.expandToggleEl = el;
|
77
|
-
};
|
78
|
-
}
|
79
|
-
expandedHandler(expanded) {
|
80
|
-
toggleChildActionText({ parent: this.el, expanded });
|
81
|
-
}
|
82
|
-
// --------------------------------------------------------------------------
|
83
|
-
//
|
84
|
-
// Lifecycle
|
85
|
-
//
|
86
|
-
// --------------------------------------------------------------------------
|
87
|
-
connectedCallback() {
|
88
|
-
connectConditionalSlotComponent(this);
|
89
|
-
}
|
90
|
-
disconnectedCallback() {
|
91
|
-
disconnectConditionalSlotComponent(this);
|
92
|
-
}
|
93
|
-
componentWillLoad() {
|
94
|
-
const { el, expanded } = this;
|
95
|
-
toggleChildActionText({ parent: el, expanded });
|
96
|
-
}
|
97
|
-
// --------------------------------------------------------------------------
|
98
|
-
//
|
99
|
-
// Methods
|
100
|
-
//
|
101
|
-
// --------------------------------------------------------------------------
|
102
|
-
/**
|
103
|
-
* Sets focus on the component.
|
104
|
-
*
|
105
|
-
* @param focusId
|
106
|
-
*/
|
107
|
-
async setFocus(focusId) {
|
108
|
-
var _a;
|
109
|
-
if (focusId === "expand-toggle") {
|
110
|
-
await focusElement(this.expandToggleEl);
|
111
|
-
return;
|
112
|
-
}
|
113
|
-
(_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
|
114
|
-
}
|
115
|
-
// --------------------------------------------------------------------------
|
116
|
-
//
|
117
|
-
// Component Methods
|
118
|
-
//
|
119
|
-
// --------------------------------------------------------------------------
|
120
|
-
renderBottomActionGroup() {
|
121
|
-
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
122
|
-
const tooltip = getSlotted(el, SLOTS.expandTooltip);
|
123
|
-
const expandLabel = intlExpand || TEXT.expand;
|
124
|
-
const collapseLabel = intlCollapse || TEXT.collapse;
|
125
|
-
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
126
|
-
return expandToggleNode ? (h("calcite-action-group", { class: CSS.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS.expandTooltip }), expandToggleNode)) : null;
|
127
|
-
}
|
128
|
-
render() {
|
129
|
-
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS.container }, h("slot", null), this.renderBottomActionGroup())));
|
130
|
-
}
|
131
|
-
get el() { return getElement(this); }
|
132
|
-
static get watchers() { return {
|
133
|
-
"expanded": ["expandedHandler"]
|
134
|
-
}; }
|
135
|
-
};
|
136
|
-
ActionPad.style = actionPadCss;
|
137
|
-
|
138
|
-
export { ActionPad as calcite_action_pad };
|
139
|
-
|
140
|
-
//# sourceMappingURL=p-afffa81a.entry.js.map
|