@esri/solutions-components 0.0.2 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -5
- package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js +0 -2
- package/dist/cjs/CalciteHeading-d765addc.js +0 -2
- package/dist/cjs/_commonjsHelpers-84e109b5.js +26 -0
- package/dist/cjs/array-cd6c0c32.js +0 -2
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action.cjs.entry.js +0 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block.cjs.entry.js +0 -2
- package/dist/cjs/calcite-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-card.cjs.entry.js +0 -2
- package/dist/cjs/calcite-checkbox_4.cjs.entry.js +0 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +3 -4
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -3
- package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -4
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
- package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-message.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-label.cjs.entry.js +0 -2
- package/dist/cjs/calcite-link.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-loader.cjs.entry.js +0 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
- package/dist/cjs/calcite-panel_14.cjs.entry.js +41 -8
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-group-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio.cjs.entry.js +0 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
- package/dist/cjs/calcite-select.cjs.entry.js +0 -2
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
- package/dist/cjs/calcite-slider.cjs.entry.js +0 -2
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-value-list.cjs.entry.js +0 -2
- package/dist/cjs/common-a4edb52d.js +216 -0
- package/dist/cjs/date-0554c4d1.js +0 -2
- package/dist/cjs/debounce-df22462b.js +0 -2
- package/dist/cjs/dom-62511f59.js +0 -2
- package/dist/cjs/editStore-36fc36e6.js +2024 -0
- package/dist/cjs/forIn-6a1c2f6d.js +0 -2
- package/dist/cjs/form-0b5b2d4e.js +0 -2
- package/dist/cjs/generalHelpers-cee7d0da.js +168 -0
- package/dist/cjs/guid-c6be9504.js +0 -2
- package/dist/cjs/{index-706750dc.js → index-69e74dd7.js} +5 -19
- package/dist/cjs/index-81c17948.js +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/interfaces-5ba2c1a7.js +0 -2
- package/dist/cjs/key-2a6290c8.js +0 -2
- package/dist/cjs/label-46482470.js +0 -2
- package/dist/cjs/loader.cjs.js +1 -3
- package/dist/cjs/locale-0db34680.js +0 -2
- package/dist/cjs/math-71f8de66.js +0 -2
- package/dist/cjs/number-697ce34c.js +0 -2
- package/dist/cjs/observers-88bbd6ef.js +0 -2
- package/dist/cjs/popper-8c8dc960.js +0 -2
- package/dist/cjs/request-6905140c.js +550 -0
- package/dist/cjs/resources-20f88094.js +0 -2
- package/dist/cjs/resources-27c22d8a.js +0 -2
- package/dist/cjs/{resources-369e7421.js → resources-2a401414.js} +1 -3
- package/dist/cjs/resources-46af0638.js +0 -2
- package/dist/cjs/resources-509951f9.js +0 -2
- package/dist/cjs/resources-5b7958e4.js +0 -2
- package/dist/cjs/resources-a265534b.js +0 -2
- package/dist/cjs/resources-e231446d.js +0 -2
- package/dist/cjs/resources-ef6c71a1.js +0 -2
- package/dist/cjs/shared-list-render-63d3ea89.js +0 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +172 -14
- package/dist/cjs/solution-contents_3.cjs.entry.js +42 -68
- package/dist/cjs/solutions.cjs.js +1 -3
- package/dist/cjs/sortable.esm-14548a17.js +0 -2
- package/dist/cjs/store-manager.cjs.entry.js +17 -8
- package/dist/cjs/templates-a0242ced.js +422 -0
- package/dist/cjs/time-c87dc79e.js +0 -2
- package/dist/cjs/utils-c19d354a.js +0 -2
- package/dist/cjs/utils-cb7373e6.js +0 -2
- package/dist/collection/assets/nls/fr/strings.js +2 -0
- package/dist/collection/assets/nls/strings.js +2 -0
- package/dist/collection/collection-manifest.json +9 -9
- package/dist/collection/components/json-editor/json-editor.js +40 -2
- package/dist/collection/components/solution-configuration/solution-configuration.js +251 -24
- package/dist/collection/components/solution-contents/solution-contents.js +12 -3
- package/dist/collection/components/solution-item/solution-item.css +1 -0
- package/dist/collection/components/solution-item/solution-item.js +2 -2
- package/dist/collection/components/solution-item-details/solution-item-details.js +4 -3
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +2 -2
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +2 -2
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +2 -2
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +68 -68
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -2
- package/dist/collection/components/solution-template-data/solution-template-data.js +4 -4
- package/dist/collection/components/solution-variables/solution-variables.js +2 -2
- package/dist/collection/components/store-manager/store-manager.js +49 -5
- package/dist/collection/demos/browse-solutions.html +136 -54
- package/dist/collection/demos/solution-configuration.html +139 -12
- package/dist/collection/demos/solution-spatial-ref.html +1 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/common.js +25 -77
- package/dist/collection/utils/common.ts +42 -73
- package/dist/collection/utils/editStore.js +0 -1
- package/dist/{solutions/p-ecbfddde.js → collection/utils/interfaces.js} +16 -17
- package/dist/collection/utils/interfaces.ts +126 -0
- package/dist/collection/utils/templates.js +8 -6
- package/dist/collection/utils/templates.ts +19 -33
- package/dist/custom-elements/index.js +3161 -152
- package/dist/esm/CalciteExpandToggle-5df46988.js +0 -2
- package/dist/esm/CalciteHeading-79b4b347.js +0 -2
- package/dist/esm/_commonjsHelpers-84c626bc.js +22 -0
- package/dist/esm/array-71e0c501.js +0 -2
- package/dist/esm/calcite-accordion-item.entry.js +0 -2
- package/dist/esm/calcite-accordion.entry.js +0 -2
- package/dist/esm/calcite-action-bar.entry.js +0 -2
- package/dist/esm/calcite-action-group.entry.js +0 -2
- package/dist/esm/calcite-action-menu_3.entry.js +0 -2
- package/dist/esm/calcite-action-pad.entry.js +0 -2
- package/dist/esm/calcite-action.entry.js +0 -2
- package/dist/esm/calcite-alert.entry.js +0 -2
- package/dist/esm/calcite-avatar.entry.js +0 -2
- package/dist/esm/calcite-block-section.entry.js +0 -2
- package/dist/esm/calcite-block.entry.js +0 -2
- package/dist/esm/calcite-button.entry.js +0 -2
- package/dist/esm/calcite-card.entry.js +0 -2
- package/dist/esm/calcite-checkbox_4.entry.js +0 -2
- package/dist/esm/calcite-chip.entry.js +0 -2
- package/dist/esm/calcite-color-picker-hex-input.entry.js +3 -4
- package/dist/esm/calcite-color-picker-swatch.entry.js +2 -3
- package/dist/esm/calcite-color-picker.entry.js +3 -4
- package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
- package/dist/esm/calcite-combobox-item.entry.js +0 -2
- package/dist/esm/calcite-combobox.entry.js +0 -2
- package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
- package/dist/esm/calcite-date-picker.entry.js +0 -2
- package/dist/esm/calcite-dropdown-group.entry.js +0 -2
- package/dist/esm/calcite-dropdown-item.entry.js +0 -2
- package/dist/esm/calcite-dropdown.entry.js +0 -2
- package/dist/esm/calcite-fab.entry.js +0 -2
- package/dist/esm/calcite-filter.entry.js +0 -2
- package/dist/esm/calcite-flow.entry.js +0 -2
- package/dist/esm/calcite-graph.entry.js +0 -2
- package/dist/esm/calcite-handle.entry.js +0 -2
- package/dist/esm/calcite-icon.entry.js +0 -2
- package/dist/esm/calcite-inline-editable.entry.js +0 -2
- package/dist/esm/calcite-input-date-picker.entry.js +0 -2
- package/dist/esm/calcite-input-message.entry.js +0 -2
- package/dist/esm/calcite-input-time-picker.entry.js +0 -2
- package/dist/esm/calcite-input_2.entry.js +0 -2
- package/dist/esm/calcite-label.entry.js +0 -2
- package/dist/esm/calcite-link.entry.js +0 -2
- package/dist/esm/calcite-list-item-group.entry.js +0 -2
- package/dist/esm/calcite-list-item.entry.js +0 -2
- package/dist/esm/calcite-list.entry.js +0 -2
- package/dist/esm/calcite-loader.entry.js +0 -2
- package/dist/esm/calcite-modal.entry.js +0 -2
- package/dist/esm/calcite-notice.entry.js +0 -2
- package/dist/esm/calcite-option-group.entry.js +0 -2
- package/dist/esm/calcite-option.entry.js +0 -2
- package/dist/esm/calcite-pagination.entry.js +0 -2
- package/dist/esm/calcite-panel_14.entry.js +37 -4
- package/dist/esm/calcite-pick-list-group.entry.js +0 -2
- package/dist/esm/calcite-pick-list-item.entry.js +0 -2
- package/dist/esm/calcite-pick-list.entry.js +0 -2
- package/dist/esm/calcite-popover-manager.entry.js +0 -2
- package/dist/esm/calcite-radio-button-group.entry.js +0 -2
- package/dist/esm/calcite-radio-button.entry.js +0 -2
- package/dist/esm/calcite-radio-group-item.entry.js +0 -2
- package/dist/esm/calcite-radio-group.entry.js +0 -2
- package/dist/esm/calcite-radio.entry.js +0 -2
- package/dist/esm/calcite-rating.entry.js +0 -2
- package/dist/esm/calcite-scrim.entry.js +0 -2
- package/dist/esm/calcite-select.entry.js +0 -2
- package/dist/esm/calcite-shell-center-row.entry.js +0 -2
- package/dist/esm/calcite-slider.entry.js +0 -2
- package/dist/esm/calcite-sortable-list.entry.js +0 -2
- package/dist/esm/calcite-split-button.entry.js +0 -2
- package/dist/esm/calcite-stepper-item.entry.js +0 -2
- package/dist/esm/calcite-stepper.entry.js +0 -2
- package/dist/esm/calcite-switch.entry.js +0 -2
- package/dist/esm/calcite-tile-select-group.entry.js +0 -2
- package/dist/esm/calcite-tile-select.entry.js +0 -2
- package/dist/esm/calcite-tile.entry.js +0 -2
- package/dist/esm/calcite-time-picker.entry.js +0 -2
- package/dist/esm/calcite-tip-group.entry.js +0 -2
- package/dist/esm/calcite-tip-manager.entry.js +0 -2
- package/dist/esm/calcite-tip.entry.js +0 -2
- package/dist/esm/calcite-tooltip.entry.js +0 -2
- package/dist/esm/calcite-value-list-item.entry.js +0 -2
- package/dist/esm/calcite-value-list.entry.js +0 -2
- package/dist/esm/common-70333fb9.js +213 -0
- package/dist/esm/date-5d75460a.js +0 -2
- package/dist/esm/debounce-23ad5849.js +0 -2
- package/dist/esm/dom-1cc617ae.js +0 -2
- package/dist/esm/editStore-197be454.js +2022 -0
- package/dist/esm/forIn-c922d47c.js +0 -2
- package/dist/esm/form-636dfed1.js +0 -2
- package/dist/esm/generalHelpers-91e92dc0.js +161 -0
- package/dist/esm/guid-740f1f1a.js +0 -2
- package/dist/esm/index-a3c3e3db.js +0 -2
- package/dist/esm/{index-934f242e.js → index-c1264d13.js} +3 -17
- package/dist/esm/index.js +0 -2
- package/dist/esm/interfaces-4f07beec.js +0 -2
- package/dist/esm/key-1748eb79.js +0 -2
- package/dist/esm/label-851f8926.js +0 -2
- package/dist/esm/loader.js +1 -3
- package/dist/esm/locale-31c8d43b.js +0 -2
- package/dist/esm/math-d8795f31.js +0 -2
- package/dist/esm/number-47ecb380.js +0 -2
- package/dist/esm/observers-b13ff24b.js +0 -2
- package/dist/esm/popper-25874f2f.js +0 -2
- package/dist/esm/request-9c2c9a49.js +548 -0
- package/dist/esm/resources-12c3b829.js +0 -2
- package/dist/esm/resources-32d7dd89.js +0 -2
- package/dist/esm/resources-466ccf86.js +0 -2
- package/dist/esm/resources-4cc0ef44.js +0 -2
- package/dist/esm/resources-861d0240.js +0 -2
- package/dist/esm/resources-b023c30a.js +0 -2
- package/dist/esm/{resources-c537bacb.js → resources-d7e09977.js} +1 -3
- package/dist/esm/resources-e56b6e53.js +0 -2
- package/dist/esm/resources-ec79cfd7.js +0 -2
- package/dist/esm/shared-list-render-b5dacd2e.js +0 -2
- package/dist/esm/solution-configuration.entry.js +172 -14
- package/dist/esm/solution-contents_3.entry.js +42 -68
- package/dist/esm/solutions.js +1 -3
- package/dist/esm/sortable.esm-7856912e.js +0 -2
- package/dist/esm/store-manager.entry.js +17 -8
- package/dist/esm/templates-c15e0de2.js +414 -0
- package/dist/esm/time-a3b29c35.js +0 -2
- package/dist/esm/utils-021cb956.js +0 -2
- package/dist/esm/utils-5fdd203c.js +0 -2
- package/dist/solutions/assets/nls/fr/strings.js +2 -0
- package/dist/solutions/assets/nls/strings.js +2 -0
- package/dist/solutions/demos/browse-solutions.html +136 -54
- package/dist/solutions/demos/solution-configuration.html +139 -12
- package/dist/solutions/demos/solution-spatial-ref.html +1 -1
- package/dist/solutions/index.esm.js +0 -2
- package/dist/solutions/p-03c9247d.entry.js +10 -0
- package/dist/solutions/p-03da5f23.entry.js +6 -0
- package/dist/solutions/p-054256c8.entry.js +10 -0
- package/dist/solutions/p-05c73b7d.js +1 -2
- package/dist/solutions/p-06c2b347.entry.js +6 -0
- package/dist/solutions/p-09a06209.entry.js +6 -0
- package/dist/solutions/p-09e5283f.entry.js +6 -0
- package/dist/solutions/p-0a0ca7d3.entry.js +6 -0
- package/dist/solutions/p-0b8525e2.js +1 -2
- package/dist/solutions/p-0bddf168.entry.js +10 -0
- package/dist/solutions/p-0dd00bd7.entry.js +6 -0
- package/dist/solutions/p-0f8fd0f8.entry.js +10 -0
- package/dist/solutions/p-1345c0c8.js +6 -0
- package/dist/solutions/p-1387e8ef.entry.js +10 -0
- package/dist/solutions/p-17195493.entry.js +6 -0
- package/dist/solutions/p-172b8454.js +38 -0
- package/dist/solutions/p-173c3a97.entry.js +10 -0
- package/dist/solutions/p-175fe700.entry.js +6 -0
- package/dist/solutions/p-17f21116.entry.js +6 -0
- package/dist/solutions/p-18657c74.entry.js +10 -0
- package/dist/solutions/p-20c8a31e.entry.js +14 -0
- package/dist/solutions/p-228131f3.js +3 -3
- package/dist/solutions/p-2480c2c3.entry.js +10 -0
- package/dist/solutions/p-291cbb4f.js +1 -2
- package/dist/solutions/p-29d230fb.entry.js +6 -0
- package/dist/solutions/p-2de43402.entry.js +10 -0
- package/dist/solutions/p-2e1cd889.js +1 -2
- package/dist/solutions/p-386bc1f5.entry.js +10 -0
- package/dist/solutions/p-3956acc6.entry.js +6 -0
- package/dist/solutions/p-3ce922dd.js +20 -0
- package/dist/solutions/p-3e67ed97.js +1 -2
- package/dist/solutions/p-3eac2c21.entry.js +10 -0
- package/dist/solutions/p-3fd65329.entry.js +6 -0
- package/dist/solutions/p-41c2e1cc.js +1 -2
- package/dist/solutions/p-42f5b6d1.entry.js +10 -0
- package/dist/solutions/p-44e661a2.js +1 -2
- package/dist/solutions/p-4847f326.entry.js +10 -0
- package/dist/solutions/p-4a5b86a0.entry.js +10 -0
- package/dist/solutions/p-4f8cae93.entry.js +10 -0
- package/dist/solutions/p-51c9f2db.entry.js +10 -0
- package/dist/solutions/p-52d835be.entry.js +10 -0
- package/dist/solutions/p-55dddf06.entry.js +10 -0
- package/dist/solutions/p-56a376ea.entry.js +6 -0
- package/dist/solutions/p-57e5029a.entry.js +6 -0
- package/dist/solutions/p-58b7f4aa.entry.js +10 -0
- package/dist/solutions/p-5cd9ccc3.entry.js +22 -0
- package/dist/solutions/p-5dd4cf97.entry.js +6 -0
- package/dist/solutions/p-5edf418e.entry.js +10 -0
- package/dist/solutions/p-64711824.entry.js +10 -0
- package/dist/solutions/p-68bf7243.entry.js +11 -0
- package/dist/solutions/p-7096464e.js +3 -4
- package/dist/solutions/p-720922e5.entry.js +10 -0
- package/dist/solutions/p-73e2d13f.js +1 -2
- package/dist/solutions/p-73e8d41c.entry.js +10 -0
- package/dist/solutions/p-7804ce97.js +1 -2
- package/dist/solutions/p-79064f42.entry.js +6 -0
- package/dist/solutions/p-7976d171.entry.js +6 -0
- package/dist/solutions/p-7a98627f.entry.js +10 -0
- package/dist/solutions/p-7aaed3f1.entry.js +10 -0
- package/dist/solutions/p-7cc9c6af.js +2 -7
- package/dist/solutions/p-7df393df.js +1 -2
- package/dist/solutions/p-7f93b2dd.entry.js +6 -0
- package/dist/solutions/p-82ab483b.entry.js +10 -0
- package/dist/solutions/p-8565f0c1.entry.js +10 -0
- package/dist/solutions/p-85cf288c.js +1 -2
- package/dist/solutions/p-8701d184.entry.js +10 -0
- package/dist/solutions/p-946521e1.js +2 -3
- package/dist/solutions/p-974d27a4.entry.js +10 -0
- package/dist/solutions/p-9c08ce38.entry.js +6 -0
- package/dist/solutions/p-9deb6df3.js +36 -0
- package/dist/solutions/p-9df9ac35.js +1 -2
- package/dist/solutions/p-9ed0c781.entry.js +6 -0
- package/dist/solutions/p-9f3fa133.entry.js +10 -0
- package/dist/solutions/p-a10dc180.js +1 -2
- package/dist/solutions/p-a201c2ea.entry.js +6 -0
- package/dist/solutions/p-a598cbb6.entry.js +10 -0
- package/dist/solutions/p-a59dfe85.entry.js +6 -0
- package/dist/solutions/p-a5fbf459.entry.js +11 -0
- package/dist/solutions/p-a6faf819.entry.js +10 -0
- package/dist/solutions/p-a8b4d400.entry.js +10 -0
- package/dist/solutions/p-a93a4772.entry.js +10 -0
- package/dist/solutions/{p-07099311.entry.js → p-a9dd9571.entry.js} +1 -2
- package/dist/solutions/p-a9df64c4.js +1 -2
- package/dist/solutions/p-aa11e35b.entry.js +10 -0
- package/dist/solutions/p-ae4a329c.entry.js +6 -0
- package/dist/solutions/p-af9be2ca.js +1 -2
- package/dist/solutions/p-b16a91ae.entry.js +6 -0
- package/dist/solutions/p-b5693287.entry.js +6 -0
- package/dist/solutions/p-b5bbe558.entry.js +10 -0
- package/dist/solutions/p-b81ebd54.entry.js +10 -0
- package/dist/solutions/p-b85c1b6a.entry.js +6 -0
- package/dist/solutions/p-bb3adfc7.entry.js +10 -0
- package/dist/solutions/p-c11b966c.entry.js +10 -0
- package/dist/solutions/p-c1e7f656.entry.js +6 -0
- package/dist/solutions/p-c27b17b8.entry.js +10 -0
- package/dist/solutions/p-c34e0641.js +1 -2
- package/dist/solutions/p-c5216bba.entry.js +10 -0
- package/dist/solutions/p-c8a69756.entry.js +10 -0
- package/dist/solutions/p-cb35cbb3.entry.js +6 -0
- package/dist/solutions/p-cb5cb9a8.js +1 -2
- package/dist/solutions/p-cef98db7.js +6 -0
- package/dist/solutions/p-d69bc5fd.entry.js +10 -0
- package/dist/solutions/p-de45b192.entry.js +6 -0
- package/dist/solutions/p-e4edca3b.js +1 -2
- package/dist/solutions/p-e581f631.js +1 -2
- package/dist/solutions/p-e762b2d1.js +3 -3
- package/dist/solutions/p-eb2efc0f.js +1 -2
- package/dist/solutions/p-ec178ea9.js +1 -2
- package/dist/solutions/p-ed17446f.entry.js +6 -0
- package/dist/solutions/p-edd6d948.entry.js +10 -0
- package/dist/solutions/p-ee6eca93.js +18 -0
- package/dist/solutions/{p-4573d7c2.js → p-f1867a12.js} +2 -3
- package/dist/solutions/p-f187755e.js +1 -2
- package/dist/solutions/p-f49bc4a8.js +1 -2
- package/dist/solutions/p-f75876eb.js +21 -0
- package/dist/solutions/p-f780039d.js +1 -2
- package/dist/solutions/p-fa58627d.entry.js +10 -0
- package/dist/solutions/p-fbdf3e06.js +2 -3
- package/dist/solutions/p-fc1c8168.js +3 -3
- package/dist/solutions/p-fd2712a3.entry.js +10 -0
- package/dist/solutions/solutions.esm.js +1 -2
- package/dist/solutions/utils/common.ts +42 -73
- package/dist/solutions/utils/interfaces.ts +126 -0
- package/dist/solutions/utils/templates.ts +19 -33
- package/dist/types/components/json-editor/json-editor.d.ts +11 -0
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +73 -9
- package/dist/types/components/solution-contents/solution-contents.d.ts +2 -9
- package/dist/types/components/solution-item/solution-item.d.ts +1 -11
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +1 -10
- package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +1 -8
- package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +1 -5
- package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +1 -4
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +14 -26
- package/dist/types/components/solution-spatial-ref/spatialreferences.d.ts +1 -4
- package/dist/types/components/solution-template-data/solution-template-data.d.ts +1 -7
- package/dist/types/components/solution-variables/solution-variables.d.ts +1 -7
- package/dist/types/components/store-manager/store-manager.d.ts +9 -0
- package/dist/types/components.d.ts +49 -17
- package/dist/types/utils/common.d.ts +13 -38
- package/dist/types/utils/interfaces.d.ts +111 -0
- package/dist/types/utils/templates.d.ts +2 -25
- package/package.json +4 -3
- package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js.map +0 -1
- package/dist/cjs/CalciteHeading-d765addc.js.map +0 -1
- package/dist/cjs/array-cd6c0c32.js.map +0 -1
- package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-checkbox_4.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-message.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-loader.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-notice.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-panel_14.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-group-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-select.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-value-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-value-list.cjs.entry.js.map +0 -1
- package/dist/cjs/common-df66d950.js +0 -53
- package/dist/cjs/common-df66d950.js.map +0 -1
- package/dist/cjs/date-0554c4d1.js.map +0 -1
- package/dist/cjs/debounce-df22462b.js.map +0 -1
- package/dist/cjs/dom-62511f59.js.map +0 -1
- package/dist/cjs/editStore-7a250b85.js +0 -227
- package/dist/cjs/editStore-7a250b85.js.map +0 -1
- package/dist/cjs/forIn-6a1c2f6d.js.map +0 -1
- package/dist/cjs/form-0b5b2d4e.js.map +0 -1
- package/dist/cjs/guid-c6be9504.js.map +0 -1
- package/dist/cjs/index-706750dc.js.map +0 -1
- package/dist/cjs/index-81c17948.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/interfaces-5ba2c1a7.js.map +0 -1
- package/dist/cjs/key-2a6290c8.js.map +0 -1
- package/dist/cjs/label-46482470.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/locale-0db34680.js.map +0 -1
- package/dist/cjs/math-71f8de66.js.map +0 -1
- package/dist/cjs/number-697ce34c.js.map +0 -1
- package/dist/cjs/observers-88bbd6ef.js.map +0 -1
- package/dist/cjs/popper-8c8dc960.js.map +0 -1
- package/dist/cjs/resources-20f88094.js.map +0 -1
- package/dist/cjs/resources-27c22d8a.js.map +0 -1
- package/dist/cjs/resources-369e7421.js.map +0 -1
- package/dist/cjs/resources-46af0638.js.map +0 -1
- package/dist/cjs/resources-509951f9.js.map +0 -1
- package/dist/cjs/resources-5b7958e4.js.map +0 -1
- package/dist/cjs/resources-a265534b.js.map +0 -1
- package/dist/cjs/resources-e231446d.js.map +0 -1
- package/dist/cjs/resources-ef6c71a1.js.map +0 -1
- package/dist/cjs/shared-list-render-63d3ea89.js.map +0 -1
- package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
- package/dist/cjs/solutions.cjs.js.map +0 -1
- package/dist/cjs/sortable.esm-14548a17.js.map +0 -1
- package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/templates-fe6dd431.js +0 -237
- package/dist/cjs/templates-fe6dd431.js.map +0 -1
- package/dist/cjs/time-c87dc79e.js.map +0 -1
- package/dist/cjs/utils-c19d354a.js.map +0 -1
- package/dist/cjs/utils-cb7373e6.js.map +0 -1
- package/dist/collection/components/json-editor/json-editor.js.map +0 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
- package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
- package/dist/collection/components/solution-item/solution-item.js.map +0 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
- package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
- package/dist/collection/components/store-manager/store-manager.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/common.js.map +0 -1
- package/dist/collection/utils/editStore.js.map +0 -1
- package/dist/collection/utils/templates.js.map +0 -1
- package/dist/custom-elements/index.js.map +0 -1
- package/dist/esm/CalciteExpandToggle-5df46988.js.map +0 -1
- package/dist/esm/CalciteHeading-79b4b347.js.map +0 -1
- package/dist/esm/array-71e0c501.js.map +0 -1
- package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
- package/dist/esm/calcite-accordion.entry.js.map +0 -1
- package/dist/esm/calcite-action-bar.entry.js.map +0 -1
- package/dist/esm/calcite-action-group.entry.js.map +0 -1
- package/dist/esm/calcite-action-menu_3.entry.js.map +0 -1
- package/dist/esm/calcite-action-pad.entry.js.map +0 -1
- package/dist/esm/calcite-action.entry.js.map +0 -1
- package/dist/esm/calcite-alert.entry.js.map +0 -1
- package/dist/esm/calcite-avatar.entry.js.map +0 -1
- package/dist/esm/calcite-block-section.entry.js.map +0 -1
- package/dist/esm/calcite-block.entry.js.map +0 -1
- package/dist/esm/calcite-button.entry.js.map +0 -1
- package/dist/esm/calcite-card.entry.js.map +0 -1
- package/dist/esm/calcite-checkbox_4.entry.js.map +0 -1
- package/dist/esm/calcite-chip.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker.entry.js.map +0 -1
- package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-combobox-item.entry.js.map +0 -1
- package/dist/esm/calcite-combobox.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown.entry.js.map +0 -1
- package/dist/esm/calcite-fab.entry.js.map +0 -1
- package/dist/esm/calcite-filter.entry.js.map +0 -1
- package/dist/esm/calcite-flow.entry.js.map +0 -1
- package/dist/esm/calcite-graph.entry.js.map +0 -1
- package/dist/esm/calcite-handle.entry.js.map +0 -1
- package/dist/esm/calcite-icon.entry.js.map +0 -1
- package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
- package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input-message.entry.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input_2.entry.js.map +0 -1
- package/dist/esm/calcite-label.entry.js.map +0 -1
- package/dist/esm/calcite-link.entry.js.map +0 -1
- package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-list-item.entry.js.map +0 -1
- package/dist/esm/calcite-list.entry.js.map +0 -1
- package/dist/esm/calcite-loader.entry.js.map +0 -1
- package/dist/esm/calcite-modal.entry.js.map +0 -1
- package/dist/esm/calcite-notice.entry.js.map +0 -1
- package/dist/esm/calcite-option-group.entry.js.map +0 -1
- package/dist/esm/calcite-option.entry.js.map +0 -1
- package/dist/esm/calcite-pagination.entry.js.map +0 -1
- package/dist/esm/calcite-panel_14.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list.entry.js.map +0 -1
- package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button.entry.js.map +0 -1
- package/dist/esm/calcite-radio-group-item.entry.js.map +0 -1
- package/dist/esm/calcite-radio-group.entry.js.map +0 -1
- package/dist/esm/calcite-radio.entry.js.map +0 -1
- package/dist/esm/calcite-rating.entry.js.map +0 -1
- package/dist/esm/calcite-scrim.entry.js.map +0 -1
- package/dist/esm/calcite-select.entry.js.map +0 -1
- package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
- package/dist/esm/calcite-slider.entry.js.map +0 -1
- package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
- package/dist/esm/calcite-split-button.entry.js.map +0 -1
- package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
- package/dist/esm/calcite-stepper.entry.js.map +0 -1
- package/dist/esm/calcite-switch.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select.entry.js.map +0 -1
- package/dist/esm/calcite-tile.entry.js.map +0 -1
- package/dist/esm/calcite-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-tip-group.entry.js.map +0 -1
- package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
- package/dist/esm/calcite-tip.entry.js.map +0 -1
- package/dist/esm/calcite-tooltip.entry.js.map +0 -1
- package/dist/esm/calcite-value-list-item.entry.js.map +0 -1
- package/dist/esm/calcite-value-list.entry.js.map +0 -1
- package/dist/esm/common-ccccf04d.js +0 -50
- package/dist/esm/common-ccccf04d.js.map +0 -1
- package/dist/esm/date-5d75460a.js.map +0 -1
- package/dist/esm/debounce-23ad5849.js.map +0 -1
- package/dist/esm/dom-1cc617ae.js.map +0 -1
- package/dist/esm/editStore-30a293f5.js +0 -225
- package/dist/esm/editStore-30a293f5.js.map +0 -1
- package/dist/esm/forIn-c922d47c.js.map +0 -1
- package/dist/esm/form-636dfed1.js.map +0 -1
- package/dist/esm/guid-740f1f1a.js.map +0 -1
- package/dist/esm/index-934f242e.js.map +0 -1
- package/dist/esm/index-a3c3e3db.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/interfaces-4f07beec.js.map +0 -1
- package/dist/esm/key-1748eb79.js.map +0 -1
- package/dist/esm/label-851f8926.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/locale-31c8d43b.js.map +0 -1
- package/dist/esm/math-d8795f31.js.map +0 -1
- package/dist/esm/number-47ecb380.js.map +0 -1
- package/dist/esm/observers-b13ff24b.js.map +0 -1
- package/dist/esm/popper-25874f2f.js.map +0 -1
- package/dist/esm/resources-12c3b829.js.map +0 -1
- package/dist/esm/resources-32d7dd89.js.map +0 -1
- package/dist/esm/resources-466ccf86.js.map +0 -1
- package/dist/esm/resources-4cc0ef44.js.map +0 -1
- package/dist/esm/resources-861d0240.js.map +0 -1
- package/dist/esm/resources-b023c30a.js.map +0 -1
- package/dist/esm/resources-c537bacb.js.map +0 -1
- package/dist/esm/resources-e56b6e53.js.map +0 -1
- package/dist/esm/resources-ec79cfd7.js.map +0 -1
- package/dist/esm/shared-list-render-b5dacd2e.js.map +0 -1
- package/dist/esm/solution-configuration.entry.js.map +0 -1
- package/dist/esm/solution-contents_3.entry.js.map +0 -1
- package/dist/esm/solutions.js.map +0 -1
- package/dist/esm/sortable.esm-7856912e.js.map +0 -1
- package/dist/esm/store-manager.entry.js.map +0 -1
- package/dist/esm/templates-3480c08e.js +0 -230
- package/dist/esm/templates-3480c08e.js.map +0 -1
- package/dist/esm/time-a3b29c35.js.map +0 -1
- package/dist/esm/utils-021cb956.js.map +0 -1
- package/dist/esm/utils-5fdd203c.js.map +0 -1
- package/dist/solutions/index.esm.js.map +0 -1
- package/dist/solutions/p-019fe34e.entry.js +0 -11
- package/dist/solutions/p-019fe34e.entry.js.map +0 -1
- package/dist/solutions/p-01d537aa.entry.js +0 -11
- package/dist/solutions/p-01d537aa.entry.js.map +0 -1
- package/dist/solutions/p-05c73b7d.js.map +0 -1
- package/dist/solutions/p-05da6de1.entry.js +0 -11
- package/dist/solutions/p-05da6de1.entry.js.map +0 -1
- package/dist/solutions/p-05eb87fc.entry.js +0 -11
- package/dist/solutions/p-05eb87fc.entry.js.map +0 -1
- package/dist/solutions/p-07099311.entry.js.map +0 -1
- package/dist/solutions/p-07f15398.entry.js +0 -7
- package/dist/solutions/p-07f15398.entry.js.map +0 -1
- package/dist/solutions/p-093edbdc.entry.js +0 -11
- package/dist/solutions/p-093edbdc.entry.js.map +0 -1
- package/dist/solutions/p-0b8525e2.js.map +0 -1
- package/dist/solutions/p-0c91e100.js +0 -7
- package/dist/solutions/p-0c91e100.js.map +0 -1
- package/dist/solutions/p-0fcee724.entry.js +0 -7
- package/dist/solutions/p-0fcee724.entry.js.map +0 -1
- package/dist/solutions/p-17a2150d.entry.js +0 -11
- package/dist/solutions/p-17a2150d.entry.js.map +0 -1
- package/dist/solutions/p-1aaa9800.entry.js +0 -7
- package/dist/solutions/p-1aaa9800.entry.js.map +0 -1
- package/dist/solutions/p-228131f3.js.map +0 -1
- package/dist/solutions/p-22d67647.entry.js +0 -11
- package/dist/solutions/p-22d67647.entry.js.map +0 -1
- package/dist/solutions/p-291cbb4f.js.map +0 -1
- package/dist/solutions/p-2a5c409a.entry.js +0 -7
- package/dist/solutions/p-2a5c409a.entry.js.map +0 -1
- package/dist/solutions/p-2aca233c.entry.js +0 -11
- package/dist/solutions/p-2aca233c.entry.js.map +0 -1
- package/dist/solutions/p-2b6ef800.entry.js +0 -7
- package/dist/solutions/p-2b6ef800.entry.js.map +0 -1
- package/dist/solutions/p-2bae730e.entry.js +0 -11
- package/dist/solutions/p-2bae730e.entry.js.map +0 -1
- package/dist/solutions/p-2d59c6d7.entry.js +0 -11
- package/dist/solutions/p-2d59c6d7.entry.js.map +0 -1
- package/dist/solutions/p-2e1cd889.js.map +0 -1
- package/dist/solutions/p-35eafdfb.entry.js +0 -11
- package/dist/solutions/p-35eafdfb.entry.js.map +0 -1
- package/dist/solutions/p-372da016.entry.js +0 -7
- package/dist/solutions/p-372da016.entry.js.map +0 -1
- package/dist/solutions/p-37407f95.entry.js +0 -7
- package/dist/solutions/p-37407f95.entry.js.map +0 -1
- package/dist/solutions/p-3ae90cbb.entry.js +0 -7
- package/dist/solutions/p-3ae90cbb.entry.js.map +0 -1
- package/dist/solutions/p-3c3ccd03.entry.js +0 -11
- package/dist/solutions/p-3c3ccd03.entry.js.map +0 -1
- package/dist/solutions/p-3e168893.entry.js +0 -11
- package/dist/solutions/p-3e168893.entry.js.map +0 -1
- package/dist/solutions/p-3e67ed97.js.map +0 -1
- package/dist/solutions/p-3ed5096e.entry.js +0 -11
- package/dist/solutions/p-3ed5096e.entry.js.map +0 -1
- package/dist/solutions/p-41c2e1cc.js.map +0 -1
- package/dist/solutions/p-44e661a2.js.map +0 -1
- package/dist/solutions/p-4573d7c2.js.map +0 -1
- package/dist/solutions/p-4635ae4a.entry.js +0 -11
- package/dist/solutions/p-4635ae4a.entry.js.map +0 -1
- package/dist/solutions/p-46bcadbd.entry.js +0 -11
- package/dist/solutions/p-46bcadbd.entry.js.map +0 -1
- package/dist/solutions/p-4b0b2534.entry.js +0 -11
- package/dist/solutions/p-4b0b2534.entry.js.map +0 -1
- package/dist/solutions/p-51e4c002.entry.js +0 -7
- package/dist/solutions/p-51e4c002.entry.js.map +0 -1
- package/dist/solutions/p-520d8443.entry.js +0 -11
- package/dist/solutions/p-520d8443.entry.js.map +0 -1
- package/dist/solutions/p-591d5666.entry.js +0 -11
- package/dist/solutions/p-591d5666.entry.js.map +0 -1
- package/dist/solutions/p-5aff6fc3.entry.js +0 -11
- package/dist/solutions/p-5aff6fc3.entry.js.map +0 -1
- package/dist/solutions/p-5c95f5ee.entry.js +0 -11
- package/dist/solutions/p-5c95f5ee.entry.js.map +0 -1
- package/dist/solutions/p-606933f1.entry.js +0 -11
- package/dist/solutions/p-606933f1.entry.js.map +0 -1
- package/dist/solutions/p-62464fb3.entry.js +0 -11
- package/dist/solutions/p-62464fb3.entry.js.map +0 -1
- package/dist/solutions/p-6e970d4c.entry.js +0 -7
- package/dist/solutions/p-6e970d4c.entry.js.map +0 -1
- package/dist/solutions/p-6f861da6.entry.js +0 -11
- package/dist/solutions/p-6f861da6.entry.js.map +0 -1
- package/dist/solutions/p-7096464e.js.map +0 -1
- package/dist/solutions/p-73e2d13f.js.map +0 -1
- package/dist/solutions/p-745f85bf.entry.js +0 -11
- package/dist/solutions/p-745f85bf.entry.js.map +0 -1
- package/dist/solutions/p-7480bdae.entry.js +0 -7
- package/dist/solutions/p-7480bdae.entry.js.map +0 -1
- package/dist/solutions/p-7611d9ad.entry.js +0 -11
- package/dist/solutions/p-7611d9ad.entry.js.map +0 -1
- package/dist/solutions/p-77b056db.entry.js +0 -7
- package/dist/solutions/p-77b056db.entry.js.map +0 -1
- package/dist/solutions/p-7804ce97.js.map +0 -1
- package/dist/solutions/p-7cc15662.entry.js +0 -15
- package/dist/solutions/p-7cc15662.entry.js.map +0 -1
- package/dist/solutions/p-7cc9c6af.js.map +0 -1
- package/dist/solutions/p-7d84c932.entry.js +0 -11
- package/dist/solutions/p-7d84c932.entry.js.map +0 -1
- package/dist/solutions/p-7df393df.js.map +0 -1
- package/dist/solutions/p-7f49ef40.entry.js +0 -11
- package/dist/solutions/p-7f49ef40.entry.js.map +0 -1
- package/dist/solutions/p-7f5c2987.entry.js +0 -7
- package/dist/solutions/p-7f5c2987.entry.js.map +0 -1
- package/dist/solutions/p-7fd90af2.entry.js +0 -11
- package/dist/solutions/p-7fd90af2.entry.js.map +0 -1
- package/dist/solutions/p-815449b1.entry.js +0 -11
- package/dist/solutions/p-815449b1.entry.js.map +0 -1
- package/dist/solutions/p-819aff56.entry.js +0 -11
- package/dist/solutions/p-819aff56.entry.js.map +0 -1
- package/dist/solutions/p-85cf288c.js.map +0 -1
- package/dist/solutions/p-87d812ce.entry.js +0 -7
- package/dist/solutions/p-87d812ce.entry.js.map +0 -1
- package/dist/solutions/p-8b616d33.entry.js +0 -7
- package/dist/solutions/p-8b616d33.entry.js.map +0 -1
- package/dist/solutions/p-8efca26d.entry.js +0 -7
- package/dist/solutions/p-8efca26d.entry.js.map +0 -1
- package/dist/solutions/p-946521e1.js.map +0 -1
- package/dist/solutions/p-970f1072.js +0 -22
- package/dist/solutions/p-970f1072.js.map +0 -1
- package/dist/solutions/p-9a953609.entry.js +0 -11
- package/dist/solutions/p-9a953609.entry.js.map +0 -1
- package/dist/solutions/p-9b381784.entry.js +0 -11
- package/dist/solutions/p-9b381784.entry.js.map +0 -1
- package/dist/solutions/p-9dad5583.entry.js +0 -11
- package/dist/solutions/p-9dad5583.entry.js.map +0 -1
- package/dist/solutions/p-9df9ac35.js.map +0 -1
- package/dist/solutions/p-9ee74ad4.entry.js +0 -7
- package/dist/solutions/p-9ee74ad4.entry.js.map +0 -1
- package/dist/solutions/p-9fab6046.entry.js +0 -22
- package/dist/solutions/p-9fab6046.entry.js.map +0 -1
- package/dist/solutions/p-9fc06fc3.entry.js +0 -15
- package/dist/solutions/p-9fc06fc3.entry.js.map +0 -1
- package/dist/solutions/p-a10dc180.js.map +0 -1
- package/dist/solutions/p-a1c40865.entry.js +0 -11
- package/dist/solutions/p-a1c40865.entry.js.map +0 -1
- package/dist/solutions/p-a3b16f15.entry.js +0 -7
- package/dist/solutions/p-a3b16f15.entry.js.map +0 -1
- package/dist/solutions/p-a7906d52.entry.js +0 -11
- package/dist/solutions/p-a7906d52.entry.js.map +0 -1
- package/dist/solutions/p-a8a106f7.entry.js +0 -7
- package/dist/solutions/p-a8a106f7.entry.js.map +0 -1
- package/dist/solutions/p-a8d2d1a3.entry.js +0 -7
- package/dist/solutions/p-a8d2d1a3.entry.js.map +0 -1
- package/dist/solutions/p-a98c5d29.entry.js +0 -11
- package/dist/solutions/p-a98c5d29.entry.js.map +0 -1
- package/dist/solutions/p-a9df64c4.js.map +0 -1
- package/dist/solutions/p-ad54d2e2.entry.js +0 -11
- package/dist/solutions/p-ad54d2e2.entry.js.map +0 -1
- package/dist/solutions/p-adf3704d.entry.js +0 -11
- package/dist/solutions/p-adf3704d.entry.js.map +0 -1
- package/dist/solutions/p-af46b00f.entry.js +0 -11
- package/dist/solutions/p-af46b00f.entry.js.map +0 -1
- package/dist/solutions/p-af9be2ca.js.map +0 -1
- package/dist/solutions/p-b797d79b.entry.js +0 -23
- package/dist/solutions/p-b797d79b.entry.js.map +0 -1
- package/dist/solutions/p-c09fc04d.entry.js +0 -11
- package/dist/solutions/p-c09fc04d.entry.js.map +0 -1
- package/dist/solutions/p-c11f84d9.entry.js +0 -11
- package/dist/solutions/p-c11f84d9.entry.js.map +0 -1
- package/dist/solutions/p-c195dbb7.entry.js +0 -7
- package/dist/solutions/p-c195dbb7.entry.js.map +0 -1
- package/dist/solutions/p-c34e0641.js.map +0 -1
- package/dist/solutions/p-c5428bbc.entry.js +0 -11
- package/dist/solutions/p-c5428bbc.entry.js.map +0 -1
- package/dist/solutions/p-cb5cb9a8.js.map +0 -1
- package/dist/solutions/p-ce3e9060.entry.js +0 -11
- package/dist/solutions/p-ce3e9060.entry.js.map +0 -1
- package/dist/solutions/p-d132d8ad.entry.js +0 -7
- package/dist/solutions/p-d132d8ad.entry.js.map +0 -1
- package/dist/solutions/p-d320e3a2.entry.js +0 -7
- package/dist/solutions/p-d320e3a2.entry.js.map +0 -1
- package/dist/solutions/p-d70ef015.entry.js +0 -11
- package/dist/solutions/p-d70ef015.entry.js.map +0 -1
- package/dist/solutions/p-e4edca3b.js.map +0 -1
- package/dist/solutions/p-e581f631.js.map +0 -1
- package/dist/solutions/p-e65a8700.entry.js +0 -11
- package/dist/solutions/p-e65a8700.entry.js.map +0 -1
- package/dist/solutions/p-e762b2d1.js.map +0 -1
- package/dist/solutions/p-eb2efc0f.js.map +0 -1
- package/dist/solutions/p-ec178ea9.js.map +0 -1
- package/dist/solutions/p-ecbfddde.js.map +0 -1
- package/dist/solutions/p-eceb11d1.js +0 -22
- package/dist/solutions/p-eceb11d1.js.map +0 -1
- package/dist/solutions/p-ede2beab.entry.js +0 -7
- package/dist/solutions/p-ede2beab.entry.js.map +0 -1
- package/dist/solutions/p-f0a6135d.entry.js +0 -11
- package/dist/solutions/p-f0a6135d.entry.js.map +0 -1
- package/dist/solutions/p-f187755e.js.map +0 -1
- package/dist/solutions/p-f3c6b68d.entry.js +0 -7
- package/dist/solutions/p-f3c6b68d.entry.js.map +0 -1
- package/dist/solutions/p-f49bc4a8.js.map +0 -1
- package/dist/solutions/p-f6e8ee98.entry.js +0 -7
- package/dist/solutions/p-f6e8ee98.entry.js.map +0 -1
- package/dist/solutions/p-f780039d.js.map +0 -1
- package/dist/solutions/p-fa40e7e7.entry.js +0 -7
- package/dist/solutions/p-fa40e7e7.entry.js.map +0 -1
- package/dist/solutions/p-fb25fc4a.entry.js +0 -7
- package/dist/solutions/p-fb25fc4a.entry.js.map +0 -1
- package/dist/solutions/p-fbdf3e06.js.map +0 -1
- package/dist/solutions/p-fc1c8168.js.map +0 -1
- package/dist/solutions/p-ff3697a9.entry.js +0 -7
- package/dist/solutions/p-ff3697a9.entry.js.map +0 -1
- package/dist/solutions/solutions.esm.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-color-picker.entry.cjs.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,SAA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,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":["isObject","debounce","normalizeHex","DEFAULT_COLOR","TEXT","CSSColorMode","DIMENSIONS","key","getKey","Color","RGB_LIMITS","HSV_LIMITS","clamp","h","CSS","index","DEFAULT_STORAGE_KEY_PREFIX","parseMode","colorEqual","focusElement","getElementDir","CSS_UTILITY"],"sources":["./node_modules/lodash-es/throttle.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-color-picker/calcite-color-picker.css?tag=calcite-color-picker&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-color-picker/calcite-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\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\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([scale=s]) .container {\n width: 160px;\n}\n\n:host([scale=s]) .saved-colors {\n grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));\n}\n\n:host([scale=s]) .channels {\n flex-direction: column;\n}\n\n:host([scale=s]) .channel {\n width: 100%;\n margin-bottom: 4px;\n}\n\n:host([scale=s]) .channel:last-child {\n margin-bottom: 0;\n}\n\n:host([scale=m]) .container {\n width: 272px;\n}\n\n:host([scale=l]) .control-section.section.calcite--rtl > :nth-child(2) {\n margin-left: 0;\n margin-right: 12px;\n}\n\n:host([scale=l]) .header {\n padding-bottom: 0;\n}\n\n:host([scale=l]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n:host([scale=l]) .container {\n width: 464px;\n}\n\n:host([scale=l]) .color-field-and-slider {\n margin-bottom: -20px;\n}\n\n:host([scale=l]) .section {\n padding: 0 16px 16px;\n}\n\n:host([scale=l]) .section:first-of-type {\n padding-top: 16px;\n}\n\n:host([scale=l]) .saved-colors {\n grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));\n grid-gap: 12px;\n padding-top: 16px;\n}\n\n:host([scale=l]) .control-section {\n flex-wrap: nowrap;\n align-items: baseline;\n}\n\n:host([scale=l]) .control-section > :nth-child(2) {\n margin-left: 12px;\n}\n\n:host([scale=l]) .color-hex-options {\n flex-shrink: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n min-height: 98px;\n width: 160px;\n}\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 font-size: var(--calcite-font-size--1);\n padding: 0;\n margin-bottom: 0;\n margin-right: 0;\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n width: 0.5rem;\n height: 0.5rem;\n position: absolute;\n pointer-events: none;\n margin-top: -0.25rem;\n margin-left: -0.25rem;\n outline-offset: 10px;\n}\n\n.scope:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n outline-offset: 12px;\n}\n\n.color-field-and-slider {\n margin-bottom: -16px;\n}\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: 0 12px 12px;\n}\n\n.section:first-of-type {\n padding-top: 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 color: var(--calcite-ui-text-1);\n padding-bottom: 0.25rem;\n}\n\n.header--hex,\n.color-mode-container {\n padding-top: 12px;\n}\n\n.channels {\n display: flex;\n justify-content: space-between;\n}\n\n.channel {\n width: 31%;\n}\n\n.saved-colors {\n padding-top: 12px;\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(24px, 1fr));\n grid-gap: 8px;\n width: 100%;\n}\n\n.saved-colors-buttons {\n display: flex;\n}\n\n.saved-color {\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n cursor: pointer;\n}\n\n.saved-color:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n.saved-color:hover {\n transition: outline-color 100ms 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 */\nimport { Component, Element, Event, h, Listen, Method, Prop, State, Watch } 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 } from \"../../utils/dom\";\nimport { colorEqual, CSSColorMode, normalizeHex, parseMode } from \"./utils\";\nimport { throttle } from \"lodash-es\";\nimport { getKey } from \"../../utils/key\";\nimport { clamp } from \"../../utils/math\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nconst throttleFor60FpsInMs = 16;\nconst defaultValue = normalizeHex(DEFAULT_COLOR.hex());\nconst defaultFormat = \"auto\";\nexport class CalciteColorPicker {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public properties\n //\n //--------------------------------------------------------------------------\n /**\n * When false, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.\n *\n * When true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.\n */\n this.allowEmpty = false;\n /** specify the appearance - default (containing border), or minimal (no containing border) */\n this.appearance = \"default\";\n /**\n * Internal prop for advanced use-cases.\n *\n * @internal\n */\n this.color = DEFAULT_COLOR;\n /**\n * The format of the value property.\n *\n * When \"auto\", the format will be inferred from `value` when set.\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 /** Label used for the blue channel\n * @default \"B\"\n */\n this.intlB = TEXT.b;\n /** Label used for the blue channel description\n * @default \"Blue\"\n */\n this.intlBlue = TEXT.blue;\n /** Label used for the delete color button.\n * @default \"Delete color\"\n */\n this.intlDeleteColor = TEXT.deleteColor;\n /** Label used for the green channel\n * @default \"G\"\n */\n this.intlG = TEXT.g;\n /** Label used for the green channel description\n * @default \"Green\"\n */\n this.intlGreen = TEXT.green;\n /** Label used for the hue channel\n * @default \"H\"\n */\n this.intlH = TEXT.h;\n /** Label used for the HSV mode\n * @default \"HSV\"\n */\n this.intlHsv = TEXT.hsv;\n /** Label used for the hex input\n * @default \"Hex\"\n */\n this.intlHex = TEXT.hex;\n /** Label used for the hue channel description\n * @default \"Hue\"\n */\n this.intlHue = TEXT.hue;\n /**\n * Label used for the hex input when there is no color selected.\n * @default \"No color\"\n */\n this.intlNoColor = TEXT.noColor;\n /** Label used for the red channel\n * @default \"R\"\n */\n this.intlR = TEXT.r;\n /** Label used for the red channel description\n * @default \"Red\"\n */\n this.intlRed = TEXT.red;\n /** Label used for the RGB mode\n * @default \"RGB\"\n */\n this.intlRgb = TEXT.rgb;\n /** Label used for the saturation channel\n * @default \"S\"\n */\n this.intlS = TEXT.s;\n /** Label used for the saturation channel description\n * @default \"Saturation\"\n */\n this.intlSaturation = TEXT.saturation;\n /** Label used for the save color button.\n * @default \"Save color\"\n */\n this.intlSaveColor = TEXT.saveColor;\n /** Label used for the saved colors section\n * @default \"Saved\"\n */\n this.intlSaved = TEXT.saved;\n /** Label used for the value channel\n * @default \"V\"\n */\n this.intlV = TEXT.v;\n /** Label used for the\n * @default \"Value\"\n */\n this.intlValue = TEXT.value;\n /**\n * The scale of the color picker.\n */\n this.scale = \"m\";\n /**\n * The color value.\n *\n * This value can be either a {@link https://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS string}\n * a RGB, HSL or HSV object.\n *\n * The type will be preserved as the color is updated.\n * @default \"#007ac2\"\n * @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-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 = getKey(event.key);\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 = getKey(event.key);\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 (event.key === \" \" || event.key === \"Enter\") {\n event.preventDefault();\n event.stopPropagation();\n this.handleSavedColorSelect(event);\n }\n };\n this.handleColorFieldAndSliderMouseLeave = () => {\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.handleColorFieldAndSliderMouseDown = (event) => {\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 }\n else if (region === \"slider\") {\n this.sliderThumbState = \"drag\";\n this.captureHueSliderColor(offsetX);\n }\n // prevent text selection outside of color field & slider area\n event.preventDefault();\n document.addEventListener(\"mousemove\", this.globalMouseMoveHandler);\n document.addEventListener(\"mouseup\", this.globalMouseUpHandler, { once: true });\n this.activeColorFieldAndSliderRect =\n this.fieldAndSliderRenderingContext.canvas.getBoundingClientRect();\n };\n this.globalMouseUpHandler = () => {\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.globalMouseMoveHandler = (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;\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.handleColorFieldAndSliderMouseEnterOrMove = ({ 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.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 return (h(\"calcite-tab\", { active: active, class: CSS.control, key: channelMode },\n h(\"div\", { class: CSS.channels }, channels.map((channel, index) => this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index])))));\n };\n this.renderChannel = (value, index, label, ariaLabel) => (h(\"calcite-input\", { class: CSS.channel, \"data-channel-index\": index, label: ariaLabel, numberButtonType: \"none\", onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, 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.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 }\n handleColorChange(color, oldColor) {\n this.drawColorFieldAndSlider();\n this.updateChannelsFromColor(color);\n this.previousColor = oldColor;\n if (this.internalColorUpdateContext) {\n return;\n }\n this.value = this.toValue(color);\n }\n handleFormatChange(format) {\n this.setMode(format);\n this.value = this.toValue(this.color);\n }\n handleScaleChange(scale = \"m\") {\n this.updateDimensions(scale);\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) {\n if (this.internalColorUpdateContext === \"initial\") {\n return;\n }\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.color = color;\n this.calciteColorPickerInput.emit();\n if (!dragging) {\n this.calciteColorPickerChange.emit();\n }\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 = getKey(event.key);\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(\"mousemove\", this.globalMouseMoveHandler);\n document.removeEventListener(\"mouseup\", this.globalMouseUpHandler);\n }\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n render() {\n const { allowEmpty, color, intlDeleteColor, el, 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 elementDir = getElementDir(el);\n const noColor = color === null;\n const vertical = scopeOrientation === \"vertical\";\n return (h(\"div\", { class: CSS.container },\n h(\"div\", { class: CSS.colorFieldAndSliderWrap },\n h(\"canvas\", { class: {\n [CSS.colorFieldAndSlider]: true,\n [CSS.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive\n }, onMouseDown: this.handleColorFieldAndSliderMouseDown, onMouseEnter: this.handleColorFieldAndSliderMouseEnterOrMove, onMouseLeave: this.handleColorFieldAndSliderMouseLeave, onMouseMove: this.handleColorFieldAndSliderMouseEnterOrMove, ref: this.initColorFieldAndSlider }),\n 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\" }),\n 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, role: \"slider\", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: \"0\" })),\n hideHex && hideChannels ? null : (h(\"div\", { class: {\n [CSS.controlSection]: true,\n [CSS.section]: true,\n [CSS_UTILITY.rtl]: elementDir === \"rtl\"\n } },\n hideHex ? null : (h(\"div\", { class: CSS.hexOptions },\n h(\"span\", { class: {\n [CSS.header]: true,\n [CSS.headerHex]: true\n } }, intlHex),\n h(\"calcite-color-picker-hex-input\", { allowEmpty: allowEmpty, class: CSS.control, dir: elementDir, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))),\n hideChannels ? null : (h(\"calcite-tabs\", { class: {\n [CSS.colorModeContainer]: true,\n [CSS.splitSection]: true\n }, dir: elementDir, scale: hexInputScale },\n h(\"calcite-tab-nav\", { slot: \"tab-nav\" },\n this.renderChannelsTabTitle(\"rgb\"),\n this.renderChannelsTabTitle(\"hsv\")),\n this.renderChannelsTab(\"rgb\"),\n this.renderChannelsTab(\"hsv\"))))),\n hideSaved ? null : (h(\"div\", { class: { [CSS.savedColorsSection]: true, [CSS.section]: true } },\n h(\"div\", { class: CSS.header },\n h(\"label\", null, intlSaved),\n h(\"div\", { class: CSS.savedColorsButtons },\n h(\"calcite-button\", { appearance: \"transparent\", class: CSS.deleteColor, color: \"neutral\", disabled: noColor, iconStart: \"minus\", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale }),\n h(\"calcite-button\", { appearance: \"transparent\", class: CSS.saveColor, color: \"neutral\", disabled: noColor, iconStart: \"plus\", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale }))),\n 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 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 = \"internal\") {\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 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() { return {\n \"$\": [\"calcite-color-picker.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-color-picker.css\"]\n }; }\n static get properties() { 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, empty color (null) will be allowed as a value. Otherwise, a color value is always enforced by the component.\\n\\nWhen true, clearing the input and blurring will restore the last valid color set. When false, it will set it to empty.\"\n },\n \"attribute\": \"allow-empty\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ColorAppearance\",\n \"resolved\": \"\\\"default\\\" | \\\"minimal\\\"\",\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\": \"specify the appearance - default (containing border), or minimal (no containing border)\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"default\\\"\"\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 \"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 the value property.\\n\\nWhen \\\"auto\\\", the format will be inferred from `value` when set.\"\n },\n \"attribute\": \"format\",\n \"reflect\": false,\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\": false,\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\": false,\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\": false,\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\": \"Label used for the 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\": \"Label used for the 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\": \"Label used 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\": \"Label used for the 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\": \"Label used for the 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\": \"Label used for the 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\": \"Label used 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\": \"Label used 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\": \"Label used for the 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\": \"Label used 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\": \"Label used for the 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\": \"Label used for the 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\": \"Label used 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\": \"Label used for the 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\": \"Label used for the 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\": \"Label used 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\": \"Label used 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\": \"Label used for the 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\": \"Label used for the\"\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\": \"The scale of the color picker.\"\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\": \"Storage ID for colors.\"\n },\n \"attribute\": \"storage-id\",\n \"reflect\": false\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\": \" [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-color-picker/interfaces.ts#L10)\"\n }],\n \"text\": \"The color value.\\n\\nThis value can be either a {@link https://developer.mozilla.org/en-US/docs/Web/CSS/color|CSS string}\\na 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 static get states() { return {\n \"colorFieldAndSliderInteractive\": {},\n \"channelMode\": {},\n \"channels\": {},\n \"dimensions\": {},\n \"savedColors\": {},\n \"colorFieldScopeTop\": {},\n \"colorFieldScopeLeft\": {},\n \"scopeOrientation\": {},\n \"hueScopeLeft\": {},\n \"hueScopeTop\": {}\n }; }\n static get events() { return [{\n \"method\": \"calciteColorPickerChange\",\n \"name\": \"calciteColorPickerChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the color value has changed.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteColorPickerInput\",\n \"name\": \"calciteColorPickerInput\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires as the color value changes.\\n\\nThis is similar to the change 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\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { 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 static get elementRef() { return \"el\"; }\n static get watchers() { 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 static get listeners() { 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"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-combobox-item-group.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,KAAK,EAAE,OAAO;AAChB,CAAC;;ACRD,MAAM,2BAA2B,GAAG,m5FAAm5F;;ICa16F,wBAAwB;EACnC;;IACE,IAAI,CAAC,IAAI,GAAGA,SAAI,EAAE,CAAC;IACnB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;GAClB;;;;;;EAMD,iBAAiB;IACf,IAAI,CAAC,SAAS,GAAGC,kBAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACvC,IAAI,CAAC,KAAK,GAAGC,kBAAc,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,GAAG,GAAGC,iBAAa,CAAC,EAAE,CAAC,CAAC;IAC9B,MAAM,MAAM,GAAG,GAAG,GAAG,CAAC,KAAK,YAAYC,cAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;IACtD,QAAQC,OAAC,CAAC,IAAI,EAAE,EAAE,iBAAiB,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,EAAE,CAACC,eAAW,CAAC,GAAG,GAAG,GAAG,KAAK,KAAK,EAAE,CAAC,UAAU,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EACvJD,OAAC,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,EAC3FA,OAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAC9CA,OAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE;GACrB;;;;;;;","names":["guid","getAncestors","getElementProp","getElementDir","getDepth","h","CSS_UTILITY"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item-group/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css?tag=calcite-combobox-item-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item-group/calcite-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 */\nexport const CSS = {\n list: \"list\",\n label: \"label\",\n title: \"title\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n --calcite-combobox-item-indent-start-1: var(--calcite-combobox-item-spacing-indent-1);\n --calcite-combobox-item-indent-end-1: unset;\n --calcite-combobox-item-indent-start-2: var(--calcite-combobox-item-spacing-indent-2);\n --calcite-combobox-item-indent-end-2: unset;\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.calcite--rtl {\n --calcite-combobox-item-indent-start-1: unset;\n --calcite-combobox-item-indent-end-1: var(--calcite-combobox-item-spacing-indent-1);\n --calcite-combobox-item-indent-start-2: unset;\n --calcite-combobox-item-indent-end-2: var(--calcite-combobox-item-spacing-indent-2);\n}\n\n:host,\n.list {\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.label {\n box-sizing: border-box;\n width: 100%;\n max-width: 100%;\n min-width: 0;\n color: var(--calcite-ui-text-3);\n display: flex;\n}\n\n.label--indent-1 {\n padding-left: var(--calcite-combobox-item-indent-start-1);\n padding-right: var(--calcite-combobox-item-indent-end-1);\n}\n\n.label--indent-2 {\n padding-left: var(--calcite-combobox-item-indent-start-2);\n padding-right: var(--calcite-combobox-item-indent-end-2);\n}\n\n.title {\n border: 0 solid;\n display: block;\n flex: 1 1 0%;\n border-bottom-color: var(--calcite-ui-border-3);\n border-bottom-width: 1px;\n color: var(--calcite-ui-text-2);\n font-weight: var(--calcite-font-weight-bold);\n word-wrap: break-word;\n word-break: break-word;\n padding: var(--calcite-combobox-item-spacing-unit-l) 0;\n margin-left: var(--calcite-combobox-item-spacing-unit-s);\n margin-right: 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 */\nimport { Component, Prop, h, Element } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport { getAncestors, getDepth } from \"../calcite-combobox/utils\";\nimport { guid } from \"../../utils/guid\";\nimport { getElementDir, getElementProp } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\nexport class CalciteComboboxItemGroup {\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 dir = getElementDir(el);\n const indent = `${CSS.label}--indent-${getDepth(el)}`;\n return (h(\"ul\", { \"aria-labelledby\": this.guid, class: { [CSS.list]: true, [CSS_UTILITY.rtl]: dir === \"rtl\", [`scale--${scale}`]: true }, role: \"group\" },\n h(\"li\", { class: { [CSS.label]: true, [indent]: true }, id: this.guid, role: \"presentation\" },\n h(\"span\", { class: CSS.title }, this.label)),\n h(\"slot\", null)));\n }\n static get is() { return \"calcite-combobox-item-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"./calcite-combobox-item-group.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-combobox-item-group.css\"]\n }; }\n static get properties() { 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\": \"../calcite-combobox/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Parent and grandparent combobox items, this is set internally for use from 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\": \"Title of the group\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n }\n }; }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{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C,EAClD,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,EAAE;GAC9B;;;;;;;;;;","names":["guid","getAncestors","getElementProp","h","getElementDir","CSS_UTILITY","getDepth","Host"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css?tag=calcite-combobox-item&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item/calcite-combobox-item.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 */\nexport const CSS = {\n icon: \"icon\",\n iconActive: \"icon--active\",\n custom: \"icon--custom\",\n dot: \"icon--dot\",\n single: \"label--single\",\n label: \"label\",\n active: \"label--active\",\n selected: \"label--selected\",\n title: \"title\",\n textContainer: \"text-container\"\n};\n","@charset \"UTF-8\";\n\n/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\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: 0.5rem;\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: 0.75rem;\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: 1rem;\n}\n\n.container {\n --calcite-combobox-item-indent-value: calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );\n --calcite-combobox-item-indent-start: var(--calcite-combobox-item-indent-value);\n --calcite-combobox-item-indent-end: unset;\n}\n\n.calcite--rtl {\n --calcite-combobox-item-indent-start: unset;\n --calcite-combobox-item-indent-end: var(--calcite-combobox-item-indent-value);\n}\n\n:host(:focus) {\n box-shadow: none;\n}\n\n:host,\nul {\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.label {\n display: flex;\n box-sizing: border-box;\n width: 100%;\n min-width: 100%;\n align-items: center;\n color: var(--calcite-ui-text-3);\n cursor: pointer;\n position: relative;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n text-decoration: none;\n padding: var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host([disabled]) .label {\n cursor: default;\n}\n\n.label--selected {\n color: var(--calcite-ui-text-1);\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.label--active {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.label:hover,\n.label:active {\n color: var(--calcite-ui-text-1);\n background-color: var(--calcite-ui-foreground-2);\n box-shadow: none;\n text-decoration: none;\n}\n\n.title {\n padding: 0 var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon {\n display: inline-flex;\n opacity: 0;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n color: var(--calcite-ui-border-1);\n}\n\n.icon--indent {\n padding-left: var(--calcite-combobox-item-indent-start);\n padding-right: var(--calcite-combobox-item-indent-end);\n}\n\n.icon--custom {\n margin-top: -1px;\n color: var(--calcite-ui-text-3);\n}\n\n.icon--active {\n color: var(--calcite-ui-text-1);\n}\n\n.icon--dot {\n display: flex;\n justify-content: flex-end;\n width: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon--dot:before {\n content: \"•\";\n}\n\n.calcite--rtl .icon--dot:before {\n text-align: right;\n}\n\n.label--active .icon {\n opacity: 1;\n}\n\n.label--selected .icon {\n opacity: 1;\n color: var(--calcite-ui-brand);\n}\n\n:host(:hover[disabled]) .icon {\n opacity: 1;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, Element, Event, Host, Method, Prop, h, Watch } from \"@stencil/core\";\nimport { getElementDir, getElementProp } from \"../../utils/dom\";\nimport { CSS } from \"./resources\";\nimport { guid } from \"../../utils/guid\";\nimport { getAncestors, getDepth } from \"../calcite-combobox/utils\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n/**\n * @slot - A slot for adding nested `calcite-combobox-item`s.\n */\nexport class CalciteComboboxItem {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /** When true, the item cannot be clicked and is visually muted. */\n this.disabled = false;\n /** Set this to true to pre-select an item. Toggles when an item is checked/unchecked. */\n this.selected = false;\n /** True when item is highlighted either from keyboard or mouse hover */\n this.active = false;\n /** Unique identifier, used for accessibility */\n this.guid = guid();\n this.scale = \"m\";\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.itemClickHandler = (event) => {\n event.preventDefault();\n if (this.disabled) {\n return;\n }\n this.selected = !this.selected;\n };\n }\n selectedWatchHandler() {\n this.calciteComboboxItemChange.emit(this.el);\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 componentWillLoad() {\n this.hasDefaultSlot = this.el.querySelector(\":not([slot])\") !== null;\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n /**\n * Used to toggle the selection state. By default this won't trigger an event.\n * The first argument allows the value to be coerced, rather than swapping values.\n */\n async toggleSelected(coerce) {\n if (this.disabled) {\n return;\n }\n this.selected = typeof coerce === \"boolean\" ? coerce : !this.selected;\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderIcon(isSingle) {\n const { icon, disabled, selected } = this;\n const level = `${CSS.icon}--indent`;\n const defaultIcon = isSingle ? \"dot\" : \"check\";\n const iconPath = disabled ? \"circle-disallowed\" : defaultIcon;\n const showDot = isSingle && !icon && !disabled;\n return showDot ? (h(\"span\", { class: {\n [CSS.icon]: true,\n [CSS.dot]: true,\n [level]: true\n } })) : (h(\"calcite-icon\", { class: {\n [CSS.icon]: !icon,\n [CSS.custom]: !!icon,\n [CSS.iconActive]: icon && selected,\n [level]: true\n }, icon: icon || iconPath, scale: \"s\" }));\n }\n renderChildren() {\n if (!this.hasDefaultSlot) {\n return null;\n }\n return (h(\"ul\", null,\n h(\"slot\", null)));\n }\n render() {\n const isSingleSelect = getElementProp(this.el, \"selection-mode\", \"multi\") === \"single\";\n const dir = getElementDir(this.el);\n const classes = {\n [CSS_UTILITY.rtl]: dir === \"rtl\",\n [CSS.label]: true,\n [CSS.selected]: this.selected,\n [CSS.active]: this.active,\n [CSS.single]: isSingleSelect\n };\n const depth = getDepth(this.el);\n return (h(Host, { \"aria-hidden\": \"true\" },\n h(\"div\", { class: `container scale--${this.scale}`, style: { \"--calcite-combobox-item-spacing-indent-multiplier\": `${depth}` } },\n h(\"li\", { class: classes, id: this.guid, onClick: this.itemClickHandler },\n this.renderIcon(isSingleSelect),\n h(\"span\", { class: CSS.title }, this.textLabel)),\n this.renderChildren())));\n }\n static get is() { return \"calcite-combobox-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"./calcite-combobox-item.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-combobox-item.css\"]\n }; }\n static get properties() { return {\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When true, the item cannot be clicked and is visually muted.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Set this to true to pre-select an item. Toggles when an item is checked/unchecked.\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"active\": {\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\": \"True when item is highlighted either from keyboard or mouse hover\"\n },\n \"attribute\": \"active\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\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\": \"../calcite-combobox/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Parent and grandparent combobox items, this is set internally for use from combobox\"\n }\n },\n \"guid\": {\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\": \"Unique identifier, used for accessibility\"\n },\n \"attribute\": \"guid\",\n \"reflect\": false,\n \"defaultValue\": \"guid()\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Custom icon to display both in combobox chips and next to combobox item text\"\n },\n \"attribute\": \"icon\",\n \"reflect\": false\n },\n \"textLabel\": {\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\": \"The main label for this item.\"\n },\n \"attribute\": \"text-label\",\n \"reflect\": true\n },\n \"value\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The item's associated value\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"constant\": {\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\": \"Don't filter this item based on the search text\"\n },\n \"attribute\": \"constant\",\n \"reflect\": true\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteComboboxItemChange\",\n \"name\": \"calciteComboboxItemChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted whenever the item is selected or unselected.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"toggleSelected\": {\n \"complexType\": {\n \"signature\": \"(coerce?: boolean) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Used to toggle the selection state. By default this won't trigger an event.\\nThe first argument allows the value to be coerced, rather than swapping values.\",\n \"tags\": []\n }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"selected\",\n \"methodName\": \"selectedWatchHandler\"\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-combobox.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE;AACnC,EAAE,IAAI,KAAK,GAAG,CAAC,CAAC;AAChB,MAAM,MAAM,GAAG,KAAK,IAAI,IAAI,GAAG,CAAC,GAAG,KAAK,CAAC,MAAM;AAC/C,MAAM,MAAM,GAA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,CAAC,cAAc,EAAE,IAAI,EAAE,UAAU,EAAE,EAC5EA,OAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,EAC9B,IAAI,CAAC,eAAe,EAAE,EACtB,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE,EAC7BA,OAAC,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,OAAO,EAAE,GAAG,IAAI,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,KAAK,CAAC,EAC1F,IAAI,CAAC,WAAW,EAAE,CAAC,EACrB,IAAI,CAAC,aAAa,EAAE,CAAC,EACvBA,OAAC,CAAC,IAAI,EAAE,EAAE,iBAAiB,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,EAC3K,IAAI,CAAC,qBAAqB,EAAE,EAC5BA,OAAC,CAACI,wBAAmB,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE;GACjD;;;;;;;;;;;;;;","names":["Symbol","isArray","isSymbol","forIn","ComboboxItemGroup","createObserver","guid","key","getKey","getElementDir","debounce","popper","updatePopper","ComboboxDefaultPlacement","connectLabel","connectForm","afterConnectDefaultValueSet","disconnectLabel","disconnectForm","createPopper","ComboboxChildSelector","getItemAncestors","getItemChildren","hasActiveChildren","ComboboxItem","h","getLabelText","PopperCSS","Host","HiddenFormInputSlot"],"sources":["./node_modules/lodash-es/_arrayMap.js","./node_modules/lodash-es/_baseToString.js","./node_modules/lodash-es/toString.js","./node_modules/lodash-es/escapeRegExp.js","./node_modules/@esri/calcite-components/dist/collection/utils/filter.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox/calcite-combobox.css?tag=calcite-combobox&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox/calcite-combobox.js"],"sourcesContent":["/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nexport default arrayMap;\n","import Symbol from './_Symbol.js';\nimport arrayMap from './_arrayMap.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default baseToString;\n","import baseToString from './_baseToString.js';\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nexport default toString;\n","import toString from './toString.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n/**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\nfunction escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n}\n\nexport default escapeRegExp;\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 */\nimport { escapeRegExp, forIn } from \"lodash-es\";\nexport const filter = (data, value) => {\n const escapedValue = escapeRegExp(value);\n const regex = new RegExp(escapedValue, \"i\");\n if (data.length === 0) {\n console.warn(`No data was passed to the filter function.\n The data argument should be an array of objects`);\n }\n const find = (input, RE) => {\n var _a;\n if ((_a = input) === null || _a === void 0 ? void 0 : _a.constant) {\n return true;\n }\n let found = false;\n forIn(input, (val) => {\n if (typeof val === \"function\") {\n return;\n }\n if (Array.isArray(val) || (typeof val === \"object\" && val !== null)) {\n if (find(val, RE)) {\n found = true;\n }\n }\n else if (RE.test(val)) {\n found = true;\n }\n });\n return found;\n };\n const result = data.filter((item) => {\n return find(item, regex);\n });\n return result;\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-combobox-input-height: the height of the combobox input\n*/\n\n:host {\n display: block;\n position: relative;\n}\n\n:host([disabled]) {\n pointer-events: none;\n -webkit-user-select: none;\n user-select: none;\n opacity: 0.5;\n}\n\n:host([scale=s]) {\n font-size: var(--calcite-font-size--2);\n --calcite-combobox-item-spacing-unit-l: 0.5rem;\n --calcite-combobox-item-spacing-unit-s: 0.25rem;\n --calcite-combobox-input-height: 1.5rem;\n}\n\n:host([scale=m]) {\n font-size: var(--calcite-font-size--1);\n --calcite-combobox-item-spacing-unit-l: 0.75rem;\n --calcite-combobox-item-spacing-unit-s: 0.5rem;\n --calcite-combobox-input-height: 2rem;\n}\n\n:host([scale=l]) {\n font-size: var(--calcite-font-size-0);\n --calcite-combobox-item-spacing-unit-l: 1rem;\n --calcite-combobox-item-spacing-unit-s: 0.75rem;\n --calcite-combobox-input-height: 2.75rem;\n}\n\n.wrapper {\n display: flex;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-1);\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);\n padding: 0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l);\n}\n\n:host(:focus-within) .wrapper,\n.wrapper--active {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.wrapper--single {\n padding: 0 var(--calcite-combobox-item-spacing-unit-l);\n cursor: pointer;\n flex-wrap: nowrap;\n}\n\n.grid-input {\n display: flex;\n flex-grow: 1;\n flex-wrap: wrap;\n align-items: center;\n padding: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.input {\n flex-grow: 1;\n font-family: inherit;\n padding: 0;\n background-color: transparent;\n border-style: none;\n color: var(--calcite-ui-text-1);\n -webkit-appearance: none;\n appearance: none;\n font-size: inherit;\n height: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n min-width: 120px;\n margin-bottom: var(--calcite-combobox-item-spacing-unit-s);\n}\n\n.input:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.input--transparent {\n opacity: 0;\n}\n\n.input--single {\n margin-bottom: 0;\n margin-top: 0;\n padding: 0;\n}\n\n.wrapper--active .input-single {\n cursor: text;\n}\n\n.input--hidden {\n width: 0;\n min-width: 0;\n opacity: 0;\n pointer-events: none;\n}\n\n.input--icon {\n padding: 0 var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.input-wrap {\n display: flex;\n flex-grow: 1;\n}\n\n.input-wrap--single {\n flex: 1 1 auto;\n overflow: hidden;\n}\n\n.label {\n padding: 0;\n display: flex;\n font-weight: var(--calcite-font-weight-normal);\n flex: 1 1 auto;\n pointer-events: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n height: var(--calcite-combobox-input-height);\n line-height: var(--calcite-combobox-input-height);\n}\n\n.label--spaced {\n padding-top: 0;\n padding-bottom: 0;\n padding-left: var(--calcite-combobox-item-spacing-unit-l);\n padding-right: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.icon-end,\n.icon-start {\n cursor: pointer;\n display: flex;\n align-items: center;\n width: 1rem;\n}\n\n.icon-end {\n flex: none;\n}\n\n.popper-container {\n width: 100%;\n display: block;\n position: absolute;\n z-index: 900;\n transform: scale(0);\n visibility: hidden;\n pointer-events: none;\n}\n\n.popper-container .calcite-popper-anim {\n position: relative;\n z-index: 1;\n transition: var(--calcite-popper-transition);\n visibility: hidden;\n transition-property: transform, visibility, opacity;\n opacity: 0;\n box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);\n border-radius: 0.25rem;\n}\n\n.popper-container[data-popper-placement^=bottom] .calcite-popper-anim {\n transform: translateY(-5px);\n}\n\n.popper-container[data-popper-placement^=top] .calcite-popper-anim {\n transform: translateY(5px);\n}\n\n.popper-container[data-popper-placement^=left] .calcite-popper-anim {\n transform: translateX(5px);\n}\n\n.popper-container[data-popper-placement^=right] .calcite-popper-anim {\n transform: translateX(-5px);\n}\n\n.popper-container[data-popper-placement] .calcite-popper-anim--active {\n opacity: 1;\n visibility: visible;\n transform: translate(0);\n}\n\n.popper-container--active {\n pointer-events: initial;\n visibility: visible;\n}\n\n.screen-readers-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.list-container {\n overflow-y: auto;\n max-height: 100vh;\n background-color: var(--calcite-ui-foreground-1);\n width: var(--calcite-dropdown-width);\n}\n\n.list {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n.list--hide {\n height: 0;\n overflow: hidden;\n}\n\n.chip {\n margin: calc(var(--calcite-combobox-item-spacing-unit-s) / 2) var(--calcite-combobox-item-spacing-unit-s) calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;\n max-width: 100%;\n}\n\n.chip--active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.chip:last-child {\n margin-right: 0;\n}\n\n.chip--rtl {\n margin-right: unset;\n margin-left: var(--calcite-combobox-item-spacing-unit-l);\n}\n\n.chip--rtl:last-child {\n margin-left: 0;\n}\n\n.item {\n display: block;\n}\n\n::slotted(input[slot=hidden-form-input]) {\n bottom: 0 !important;\n left: 0 !important;\n margin: 0 !important;\n opacity: 0 !important;\n outline: none !important;\n padding: 0 !important;\n position: absolute !important;\n right: 0 !important;\n top: 0 !important;\n transform: none !important;\n -webkit-appearance: none !important;\n z-index: -1 !important;\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 */\nimport { Component, h, Prop, State, Listen, Event, Element, Method, Watch, Host } from \"@stencil/core\";\nimport { filter } from \"../../utils/filter\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { debounce } from \"lodash-es\";\nimport { getKey } from \"../../utils/key\";\nimport { createPopper, updatePopper, CSS as PopperCSS } from \"../../utils/popper\";\nimport { guid } from \"../../utils/guid\";\nimport { ComboboxChildSelector, ComboboxItem, ComboboxItemGroup, ComboboxDefaultPlacement } from \"./resources\";\nimport { getItemAncestors, getItemChildren, hasActiveChildren } from \"./utils\";\nimport { connectLabel, disconnectLabel, getLabelText } from \"../../utils/label\";\nimport { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from \"../../utils/form\";\nimport { createObserver } from \"../../utils/observers\";\nconst isGroup = (el) => el.tagName === ComboboxItemGroup;\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\nexport class CalciteCombobox {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** Opens or closes the combobox */\n this.active = false;\n /** Disable combobox input */\n this.disabled = false;\n /** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */\n this.maxItems = 0;\n /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */\n this.overlayPositioning = \"absolute\";\n /**\n * When true, makes the component required for form-submission.\n *\n * @internal\n */\n this.required = false;\n /** specify the selection mode\n * - multi: allow any number of selected items (default)\n * - single: only one selection)\n * - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips\n */\n this.selectionMode = \"multi\";\n /** Specify the scale of the combobox, defaults to m */\n this.scale = \"m\";\n /** The value(s) of the selectedItem(s) */\n this.value = null;\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n this.internalValueChangeFlag = false;\n this.items = [];\n this.groupItems = [];\n this.selectedItems = [];\n this.visibleItems = [];\n this.hideList = !this.active;\n this.activeItemIndex = -1;\n this.activeChipIndex = -1;\n this.activeDescendant = \"\";\n this.text = \"\";\n this.open = this.active;\n /** specifies the item wrapper height; it is updated when maxItems is > 0 **/\n this.maxScrollerHeight = 0;\n this.textInput = null;\n this.mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n this.guid = guid();\n this.inputHeight = 0;\n this.ignoreSelectedEventsFlag = false;\n this.activeTransitionProp = \"opacity\";\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.getValue = () => {\n const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());\n return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : \"\";\n };\n this.onLabelClick = () => {\n this.setFocus();\n };\n this.keydownHandler = (event) => {\n const key = getKey(event.key, getElementDir(this.el));\n switch (key) {\n case \"Tab\":\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n event.preventDefault();\n }\n else {\n this.active = false;\n }\n break;\n case \"ArrowLeft\":\n this.previousChip();\n break;\n case \"ArrowRight\":\n this.nextChip();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n this.active = true;\n this.shiftActiveItemIndex(-1);\n break;\n case \"ArrowDown\":\n event.preventDefault();\n this.active = true;\n this.shiftActiveItemIndex(1);\n break;\n case \"Home\":\n this.active = true;\n this.updateActiveItemIndex(0);\n break;\n case \"End\":\n this.active = true;\n this.updateActiveItemIndex(this.visibleItems.length - 1);\n break;\n case \"Escape\":\n this.active = false;\n break;\n case \"Enter\":\n if (this.activeItemIndex > -1) {\n this.toggleSelection(this.visibleItems[this.activeItemIndex]);\n }\n else if (this.activeChipIndex > -1) {\n this.removeActiveChip();\n }\n else if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text, true);\n }\n break;\n case \"Delete\":\n case \"Backspace\":\n if (this.activeChipIndex > -1) {\n this.removeActiveChip();\n }\n else if (!this.text && this.isMulti()) {\n this.removeLastChip();\n }\n break;\n default:\n if (!this.active) {\n this.setFocus();\n }\n break;\n }\n };\n this.toggleCloseEnd = () => {\n this.hideList = true;\n this.el.removeEventListener(\"calciteComboboxClose\", this.toggleCloseEnd);\n };\n this.toggleOpenEnd = () => {\n this.hideList = false;\n this.el.removeEventListener(\"calciteComboboxOpen\", this.toggleOpenEnd);\n };\n this.transitionEnd = (event) => {\n if (event.propertyName === this.activeTransitionProp) {\n this.active ? this.calciteComboboxOpen.emit() : this.calciteComboboxClose.emit();\n }\n };\n this.setMaxScrollerHeight = () => {\n if (this.active) {\n this.maxScrollerHeight = this.getMaxScrollerHeight(this.getCombinedItems());\n }\n };\n this.calciteChipDismissHandler = (event, comboboxItem) => {\n this.active = false;\n const selection = this.items.find((item) => item === comboboxItem);\n if (selection) {\n this.toggleSelection(selection, false);\n }\n this.calciteComboboxChipDismiss.emit(event.detail);\n };\n this.setFocusClick = (event) => {\n if (event.composedPath().some((node) => node.tagName === \"CALCITE-CHIP\")) {\n return;\n }\n this.setFocus();\n };\n this.setInactiveIfNotContained = (event) => {\n const composedPath = event.composedPath();\n if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {\n return;\n }\n if (this.allowCustomValues && this.text) {\n this.addCustomChip(this.text);\n }\n if (this.selectionMode === \"single\") {\n if (this.textInput) {\n this.textInput.value = \"\";\n }\n this.text = \"\";\n this.filterItems(\"\");\n this.updateActiveItemIndex(-1);\n }\n this.active = false;\n };\n this.setMenuEl = (el) => {\n this.menuEl = el;\n };\n this.setListContainerEl = (el) => {\n this.listContainerEl = el;\n };\n this.setReferenceEl = (el) => {\n this.referenceEl = el;\n };\n this.inputHandler = (event) => {\n const value = event.target.value;\n this.text = value;\n this.filterItems(value);\n if (value) {\n this.activeChipIndex = -1;\n }\n };\n this.filterItems = (() => {\n const find = (item, filteredData) => item &&\n filteredData.some(({ label, value }) => {\n if (isGroup(item)) {\n return value === item.label || value === item.label;\n }\n return (value === item.textLabel ||\n value === item.value ||\n label === item.textLabel ||\n label === item.value);\n });\n return debounce((text) => {\n const filteredData = filter(this.data, text);\n const items = this.getCombinedItems();\n items.forEach((item) => {\n const hidden = !find(item, filteredData);\n item.hidden = hidden;\n const [parent, grandparent] = item.ancestors;\n if (find(parent, filteredData) || find(grandparent, filteredData)) {\n item.hidden = false;\n }\n if (!hidden) {\n item.ancestors.forEach((ancestor) => (ancestor.hidden = false));\n }\n });\n this.visibleItems = this.getVisibleItems();\n this.calciteComboboxFilterChange.emit({ visibleItems: [...this.visibleItems], text: text });\n }, 100);\n })();\n this.internalCalciteLookupChangeEvent = () => {\n this.calciteLookupChange.emit(this.selectedItems);\n };\n this.emitCalciteLookupChange = debounce(this.internalCalciteLookupChangeEvent, 0);\n this.internalComboboxChangeEvent = () => {\n const { selectedItems } = this;\n this.calciteComboboxChange.emit({ selectedItems });\n };\n this.emitComboboxChange = debounce(this.internalComboboxChangeEvent, 0);\n this.updateItems = () => {\n this.items = this.getItems();\n this.groupItems = this.getGroupItems();\n this.data = this.getData();\n this.selectedItems = this.getSelectedItems();\n this.visibleItems = this.getVisibleItems();\n this.needsIcon = this.getNeedsIcon();\n if (!this.allowCustomValues) {\n this.setMaxScrollerHeight();\n }\n };\n this.comboboxFocusHandler = () => {\n var _a;\n this.active = true;\n (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();\n };\n this.comboboxBlurHandler = (event) => {\n this.setInactiveIfNotContained(event);\n };\n }\n activeHandler(newValue, oldValue) {\n // when closing, wait transition time then hide to prevent overscroll\n if (oldValue && !newValue) {\n this.el.addEventListener(\"calciteComboboxClose\", this.toggleCloseEnd);\n this.open = false;\n }\n else if (!oldValue && newValue) {\n this.el.addEventListener(\"calciteComboboxOpen\", this.toggleOpenEnd);\n // give the combobox height, then reposition prior to opening\n requestAnimationFrame(() => {\n this.reposition();\n this.setMaxScrollerHeight();\n this.open = true;\n });\n }\n this.reposition();\n this.setMaxScrollerHeight();\n }\n maxItemsHandler() {\n this.setMaxScrollerHeight();\n }\n valueHandler(value) {\n if (!this.internalValueChangeFlag) {\n const items = this.getItems();\n if (Array.isArray(value)) {\n items.forEach((item) => (item.selected = value.includes(item.value)));\n }\n else if (value) {\n items.forEach((item) => (item.selected = value === item.value));\n }\n else {\n items.forEach((item) => (item.selected = false));\n }\n this.updateItems();\n }\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n documentClickHandler(event) {\n this.setInactiveIfNotContained(event);\n }\n calciteComboboxItemChangeHandler(event) {\n if (this.ignoreSelectedEventsFlag) {\n return;\n }\n const target = event.target;\n this.toggleSelection(target, target.selected);\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Updates the position of the component. */\n async reposition() {\n const { popper, menuEl } = this;\n const modifiers = this.getModifiers();\n popper\n ? await updatePopper({\n el: menuEl,\n modifiers,\n placement: ComboboxDefaultPlacement,\n popper\n })\n : this.createPopper();\n }\n /** Sets focus on the component. */\n async setFocus() {\n var _a;\n this.active = true;\n (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();\n this.activeChipIndex = -1;\n this.activeItemIndex = -1;\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n this.createPopper();\n connectLabel(this);\n connectForm(this);\n }\n componentWillLoad() {\n this.updateItems();\n }\n componentDidLoad() {\n afterConnectDefaultValueSet(this, this.getValue());\n }\n componentDidRender() {\n if (this.el.offsetHeight !== this.inputHeight) {\n this.reposition();\n this.inputHeight = this.el.offsetHeight;\n }\n }\n disconnectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n this.destroyPopper();\n disconnectLabel(this);\n disconnectForm(this);\n }\n selectedItemsHandler() {\n this.internalValueChangeFlag = true;\n this.value = this.getValue();\n this.internalValueChangeFlag = false;\n }\n /** when search text is cleared, reset active to */\n textHandler() {\n this.updateActiveItemIndex(-1);\n }\n getModifiers() {\n const flipModifier = {\n name: \"flip\",\n enabled: true\n };\n flipModifier.options = {\n fallbackPlacements: [\"top-start\", \"top\", \"top-end\", \"bottom-start\", \"bottom\", \"bottom-end\"]\n };\n return [flipModifier];\n }\n createPopper() {\n this.destroyPopper();\n const { menuEl, referenceEl, overlayPositioning } = this;\n const modifiers = this.getModifiers();\n this.popper = createPopper({\n el: menuEl,\n modifiers,\n overlayPositioning,\n placement: ComboboxDefaultPlacement,\n referenceEl\n });\n }\n destroyPopper() {\n const { popper } = this;\n if (popper) {\n popper.destroy();\n }\n this.popper = null;\n }\n getMaxScrollerHeight(items) {\n const { maxItems } = this;\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n items.forEach((item) => {\n if (itemsToProcess < maxItems && maxItems > 0) {\n const height = this.calculateSingleItemHeight(item);\n if (height > 0) {\n maxScrollerHeight += height;\n itemsToProcess++;\n }\n }\n });\n return maxScrollerHeight;\n }\n calculateSingleItemHeight(item) {\n let height = item.offsetHeight;\n // if item has children items, don't count their height twice\n const children = Array.from(item.querySelectorAll(ComboboxChildSelector));\n children\n .map((child) => child === null || child === void 0 ? void 0 : child.offsetHeight)\n .forEach((offsetHeight) => {\n height -= offsetHeight;\n });\n return height;\n }\n getCombinedItems() {\n return [...this.groupItems, ...this.items];\n }\n toggleSelection(item, value = !item.selected) {\n if (!item) {\n return;\n }\n if (this.isMulti()) {\n item.selected = value;\n this.updateAncestors(item);\n this.selectedItems = this.getSelectedItems();\n this.emitCalciteLookupChange();\n this.emitComboboxChange();\n this.resetText();\n this.filterItems(\"\");\n }\n else {\n this.ignoreSelectedEventsFlag = true;\n this.items.forEach((el) => (el.selected = el === item ? value : false));\n this.ignoreSelectedEventsFlag = false;\n this.selectedItems = this.getSelectedItems();\n this.emitComboboxChange();\n if (this.textInput) {\n this.textInput.value = item.textLabel;\n }\n this.active = false;\n this.updateActiveItemIndex(-1);\n this.resetText();\n this.filterItems(\"\");\n }\n }\n updateAncestors(item) {\n if (this.selectionMode !== \"ancestors\") {\n return;\n }\n const ancestors = getItemAncestors(item);\n const children = getItemChildren(item);\n if (item.selected) {\n ancestors.forEach((el) => {\n el.selected = true;\n });\n }\n else {\n children.forEach((el) => (el.selected = false));\n [...ancestors].forEach((el) => {\n if (!hasActiveChildren(el)) {\n el.selected = false;\n }\n });\n }\n }\n getVisibleItems() {\n return this.items.filter((item) => !item.hidden);\n }\n getSelectedItems() {\n return !this.isMulti()\n ? [this.items.find((item) => item.selected)]\n : this.items\n .filter((item) => item.selected && (this.selectionMode !== \"ancestors\" || !hasActiveChildren(item)))\n /** Preserve order of entered tags */\n .sort((a, b) => {\n const aIdx = this.selectedItems.indexOf(a);\n const bIdx = this.selectedItems.indexOf(b);\n if (aIdx > -1 && bIdx > -1) {\n return aIdx - bIdx;\n }\n return bIdx - aIdx;\n });\n }\n getData() {\n return this.items.map((item) => ({\n constant: item.constant,\n value: item.value,\n label: item.textLabel,\n guid: item.guid\n }));\n }\n getNeedsIcon() {\n return this.selectionMode === \"single\" && this.items.some((item) => item.icon);\n }\n resetText() {\n if (this.textInput) {\n this.textInput.value = \"\";\n }\n this.text = \"\";\n }\n getItems() {\n const items = Array.from(this.el.querySelectorAll(ComboboxItem));\n return items.filter((item) => !item.disabled);\n }\n getGroupItems() {\n return Array.from(this.el.querySelectorAll(ComboboxItemGroup));\n }\n addCustomChip(value, focus) {\n const existingItem = this.items.find((el) => el.textLabel === value);\n if (existingItem) {\n this.toggleSelection(existingItem, true);\n }\n else {\n const item = document.createElement(ComboboxItem);\n item.value = value;\n item.textLabel = value;\n item.guid = guid();\n item.selected = true;\n this.el.appendChild(item);\n this.resetText();\n if (focus) {\n this.setFocus();\n }\n this.updateItems();\n this.filterItems(\"\");\n this.emitCalciteLookupChange();\n this.emitComboboxChange();\n }\n }\n removeActiveChip() {\n this.toggleSelection(this.selectedItems[this.activeChipIndex], false);\n this.setFocus();\n }\n removeLastChip() {\n this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);\n this.setFocus();\n }\n previousChip() {\n if (this.text) {\n return;\n }\n const length = this.selectedItems.length - 1;\n const active = this.activeChipIndex;\n this.activeChipIndex = active === -1 ? length : Math.max(active - 1, 0);\n this.updateActiveItemIndex(-1);\n this.focusChip();\n }\n nextChip() {\n if (this.text || this.activeChipIndex === -1) {\n return;\n }\n const last = this.selectedItems.length - 1;\n const newIndex = this.activeChipIndex + 1;\n if (newIndex > last) {\n this.activeChipIndex = -1;\n this.setFocus();\n }\n else {\n this.activeChipIndex = newIndex;\n this.focusChip();\n }\n this.updateActiveItemIndex(-1);\n }\n focusChip() {\n var _a;\n const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;\n const chip = this.referenceEl.querySelector(`#chip-${guid}`);\n chip === null || chip === void 0 ? void 0 : chip.setFocus();\n }\n shiftActiveItemIndex(delta) {\n const length = this.visibleItems.length;\n const newIndex = (this.activeItemIndex + length + delta) % length;\n this.updateActiveItemIndex(newIndex);\n // ensure active item is in view if we have scrolling\n const activeItem = this.visibleItems[this.activeItemIndex];\n const height = this.calculateSingleItemHeight(activeItem);\n const { offsetHeight, scrollTop } = this.listContainerEl;\n if (offsetHeight + scrollTop < activeItem.offsetTop + height) {\n this.listContainerEl.scrollTop = activeItem.offsetTop - offsetHeight + height;\n }\n else if (activeItem.offsetTop < scrollTop) {\n this.listContainerEl.scrollTop = activeItem.offsetTop;\n }\n }\n updateActiveItemIndex(index) {\n var _a;\n this.activeItemIndex = index;\n let activeDescendant = null;\n this.visibleItems.forEach((el, i) => {\n if (i === index) {\n el.active = true;\n activeDescendant = el.guid;\n }\n else {\n el.active = false;\n }\n });\n this.activeDescendant = activeDescendant;\n if (this.activeItemIndex > -1) {\n this.activeChipIndex = -1;\n (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n isMulti() {\n return this.selectionMode !== \"single\";\n }\n //--------------------------------------------------------------------------\n //\n // Render Methods\n //\n //--------------------------------------------------------------------------\n renderChips() {\n const { activeChipIndex, scale, selectionMode, el } = this;\n const dir = getElementDir(el);\n return this.selectedItems.map((item, i) => {\n const chipClasses = {\n chip: true,\n \"chip--active\": activeChipIndex === i,\n \"chip--rtl\": dir === \"rtl\"\n };\n const ancestors = [...getItemAncestors(item)].reverse();\n const pathLabel = [...ancestors, item].map((el) => el.textLabel);\n const label = selectionMode !== \"ancestors\" ? item.textLabel : pathLabel.join(\" / \");\n return (h(\"calcite-chip\", { \"aria-label\": label, class: chipClasses, dismissLabel: \"remove tag\", dismissible: true, icon: item.icon, id: `chip-${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));\n });\n }\n renderInput() {\n const { active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;\n const single = selectionMode === \"single\";\n const selectedItem = selectedItems[0];\n const showLabel = !active && single && !!selectedItem;\n return (h(\"span\", { class: {\n \"input-wrap\": true,\n \"input-wrap--single\": single\n } },\n showLabel && (h(\"span\", { class: {\n label: true,\n \"label--spaced\": needsIcon\n }, key: \"label\", onFocus: this.comboboxFocusHandler, tabindex: \"0\" }, selectedItem.textLabel)),\n h(\"input\", { \"aria-activedescendant\": this.activeDescendant, \"aria-autocomplete\": \"list\", \"aria-controls\": guid, \"aria-label\": getLabelText(this), class: {\n input: true,\n \"input--single\": true,\n \"input--transparent\": this.activeChipIndex > -1,\n \"input--hidden\": showLabel,\n \"input--icon\": single && needsIcon\n }, disabled: disabled, id: `${guid}-input`, key: \"input\", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: \"text\" })));\n }\n renderListBoxOptions() {\n return this.visibleItems.map((item) => (h(\"li\", { \"aria-selected\": (!!item.selected).toString(), id: item.guid, role: \"option\", tabindex: \"-1\" }, item.textLabel)));\n }\n renderPopperContainer() {\n const { active, maxScrollerHeight, setMenuEl, setListContainerEl, hideList, open } = this;\n const classes = {\n \"list-container\": true,\n [PopperCSS.animation]: true,\n [PopperCSS.animationActive]: active\n };\n const style = {\n maxHeight: maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\"\n };\n return (h(\"div\", { \"aria-hidden\": \"true\", class: { \"popper-container\": true, \"popper-container--active\": open }, ref: setMenuEl },\n h(\"div\", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl, style: style },\n h(\"ul\", { class: { list: true, \"list--hide\": hideList } },\n h(\"slot\", null)))));\n }\n renderIconStart() {\n const { selectionMode, needsIcon, selectedItems } = this;\n const selectedItem = selectedItems[0];\n return (selectionMode === \"single\" &&\n needsIcon && (h(\"span\", { class: \"icon-start\" }, (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) && (h(\"calcite-icon\", { class: \"selected-icon\", icon: selectedItem.icon, scale: \"s\" })))));\n }\n renderIconEnd() {\n return (h(\"span\", { class: \"icon-end\" },\n h(\"calcite-icon\", { icon: \"chevron-down\", scale: \"s\" })));\n }\n render() {\n const { guid, open, label } = this;\n const single = this.selectionMode === \"single\";\n const labelId = `${guid}-label`;\n return (h(Host, { onKeyDown: this.keydownHandler },\n h(\"div\", { \"aria-autocomplete\": \"list\", \"aria-expanded\": open.toString(), \"aria-haspopup\": \"listbox\", \"aria-labelledby\": labelId, \"aria-owns\": guid, class: {\n wrapper: true,\n \"wrapper--single\": single || !this.selectedItems.length,\n \"wrapper--active\": open\n }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: \"combobox\" },\n h(\"div\", { class: \"grid-input\" },\n this.renderIconStart(),\n !single && this.renderChips(),\n h(\"label\", { class: \"screen-readers-only\", htmlFor: `${guid}-input`, id: labelId }, label),\n this.renderInput()),\n this.renderIconEnd()),\n h(\"ul\", { \"aria-labelledby\": labelId, \"aria-multiselectable\": \"true\", class: \"screen-readers-only\", id: guid, role: \"listbox\", tabIndex: -1 }, this.renderListBoxOptions()),\n this.renderPopperContainer(),\n h(HiddenFormInputSlot, { component: this })));\n }\n static get is() { return \"calcite-combobox\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-combobox.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-combobox.css\"]\n }; }\n static get properties() { return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Opens or closes the combobox\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\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\": \"Disable combobox input\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Aria label for combobox (required)\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"placeholder\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Placeholder text for input\"\n },\n \"attribute\": \"placeholder\",\n \"reflect\": false\n },\n \"maxItems\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specify the maximum number of combobox items (including nested children) to display before showing the scroller\"\n },\n \"attribute\": \"max-items\",\n \"reflect\": false,\n \"defaultValue\": \"0\"\n },\n \"name\": {\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\": \"The name of the switch input\"\n },\n \"attribute\": \"name\",\n \"reflect\": true\n },\n \"allowCustomValues\": {\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\": \"Allow entry of custom values which are not in the original set of items\"\n },\n \"attribute\": \"allow-custom-values\",\n \"reflect\": false\n },\n \"overlayPositioning\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"OverlayPositioning\",\n \"resolved\": \"\\\"absolute\\\" | \\\"fixed\\\"\",\n \"references\": {\n \"OverlayPositioning\": {\n \"location\": \"import\",\n \"path\": \"../../utils/popper\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.\"\n },\n \"attribute\": \"overlay-positioning\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"absolute\\\"\"\n },\n \"required\": {\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 \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"When true, makes the component required for form-submission.\"\n },\n \"attribute\": \"required\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"selectionMode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ComboboxSelectionMode\",\n \"resolved\": \"\\\"ancestors\\\" | \\\"multi\\\" | \\\"single\\\"\",\n \"references\": {\n \"ComboboxSelectionMode\": {\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\\n- multi: allow any number of selected items (default)\\n- single: only one selection)\\n- ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips\"\n },\n \"attribute\": \"selection-mode\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"multi\\\"\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specify the scale of the combobox, defaults to m\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"value\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string | string[]\",\n \"resolved\": \"string | string[]\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The value(s) of the selectedItem(s)\"\n },\n \"attribute\": \"value\",\n \"reflect\": false,\n \"defaultValue\": \"null\"\n }\n }; }\n static get states() { return {\n \"items\": {},\n \"groupItems\": {},\n \"selectedItems\": {},\n \"visibleItems\": {},\n \"needsIcon\": {},\n \"hideList\": {},\n \"activeItemIndex\": {},\n \"activeChipIndex\": {},\n \"activeDescendant\": {},\n \"text\": {},\n \"open\": {},\n \"maxScrollerHeight\": {}\n }; }\n static get events() { return [{\n \"method\": \"calciteLookupChange\",\n \"name\": \"calciteLookupChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use calciteComboboxChange instead\"\n }],\n \"text\": \"Called when the selected items set changes\"\n },\n \"complexType\": {\n \"original\": \"HTMLCalciteComboboxItemElement[]\",\n \"resolved\": \"HTMLCalciteComboboxItemElement[]\",\n \"references\": {\n \"HTMLCalciteComboboxItemElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteComboboxChange\",\n \"name\": \"calciteComboboxChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Called when the selected item(s) changes.\"\n },\n \"complexType\": {\n \"original\": \"{ selectedItems: HTMLCalciteComboboxItemElement[] }\",\n \"resolved\": \"{ selectedItems: HTMLCalciteComboboxItemElement[]; }\",\n \"references\": {\n \"HTMLCalciteComboboxItemElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteComboboxFilterChange\",\n \"name\": \"calciteComboboxFilterChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Called when the user has entered text to filter the options list\"\n },\n \"complexType\": {\n \"original\": \"{\\n visibleItems: HTMLCalciteComboboxItemElement[];\\n text: string;\\n }\",\n \"resolved\": \"{ visibleItems: HTMLCalciteComboboxItemElement[]; text: string; }\",\n \"references\": {\n \"HTMLCalciteComboboxItemElement\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteComboboxChipDismiss\",\n \"name\": \"calciteComboboxChipDismiss\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Called when a selected item in the combobox is dismissed via its chip *\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteComboboxOpen\",\n \"name\": \"calciteComboboxOpen\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Fired when the combobox is opened\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteComboboxClose\",\n \"name\": \"calciteComboboxClose\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Fired when the combobox is closed\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"reposition\": {\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\": \"Updates the position of the component.\",\n \"tags\": []\n }\n },\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 static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"active\",\n \"methodName\": \"activeHandler\"\n }, {\n \"propName\": \"maxItems\",\n \"methodName\": \"maxItemsHandler\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueHandler\"\n }, {\n \"propName\": \"selectedItems\",\n \"methodName\": \"selectedItemsHandler\"\n }, {\n \"propName\": \"text\",\n \"methodName\": \"textHandler\"\n }]; }\n static get listeners() { return [{\n \"name\": \"click\",\n \"method\": \"documentClickHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteComboboxItemChange\",\n \"method\": \"calciteComboboxItemChangeHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"],"version":3}
|