@esri/solutions-components 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
- package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
- package/dist/cjs/solution-store-893499a5.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
- package/dist/collection/components/solution-item/solution-item.js +2 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
- package/dist/collection/utils/solution-store.js +2 -0
- package/dist/collection/utils/solution-store.js.map +1 -1
- package/dist/collection/utils/solution-store.ts +2 -0
- package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
- package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
- package/dist/esm/solution-configuration.entry.js +1095 -4
- package/dist/esm/solution-configuration.entry.js.map +1 -1
- package/dist/esm/solution-contents_3.entry.js +3 -1
- package/dist/esm/solution-contents_3.entry.js.map +1 -1
- package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
- package/dist/esm/solution-store-0c58c852.js.map +1 -0
- package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
- package/dist/solutions-components/p-659edb14.js.map +1 -0
- package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
- package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
- package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
- package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
- package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
- package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/solution-store.ts +2 -0
- package/dist/solutions-components_commit.txt +9 -7
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
- package/dist/components/ExpandToggle.js +0 -112
- package/dist/components/ExpandToggle.js.map +0 -1
- package/dist/components/Heading.js +0 -24
- package/dist/components/Heading.js.map +0 -1
- package/dist/components/_commonjsHelpers.js +0 -24
- package/dist/components/_commonjsHelpers.js.map +0 -1
- package/dist/components/action-bar.js +0 -278
- package/dist/components/action-bar.js.map +0 -1
- package/dist/components/action-group.js +0 -151
- package/dist/components/action-group.js.map +0 -1
- package/dist/components/action-menu.js +0 -358
- package/dist/components/action-menu.js.map +0 -1
- package/dist/components/action.js +0 -216
- package/dist/components/action.js.map +0 -1
- package/dist/components/array.js +0 -17
- package/dist/components/array.js.map +0 -1
- package/dist/components/buffer-tools.d.ts +0 -11
- package/dist/components/buffer-tools.js +0 -13
- package/dist/components/buffer-tools.js.map +0 -1
- package/dist/components/buffer-tools2.js +0 -256
- package/dist/components/buffer-tools2.js.map +0 -1
- package/dist/components/button.js +0 -265
- package/dist/components/button.js.map +0 -1
- package/dist/components/calcite-accordion-item.js +0 -246
- package/dist/components/calcite-accordion-item.js.map +0 -1
- package/dist/components/calcite-accordion.js +0 -182
- package/dist/components/calcite-accordion.js.map +0 -1
- package/dist/components/calcite-action-bar.js +0 -13
- package/dist/components/calcite-action-bar.js.map +0 -1
- package/dist/components/calcite-action-group.js +0 -13
- package/dist/components/calcite-action-group.js.map +0 -1
- package/dist/components/calcite-action-menu.js +0 -13
- package/dist/components/calcite-action-menu.js.map +0 -1
- package/dist/components/calcite-action-pad.js +0 -199
- package/dist/components/calcite-action-pad.js.map +0 -1
- package/dist/components/calcite-action.js +0 -13
- package/dist/components/calcite-action.js.map +0 -1
- package/dist/components/calcite-alert.js +0 -299
- package/dist/components/calcite-alert.js.map +0 -1
- package/dist/components/calcite-avatar.js +0 -184
- package/dist/components/calcite-avatar.js.map +0 -1
- package/dist/components/calcite-block-section.js +0 -157
- package/dist/components/calcite-block-section.js.map +0 -1
- package/dist/components/calcite-block.js +0 -277
- package/dist/components/calcite-block.js.map +0 -1
- package/dist/components/calcite-button.js +0 -13
- package/dist/components/calcite-button.js.map +0 -1
- package/dist/components/calcite-card.js +0 -189
- package/dist/components/calcite-card.js.map +0 -1
- package/dist/components/calcite-checkbox.js +0 -13
- package/dist/components/calcite-checkbox.js.map +0 -1
- package/dist/components/calcite-chip.js +0 -13
- package/dist/components/calcite-chip.js.map +0 -1
- package/dist/components/calcite-color-picker-hex-input.js +0 -13
- package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
- package/dist/components/calcite-color-picker-swatch.js +0 -13
- package/dist/components/calcite-color-picker-swatch.js.map +0 -1
- package/dist/components/calcite-color-picker.js +0 -1038
- package/dist/components/calcite-color-picker.js.map +0 -1
- package/dist/components/calcite-combobox-item-group.js +0 -77
- package/dist/components/calcite-combobox-item-group.js.map +0 -1
- package/dist/components/calcite-combobox-item.js +0 -13
- package/dist/components/calcite-combobox-item.js.map +0 -1
- package/dist/components/calcite-combobox.js +0 -13
- package/dist/components/calcite-combobox.js.map +0 -1
- package/dist/components/calcite-date-picker-day.js +0 -13
- package/dist/components/calcite-date-picker-day.js.map +0 -1
- package/dist/components/calcite-date-picker-month-header.js +0 -13
- package/dist/components/calcite-date-picker-month-header.js.map +0 -1
- package/dist/components/calcite-date-picker-month.js +0 -13
- package/dist/components/calcite-date-picker-month.js.map +0 -1
- package/dist/components/calcite-date-picker.js +0 -13
- package/dist/components/calcite-date-picker.js.map +0 -1
- package/dist/components/calcite-dropdown-group.js +0 -101
- package/dist/components/calcite-dropdown-group.js.map +0 -1
- package/dist/components/calcite-dropdown-item.js +0 -237
- package/dist/components/calcite-dropdown-item.js.map +0 -1
- package/dist/components/calcite-dropdown.js +0 -13
- package/dist/components/calcite-dropdown.js.map +0 -1
- package/dist/components/calcite-fab.js +0 -146
- package/dist/components/calcite-fab.js.map +0 -1
- package/dist/components/calcite-filter.js +0 -197
- package/dist/components/calcite-filter.js.map +0 -1
- package/dist/components/calcite-flow-item.js +0 -245
- package/dist/components/calcite-flow-item.js.map +0 -1
- package/dist/components/calcite-flow.js +0 -149
- package/dist/components/calcite-flow.js.map +0 -1
- package/dist/components/calcite-graph.js +0 -13
- package/dist/components/calcite-graph.js.map +0 -1
- package/dist/components/calcite-handle.js +0 -13
- package/dist/components/calcite-handle.js.map +0 -1
- package/dist/components/calcite-icon.js +0 -13
- package/dist/components/calcite-icon.js.map +0 -1
- package/dist/components/calcite-inline-editable.js +0 -296
- package/dist/components/calcite-inline-editable.js.map +0 -1
- package/dist/components/calcite-input-date-picker.js +0 -715
- package/dist/components/calcite-input-date-picker.js.map +0 -1
- package/dist/components/calcite-input-message.js +0 -13
- package/dist/components/calcite-input-message.js.map +0 -1
- package/dist/components/calcite-input-number.js +0 -639
- package/dist/components/calcite-input-number.js.map +0 -1
- package/dist/components/calcite-input-text.js +0 -402
- package/dist/components/calcite-input-text.js.map +0 -1
- package/dist/components/calcite-input-time-picker.js +0 -436
- package/dist/components/calcite-input-time-picker.js.map +0 -1
- package/dist/components/calcite-input.js +0 -13
- package/dist/components/calcite-input.js.map +0 -1
- package/dist/components/calcite-label.js +0 -13
- package/dist/components/calcite-label.js.map +0 -1
- package/dist/components/calcite-link.js +0 -13
- package/dist/components/calcite-link.js.map +0 -1
- package/dist/components/calcite-list-item-group.js +0 -67
- package/dist/components/calcite-list-item-group.js.map +0 -1
- package/dist/components/calcite-list-item.js +0 -13
- package/dist/components/calcite-list-item.js.map +0 -1
- package/dist/components/calcite-list.js +0 -13
- package/dist/components/calcite-list.js.map +0 -1
- package/dist/components/calcite-loader.js +0 -13
- package/dist/components/calcite-loader.js.map +0 -1
- package/dist/components/calcite-modal.js +0 -500
- package/dist/components/calcite-modal.js.map +0 -1
- package/dist/components/calcite-notice.js +0 -13
- package/dist/components/calcite-notice.js.map +0 -1
- package/dist/components/calcite-option-group.js +0 -66
- package/dist/components/calcite-option-group.js.map +0 -1
- package/dist/components/calcite-option.js +0 -13
- package/dist/components/calcite-option.js.map +0 -1
- package/dist/components/calcite-pagination.js +0 -260
- package/dist/components/calcite-pagination.js.map +0 -1
- package/dist/components/calcite-panel.js +0 -13
- package/dist/components/calcite-panel.js.map +0 -1
- package/dist/components/calcite-pick-list-group.js +0 -76
- package/dist/components/calcite-pick-list-group.js.map +0 -1
- package/dist/components/calcite-pick-list-item.js +0 -13
- package/dist/components/calcite-pick-list-item.js.map +0 -1
- package/dist/components/calcite-pick-list.js +0 -175
- package/dist/components/calcite-pick-list.js.map +0 -1
- package/dist/components/calcite-popover-manager.js +0 -96
- package/dist/components/calcite-popover-manager.js.map +0 -1
- package/dist/components/calcite-popover.js +0 -13
- package/dist/components/calcite-popover.js.map +0 -1
- package/dist/components/calcite-progress.js +0 -13
- package/dist/components/calcite-progress.js.map +0 -1
- package/dist/components/calcite-radio-button-group.js +0 -134
- package/dist/components/calcite-radio-button-group.js.map +0 -1
- package/dist/components/calcite-radio-button.js +0 -312
- package/dist/components/calcite-radio-button.js.map +0 -1
- package/dist/components/calcite-radio-group-item.js +0 -13
- package/dist/components/calcite-radio-group-item.js.map +0 -1
- package/dist/components/calcite-radio-group.js +0 -13
- package/dist/components/calcite-radio-group.js.map +0 -1
- package/dist/components/calcite-rating.js +0 -203
- package/dist/components/calcite-rating.js.map +0 -1
- package/dist/components/calcite-scrim.js +0 -13
- package/dist/components/calcite-scrim.js.map +0 -1
- package/dist/components/calcite-select.js +0 -13
- package/dist/components/calcite-select.js.map +0 -1
- package/dist/components/calcite-shell-center-row.js +0 -102
- package/dist/components/calcite-shell-center-row.js.map +0 -1
- package/dist/components/calcite-shell-panel.js +0 -13
- package/dist/components/calcite-shell-panel.js.map +0 -1
- package/dist/components/calcite-shell.js +0 -13
- package/dist/components/calcite-shell.js.map +0 -1
- package/dist/components/calcite-slider.js +0 -13
- package/dist/components/calcite-slider.js.map +0 -1
- package/dist/components/calcite-sortable-list.js +0 -204
- package/dist/components/calcite-sortable-list.js.map +0 -1
- package/dist/components/calcite-split-button.js +0 -170
- package/dist/components/calcite-split-button.js.map +0 -1
- package/dist/components/calcite-stepper-item.js +0 -273
- package/dist/components/calcite-stepper-item.js.map +0 -1
- package/dist/components/calcite-stepper.js +0 -258
- package/dist/components/calcite-stepper.js.map +0 -1
- package/dist/components/calcite-switch.js +0 -13
- package/dist/components/calcite-switch.js.map +0 -1
- package/dist/components/calcite-tab-nav.js +0 -13
- package/dist/components/calcite-tab-nav.js.map +0 -1
- package/dist/components/calcite-tab-title.js +0 -13
- package/dist/components/calcite-tab-title.js.map +0 -1
- package/dist/components/calcite-tab.js +0 -13
- package/dist/components/calcite-tab.js.map +0 -1
- package/dist/components/calcite-tabs.js +0 -13
- package/dist/components/calcite-tabs.js.map +0 -1
- package/dist/components/calcite-tile-select-group.js +0 -67
- package/dist/components/calcite-tile-select-group.js.map +0 -1
- package/dist/components/calcite-tile-select.js +0 -268
- package/dist/components/calcite-tile-select.js.map +0 -1
- package/dist/components/calcite-tile.js +0 -13
- package/dist/components/calcite-tile.js.map +0 -1
- package/dist/components/calcite-time-picker.js +0 -13
- package/dist/components/calcite-time-picker.js.map +0 -1
- package/dist/components/calcite-tip-group.js +0 -43
- package/dist/components/calcite-tip-group.js.map +0 -1
- package/dist/components/calcite-tip-manager.js +0 -225
- package/dist/components/calcite-tip-manager.js.map +0 -1
- package/dist/components/calcite-tip.js +0 -164
- package/dist/components/calcite-tip.js.map +0 -1
- package/dist/components/calcite-tooltip-manager.js +0 -59
- package/dist/components/calcite-tooltip-manager.js.map +0 -1
- package/dist/components/calcite-tooltip.js +0 -13
- package/dist/components/calcite-tooltip.js.map +0 -1
- package/dist/components/calcite-tree-item.js +0 -13
- package/dist/components/calcite-tree-item.js.map +0 -1
- package/dist/components/calcite-tree.js +0 -13
- package/dist/components/calcite-tree.js.map +0 -1
- package/dist/components/calcite-value-list-item.js +0 -13
- package/dist/components/calcite-value-list-item.js.map +0 -1
- package/dist/components/calcite-value-list.js +0 -13
- package/dist/components/calcite-value-list.js.map +0 -1
- package/dist/components/check-list.d.ts +0 -11
- package/dist/components/check-list.js +0 -13
- package/dist/components/check-list.js.map +0 -1
- package/dist/components/check-list2.js +0 -128
- package/dist/components/check-list2.js.map +0 -1
- package/dist/components/checkbox.js +0 -167
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/chip.js +0 -172
- package/dist/components/chip.js.map +0 -1
- package/dist/components/color-picker-hex-input.js +0 -365
- package/dist/components/color-picker-hex-input.js.map +0 -1
- package/dist/components/color-picker-swatch.js +0 -2036
- package/dist/components/color-picker-swatch.js.map +0 -1
- package/dist/components/combobox-item.js +0 -184
- package/dist/components/combobox-item.js.map +0 -1
- package/dist/components/combobox.js +0 -914
- package/dist/components/combobox.js.map +0 -1
- package/dist/components/conditionalSlot.js +0 -52
- package/dist/components/conditionalSlot.js.map +0 -1
- package/dist/components/config-buffer-tools.d.ts +0 -11
- package/dist/components/config-buffer-tools.js +0 -185
- package/dist/components/config-buffer-tools.js.map +0 -1
- package/dist/components/config-draw-tools.d.ts +0 -11
- package/dist/components/config-draw-tools.js +0 -124
- package/dist/components/config-draw-tools.js.map +0 -1
- package/dist/components/config-layer-picker.d.ts +0 -11
- package/dist/components/config-layer-picker.js +0 -148
- package/dist/components/config-layer-picker.js.map +0 -1
- package/dist/components/config-pdf-download.d.ts +0 -11
- package/dist/components/config-pdf-download.js +0 -157
- package/dist/components/config-pdf-download.js.map +0 -1
- package/dist/components/date-picker-day.js +0 -113
- package/dist/components/date-picker-day.js.map +0 -1
- package/dist/components/date-picker-month-header.js +0 -226
- package/dist/components/date-picker-month-header.js.map +0 -1
- package/dist/components/date-picker-month.js +0 -346
- package/dist/components/date-picker-month.js.map +0 -1
- package/dist/components/date-picker.js +0 -577
- package/dist/components/date-picker.js.map +0 -1
- package/dist/components/date.js +0 -182
- package/dist/components/date.js.map +0 -1
- package/dist/components/debounce.js +0 -489
- package/dist/components/debounce.js.map +0 -1
- package/dist/components/dom.js +0 -233
- package/dist/components/dom.js.map +0 -1
- package/dist/components/dropdown.js +0 -507
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/filter.js +0 -765
- package/dist/components/filter.js.map +0 -1
- package/dist/components/floating-ui.js +0 -1787
- package/dist/components/floating-ui.js.map +0 -1
- package/dist/components/form.js +0 -230
- package/dist/components/form.js.map +0 -1
- package/dist/components/graph.js +0 -256
- package/dist/components/graph.js.map +0 -1
- package/dist/components/guid.js +0 -26
- package/dist/components/guid.js.map +0 -1
- package/dist/components/handle.js +0 -121
- package/dist/components/handle.js.map +0 -1
- package/dist/components/icon.js +0 -204
- package/dist/components/icon.js.map +0 -1
- package/dist/components/index.d.ts +0 -48
- package/dist/components/index.js +0 -190
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js +0 -201
- package/dist/components/index2.js.map +0 -1
- package/dist/components/input-message.js +0 -103
- package/dist/components/input-message.js.map +0 -1
- package/dist/components/input.js +0 -742
- package/dist/components/input.js.map +0 -1
- package/dist/components/interactive.js +0 -53
- package/dist/components/interactive.js.map +0 -1
- package/dist/components/interfaces.js +0 -21
- package/dist/components/interfaces.js.map +0 -1
- package/dist/components/interfaces2.js +0 -23
- package/dist/components/interfaces2.js.map +0 -1
- package/dist/components/interfaces3.js +0 -72
- package/dist/components/interfaces3.js.map +0 -1
- package/dist/components/json-editor.d.ts +0 -11
- package/dist/components/json-editor.js +0 -13
- package/dist/components/json-editor.js.map +0 -1
- package/dist/components/json-editor2.js +0 -443
- package/dist/components/json-editor2.js.map +0 -1
- package/dist/components/key.js +0 -18
- package/dist/components/key.js.map +0 -1
- package/dist/components/label.js +0 -108
- package/dist/components/label.js.map +0 -1
- package/dist/components/label2.js +0 -133
- package/dist/components/label2.js.map +0 -1
- package/dist/components/labelFormats.js +0 -212
- package/dist/components/labelFormats.js.map +0 -1
- package/dist/components/link.js +0 -125
- package/dist/components/link.js.map +0 -1
- package/dist/components/list-item.js +0 -151
- package/dist/components/list-item.js.map +0 -1
- package/dist/components/list.js +0 -85
- package/dist/components/list.js.map +0 -1
- package/dist/components/loadModules.js +0 -30
- package/dist/components/loadModules.js.map +0 -1
- package/dist/components/loader.js +0 -118
- package/dist/components/loader.js.map +0 -1
- package/dist/components/locale.js +0 -414
- package/dist/components/locale.js.map +0 -1
- package/dist/components/locale2.js +0 -415
- package/dist/components/locale2.js.map +0 -1
- package/dist/components/map-draw-tools.d.ts +0 -11
- package/dist/components/map-draw-tools.js +0 -13
- package/dist/components/map-draw-tools.js.map +0 -1
- package/dist/components/map-draw-tools2.js +0 -230
- package/dist/components/map-draw-tools2.js.map +0 -1
- package/dist/components/map-layer-picker.d.ts +0 -11
- package/dist/components/map-layer-picker.js +0 -13
- package/dist/components/map-layer-picker.js.map +0 -1
- package/dist/components/map-layer-picker2.js +0 -190
- package/dist/components/map-layer-picker2.js.map +0 -1
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -157
- package/dist/components/map-search.js.map +0 -1
- package/dist/components/map-select-tools.d.ts +0 -11
- package/dist/components/map-select-tools.js +0 -13
- package/dist/components/map-select-tools.js.map +0 -1
- package/dist/components/map-select-tools2.js +0 -555
- package/dist/components/map-select-tools2.js.map +0 -1
- package/dist/components/mapViewUtils.js +0 -131
- package/dist/components/mapViewUtils.js.map +0 -1
- package/dist/components/math.js +0 -26
- package/dist/components/math.js.map +0 -1
- package/dist/components/nonChromiumPlatformUtils.js +0 -505
- package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
- package/dist/components/notice.js +0 -194
- package/dist/components/notice.js.map +0 -1
- package/dist/components/observers.js +0 -58
- package/dist/components/observers.js.map +0 -1
- package/dist/components/openCloseComponent.js +0 -58
- package/dist/components/openCloseComponent.js.map +0 -1
- package/dist/components/option.js +0 -111
- package/dist/components/option.js.map +0 -1
- package/dist/components/panel.js +0 -461
- package/dist/components/panel.js.map +0 -1
- package/dist/components/pdf-download.d.ts +0 -11
- package/dist/components/pdf-download.js +0 -13
- package/dist/components/pdf-download.js.map +0 -1
- package/dist/components/pdf-download2.js +0 -243
- package/dist/components/pdf-download2.js.map +0 -1
- package/dist/components/pick-list-item.js +0 -257
- package/dist/components/pick-list-item.js.map +0 -1
- package/dist/components/popover.js +0 -502
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress.js +0 -62
- package/dist/components/progress.js.map +0 -1
- package/dist/components/public-notification.d.ts +0 -11
- package/dist/components/public-notification.js +0 -784
- package/dist/components/public-notification.js.map +0 -1
- package/dist/components/publicNotificationStore.js +0 -40
- package/dist/components/publicNotificationStore.js.map +0 -1
- package/dist/components/queryUtils.js +0 -163
- package/dist/components/queryUtils.js.map +0 -1
- package/dist/components/radio-group-item.js +0 -103
- package/dist/components/radio-group-item.js.map +0 -1
- package/dist/components/radio-group.js +0 -237
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/refine-selection-tools.d.ts +0 -11
- package/dist/components/refine-selection-tools.js +0 -13
- package/dist/components/refine-selection-tools.js.map +0 -1
- package/dist/components/refine-selection-tools2.js +0 -500
- package/dist/components/refine-selection-tools2.js.map +0 -1
- package/dist/components/refine-selection.d.ts +0 -11
- package/dist/components/refine-selection.js +0 -13
- package/dist/components/refine-selection.js.map +0 -1
- package/dist/components/refine-selection2.js +0 -369
- package/dist/components/refine-selection2.js.map +0 -1
- package/dist/components/resources.js +0 -26
- package/dist/components/resources.js.map +0 -1
- package/dist/components/resources2.js +0 -23
- package/dist/components/resources2.js.map +0 -1
- package/dist/components/resources3.js +0 -40
- package/dist/components/resources3.js.map +0 -1
- package/dist/components/scrim.js +0 -85
- package/dist/components/scrim.js.map +0 -1
- package/dist/components/select.js +0 -261
- package/dist/components/select.js.map +0 -1
- package/dist/components/shared-list-render.js +0 -321
- package/dist/components/shared-list-render.js.map +0 -1
- package/dist/components/shell-panel.js +0 -283
- package/dist/components/shell-panel.js.map +0 -1
- package/dist/components/shell.js +0 -123
- package/dist/components/shell.js.map +0 -1
- package/dist/components/slider.js +0 -898
- package/dist/components/slider.js.map +0 -1
- package/dist/components/solution-configuration.d.ts +0 -11
- package/dist/components/solution-configuration.js +0 -1141
- package/dist/components/solution-configuration.js.map +0 -1
- package/dist/components/solution-contents.d.ts +0 -11
- package/dist/components/solution-contents.js +0 -13
- package/dist/components/solution-contents.js.map +0 -1
- package/dist/components/solution-contents2.js +0 -130
- package/dist/components/solution-contents2.js.map +0 -1
- package/dist/components/solution-item-details.d.ts +0 -11
- package/dist/components/solution-item-details.js +0 -13
- package/dist/components/solution-item-details.js.map +0 -1
- package/dist/components/solution-item-details2.js +0 -236
- package/dist/components/solution-item-details2.js.map +0 -1
- package/dist/components/solution-item-icon.d.ts +0 -11
- package/dist/components/solution-item-icon.js +0 -13
- package/dist/components/solution-item-icon.js.map +0 -1
- package/dist/components/solution-item-icon2.js +0 -344
- package/dist/components/solution-item-icon2.js.map +0 -1
- package/dist/components/solution-item-sharing.d.ts +0 -11
- package/dist/components/solution-item-sharing.js +0 -13
- package/dist/components/solution-item-sharing.js.map +0 -1
- package/dist/components/solution-item-sharing2.js +0 -169
- package/dist/components/solution-item-sharing2.js.map +0 -1
- package/dist/components/solution-item.d.ts +0 -11
- package/dist/components/solution-item.js +0 -13
- package/dist/components/solution-item.js.map +0 -1
- package/dist/components/solution-item2.js +0 -317
- package/dist/components/solution-item2.js.map +0 -1
- package/dist/components/solution-organization-variables.d.ts +0 -11
- package/dist/components/solution-organization-variables.js +0 -13
- package/dist/components/solution-organization-variables.js.map +0 -1
- package/dist/components/solution-organization-variables2.js +0 -134
- package/dist/components/solution-organization-variables2.js.map +0 -1
- package/dist/components/solution-resource-item.d.ts +0 -11
- package/dist/components/solution-resource-item.js +0 -13
- package/dist/components/solution-resource-item.js.map +0 -1
- package/dist/components/solution-resource-item2.js +0 -358
- package/dist/components/solution-resource-item2.js.map +0 -1
- package/dist/components/solution-spatial-ref.d.ts +0 -11
- package/dist/components/solution-spatial-ref.js +0 -13
- package/dist/components/solution-spatial-ref.js.map +0 -1
- package/dist/components/solution-spatial-ref2.js +0 -21448
- package/dist/components/solution-spatial-ref2.js.map +0 -1
- package/dist/components/solution-store.js +0 -4094
- package/dist/components/solution-store.js.map +0 -1
- package/dist/components/solution-template-data.d.ts +0 -11
- package/dist/components/solution-template-data.js +0 -13
- package/dist/components/solution-template-data.js.map +0 -1
- package/dist/components/solution-template-data2.js +0 -235
- package/dist/components/solution-template-data2.js.map +0 -1
- package/dist/components/solution-variables.d.ts +0 -11
- package/dist/components/solution-variables.js +0 -13
- package/dist/components/solution-variables.js.map +0 -1
- package/dist/components/solution-variables2.js +0 -152
- package/dist/components/solution-variables2.js.map +0 -1
- package/dist/components/sortable.esm.js +0 -3028
- package/dist/components/sortable.esm.js.map +0 -1
- package/dist/components/store-manager.d.ts +0 -11
- package/dist/components/store-manager.js +0 -85
- package/dist/components/store-manager.js.map +0 -1
- package/dist/components/switch.js +0 -141
- package/dist/components/switch.js.map +0 -1
- package/dist/components/tab-nav.js +0 -243
- package/dist/components/tab-nav.js.map +0 -1
- package/dist/components/tab-title.js +0 -278
- package/dist/components/tab-title.js.map +0 -1
- package/dist/components/tab.js +0 -156
- package/dist/components/tab.js.map +0 -1
- package/dist/components/tabs.js +0 -190
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/tile.js +0 -131
- package/dist/components/tile.js.map +0 -1
- package/dist/components/time-picker.js +0 -945
- package/dist/components/time-picker.js.map +0 -1
- package/dist/components/tooltip.js +0 -401
- package/dist/components/tooltip.js.map +0 -1
- package/dist/components/tree-item.js +0 -296
- package/dist/components/tree-item.js.map +0 -1
- package/dist/components/tree.js +0 -329
- package/dist/components/tree.js.map +0 -1
- package/dist/components/utils.js +0 -121
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js +0 -53
- package/dist/components/utils2.js.map +0 -1
- package/dist/components/value-list-item.js +0 -206
- package/dist/components/value-list-item.js.map +0 -1
- package/dist/components/value-list.js +0 -335
- package/dist/components/value-list.js.map +0 -1
- package/dist/esm/solution-store-c1f6173a.js.map +0 -1
- package/dist/solutions-components/p-065830b8.js.map +0 -1
- package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
- package/dist/solutions-components/p-401541a5.entry.js +0 -895
- package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
- package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-color-picker.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA,IAAI,eAAe,GAAG,qBAAqB,CAAC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE;AACvC,EAAE,IAAI,OAAO,GAAG,IAAI;AACpB,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB;AACA,EAAE,IAAI,OAAO,IAAI,IAAI,UAAU,EAAE;AACjC,IAAI,MAAM,IAAI,SAAS,CAAC,eAAe,CAAC,CAAC;AACzC,GAAG;AACH,EAAE,IAAI,QAAQ,CAAC,OAAO,CAAC,EAAE;AACzB,IAAI,OAAO,GAAG,SAAS,IAAI,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AACjE,IAAI,QAAQ,GAAG,UAAU,IAAI,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACrE,GAAG;AACH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C7B,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,mBAAmB,EAAE,GAAG,CAAC,CAAC,CAAC;IACvF,OAAO,CAAC,QAAQ,CAAC,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;IACrD,IAAI,CAAC,wBAAwB,EAAE,CAAC;GACjC;EACD,uBAAuB,CAAC,QAAQ;IAC9B,IAAI,CAAC,gBAAgB,CAACA,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;GAC1D;EACD,uBAAuB,CAAC,KAAK;IAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;GACrE;EACD,UAAU,CAAC,KAAK;IACd,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAC7B,OAAO,KAAK,CAAC,WAAW,CAAC,EAAE;OACxB,KAAK,EAAE;OACP,GAAG,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;GACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["color","Color"],"sources":["./node_modules/lodash-es/throttle.js","./node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css?tag=calcite-color-picker&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.js"],"sourcesContent":["import debounce from './debounce.js';\nimport isObject from './isObject.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nexport default throttle;\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([disabled]) {\n pointer-events: none;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host {\n display: inline-block;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n font-weight: var(--calcite-font-weight-normal);\n}\n\n:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled] {\n /* prevent opacity stacking */\n opacity: 1;\n}\n\n:host([scale=s]) .container {\n inline-size: 160px;\n}\n:host([scale=s]) .saved-colors {\n grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));\n}\n:host([scale=s]) .channels {\n flex-direction: column;\n}\n:host([scale=s]) .channel {\n inline-size: 100%;\n margin-block-end: 4px;\n}\n:host([scale=s]) .channel:last-child {\n margin-block-end: 0;\n}\n\n:host([scale=m]) .container {\n inline-size: 272px;\n}\n\n:host([scale=l]) .header {\n padding-block-end: 0px;\n}\n\n:host([scale=l]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n:host([scale=l]) .container {\n inline-size: 464px;\n}\n:host([scale=l]) .color-field-and-slider {\n margin-block-end: -20px;\n}\n:host([scale=l]) .section {\n padding-block: 0 16px;\n padding-inline: 16px;\n}\n:host([scale=l]) .section:first-of-type {\n padding-block-start: 16px;\n}\n:host([scale=l]) .saved-colors {\n grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));\n grid-gap: 12px;\n padding-block-start: 16px;\n}\n:host([scale=l]) .control-section {\n flex-wrap: nowrap;\n align-items: baseline;\n}\n:host([scale=l]) .control-section > :nth-child(2) {\n margin-inline-start: 12px;\n}\n:host([scale=l]) .color-hex-options {\n display: flex;\n flex-shrink: 1;\n flex-direction: column;\n justify-content: space-around;\n min-block-size: 98px;\n inline-size: 160px;\n}\n:host([scale=l]) .color-mode-container {\n flex-shrink: 3;\n}\n\n:host([appearance=minimal]) .container {\n border: none;\n}\n\n.container {\n background-color: var(--calcite-ui-foreground-1);\n display: inline-block;\n border: 1px solid var(--calcite-ui-border-1);\n}\n\n.color-field-and-slider-wrap {\n position: relative;\n}\n\n.scope {\n pointer-events: none;\n position: absolute;\n font-size: var(--calcite-font-size--1);\n outline-color: transparent;\n outline-offset: 14px;\n}\n.scope:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 16px;\n}\n\n.color-field-and-slider {\n margin-block-end: -16px;\n touch-action: none;\n}\n.color-field-and-slider--interactive {\n cursor: pointer;\n}\n\n.control-section {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.section {\n padding-block: 0 12px;\n padding-inline: 12px;\n}\n.section:first-of-type {\n padding-block-start: 12px;\n}\n\n.color-hex-options,\n.section--split {\n flex-grow: 1;\n}\n\n.header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-block-end: 0.25rem;\n color: var(--calcite-ui-text-1);\n}\n\n.header--hex,\n.color-mode-container {\n padding-block-start: 12px;\n}\n\n.channels {\n display: flex;\n justify-content: space-between;\n}\n\n.channel {\n inline-size: 31%;\n}\n\n.saved-colors {\n padding-block-start: 12px;\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(24px, 1fr));\n grid-gap: 8px;\n inline-size: 100%;\n}\n\n.saved-colors-buttons {\n display: flex;\n}\n\n.saved-color {\n outline-offset: 0;\n outline-color: transparent;\n cursor: pointer;\n}\n.saved-color:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n.saved-color:hover {\n transition: outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;\n outline: 2px solid var(--calcite-ui-border-2);\n outline-offset: 2px;\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 Color from \"color\";\nimport { CSS, DEFAULT_COLOR, DEFAULT_STORAGE_KEY_PREFIX, DIMENSIONS, HSV_LIMITS, RGB_LIMITS, TEXT } from \"./resources\";\nimport { focusElement, getElementDir, isPrimaryPointerButton } from \"../../utils/dom\";\nimport { colorEqual, CSSColorMode, normalizeHex, parseMode } from \"./utils\";\nimport { throttle } from \"lodash-es\";\nimport { clamp } from \"../../utils/math\";\nimport { updateHostInteraction } from \"../../utils/interactive\";\nimport { isActivationKey } from \"../../utils/key\";\nconst throttleFor60FpsInMs = 16;\nconst defaultValue = normalizeHex(DEFAULT_COLOR.hex());\nconst defaultFormat = \"auto\";\nexport class ColorPicker {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public properties\n //\n //--------------------------------------------------------------------------\n /**\n * When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.\n *\n * When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.\n */\n this.allowEmpty = false;\n /**\n * Specifies the appearance style of the component -\n *\n * `\"solid\"` (containing border) or `\"minimal\"` (no containing border).\n */\n this.appearance = \"solid\";\n /**\n * Internal prop for advanced use-cases.\n *\n * @internal\n */\n this.color = DEFAULT_COLOR;\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n this.disabled = false;\n /**\n * The format of `value`.\n *\n * When `\"auto\"`, the format will be inferred from `value` when set.\n *\n * @default \"auto\"\n */\n this.format = defaultFormat;\n /** When `true`, hides the Hex input. */\n this.hideHex = false;\n /** When `true`, hides the RGB/HSV channel inputs. */\n this.hideChannels = false;\n /** When `true`, hides the saved colors section. */\n this.hideSaved = false;\n /**\n * Accessible name for the RGB section's blue channel.\n *\n * @default \"B\"\n */\n this.intlB = TEXT.b;\n /**\n * Accessible name for the RGB section's blue channel description.\n *\n * @default \"Blue\"\n */\n this.intlBlue = TEXT.blue;\n /**\n * Accessible name for the delete color button.\n *\n * @default \"Delete color\"\n */\n this.intlDeleteColor = TEXT.deleteColor;\n /**\n * Accessible name for the RGB section's green channel.\n *\n * @default \"G\"\n */\n this.intlG = TEXT.g;\n /**\n * Accessible name for the RGB section's green channel description.\n *\n * @default \"Green\"\n */\n this.intlGreen = TEXT.green;\n /**\n * Accessible name for the HSV section's hue channel.\n *\n * @default \"H\"\n */\n this.intlH = TEXT.h;\n /**\n * Accessible name for the HSV mode.\n *\n * @default \"HSV\"\n */\n this.intlHsv = TEXT.hsv;\n /**\n * Accessible name for the Hex input.\n *\n * @default \"Hex\"\n */\n this.intlHex = TEXT.hex;\n /**\n * Accessible name for the HSV section's hue channel description.\n *\n * @default \"Hue\"\n */\n this.intlHue = TEXT.hue;\n /**\n * Accessible name for the Hex input when there is no color selected.\n *\n * @default \"No color\"\n */\n this.intlNoColor = TEXT.noColor;\n /**\n * Accessible name for the RGB section's red channel.\n *\n * @default \"R\"\n */\n this.intlR = TEXT.r;\n /**\n * Accessible name for the RGB section's red channel description.\n *\n * @default \"Red\"\n */\n this.intlRed = TEXT.red;\n /**\n * Accessible name for the RGB mode.\n *\n * @default \"RGB\"\n */\n this.intlRgb = TEXT.rgb;\n /**\n * Accessible name for the HSV section's saturation channel.\n *\n * @default \"S\"\n */\n this.intlS = TEXT.s;\n /**\n * Accessible name for the HSV section's saturation channel description.\n *\n * @default \"Saturation\"\n */\n this.intlSaturation = TEXT.saturation;\n /**\n * Accessible name for the save color button.\n *\n * @default \"Save color\"\n */\n this.intlSaveColor = TEXT.saveColor;\n /**\n * Accessible name for the saved colors section.\n *\n * @default \"Saved\"\n */\n this.intlSaved = TEXT.saved;\n /**\n * Accessible name for the HSV section's value channel.\n *\n * @default \"V\"\n */\n this.intlV = TEXT.v;\n /**\n * Accessible name for the HSV section's value channel description.\n *\n * @default \"Value\"\n */\n this.intlValue = TEXT.value;\n /** Specifies the size of the component. */\n this.scale = \"m\";\n /**\n * The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.\n *\n * The type will be preserved as the color is updated.\n *\n * @default \"#007ac2\"\n * @see [CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color)\n * @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)\n */\n this.value = defaultValue;\n this.colorFieldAndSliderHovered = false;\n this.hueThumbState = \"idle\";\n this.internalColorUpdateContext = null;\n this.mode = CSSColorMode.HEX;\n this.shiftKeyChannelAdjustment = 0;\n this.sliderThumbState = \"idle\";\n this.colorFieldAndSliderInteractive = false;\n this.channelMode = \"rgb\";\n this.channels = this.toChannels(DEFAULT_COLOR);\n this.dimensions = DIMENSIONS.m;\n this.savedColors = [];\n this.handleTabActivate = (event) => {\n this.channelMode = event.currentTarget.getAttribute(\"data-color-mode\");\n this.updateChannelsFromColor(this.color);\n };\n this.handleColorFieldScopeKeyDown = (event) => {\n const { key } = event;\n const arrowKeyToXYOffset = {\n ArrowUp: { x: 0, y: -10 },\n ArrowRight: { x: 10, y: 0 },\n ArrowDown: { x: 0, y: 10 },\n ArrowLeft: { x: -10, y: 0 }\n };\n if (arrowKeyToXYOffset[key]) {\n event.preventDefault();\n this.scopeOrientation = key === \"ArrowDown\" || key === \"ArrowUp\" ? \"vertical\" : \"horizontal\";\n this.captureColorFieldColor(this.colorFieldScopeLeft + arrowKeyToXYOffset[key].x || 0, this.colorFieldScopeTop + arrowKeyToXYOffset[key].y || 0, false);\n }\n };\n this.handleHueScopeKeyDown = (event) => {\n const modifier = event.shiftKey ? 10 : 1;\n const { key } = event;\n const arrowKeyToXOffset = {\n ArrowUp: 1,\n ArrowRight: 1,\n ArrowDown: -1,\n ArrowLeft: -1\n };\n if (arrowKeyToXOffset[key]) {\n event.preventDefault();\n const delta = arrowKeyToXOffset[key] * modifier;\n const hue = this.baseColorFieldColor.hue();\n const color = this.baseColorFieldColor.hue(hue + delta);\n this.internalColorSet(color, false);\n }\n };\n this.handleHexInputChange = (event) => {\n event.stopPropagation();\n const { allowEmpty, color } = this;\n const input = event.target;\n const hex = input.value;\n if (allowEmpty && !hex) {\n this.internalColorSet(null);\n return;\n }\n const normalizedHex = color && normalizeHex(color.hex());\n if (hex !== normalizedHex) {\n this.internalColorSet(Color(hex));\n }\n };\n this.handleSavedColorSelect = (event) => {\n const swatch = event.currentTarget;\n this.internalColorSet(Color(swatch.color));\n };\n this.handleChannelInput = (event) => {\n const input = event.currentTarget;\n const internalInput = event.detail.nativeEvent.target;\n const channelIndex = Number(input.getAttribute(\"data-channel-index\"));\n const limit = this.channelMode === \"rgb\"\n ? RGB_LIMITS[Object.keys(RGB_LIMITS)[channelIndex]]\n : HSV_LIMITS[Object.keys(HSV_LIMITS)[channelIndex]];\n let inputValue;\n if (this.allowEmpty && !input.value) {\n inputValue = \"\";\n }\n else {\n const value = Number(input.value) + this.shiftKeyChannelAdjustment;\n const clamped = clamp(value, 0, limit);\n inputValue = clamped.toString();\n }\n input.value = inputValue;\n internalInput.value = inputValue;\n };\n this.handleChannelChange = (event) => {\n const input = event.currentTarget;\n const channelIndex = Number(input.getAttribute(\"data-channel-index\"));\n const channels = [...this.channels];\n const shouldClearChannels = this.allowEmpty && !input.value;\n if (shouldClearChannels) {\n this.channels = [null, null, null];\n this.internalColorSet(null);\n return;\n }\n channels[channelIndex] = Number(input.value);\n this.updateColorFromChannels(channels);\n };\n this.handleSavedColorKeyDown = (event) => {\n if (isActivationKey(event.key)) {\n event.preventDefault();\n this.handleSavedColorSelect(event);\n }\n };\n this.handleColorFieldAndSliderPointerLeave = () => {\n this.colorFieldAndSliderInteractive = false;\n this.colorFieldAndSliderHovered = false;\n if (this.sliderThumbState !== \"drag\" && this.hueThumbState !== \"drag\") {\n this.hueThumbState = \"idle\";\n this.sliderThumbState = \"idle\";\n this.drawColorFieldAndSlider();\n }\n };\n this.handleColorFieldAndSliderPointerDown = (event) => {\n var _a, _b;\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n const { offsetX, offsetY } = event;\n const region = this.getCanvasRegion(offsetY);\n if (region === \"color-field\") {\n this.hueThumbState = \"drag\";\n this.captureColorFieldColor(offsetX, offsetY);\n (_a = this.colorFieldScopeNode) === null || _a === void 0 ? void 0 : _a.focus();\n }\n else if (region === \"slider\") {\n this.sliderThumbState = \"drag\";\n this.captureHueSliderColor(offsetX);\n (_b = this.hueScopeNode) === null || _b === void 0 ? void 0 : _b.focus();\n }\n // prevent text selection outside of color field & slider area\n event.preventDefault();\n document.addEventListener(\"pointermove\", this.globalPointerMoveHandler);\n document.addEventListener(\"pointerup\", this.globalPointerUpHandler, { once: true });\n this.activeColorFieldAndSliderRect =\n this.fieldAndSliderRenderingContext.canvas.getBoundingClientRect();\n };\n this.globalPointerUpHandler = (event) => {\n if (!isPrimaryPointerButton(event)) {\n return;\n }\n const previouslyDragging = this.sliderThumbState === \"drag\" || this.hueThumbState === \"drag\";\n this.hueThumbState = \"idle\";\n this.sliderThumbState = \"idle\";\n this.activeColorFieldAndSliderRect = null;\n this.drawColorFieldAndSlider();\n if (previouslyDragging) {\n this.calciteColorPickerChange.emit();\n }\n };\n this.globalPointerMoveHandler = (event) => {\n const { el, dimensions } = this;\n const sliderThumbDragging = this.sliderThumbState === \"drag\";\n const hueThumbDragging = this.hueThumbState === \"drag\";\n if (!el.isConnected || (!sliderThumbDragging && !hueThumbDragging)) {\n return;\n }\n let samplingX;\n let samplingY;\n const colorFieldAndSliderRect = this.activeColorFieldAndSliderRect;\n const { clientX, clientY } = event;\n if (this.colorFieldAndSliderHovered) {\n samplingX = clientX - colorFieldAndSliderRect.x;\n samplingY = clientY - colorFieldAndSliderRect.y;\n }\n else {\n const colorFieldWidth = dimensions.colorField.width;\n const colorFieldHeight = dimensions.colorField.height;\n const hueSliderHeight = dimensions.slider.height;\n if (clientX < colorFieldAndSliderRect.x + colorFieldWidth &&\n clientX > colorFieldAndSliderRect.x) {\n samplingX = clientX - colorFieldAndSliderRect.x;\n }\n else if (clientX < colorFieldAndSliderRect.x) {\n samplingX = 0;\n }\n else {\n samplingX = colorFieldWidth - 1;\n }\n if (clientY < colorFieldAndSliderRect.y + colorFieldHeight + hueSliderHeight &&\n clientY > colorFieldAndSliderRect.y) {\n samplingY = clientY - colorFieldAndSliderRect.y;\n }\n else if (clientY < colorFieldAndSliderRect.y) {\n samplingY = 0;\n }\n else {\n samplingY = colorFieldHeight + hueSliderHeight;\n }\n }\n if (hueThumbDragging) {\n this.captureColorFieldColor(samplingX, samplingY, false);\n }\n else {\n this.captureHueSliderColor(samplingX);\n }\n };\n this.handleColorFieldAndSliderPointerEnterOrMove = ({ offsetX, offsetY }) => {\n const { dimensions: { colorField, slider, thumb } } = this;\n this.colorFieldAndSliderInteractive = offsetY <= colorField.height + slider.height;\n this.colorFieldAndSliderHovered = true;\n const region = this.getCanvasRegion(offsetY);\n if (region === \"color-field\") {\n const prevHueThumbState = this.hueThumbState;\n const color = this.baseColorFieldColor.hsv();\n const centerX = Math.round(color.saturationv() / (HSV_LIMITS.s / colorField.width));\n const centerY = Math.round(colorField.height - color.value() / (HSV_LIMITS.v / colorField.height));\n const hoveringThumb = this.containsPoint(offsetX, offsetY, centerX, centerY, thumb.radius);\n let transitionedBetweenHoverAndIdle = false;\n if (prevHueThumbState === \"idle\" && hoveringThumb) {\n this.hueThumbState = \"hover\";\n transitionedBetweenHoverAndIdle = true;\n }\n else if (prevHueThumbState === \"hover\" && !hoveringThumb) {\n this.hueThumbState = \"idle\";\n transitionedBetweenHoverAndIdle = true;\n }\n if (this.hueThumbState !== \"drag\") {\n if (transitionedBetweenHoverAndIdle) {\n // refresh since we won't update color and thus no redraw\n this.drawColorFieldAndSlider();\n }\n }\n }\n else if (region === \"slider\") {\n const sliderThumbColor = this.baseColorFieldColor.hsv().saturationv(100).value(100);\n const prevSliderThumbState = this.sliderThumbState;\n const sliderThumbCenterX = Math.round(sliderThumbColor.hue() / (360 / slider.width));\n const sliderThumbCenterY = Math.round((slider.height + this.getSliderCapSpacing()) / 2) + colorField.height;\n const hoveringSliderThumb = this.containsPoint(offsetX, offsetY, sliderThumbCenterX, sliderThumbCenterY, thumb.radius);\n let sliderThumbTransitionedBetweenHoverAndIdle = false;\n if (prevSliderThumbState === \"idle\" && hoveringSliderThumb) {\n this.sliderThumbState = \"hover\";\n sliderThumbTransitionedBetweenHoverAndIdle = true;\n }\n else if (prevSliderThumbState === \"hover\" && !hoveringSliderThumb) {\n this.sliderThumbState = \"idle\";\n sliderThumbTransitionedBetweenHoverAndIdle = true;\n }\n if (this.sliderThumbState !== \"drag\") {\n if (sliderThumbTransitionedBetweenHoverAndIdle) {\n // refresh since we won't update color and thus no redraw\n this.drawColorFieldAndSlider();\n }\n }\n }\n };\n this.storeColorFieldScope = (node) => {\n this.colorFieldScopeNode = node;\n };\n this.storeHueScope = (node) => {\n this.hueScopeNode = node;\n };\n this.renderChannelsTabTitle = (channelMode) => {\n const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;\n const active = channelMode === activeChannelMode;\n const label = channelMode === \"rgb\" ? intlRgb : intlHsv;\n return (h(\"calcite-tab-title\", { active: active, class: CSS.colorMode, \"data-color-mode\": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));\n };\n this.renderChannelsTab = (channelMode) => {\n const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;\n const active = channelMode === activeChannelMode;\n const isRgb = channelMode === \"rgb\";\n const channelLabels = isRgb ? [intlR, intlG, intlB] : [intlH, intlS, intlV];\n const channelAriaLabels = isRgb\n ? [intlRed, intlGreen, intlBlue]\n : [intlHue, intlSaturation, intlValue];\n const direction = getElementDir(this.el);\n return (h(\"calcite-tab\", { active: active, class: CSS.control, key: channelMode }, h(\"div\", { class: CSS.channels, dir: \"ltr\" }, channels.map((channel, index) => \n /* the channel container is ltr, so we apply the host's direction */\n this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));\n };\n this.renderChannel = (value, index, label, ariaLabel, direction) => (h(\"calcite-input\", { class: CSS.channel, \"data-channel-index\": index, dir: direction, label: ariaLabel, numberButtonType: \"none\", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === \"l\" ? \"m\" : \"s\", type: \"number\", value: value === null || value === void 0 ? void 0 : value.toString() }));\n this.deleteColor = () => {\n const colorToDelete = this.color.hex();\n const inStorage = this.savedColors.indexOf(colorToDelete) > -1;\n if (!inStorage) {\n return;\n }\n const savedColors = this.savedColors.filter((color) => color !== colorToDelete);\n this.savedColors = savedColors;\n const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;\n if (this.storageId) {\n localStorage.setItem(storageKey, JSON.stringify(savedColors));\n }\n };\n this.saveColor = () => {\n const colorToSave = this.color.hex();\n const alreadySaved = this.savedColors.indexOf(colorToSave) > -1;\n if (alreadySaved) {\n return;\n }\n const savedColors = [...this.savedColors, colorToSave];\n this.savedColors = savedColors;\n const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;\n if (this.storageId) {\n localStorage.setItem(storageKey, JSON.stringify(savedColors));\n }\n };\n this.drawColorFieldAndSlider = throttle(() => {\n if (!this.fieldAndSliderRenderingContext) {\n return;\n }\n this.drawColorField();\n this.drawHueSlider();\n }, throttleFor60FpsInMs);\n this.captureColorFieldColor = (x, y, skipEqual = true) => {\n const { dimensions: { colorField: { height, width } } } = this;\n const saturation = Math.round((HSV_LIMITS.s / width) * x);\n const value = Math.round((HSV_LIMITS.v / height) * (height - y));\n this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(saturation).value(value), skipEqual);\n };\n this.initColorFieldAndSlider = (canvas) => {\n this.fieldAndSliderRenderingContext = canvas.getContext(\"2d\");\n this.updateCanvasSize(canvas);\n };\n }\n handleColorChange(color, oldColor) {\n this.drawColorFieldAndSlider();\n this.updateChannelsFromColor(color);\n this.previousColor = oldColor;\n }\n handleFormatChange(format) {\n this.setMode(format);\n this.internalColorSet(this.color, false, \"internal\");\n }\n handleScaleChange(scale = \"m\") {\n var _a;\n this.updateDimensions(scale);\n this.updateCanvasSize((_a = this.fieldAndSliderRenderingContext) === null || _a === void 0 ? void 0 : _a.canvas);\n }\n handleValueChange(value, oldValue) {\n const { allowEmpty, format } = this;\n const checkMode = !allowEmpty || value;\n let modeChanged = false;\n if (checkMode) {\n const nextMode = parseMode(value);\n if (!nextMode || (format !== \"auto\" && nextMode !== format)) {\n this.showIncompatibleColorWarning(value, format);\n this.value = oldValue;\n return;\n }\n modeChanged = this.mode !== nextMode;\n this.setMode(nextMode);\n }\n const dragging = this.sliderThumbState === \"drag\" || this.hueThumbState === \"drag\";\n if (this.internalColorUpdateContext === \"initial\") {\n return;\n }\n if (this.internalColorUpdateContext === \"user-interaction\") {\n this.calciteColorPickerInput.emit();\n if (!dragging) {\n this.calciteColorPickerChange.emit();\n }\n return;\n }\n const color = allowEmpty && !value ? null : Color(value);\n const colorChanged = !colorEqual(color, this.color);\n if (modeChanged || colorChanged) {\n this.internalColorSet(color, true, \"internal\");\n }\n }\n //--------------------------------------------------------------------------\n //\n // Internal State/Props\n //\n //--------------------------------------------------------------------------\n get baseColorFieldColor() {\n return this.color || this.previousColor || DEFAULT_COLOR;\n }\n // using @Listen as a workaround for VDOM listener not firing\n handleChannelKeyUpOrDown(event) {\n this.shiftKeyChannelAdjustment = 0;\n const { key } = event;\n if ((key !== \"ArrowUp\" && key !== \"ArrowDown\") ||\n !event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS.channel); })) {\n return;\n }\n const { shiftKey } = event;\n event.preventDefault();\n if (!this.color) {\n this.internalColorSet(this.previousColor);\n event.stopPropagation();\n return;\n }\n // this gets applied to the input's up/down arrow increment/decrement\n const complementaryBump = 9;\n this.shiftKeyChannelAdjustment =\n key === \"ArrowUp\" && shiftKey\n ? complementaryBump\n : key === \"ArrowDown\" && shiftKey\n ? -complementaryBump\n : 0;\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n return focusElement(this.colorFieldScopeNode);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentWillLoad() {\n const { allowEmpty, color, format, value } = this;\n const willSetNoColor = allowEmpty && !value;\n const parsedMode = parseMode(value);\n const valueIsCompatible = willSetNoColor || (format === \"auto\" && parsedMode) || format === parsedMode;\n const initialColor = willSetNoColor ? null : valueIsCompatible ? Color(value) : color;\n if (!valueIsCompatible) {\n this.showIncompatibleColorWarning(value, format);\n }\n this.setMode(format);\n this.internalColorSet(initialColor, false, \"initial\");\n this.updateDimensions(this.scale);\n const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;\n if (this.storageId && localStorage.getItem(storageKey)) {\n this.savedColors = JSON.parse(localStorage.getItem(storageKey));\n }\n }\n disconnectedCallback() {\n document.removeEventListener(\"pointermove\", this.globalPointerMoveHandler);\n document.removeEventListener(\"pointerup\", this.globalPointerUpHandler);\n }\n componentDidRender() {\n updateHostInteraction(this);\n }\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n render() {\n const { allowEmpty, color, intlDeleteColor, hideHex, hideChannels, hideSaved, intlHex, intlSaved, intlSaveColor, savedColors, scale } = this;\n const selectedColorInHex = color ? color.hex() : null;\n const hexInputScale = scale === \"l\" ? \"m\" : \"s\";\n const { colorFieldAndSliderInteractive, colorFieldScopeTop, colorFieldScopeLeft, hueScopeLeft, hueScopeTop, scopeOrientation, dimensions: { colorField: { height: colorFieldHeight, width: colorFieldWidth }, slider: { height: sliderHeight } } } = this;\n const hueTop = hueScopeTop !== null && hueScopeTop !== void 0 ? hueScopeTop : sliderHeight / 2 + colorFieldHeight;\n const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR.hue()) / HSV_LIMITS.h;\n const noColor = color === null;\n const vertical = scopeOrientation === \"vertical\";\n return (h(\"div\", { class: CSS.container }, h(\"div\", { class: CSS.colorFieldAndSliderWrap }, h(\"canvas\", { class: {\n [CSS.colorFieldAndSlider]: true,\n [CSS.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive\n }, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h(\"div\", { \"aria-label\": vertical ? this.intlValue : this.intlSaturation, \"aria-valuemax\": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, \"aria-valuemin\": \"0\", \"aria-valuenow\": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || \"0\", class: { [CSS.scope]: true, [CSS.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: \"slider\", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: \"0\" }), h(\"div\", { \"aria-label\": this.intlHue, \"aria-valuemax\": HSV_LIMITS.h, \"aria-valuemin\": \"0\", \"aria-valuenow\": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR.round().hue(), class: { [CSS.scope]: true, [CSS.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: \"slider\", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: \"0\" })), hideHex && hideChannels ? null : (h(\"div\", { class: {\n [CSS.controlSection]: true,\n [CSS.section]: true\n } }, hideHex ? null : (h(\"div\", { class: CSS.hexOptions }, h(\"span\", { class: {\n [CSS.header]: true,\n [CSS.headerHex]: true\n } }, intlHex), h(\"calcite-color-picker-hex-input\", { allowEmpty: allowEmpty, class: CSS.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h(\"calcite-tabs\", { class: {\n [CSS.colorModeContainer]: true,\n [CSS.splitSection]: true\n }, scale: hexInputScale }, h(\"calcite-tab-nav\", { slot: \"tab-nav\" }, this.renderChannelsTabTitle(\"rgb\"), this.renderChannelsTabTitle(\"hsv\")), this.renderChannelsTab(\"rgb\"), this.renderChannelsTab(\"hsv\"))))), hideSaved ? null : (h(\"div\", { class: { [CSS.savedColorsSection]: true, [CSS.section]: true } }, h(\"div\", { class: CSS.header }, h(\"label\", null, intlSaved), h(\"div\", { class: CSS.savedColorsButtons }, h(\"calcite-button\", { appearance: \"transparent\", class: CSS.deleteColor, color: \"neutral\", disabled: noColor, iconStart: \"minus\", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: \"button\" }), h(\"calcite-button\", { appearance: \"transparent\", class: CSS.saveColor, color: \"neutral\", disabled: noColor, iconStart: \"plus\", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: \"button\" }))), savedColors.length > 0 ? (h(\"div\", { class: CSS.savedColors }, [\n ...savedColors.map((color) => (h(\"calcite-color-picker-swatch\", { active: selectedColorInHex === color, class: CSS.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))\n ])) : null))));\n }\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n handleKeyDown(event) {\n if (event.key === \"Enter\") {\n event.preventDefault();\n }\n }\n showIncompatibleColorWarning(value, format) {\n console.warn(`ignoring color value (${value}) as it is not compatible with the current format (${format})`);\n }\n setMode(format) {\n this.mode = format === \"auto\" ? this.mode : format;\n }\n captureHueSliderColor(x) {\n const { dimensions: { slider: { width } } } = this;\n const hue = (360 / width) * x;\n this.internalColorSet(this.baseColorFieldColor.hue(hue), false);\n }\n getCanvasRegion(y) {\n const { dimensions: { colorField: { height: colorFieldHeight }, slider: { height: sliderHeight } } } = this;\n if (y <= colorFieldHeight) {\n return \"color-field\";\n }\n if (y <= colorFieldHeight + sliderHeight) {\n return \"slider\";\n }\n return \"none\";\n }\n internalColorSet(color, skipEqual = true, context = \"user-interaction\") {\n if (skipEqual && colorEqual(color, this.color)) {\n return;\n }\n this.internalColorUpdateContext = context;\n this.color = color;\n this.value = this.toValue(color);\n this.internalColorUpdateContext = null;\n }\n toValue(color, format = this.mode) {\n if (!color) {\n return null;\n }\n const hexMode = \"hex\";\n if (format.includes(hexMode)) {\n return normalizeHex(color.round()[hexMode]());\n }\n if (format.includes(\"-css\")) {\n return color[format.replace(\"-css\", \"\").replace(\"a\", \"\")]().round().string();\n }\n const colorObject = color[format]().round().object();\n if (format.endsWith(\"a\")) {\n // normalize alpha prop\n colorObject.a = colorObject.alpha;\n delete colorObject.alpha;\n }\n return colorObject;\n }\n getSliderCapSpacing() {\n const { dimensions: { slider: { height }, thumb: { radius } } } = this;\n return radius * 2 - height;\n }\n updateDimensions(scale = \"m\") {\n this.dimensions = DIMENSIONS[scale];\n }\n drawColorField() {\n const context = this.fieldAndSliderRenderingContext;\n const { dimensions: { colorField: { height, width } } } = this;\n context.fillStyle = this.baseColorFieldColor.hsv().saturationv(100).value(100).string();\n context.fillRect(0, 0, width, height);\n const whiteGradient = context.createLinearGradient(0, 0, width, 0);\n whiteGradient.addColorStop(0, \"rgba(255,255,255,1)\");\n whiteGradient.addColorStop(1, \"rgba(255,255,255,0)\");\n context.fillStyle = whiteGradient;\n context.fillRect(0, 0, width, height);\n const blackGradient = context.createLinearGradient(0, 0, 0, height);\n blackGradient.addColorStop(0, \"rgba(0,0,0,0)\");\n blackGradient.addColorStop(1, \"rgba(0,0,0,1)\");\n context.fillStyle = blackGradient;\n context.fillRect(0, 0, width, height);\n this.drawActiveColorFieldColor();\n }\n setCanvasContextSize(canvas, { height, width }) {\n const devicePixelRatio = window.devicePixelRatio || 1;\n canvas.width = width * devicePixelRatio;\n canvas.height = height * devicePixelRatio;\n canvas.style.height = `${height}px`;\n canvas.style.width = `${width}px`;\n const context = canvas.getContext(\"2d\");\n context.scale(devicePixelRatio, devicePixelRatio);\n }\n updateCanvasSize(canvas) {\n if (!canvas) {\n return;\n }\n this.setCanvasContextSize(canvas, {\n width: this.dimensions.colorField.width,\n height: this.dimensions.colorField.height +\n this.dimensions.slider.height +\n this.getSliderCapSpacing() * 2\n });\n this.drawColorFieldAndSlider();\n }\n containsPoint(testPointX, testPointY, boundsX, boundsY, boundsRadius) {\n return (Math.pow(testPointX - boundsX, 2) + Math.pow(testPointY - boundsY, 2) <=\n Math.pow(boundsRadius, 2));\n }\n drawActiveColorFieldColor() {\n const { color } = this;\n if (!color) {\n return;\n }\n const hsvColor = color.hsv();\n const { dimensions: { colorField: { height, width }, thumb: { radius } } } = this;\n const x = hsvColor.saturationv() / (HSV_LIMITS.s / width);\n const y = height - hsvColor.value() / (HSV_LIMITS.v / height);\n requestAnimationFrame(() => {\n this.colorFieldScopeLeft = x;\n this.colorFieldScopeTop = y;\n });\n this.drawThumb(this.fieldAndSliderRenderingContext, radius, x, y, hsvColor, this.hueThumbState);\n }\n drawThumb(context, radius, x, y, color, state) {\n const startAngle = 0;\n const endAngle = 2 * Math.PI;\n context.beginPath();\n context.arc(x, y, radius, startAngle, endAngle);\n context.shadowBlur = state === \"hover\" ? 32 : 16;\n context.shadowColor = `rgba(0, 0, 0, ${state === \"drag\" ? 0.32 : 0.16})`;\n context.fillStyle = \"#fff\";\n context.fill();\n context.beginPath();\n context.arc(x, y, radius - 3, startAngle, endAngle);\n context.shadowBlur = 0;\n context.shadowColor = \"transparent\";\n context.fillStyle = color.rgb().string();\n context.fill();\n }\n drawActiveHueSliderColor() {\n const { color } = this;\n if (!color) {\n return;\n }\n const hsvColor = color.hsv().saturationv(100).value(100);\n const { dimensions: { colorField: { height: colorFieldHeight }, slider: { height, width }, thumb: { radius } } } = this;\n const x = hsvColor.hue() / (360 / width);\n const y = height / 2 + colorFieldHeight;\n requestAnimationFrame(() => {\n this.hueScopeLeft = x;\n this.hueScopeTop = y;\n });\n this.drawThumb(this.fieldAndSliderRenderingContext, radius, x, y, hsvColor, this.sliderThumbState);\n }\n drawHueSlider() {\n const context = this.fieldAndSliderRenderingContext;\n const { dimensions: { colorField: { height: colorFieldHeight }, slider: { height, width } } } = this;\n const gradient = context.createLinearGradient(0, 0, width, 0);\n const hueSliderColorStopKeywords = [\"red\", \"yellow\", \"lime\", \"cyan\", \"blue\", \"magenta\", \"red\"];\n const offset = 1 / (hueSliderColorStopKeywords.length - 1);\n let currentOffset = 0;\n hueSliderColorStopKeywords.forEach((keyword) => {\n gradient.addColorStop(currentOffset, Color(keyword).string());\n currentOffset += offset;\n });\n context.fillStyle = gradient;\n context.clearRect(0, colorFieldHeight, width, height + this.getSliderCapSpacing() * 2);\n context.fillRect(0, colorFieldHeight, width, height);\n this.drawActiveHueSliderColor();\n }\n updateColorFromChannels(channels) {\n this.internalColorSet(Color(channels, this.channelMode));\n }\n updateChannelsFromColor(color) {\n this.channels = color ? this.toChannels(color) : [null, null, null];\n }\n toChannels(color) {\n const { channelMode } = this;\n return color[channelMode]()\n .array()\n .map((value) => Math.floor(value));\n }\n static get is() { return \"calcite-color-picker\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"color-picker.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"color-picker.css\"]\n };\n }\n static get properties() {\n return {\n \"allowEmpty\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.\\n\\nWhen `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.\"\n },\n \"attribute\": \"allow-empty\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ColorAppearance\",\n \"resolved\": \"\\\"default\\\" | \\\"minimal\\\" | \\\"solid\\\"\",\n \"references\": {\n \"ColorAppearance\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the appearance style of the component -\\n\\n`\\\"solid\\\"` (containing border) or `\\\"minimal\\\"` (no containing border).\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"solid\\\"\"\n },\n \"color\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"InternalColor | null\",\n \"resolved\": \"Color<ColorParam>\",\n \"references\": {\n \"InternalColor\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Internal prop for advanced use-cases.\"\n },\n \"defaultValue\": \"DEFAULT_COLOR\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, interaction is prevented and the component is displayed with lower opacity.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"format\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Format\",\n \"resolved\": \"\\\"auto\\\" | \\\"hex\\\" | \\\"hexa\\\" | \\\"hsl\\\" | \\\"hsl-css\\\" | \\\"hsla\\\" | \\\"hsla-css\\\" | \\\"hsv\\\" | \\\"hsva\\\" | \\\"rgb\\\" | \\\"rgb-css\\\" | \\\"rgba\\\" | \\\"rgba-css\\\"\",\n \"references\": {\n \"Format\": {\n \"location\": \"import\",\n \"path\": \"./utils\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"auto\\\"\"\n }],\n \"text\": \"The format of `value`.\\n\\nWhen `\\\"auto\\\"`, the format will be inferred from `value` when set.\"\n },\n \"attribute\": \"format\",\n \"reflect\": true,\n \"defaultValue\": \"defaultFormat\"\n },\n \"hideHex\": {\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`, hides the Hex input.\"\n },\n \"attribute\": \"hide-hex\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"hideChannels\": {\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`, hides the RGB/HSV channel inputs.\"\n },\n \"attribute\": \"hide-channels\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"hideSaved\": {\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`, hides the saved colors section.\"\n },\n \"attribute\": \"hide-saved\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlB\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"B\\\"\"\n }],\n \"text\": \"Accessible name for the RGB section's blue channel.\"\n },\n \"attribute\": \"intl-b\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.b\"\n },\n \"intlBlue\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Blue\\\"\"\n }],\n \"text\": \"Accessible name for the RGB section's blue channel description.\"\n },\n \"attribute\": \"intl-blue\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.blue\"\n },\n \"intlDeleteColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Delete color\\\"\"\n }],\n \"text\": \"Accessible name for the delete color button.\"\n },\n \"attribute\": \"intl-delete-color\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.deleteColor\"\n },\n \"intlG\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"G\\\"\"\n }],\n \"text\": \"Accessible name for the RGB section's green channel.\"\n },\n \"attribute\": \"intl-g\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.g\"\n },\n \"intlGreen\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Green\\\"\"\n }],\n \"text\": \"Accessible name for the RGB section's green channel description.\"\n },\n \"attribute\": \"intl-green\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.green\"\n },\n \"intlH\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"H\\\"\"\n }],\n \"text\": \"Accessible name for the HSV section's hue channel.\"\n },\n \"attribute\": \"intl-h\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.h\"\n },\n \"intlHsv\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"HSV\\\"\"\n }],\n \"text\": \"Accessible name for the HSV mode.\"\n },\n \"attribute\": \"intl-hsv\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.hsv\"\n },\n \"intlHex\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Hex\\\"\"\n }],\n \"text\": \"Accessible name for the Hex input.\"\n },\n \"attribute\": \"intl-hex\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.hex\"\n },\n \"intlHue\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Hue\\\"\"\n }],\n \"text\": \"Accessible name for the HSV section's hue channel description.\"\n },\n \"attribute\": \"intl-hue\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.hue\"\n },\n \"intlNoColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"No color\\\"\"\n }],\n \"text\": \"Accessible name for the Hex input when there is no color selected.\"\n },\n \"attribute\": \"intl-no-color\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.noColor\"\n },\n \"intlR\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"R\\\"\"\n }],\n \"text\": \"Accessible name for the RGB section's red channel.\"\n },\n \"attribute\": \"intl-r\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.r\"\n },\n \"intlRed\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Red\\\"\"\n }],\n \"text\": \"Accessible name for the RGB section's red channel description.\"\n },\n \"attribute\": \"intl-red\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.red\"\n },\n \"intlRgb\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"RGB\\\"\"\n }],\n \"text\": \"Accessible name for the RGB mode.\"\n },\n \"attribute\": \"intl-rgb\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.rgb\"\n },\n \"intlS\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"S\\\"\"\n }],\n \"text\": \"Accessible name for the HSV section's saturation channel.\"\n },\n \"attribute\": \"intl-s\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.s\"\n },\n \"intlSaturation\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Saturation\\\"\"\n }],\n \"text\": \"Accessible name for the HSV section's saturation channel description.\"\n },\n \"attribute\": \"intl-saturation\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.saturation\"\n },\n \"intlSaveColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Save color\\\"\"\n }],\n \"text\": \"Accessible name for the save color button.\"\n },\n \"attribute\": \"intl-save-color\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.saveColor\"\n },\n \"intlSaved\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Saved\\\"\"\n }],\n \"text\": \"Accessible name for the saved colors section.\"\n },\n \"attribute\": \"intl-saved\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.saved\"\n },\n \"intlV\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"V\\\"\"\n }],\n \"text\": \"Accessible name for the HSV section's value channel.\"\n },\n \"attribute\": \"intl-v\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.v\"\n },\n \"intlValue\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Value\\\"\"\n }],\n \"text\": \"Accessible name for the HSV section's value channel description.\"\n },\n \"attribute\": \"intl-value\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.value\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the component.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"storageId\": {\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 storage ID for colors.\"\n },\n \"attribute\": \"storage-id\",\n \"reflect\": true\n },\n \"numberingSystem\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"NumberingSystem\",\n \"resolved\": \"\\\"arab\\\" | \\\"arabext\\\" | \\\"bali\\\" | \\\"beng\\\" | \\\"deva\\\" | \\\"fullwide\\\" | \\\"gujr\\\" | \\\"guru\\\" | \\\"hanidec\\\" | \\\"khmr\\\" | \\\"knda\\\" | \\\"laoo\\\" | \\\"latn\\\" | \\\"limb\\\" | \\\"mlym\\\" | \\\"mong\\\" | \\\"mymr\\\" | \\\"orya\\\" | \\\"tamldec\\\" | \\\"telu\\\" | \\\"thai\\\" | \\\"tibt\\\"\",\n \"references\": {\n \"NumberingSystem\": {\n \"location\": \"import\",\n \"path\": \"../../utils/locale\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the Unicode numeral system used by the component for localization.\"\n },\n \"attribute\": \"numbering-system\",\n \"reflect\": true\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"ColorValue | null\",\n \"resolved\": \"HSL | HSL & ObjectWithAlpha | HSV | HSV & ObjectWithAlpha | RGB | RGB & ObjectWithAlpha | string\",\n \"references\": {\n \"ColorValue\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"#007ac2\\\"\"\n }, {\n \"name\": \"see\",\n \"text\": \"[CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color)\"\n }, {\n \"name\": \"see\",\n \"text\": \"[ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)\"\n }],\n \"text\": \"The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.\\n\\nThe type will be preserved as the color is updated.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false,\n \"defaultValue\": \"defaultValue\"\n }\n };\n }\n static get states() {\n return {\n \"colorFieldAndSliderInteractive\": {},\n \"channelMode\": {},\n \"channels\": {},\n \"dimensions\": {},\n \"savedColors\": {},\n \"colorFieldScopeTop\": {},\n \"colorFieldScopeLeft\": {},\n \"scopeOrientation\": {},\n \"hueScopeLeft\": {},\n \"hueScopeTop\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteColorPickerChange\",\n \"name\": \"calciteColorPickerChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the color value has changed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteColorPickerInput\",\n \"name\": \"calciteColorPickerInput\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires as the color value changes.\\n\\nSimilar to the `calciteColorPickerChange` event with the exception of dragging. When dragging the color field or hue slider thumb, this event fires as the thumb is moved.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"color\",\n \"methodName\": \"handleColorChange\"\n }, {\n \"propName\": \"format\",\n \"methodName\": \"handleFormatChange\"\n }, {\n \"propName\": \"scale\",\n \"methodName\": \"handleScaleChange\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"handleValueChange\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"keydown\",\n \"method\": \"handleChannelKeyUpOrDown\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"keyup\",\n \"method\": \"handleChannelKeyUpOrDown\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|
@@ -1,77 +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 { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
7
|
-
import { g as getAncestors, a as getDepth } from './utils2.js';
|
8
|
-
import { g as guid } from './guid.js';
|
9
|
-
import { g as getElementProp } from './dom.js';
|
10
|
-
|
11
|
-
/*!
|
12
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
14
|
-
* v1.0.0-beta.97
|
15
|
-
*/
|
16
|
-
const CSS = {
|
17
|
-
list: "list",
|
18
|
-
label: "label",
|
19
|
-
title: "title"
|
20
|
-
};
|
21
|
-
|
22
|
-
const comboboxItemGroupCss = "@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}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:0;margin-inline:var(--calcite-combobox-item-spacing-unit-s)}";
|
23
|
-
|
24
|
-
const ComboboxItemGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
25
|
-
constructor() {
|
26
|
-
super();
|
27
|
-
this.__registerHost();
|
28
|
-
this.__attachShadow();
|
29
|
-
this.guid = guid();
|
30
|
-
this.scale = "m";
|
31
|
-
}
|
32
|
-
// --------------------------------------------------------------------------
|
33
|
-
//
|
34
|
-
// Lifecycle
|
35
|
-
//
|
36
|
-
// --------------------------------------------------------------------------
|
37
|
-
connectedCallback() {
|
38
|
-
this.ancestors = getAncestors(this.el);
|
39
|
-
this.scale = getElementProp(this.el, "scale", this.scale);
|
40
|
-
}
|
41
|
-
// --------------------------------------------------------------------------
|
42
|
-
//
|
43
|
-
// Render Methods
|
44
|
-
//
|
45
|
-
// --------------------------------------------------------------------------
|
46
|
-
render() {
|
47
|
-
const { el, scale } = this;
|
48
|
-
const indent = `${CSS.label}--indent-${getDepth(el)}`;
|
49
|
-
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, h("span", { class: CSS.title }, this.label)), h("slot", null)));
|
50
|
-
}
|
51
|
-
get el() { return this; }
|
52
|
-
static get style() { return comboboxItemGroupCss; }
|
53
|
-
}, [1, "calcite-combobox-item-group", {
|
54
|
-
"ancestors": [1040],
|
55
|
-
"label": [1]
|
56
|
-
}]);
|
57
|
-
function defineCustomElement$1() {
|
58
|
-
if (typeof customElements === "undefined") {
|
59
|
-
return;
|
60
|
-
}
|
61
|
-
const components = ["calcite-combobox-item-group"];
|
62
|
-
components.forEach(tagName => { switch (tagName) {
|
63
|
-
case "calcite-combobox-item-group":
|
64
|
-
if (!customElements.get(tagName)) {
|
65
|
-
customElements.define(tagName, ComboboxItemGroup);
|
66
|
-
}
|
67
|
-
break;
|
68
|
-
} });
|
69
|
-
}
|
70
|
-
defineCustomElement$1();
|
71
|
-
|
72
|
-
const CalciteComboboxItemGroup = ComboboxItemGroup;
|
73
|
-
const defineCustomElement = defineCustomElement$1;
|
74
|
-
|
75
|
-
export { CalciteComboboxItemGroup, defineCustomElement };
|
76
|
-
|
77
|
-
//# sourceMappingURL=calcite-combobox-item-group.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-combobox-item-group.js","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,KAAK,EAAE,OAAO;AAChB,CAAC;;ACTD,MAAM,oBAAoB,GAAG,+7FAA+7F;;MCa/8F,iBAAiB;EAC5B;;;;IACE,IAAI,CAAC,IAAI,GAAG,IAAI,EAAE,CAAC;IACnB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;GAClB;;;;;;EAMD,iBAAiB;IACf,IAAI,CAAC,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACvC,IAAI,CAAC,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;GAC3D;;;;;;EAMD,MAAM;IACJ,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAC3B,MAAM,MAAM,GAAG,GAAG,GAAG,CAAC,KAAK,YAAY,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;IACtD,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,iBAAiB,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,EAAE,CAAC,UAAU,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,GAAG,IAAI,EAAE,CAAC,MAAM,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE;GACzR;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css?tag=calcite-combobox-item-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.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 list: \"list\",\n label: \"label\",\n title: \"title\"\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.scale--s {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n --calcite-combobox-item-spacing-unit-l: 0.5rem;\n --calcite-combobox-item-spacing-unit-s: 0.25rem;\n --calcite-combobox-item-spacing-indent-1: 0.5rem;\n --calcite-combobox-item-spacing-indent-2: 1rem;\n}\n\n.scale--m {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n --calcite-combobox-item-spacing-unit-l: 0.75rem;\n --calcite-combobox-item-spacing-unit-s: 0.5rem;\n --calcite-combobox-item-spacing-indent-1: 0.75rem;\n --calcite-combobox-item-spacing-indent-2: 1.5rem;\n}\n\n.scale--l {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n --calcite-combobox-item-spacing-unit-l: 1rem;\n --calcite-combobox-item-spacing-unit-s: 0.75rem;\n --calcite-combobox-item-spacing-indent-1: 1rem;\n --calcite-combobox-item-spacing-indent-2: 2rem;\n}\n\n:host, \n.list {\n margin: 0px;\n display: flex;\n flex-direction: column;\n padding: 0px;\n}\n\n:host(:focus), \n.list:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.label {\n box-sizing: border-box;\n display: flex;\n inline-size: 100%;\n min-inline-size: 0px;\n max-inline-size: 100%;\n color: var(--calcite-ui-text-3);\n}\n\n.label--indent-1 {\n padding-inline-start: var(--calcite-combobox-item-spacing-indent-1);\n}\n\n.label--indent-2 {\n padding-inline-start: var(--calcite-combobox-item-spacing-indent-2);\n}\n\n.title {\n border: 0 solid;\n display: block;\n flex: 1 1 0%;\n border-block-end-width: 1px;\n font-weight: var(--calcite-font-weight-bold);\n color: var(--calcite-ui-text-2);\n word-wrap: break-word;\n word-break: break-word;\n border-block-end-color: var(--calcite-ui-border-3);\n padding-block: var(--calcite-combobox-item-spacing-unit-l);\n padding-inline: 0;\n margin-inline: var(--calcite-combobox-item-spacing-unit-s);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport { getAncestors, getDepth } from \"../combobox/utils\";\nimport { guid } from \"../../utils/guid\";\nimport { getElementProp } from \"../../utils/dom\";\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\nexport class ComboboxItemGroup {\n constructor() {\n this.guid = guid();\n this.scale = \"m\";\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n this.ancestors = getAncestors(this.el);\n this.scale = getElementProp(this.el, \"scale\", this.scale);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const { el, scale } = this;\n const indent = `${CSS.label}--indent-${getDepth(el)}`;\n return (h(\"ul\", { \"aria-labelledby\": this.guid, class: { [CSS.list]: true, [`scale--${scale}`]: true }, role: \"group\" }, h(\"li\", { class: { [CSS.label]: true, [indent]: true }, id: this.guid, role: \"presentation\" }, h(\"span\", { class: CSS.title }, this.label)), h(\"slot\", null)));\n }\n static get is() { return \"calcite-combobox-item-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"combobox-item-group.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"combobox-item-group.css\"]\n };\n }\n static get properties() {\n return {\n \"ancestors\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"ComboboxChildElement[]\",\n \"resolved\": \"ComboboxChildElement[]\",\n \"references\": {\n \"ComboboxChildElement\": {\n \"location\": \"import\",\n \"path\": \"../combobox/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`.\"\n }\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the title of the component.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
|
@@ -1,13 +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 { C as ComboboxItem, d as defineCustomElement$1 } from './combobox-item.js';
|
7
|
-
|
8
|
-
const CalciteComboboxItem = ComboboxItem;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalciteComboboxItem, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-combobox-item.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-combobox-item.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,13 +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 { C as Combobox, d as defineCustomElement$1 } from './combobox.js';
|
7
|
-
|
8
|
-
const CalciteCombobox = Combobox;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalciteCombobox, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-combobox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-combobox.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,13 +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 { D as DatePickerDay, d as defineCustomElement$1 } from './date-picker-day.js';
|
7
|
-
|
8
|
-
const CalciteDatePickerDay = DatePickerDay;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalciteDatePickerDay, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-date-picker-day.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-date-picker-day.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,13 +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 { D as DatePickerMonthHeader, d as defineCustomElement$1 } from './date-picker-month-header.js';
|
7
|
-
|
8
|
-
const CalciteDatePickerMonthHeader = DatePickerMonthHeader;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalciteDatePickerMonthHeader, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-date-picker-month-header.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-date-picker-month-header.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,13 +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 { D as DatePickerMonth, d as defineCustomElement$1 } from './date-picker-month.js';
|
7
|
-
|
8
|
-
const CalciteDatePickerMonth = DatePickerMonth;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalciteDatePickerMonth, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-date-picker-month.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-date-picker-month.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,13 +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 { D as DatePicker, d as defineCustomElement$1 } from './date-picker.js';
|
7
|
-
|
8
|
-
const CalciteDatePicker = DatePicker;
|
9
|
-
const defineCustomElement = defineCustomElement$1;
|
10
|
-
|
11
|
-
export { CalciteDatePicker, defineCustomElement };
|
12
|
-
|
13
|
-
//# sourceMappingURL=calcite-date-picker.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-date-picker.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,101 +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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { g as getElementProp } from './dom.js';
|
8
|
-
|
9
|
-
/*!
|
10
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
11
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
12
|
-
* v1.0.0-beta.97
|
13
|
-
*/
|
14
|
-
const CSS = {
|
15
|
-
containerSmall: "container--s",
|
16
|
-
containerMedium: "container--m",
|
17
|
-
containerLarge: "container--l"
|
18
|
-
};
|
19
|
-
|
20
|
-
const dropdownGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{-webkit-margin-after:-1px;margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}";
|
21
|
-
|
22
|
-
const DropdownGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
23
|
-
constructor() {
|
24
|
-
super();
|
25
|
-
this.__registerHost();
|
26
|
-
this.__attachShadow();
|
27
|
-
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange", 6);
|
28
|
-
/**
|
29
|
-
specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),
|
30
|
-
none (no active items), defaults to single
|
31
|
-
*/
|
32
|
-
this.selectionMode = "single";
|
33
|
-
}
|
34
|
-
//--------------------------------------------------------------------------
|
35
|
-
//
|
36
|
-
// Lifecycle
|
37
|
-
//
|
38
|
-
//--------------------------------------------------------------------------
|
39
|
-
componentWillLoad() {
|
40
|
-
this.groupPosition = this.getGroupPosition();
|
41
|
-
}
|
42
|
-
render() {
|
43
|
-
const scale = this.scale || getElementProp(this.el, "scale", "m");
|
44
|
-
const groupTitle = this.groupTitle ? (h("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
45
|
-
const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
|
46
|
-
return (h(Host, { "aria-label": this.groupTitle, role: "group" }, h("div", { class: {
|
47
|
-
container: true,
|
48
|
-
[CSS.containerSmall]: scale === "s",
|
49
|
-
[CSS.containerMedium]: scale === "m",
|
50
|
-
[CSS.containerLarge]: scale === "l"
|
51
|
-
}, title: this.groupTitle }, dropdownSeparator, groupTitle, h("slot", null))));
|
52
|
-
}
|
53
|
-
//--------------------------------------------------------------------------
|
54
|
-
//
|
55
|
-
// Event Listeners
|
56
|
-
//
|
57
|
-
//--------------------------------------------------------------------------
|
58
|
-
updateActiveItemOnChange(event) {
|
59
|
-
this.requestedDropdownGroup = event.detail.requestedDropdownGroup;
|
60
|
-
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
61
|
-
this.calciteInternalDropdownItemChange.emit({
|
62
|
-
requestedDropdownGroup: this.requestedDropdownGroup,
|
63
|
-
requestedDropdownItem: this.requestedDropdownItem
|
64
|
-
});
|
65
|
-
}
|
66
|
-
//--------------------------------------------------------------------------
|
67
|
-
//
|
68
|
-
// Private Methods
|
69
|
-
//
|
70
|
-
//--------------------------------------------------------------------------
|
71
|
-
getGroupPosition() {
|
72
|
-
return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"), this.el);
|
73
|
-
}
|
74
|
-
get el() { return this; }
|
75
|
-
static get style() { return dropdownGroupCss; }
|
76
|
-
}, [1, "calcite-dropdown-group", {
|
77
|
-
"groupTitle": [513, "group-title"],
|
78
|
-
"selectionMode": [513, "selection-mode"],
|
79
|
-
"scale": [513]
|
80
|
-
}, [[0, "calciteInternalDropdownItemSelect", "updateActiveItemOnChange"]]]);
|
81
|
-
function defineCustomElement$1() {
|
82
|
-
if (typeof customElements === "undefined") {
|
83
|
-
return;
|
84
|
-
}
|
85
|
-
const components = ["calcite-dropdown-group"];
|
86
|
-
components.forEach(tagName => { switch (tagName) {
|
87
|
-
case "calcite-dropdown-group":
|
88
|
-
if (!customElements.get(tagName)) {
|
89
|
-
customElements.define(tagName, DropdownGroup);
|
90
|
-
}
|
91
|
-
break;
|
92
|
-
} });
|
93
|
-
}
|
94
|
-
defineCustomElement$1();
|
95
|
-
|
96
|
-
const CalciteDropdownGroup = DropdownGroup;
|
97
|
-
const defineCustomElement = defineCustomElement$1;
|
98
|
-
|
99
|
-
export { CalciteDropdownGroup, defineCustomElement };
|
100
|
-
|
101
|
-
//# sourceMappingURL=calcite-dropdown-group.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-dropdown-group.js","mappings":";;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,eAAe,EAAE,cAAc;AACjC,EAAE,cAAc,EAAE,cAAc;AAChC,CAAC;;ACTD,MAAM,gBAAgB,GAAG,0hEAA0hE;;MCWtiE,aAAa;EACxB;;;;;;;;;IAKE,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;GAC/B;;;;;;EAMD,iBAAiB;IACf,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;GAC9C;EACD,MAAM;IACJ,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC;IAC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down-group/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css?tag=calcite-dropdown-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.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 containerSmall: \"container--s\",\n containerMedium: \"container--m\",\n containerLarge: \"container--l\"\n};\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: block;\n}\n\n.container {\n text-align: start;\n}\n\n.container--s {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n.container--s .dropdown-title {\n padding: 0.5rem;\n}\n\n.container--m {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n.container--m .dropdown-title {\n padding: 0.75rem;\n}\n\n.container--l {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n.container--l .dropdown-title {\n padding: 1rem;\n}\n\n.dropdown-title {\n margin-block-end: -1px;\n display: block;\n cursor: default;\n overflow-wrap: break-word;\n border-width: 0px;\n border-block-end-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n font-weight: var(--calcite-font-weight-bold);\n color: var(--calcite-ui-text-2);\n}\n\n.dropdown-separator {\n display: block;\n block-size: 1px;\n background-color: var(--calcite-ui-border-3);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Host } from \"@stencil/core\";\nimport { getElementProp } from \"../../utils/dom\";\nimport { CSS } from \"./resources\";\n/**\n * @slot - A slot for adding `calcite-dropdown-item` components.\n */\nexport class DropdownGroup {\n constructor() {\n /**\n specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),\n none (no active items), defaults to single\n */\n this.selectionMode = \"single\";\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentWillLoad() {\n this.groupPosition = this.getGroupPosition();\n }\n render() {\n const scale = this.scale || getElementProp(this.el, \"scale\", \"m\");\n const groupTitle = this.groupTitle ? (h(\"span\", { \"aria-hidden\": \"true\", class: \"dropdown-title\" }, this.groupTitle)) : null;\n const dropdownSeparator = this.groupPosition > 0 ? h(\"div\", { class: \"dropdown-separator\", role: \"separator\" }) : null;\n return (h(Host, { \"aria-label\": this.groupTitle, role: \"group\" }, h(\"div\", { class: {\n container: true,\n [CSS.containerSmall]: scale === \"s\",\n [CSS.containerMedium]: scale === \"m\",\n [CSS.containerLarge]: scale === \"l\"\n }, title: this.groupTitle }, dropdownSeparator, groupTitle, h(\"slot\", null))));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n updateActiveItemOnChange(event) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.calciteInternalDropdownItemChange.emit({\n requestedDropdownGroup: this.requestedDropdownGroup,\n requestedDropdownItem: this.requestedDropdownItem\n });\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n getGroupPosition() {\n return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll(\"calcite-dropdown-group\"), this.el);\n }\n static get is() { return \"calcite-dropdown-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"dropdown-group.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"dropdown-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\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally set a group title for display\"\n },\n \"attribute\": \"group-title\",\n \"reflect\": true\n },\n \"selectionMode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"SelectionMode\",\n \"resolved\": \"\\\"multi\\\" | \\\"none\\\" | \\\"single\\\"\",\n \"references\": {\n \"SelectionMode\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),\\nnone (no active items), defaults to single\"\n },\n \"attribute\": \"selection-mode\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"single\\\"\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the action.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteInternalDropdownItemChange\",\n \"name\": \"calciteInternalDropdownItemChange\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"RequestedItem\",\n \"resolved\": \"RequestedItem\",\n \"references\": {\n \"RequestedItem\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"calciteInternalDropdownItemSelect\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"version":3}
|