@esri/solutions-components 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @esri/solutions-components might be problematic. Click here for more details.
- 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-date-picker-day.calcite-date-picker-month.calcite-date-picker-month-header.entry.js","mappings":";;;;;;;;;;;;AAAA,MAAM,uBAAuB,GAAG,wsVAAwsV;;ICQ3tV,oBAAoB;EAC/B;;;;;IAEE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;IAEtB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;;IAE1B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;IAEtB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;;IAEzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IAEnB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;;IAE1B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;;IAExB,IAAI,CAAC,UAAU,GAAG,KAA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"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css?tag=calcite-date-picker-day&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css?tag=calcite-date-picker-month&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css?tag=calcite-date-picker-month-header&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js"],"sourcesContent":["/* 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: flex;\n justify-content: center;\n outline: 2px solid transparent;\n outline-offset: 2px;\n color: var(--calcite-ui-text-3);\n cursor: pointer;\n min-width: 0;\n width: 14.2857142857%;\n}\n\n.day-v-wrapper {\n flex: 1 1 auto;\n}\n\n.day-wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.day {\n display: flex;\n border-radius: 9999px;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n justify-content: center;\n align-items: center;\n line-height: 1;\n color: var(--calcite-ui-text-3);\n transition-property: all;\n opacity: var(--calcite-ui-opacity-disabled);\n background: none;\n box-shadow: 0 0 0 2px transparent, 0 0 0 0px transparent;\n}\n\n.text {\n margin-top: 1px;\n margin-right: 0;\n margin-bottom: 0;\n margin-left: 1px;\n}\n\n:host([scale=s]) .day-v-wrapper {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem;\n}\n\n:host([scale=s]) .day-wrapper {\n padding: 0;\n}\n\n:host([scale=s]) .day {\n height: 27px;\n width: 27px;\n font-size: var(--calcite-font-size--2);\n}\n\n:host([scale=m]) .day-v-wrapper {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n:host([scale=m]) .day-wrapper {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n:host([scale=m]) .day {\n height: 33px;\n width: 33px;\n font-size: var(--calcite-font-size--1);\n}\n\n:host([scale=l]) .day-v-wrapper {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n:host([scale=l]) .day-wrapper {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n:host([scale=l]) .day {\n height: 43px;\n width: 43px;\n font-size: var(--calcite-font-size-0);\n}\n\n:host([current-month]) .day {\n opacity: 1;\n}\n\n:host([disabled]) {\n cursor: default;\n opacity: 0.25;\n}\n\n:host(:hover:not([disabled])) .day,\n:host([active]:not([range])) .day {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus),\n:host([active]) {\n z-index: 1;\n}\n\n:host(:focus:not([disabled])) .day {\n box-shadow: 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);\n}\n\n:host([selected]) .day {\n font-weight: var(--calcite-font-weight-medium);\n background-color: var(--calcite-ui-brand) !important;\n color: var(--calcite-ui-foreground-1) !important;\n z-index: 1;\n}\n\n:host([range][selected]) .day-wrapper {\n background-color: var(--calcite-ui-foreground-current);\n}\n\n:host([start-of-range]) :not(.calcite--rtl) .day-wrapper,\n:host([end-of-range]) .calcite--rtl .day-wrapper {\n border-top-left-radius: 40%;\n border-bottom-left-radius: 40%;\n box-shadow: inset 4px 0 var(--calcite-ui-foreground-1);\n}\n\n:host([start-of-range]) :not(.calcite--rtl) .day,\n:host([end-of-range]) .calcite--rtl .day {\n opacity: 1;\n}\n\n:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,\n:host([end-of-range]:not(:focus)) .calcite--rtl .day {\n box-shadow: 0 0 0 2px var(--calcite-ui-foreground-1);\n}\n\n:host([end-of-range]) :not(.calcite--rtl) .day-wrapper,\n:host([start-of-range]) .calcite--rtl .day-wrapper {\n border-top-right-radius: 40%;\n border-bottom-right-radius: 40%;\n box-shadow: inset -4px 0 var(--calcite-ui-foreground-1);\n}\n\n:host([end-of-range]) :not(.calcite--rtl) .day,\n:host([start-of-range]) .calcite--rtl .day {\n opacity: 1;\n}\n\n:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day,\n:host([start-of-range]:not(:focus)) .calcite--rtl .day {\n box-shadow: 0 0 0 2px var(--calcite-ui-foreground-1);\n}\n\n:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,\n:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper {\n box-shadow: inset -8px 0 var(--calcite-ui-foreground-1);\n}\n\n:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper,\n:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper {\n box-shadow: inset 8px 0 var(--calcite-ui-foreground-1);\n}\n\n:host([highlighted]) .day-wrapper {\n background-color: var(--calcite-ui-foreground-current);\n}\n\n:host([highlighted]) .day-wrapper .day {\n color: var(--calcite-ui-text-1);\n}\n\n:host([highlighted]:not([active]:focus)) .day {\n border-radius: 0;\n color: var(--calcite-ui-text-1);\n}\n\n:host([range-hover]:not([selected])) .day-wrapper {\n background-color: var(--calcite-ui-foreground-2);\n}\n\n:host([range-hover]:not([selected])) .day {\n border-radius: 0;\n}\n\n:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,\n:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));\n border-radius: 0;\n box-shadow: none;\n}\n\n:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,\n:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));\n border-radius: 0;\n box-shadow: none;\n}\n\n:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,\n:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));\n border-radius: 0;\n box-shadow: none;\n}\n\n:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,\n:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));\n border-radius: 0;\n box-shadow: none;\n}\n\n:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper,\n:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current));\n}\n\n:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day,\n:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day {\n border-radius: 9999px;\n opacity: 1;\n box-shadow: 0 0 0 2px var(--calcite-ui-foreground-1);\n}\n\n:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper,\n:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));\n}\n\n:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day,\n:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day {\n border-radius: 9999px;\n opacity: 1;\n box-shadow: 0 0 0 2px var(--calcite-ui-foreground-1);\n}\n\n:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,\n:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));\n}\n\n:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,\n:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day {\n border-radius: 9999px;\n opacity: 1;\n box-shadow: 0 0 0 2px var(--calcite-ui-foreground-1);\n}\n\n:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,\n:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper {\n background-image: linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));\n}\n\n:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,\n:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day {\n border-radius: 9999px;\n opacity: 1;\n box-shadow: 0 0 0 2px var(--calcite-ui-foreground-1);\n}\n\n:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,\n:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper {\n background-image: none;\n}\n\n:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,\n:host([end-of-range].hover--inside-range.focused--start) .day-wrapper {\n background-color: var(--calcite-ui-foreground-2);\n}\n\n:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,\n:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,\n:host([highlighted]:first-child) .calcite--rtl .day-wrapper,\n:host([range-hover]:first-child) .calcite--rtl .day-wrapper {\n border-top-right-radius: 45%;\n border-bottom-right-radius: 45%;\n box-shadow: inset -4px 0px 0px 0px var(--calcite-ui-foreground-1);\n}\n\n:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,\n:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,\n:host([highlighted]:last-child) .calcite--rtl .day-wrapper,\n:host([range-hover]:last-child) .calcite--rtl .day-wrapper {\n border-top-left-radius: 45%;\n border-bottom-left-radius: 45%;\n box-shadow: inset 4px 0px 0px 0px var(--calcite-ui-foreground-1);\n}\n\n:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,\n:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper {\n box-shadow: inset -1px 0px 0px 0px var(--calcite-ui-foreground-1);\n}\n\n:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,\n:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper {\n box-shadow: inset 1px 0px 0px 0px var(--calcite-ui-foreground-1);\n}\n\n:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,\n:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper {\n box-shadow: inset 6px 0px 0px 0px var(--calcite-ui-foreground-1);\n}\n\n:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,\n:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,\n:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper {\n box-shadow: inset -6px 0px 0px 0px var(--calcite-ui-foreground-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, Prop, Host, Event, Listen, h } from \"@stencil/core\";\nimport { getKey } from \"../../utils/key\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nexport class CalciteDatePickerDay {\n constructor() {\n /** Date is outside of range and can't be selected */\n this.disabled = false;\n /** Date is in the current month. */\n this.currentMonth = false;\n /** Date is the current selected date of the picker */\n this.selected = false;\n /** Date is currently highlighted as part of the range */\n this.highlighted = false;\n /** Showing date range */\n this.range = false;\n /** Date is the start of date range */\n this.startOfRange = false;\n /** Date is the end of date range */\n this.endOfRange = false;\n /** Date is being hovered and within the set range */\n this.rangeHover = false;\n /** Date is actively in focus for keyboard navigation */\n this.active = false;\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n this.onClick = () => {\n !this.disabled && this.calciteDaySelect.emit();\n };\n this.keyDownHandler = (e) => {\n const key = getKey(e.key);\n if (key === \" \" || key === \"Enter\") {\n !this.disabled && this.calciteDaySelect.emit();\n }\n };\n }\n mouseoverHandler() {\n this.calciteDayHover.emit({\n disabled: this.disabled\n });\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n render() {\n const formattedDay = String(this.day)\n .split(\"\")\n .map((i) => this.localeData.numerals[i])\n .join(\"\");\n const dir = getElementDir(this.el);\n return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: \"gridcell\", tabindex: this.active ? 0 : -1 },\n h(\"div\", { class: { \"day-v-wrapper\": true, [CSS_UTILITY.rtl]: dir === \"rtl\" } },\n h(\"div\", { class: \"day-wrapper\" },\n h(\"span\", { class: \"day\" },\n h(\"span\", { class: \"text\" }, formattedDay))))));\n }\n static get is() { return \"calcite-date-picker-day\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-date-picker-day.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-date-picker-day.css\"]\n }; }\n static get properties() { return {\n \"day\": {\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\": \"Day of the month to be shown.\"\n },\n \"attribute\": \"day\",\n \"reflect\": 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\": \"Date is outside of range and can't be selected\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"currentMonth\": {\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\": \"Date is in the current month.\"\n },\n \"attribute\": \"current-month\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selected\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Date is the current selected date of the picker\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"highlighted\": {\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\": \"Date is currently highlighted as part of the range\"\n },\n \"attribute\": \"highlighted\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"range\": {\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\": \"Showing date range\"\n },\n \"attribute\": \"range\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"startOfRange\": {\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\": \"Date is the start of date range\"\n },\n \"attribute\": \"start-of-range\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"endOfRange\": {\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\": \"Date is the end of date range\"\n },\n \"attribute\": \"end-of-range\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"rangeHover\": {\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\": \"Date is being hovered and within the set range\"\n },\n \"attribute\": \"range-hover\",\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\": \"Date is actively in focus for keyboard navigation\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"localeData\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"DateLocaleData\",\n \"resolved\": \"DateLocaleData\",\n \"references\": {\n \"DateLocaleData\": {\n \"location\": \"import\",\n \"path\": \"../calcite-date-picker/utils\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"CLDR data for current locale\"\n }\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 date picker\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n },\n \"value\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Date value for the day.\"\n }\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteDaySelect\",\n \"name\": \"calciteDaySelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when user selects day\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteDayHover\",\n \"name\": \"calciteDayHover\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when user hovers over a day\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get elementRef() { return \"el\"; }\n static get listeners() { return [{\n \"name\": \"mouseover\",\n \"method\": \"mouseoverHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }]; }\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.calender {\n margin-bottom: 0.25rem;\n}\n\n.week-headers {\n display: flex;\n border-width: 0;\n border-top-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n padding-top: 0;\n padding-bottom: 0;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.week-header {\n color: var(--calcite-ui-text-3);\n text-align: center;\n font-weight: var(--calcite-font-weight-bold);\n width: 14.2857142857%;\n}\n\n:host([scale=s]) .week-header {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n padding-top: 0.5rem;\n padding-bottom: 0.75rem;\n padding-left: 0;\n padding-right: 0;\n}\n\n:host([scale=m]) .week-header {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n padding-top: 0.75rem;\n padding-bottom: 1rem;\n padding-left: 0;\n padding-right: 0;\n}\n\n:host([scale=l]) .week-header {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n padding-top: 1rem;\n padding-bottom: 1.25rem;\n padding-left: 0;\n padding-right: 0;\n}\n\n.week-days {\n outline: 2px solid transparent;\n outline-offset: 2px;\n display: flex;\n flex-direction: row;\n padding-top: 0;\n padding-bottom: 0;\n padding-left: 6px;\n padding-right: 6px;\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, Prop, Host, Event, h, Listen } from \"@stencil/core\";\nimport { inRange, sameDate, dateFromRange } from \"../../utils/date\";\nimport { getKey } from \"../../utils/key\";\nimport { getElementDir } from \"../../utils/dom\";\nexport class CalciteDatePickerMonth {\n constructor() {\n /** Date currently active.*/\n this.activeDate = new Date();\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n this.keyDownHandler = (e) => {\n const isRTL = this.el.dir === \"rtl\";\n switch (getKey(e.key)) {\n case \"ArrowUp\":\n e.preventDefault();\n this.addDays(-7);\n break;\n case \"ArrowRight\":\n e.preventDefault();\n this.addDays(isRTL ? -1 : 1);\n break;\n case \"ArrowDown\":\n e.preventDefault();\n this.addDays(7);\n break;\n case \"ArrowLeft\":\n e.preventDefault();\n this.addDays(isRTL ? 1 : -1);\n break;\n case \"PageUp\":\n e.preventDefault();\n this.addMonths(-1);\n break;\n case \"PageDown\":\n e.preventDefault();\n this.addMonths(1);\n break;\n case \"Home\":\n e.preventDefault();\n this.activeDate.setDate(1);\n this.addDays();\n break;\n case \"End\":\n e.preventDefault();\n this.activeDate.setDate(new Date(this.activeDate.getFullYear(), this.activeDate.getMonth() + 1, 0).getDate());\n this.addDays();\n break;\n case \"Enter\":\n case \" \":\n e.preventDefault();\n break;\n case \"Tab\":\n this.activeFocus = false;\n }\n };\n /**\n * Once user is not interacting via keyboard,\n * disable auto focusing of active date\n */\n this.disableActiveFocus = () => {\n this.activeFocus = false;\n };\n this.dayHover = (e) => {\n const target = e.target;\n if (e.detail.disabled) {\n this.calciteDatePickerMouseOut.emit();\n }\n else {\n this.calciteDatePickerHover.emit(target.value);\n }\n };\n this.daySelect = (e) => {\n const target = e.target;\n this.calciteDatePickerSelect.emit(target.value);\n };\n }\n mouseoutHandler() {\n this.calciteDatePickerMouseOut.emit();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n render() {\n const month = this.activeDate.getMonth();\n const year = this.activeDate.getFullYear();\n const startOfWeek = this.localeData.weekStart % 7;\n const { abbreviated, short, narrow } = this.localeData.days;\n const weekDays = this.scale === \"s\" ? narrow || short || abbreviated : short || abbreviated || narrow;\n const adjustedWeekDays = [...weekDays.slice(startOfWeek, 7), ...weekDays.slice(0, startOfWeek)];\n const curMonDays = this.getCurrentMonthDays(month, year);\n const prevMonDays = this.getPrevMonthdays(month, year, startOfWeek);\n const nextMonDays = this.getNextMonthDays(month, year, startOfWeek);\n const dir = getElementDir(this.el);\n const days = [\n ...prevMonDays.map((day) => {\n const date = new Date(year, month - 1, day);\n return this.renderDateDay(false, day, dir, date);\n }),\n ...curMonDays.map((day) => {\n const date = new Date(year, month, day);\n const active = sameDate(date, this.activeDate);\n return this.renderDateDay(active, day, dir, date, true, true);\n }),\n ...nextMonDays.map((day) => {\n const date = new Date(year, month + 1, day);\n return this.renderDateDay(false, day, dir, date);\n })\n ];\n const weeks = [];\n for (let i = 0; i < days.length; i += 7) {\n weeks.push(days.slice(i, i + 7));\n }\n return (h(Host, { onFocusOut: this.disableActiveFocus, onKeyDown: this.keyDownHandler },\n h(\"div\", { class: \"calender\", role: \"grid\" },\n h(\"div\", { class: \"week-headers\", role: \"row\" }, adjustedWeekDays.map((weekday) => (h(\"span\", { class: \"week-header\", role: \"columnheader\" }, weekday)))),\n weeks.map((days) => (h(\"div\", { class: \"week-days\", role: \"row\" }, days))))));\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n /**\n * Add n months to the current month\n */\n addMonths(step) {\n const nextDate = new Date(this.activeDate);\n nextDate.setMonth(this.activeDate.getMonth() + step);\n this.calciteDatePickerActiveDateChange.emit(dateFromRange(nextDate, this.min, this.max));\n this.activeFocus = true;\n }\n /**\n * Add n days to the current date\n */\n addDays(step = 0) {\n const nextDate = new Date(this.activeDate);\n nextDate.setDate(this.activeDate.getDate() + step);\n this.calciteDatePickerActiveDateChange.emit(dateFromRange(nextDate, this.min, this.max));\n this.activeFocus = true;\n }\n /**\n * Get dates for last days of the previous month\n */\n getPrevMonthdays(month, year, startOfWeek) {\n const lastDate = new Date(year, month, 0);\n const date = lastDate.getDate();\n const day = lastDate.getDay();\n const days = [];\n if (day - 6 === startOfWeek) {\n return days;\n }\n for (let i = lastDate.getDay(); i >= startOfWeek; i--) {\n days.push(date - i);\n }\n return days;\n }\n /**\n * Get dates for the current month\n */\n getCurrentMonthDays(month, year) {\n const num = new Date(year, month + 1, 0).getDate();\n const days = [];\n for (let i = 0; i < num; i++) {\n days.push(i + 1);\n }\n return days;\n }\n /**\n * Get dates for first days of the next month\n */\n getNextMonthDays(month, year, startOfWeek) {\n const endDay = new Date(year, month + 1, 0).getDay();\n const days = [];\n if (endDay === (startOfWeek + 6) % 7) {\n return days;\n }\n for (let i = 0; i < (6 - (endDay - startOfWeek)) % 7; i++) {\n days.push(i + 1);\n }\n return days;\n }\n /**\n * Determine if the date is in between the start and end dates\n */\n betweenSelectedRange(date) {\n return !!(this.startDate &&\n this.endDate &&\n date > this.startDate &&\n date < this.endDate &&\n !this.isRangeHover(date));\n }\n /**\n * Determine if the date should be in selected state\n */\n isSelected(date) {\n return !!(sameDate(date, this.selectedDate) ||\n (this.startDate && sameDate(date, this.startDate)) ||\n (this.endDate && sameDate(date, this.endDate)));\n }\n /**\n * Determine if the date is the start of the date range\n */\n isStartOfRange(date) {\n return !!(this.startDate &&\n !sameDate(this.startDate, this.endDate) &&\n sameDate(this.startDate, date) &&\n !this.isEndOfRange(date));\n }\n isEndOfRange(date) {\n return !!((this.endDate && !sameDate(this.startDate, this.endDate) && sameDate(this.endDate, date)) ||\n (!this.endDate &&\n this.hoverRange &&\n sameDate(this.startDate, this.hoverRange.end) &&\n sameDate(date, this.hoverRange.end)));\n }\n /**\n * Render calcite-date-picker-day\n */\n renderDateDay(active, day, dir, date, currentMonth, ref) {\n var _a;\n const isFocusedOnStart = this.isFocusedOnStart();\n const isHoverInRange = this.isHoverInRange() ||\n (!this.endDate && this.hoverRange && sameDate((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.end, this.startDate));\n return (h(\"calcite-date-picker-day\", { active: active, class: {\n \"hover--inside-range\": this.startDate && isHoverInRange,\n \"hover--outside-range\": this.startDate && !isHoverInRange,\n \"focused--start\": isFocusedOnStart,\n \"focused--end\": !isFocusedOnStart\n }, currentMonth: currentMonth, day: day, dir: dir, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData, onCalciteDayHover: this.dayHover, onCalciteDaySelect: this.daySelect, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {\n // when moving via keyboard, focus must be updated on active date\n if (ref && active && this.activeFocus) {\n el === null || el === void 0 ? void 0 : el.focus();\n }\n }, scale: this.scale, selected: this.isSelected(date), startOfRange: this.isStartOfRange(date), value: date }));\n }\n isFocusedOnStart() {\n var _a;\n return ((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === \"start\";\n }\n isHoverInRange() {\n if (!this.hoverRange) {\n return false;\n }\n const { start, end } = this.hoverRange;\n return !!((!this.isFocusedOnStart() && this.startDate && (!this.endDate || end < this.endDate)) ||\n (this.isFocusedOnStart() && this.startDate && start > this.startDate));\n }\n isRangeHover(date) {\n if (!this.hoverRange) {\n return false;\n }\n const { start, end } = this.hoverRange;\n const isStart = this.isFocusedOnStart();\n const insideRange = this.isHoverInRange();\n const cond1 = insideRange &&\n ((!isStart && date > this.startDate && (date < end || sameDate(date, end))) ||\n (isStart && date < this.endDate && (date > start || sameDate(date, start))));\n const cond2 = !insideRange &&\n ((!isStart && date >= this.endDate && (date < end || sameDate(date, end))) ||\n (isStart &&\n (date < this.startDate || (this.endDate && sameDate(date, this.startDate))) &&\n (date > start || sameDate(date, start))));\n return cond1 || cond2;\n }\n static get is() { return \"calcite-date-picker-month\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-date-picker-month.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-date-picker-month.css\"]\n }; }\n static get properties() { return {\n \"selectedDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Already selected date.\"\n }\n },\n \"activeDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Date currently active.\"\n },\n \"defaultValue\": \"new Date()\"\n },\n \"startDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Start date currently active.\"\n }\n },\n \"endDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"End date currently active\"\n }\n },\n \"min\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Minimum date of the calendar below which is disabled.\"\n }\n },\n \"max\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Maximum date of the calendar above which is disabled.\"\n }\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 date picker\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n },\n \"localeData\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"DateLocaleData\",\n \"resolved\": \"DateLocaleData\",\n \"references\": {\n \"DateLocaleData\": {\n \"location\": \"import\",\n \"path\": \"../calcite-date-picker/utils\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"CLDR locale data for current locale\"\n }\n },\n \"hoverRange\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HoverRange\",\n \"resolved\": \"HoverRange\",\n \"references\": {\n \"HoverRange\": {\n \"location\": \"import\",\n \"path\": \"../../utils/date\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The range of dates currently being hovered\"\n }\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteDatePickerSelect\",\n \"name\": \"calciteDatePickerSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Event emitted when user selects the date.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteDatePickerHover\",\n \"name\": \"calciteDatePickerHover\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Event emitted when user hovers the date.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteDatePickerActiveDateChange\",\n \"name\": \"calciteDatePickerActiveDateChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Active date for the user keyboard access.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteDatePickerMouseOut\",\n \"name\": \"calciteDatePickerMouseOut\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get elementRef() { return \"el\"; }\n static get listeners() { return [{\n \"name\": \"mouseout\",\n \"method\": \"mouseoutHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }]; }\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 display: block;\n}\n\n.header {\n display: flex;\n justify-content: space-between;\n padding-top: 0;\n padding-bottom: 0;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n:host([scale=s]) .text {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n:host([scale=s]) .chevron {\n height: 2.25rem;\n}\n\n:host([scale=m]) .text {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n margin-top: 0.75rem;\n margin-bottom: 0.75rem;\n}\n\n:host([scale=m]) .chevron {\n height: 3rem;\n}\n\n:host([scale=l]) .text {\n font-size: var(--calcite-font-size-1);\n line-height: 1.5rem;\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n:host([scale=l]) .chevron {\n height: 3.5rem;\n}\n\n.chevron {\n color: var(--calcite-ui-text-3);\n flex-grow: 0;\n box-sizing: content-box;\n outline: 2px solid transparent;\n outline-offset: 2px;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n margin-left: -0.25rem;\n margin-right: -0.25rem;\n border-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--calcite-ui-foreground-1);\n cursor: pointer;\n transition-property: all;\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 width: 14.2857142857%;\n}\n\n.chevron:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.chevron:hover, .chevron:focus {\n color: var(--calcite-ui-text-1);\n background-color: var(--calcite-ui-foreground-2);\n fill: var(--calcite-ui-text-1);\n}\n\n.chevron:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.chevron[aria-disabled=true] {\n pointer-events: none;\n opacity: 0;\n}\n\n.text {\n flex: 1 1 auto;\n align-items: center;\n justify-content: center;\n line-height: 1;\n margin-top: auto;\n margin-bottom: auto;\n text-align: center;\n width: 100%;\n}\n\n.text--reverse {\n flex-direction: row-reverse;\n}\n\n.month,\n.year,\n.suffix {\n color: var(--calcite-ui-text-1);\n background-color: var(--calcite-ui-foreground-1);\n font-weight: var(--calcite-font-weight-medium);\n line-height: 1.25;\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n margin-top: auto;\n margin-bottom: auto;\n display: inline-block;\n font-size: inherit;\n}\n\n.year {\n font-family: inherit;\n text-align: center;\n border-style: none;\n width: 3rem;\n background-color: transparent;\n position: relative;\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n z-index: 2;\n}\n\n.year:hover {\n transition-duration: 100ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-property: outline-color;\n outline: 2px solid var(--calcite-ui-border-2);\n outline-offset: 2px;\n}\n\n.year:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n.year--suffix {\n width: 4rem;\n text-align: left;\n}\n\n.year-wrap {\n position: relative;\n}\n\n.suffix {\n position: absolute;\n width: 4rem;\n white-space: nowrap;\n text-align: left;\n top: 0;\n left: 0;\n}\n\n.suffix__invisible {\n visibility: hidden;\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, Prop, Event, h, State, Watch, Fragment } from \"@stencil/core\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { dateFromRange, nextMonth, prevMonth, localizeNumber, parseNumber, getOrder } from \"../../utils/date\";\nimport { getKey } from \"../../utils/key\";\nimport { CalciteHeading } from \"../functional/CalciteHeading\";\nexport class CalciteDatePickerMonthHeader {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n /**\n * Increment year on UP/DOWN keys\n */\n this.onYearKey = (e) => {\n const year = e.target.value;\n switch (getKey(e.key)) {\n case \"ArrowDown\":\n e.preventDefault();\n this.setYear(year, -1);\n break;\n case \"ArrowUp\":\n e.preventDefault();\n this.setYear(year, 1);\n break;\n }\n };\n this.yearChanged = (event) => {\n this.setYear(event.target.value);\n };\n this.prevMonthClick = (e) => {\n this.handleArrowClick(e, this.prevMonthDate);\n };\n this.prevMonthKeydown = (e) => {\n const key = getKey(e.key);\n if (key === \" \" || key === \"Enter\") {\n this.prevMonthClick(e);\n }\n };\n this.nextMonthClick = (e) => {\n this.handleArrowClick(e, this.nextMonthDate);\n };\n this.nextMonthKeydown = (e) => {\n const key = getKey(e.key);\n if (key === \" \" || key === \"Enter\") {\n this.nextMonthClick(e);\n }\n };\n /*\n * Update active month on clicks of left/right arrows\n */\n this.handleArrowClick = (e, date) => {\n e === null || e === void 0 ? void 0 : e.preventDefault();\n e.stopPropagation();\n this.calciteDatePickerSelect.emit(date);\n };\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n this.setNextPrevMonthDates();\n }\n render() {\n const dir = getElementDir(this.el);\n return (h(\"div\", { class: \"header\", dir: dir }, this.renderContent(dir)));\n }\n renderContent(dir) {\n var _a;\n if (!this.activeDate || !this.localeData) {\n return null;\n }\n const activeMonth = this.activeDate.getMonth();\n const { months, unitOrder } = this.localeData;\n const localizedMonth = (months.wide || months.narrow || months.abbreviated)[activeMonth];\n const localizedYear = localizeNumber(this.activeDate.getFullYear(), this.localeData);\n const iconScale = this.scale === \"l\" ? \"m\" : \"s\";\n const order = getOrder(unitOrder);\n const reverse = order.indexOf(\"y\") < order.indexOf(\"m\");\n const suffix = (_a = this.localeData.year) === null || _a === void 0 ? void 0 : _a.suffix;\n return (h(Fragment, null,\n h(\"a\", { \"aria-disabled\": (this.prevMonthDate.getMonth() === activeMonth).toString(), \"aria-label\": this.intlPrevMonth, class: \"chevron\", href: \"#\", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: \"button\", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 },\n h(\"calcite-icon\", { dir: dir, \"flip-rtl\": true, icon: \"chevron-left\", scale: iconScale })),\n h(\"div\", { class: { text: true, \"text--reverse\": reverse } },\n h(CalciteHeading, { class: \"month\", level: this.headingLevel }, localizedMonth),\n h(\"span\", { class: \"year-wrap\" },\n h(\"input\", { class: {\n year: true,\n \"year--suffix\": !!suffix\n }, inputmode: \"numeric\", maxlength: \"4\", minlength: \"1\", onChange: this.yearChanged, onKeyDown: this.onYearKey, pattern: \"\\\\d*\", ref: (el) => (this.yearInput = el), type: \"text\", value: localizedYear }),\n suffix && (h(\"span\", { class: \"suffix\" },\n h(\"span\", { \"aria-hidden\": \"true\", class: \"suffix__invisible\" }, localizedYear),\n \" \" + suffix)))),\n h(\"a\", { \"aria-disabled\": (this.nextMonthDate.getMonth() === activeMonth).toString(), \"aria-label\": this.intlNextMonth, class: \"chevron\", href: \"#\", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: \"button\", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 },\n h(\"calcite-icon\", { dir: dir, \"flip-rtl\": true, icon: \"chevron-right\", scale: iconScale }))));\n }\n setNextPrevMonthDates() {\n if (!this.activeDate) {\n return;\n }\n this.nextMonthDate = dateFromRange(nextMonth(this.activeDate), this.min, this.max);\n this.prevMonthDate = dateFromRange(prevMonth(this.activeDate), this.min, this.max);\n }\n /**\n * Parse localized year string from input,\n * set to active if in range\n */\n setYear(localizedYear, increment = 0) {\n const { min, max, activeDate, localeData, yearInput } = this;\n const parsedYear = parseNumber(localizedYear, localeData);\n const length = parsedYear.toString().length;\n const year = isNaN(parsedYear) ? false : parsedYear + increment;\n const inRange = year && (!min || min.getFullYear() <= year) && (!max || max.getFullYear() >= year);\n // if you've supplied a year and it's in range, update active date\n if (year && inRange && length === localizedYear.length) {\n const nextDate = new Date(activeDate);\n nextDate.setFullYear(year);\n const inRangeDate = dateFromRange(nextDate, min, max);\n this.calciteDatePickerSelect.emit(inRangeDate);\n yearInput.value = localizeNumber(inRangeDate.getFullYear(), localeData);\n }\n else {\n // leave the current active date and clean up garbage input\n yearInput.value = localizeNumber(activeDate.getFullYear(), localeData);\n }\n }\n static get is() { return \"calcite-date-picker-month-header\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-date-picker-month-header.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-date-picker-month-header.css\"]\n }; }\n static get properties() { return {\n \"selectedDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Already selected date.\"\n }\n },\n \"activeDate\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Focused date with indicator (will become selected date if user proceeds)\"\n }\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/CalciteHeading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Number at which section headings should start for this component.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": false\n },\n \"min\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Minimum date of the calendar below which is disabled.\"\n }\n },\n \"max\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Maximum date of the calendar above which is disabled.\"\n }\n },\n \"locale\": {\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\": \"User's language and region as BCP 47 formatted string.\"\n },\n \"attribute\": \"locale\",\n \"reflect\": false\n },\n \"intlPrevMonth\": {\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\": \"Localized string for previous month.\"\n },\n \"attribute\": \"intl-prev-month\",\n \"reflect\": false\n },\n \"intlNextMonth\": {\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\": \"Localized string for next month.\"\n },\n \"attribute\": \"intl-next-month\",\n \"reflect\": false\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 date picker\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n },\n \"localeData\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"DateLocaleData\",\n \"resolved\": \"DateLocaleData\",\n \"references\": {\n \"DateLocaleData\": {\n \"location\": \"import\",\n \"path\": \"../calcite-date-picker/utils\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"CLDR locale data for translated calendar info\"\n }\n }\n }; }\n static get states() { return {\n \"nextMonthDate\": {},\n \"prevMonthDate\": {}\n }; }\n static get events() { return [{\n \"method\": \"calciteDatePickerSelect\",\n \"name\": \"calciteDatePickerSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Changes to active date\"\n },\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n }\n }]; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"min\",\n \"methodName\": \"setNextPrevMonthDates\"\n }, {\n \"propName\": \"max\",\n \"methodName\": \"setNextPrevMonthDates\"\n }, {\n \"propName\": \"activeDate\",\n \"methodName\": \"setNextPrevMonthDates\"\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-date-picker.entry.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,2lCAA2lC;;ICU3mC,iBAAiB;EAC5B;;;;;;;IAIE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC;;;;IAIpC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC;;IAEpC,IAAI,CAAC,MAAM,GAAG,QAAQ,CA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CAAC,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;GAC3B;EACD,YAAY,CAAC,IAAI;IACf,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;IAC7B,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAChC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;GAC7B;;;;EAID,aAAa,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG;IAC3B,OAAO,aAAa,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,EAAE,GAAG,CAAC,IAAI,KAAK,IAAI,aAAa,CAAC,IAAI,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;GACjG;EACD,kBAAkB,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG;IAChC,QAAQ,aAAa,CAAC,IAAI,CAAC,eAAe,EAAE,GAAG,EAAE,GAAG,CAAC,IAAI,KAAK,IAAI,aAAa,CAAC,IAAI,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE;GACxG;EACD,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG;IAC9B,QAAQ,aAAa,CAAC,IAAI,CAAC,aAAa,EAAE,GAAG,EAAE,GAAG,CAAC,IAAI,KAAK,IAAI,aAAa,CAAC,IAAI,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE;GACtG;EASD,WAAW,UAAU,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC,EAAE;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker/calcite-date-picker.css?tag=calcite-date-picker&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-date-picker/calcite-date-picker.js"],"sourcesContent":["/* 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 vertical-align: top;\n width: 100%;\n position: relative;\n overflow: visible;\n border-radius: 0;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\n background-color: var(--calcite-ui-foreground-1);\n}\n\n:host([scale=s]) {\n max-width: 216px;\n}\n\n:host([scale=m]) {\n max-width: 286px;\n}\n\n:host([scale=l]) {\n max-width: 398px;\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, Event, Element, Host, State, Watch, Build } from \"@stencil/core\";\nimport { getLocaleData } from \"./utils\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { dateFromRange, dateFromISO, dateToISO, getDaysDiff } from \"../../utils/date\";\nimport { getKey } from \"../../utils/key\";\nimport { HEADING_LEVEL, TEXT } from \"./resources\";\nexport class CalciteDatePicker {\n constructor() {\n /** Localized string for \"previous month\" (used for aria label)\n * @default \"Previous month\"\n */\n this.intlPrevMonth = TEXT.prevMonth;\n /** Localized string for \"next month\" (used for aria label)\n * @default \"Next month\"\n */\n this.intlNextMonth = TEXT.nextMonth;\n /** BCP 47 language tag for desired language and country format */\n this.locale = document.documentElement.lang || \"en\";\n /** specify the scale of the date picker */\n this.scale = \"m\";\n /** Range mode activation */\n this.range = false;\n /** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */\n this.proximitySelectionDisabled = false;\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.keyUpHandler = (e) => {\n if (getKey(e.key) === \"Escape\") {\n this.reset();\n }\n };\n this.monthHeaderSelectChange = (e) => {\n const date = new Date(e.detail);\n if (!this.range) {\n this.activeDate = date;\n }\n else {\n if (this.activeRange === \"end\") {\n this.activeEndDate = date;\n }\n else {\n this.activeStartDate = date;\n }\n this.mostRecentRangeValue = date;\n }\n };\n this.monthActiveDateChange = (e) => {\n const date = new Date(e.detail);\n if (!this.range) {\n this.activeDate = date;\n }\n else {\n if (this.activeRange === \"end\") {\n this.activeEndDate = date;\n }\n else {\n this.activeStartDate = date;\n }\n this.mostRecentRangeValue = date;\n }\n };\n this.monthHoverChange = (e) => {\n if (!this.startAsDate) {\n this.hoverRange = undefined;\n return;\n }\n const date = new Date(e.detail);\n this.hoverRange = {\n focused: this.activeRange || \"start\",\n start: this.startAsDate,\n end: this.endAsDate\n };\n if (!this.proximitySelectionDisabled) {\n if (this.endAsDate) {\n const startDiff = getDaysDiff(date, this.startAsDate);\n const endDiff = getDaysDiff(date, this.endAsDate);\n if (endDiff > 0) {\n this.hoverRange.end = date;\n this.hoverRange.focused = \"end\";\n }\n else if (startDiff < 0) {\n this.hoverRange.start = date;\n this.hoverRange.focused = \"start\";\n }\n else if (startDiff > endDiff) {\n this.hoverRange.start = date;\n this.hoverRange.focused = \"start\";\n }\n else {\n this.hoverRange.end = date;\n this.hoverRange.focused = \"end\";\n }\n }\n else {\n if (date < this.startAsDate) {\n this.hoverRange = {\n focused: \"start\",\n start: date,\n end: this.startAsDate\n };\n }\n else {\n this.hoverRange.end = date;\n this.hoverRange.focused = \"end\";\n }\n }\n }\n else {\n if (!this.endAsDate) {\n if (date < this.startAsDate) {\n this.hoverRange = {\n focused: \"start\",\n start: date,\n end: this.startAsDate\n };\n }\n else {\n this.hoverRange.end = date;\n this.hoverRange.focused = \"end\";\n }\n }\n else {\n this.hoverRange = undefined;\n }\n }\n };\n this.monthMouseOutChange = () => {\n if (this.hoverRange) {\n this.hoverRange = undefined;\n }\n };\n /**\n * Reset active date and close\n */\n this.reset = () => {\n var _a, _b, _c, _d, _e, _f;\n if (!Array.isArray(this.valueAsDate) &&\n this.valueAsDate &&\n ((_a = this.valueAsDate) === null || _a === void 0 ? void 0 : _a.getTime()) !== ((_b = this.activeDate) === null || _b === void 0 ? void 0 : _b.getTime())) {\n this.activeDate = new Date(this.valueAsDate);\n }\n if (this.startAsDate && ((_c = this.startAsDate) === null || _c === void 0 ? void 0 : _c.getTime()) !== ((_d = this.activeStartDate) === null || _d === void 0 ? void 0 : _d.getTime())) {\n this.activeStartDate = new Date(this.startAsDate);\n }\n if (this.endAsDate && ((_e = this.endAsDate) === null || _e === void 0 ? void 0 : _e.getTime()) !== ((_f = this.activeEndDate) === null || _f === void 0 ? void 0 : _f.getTime())) {\n this.activeEndDate = new Date(this.endAsDate);\n }\n };\n /**\n * Event handler for when the selected date changes\n */\n this.monthDateChange = (e) => {\n const date = new Date(e.detail);\n if (!this.range) {\n this.value = dateToISO(date);\n this.activeDate = date;\n return;\n }\n if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {\n if (this.startAsDate) {\n this.setEndDate(new Date(this.startAsDate));\n }\n if (this.activeRange == \"end\") {\n this.setEndDate(date);\n }\n else {\n this.setStartDate(date);\n }\n }\n else if (!this.endAsDate) {\n this.setEndDate(date);\n }\n else {\n if (!this.proximitySelectionDisabled) {\n if (this.activeRange) {\n if (this.activeRange == \"end\") {\n this.setEndDate(date);\n }\n else {\n this.setStartDate(date);\n }\n }\n else {\n const startDiff = getDaysDiff(date, this.startAsDate);\n const endDiff = getDaysDiff(date, this.endAsDate);\n if (endDiff === 0 || startDiff < 0) {\n this.setStartDate(date);\n }\n else if (startDiff === 0 || endDiff < 0) {\n this.setEndDate(date);\n }\n else if (startDiff < endDiff) {\n this.setStartDate(date);\n }\n else {\n this.setEndDate(date);\n }\n }\n }\n else {\n this.setStartDate(date);\n this.endAsDate = this.activeEndDate = this.end = undefined;\n }\n }\n };\n }\n handleValueAsDate(date) {\n if (!Array.isArray(date) && date && date !== this.activeDate) {\n this.activeDate = date;\n this.calciteDatePickerChange.emit(date);\n }\n }\n handleRangeChange() {\n const { startAsDate: startDate, endAsDate: endDate } = this;\n this.activeEndDate = endDate;\n this.activeStartDate = startDate;\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n if (Array.isArray(this.value)) {\n this.valueAsDate = this.value.map((v) => dateFromISO(v));\n this.start = this.value[0];\n this.end = this.value[1];\n }\n else if (this.value) {\n this.valueAsDate = dateFromISO(this.value);\n }\n if (this.start) {\n this.setStartAsDate(dateFromISO(this.start));\n }\n if (this.end) {\n this.setEndAsDate(dateFromISO(this.end));\n }\n if (this.min) {\n this.minAsDate = dateFromISO(this.min);\n }\n if (this.max) {\n this.maxAsDate = dateFromISO(this.max);\n }\n }\n async componentWillLoad() {\n await this.loadLocaleData();\n }\n render() {\n var _a;\n const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);\n const activeStartDate = this.range\n ? this.getActiveStartDate(date, this.minAsDate, this.maxAsDate)\n : this.getActiveDate(date, this.minAsDate, this.maxAsDate);\n let activeDate = activeStartDate;\n const endDate = this.range\n ? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)\n : null;\n const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);\n if ((this.activeRange === \"end\" ||\n (((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === \"end\" && (!this.proximitySelectionDisabled || endDate))) &&\n activeEndDate) {\n activeDate = activeEndDate;\n }\n if (this.range && this.mostRecentRangeValue) {\n activeDate = this.mostRecentRangeValue;\n }\n const minDate = this.range && this.activeRange\n ? this.activeRange === \"start\"\n ? this.minAsDate\n : date || this.minAsDate\n : this.minAsDate;\n const maxDate = this.range && this.activeRange\n ? this.activeRange === \"start\"\n ? endDate || this.maxAsDate\n : this.maxAsDate\n : this.maxAsDate;\n const dir = getElementDir(this.el);\n return (h(Host, { onBlur: this.reset, onKeyUp: this.keyUpHandler, role: \"application\" }, this.renderCalendar(activeDate, dir, maxDate, minDate, date, endDate)));\n }\n valueHandler(value) {\n if (Array.isArray(value)) {\n this.valueAsDate = value.map((v) => dateFromISO(v));\n this.start = value[0];\n this.end = value[1];\n }\n else if (value) {\n this.valueAsDate = dateFromISO(value);\n this.start = \"\";\n this.end = \"\";\n }\n }\n startWatcher(start) {\n this.setStartAsDate(dateFromISO(start));\n }\n endWatcher(end) {\n this.setEndAsDate(dateFromISO(end));\n }\n async loadLocaleData() {\n if (!Build.isBrowser) {\n return;\n }\n const { locale } = this;\n this.localeData = await getLocaleData(locale);\n }\n /**\n * Render calcite-date-picker-month-header and calcite-date-picker-month\n */\n renderCalendar(activeDate, dir, maxDate, minDate, date, endDate) {\n return (this.localeData && [\n h(\"calcite-date-picker-month-header\", { activeDate: activeDate, dir: dir, headingLevel: this.headingLevel || HEADING_LEVEL, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === \"end\" ? endDate : date || new Date() }),\n h(\"calcite-date-picker-month\", { activeDate: activeDate, dir: dir, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteDatePickerHover: this.monthHoverChange, onCalciteDatePickerMouseOut: this.monthMouseOutChange, onCalciteDatePickerSelect: this.monthDateChange, scale: this.scale, selectedDate: this.activeRange === \"end\" ? endDate : date, startDate: this.range ? date : undefined })\n ]);\n }\n /**\n * Update date instance of start if valid\n */\n setStartAsDate(startDate, emit) {\n this.startAsDate = startDate;\n this.mostRecentRangeValue = this.startAsDate;\n if (emit) {\n this.calciteDatePickerRangeChange.emit({\n startDate,\n endDate: this.endAsDate\n });\n }\n }\n /**\n * Update date instance of end if valid\n */\n setEndAsDate(endDate, emit) {\n this.endAsDate = endDate;\n this.mostRecentRangeValue = this.endAsDate;\n if (emit) {\n this.calciteDatePickerRangeChange.emit({\n startDate: this.startAsDate,\n endDate\n });\n }\n }\n setEndDate(date) {\n this.end = dateToISO(date);\n this.setEndAsDate(date, true);\n this.activeEndDate = date;\n }\n setStartDate(date) {\n this.start = dateToISO(date);\n this.setStartAsDate(date, true);\n this.activeStartDate = date;\n }\n /**\n * Get an active date using the value, or current date as default\n */\n getActiveDate(value, min, max) {\n return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);\n }\n getActiveStartDate(value, min, max) {\n return (dateFromRange(this.activeStartDate, min, max) || value || dateFromRange(new Date(), min, max));\n }\n getActiveEndDate(value, min, max) {\n return (dateFromRange(this.activeEndDate, min, max) || value || dateFromRange(new Date(), min, max));\n }\n static get is() { return \"calcite-date-picker\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-date-picker.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-date-picker.css\"]\n }; }\n static get assetsDirs() { return [\"assets\"]; }\n static get properties() { return {\n \"activeRange\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"start\\\" | \\\"end\\\"\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Active range\"\n },\n \"attribute\": \"active-range\",\n \"reflect\": false\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\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Selected date\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/CalciteHeading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Number at which section headings should start for this component.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": false\n },\n \"valueAsDate\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Date | Date[]\",\n \"resolved\": \"Date | Date[]\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Selected date as full date object\"\n }\n },\n \"startAsDate\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use valueAsDate instead\"\n }],\n \"text\": \"Selected start date as full date object\"\n }\n },\n \"endAsDate\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use valueAsDate instead\"\n }],\n \"text\": \"Selected end date as full date object\"\n }\n },\n \"minAsDate\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Earliest allowed date as full date object\"\n }\n },\n \"maxAsDate\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Latest allowed date as full date object\"\n }\n },\n \"min\": {\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\": \"Earliest allowed date (\\\"yyyy-mm-dd\\\")\"\n },\n \"attribute\": \"min\",\n \"reflect\": false\n },\n \"max\": {\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\": \"Latest allowed date (\\\"yyyy-mm-dd\\\")\"\n },\n \"attribute\": \"max\",\n \"reflect\": false\n },\n \"intlPrevMonth\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Previous month\\\"\"\n }],\n \"text\": \"Localized string for \\\"previous month\\\" (used for aria label)\"\n },\n \"attribute\": \"intl-prev-month\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.prevMonth\"\n },\n \"intlNextMonth\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Next month\\\"\"\n }],\n \"text\": \"Localized string for \\\"next month\\\" (used for aria label)\"\n },\n \"attribute\": \"intl-next-month\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.nextMonth\"\n },\n \"locale\": {\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\": \"BCP 47 language tag for desired language and country format\"\n },\n \"attribute\": \"locale\",\n \"reflect\": false,\n \"defaultValue\": \"document.documentElement.lang || \\\"en\\\"\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"s\\\" | \\\"m\\\" | \\\"l\\\"\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the scale of the date picker\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"range\": {\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\": \"Range mode activation\"\n },\n \"attribute\": \"range\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"start\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use value instead\"\n }],\n \"text\": \"Selected start date\"\n },\n \"attribute\": \"start\",\n \"reflect\": false\n },\n \"end\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use value instead\"\n }],\n \"text\": \"Selected end date\"\n },\n \"attribute\": \"end\",\n \"reflect\": false\n },\n \"proximitySelectionDisabled\": {\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\": \"Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range.\"\n },\n \"attribute\": \"proximity-selection-disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n }; }\n static get states() { return {\n \"activeDate\": {},\n \"activeStartDate\": {},\n \"activeEndDate\": {},\n \"localeData\": {},\n \"hoverRange\": {}\n }; }\n static get events() { return [{\n \"method\": \"calciteDatePickerChange\",\n \"name\": \"calciteDatePickerChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Trigger calcite date change when a user changes the date.\"\n },\n \"complexType\": {\n \"original\": \"Date\",\n \"resolved\": \"Date\",\n \"references\": {\n \"Date\": {\n \"location\": \"global\"\n }\n }\n }\n }, {\n \"method\": \"calciteDatePickerRangeChange\",\n \"name\": \"calciteDatePickerRangeChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"see\",\n \"text\": \" [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)\"\n }],\n \"text\": \"Trigger calcite date change when a user changes the date range.\"\n },\n \"complexType\": {\n \"original\": \"DateRangeChange\",\n \"resolved\": \"DateRangeChange\",\n \"references\": {\n \"DateRangeChange\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n }\n }]; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"valueAsDate\",\n \"methodName\": \"handleValueAsDate\"\n }, {\n \"propName\": \"startAsDate\",\n \"methodName\": \"handleRangeChange\"\n }, {\n \"propName\": \"endAsDate\",\n \"methodName\": \"handleRangeChange\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueHandler\"\n }, {\n \"propName\": \"start\",\n \"methodName\": \"startWatcher\"\n }, {\n \"propName\": \"end\",\n \"methodName\": \"endWatcher\"\n }, {\n \"propName\": \"locale\",\n \"methodName\": \"loadLocaleData\"\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-dropdown-group.entry.js","mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,eAAe,EAAE,cAAc;AACjC,EAAE,cAAc,EAAE,cAAc;AAChC,CAAC;;ACRD,MAAM,uBAAuB,GAAG,29CAA29C;;ICU9+C,oBAAoB;EAC/B;;;;;IAGE,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;GAC/B;;;;;;EAMD,iBAAiB;IACf,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;GAC9C;EACD,MAAM;IACJ,MAAM,GAAG,GAAG,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACnC,MAAM,KAAK,GAAG,I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AMD,gBAAgB;IACd,OAAO,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;GAChH;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown-group/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css?tag=calcite-dropdown-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nexport const CSS = {\n containerSmall: \"container--s\",\n containerMedium: \"container--m\",\n containerLarge: \"container--l\"\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.container--s {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n.container--s .dropdown-title {\n padding: 0.5rem;\n}\n\n.container--m {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n.container--m .dropdown-title {\n padding: 0.75rem;\n}\n\n.container--l {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n\n.container--l .dropdown-title {\n padding: 1rem;\n}\n\n.dropdown-title {\n display: block;\n border-width: 0;\n border-bottom-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n color: var(--calcite-ui-text-2);\n font-weight: var(--calcite-font-weight-bold);\n word-wrap: break-word;\n overflow-wrap: break-word;\n cursor: default;\n margin-bottom: -1px;\n}\n\n.dropdown-separator {\n display: block;\n height: 1px;\n background-color: var(--calcite-ui-border-3);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, Element, Event, h, Host, Listen, Prop } from \"@stencil/core\";\nimport { getElementDir, getElementProp } from \"../../utils/dom\";\nimport { CSS } from \"./resources\";\n/**\n * @slot - A slot for adding `calcite-dropdown-item`s.\n */\nexport class CalciteDropdownGroup {\n constructor() {\n /** specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),\n none (no active items), defaults to single */\n this.selectionMode = \"single\";\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentWillLoad() {\n this.groupPosition = this.getGroupPosition();\n }\n render() {\n const dir = getElementDir(this.el);\n const scale = this.scale || getElementProp(this.el, \"scale\", \"m\");\n const groupTitle = this.groupTitle ? (h(\"span\", { \"aria-hidden\": \"true\", class: \"dropdown-title\" }, this.groupTitle)) : null;\n const dropdownSeparator = this.groupPosition > 0 ? h(\"div\", { class: \"dropdown-separator\", role: \"separator\" }) : null;\n return (h(Host, { role: \"menu\" },\n h(\"div\", { class: {\n container: true,\n [CSS.containerSmall]: scale === \"s\",\n [CSS.containerMedium]: scale === \"m\",\n [CSS.containerLarge]: scale === \"l\"\n }, dir: dir, title: this.groupTitle },\n dropdownSeparator,\n groupTitle,\n h(\"slot\", null))));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n updateActiveItemOnChange(event) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.calciteDropdownItemChange.emit({\n requestedDropdownGroup: this.requestedDropdownGroup,\n requestedDropdownItem: this.requestedDropdownItem\n });\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n getGroupPosition() {\n return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll(\"calcite-dropdown-group\"), this.el);\n }\n static get is() { return \"calcite-dropdown-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-dropdown-group.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-dropdown-group.css\"]\n }; }\n static get properties() { return {\n \"groupTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally set a group title for display\"\n },\n \"attribute\": \"group-title\",\n \"reflect\": true\n },\n \"selectionMode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"SelectionMode\",\n \"resolved\": \"\\\"multi\\\" | \\\"none\\\" | \\\"single\\\"\",\n \"references\": {\n \"SelectionMode\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),\\nnone (no active items), defaults to single\"\n },\n \"attribute\": \"selection-mode\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"single\\\"\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the action.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteDropdownItemChange\",\n \"name\": \"calciteDropdownItemChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get elementRef() { return \"el\"; }\n static get listeners() { return [{\n \"name\": \"calciteDropdownItemSelect\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-dropdown-item.entry.js","mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,aAAa,EAAE,iBAAiB;AAClC,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,eAAe,EAAE,cAAc;AACjC,EAAE,cAAc,EAAE,cAAc;AAChC,EAAE,cAAc,EAAE,4BAA4B;AAC9C,EAAE,eAAe,EAAE,6BAA6B;AAChD,EAAE,aAAa,EAAE,2BAA2B;AAC5C,CAAC;;ACZD,MAAM,sBAAsB,GAAG,4+LAA4+L;;ICY9/L,mBAAmB;EAC9B;;;;;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qBAAqB,EAAE,IAAI,CAAC,EAAE;MAC9B,sBAAsB,EAAE,IAAI,CAAC,qBAAqB;KACnD,CAAC,CAAC;GACJ;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown-item/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css?tag=calcite-dropdown-item&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown-item/calcite-dropdown-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 containerLink: \"container--link\",\n containerSmall: \"container--s\",\n containerMedium: \"container--m\",\n containerLarge: \"container--l\",\n containerMulti: \"container--multi-selection\",\n containerSingle: \"container--single-selection\",\n containerNone: \"container--none-selection\"\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.container--s {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n padding-right: 0.5rem;\n padding-left: 1.5rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.container--m {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n padding-right: 0.75rem;\n padding-left: 2rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.container--l {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n padding-right: 1rem;\n padding-left: 2.5rem;\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.container--s.calcite--rtl {\n padding-right: 1.5rem;\n padding-left: 0.5rem;\n}\n\n.container--m.calcite--rtl {\n padding-right: 2rem;\n padding-left: 0.75rem;\n}\n\n.container--l.calcite--rtl {\n padding-right: 2.5rem;\n padding-left: 1rem;\n}\n\n:host {\n display: flex;\n flex-grow: 1;\n align-items: center;\n position: relative;\n}\n\n.container {\n display: flex;\n flex-grow: 1;\n align-items: center;\n color: var(--calcite-ui-text-3);\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n cursor: pointer;\n text-decoration: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n position: relative;\n}\n\n.dropdown-item-content {\n margin-right: auto;\n margin-left: 0.25rem;\n}\n\n.calcite--rtl .dropdown-item-content {\n margin-left: auto;\n margin-right: 0;\n}\n\n:host,\n.container--link a {\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n}\n\n:host(:focus) {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.container--link {\n padding: 0;\n}\n\n.container--link a {\n display: flex;\n flex-grow: 1;\n align-items: center;\n color: var(--calcite-ui-text-3);\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n cursor: pointer;\n text-decoration: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n position: relative;\n}\n\n.container--s .dropdown-link {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n padding-right: 0.5rem;\n padding-left: 1.5rem;\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n.container--m .dropdown-link {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n padding-right: 0.75rem;\n padding-left: 2rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.container--l .dropdown-link {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n padding-right: 1rem;\n padding-left: 2.5rem;\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n:host(:hover) .container,\n:host(:active) .container {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n text-decoration: none;\n}\n\n:host(:hover) .container--link .dropdown-link,\n:host(:active) .container--link .dropdown-link {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .container {\n color: var(--calcite-ui-text-1);\n text-decoration: none;\n}\n\n:host(:active) .container {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n:host(:hover) .container:before,\n:host(:active) .container:before,\n:host(:focus) .container:before {\n opacity: 1;\n}\n\n.calcite--rtl:before {\n left: unset;\n right: 1rem;\n}\n\n.calcite--rtl .dropdown-link {\n padding-right: 0;\n padding-left: 0;\n}\n\n:host([active]) .container:not(.container--none-selection),\n:host([active]) .container--link .dropdown-link {\n color: var(--calcite-ui-text-1);\n font-weight: var(--calcite-font-weight-medium);\n}\n\n:host([active]) .container:not(.container--none-selection):before,\n:host([active]) .container--link .dropdown-link:before {\n opacity: 1;\n color: var(--calcite-ui-brand);\n}\n\n:host([active]) .container:not(.container--none-selection) calcite-icon,\n:host([active]) .container--link .dropdown-link calcite-icon {\n color: var(--calcite-ui-brand);\n}\n\n.container--multi-selection:before,\n.container--none-selection:before {\n display: none;\n}\n\n.container--s:before {\n left: 0.5rem;\n}\n\n.container--m:before {\n left: 0.75rem;\n}\n\n.container--l:before {\n left: 1rem;\n}\n\n.calcite--rtl:before {\n left: unset;\n}\n\n.container--s.calcite--rtl:before {\n right: 0.5rem;\n}\n\n.container--m.calcite--rtl:before {\n right: 0.75rem;\n}\n\n.container--l.calcite--rtl:before {\n right: 1rem;\n}\n\n.dropdown-item-icon {\n position: absolute;\n opacity: 0;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transform: scale(0.9);\n}\n\n.container--s .dropdown-item-icon {\n left: 0.25rem;\n}\n\n.container--m .dropdown-item-icon {\n left: 0.5rem;\n}\n\n.container--l .dropdown-item-icon {\n left: 0.75rem;\n}\n\n.calcite--rtl .dropdown-item-icon {\n left: unset;\n margin-left: 0;\n}\n\n.container--s.calcite--rtl .dropdown-item-icon {\n right: 0.25rem;\n}\n\n.container--m.calcite--rtl .dropdown-item-icon {\n right: 0.5rem;\n}\n\n.container--l.calcite--rtl .dropdown-item-icon {\n right: 0.75rem;\n}\n\n:host(:hover) .dropdown-item-icon {\n color: var(--calcite-ui-border-1);\n opacity: 1;\n}\n\n:host([active]) .dropdown-item-icon {\n color: var(--calcite-ui-brand);\n opacity: 1;\n}\n\n.container--s .dropdown-item-icon-start {\n margin-right: 0.5rem;\n margin-left: 0.25rem;\n}\n\n.container--s .dropdown-item-icon-end {\n margin-left: 0.5rem;\n}\n\n.container--m .dropdown-item-icon-start {\n margin-right: 0.75rem;\n margin-left: 0.25rem;\n}\n\n.container--m .dropdown-item-icon-end {\n margin-left: 0.75rem;\n}\n\n.container--l .dropdown-item-icon-start {\n margin-right: 1rem;\n margin-left: 0.25rem;\n}\n\n.container--l .dropdown-item-icon-end {\n margin-left: 1rem;\n}\n\n.calcite--rtl .dropdown-item-icon-start {\n margin-right: 0;\n}\n\n.calcite--rtl .dropdown-item-icon-end {\n margin-left: 0;\n}\n\n.container--s.calcite--rtl .dropdown-item-icon-start {\n margin-left: 0.5rem;\n}\n\n.container--s.calcite--rtl .dropdown-item-icon-end {\n margin-right: 0.5rem;\n}\n\n.container--m.calcite--rtl .dropdown-item-icon-start {\n margin-left: 0.75rem;\n}\n\n.container--m.calcite--rtl .dropdown-item-icon-end {\n margin-right: 0.75rem;\n}\n\n.container--l.calcite--rtl .dropdown-item-icon-start {\n margin-left: 1rem;\n}\n\n.container--l.calcite--rtl .dropdown-item-icon-end {\n margin-right: 1rem;\n}\n\n.calcite--rtl calcite-icon {\n margin-right: 0;\n margin-left: 0.75rem;\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, Host, Listen, Method, Prop } from \"@stencil/core\";\nimport { getElementDir, getElementProp } from \"../../utils/dom\";\nimport { getKey } from \"../../utils/key\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { CSS } from \"./resources\";\n/**\n * @slot - A slot for adding text.\n */\nexport class CalciteDropdownItem {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** Indicates whether the item is active. */\n this.active = false;\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n this.el.focus();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n this.selectionMode = getElementProp(this.el, \"selection-mode\", \"single\");\n this.parentDropdownGroupEl = this.el.closest(\"calcite-dropdown-group\");\n if (this.selectionMode === \"none\") {\n this.active = false;\n }\n }\n render() {\n const dir = getElementDir(this.el);\n const scale = getElementProp(this.el, \"scale\", \"m\");\n const iconStartEl = (h(\"calcite-icon\", { class: \"dropdown-item-icon-start\", dir: dir, flipRtl: this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\", icon: this.iconStart, scale: \"s\" }));\n const contentNode = (h(\"span\", { class: \"dropdown-item-content\" },\n h(\"slot\", null)));\n const iconEndEl = (h(\"calcite-icon\", { class: \"dropdown-item-icon-end\", dir: dir, flipRtl: this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\", icon: this.iconEnd, scale: \"s\" }));\n const slottedContent = this.iconStart && this.iconEnd\n ? [iconStartEl, contentNode, iconEndEl]\n : this.iconStart\n ? [iconStartEl, h(\"slot\", null)]\n : this.iconEnd\n ? [contentNode, iconEndEl]\n : contentNode;\n const contentEl = !this.href ? (slottedContent) : (h(\"a\", { \"aria-label\": this.label, class: \"dropdown-link\", href: this.href, ref: (el) => (this.childLink = el), rel: this.rel, target: this.target }, slottedContent));\n const itemRole = this.href\n ? null\n : this.selectionMode === \"single\"\n ? \"menuitemradio\"\n : this.selectionMode === \"multi\"\n ? \"menuitemcheckbox\"\n : \"menuitem\";\n const itemAria = this.selectionMode !== \"none\" ? this.active.toString() : null;\n return (h(Host, { \"aria-checked\": itemAria, role: itemRole, tabindex: \"0\" },\n h(\"div\", { class: {\n container: true,\n [CSS_UTILITY.rtl]: dir === \"rtl\",\n [CSS.containerLink]: !!this.href,\n [CSS.containerSmall]: scale === \"s\",\n [CSS.containerMedium]: scale === \"m\",\n [CSS.containerLarge]: scale === \"l\",\n [CSS.containerMulti]: this.selectionMode === \"multi\",\n [CSS.containerSingle]: this.selectionMode === \"single\",\n [CSS.containerNone]: this.selectionMode === \"none\"\n } },\n this.selectionMode !== \"none\" ? (h(\"calcite-icon\", { class: \"dropdown-item-icon\", icon: this.selectionMode === \"multi\" ? \"check\" : \"bullet-point\", scale: \"s\" })) : null,\n contentEl)));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n onClick() {\n this.emitRequestedItem();\n }\n keyDownHandler(e) {\n switch (getKey(e.key)) {\n case \" \":\n this.emitRequestedItem();\n if (this.href) {\n e.preventDefault();\n this.childLink.click();\n }\n break;\n case \"Enter\":\n this.emitRequestedItem();\n if (this.href) {\n this.childLink.click();\n }\n break;\n case \"Escape\":\n this.calciteDropdownCloseRequest.emit();\n break;\n case \"Tab\":\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n this.calciteDropdownItemKeyEvent.emit({ keyboardEvent: e });\n break;\n }\n e.preventDefault();\n }\n updateActiveItemOnChange(event) {\n const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);\n if (parentEmittedChange) {\n this.requestedDropdownGroup = event.detail.requestedDropdownGroup;\n this.requestedDropdownItem = event.detail.requestedDropdownItem;\n this.determineActiveItem();\n }\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n determineActiveItem() {\n switch (this.selectionMode) {\n case \"multi\":\n if (this.el === this.requestedDropdownItem) {\n this.active = !this.active;\n }\n break;\n case \"single\":\n if (this.el === this.requestedDropdownItem) {\n this.active = true;\n }\n else if (this.requestedDropdownGroup === this.parentDropdownGroupEl) {\n this.active = false;\n }\n break;\n case \"none\":\n this.active = false;\n break;\n }\n }\n emitRequestedItem() {\n this.calciteDropdownItemSelect.emit({\n requestedDropdownItem: this.el,\n requestedDropdownGroup: this.parentDropdownGroupEl\n });\n }\n static get is() { return \"calcite-dropdown-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-dropdown-item.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-dropdown-item.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\": \"Indicates whether the item is active.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"iconFlipRtl\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"FlipContext\",\n \"resolved\": \"\\\"both\\\" | \\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"FlipContext\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"flip the icon(s) in rtl\"\n },\n \"attribute\": \"icon-flip-rtl\",\n \"reflect\": true\n },\n \"iconStart\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally pass an icon to display at the start of an item - accepts calcite ui icon names\"\n },\n \"attribute\": \"icon-start\",\n \"reflect\": true\n },\n \"iconEnd\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally pass an icon to display at the end of an item - accepts calcite ui icon names\"\n },\n \"attribute\": \"icon-end\",\n \"reflect\": true\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally pass a href - used to determine if the component should render as anchor\"\n },\n \"attribute\": \"href\",\n \"reflect\": true\n },\n \"label\": {\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\": \"Applies to the aria-label attribute on the button or hyperlink\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"rel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The rel attribute to apply to the hyperlink\"\n },\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"target\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The target attribute to apply to the hyperlink\"\n },\n \"attribute\": \"target\",\n \"reflect\": false\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteDropdownItemSelect\",\n \"name\": \"calciteDropdownItemSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteDropdownItemKeyEvent\",\n \"name\": \"calciteDropdownItemKeyEvent\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"ItemKeyboardEvent\",\n \"resolved\": \"ItemKeyboardEvent\",\n \"references\": {\n \"ItemKeyboardEvent\": {\n \"location\": \"import\",\n \"path\": \"../calcite-dropdown/interfaces\"\n }\n }\n }\n }, {\n \"method\": \"calciteDropdownCloseRequest\",\n \"name\": \"calciteDropdownCloseRequest\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\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 listeners() { return [{\n \"name\": \"click\",\n \"method\": \"onClick\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"keydown\",\n \"method\": \"keyDownHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteDropdownItemChange\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-dropdown.entry.js","mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,wBAAwB,GAAG,gBAAgB,CAAC;AAClD,MAAM,KAAK,GAAG;AACrB,EAAE,eAAe,EAAE,kBAAkB;AACrC,CAAC;;ACPD,MAAM,kBAAkB,GAAG,u5FAAu5F;;ICer6F,eAAe;EAC1B;;;;;;;;;;;IAOE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;;;;IAKpB,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAC;;IAElC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;IAKtB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;;IAElB,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC;;;;;IAKrC,IAAI,CAAC,SAAS,GAAG,wBAAwB,CAAC;;IAE1C,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;;;;;IAMjB,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;;IAExB,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC;;IAEpB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;;;;;IAMjB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;IAChB,IAAI,CAAC,oBAAoB,GAAG,SAAS,CAAC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CAAC,CAAC;IAC5E,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;GACpC;EACD,SAAS,CAAC,CAAC;IACT,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;GAC9B;EACD,mBAAmB,CAAC,IAAI;IACtB,IAAI,CAAC,IAAI,EAAE;MACT,OAAO;KACR;IACD,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM;QACjC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;QAClC,IAAI,CAAC;IACT,YAAY,CAAC,MAAM,CAAC,CAAC;GACtB;;;;;;;;;;;;","names":["PopperCSS"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown/calcite-dropdown.css?tag=calcite-dropdown&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-dropdown/calcite-dropdown.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 DefaultDropdownPlacement = \"bottom-leading\";\nexport const SLOTS = {\n dropdownTrigger: \"dropdown-trigger\"\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-dropdown-width: the width of the dropdown wrapper\n*/\n\n:host {\n display: inline-flex;\n flex: 0 1 auto;\n}\n\n:host([disabled]) {\n pointer-events: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host .calcite-dropdown-wrapper {\n display: block;\n position: absolute;\n z-index: 900;\n transform: scale(0);\n visibility: hidden;\n pointer-events: none;\n}\n\n.calcite-dropdown-wrapper .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.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim {\n transform: translateY(-5px);\n}\n\n.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim {\n transform: translateY(5px);\n}\n\n.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim {\n transform: translateX(5px);\n}\n\n.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim {\n transform: translateX(-5px);\n}\n\n.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active {\n opacity: 1;\n visibility: visible;\n transform: translate(0);\n}\n\n:host([active]) .calcite-dropdown-wrapper {\n pointer-events: initial;\n visibility: visible;\n}\n\n:host .calcite-dropdown-content {\n background-color: var(--calcite-ui-foreground-1);\n overflow: hidden;\n overflow-y: auto;\n width: auto;\n max-height: 90vh;\n width: var(--calcite-dropdown-width);\n}\n\n.calcite-dropdown-trigger-container {\n display: flex;\n flex: 1 1 auto;\n position: relative;\n}\n\n:host([width=s]) {\n --calcite-dropdown-width: 12rem;\n}\n\n:host([width=m]) {\n --calcite-dropdown-width: 14rem;\n}\n\n:host([width=l]) {\n --calcite-dropdown-width: 16rem;\n}\n\n:host([scale=s]) {\n --calcite-dropdown-group-padding: 0.5rem 0;\n --calcite-dropdown-item-padding: 0.25rem 0.75rem 0.25rem 1.5rem;\n}\n\n:host([scale=m]) {\n --calcite-dropdown-group-padding: 0.5rem 0;\n --calcite-dropdown-item-padding: 0.5rem 0.75rem 0.5rem 1.5rem;\n}\n\n:host([scale=l]) {\n --calcite-dropdown-group-padding: 0.75rem 0;\n --calcite-dropdown-item-padding: 0.5rem 0.75rem 0.5rem 1.5rem;\n}\n\n:host([scale=s]) .calcite--rtl {\n --calcite-dropdown-item-padding: 0.25rem 1.5rem 0.25rem 0.75rem;\n}\n\n:host([scale=m]) .calcite--rtl {\n --calcite-dropdown-item-padding: 0.5rem 1.5rem 0.5rem 0.75rem;\n}\n\n:host([scale=l]) .calcite--rtl {\n --calcite-dropdown-item-padding: 0.5rem 1.5rem 0.5rem 0.75rem;\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, Host, Listen, Method, Prop, Watch } from \"@stencil/core\";\nimport { getKey } from \"../../utils/key\";\nimport { focusElement, getElementDir } from \"../../utils/dom\";\nimport { createPopper, CSS as PopperCSS, updatePopper } from \"../../utils/popper\";\nimport { DefaultDropdownPlacement, SLOTS } from \"./resources\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.\n * @slot dropdown-trigger - A slot for the element that triggers the dropdown.\n */\nexport class CalciteDropdown {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** Opens or closes the dropdown */\n this.active = false;\n /**\n allow the dropdown to remain open after a selection is made\n if the selection-mode of the selected item's containing group is \"none\", the dropdown will always close\n */\n this.disableCloseOnSelect = false;\n /** is the dropdown disabled */\n this.disabled = false;\n /**\n specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -\n this value does not include groupTitles passed to calcite-dropdown-group\n */\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 * Determines where the dropdown will be positioned relative to the button.\n * @default \"bottom-leading\"\n */\n this.placement = DefaultDropdownPlacement;\n /** specify the scale of dropdown, defaults to m */\n this.scale = \"m\";\n /**\n * **read-only** The currently selected items\n *\n * @readonly\n */\n this.selectedItems = [];\n /** specify whether the dropdown is opened by hover or click of a trigger element */\n this.type = \"click\";\n /** specify the width of dropdown, defaults to m */\n this.width = \"m\";\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n this.items = [];\n this.activeTransitionProp = \"opacity\";\n this.mutationObserver = createObserver(\"mutation\", () => this.updateItems());\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.updateItems = () => {\n this.updateSelectedItems();\n this.triggers = Array.from(this.el.querySelectorAll(\"[slot=dropdown-trigger]\"));\n this.items = Array.from(this.el.querySelectorAll(\"calcite-dropdown-item\"));\n this.reposition();\n };\n this.setMaxScrollerHeight = () => {\n const { scrollerEl } = this;\n if (scrollerEl) {\n const maxScrollerHeight = this.getMaxScrollerHeight();\n scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : \"\";\n }\n };\n this.setScrollerEl = (scrollerEl) => {\n this.scrollerEl = scrollerEl;\n };\n this.transitionEnd = (event) => {\n if (event.propertyName === this.activeTransitionProp) {\n this.active ? this.calciteDropdownOpen.emit() : this.calciteDropdownClose.emit();\n }\n };\n this.setReferenceEl = (el) => {\n this.referenceEl = el;\n };\n this.setMenuEl = (el) => {\n this.menuEl = el;\n };\n this.keyDownHandler = (e) => {\n const target = e.target;\n const key = getKey(e.key);\n if (this.triggers.includes(target) ||\n this.triggers.some((trigger) => trigger.contains(target))) {\n if (target.nodeName !== \"BUTTON\" && target.nodeName !== \"CALCITE-BUTTON\") {\n switch (key) {\n case \" \":\n case \"Enter\":\n this.openCalciteDropdown();\n break;\n case \"Escape\":\n this.closeCalciteDropdown();\n break;\n }\n }\n else if (this.active && (key === \"Escape\" || (e.shiftKey && key === \"Tab\"))) {\n this.closeCalciteDropdown();\n }\n }\n };\n this.focusOnFirstActiveOrFirstItem = () => {\n this.getFocusableElement(this.items.find((item) => item.active) || this.items[0]);\n };\n this.toggleOpenEnd = () => {\n this.focusOnFirstActiveOrFirstItem();\n this.el.removeEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n };\n this.openCalciteDropdown = () => {\n this.active = !this.active;\n if (this.active) {\n this.el.addEventListener(\"calciteDropdownOpen\", this.toggleOpenEnd);\n }\n };\n }\n activeHandler() {\n this.reposition();\n }\n maxItemsHandler() {\n this.reposition();\n }\n placementHandler() {\n this.reposition();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n this.createPopper();\n this.updateItems();\n }\n componentDidLoad() {\n this.reposition();\n }\n disconnectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n this.destroyPopper();\n }\n render() {\n const { active } = this;\n const dir = getElementDir(this.el);\n return (h(Host, { tabIndex: this.disabled ? -1 : null },\n h(\"div\", { class: { [\"calcite-dropdown-trigger-container\"]: true, [CSS_UTILITY.rtl]: dir === \"rtl\" }, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl },\n h(\"slot\", { \"aria-expanded\": active.toString(), \"aria-haspopup\": \"true\", name: SLOTS.dropdownTrigger })),\n h(\"div\", { \"aria-hidden\": (!active).toString(), class: \"calcite-dropdown-wrapper\", ref: this.setMenuEl },\n h(\"div\", { class: {\n [\"calcite-dropdown-content\"]: true,\n [PopperCSS.animation]: true,\n [PopperCSS.animationActive]: active\n }, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl },\n h(\"slot\", null)))));\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Updates the position of the component. */\n async reposition() {\n const { popper, menuEl, placement } = this;\n this.setMaxScrollerHeight();\n const modifiers = this.getModifiers();\n popper\n ? await updatePopper({\n el: menuEl,\n modifiers,\n placement,\n popper\n })\n : this.createPopper();\n }\n closeCalciteDropdownOnClick(e) {\n if (!this.active || e.composedPath().includes(this.el)) {\n return;\n }\n this.closeCalciteDropdown();\n }\n closeCalciteDropdownOnEvent() {\n this.closeCalciteDropdown();\n }\n closeCalciteDropdownOnOpenEvent(e) {\n if (e.composedPath().includes(this.el)) {\n return;\n }\n this.active = false;\n }\n mouseEnterHandler() {\n if (this.type === \"hover\") {\n this.openCalciteDropdown();\n }\n }\n mouseLeaveHandler() {\n if (this.type === \"hover\") {\n this.closeCalciteDropdown();\n }\n }\n calciteDropdownItemKeyEvent(e) {\n const { keyboardEvent } = e.detail;\n // handle edge\n const target = keyboardEvent.target;\n const itemToFocus = target.nodeName !== \"A\" ? target : target.parentNode;\n const isFirstItem = this.itemIndex(itemToFocus) === 0;\n const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;\n switch (getKey(keyboardEvent.key)) {\n case \"Tab\":\n if (isLastItem && !keyboardEvent.shiftKey) {\n this.closeCalciteDropdown();\n }\n else if (isFirstItem && keyboardEvent.shiftKey) {\n this.closeCalciteDropdown();\n }\n else if (keyboardEvent.shiftKey) {\n this.focusPrevItem(itemToFocus);\n }\n else {\n this.focusNextItem(itemToFocus);\n }\n break;\n case \"ArrowDown\":\n this.focusNextItem(itemToFocus);\n break;\n case \"ArrowUp\":\n this.focusPrevItem(itemToFocus);\n break;\n case \"Home\":\n this.focusFirstItem();\n break;\n case \"End\":\n this.focusLastItem();\n break;\n }\n e.stopPropagation();\n }\n handleItemSelect(event) {\n this.updateSelectedItems();\n event.stopPropagation();\n this.calciteDropdownSelect.emit();\n if (!this.disableCloseOnSelect ||\n event.detail.requestedDropdownGroup.selectionMode === \"none\") {\n this.closeCalciteDropdown();\n }\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, placement, overlayPositioning } = this;\n const modifiers = this.getModifiers();\n this.popper = createPopper({\n el: menuEl,\n modifiers,\n overlayPositioning,\n placement,\n referenceEl\n });\n }\n destroyPopper() {\n const { popper } = this;\n if (popper) {\n popper.destroy();\n }\n this.popper = null;\n }\n updateSelectedItems() {\n const items = Array.from(this.el.querySelectorAll(\"calcite-dropdown-item\"));\n this.selectedItems = items.filter((item) => item.active);\n }\n getMaxScrollerHeight() {\n const groups = Array.from(this.el.querySelectorAll(\"calcite-dropdown-group\"));\n const { maxItems } = this;\n let itemsToProcess = 0;\n let maxScrollerHeight = 0;\n let groupHeaderHeight;\n groups.forEach((group) => {\n if (maxItems > 0 && itemsToProcess < maxItems) {\n Array.from(group.children).forEach((item, index) => {\n if (index === 0) {\n if (isNaN(groupHeaderHeight)) {\n groupHeaderHeight = item.offsetTop;\n }\n maxScrollerHeight += groupHeaderHeight;\n }\n if (itemsToProcess < maxItems) {\n maxScrollerHeight += item.offsetHeight;\n itemsToProcess += 1;\n }\n });\n }\n });\n return maxScrollerHeight;\n }\n closeCalciteDropdown() {\n this.active = false;\n focusElement(this.triggers[0]);\n }\n focusFirstItem() {\n const firstItem = this.items[0];\n this.getFocusableElement(firstItem);\n }\n focusLastItem() {\n const lastItem = this.items[this.items.length - 1];\n this.getFocusableElement(lastItem);\n }\n focusNextItem(e) {\n const index = this.itemIndex(e);\n const nextItem = this.items[index + 1] || this.items[0];\n this.getFocusableElement(nextItem);\n }\n focusPrevItem(e) {\n const index = this.itemIndex(e);\n const prevItem = this.items[index - 1] || this.items[this.items.length - 1];\n this.getFocusableElement(prevItem);\n }\n itemIndex(e) {\n return this.items.indexOf(e);\n }\n getFocusableElement(item) {\n if (!item) {\n return;\n }\n const target = item.attributes.isLink\n ? item.shadowRoot.querySelector(\"a\")\n : item;\n focusElement(target);\n }\n static get is() { return \"calcite-dropdown\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-dropdown.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-dropdown.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 dropdown\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"disableCloseOnSelect\": {\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 the dropdown to remain open after a selection is made\\nif the selection-mode of the selected item's containing group is \\\"none\\\", the dropdown will always close\"\n },\n \"attribute\": \"disable-close-on-select\",\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\": \"is the dropdown disabled\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"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 calcite-dropdown-items to display before showing the scroller, must be greater than 0 -\\nthis value does not include groupTitles passed to calcite-dropdown-group\"\n },\n \"attribute\": \"max-items\",\n \"reflect\": false,\n \"defaultValue\": \"0\"\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 \"placement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"DropdownPlacement\",\n \"resolved\": \"\\\"bottom\\\" | \\\"bottom-end\\\" | \\\"bottom-leading\\\" | \\\"bottom-start\\\" | \\\"bottom-trailing\\\" | \\\"top\\\" | \\\"top-end\\\" | \\\"top-leading\\\" | \\\"top-start\\\" | \\\"top-trailing\\\"\",\n \"references\": {\n \"DropdownPlacement\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"bottom-leading\\\"\"\n }],\n \"text\": \"Determines where the dropdown will be positioned relative to the button.\"\n },\n \"attribute\": \"placement\",\n \"reflect\": true,\n \"defaultValue\": \"DefaultDropdownPlacement\"\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 dropdown, defaults to m\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"selectedItems\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"HTMLCalciteDropdownItemElement[]\",\n \"resolved\": \"HTMLCalciteDropdownItemElement[]\",\n \"references\": {\n \"HTMLCalciteDropdownItemElement\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"readonly\",\n \"text\": undefined\n }],\n \"text\": \"**read-only** The currently selected items\"\n },\n \"defaultValue\": \"[]\"\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"hover\\\" | \\\"click\\\"\",\n \"resolved\": \"\\\"click\\\" | \\\"hover\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify whether the dropdown is opened by hover or click of a trigger element\"\n },\n \"attribute\": \"type\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"click\\\"\"\n },\n \"width\": {\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 width of dropdown, defaults to m\"\n },\n \"attribute\": \"width\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteDropdownSelect\",\n \"name\": \"calciteDropdownSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"fires when a dropdown item has been selected or deselected *\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteDropdownOpen\",\n \"name\": \"calciteDropdownOpen\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"fires when a dropdown has been opened *\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteDropdownClose\",\n \"name\": \"calciteDropdownClose\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"fires when a dropdown has been closed *\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\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 }; }\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\": \"placement\",\n \"methodName\": \"placementHandler\"\n }]; }\n static get listeners() { return [{\n \"name\": \"click\",\n \"method\": \"closeCalciteDropdownOnClick\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteDropdownCloseRequest\",\n \"method\": \"closeCalciteDropdownOnEvent\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteDropdownOpen\",\n \"method\": \"closeCalciteDropdownOnOpenEvent\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"mouseenter\",\n \"method\": \"mouseEnterHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }, {\n \"name\": \"mouseleave\",\n \"method\": \"mouseLeaveHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": true\n }, {\n \"name\": \"calciteDropdownItemKeyEvent\",\n \"method\": \"calciteDropdownItemKeyEvent\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteDropdownItemSelect\",\n \"method\": \"handleItemSelect\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-fab.entry.js","mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,MAAM,EAAE,QAAQ;AAClB,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;ACTD,MAAM,aAAa,GAAG,gnCAAgnC;;ICOznC,UAAU;EACrB;;;;;;;;;;IASE,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;;;;IAI5B,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;;;;IAIvB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;IAKtB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;;;;IAIvB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;;;;IAIrB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;;;IAIjB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;GAC1B;;;;;;;EAOD,MAAM,QAAQ;IACZ,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;GAC7B;;;;;;EAMD,MAAM;IACJ,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACjG,MAAM,KAAK,GAAG,CAAC,WAAW,GAAG,KAAK,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,CAAC;IAC1D,MAAM,GAAG,GAAG,aAAa,CAAC,EAAE,CAAC,CAAC;IAC9B,QAAQ,CAAC,CAAC,gBAAgB,EAAE,EAAE,UAAU,EAAE,UAAU,KAAK,OAAO,GAAG,OAAO,GAAG,SAAS,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ;QAClN,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;OAC1B,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE;GACtG;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-fab/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-fab/calcite-fab.css?tag=calcite-fab&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-fab/calcite-fab.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 button: \"button\"\n};\nexport const ICONS = {\n plus: \"plus\"\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 display: flex;\n background-color: transparent;\n}\n\ncalcite-button {\n box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n}\n\ncalcite-button:hover {\n box-shadow: 0 12px 32px -2px rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.08);\n}\n\ncalcite-button:active {\n box-shadow: 0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);\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, Method, Prop, h } from \"@stencil/core\";\nimport { CSS, ICONS } from \"./resources\";\nimport { focusElement, getElementDir } from \"../../utils/dom\";\nexport class CalciteFab {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Used to set the button's appearance. Default is outline.\n */\n this.appearance = \"outline\";\n /**\n * Used to set the button's color. Default is light.\n */\n this.color = \"neutral\";\n /**\n * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\n */\n this.disabled = false;\n /**\n * The name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/.\n * @default \"plus\"\n */\n this.icon = ICONS.plus;\n /**\n * When true, content is waiting to be loaded. This state shows a busy indicator.\n */\n this.loading = false;\n /**\n * Specifies the size of the fab.\n */\n this.scale = \"m\";\n /**\n * Indicates whether the text is displayed.\n */\n this.textEnabled = false;\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n focusElement(this.buttonEl);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const { appearance, color, disabled, el, loading, scale, textEnabled, icon, label, text } = this;\n const title = !textEnabled ? label || text || null : null;\n const dir = getElementDir(el);\n return (h(\"calcite-button\", { appearance: appearance === \"solid\" ? \"solid\" : \"outline\", class: CSS.button, color: color, dir: dir, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {\n this.buttonEl = buttonEl;\n }, round: true, scale: scale, title: title, width: \"auto\" }, this.textEnabled ? this.text : null));\n }\n static get is() { return \"calcite-fab\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-fab.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-fab.css\"]\n }; }\n static get properties() { return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Extract<\\\"solid\\\" | \\\"outline\\\", Appearance>\",\n \"resolved\": \"\\\"outline\\\" | \\\"solid\\\"\",\n \"references\": {\n \"Extract\": {\n \"location\": \"global\"\n },\n \"Appearance\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Used to set the button's appearance. Default is outline.\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"outline\\\"\"\n },\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ButtonColor\",\n \"resolved\": \"\\\"blue\\\" | \\\"inverse\\\" | \\\"neutral\\\" | \\\"red\\\"\",\n \"references\": {\n \"ButtonColor\": {\n \"location\": \"import\",\n \"path\": \"../calcite-button/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Used to set the button's color. Default is light.\"\n },\n \"attribute\": \"color\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"neutral\\\"\"\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\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 \"name\": \"default\",\n \"text\": \"\\\"plus\\\"\"\n }],\n \"text\": \"The name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": false,\n \"defaultValue\": \"ICONS.plus\"\n },\n \"label\": {\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\": \"Label of the FAB, exposed on hover when textEnabled is false. If no label is provided, the label inherits what's provided for the `text` prop.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"loading\": {\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, content is waiting to be loaded. This state shows a busy indicator.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the fab.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"text\": {\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\": \"Text that accompanies the FAB icon.\"\n },\n \"attribute\": \"text\",\n \"reflect\": false\n },\n \"textEnabled\": {\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\": \"Indicates whether the text is displayed.\"\n },\n \"attribute\": \"text-enabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\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}\n"],"version":3}
|