@esri/solutions-components 0.0.2 → 0.0.7
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,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2021 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as a,H as e,g as o}from"./p-2e1cd889.js";import{a as n,g as r}from"./p-e762b2d1.js";import"./p-ec178ea9.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
-
*/const s={containerSmall:"container--s",containerMedium:"container--m",containerLarge:"container--l"};const c="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{display:block;border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-bold);word-wrap:break-word;overflow-wrap:break-word;cursor:default;margin-bottom:-1px}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";let l=class{constructor(a){t(this,a);this.calciteDropdownItemChange=i(this,"calciteDropdownItemChange",7);this.selectionMode="single"}componentWillLoad(){this.groupPosition=this.getGroupPosition()}render(){const t=n(this.el);const i=this.scale||r(this.el,"scale","m");const o=this.groupTitle?a("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null;const c=this.groupPosition>0?a("div",{class:"dropdown-separator",role:"separator"}):null;return a(e,{role:"menu"},a("div",{class:{container:true,[s.containerSmall]:i==="s",[s.containerMedium]:i==="m",[s.containerLarge]:i==="l"},dir:t,title:this.groupTitle},c,o,a("slot",null)))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup;this.requestedDropdownItem=t.detail.requestedDropdownItem;this.calciteDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}get el(){return o(this)}};l.style=c;export{l as calcite_dropdown_group};
|
11
|
-
//# sourceMappingURL=p-ce3e9060.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"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"],"names":["CSS","containerSmall","containerMedium","containerLarge","calciteDropdownGroupCss","CalciteDropdownGroup","[object Object]","hostRef","this","selectionMode","groupPosition","getGroupPosition","dir","getElementDir","el","scale","getElementProp","groupTitle","h","aria-hidden","class","dropdownSeparator","role","Host","container","title","event","requestedDropdownGroup","detail","requestedDropdownItem","calciteDropdownItemChange","emit","Array","prototype","indexOf","call","parentElement","querySelectorAll"],"mappings":";;;;;;;;;GAIO,MAAMA,EAAM,CACjBC,eAAgB,eAChBC,gBAAiB,eACjBC,eAAgB,gBCPlB,MAAMC,EAA0B,g+CCUnBC,EAAoB,MAC/BC,YAAAC,kFAGEC,KAAKC,cAAgB,SAOvBH,oBACEE,KAAKE,cAAgBF,KAAKG,mBAE5BL,SACE,MAAMM,EAAMC,EAAcL,KAAKM,IAC/B,MAAMC,EAAQP,KAAKO,OAASC,EAAeR,KAAKM,GAAI,QAAS,KAC7D,MAAMG,EAAaT,KAAKS,WAAcC,EAAE,OAAQ,CAAEC,cAAe,OAAQC,MAAO,kBAAoBZ,KAAKS,YAAe,KACxH,MAAMI,EAAoBb,KAAKE,cAAgB,EAAIQ,EAAE,MAAO,CAAEE,MAAO,qBAAsBE,KAAM,cAAiB,KAClH,OAAQJ,EAAEK,EAAM,CAAED,KAAM,QACtBJ,EAAE,MAAO,CAAEE,MAAO,CACdI,UAAW,KACXlB,CAACN,EAAIC,gBAAiBc,IAAU,IAChCT,CAACN,EAAIE,iBAAkBa,IAAU,IACjCT,CAACN,EAAIG,gBAAiBY,IAAU,KAC/BH,IAAKA,EAAKa,MAAOjB,KAAKS,YACzBI,EACAJ,EACAC,EAAE,OAAQ,QAOhBZ,yBAAyBoB,GACvBlB,KAAKmB,uBAAyBD,EAAME,OAAOD,uBAC3CnB,KAAKqB,sBAAwBH,EAAME,OAAOC,sBAC1CrB,KAAKsB,0BAA0BC,KAAK,CAClCJ,uBAAwBnB,KAAKmB,uBAC7BE,sBAAuBrB,KAAKqB,wBAQhCvB,mBACE,OAAO0B,MAAMC,UAAUC,QAAQC,KAAK3B,KAAKM,GAAGsB,cAAcC,iBAAiB,0BAA2B7B,KAAKM","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"]}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2021 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as a,h as t,g as i}from"./p-2e1cd889.js";import{P as n}from"./p-e4edca3b.js";import{q as e,h as o}from"./p-e762b2d1.js";import"./p-ec178ea9.js";const s="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}";let r=class{constructor(t){a(this,t);this.selector=`[${n}]`;this.autoClose=false;this.getRelatedPopover=a=>{var t;const{selector:i,el:o}=this;const s=(t=a.closest(i))===null||t===void 0?void 0:t.getAttribute(n);return e(o,`#${s}`)}}render(){return t("slot",null)}closeOpenPopovers(a){const t=a.target;const{autoClose:i,el:n}=this;const e="calcite-popover";const s=t.closest(e);const r=this.getRelatedPopover(t);if(i&&!s){o(n,e).filter((a=>a.open&&a!==r)).forEach((a=>a.toggle(false)))}if(!n.contains(t)||!r){return}r.toggle()}get el(){return i(this)}};r.style=s;export{r as calcite_popover_manager};
|
7
|
-
//# sourceMappingURL=p-d132d8ad.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css?tag=calcite-popover-manager&encapsulation=shadow","node_modules/@esri/calcite-components/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js"],"names":["calcitePopoverManagerCss","CalcitePopoverManager","[object Object]","hostRef","this","selector","POPOVER_REFERENCE","autoClose","getRelatedPopover","element","_a","el","id","closest","getAttribute","queryElementRoots","h","event","target","popoverSelector","isTargetInsidePopover","relatedPopover","queryElementsRoots","filter","popover","open","forEach","toggle","contains"],"mappings":";;;;;yJAAA,MAAMA,EAA2B,yyBCUpBC,EAAqB,MAChCC,YAAAC,aAUEC,KAAKC,SAAW,IAAIC,KAIpBF,KAAKG,UAAY,MAMjBH,KAAKI,kBAAqBC,IACxB,IAAIC,EACJ,MAAML,SAAEA,EAAQM,GAAEA,GAAOP,KACzB,MAAMQ,GAAMF,EAAKD,EAAQI,QAAQR,MAAe,MAAQK,SAAY,OAAS,EAAIA,EAAGI,aAAaR,GACjG,OAAOS,EAAkBJ,EAAI,IAAIC,MAQrCV,SACE,OAAOc,EAAE,OAAQ,MAOnBd,kBAAkBe,GAChB,MAAMC,EAASD,EAAMC,OACrB,MAAMX,UAAEA,EAASI,GAAEA,GAAOP,KAC1B,MAAMe,EAAkB,kBACxB,MAAMC,EAAwBF,EAAOL,QAAQM,GAC7C,MAAME,EAAiBjB,KAAKI,kBAAkBU,GAC9C,GAAIX,IAAca,EAAuB,CACvCE,EAAmBX,EAAIQ,GACpBI,QAAQC,GAAYA,EAAQC,MAAQD,IAAYH,IAChDK,SAASF,GAAYA,EAAQG,OAAO,SAEzC,IAAKhB,EAAGiB,SAASV,KAAYG,EAAgB,CAC3C,OAEFA,EAAeM","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: block;\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, h, Listen, Prop } from \"@stencil/core\";\nimport { POPOVER_REFERENCE } from \"../calcite-popover/resources\";\nimport { queryElementRoots, queryElementsRoots } from \"../../utils/dom\";\n/**\n * @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.\n */\nexport class CalcitePopoverManager {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.\n * @default `[data-calcite-popover-reference]`\n */\n this.selector = `[${POPOVER_REFERENCE}]`;\n /**\n * Automatically closes any currently open popovers when clicking outside of a popover.\n */\n this.autoClose = false;\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.getRelatedPopover = (element) => {\n var _a;\n const { selector, el } = this;\n const id = (_a = element.closest(selector)) === null || _a === void 0 ? void 0 : _a.getAttribute(POPOVER_REFERENCE);\n return queryElementRoots(el, `#${id}`);\n };\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n return h(\"slot\", null);\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n closeOpenPopovers(event) {\n const target = event.target;\n const { autoClose, el } = this;\n const popoverSelector = \"calcite-popover\";\n const isTargetInsidePopover = target.closest(popoverSelector);\n const relatedPopover = this.getRelatedPopover(target);\n if (autoClose && !isTargetInsidePopover) {\n queryElementsRoots(el, popoverSelector)\n .filter((popover) => popover.open && popover !== relatedPopover)\n .forEach((popover) => popover.toggle(false));\n }\n if (!el.contains(target) || !relatedPopover) {\n return;\n }\n relatedPopover.toggle();\n }\n static get is() { return \"calcite-popover-manager\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-popover-manager.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-popover-manager.css\"]\n }; }\n static get properties() { return {\n \"selector\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"`[data-calcite-popover-reference]`\"\n }],\n \"text\": \"CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.\"\n },\n \"attribute\": \"selector\",\n \"reflect\": false,\n \"defaultValue\": \"`[${POPOVER_REFERENCE}]`\"\n },\n \"autoClose\": {\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\": \"Automatically closes any currently open popovers when clicking outside of a popover.\"\n },\n \"attribute\": \"auto-close\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get listeners() { return [{\n \"name\": \"click\",\n \"method\": \"closeOpenPopovers\",\n \"target\": \"window\",\n \"capture\": true,\n \"passive\": false\n }]; }\n}\n"]}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2021 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as a,h as i}from"./p-2e1cd889.js";const e="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";let t=class{constructor(i){a(this,i);this.checked=false;this.disabled=false;this.focused=false;this.hidden=false;this.hovered=false;this.scale="m"}render(){return i("div",{class:"radio"})}};t.style=e;export{t as calcite_radio};
|
7
|
-
//# sourceMappingURL=p-d320e3a2.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/components/calcite-radio/calcite-radio.css?tag=calcite-radio&encapsulation=shadow","node_modules/@esri/calcite-components/dist/collection/components/calcite-radio/calcite-radio.js"],"names":["calciteRadioCss","CalciteRadio","[object Object]","hostRef","this","checked","disabled","focused","hidden","hovered","scale","h","class"],"mappings":";;;;;2CAAA,MAAMA,EAAkB,ujFCKXC,EAAY,MACvBC,YAAAC,aAOEC,KAAKC,QAAU,MAEfD,KAAKE,SAAW,MAKhBF,KAAKG,QAAU,MAEfH,KAAKI,OAAS,MAKdJ,KAAKK,QAAU,MAEfL,KAAKM,MAAQ,IAOfR,SACE,OAAOS,EAAE,MAAO,CAAEC,MAAO","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: block;\n}\n\n:host .radio {\n background-color: var(--calcite-ui-foreground-1);\n border-radius: 9999px;\n cursor: pointer;\n transition-property: all;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);\n}\n\n:host([hovered]) .radio,\n:host(:not([checked])[focused]) .radio {\n box-shadow: inset 0 0 0 2px var(--calcite-ui-brand);\n}\n\n:host([disabled]) .radio {\n cursor: default;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host([hovered][disabled]) .radio {\n box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);\n}\n\n:host([scale=s]) {\n --calcite-radio-size: var(--calcite-font-size--2);\n}\n\n:host([scale=m]) {\n --calcite-radio-size: var(--calcite-font-size--1);\n}\n\n:host([scale=l]) {\n --calcite-radio-size: var(--calcite-font-size-0);\n}\n\n.radio {\n height: var(--calcite-radio-size);\n max-width: var(--calcite-radio-size);\n min-width: var(--calcite-radio-size);\n}\n\n:host([scale=s][checked]) .radio,\n:host([hovered][scale=s][checked][disabled]) .radio {\n box-shadow: inset 0 0 0 4px var(--calcite-ui-brand);\n}\n\n:host([scale=s][focused][checked]) .radio {\n box-shadow: inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);\n}\n\n:host([scale=m][checked]) .radio,\n:host([hovered][scale=m][checked][disabled]) .radio {\n box-shadow: inset 0 0 0 5px var(--calcite-ui-brand);\n}\n\n:host([scale=m][focused][checked]) .radio {\n box-shadow: inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);\n}\n\n:host([scale=l][checked]) .radio,\n:host([hovered][scale=l][checked][disabled]) .radio {\n box-shadow: inset 0 0 0 6px var(--calcite-ui-brand);\n}\n\n:host([scale=l][focused][checked]) .radio {\n box-shadow: inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);\n}\n\n:host([hidden]) {\n display: none;\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 } from \"@stencil/core\";\nexport class CalciteRadio {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** The checked state of the radio. */\n this.checked = false;\n /** The disabled state of the radio. */\n this.disabled = false;\n /**\n * The focused state of the radio.\n * @internal\n */\n this.focused = false;\n /** The radio's hidden status. */\n this.hidden = false;\n /**\n * The hovered state of the radio.\n * @internal\n */\n this.hovered = false;\n /** The scale (size) of the radio. */\n this.scale = \"m\";\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n return h(\"div\", { class: \"radio\" });\n }\n static get is() { return \"calcite-radio\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-radio.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-radio.css\"]\n }; }\n static get properties() { return {\n \"checked\": {\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\": \"The checked state of the radio.\"\n },\n \"attribute\": \"checked\",\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\": \"The disabled state of the radio.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"focused\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"The focused state of the radio.\"\n },\n \"attribute\": \"focused\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"hidden\": {\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\": \"The radio's hidden status.\"\n },\n \"attribute\": \"hidden\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"hovered\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"The hovered state of the radio.\"\n },\n \"attribute\": \"hovered\",\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\": \"The scale (size) of the radio.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n }\n }; }\n}\n"]}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2021 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as i,g as e}from"./p-2e1cd889.js";import{e as a,f as o}from"./p-228131f3.js";import{g as n}from"./p-ec178ea9.js";import{g as c,a as l,C as m}from"./p-e762b2d1.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
-
*/const s={list:"list",label:"label",title:"title"};const r="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{--calcite-combobox-item-indent-start-1:var(--calcite-combobox-item-spacing-indent-1);--calcite-combobox-item-indent-end-1:unset;--calcite-combobox-item-indent-start-2:var(--calcite-combobox-item-spacing-indent-2);--calcite-combobox-item-indent-end-2:unset}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}.calcite--rtl{--calcite-combobox-item-indent-start-1:unset;--calcite-combobox-item-indent-end-1:var(--calcite-combobox-item-spacing-indent-1);--calcite-combobox-item-indent-start-2:unset;--calcite-combobox-item-indent-end-2:var(--calcite-combobox-item-spacing-indent-2)}:host,.list{display:flex;flex-direction:column;margin:0;padding:0;outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;width:100%;max-width:100%;min-width:0;color:var(--calcite-ui-text-3);display:flex}.label--indent-1{padding-left:var(--calcite-combobox-item-indent-start-1);padding-right:var(--calcite-combobox-item-indent-end-1)}.label--indent-2{padding-left:var(--calcite-combobox-item-indent-start-2);padding-right:var(--calcite-combobox-item-indent-end-2)}.title{border:0 solid;display:block;flex:1 1 0%;border-bottom-color:var(--calcite-ui-border-3);border-bottom-width:1px;color:var(--calcite-ui-text-2);font-weight:var(--calcite-font-weight-bold);word-wrap:break-word;word-break:break-word;padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";let b=class{constructor(i){t(this,i);this.guid=n();this.scale="m"}connectedCallback(){this.ancestors=a(this.el);this.scale=c(this.el,"scale",this.scale)}render(){const{el:t,scale:e}=this;const a=l(t);const n=`${s.label}--indent-${o(t)}`;return i("ul",{"aria-labelledby":this.guid,class:{[s.list]:true,[m.rtl]:a==="rtl",[`scale--${e}`]:true},role:"group"},i("li",{class:{[s.label]:true,[n]:true},id:this.guid,role:"presentation"},i("span",{class:s.title},this.label)),i("slot",null))}get el(){return e(this)}};b.style=r;export{b as calcite_combobox_item_group};
|
11
|
-
//# sourceMappingURL=p-d70ef015.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item-group/resources.js","node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css?tag=calcite-combobox-item-group&encapsulation=shadow","node_modules/@esri/calcite-components/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js"],"names":["CSS","list","label","title","calciteComboboxItemGroupCss","CalciteComboboxItemGroup","[object Object]","hostRef","this","guid","scale","ancestors","getAncestors","el","getElementProp","dir","getElementDir","indent","getDepth","h","aria-labelledby","class","CSS_UTILITY","rtl","role","id"],"mappings":";;;;;;;;;GAIO,MAAMA,EAAM,CACjBC,KAAM,OACNC,MAAO,QACPC,MAAO,SCPT,MAAMC,EAA8B,w5FCavBC,EAAwB,MACnCC,YAAAC,aACEC,KAAKC,KAAOA,IACZD,KAAKE,MAAQ,IAOfJ,oBACEE,KAAKG,UAAYC,EAAaJ,KAAKK,IACnCL,KAAKE,MAAQI,EAAeN,KAAKK,GAAI,QAASL,KAAKE,OAOrDJ,SACE,MAAMO,GAAEA,EAAEH,MAAEA,GAAUF,KACtB,MAAMO,EAAMC,EAAcH,GAC1B,MAAMI,EAAS,GAAGjB,EAAIE,iBAAiBgB,EAASL,KAChD,OAAQM,EAAE,KAAM,CAAEC,kBAAmBZ,KAAKC,KAAMY,MAAO,CAAEf,CAACN,EAAIC,MAAO,KAAMK,CAACgB,EAAYC,KAAMR,IAAQ,MAAOT,CAAC,UAAUI,KAAU,MAAQc,KAAM,SAC9IL,EAAE,KAAM,CAAEE,MAAO,CAAEf,CAACN,EAAIE,OAAQ,KAAMI,CAACW,GAAS,MAAQQ,GAAIjB,KAAKC,KAAMe,KAAM,gBAC3EL,EAAE,OAAQ,CAAEE,MAAOrB,EAAIG,OAASK,KAAKN,QACvCiB,EAAE,OAAQ","sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nexport const CSS = {\n list: \"list\",\n label: \"label\",\n title: \"title\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n --calcite-combobox-item-indent-start-1: var(--calcite-combobox-item-spacing-indent-1);\n --calcite-combobox-item-indent-end-1: unset;\n --calcite-combobox-item-indent-start-2: var(--calcite-combobox-item-spacing-indent-2);\n --calcite-combobox-item-indent-end-2: unset;\n}\n\n.scale--s {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n --calcite-combobox-item-spacing-unit-l: 0.5rem;\n --calcite-combobox-item-spacing-unit-s: 0.25rem;\n --calcite-combobox-item-spacing-indent-1: 0.5rem;\n --calcite-combobox-item-spacing-indent-2: 1rem;\n}\n\n.scale--m {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n --calcite-combobox-item-spacing-unit-l: 0.75rem;\n --calcite-combobox-item-spacing-unit-s: 0.5rem;\n --calcite-combobox-item-spacing-indent-1: 0.75rem;\n --calcite-combobox-item-spacing-indent-2: 1.5rem;\n}\n\n.scale--l {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n --calcite-combobox-item-spacing-unit-l: 1rem;\n --calcite-combobox-item-spacing-unit-s: 0.75rem;\n --calcite-combobox-item-spacing-indent-1: 1rem;\n --calcite-combobox-item-spacing-indent-2: 2rem;\n}\n\n.calcite--rtl {\n --calcite-combobox-item-indent-start-1: unset;\n --calcite-combobox-item-indent-end-1: var(--calcite-combobox-item-spacing-indent-1);\n --calcite-combobox-item-indent-start-2: unset;\n --calcite-combobox-item-indent-end-2: var(--calcite-combobox-item-spacing-indent-2);\n}\n\n:host,\n.list {\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.label {\n box-sizing: border-box;\n width: 100%;\n max-width: 100%;\n min-width: 0;\n color: var(--calcite-ui-text-3);\n display: flex;\n}\n\n.label--indent-1 {\n padding-left: var(--calcite-combobox-item-indent-start-1);\n padding-right: var(--calcite-combobox-item-indent-end-1);\n}\n\n.label--indent-2 {\n padding-left: var(--calcite-combobox-item-indent-start-2);\n padding-right: var(--calcite-combobox-item-indent-end-2);\n}\n\n.title {\n border: 0 solid;\n display: block;\n flex: 1 1 0%;\n border-bottom-color: var(--calcite-ui-border-3);\n border-bottom-width: 1px;\n color: var(--calcite-ui-text-2);\n font-weight: var(--calcite-font-weight-bold);\n word-wrap: break-word;\n word-break: break-word;\n padding: var(--calcite-combobox-item-spacing-unit-l) 0;\n margin-left: var(--calcite-combobox-item-spacing-unit-s);\n margin-right: var(--calcite-combobox-item-spacing-unit-s);\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, Prop, h, Element } from \"@stencil/core\";\nimport { CSS } from \"./resources\";\nimport { getAncestors, getDepth } from \"../calcite-combobox/utils\";\nimport { guid } from \"../../utils/guid\";\nimport { getElementDir, getElementProp } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n/**\n * @slot - A slot for adding `calcite-combobox-item`s.\n */\nexport class CalciteComboboxItemGroup {\n constructor() {\n this.guid = guid();\n this.scale = \"m\";\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n this.ancestors = getAncestors(this.el);\n this.scale = getElementProp(this.el, \"scale\", this.scale);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const { el, scale } = this;\n const dir = getElementDir(el);\n const indent = `${CSS.label}--indent-${getDepth(el)}`;\n return (h(\"ul\", { \"aria-labelledby\": this.guid, class: { [CSS.list]: true, [CSS_UTILITY.rtl]: dir === \"rtl\", [`scale--${scale}`]: true }, role: \"group\" },\n h(\"li\", { class: { [CSS.label]: true, [indent]: true }, id: this.guid, role: \"presentation\" },\n h(\"span\", { class: CSS.title }, this.label)),\n h(\"slot\", null)));\n }\n static get is() { return \"calcite-combobox-item-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"./calcite-combobox-item-group.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-combobox-item-group.css\"]\n }; }\n static get properties() { return {\n \"ancestors\": {\n \"type\": \"unknown\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"ComboboxChildElement[]\",\n \"resolved\": \"ComboboxChildElement[]\",\n \"references\": {\n \"ComboboxChildElement\": {\n \"location\": \"import\",\n \"path\": \"../calcite-combobox/interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Parent and grandparent combobox items, this is set internally for use from combobox\"\n }\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Title of the group\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n }\n }; }\n static get elementRef() { return \"el\"; }\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/components/calcite-popover/resources.js"],"names":["CSS","container","arrow","imageContainer","closeButton","content","hasHeader","header","headerContent","heading","TEXT","close","POPOVER_REFERENCE","ARIA_CONTROLS","ARIA_EXPANDED","HEADING_LEVEL"],"mappings":";;;;;;;;;AAIY,MAACA,EAAM,CACjBC,UAAW,YACXC,MAAO,QACPC,eAAgB,kBAChBC,YAAa,eACbC,QAAS,UACTC,UAAW,aACXC,OAAQ,SACRC,cAAe,iBACfC,QAAS,WAEC,MAACC,EAAO,CAClBC,MAAO,SAEG,MAACC,EAAoB,iCACrB,MAACC,EAAgB,gBACjB,MAACC,EAAgB,gBACjB,MAACC,EAAgB","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 container: \"container\",\n arrow: \"arrow\",\n imageContainer: \"image-container\",\n closeButton: \"close-button\",\n content: \"content\",\n hasHeader: \"has-header\",\n header: \"header\",\n headerContent: \"header-content\",\n heading: \"heading\"\n};\nexport const TEXT = {\n close: \"Close\"\n};\nexport const POPOVER_REFERENCE = \"data-calcite-popover-reference\";\nexport const ARIA_CONTROLS = \"aria-controls\";\nexport const ARIA_EXPANDED = \"aria-expanded\";\nexport const HEADING_LEVEL = 2;\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/lodash-es/isArray.js","node_modules/lodash-es/identity.js","node_modules/lodash-es/isFunction.js","node_modules/lodash-es/_isIndex.js","node_modules/lodash-es/isLength.js","node_modules/lodash-es/isArrayLike.js","node_modules/lodash-es/_isPrototype.js","node_modules/lodash-es/_baseTimes.js","node_modules/lodash-es/_baseIsArguments.js","node_modules/lodash-es/isArguments.js","node_modules/lodash-es/stubFalse.js","node_modules/lodash-es/isBuffer.js","node_modules/lodash-es/_baseIsTypedArray.js","node_modules/lodash-es/_baseUnary.js","node_modules/lodash-es/_nodeUtil.js","node_modules/lodash-es/isTypedArray.js","node_modules/lodash-es/_arrayLikeKeys.js","node_modules/lodash-es/_nativeKeysIn.js","node_modules/lodash-es/_baseKeysIn.js","node_modules/lodash-es/keysIn.js","node_modules/lodash-es/_createBaseFor.js","node_modules/lodash-es/_baseFor.js","node_modules/lodash-es/_castFunction.js","node_modules/lodash-es/forIn.js"],"names":["isArray","Array","identity","value","asyncTag","funcTag","genTag","proxyTag","isFunction","isObject","tag","baseGetTag","MAX_SAFE_INTEGER","reIsUint","isIndex","length","type","test","isLength","isArrayLike","objectProto","Object","prototype","isPrototype","Ctor","constructor","proto","baseTimes","n","iteratee","index","result","argsTag","baseIsArguments","isObjectLike","hasOwnProperty","propertyIsEnumerable","isArguments","arguments","call","stubFalse","freeExports","exports","nodeType","freeModule","module","moduleExports","Buffer","root","undefined","nativeIsBuffer","isBuffer","arrayTag","boolTag","dateTag","errorTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","typedArrayTags","baseIsTypedArray","baseUnary","func","freeProcess","freeGlobal","process","nodeUtil","types","require","binding","e","nodeIsTypedArray","isTypedArray","arrayLikeKeys","inherited","isArr","isArg","isBuff","isType","skipIndexes","String","key","push","nativeKeysIn","object","baseKeysIn","isProto","keysIn","createBaseFor","fromRight","keysFunc","iterable","props","baseFor","castFunction","forIn"],"mappings":";;;;;gEAuBG,IAACA,EAAUC,MAAMD,QCPpB,SAASE,EAASC,GAChB,OAAOA,ECbT,IAAIC,EAAW,yBACXC,EAAU,oBACVC,EAAS,6BACTC,EAAW,iBAmBf,SAASC,EAAWL,GAClB,IAAKM,EAASN,GAAQ,CACpB,OAAO,MAIT,IAAIO,EAAMC,EAAWR,GACrB,OAAOO,GAAOL,GAAWK,GAAOJ,GAAUI,GAAON,GAAYM,GAAOH,EChCtE,IAAIK,EAAmB,iBAGvB,IAAIC,EAAW,mBAUf,SAASC,EAAQX,EAAOY,GACtB,IAAIC,SAAcb,EAClBY,EAASA,GAAU,KAAOH,EAAmBG,EAE7C,QAASA,IACNC,GAAQ,UACNA,GAAQ,UAAYH,EAASI,KAAKd,MAChCA,GAAS,GAAKA,EAAQ,GAAK,GAAKA,EAAQY,GCpBjD,IAAIH,EAAmB,iBA4BvB,SAASM,EAASf,GAChB,cAAcA,GAAS,UACrBA,GAAS,GAAKA,EAAQ,GAAK,GAAKA,GAASS,ECH7C,SAASO,EAAYhB,GACnB,OAAOA,GAAS,MAAQe,EAASf,EAAMY,UAAYP,EAAWL,GC5BhE,IAAIiB,EAAcC,OAAOC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A,EAAKU,KAAc,MAAO,CACpD,OAGJ,OAAOP,GCPX,IAAIS,GAAUL,KCJd,SAASM,GAAa1G,GACpB,cAAcA,GAAS,WAAaA,EAAQD,ECsB9C,SAAS4G,GAAMX,EAAQtE,GACrB,OAAOsE,GAAU,KACbA,EACAS,GAAQT,EAAQU,GAAahF,GAAWyE","sourcesContent":["/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nexport default identity;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default nativeKeysIn;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nexport default createBaseFor;\n","import createBaseFor from './_createBaseFor.js';\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nexport default baseFor;\n","import identity from './identity.js';\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nexport default castFunction;\n","import baseFor from './_baseFor.js';\nimport castFunction from './_castFunction.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nexport default forIn;\n"]}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2021 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as e,H as s,g as a}from"./p-2e1cd889.js";import{n as o,g as n,i as r}from"./p-7df393df.js";import{i as h}from"./p-946521e1.js";import{b as c,a as l,g as u,m as p}from"./p-7804ce97.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
10
|
-
*/const m={buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",button:"button",delimiter:"delimiter",hour:"hour",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",input:"input",meridiem:"meridiem",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",minute:"minute",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",second:"second",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",timePicker:"time-picker",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right"};const d={hour:"Hour",hourDown:"Decrease hour",hourUp:"Increase hour",meridiem:"AM/PM",meridiemDown:"Decrease AM/PM",meridiemUp:"Increase AM/PM",minute:"Minute",minuteDown:"Decrease minute",minuteUp:"Increase minute",second:"Second",secondDown:"Decrease second",secondUp:"Increase second"};const b='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{color:var(--calcite-ui-text-1);display:inline-block;font-weight:var(--calcite-font-weight-medium);-webkit-user-select:none;user-select:none}.time-picker{box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);align-items:center;display:flex;border-radius:var(--calcite-border-radius)}span{align-items:center;background-color:var(--calcite-ui-foreground-1);display:inline-flex;justify-content:center}span.button{cursor:pointer}span.button:hover,span.button:focus{background-color:var(--calcite-ui-foreground-2)}span.button:focus{outline:2px solid transparent;outline-offset:2px}span.button:active{background-color:var(--calcite-ui-foreground-3)}span.button.top-left{border-top-left-radius:var(--calcite-border-radius)}span.button.bottom-left{border-bottom-left-radius:var(--calcite-border-radius)}span.button.top-right{border-top-right-radius:var(--calcite-border-radius)}span.button.bottom-right{border-bottom-right-radius:var(--calcite-border-radius)}span.button calcite-icon{color:var(--calcite-ui-text-3)}span.input{font-weight:var(--calcite-font-weight-medium);position:relative}span.input:hover{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}span.input:focus,span.input:hover:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([scale=s]){font-size:var(--calcite-font-size--1)}:host([scale=s]) span{height:24px;width:40px}:host([scale=s]) .delimiter{height:72px}:host([scale=s][hour-display-format="12"]) .time-picker{width:124.2px}:host([scale=s][hour-display-format="12"]:not([step="60"])) .time-picker{width:168px}:host([scale=s][hour-display-format="24"]) .time-picker{width:84.2px}:host([scale=s][hour-display-format="24"]:not([step="60"])) .time-picker{width:128.4px}:host([scale=m]){font-size:var(--calcite-font-size-0)}:host([scale=m]) span{height:32px;width:44px}:host([scale=m]) .delimiter{height:96px}:host([scale=m][hour-display-format="12"]) .time-picker{width:136.8px}:host([scale=m][hour-display-format="12"]:not([step="60"])) .time-picker{width:186px}:host([scale=m][hour-display-format="24"]) .time-picker{width:92.8px}:host([scale=m][hour-display-format="24"]:not([step="60"])) .time-picker{width:141.6px}:host([scale=l]){font-size:var(--calcite-font-size-1)}:host([scale=l]) span{height:48px;width:64px}:host([scale=l]) .delimiter{height:144px}:host([scale=l][hour-display-format="12"]) .time-picker{width:198px}:host([scale=l][hour-display-format="12"]:not([step="60"])) .time-picker{width:268px}:host([scale=l][hour-display-format="24"]) .time-picker{width:134px}:host([scale=l][hour-display-format="24"]:not([step="60"])) .time-picker{width:204px}';let f=class{constructor(e){t(this,e);this.calciteTimePickerBlur=i(this,"calciteTimePickerBlur",7);this.calciteTimePickerChange=i(this,"calciteTimePickerChange",7);this.calciteTimePickerFocus=i(this,"calciteTimePickerFocus",7);this.hour=null;this.hourDisplayFormat="12";this.intlHour=d.hour;this.intlHourDown=d.hourDown;this.intlHourUp=d.hourUp;this.intlMeridiem=d.meridiem;this.intlMeridiemDown=d.meridiemDown;this.intlMeridiemUp=d.meridiemUp;this.intlMinute=d.minute;this.intlMinuteDown=d.minuteDown;this.intlMinuteUp=d.minuteUp;this.intlSecond=d.second;this.intlSecondDown=d.secondDown;this.intlSecondUp=d.secondUp;this.minute=null;this.second=null;this.scale="m";this.step=60;this.timeChanged=false;this.meridiem=null;this.displayHour=this.getDisplayHour();this.decrementHour=()=>{const t=!this.hour?0:this.hour==="00"?23:parseInt(this.hour)-1;this.setTime("hour",t)};this.decrementMeridiem=()=>{const t=this.meridiem==="PM"?"AM":"PM";this.setTime("meridiem",t)};this.decrementMinuteOrSecond=t=>{let i;if(h(this[t])){const e=parseInt(this[t]);i=e===0?59:e-1}else{i=59}this.setTime(t,i)};this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")};this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")};this.focusHandler=t=>{this.activeEl=t.currentTarget};this.hourDownButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.decrementHour()}};this.hourKeyDownHandler=t=>{const i=n(t.key);if(o.includes(i)){const t=parseInt(i);let e;if(h(this.hour)){switch(this.hourDisplayFormat){case"12":e=this.hour==="01"&&t>=0&&t<=2?`1${t}`:t;break;case"24":if(this.hour==="01"){e=`1${t}`}else if(this.hour==="02"&&t>=0&&t<=3){e=`2${t}`}else{e=t}break}}else{e=t}this.setTime("hour",e)}else{switch(i){case"Backspace":case"Delete":this.setTime("hour",null);break;case"ArrowDown":t.preventDefault();this.decrementHour();break;case"ArrowUp":t.preventDefault();this.incrementHour();break;case" ":case"Spacebar":t.preventDefault();break}}};this.hourUpButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.incrementHour()}};this.incrementMeridiem=()=>{const t=this.meridiem==="AM"?"PM":"AM";this.setTime("meridiem",t)};this.incrementHour=()=>{const t=h(this.hour)?this.hour==="23"?0:parseInt(this.hour)+1:1;this.setTime("hour",t)};this.incrementMinuteOrSecond=t=>{const i=h(this[t])?this[t]==="59"?0:parseInt(this[t])+1:0;this.setTime(t,i)};this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")};this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")};this.meridiemDownButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.decrementMeridiem()}};this.meridiemKeyDownHandler=t=>{switch(n(t.key)){case"a":this.setTime("meridiem","AM");break;case"p":this.setTime("meridiem","PM");break;case"Backspace":case"Delete":this.setTime("meridiem",null);break;case"ArrowUp":t.preventDefault();this.incrementMeridiem();break;case"ArrowDown":t.preventDefault();this.decrementMeridiem();break;case" ":case"Spacebar":t.preventDefault();break}};this.meridiemUpButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.incrementMeridiem()}};this.minuteDownButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.decrementMinute()}};this.minuteKeyDownHandler=t=>{const i=n(t.key);if(o.includes(i)){const t=parseInt(i);let e;if(h(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>p?t:`${i}${t}`}else{e=t}this.setTime("minute",e)}else{switch(i){case"Backspace":case"Delete":this.setTime("minute",null);break;case"ArrowDown":t.preventDefault();this.decrementMinute();break;case"ArrowUp":t.preventDefault();this.incrementMinute();break;case" ":case"Spacebar":t.preventDefault();break}}};this.minuteUpButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.incrementMinute()}};this.secondDownButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.decrementSecond()}};this.secondKeyDownHandler=t=>{const i=n(t.key);if(o.includes(i)){const t=parseInt(i);let e;if(h(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>p?t:`${i}${t}`}else{e=t}this.setTime("second",e)}else{switch(i){case"Backspace":case"Delete":this.setTime("second",null);break;case"ArrowDown":t.preventDefault();this.decrementSecond();break;case"ArrowUp":t.preventDefault();this.incrementSecond();break;case" ":case"Spacebar":t.preventDefault();break}}};this.secondUpButtonKeyDownHandler=t=>{if(this.buttonActivated(t)){this.incrementSecond()}};this.setTime=(t,i,e=true)=>{switch(t){default:return;case"hour":this.hour=typeof i==="number"?c(i):i;break;case"minute":this.minute=typeof i==="number"?c(i):i;break;case"second":this.second=typeof i==="number"?c(i):i;break;case"meridiem":if(h(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":if(t>=12){this.hour=c(t-12)}break;case"PM":if(t<12){this.hour=c(t+12)}break}this.meridiem=i}else{this.meridiem=i}break}this.timeChanged=true;if(e){this.calciteTimePickerChange.emit(this.getTime())}}}hourChanged(t){if(this.hourDisplayFormat==="12"&&h(t)){this.meridiem=l(t)}}timeChangeHandler(){const{hour:t,minute:i}=this.getTime();if(!t&&!i){this.setTime("meridiem",null,false)}if(this.timeChanged){this.timeChanged=false}}hostBlurHandler(){this.calciteTimePickerBlur.emit()}hostFocusHandler(){this.calciteTimePickerFocus.emit()}keyDownHandler(t){const i=n(t.key);switch(this.activeEl){case this.hourEl:if(i==="ArrowRight"){this.setFocus("minute")}break;case this.minuteEl:switch(i){case"ArrowLeft":this.setFocus("hour");break;case"ArrowRight":if(this.step!==60){this.setFocus("second")}else if(this.hourDisplayFormat==="12"){this.setFocus("meridiem")}break}break;case this.secondEl:switch(i){case"ArrowLeft":this.setFocus("minute");break;case"ArrowRight":if(this.hourDisplayFormat==="12"){this.setFocus("meridiem")}break}break;case this.meridiemEl:switch(i){case"ArrowLeft":if(this.step!==60){this.setFocus("second")}else{this.setFocus("minute")}break}break}}async setFocus(t){var i;(i=this[`${t||"hour"}El`])===null||i===void 0?void 0:i.focus()}buttonActivated(t){const i=n(t.key);if(i===" "){t.preventDefault()}return r(i)}getDisplayHour(){if(!this.hour){return"--"}if(this.hourDisplayFormat==="12"){return u(this.hour)}return this.hour}getTime(){return{hour:this.hour,minute:this.minute,second:this.second}}connectedCallback(){if(this.hourDisplayFormat==="12"){this.meridiem=l(this.hour)}if(h(this.hour)){this.hour=c(parseInt(this.hour))}if(h(this.minute)){this.minute=c(parseInt(this.minute))}if(h(this.second)){this.second=c(parseInt(this.second))}}render(){const t=this.scale==="s"||this.scale==="m"?"s":"m";const i=this.step!==60;const a=h(this.hour);const o=h(this.minute);const n=h(this.second);return e(s,null,e("div",{class:m.timePicker},e("div",{role:"group"},e("span",{"aria-label":this.intlHourUp,class:{[m.button]:true,[m.buttonHourUp]:true,[m.buttonTopLeft]:true},onClick:this.incrementHour,onKeyDown:this.hourUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlHour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":a&&parseInt(this.hour),"aria-valuetext":this.hour,class:{[m.input]:true,[m.hour]:true},onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:t=>this.hourEl=t,role:"spinbutton",tabIndex:0},this.getDisplayHour()),e("span",{"aria-label":this.intlHourDown,class:{[m.button]:true,[m.buttonHourDown]:true,[m.buttonBottomLeft]:true},onClick:this.decrementHour,onKeyDown:this.hourDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t}))),e("span",{class:m.delimiter},":"),e("div",{role:"group"},e("span",{"aria-label":this.intlMinuteUp,class:{[m.button]:true,[m.buttonMinuteUp]:true},onClick:this.incrementMinute,onKeyDown:this.minuteUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlMinute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":o&&parseInt(this.minute),"aria-valuetext":this.minute,class:{[m.input]:true,[m.minute]:true},onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:t=>this.minuteEl=t,role:"spinbutton",tabIndex:0},this.minute?this.minute:"--"),e("span",{"aria-label":this.intlMinuteDown,class:{[m.button]:true,[m.buttonMinuteDown]:true},onClick:this.decrementMinute,onKeyDown:this.minuteDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t}))),i&&e("span",{class:m.delimiter},":"),i&&e("div",{role:"group"},e("span",{"aria-label":this.intlSecondUp,class:{[m.button]:true,[m.buttonSecondUp]:true},onClick:this.incrementSecond,onKeyDown:this.secondUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlSecond,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":n&&parseInt(this.second),"aria-valuetext":this.second,class:{[m.input]:true,[m.second]:true},onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:t=>this.secondEl=t,role:"spinbutton",tabIndex:0},this.second?this.second:"--"),e("span",{"aria-label":this.intlSecondDown,class:{[m.button]:true,[m.buttonSecondDown]:true},onClick:this.decrementSecond,onKeyDown:this.secondDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t}))),this.hourDisplayFormat==="12"&&e("div",{role:"group"},e("span",{"aria-label":this.intlMeridiemUp,class:{[m.button]:true,[m.buttonMeridiemUp]:true,[m.buttonTopRight]:true},onClick:this.incrementMeridiem,onKeyDown:this.meridiemUpButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-up",scale:t})),e("span",{"aria-label":this.intlMeridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":this.meridiem==="AM"?"1":this.meridiem==="PM"?"2":undefined,"aria-valuetext":this.meridiem,class:{[m.input]:true,[m.meridiem]:true},onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:t=>this.meridiemEl=t,role:"spinbutton",tabIndex:0},this.meridiem?this.meridiem:"--"),e("span",{"aria-label":this.intlMeridiemDown,class:{[m.button]:true,[m.buttonMeridiemDown]:true,[m.buttonBottomRight]:true},onClick:this.decrementMeridiem,onKeyDown:this.meridiemDownButtonKeyDownHandler,role:"button",tabIndex:-1},e("calcite-icon",{icon:"chevron-down",scale:t})))))}get el(){return a(this)}static get watchers(){return{hour:["hourChanged","timeChangeHandler"],minute:["timeChangeHandler"],second:["timeChangeHandler"]}}};f.style=b;export{f as calcite_time_picker};
|
11
|
-
//# sourceMappingURL=p-e65a8700.entry.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/components/calcite-time-picker/resources.js","node_modules/@esri/calcite-components/dist/collection/components/calcite-time-picker/calcite-time-picker.css?tag=calcite-time-picker&encapsulation=shadow","node_modules/@esri/calcite-components/dist/collection/components/calcite-time-picker/calcite-time-picker.js"],"names":["CSS","buttonBottomLeft","buttonBottomRight","button","delimiter","hour","buttonHourDown","buttonHourUp","input","meridiem","buttonMeridiemDown","buttonMeridiemUp","minute","buttonMinuteDown","buttonMinuteUp","second","buttonSecondDown","buttonSecondUp","timePicker","buttonTopLeft","buttonTopRight","TEXT","hourDown","hourUp","meridiemDown","meridiemUp","minuteDown","minuteUp","secondDown","secondUp","calciteTimePickerCss","CalciteTimePicker","[object Object]","hostRef","this","hourDisplayFormat","intlHour","intlHourDown","intlHourUp","intlMeridiem","intlMeridiemDown","intlMeridiemUp","intlMinute","intlMinuteDown","intlMinuteUp","intlSecond","intlSecondDown","intlSecondUp","scale","step","timeChanged","displayHour","getDisplayHour","decrementHour","newHour","parseInt","setTime","decrementMeridiem","newMeridiem","decrementMinuteOrSecond","key","newValue","isValidNumber","valueAsNumber","decrementMinute","decrementSecond","focusHandler","event","activeEl","currentTarget","hourDownButtonKeyDownHandler","buttonActivated","hourKeyDownHandler","getKey","numberKeys","includes","keyAsNumber","preventDefault","incrementHour","hourUpButtonKeyDownHandler","incrementMeridiem","incrementMinuteOrSecond","incrementMinute","incrementSecond","meridiemDownButtonKeyDownHandler","meridiemKeyDownHandler","meridiemUpButtonKeyDownHandler","minuteDownButtonKeyDownHandler","minuteKeyDownHandler","newMinute","startsWith","minuteAsNumber","maxTenthForMinuteAndSecond","minuteUpButtonKeyDownHandler","secondDownButtonKeyDownHandler","secondKeyDownHandler","newSecond","secondAsNumber","secondUpButtonKeyDownHandler","value","emit","formatTimePart","hourAsNumber","calciteTimePickerChange","getTime","getMeridiem","calciteTimePickerBlur","calciteTimePickerFocus","hourEl","setFocus","minuteEl","secondEl","meridiemEl","target","_a","focus","isActivationKey","getMeridiemHour","iconScale","includeSeconds","hourIsNumber","minuteIsNumber","secondIsNumber","h","Host","class","role","aria-label","onClick","onKeyDown","tabIndex","icon","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","onFocus","ref","el","undefined"],"mappings":";;;;;;;;;GAIO,MAAMA,EAAM,CACjBC,iBAAkB,sBAClBC,kBAAmB,uBACnBC,OAAQ,SACRC,UAAW,YACXC,KAAM,OACNC,eAAgB,oBAChBC,aAAc,kBACdC,MAAO,QACPC,SAAU,WACVC,mBAAoB,wBACpBC,iBAAkB,sBAClBC,OAAQ,SACRC,iBAAkB,sBAClBC,eAAgB,oBAChBC,OAAQ,SACRC,iBAAkB,sBAClBC,eAAgB,oBAChBC,WAAY,cACZC,cAAe,mBACfC,eAAgB,qBAEX,MAAMC,EAAO,CAClBhB,KAAM,OACNiB,SAAU,gBACVC,OAAQ,gBACRd,SAAU,QACVe,aAAc,iBACdC,WAAY,iBACZb,OAAQ,SACRc,WAAY,kBACZC,SAAU,kBACVZ,OAAQ,SACRa,WAAY,kBACZC,SAAU,mBCtCZ,MAAMC,EAAuB,24GCShBC,EAAiB,MAC5BC,YAAAC,0MAOEC,KAAK7B,KAAO,KAEZ6B,KAAKC,kBAAoB,KAIzBD,KAAKE,SAAWf,EAAKhB,KAIrB6B,KAAKG,aAAehB,EAAKC,SAIzBY,KAAKI,WAAajB,EAAKE,OAIvBW,KAAKK,aAAelB,EAAKZ,SAIzByB,KAAKM,iBAAmBnB,EAAKG,aAI7BU,KAAKO,eAAiBpB,EAAKI,WAI3BS,KAAKQ,WAAarB,EAAKT,OAIvBsB,KAAKS,eAAiBtB,EAAKK,WAI3BQ,KAAKU,aAAevB,EAAKM,SAIzBO,KAAKW,WAAaxB,EAAKN,OAIvBmB,KAAKY,eAAiBzB,EA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n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nexport const CSS = {\n buttonBottomLeft: \"button--bottom-left\",\n buttonBottomRight: \"button--bottom-right\",\n button: \"button\",\n delimiter: \"delimiter\",\n hour: \"hour\",\n buttonHourDown: \"button--hour-down\",\n buttonHourUp: \"button--hour-up\",\n input: \"input\",\n meridiem: \"meridiem\",\n buttonMeridiemDown: \"button--meridiem-down\",\n buttonMeridiemUp: \"button--meridiem-up\",\n minute: \"minute\",\n buttonMinuteDown: \"button--minute-down\",\n buttonMinuteUp: \"button--minute-up\",\n second: \"second\",\n buttonSecondDown: \"button--second-down\",\n buttonSecondUp: \"button--second-up\",\n timePicker: \"time-picker\",\n buttonTopLeft: \"button--top-left\",\n buttonTopRight: \"button--top-right\"\n};\nexport const TEXT = {\n hour: \"Hour\",\n hourDown: \"Decrease hour\",\n hourUp: \"Increase hour\",\n meridiem: \"AM/PM\",\n meridiemDown: \"Decrease AM/PM\",\n meridiemUp: \"Increase AM/PM\",\n minute: \"Minute\",\n minuteDown: \"Decrease minute\",\n minuteUp: \"Increase minute\",\n second: \"Second\",\n secondDown: \"Decrease second\",\n secondUp: \"Increase second\"\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 color: var(--calcite-ui-text-1);\n display: inline-block;\n font-weight: var(--calcite-font-weight-medium);\n -webkit-user-select: none;\n user-select: none;\n}\n\n.time-picker {\n box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n align-items: center;\n display: flex;\n border-radius: var(--calcite-border-radius);\n}\n\nspan {\n align-items: center;\n background-color: var(--calcite-ui-foreground-1);\n display: inline-flex;\n justify-content: center;\n}\n\nspan.button {\n cursor: pointer;\n}\n\nspan.button:hover, span.button:focus {\n background-color: var(--calcite-ui-foreground-2);\n}\n\nspan.button:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\nspan.button:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\nspan.button.top-left {\n border-top-left-radius: var(--calcite-border-radius);\n}\n\nspan.button.bottom-left {\n border-bottom-left-radius: var(--calcite-border-radius);\n}\n\nspan.button.top-right {\n border-top-right-radius: var(--calcite-border-radius);\n}\n\nspan.button.bottom-right {\n border-bottom-right-radius: var(--calcite-border-radius);\n}\n\nspan.button calcite-icon {\n color: var(--calcite-ui-text-3);\n}\n\nspan.input {\n font-weight: var(--calcite-font-weight-medium);\n position: relative;\n}\n\nspan.input:hover {\n box-shadow: inset 0 0 0 2px var(--calcite-ui-foreground-2);\n}\n\nspan.input:focus, span.input:hover:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n box-shadow: inset 0 0 0 2px var(--calcite-ui-brand);\n}\n\n:host([scale=s]) {\n font-size: var(--calcite-font-size--1);\n}\n\n:host([scale=s]) span {\n height: 24px;\n width: 40px;\n}\n\n:host([scale=s]) .delimiter {\n height: 72px;\n}\n\n:host([scale=s][hour-display-format=\"12\"]) .time-picker {\n width: 124.2px;\n}\n\n:host([scale=s][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker {\n width: 168px;\n}\n\n:host([scale=s][hour-display-format=\"24\"]) .time-picker {\n width: 84.2px;\n}\n\n:host([scale=s][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker {\n width: 128.4px;\n}\n\n:host([scale=m]) {\n font-size: var(--calcite-font-size-0);\n}\n\n:host([scale=m]) span {\n height: 32px;\n width: 44px;\n}\n\n:host([scale=m]) .delimiter {\n height: 96px;\n}\n\n:host([scale=m][hour-display-format=\"12\"]) .time-picker {\n width: 136.8px;\n}\n\n:host([scale=m][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker {\n width: 186px;\n}\n\n:host([scale=m][hour-display-format=\"24\"]) .time-picker {\n width: 92.8px;\n}\n\n:host([scale=m][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker {\n width: 141.6px;\n}\n\n:host([scale=l]) {\n font-size: var(--calcite-font-size-1);\n}\n\n:host([scale=l]) span {\n height: 48px;\n width: 64px;\n}\n\n:host([scale=l]) .delimiter {\n height: 144px;\n}\n\n:host([scale=l][hour-display-format=\"12\"]) .time-picker {\n width: 198px;\n}\n\n:host([scale=l][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker {\n width: 268px;\n}\n\n:host([scale=l][hour-display-format=\"24\"]) .time-picker {\n width: 134px;\n}\n\n:host([scale=l][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker {\n width: 204px;\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, Host, h, Prop, Event, Watch, State, Listen, Method } from \"@stencil/core\";\nimport { getKey, isActivationKey, numberKeys } from \"../../utils/key\";\nimport { isValidNumber } from \"../../utils/number\";\nimport { formatTimePart, maxTenthForMinuteAndSecond, getMeridiem, getMeridiemHour } from \"../../utils/time\";\nimport { CSS, TEXT } from \"./resources\";\nexport class CalciteTimePicker {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** The hour value (24-hour format) */\n this.hour = null;\n /** Format of the hour value (12-hour or 24-hour) (this will be replaced by locale eventually) */\n this.hourDisplayFormat = \"12\";\n /** aria-label for the hour input\n * @default \"Hour\"\n */\n this.intlHour = TEXT.hour;\n /** aria-label for the hour down button\n * @default \"Decrease hour\"\n */\n this.intlHourDown = TEXT.hourDown;\n /** aria-label for the hour up button\n * @default \"Increase hour\"\n */\n this.intlHourUp = TEXT.hourUp;\n /** aria-label for the meridiem (am/pm) input\n * @default \"AM/PM\"\n */\n this.intlMeridiem = TEXT.meridiem;\n /** aria-label for the meridiem (am/pm) down button\n * @default \"Decrease AM/PM\"\n */\n this.intlMeridiemDown = TEXT.meridiemDown;\n /** aria-label for the meridiem (am/pm) up button\n * @default \"Increase AM/PM\"\n */\n this.intlMeridiemUp = TEXT.meridiemUp;\n /** aria-label for the minute input\n * @default \"Minute\"\n */\n this.intlMinute = TEXT.minute;\n /** aria-label for the minute down button\n * @default \"Decrease minute\"\n */\n this.intlMinuteDown = TEXT.minuteDown;\n /** aria-label for the minute up button\n * @default \"Increase minute\"\n */\n this.intlMinuteUp = TEXT.minuteUp;\n /** aria-label for the second input\n * @default \"Second\"\n */\n this.intlSecond = TEXT.second;\n /** aria-label for the second down button\n * @default \"Decrease second\"\n */\n this.intlSecondDown = TEXT.secondDown;\n /** aria-label for the second up button\n * @default \"Increase second\"\n */\n this.intlSecondUp = TEXT.secondUp;\n /** The minute value */\n this.minute = null;\n /** The second value */\n this.second = null;\n /** The scale (size) of the time picker */\n this.scale = \"m\";\n /** number that specifies the granularity that the value must adhere to */\n this.step = 60;\n this.timeChanged = false;\n // --------------------------------------------------------------------------\n //\n // State\n //\n // --------------------------------------------------------------------------\n /** The am/pm value */\n this.meridiem = null;\n this.displayHour = this.getDisplayHour();\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.decrementHour = () => {\n const newHour = !this.hour ? 0 : this.hour === \"00\" ? 23 : parseInt(this.hour) - 1;\n this.setTime(\"hour\", newHour);\n };\n this.decrementMeridiem = () => {\n const newMeridiem = this.meridiem === \"PM\" ? \"AM\" : \"PM\";\n this.setTime(\"meridiem\", newMeridiem);\n };\n this.decrementMinuteOrSecond = (key) => {\n let newValue;\n if (isValidNumber(this[key])) {\n const valueAsNumber = parseInt(this[key]);\n newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;\n }\n else {\n newValue = 59;\n }\n this.setTime(key, newValue);\n };\n this.decrementMinute = () => {\n this.decrementMinuteOrSecond(\"minute\");\n };\n this.decrementSecond = () => {\n this.decrementMinuteOrSecond(\"second\");\n };\n this.focusHandler = (event) => {\n this.activeEl = event.currentTarget;\n };\n this.hourDownButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.decrementHour();\n }\n };\n this.hourKeyDownHandler = (event) => {\n const key = getKey(event.key);\n if (numberKeys.includes(key)) {\n const keyAsNumber = parseInt(key);\n let newHour;\n if (isValidNumber(this.hour)) {\n switch (this.hourDisplayFormat) {\n case \"12\":\n newHour =\n this.hour === \"01\" && keyAsNumber >= 0 && keyAsNumber <= 2\n ? `1${keyAsNumber}`\n : keyAsNumber;\n break;\n case \"24\":\n if (this.hour === \"01\") {\n newHour = `1${keyAsNumber}`;\n }\n else if (this.hour === \"02\" && keyAsNumber >= 0 && keyAsNumber <= 3) {\n newHour = `2${keyAsNumber}`;\n }\n else {\n newHour = keyAsNumber;\n }\n break;\n }\n }\n else {\n newHour = keyAsNumber;\n }\n this.setTime(\"hour\", newHour);\n }\n else {\n switch (key) {\n case \"Backspace\":\n case \"Delete\":\n this.setTime(\"hour\", null);\n break;\n case \"ArrowDown\":\n event.preventDefault();\n this.decrementHour();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n this.incrementHour();\n break;\n case \" \":\n case \"Spacebar\":\n event.preventDefault();\n break;\n }\n }\n };\n this.hourUpButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.incrementHour();\n }\n };\n this.incrementMeridiem = () => {\n const newMeridiem = this.meridiem === \"AM\" ? \"PM\" : \"AM\";\n this.setTime(\"meridiem\", newMeridiem);\n };\n this.incrementHour = () => {\n const newHour = isValidNumber(this.hour)\n ? this.hour === \"23\"\n ? 0\n : parseInt(this.hour) + 1\n : 1;\n this.setTime(\"hour\", newHour);\n };\n this.incrementMinuteOrSecond = (key) => {\n const newValue = isValidNumber(this[key])\n ? this[key] === \"59\"\n ? 0\n : parseInt(this[key]) + 1\n : 0;\n this.setTime(key, newValue);\n };\n this.incrementMinute = () => {\n this.incrementMinuteOrSecond(\"minute\");\n };\n this.incrementSecond = () => {\n this.incrementMinuteOrSecond(\"second\");\n };\n this.meridiemDownButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.decrementMeridiem();\n }\n };\n this.meridiemKeyDownHandler = (event) => {\n switch (getKey(event.key)) {\n case \"a\":\n this.setTime(\"meridiem\", \"AM\");\n break;\n case \"p\":\n this.setTime(\"meridiem\", \"PM\");\n break;\n case \"Backspace\":\n case \"Delete\":\n this.setTime(\"meridiem\", null);\n break;\n case \"ArrowUp\":\n event.preventDefault();\n this.incrementMeridiem();\n break;\n case \"ArrowDown\":\n event.preventDefault();\n this.decrementMeridiem();\n break;\n case \" \":\n case \"Spacebar\":\n event.preventDefault();\n break;\n }\n };\n this.meridiemUpButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.incrementMeridiem();\n }\n };\n this.minuteDownButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.decrementMinute();\n }\n };\n this.minuteKeyDownHandler = (event) => {\n const key = getKey(event.key);\n if (numberKeys.includes(key)) {\n const keyAsNumber = parseInt(key);\n let newMinute;\n if (isValidNumber(this.minute) && this.minute.startsWith(\"0\")) {\n const minuteAsNumber = parseInt(this.minute);\n newMinute =\n minuteAsNumber > maxTenthForMinuteAndSecond\n ? keyAsNumber\n : `${minuteAsNumber}${keyAsNumber}`;\n }\n else {\n newMinute = keyAsNumber;\n }\n this.setTime(\"minute\", newMinute);\n }\n else {\n switch (key) {\n case \"Backspace\":\n case \"Delete\":\n this.setTime(\"minute\", null);\n break;\n case \"ArrowDown\":\n event.preventDefault();\n this.decrementMinute();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n this.incrementMinute();\n break;\n case \" \":\n case \"Spacebar\":\n event.preventDefault();\n break;\n }\n }\n };\n this.minuteUpButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.incrementMinute();\n }\n };\n this.secondDownButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.decrementSecond();\n }\n };\n this.secondKeyDownHandler = (event) => {\n const key = getKey(event.key);\n if (numberKeys.includes(key)) {\n const keyAsNumber = parseInt(key);\n let newSecond;\n if (isValidNumber(this.second) && this.second.startsWith(\"0\")) {\n const secondAsNumber = parseInt(this.second);\n newSecond =\n secondAsNumber > maxTenthForMinuteAndSecond\n ? keyAsNumber\n : `${secondAsNumber}${keyAsNumber}`;\n }\n else {\n newSecond = keyAsNumber;\n }\n this.setTime(\"second\", newSecond);\n }\n else {\n switch (key) {\n case \"Backspace\":\n case \"Delete\":\n this.setTime(\"second\", null);\n break;\n case \"ArrowDown\":\n event.preventDefault();\n this.decrementSecond();\n break;\n case \"ArrowUp\":\n event.preventDefault();\n this.incrementSecond();\n break;\n case \" \":\n case \"Spacebar\":\n event.preventDefault();\n break;\n }\n }\n };\n this.secondUpButtonKeyDownHandler = (event) => {\n if (this.buttonActivated(event)) {\n this.incrementSecond();\n }\n };\n this.setTime = (key, value, emit = true) => {\n switch (key) {\n default:\n return;\n case \"hour\":\n this.hour = typeof value === \"number\" ? formatTimePart(value) : value;\n break;\n case \"minute\":\n this.minute = typeof value === \"number\" ? formatTimePart(value) : value;\n break;\n case \"second\":\n this.second = typeof value === \"number\" ? formatTimePart(value) : value;\n break;\n case \"meridiem\":\n if (isValidNumber(this.hour)) {\n const hourAsNumber = parseInt(this.hour);\n switch (value) {\n case \"AM\":\n if (hourAsNumber >= 12) {\n this.hour = formatTimePart(hourAsNumber - 12);\n }\n break;\n case \"PM\":\n if (hourAsNumber < 12) {\n this.hour = formatTimePart(hourAsNumber + 12);\n }\n break;\n }\n this.meridiem = value;\n }\n else {\n this.meridiem = value;\n }\n break;\n }\n this.timeChanged = true;\n if (emit) {\n this.calciteTimePickerChange.emit(this.getTime());\n }\n };\n }\n hourChanged(newHour) {\n if (this.hourDisplayFormat === \"12\" && isValidNumber(newHour)) {\n this.meridiem = getMeridiem(newHour);\n }\n }\n timeChangeHandler() {\n const { hour, minute } = this.getTime();\n if (!hour && !minute) {\n this.setTime(\"meridiem\", null, false);\n }\n if (this.timeChanged) {\n this.timeChanged = false;\n }\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n hostBlurHandler() {\n this.calciteTimePickerBlur.emit();\n }\n hostFocusHandler() {\n this.calciteTimePickerFocus.emit();\n }\n keyDownHandler(event) {\n const key = getKey(event.key);\n switch (this.activeEl) {\n case this.hourEl:\n if (key === \"ArrowRight\") {\n this.setFocus(\"minute\");\n }\n break;\n case this.minuteEl:\n switch (key) {\n case \"ArrowLeft\":\n this.setFocus(\"hour\");\n break;\n case \"ArrowRight\":\n if (this.step !== 60) {\n this.setFocus(\"second\");\n }\n else if (this.hourDisplayFormat === \"12\") {\n this.setFocus(\"meridiem\");\n }\n break;\n }\n break;\n case this.secondEl:\n switch (key) {\n case \"ArrowLeft\":\n this.setFocus(\"minute\");\n break;\n case \"ArrowRight\":\n if (this.hourDisplayFormat === \"12\") {\n this.setFocus(\"meridiem\");\n }\n break;\n }\n break;\n case this.meridiemEl:\n switch (key) {\n case \"ArrowLeft\":\n if (this.step !== 60) {\n this.setFocus(\"second\");\n }\n else {\n this.setFocus(\"minute\");\n }\n break;\n }\n break;\n }\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus(target) {\n var _a;\n (_a = this[`${target || \"hour\"}El`]) === null || _a === void 0 ? void 0 : _a.focus();\n }\n buttonActivated(event) {\n const key = getKey(event.key);\n if (key === \" \") {\n event.preventDefault();\n }\n return isActivationKey(key);\n }\n getDisplayHour() {\n if (!this.hour) {\n return \"--\";\n }\n if (this.hourDisplayFormat === \"12\") {\n return getMeridiemHour(this.hour);\n }\n return this.hour;\n }\n getTime() {\n return {\n hour: this.hour,\n minute: this.minute,\n second: this.second\n };\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n if (this.hourDisplayFormat === \"12\") {\n this.meridiem = getMeridiem(this.hour);\n }\n if (isValidNumber(this.hour)) {\n this.hour = formatTimePart(parseInt(this.hour));\n }\n if (isValidNumber(this.minute)) {\n this.minute = formatTimePart(parseInt(this.minute));\n }\n if (isValidNumber(this.second)) {\n this.second = formatTimePart(parseInt(this.second));\n }\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n const iconScale = this.scale === \"s\" || this.scale === \"m\" ? \"s\" : \"m\";\n const includeSeconds = this.step !== 60;\n const hourIsNumber = isValidNumber(this.hour);\n const minuteIsNumber = isValidNumber(this.minute);\n const secondIsNumber = isValidNumber(this.second);\n return (h(Host, null,\n h(\"div\", { class: CSS.timePicker },\n h(\"div\", { role: \"group\" },\n h(\"span\", { \"aria-label\": this.intlHourUp, class: {\n [CSS.button]: true,\n [CSS.buttonHourUp]: true,\n [CSS.buttonTopLeft]: true\n }, onClick: this.incrementHour, onKeyDown: this.hourUpButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-up\", scale: iconScale })),\n h(\"span\", { \"aria-label\": this.intlHour, \"aria-valuemax\": \"23\", \"aria-valuemin\": \"1\", \"aria-valuenow\": hourIsNumber && parseInt(this.hour), \"aria-valuetext\": this.hour, class: {\n [CSS.input]: true,\n [CSS.hour]: true\n }, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, ref: (el) => (this.hourEl = el), role: \"spinbutton\", tabIndex: 0 }, this.getDisplayHour()),\n h(\"span\", { \"aria-label\": this.intlHourDown, class: {\n [CSS.button]: true,\n [CSS.buttonHourDown]: true,\n [CSS.buttonBottomLeft]: true\n }, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-down\", scale: iconScale }))),\n h(\"span\", { class: CSS.delimiter }, \":\"),\n h(\"div\", { role: \"group\" },\n h(\"span\", { \"aria-label\": this.intlMinuteUp, class: {\n [CSS.button]: true,\n [CSS.buttonMinuteUp]: true\n }, onClick: this.incrementMinute, onKeyDown: this.minuteUpButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-up\", scale: iconScale })),\n h(\"span\", { \"aria-label\": this.intlMinute, \"aria-valuemax\": \"12\", \"aria-valuemin\": \"1\", \"aria-valuenow\": minuteIsNumber && parseInt(this.minute), \"aria-valuetext\": this.minute, class: {\n [CSS.input]: true,\n [CSS.minute]: true\n }, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, ref: (el) => (this.minuteEl = el), role: \"spinbutton\", tabIndex: 0 }, this.minute ? this.minute : \"--\"),\n h(\"span\", { \"aria-label\": this.intlMinuteDown, class: {\n [CSS.button]: true,\n [CSS.buttonMinuteDown]: true\n }, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-down\", scale: iconScale }))),\n includeSeconds && h(\"span\", { class: CSS.delimiter }, \":\"),\n includeSeconds && (h(\"div\", { role: \"group\" },\n h(\"span\", { \"aria-label\": this.intlSecondUp, class: {\n [CSS.button]: true,\n [CSS.buttonSecondUp]: true\n }, onClick: this.incrementSecond, onKeyDown: this.secondUpButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-up\", scale: iconScale })),\n h(\"span\", { \"aria-label\": this.intlSecond, \"aria-valuemax\": \"59\", \"aria-valuemin\": \"0\", \"aria-valuenow\": secondIsNumber && parseInt(this.second), \"aria-valuetext\": this.second, class: {\n [CSS.input]: true,\n [CSS.second]: true\n }, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, ref: (el) => (this.secondEl = el), role: \"spinbutton\", tabIndex: 0 }, this.second ? this.second : \"--\"),\n h(\"span\", { \"aria-label\": this.intlSecondDown, class: {\n [CSS.button]: true,\n [CSS.buttonSecondDown]: true\n }, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-down\", scale: iconScale })))),\n this.hourDisplayFormat === \"12\" && (h(\"div\", { role: \"group\" },\n h(\"span\", { \"aria-label\": this.intlMeridiemUp, class: {\n [CSS.button]: true,\n [CSS.buttonMeridiemUp]: true,\n [CSS.buttonTopRight]: true\n }, onClick: this.incrementMeridiem, onKeyDown: this.meridiemUpButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-up\", scale: iconScale })),\n h(\"span\", { \"aria-label\": this.intlMeridiem, \"aria-valuemax\": \"2\", \"aria-valuemin\": \"1\", \"aria-valuenow\": this.meridiem === \"AM\" ? \"1\" : this.meridiem === \"PM\" ? \"2\" : undefined, \"aria-valuetext\": this.meridiem, class: {\n [CSS.input]: true,\n [CSS.meridiem]: true\n }, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, ref: (el) => (this.meridiemEl = el), role: \"spinbutton\", tabIndex: 0 }, this.meridiem ? this.meridiem : \"--\"),\n h(\"span\", { \"aria-label\": this.intlMeridiemDown, class: {\n [CSS.button]: true,\n [CSS.buttonMeridiemDown]: true,\n [CSS.buttonBottomRight]: true\n }, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: \"button\", tabIndex: -1 },\n h(\"calcite-icon\", { icon: \"chevron-down\", scale: iconScale })))))));\n }\n static get is() { return \"calcite-time-picker\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-time-picker.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-time-picker.css\"]\n }; }\n static get properties() { return {\n \"hour\": {\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 \"text\": \"The hour value (24-hour format)\"\n },\n \"attribute\": \"hour\",\n \"reflect\": false,\n \"defaultValue\": \"null\"\n },\n \"hourDisplayFormat\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HourDisplayFormat\",\n \"resolved\": \"\\\"12\\\" | \\\"24\\\"\",\n \"references\": {\n \"HourDisplayFormat\": {\n \"location\": \"import\",\n \"path\": \"../../utils/time\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Format of the hour value (12-hour or 24-hour) (this will be replaced by locale eventually)\"\n },\n \"attribute\": \"hour-display-format\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"12\\\"\"\n },\n \"intlHour\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Hour\\\"\"\n }],\n \"text\": \"aria-label for the hour input\"\n },\n \"attribute\": \"intl-hour\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.hour\"\n },\n \"intlHourDown\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Decrease hour\\\"\"\n }],\n \"text\": \"aria-label for the hour down button\"\n },\n \"attribute\": \"intl-hour-down\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.hourDown\"\n },\n \"intlHourUp\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Increase hour\\\"\"\n }],\n \"text\": \"aria-label for the hour up button\"\n },\n \"attribute\": \"intl-hour-up\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.hourUp\"\n },\n \"intlMeridiem\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"AM/PM\\\"\"\n }],\n \"text\": \"aria-label for the meridiem (am/pm) input\"\n },\n \"attribute\": \"intl-meridiem\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.meridiem\"\n },\n \"intlMeridiemDown\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Decrease AM/PM\\\"\"\n }],\n \"text\": \"aria-label for the meridiem (am/pm) down button\"\n },\n \"attribute\": \"intl-meridiem-down\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.meridiemDown\"\n },\n \"intlMeridiemUp\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Increase AM/PM\\\"\"\n }],\n \"text\": \"aria-label for the meridiem (am/pm) up button\"\n },\n \"attribute\": \"intl-meridiem-up\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.meridiemUp\"\n },\n \"intlMinute\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Minute\\\"\"\n }],\n \"text\": \"aria-label for the minute input\"\n },\n \"attribute\": \"intl-minute\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.minute\"\n },\n \"intlMinuteDown\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Decrease minute\\\"\"\n }],\n \"text\": \"aria-label for the minute down button\"\n },\n \"attribute\": \"intl-minute-down\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.minuteDown\"\n },\n \"intlMinuteUp\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Increase minute\\\"\"\n }],\n \"text\": \"aria-label for the minute up button\"\n },\n \"attribute\": \"intl-minute-up\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.minuteUp\"\n },\n \"intlSecond\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Second\\\"\"\n }],\n \"text\": \"aria-label for the second input\"\n },\n \"attribute\": \"intl-second\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.second\"\n },\n \"intlSecondDown\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Decrease second\\\"\"\n }],\n \"text\": \"aria-label for the second down button\"\n },\n \"attribute\": \"intl-second-down\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.secondDown\"\n },\n \"intlSecondUp\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Increase second\\\"\"\n }],\n \"text\": \"aria-label for the second up button\"\n },\n \"attribute\": \"intl-second-up\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.secondUp\"\n },\n \"minute\": {\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 \"text\": \"The minute value\"\n },\n \"attribute\": \"minute\",\n \"reflect\": false,\n \"defaultValue\": \"null\"\n },\n \"second\": {\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 \"text\": \"The second value\"\n },\n \"attribute\": \"second\",\n \"reflect\": false,\n \"defaultValue\": \"null\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The scale (size) of the time picker\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"step\": {\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\": \"number that specifies the granularity that the value must adhere to\"\n },\n \"attribute\": \"step\",\n \"reflect\": true,\n \"defaultValue\": \"60\"\n }\n }; }\n static get states() { return {\n \"meridiem\": {},\n \"displayHour\": {}\n }; }\n static get events() { return [{\n \"method\": \"calciteTimePickerBlur\",\n \"name\": \"calciteTimePickerBlur\",\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\": \"Time\",\n \"resolved\": \"Time\",\n \"references\": {\n \"Time\": {\n \"location\": \"import\",\n \"path\": \"../../utils/time\"\n }\n }\n }\n }, {\n \"method\": \"calciteTimePickerChange\",\n \"name\": \"calciteTimePickerChange\",\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\": \"Time\",\n \"resolved\": \"Time\",\n \"references\": {\n \"Time\": {\n \"location\": \"import\",\n \"path\": \"../../utils/time\"\n }\n }\n }\n }, {\n \"method\": \"calciteTimePickerFocus\",\n \"name\": \"calciteTimePickerFocus\",\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\": \"Time\",\n \"resolved\": \"Time\",\n \"references\": {\n \"Time\": {\n \"location\": \"import\",\n \"path\": \"../../utils/time\"\n }\n }\n }\n }]; }\n static get methods() { return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(target: TimeFocusId) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n },\n \"TimeFocusId\": {\n \"location\": \"import\",\n \"path\": \"../../utils/time\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"hour\",\n \"methodName\": \"hourChanged\"\n }, {\n \"propName\": \"hour\",\n \"methodName\": \"timeChangeHandler\"\n }, {\n \"propName\": \"minute\",\n \"methodName\": \"timeChangeHandler\"\n }, {\n \"propName\": \"second\",\n \"methodName\": \"timeChangeHandler\"\n }]; }\n static get listeners() { return [{\n \"name\": \"blur\",\n \"method\": \"hostBlurHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"focus\",\n \"method\": \"hostFocusHandler\",\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}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/utils/resources.js","node_modules/@esri/calcite-components/dist/collection/utils/dom.js"],"names":["autoTheme","darkTheme","lightTheme","CSS_UTILITY","rtl","TEXT","loading","ensureId","el","id","tagName","toLowerCase","guid","nodeListToArray","nodeList","Array","isArray","from","getThemeName","closestElementCrossShadowBoundary","getElementDir","prop","selector","closest","getAttribute","getElementProp","fallbackValue","getRootNode","getHost","root","host","queryElementsRoots","element","queryFromAll","allResults","assignedSlot","rootNode","results","querySelectorAll","uniqueResults","filter","result","includes","queryElementRoots","queryFrom","found","querySelector","closestFrom","isCalciteFocusable","setFocus","async","focusElement","focus","getSlotted","slotName","options","slotSelector","all","queryMultiple","querySingle","matches","direct","parentElement","map","item","reduce","previousValue","currentValue","match","filterDirectChildren","children","child","setRequestedIcon","iconObject","iconValue","matchedValue","intersects","rect1","rect2","left","right","top","bottom"],"mappings":";;;;;;;;;GAIA,MAAMA,EAAY,qBAClB,MAAMC,EAAY,qBAClB,MAAMC,EAAa,sBAeP,MAACC,EAAc,CACzBH,UAAAA,EACAC,UAAAA,EACAC,WAAAA,EACAE,IAAK,gBAEK,MAACC,EAAO,CAClBC,QAAS;;;;GCfJ,SAASC,EAASC,GACvB,IAAKA,EAAI,CACP,MAAO,GAET,OAAQA,EAAGC,GAAKD,EAAGC,IAAM,GAAGD,EAAGE,QAAQC,iBAAiBC,MAEnD,SAASC,EAAgBC,GAC9B,OAAOC,MAAMC,QAAQF,GAAYA,EAAWC,MAAME,KAAKH,GAElD,SAASI,EAAaV,GAC3B,OAAOW,EAAkCX,EAAI,IAAIL,EAAYF,aAAe,OAAS,QAEhF,SAASmB,EAAcZ,GAC5B,MAAMa,EAAO,MACb,MAAMC,EAAW,IAAID,KACrB,MAAME,EAAUJ,EAAkCX,EAAIc,GACtD,OAAOC,EAAUA,EAAQC,aAAaH,GAAQ,MAEzC,SAASI,EAAejB,EAAIa,EAAMK,GACvC,MAAMJ,EAAW,IAAID,KACrB,MAAME,EAAUf,EAAGe,QAAQD,GAC3B,OAAOC,EAAUA,EAAQC,aAAaH,GAAQK,EAEzC,SAASC,EAAYnB,GAC1B,OAAOA,EAAGmB,cAEL,SAASC,EAAQC,GACtB,O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AOI,EAAY3B,EAASwB,EAAcD,GAE5C,SAASG,EAAc1B,EAASwB,EAAcD,GAC5C,IAAIK,EAAU7C,MAAME,KAAKe,EAAQM,iBAAiBkB,IAClDI,EAAUL,GAAWA,EAAQM,SAAW,MAAQD,EAAUA,EAAQpB,QAAQhC,GAAOA,EAAGsD,gBAAkB9B,IACtG,MAAMV,EAAWiC,IAAY,MAAQA,SAAiB,OAAS,EAAIA,EAAQjC,SAC3E,OAAOA,EACHsC,EACCG,KAAKC,GAASjD,MAAME,KAAK+C,EAAK1B,iBAAiBhB,MAC/C2C,QAAO,CAACC,EAAeC,IAAiB,IAAID,KAAkBC,IAAe,IAC7E3B,QAAQ4B,KAAYA,IACrBR,EAEN,SAASD,EAAY3B,EAASwB,EAAcD,GAC1C,IAAIa,EAAQpC,EAAQc,cAAcU,GAClCY,EAAQb,GAAWA,EAAQM,SAAW,MAAQO,GAASA,IAAU,MAAQA,SAAe,OAAS,EAAIA,EAAMN,iBAAmB9B,EAAUoC,EAAQ,KAChJ,MAAM9C,EAAWiC,IAAY,MAAQA,SAAiB,OAAS,EAAIA,EAAQjC,SAC3E,OAAOA,EAAW8C,EAAMtB,cAAcxB,GAAY8C,EAE7C,SAASC,EAAqB7D,EAAIc,GACvC,OAAOP,MAAME,KAAKT,EAAG8D,UAAU9B,QAAQ+B,GAAUA,EAAMX,QAAQtC,KAG1D,SAASkD,EAAiBC,EAAYC,EAAWC,GACtD,UAAWD,IAAc,UAAYA,IAAc,GAAI,CACrD,OAAOA,OAEJ,GAAIA,IAAc,GAAI,CACzB,OAAOD,EAAWE,IAGf,SAASC,EAAWC,EAAOC,GAChC,QAASA,EAAMC,KAAOF,EAAMG,OAC1BF,EAAME,MAAQH,EAAME,MACpBD,EAAMG,IAAMJ,EAAMK,QAClBJ,EAAMI,OAASL,EAAMI","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 */\nconst autoTheme = \"calcite-theme-auto\";\nconst darkTheme = \"calcite-theme-dark\";\nconst lightTheme = \"calcite-theme-light\";\nexport const THEMES = [\n {\n name: \"light\",\n className: lightTheme\n },\n {\n name: \"dark\",\n className: darkTheme\n },\n {\n name: \"auto\",\n className: autoTheme\n }\n];\nexport const CSS_UTILITY = {\n autoTheme,\n darkTheme,\n lightTheme,\n rtl: \"calcite--rtl\"\n};\nexport const TEXT = {\n loading: \"Loading\"\n};\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 { CSS_UTILITY } from \"./resources\";\nimport { guid } from \"./guid\";\n/**\n * This helper will guarantee an ID on the provided element.\n *\n * If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.\n *\n * @returns {string} The element's ID.\n */\nexport function ensureId(el) {\n if (!el) {\n return \"\";\n }\n return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);\n}\nexport function nodeListToArray(nodeList) {\n return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);\n}\nexport function getThemeName(el) {\n return closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}`) ? \"dark\" : \"light\";\n}\nexport function getElementDir(el) {\n const prop = \"dir\";\n const selector = `[${prop}]`;\n const closest = closestElementCrossShadowBoundary(el, selector);\n return closest ? closest.getAttribute(prop) : \"ltr\";\n}\nexport function getElementProp(el, prop, fallbackValue) {\n const selector = `[${prop}]`;\n const closest = el.closest(selector);\n return closest ? closest.getAttribute(prop) : fallbackValue;\n}\nexport function getRootNode(el) {\n return el.getRootNode();\n}\nexport function getHost(root) {\n return root.host || null;\n}\n// Queries an element's rootNode and any ancestor rootNodes.\n// based on https://stackoverflow.com/q/54520554/194216\nexport function queryElementsRoots(element, selector) {\n // Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.\n function queryFromAll(el, allResults) {\n if (!el) {\n return allResults;\n }\n if (el.assignedSlot) {\n el = el.assignedSlot;\n }\n const rootNode = getRootNode(el);\n const results = Array.from(rootNode.querySelectorAll(selector));\n const uniqueResults = results.filter((result) => !allResults.includes(result));\n allResults = [...allResults, ...uniqueResults];\n const host = getHost(rootNode);\n return host ? queryFromAll(host, allResults) : allResults;\n }\n return queryFromAll(element, []);\n}\n// Queries an element's rootNode and any ancestor rootNodes.\n// based on https://stackoverflow.com/q/54520554/194216\nexport function queryElementRoots(element, selector) {\n // Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.\n function queryFrom(el) {\n if (!el) {\n return null;\n }\n if (el.assignedSlot) {\n el = el.assignedSlot;\n }\n const rootNode = getRootNode(el);\n const found = rootNode.querySelector(selector);\n const host = getHost(rootNode);\n return found ? found : host ? queryFrom(host) : null;\n }\n return queryFrom(element);\n}\nexport function closestElementCrossShadowBoundary(element, selector) {\n // based on https://stackoverflow.com/q/54520554/194216\n function closestFrom(el) {\n return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;\n }\n return closestFrom(element);\n}\nexport function isCalciteFocusable(el) {\n return typeof (el === null || el === void 0 ? void 0 : el.setFocus) === \"function\";\n}\nexport async function focusElement(el) {\n if (!el) {\n return;\n }\n return isCalciteFocusable(el) ? el.setFocus() : el.focus();\n}\nexport function getSlotted(element, slotName, options) {\n const slotSelector = `[slot=\"${slotName}\"]`;\n if (options === null || options === void 0 ? void 0 : options.all) {\n return queryMultiple(element, slotSelector, options);\n }\n return querySingle(element, slotSelector, options);\n}\nfunction queryMultiple(element, slotSelector, options) {\n let matches = Array.from(element.querySelectorAll(slotSelector));\n matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);\n const selector = options === null || options === void 0 ? void 0 : options.selector;\n return selector\n ? matches\n .map((item) => Array.from(item.querySelectorAll(selector)))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])\n .filter((match) => !!match)\n : matches;\n}\nfunction querySingle(element, slotSelector, options) {\n let match = element.querySelector(slotSelector);\n match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;\n const selector = options === null || options === void 0 ? void 0 : options.selector;\n return selector ? match.querySelector(selector) : match;\n}\nexport function filterDirectChildren(el, selector) {\n return Array.from(el.children).filter((child) => child.matches(selector));\n}\n// set a default icon from a defined set or allow an override with an icon name string\nexport function setRequestedIcon(iconObject, iconValue, matchedValue) {\n if (typeof iconValue === \"string\" && iconValue !== \"\") {\n return iconValue;\n }\n else if (iconValue === \"\") {\n return iconObject[matchedValue];\n }\n}\nexport function intersects(rect1, rect2) {\n return !(rect2.left > rect1.right ||\n rect2.right < rect1.left ||\n rect2.top > rect1.bottom ||\n rect2.bottom < rect1.top);\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/lodash-es/_freeGlobal.js","node_modules/lodash-es/_root.js","node_modules/lodash-es/_Symbol.js","node_modules/lodash-es/_getRawTag.js","node_modules/lodash-es/_objectToString.js","node_modules/lodash-es/_baseGetTag.js","node_modules/lodash-es/isObjectLike.js","node_modules/lodash-es/isSymbol.js","node_modules/lodash-es/_trimmedEndIndex.js","node_modules/lodash-es/_baseTrim.js","node_modules/lodash-es/isObject.js","node_modules/lodash-es/toNumber.js","node_modules/lodash-es/now.js","node_modules/lodash-es/debounce.js"],"names":["freeGlobal","global","Object","freeSelf","self","root","Function","Symbol","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","undefined","getRawTag","value","isOwn","call","tag","unmasked","e","result","objectToString","nullTag","undefinedTag","baseGetTag","isObjectLike","symbolTag","isSymbol","reWhitespace","trimmedEndIndex","string","index","length","test","charAt","reTrimStart","baseTrim","slice","replace","isObject","type","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","toNumber","other","valueOf","isBinary","now","Date","FUNC_ERROR_TEXT","nativeMax","Math","max","nativeMin","min","debounce","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","leadingEdge","setTimeout","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","clearTimeout","flush","debounced","isInvoking","arguments","this"],"mappings":";;;;;AACG,IAACA,SAAoBC,QAAU,UAAYA,QAAUA,OAAOC,SAAWA,QAAUD,OCEpF,IAAIE,SAAkBC,MAAQ,UAAYA,MAAQA,KAAKF,SAAWA,QAAUE,KAGzE,IAACC,EAAOL,GAAcG,GAAYG,SAAS,cAATA,GCHlC,IAACC,EAASF,EAAKE,OCAlB,IAAIC,EAAcN,OAAOO,UAGzB,IAAIC,EAAiBF,EAAYE,eAOjC,IAAIC,EAAuBH,EAAYI,SAGvC,IAAIC,EAAiBN,EAASA,EAAOO,YAAcC,UASnD,SAASC,EAAUC,GACjB,IAAIC,EAAQR,EAAeS,KAAKF,EAAOJ,GACnCO,EAAMH,EAAMJ,GAEhB,IACEI,EAAMJ,GAAkBE,UACxB,IAAIM,EAAW,KACf,MAAOC,IAET,IAAIC,EAASZ,EAAqBQ,KAAKF,GACvC,GAAII,EAAU,CACZ,GAAIH,EAAO,CACTD,EAAMJ,GAAkBO,MACnB,QACEH,EAAMJ,IAGjB,OAAOU,ECzCT,IAAIf,EAAcN,OAAOO,UAOzB,IAAIE,EAAuBH,EAAYI,SASvC,SAASY,EAAeP,GACtB,OAAON,EAAqBQ,KAAKF,GCbnC,IAAIQ,EAAU,gBACVC,EAAe,qBAGnB,IAAIb,EAAiBN,EAASA,EAAOO,YAAcC,UASnD,SAASY,EAAWV,GAClB,GAAIA,GAAS,KAAM,CACjB,OAAOA,IAAUF,UAAYW,EAAeD,EAE9C,OAAQZ,GAAkBA,KAAkBX,OAAOe,GAC/CD,EAAUC,GACVO,EAAeP,GCArB,SAASW,EAAaX,GACpB,OAAOA,GAAS,aAAeA,GAAS,SCrB1C,IAAIY,EAAY,kBAmBhB,SAASC,EAASb,GAChB,cAAcA,GAAS,UACp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,EAASkE,EAAanC,KAGvD,SAASuC,IACP,IAAIhB,EAAOvB,IACPwC,EAAaN,EAAaX,GAE9BX,EAAW6B,UACX5B,EAAW6B,KACX1B,EAAeO,EAEf,GAAIiB,EAAY,CACd,GAAIzB,IAAYtD,UAAW,CACzB,OAAOkE,EAAYX,GAErB,GAAIG,EAAQ,CAEVkB,aAAatB,GACbA,EAAUa,WAAWC,EAAcnB,GACnC,OAAOY,EAAWN,IAGtB,GAAID,IAAYtD,UAAW,CACzBsD,EAAUa,WAAWC,EAAcnB,GAErC,OAAOzC,EAETsE,EAAUH,OAASA,EACnBG,EAAUD,MAAQA,EAClB,OAAOC","sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n","import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["node_modules/@esri/calcite-components/dist/collection/utils/guid.js"],"names":["gen","counts","map","count","out","i","Math","random","toString","substring","join","guid"],"mappings":";;;;;;;;;AAIA,SAASA,EAAIC,GACX,OAAOA,EACJC,KAAKC,IACN,IAAIC,EAAM,GACV,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAOE,IAAK,CAC9BD,KAAU,EAAIE,KAAKC,UAAY,MAAW,GAAGC,SAAS,IAAIC,UAAU,GAEtE,OAAOL,KAENM,KAAK,KAEE,MAACC,EAAO,IAAMX,EAAI,CAAC,EAAG,EAAG,EAAG,EAAG","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 */\nfunction gen(counts) {\n return counts\n .map((count) => {\n let out = \"\";\n for (let i = 0; i < count; i++) {\n out += (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);\n }\n return out;\n })\n .join(\"-\");\n}\nexport const guid = () => gen([2, 1, 1, 1, 3]);\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["src/utils/common.ts"],"names":["getProp","obj","path","split","reduce","prev","curr","undefined","nodeListToArray","nodeList","Array","isArray","from"],"mappings":";;;;;;;;;;;;;;;;;;;;SA6BiBA,EAAQC,EAA+BC,GACtD,OAAOA,EAAKC,MAAM,KAAKC,QAAO,SAASC,EAAMC,GAE3C,OAAOD,EAAOA,EAAKC,GAAQC,YAC1BN,YAsEWO,EAAmCC,GACjD,OAAOC,MAAMC,QAAQF,GAAYA,EAAWC,MAAME,KAAKH","sourcesContent":["/** @license\r\n * Copyright 2021 Esri\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n/*\r\n | Helper functions from solutions-common\r\n*/\r\n\r\n/**\r\n * Gets a property out of a deeply nested object.\r\n * Does not handle anything but nested object graph\r\n *\r\n * @param obj Object to retrieve value from\r\n * @param path Path into an object, e.g., \"data.values.webmap\", where \"data\" is a top-level property\r\n * in obj\r\n * @return Value at end of path\r\n */\r\n export function getProp(obj: { [index: string]: any }, path: string): any {\r\n return path.split(\".\").reduce(function(prev, curr) {\r\n /* istanbul ignore next no need to test undefined scenario */\r\n return prev ? prev[curr] : undefined;\r\n }, obj);\r\n}\r\n\r\n/**\r\n * Returns an array of values from an object based on an array of property paths.\r\n *\r\n * @param obj Object to retrieve values from\r\n * @param props Array of paths into the object e.g., \"data.values.webmap\", where \"data\" is a top-level property\r\n * @return Array of the values plucked from the object; only defined values are returned\r\n */\r\nexport function getProps(obj: any, props: string[]): any {\r\n return props.reduce((a, p) => {\r\n const v = getProp(obj, p);\r\n if (v) {\r\n a.push(v);\r\n }\r\n return a;\r\n }, [] as any[]);\r\n}\r\n\r\n/**\r\n * Sets a deeply nested property of an object.\r\n * Creates the full path if it does not exist.\r\n *\r\n * @param obj Object to set value of\r\n * @param path Path into an object, e.g., \"data.values.webmap\", where \"data\" is a top-level property in obj\r\n * @param value The value to set at the end of the path\r\n */\r\nexport function setCreateProp(obj: any, path: string, value: any): any {\r\n const pathParts: string[] = path.split(\".\");\r\n pathParts.reduce((a: any, b: any, c: any) => {\r\n if (c === pathParts.length - 1) {\r\n a[b] = value;\r\n return value;\r\n } else {\r\n if (!a[b]) {\r\n a[b] = {};\r\n }\r\n return a[b];\r\n }\r\n }, obj);\r\n}\r\n\r\n/**\r\n * Sets a deeply nested property of an object.\r\n * Does nothing if the full path does not exist.\r\n *\r\n * @param obj Object to set value of\r\n * @param path Path into an object, e.g., \"data.values.webmap\", where \"data\" is a top-level property in obj\r\n * @param value The value to set at the end of the path\r\n */\r\nexport function setProp(obj: any, path: string, value: any): any {\r\n if (getProp(obj, path)) {\r\n const pathParts: string[] = path.split(\".\");\r\n pathParts.reduce((a: any, b: any, c: any) => {\r\n if (c === pathParts.length - 1) {\r\n a[b] = value;\r\n return value;\r\n } else {\r\n return a[b];\r\n }\r\n }, obj);\r\n }\r\n}\r\n\r\n/**\r\n * Get an array from a list of nodes\r\n *\r\n * @param nodeList list of nodes\r\n */\r\nexport function nodeListToArray<T extends Element>(nodeList: HTMLCollectionOf<T> | NodeListOf<T> | T[]): T[] {\r\n return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);\r\n}\r\n"]}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2021 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e,f as t}from"./p-2e1cd889.js";const s=(e,t,s)=>{const n=e.get(t);if(!n){e.set(t,[s])}else if(!n.includes(s)){n.push(s)}};const n=(e,t)=>{let s;return(...n)=>{if(s){clearTimeout(s)}s=setTimeout((()=>{s=0;e(...n)}),t)}};const o=e=>!("isConnected"in e)||e.isConnected;const r=n((e=>{for(let t of e.keys()){e.set(t,e.get(t).filter(o))}}),2e3);const c=()=>{if(typeof e!=="function"){return{}}const n=new Map;return{dispose:()=>n.clear(),get:t=>{const o=e();if(o){s(n,t,o)}},set:e=>{const s=n.get(e);if(s){n.set(e,s.filter(t))}r(n)},reset:()=>{n.forEach((e=>e.forEach(t)));r(n)}}};const i=(e,t=((e,t)=>e!==t))=>{let s=new Map(Object.entries(e!==null&&e!==void 0?e:{}));const n={dispose:[],get:[],set:[],reset:[]};const o=()=>{s=new Map(Object.entries(e!==null&&e!==void 0?e:{}));n.reset.forEach((e=>e()))};const r=()=>{n.dispose.forEach((e=>e()));o()};const c=e=>{n.get.forEach((t=>t(e)));return s.get(e)};const i=(e,o)=>{const r=s.get(e);if(t(o,r,e)){s.set(e,o);n.set.forEach((t=>t(e,o,r)))}};const f=typeof Proxy==="undefined"?{}:new Proxy(e,{get(e,t){return c(t)},ownKeys(e){return Array.from(s.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(e,t){return s.has(t)},set(e,t,s){i(t,s);return true}});const a=(e,t)=>{n[e].push(t);return()=>{u(n[e],t)}};const d=(t,s)=>{const n=a("set",((e,n)=>{if(e===t){s(n)}}));const o=a("reset",(()=>s(e[t])));return()=>{n();o()}};const p=(...e)=>{const t=e.reduce(((e,t)=>{if(t.set){e.push(a("set",t.set))}if(t.get){e.push(a("get",t.get))}if(t.reset){e.push(a("reset",t.reset))}if(t.dispose){e.push(a("dispose",t.dispose))}return e}),[]);return()=>t.forEach((e=>e()))};const l=e=>{const t=s.get(e);n.set.forEach((s=>s(e,t,t)))};return{state:f,get:c,set:i,on:a,onChange:d,use:p,dispose:r,reset:o,forceUpdate:l}};const u=(e,t)=>{const s=e.indexOf(t);if(s>=0){e[s]=e[e.length-1];e.length--}};const f=(e,t)=>{const s=i(e,t);s.use(c());return s};
|
7
|
-
/** @license
|
8
|
-
* Copyright 2021 Esri
|
9
|
-
*
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
* you may not use this file except in compliance with the License.
|
12
|
-
* You may obtain a copy of the License at
|
13
|
-
*
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
*
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
* See the License for the specific language governing permissions and
|
20
|
-
* limitations under the License.
|
21
|
-
*/const{state:a,onChange:d,dispose:p}=f({models:{},featureServices:[],spatialReferenceInfo:{},dispose:()=>p()});const l=new CustomEvent("modelsChanged",{bubbles:true,cancelable:false,composed:true});d("models",(()=>{dispatchEvent(l)}));export{a as s};
|
22
|
-
//# sourceMappingURL=p-eceb11d1.js.map
|