@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
@@ -0,0 +1,111 @@
|
|
1
|
+
/** @license
|
2
|
+
* Copyright 2021 Esri
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
export interface IItemDetails {
|
17
|
+
thumbnail: string;
|
18
|
+
title: string;
|
19
|
+
snippet: string;
|
20
|
+
description: string;
|
21
|
+
tags: string[];
|
22
|
+
accessInformation?: string;
|
23
|
+
licenseInfo?: string;
|
24
|
+
itemId: string;
|
25
|
+
}
|
26
|
+
export interface IInventoryItem {
|
27
|
+
id: string;
|
28
|
+
title: string;
|
29
|
+
dependencies?: IInventoryItem[];
|
30
|
+
type: string;
|
31
|
+
typeKeywords: string[];
|
32
|
+
solutionItem: ISolutionItem;
|
33
|
+
}
|
34
|
+
export interface IItemShare {
|
35
|
+
id: string;
|
36
|
+
title: string;
|
37
|
+
isShared: boolean;
|
38
|
+
shareItem: boolean;
|
39
|
+
type: string;
|
40
|
+
typeKeywords: string[];
|
41
|
+
}
|
42
|
+
export interface IOrganizationVariableItem {
|
43
|
+
id: string;
|
44
|
+
title: string;
|
45
|
+
value: string;
|
46
|
+
}
|
47
|
+
export interface IResourceItem {
|
48
|
+
name: string;
|
49
|
+
url: string;
|
50
|
+
}
|
51
|
+
export interface IResponse {
|
52
|
+
success: boolean;
|
53
|
+
message: string;
|
54
|
+
}
|
55
|
+
export interface ISolutionConfiguration {
|
56
|
+
contents: IInventoryItem[];
|
57
|
+
}
|
58
|
+
export interface ISolutionItem {
|
59
|
+
itemId: string;
|
60
|
+
itemDetails: any;
|
61
|
+
isResource: boolean;
|
62
|
+
data: ITemplateData;
|
63
|
+
properties: ITemplateData;
|
64
|
+
type: string;
|
65
|
+
groupDetails?: IItemShare[];
|
66
|
+
}
|
67
|
+
export interface ISolutionModel {
|
68
|
+
dataModel: monaco.editor.ITextModel;
|
69
|
+
dataOriginValue: string;
|
70
|
+
propsModel: monaco.editor.ITextModel;
|
71
|
+
propsOriginValue: string;
|
72
|
+
propsDiffOriginValue: string;
|
73
|
+
state: any;
|
74
|
+
shareInfo: any;
|
75
|
+
isEditing: boolean;
|
76
|
+
itemId: string;
|
77
|
+
updateItemValues: any;
|
78
|
+
originalItemValues: any;
|
79
|
+
name: string;
|
80
|
+
title: string;
|
81
|
+
itemOriginValue: string;
|
82
|
+
spatialReference: any;
|
83
|
+
}
|
84
|
+
export interface ISolutionModels {
|
85
|
+
[key: string]: ISolutionModel;
|
86
|
+
}
|
87
|
+
export interface ISpatialRefRepresentation {
|
88
|
+
display: string;
|
89
|
+
usingWkid: boolean;
|
90
|
+
wkid: number;
|
91
|
+
wkt: string;
|
92
|
+
}
|
93
|
+
export interface ITemplateData {
|
94
|
+
resourceItem?: IResourceItem;
|
95
|
+
value?: any;
|
96
|
+
}
|
97
|
+
export interface IUpdateTemplateResponse {
|
98
|
+
templates: any[];
|
99
|
+
errors: string[];
|
100
|
+
}
|
101
|
+
export interface IVariableItem {
|
102
|
+
id: string;
|
103
|
+
title: string;
|
104
|
+
type?: string;
|
105
|
+
value: string;
|
106
|
+
dependencies?: IVariableItem[];
|
107
|
+
}
|
108
|
+
export interface IWkidDescription {
|
109
|
+
label: string;
|
110
|
+
defaultExtent: string;
|
111
|
+
}
|
@@ -13,33 +13,10 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { IInventoryItem } from
|
17
|
-
import { IVariableItem } from "../components/solution-variables/solution-variables";
|
18
|
-
import { IOrganizationVariableItem } from "../components/solution-organization-variables/solution-organization-variables";
|
19
|
-
export interface ISolutionModel {
|
20
|
-
dataModel: monaco.editor.ITextModel;
|
21
|
-
dataOriginValue: string;
|
22
|
-
propsModel: monaco.editor.ITextModel;
|
23
|
-
propsOriginValue: string;
|
24
|
-
propsDiffOriginValue: string;
|
25
|
-
state: any;
|
26
|
-
shareInfo: any;
|
27
|
-
isEditing: boolean;
|
28
|
-
itemId: string;
|
29
|
-
updateItemValues: any;
|
30
|
-
originalItemValues: any;
|
31
|
-
name: string;
|
32
|
-
title: string;
|
33
|
-
itemOriginValue: string;
|
34
|
-
spatialReference: any;
|
35
|
-
}
|
36
|
-
interface ISolutionModels {
|
37
|
-
[key: string]: ISolutionModel;
|
38
|
-
}
|
16
|
+
import { IInventoryItem, IOrganizationVariableItem, ISolutionModels, IVariableItem } from '../utils/interfaces';
|
39
17
|
export declare function getInventoryItems(templates: any[]): IInventoryItem[];
|
40
18
|
export declare function getSolutionVariables(templates: any[], translations: any): IVariableItem[];
|
41
19
|
export declare function getOrganizationVariables(translations: any): IOrganizationVariableItem[];
|
42
20
|
export declare function getModels(templates: any[]): ISolutionModels;
|
43
21
|
export declare function getFeatureServices(templates: any[]): any[];
|
44
|
-
export declare function getSpatialReferenceInfo(services:
|
45
|
-
export {};
|
22
|
+
export declare function getSpatialReferenceInfo(services: any[], data: any): any;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@esri/solutions-components",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.7",
|
4
4
|
"description": "Web Components for Esri's Solutions Applications",
|
5
5
|
"main": "dist/index.cjs.js",
|
6
6
|
"module": "dist/custom-elements/index.js",
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"generate": "stencil generate"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
|
-
"@esri/eslint-plugin-calcite-components": "0.1.1",
|
32
|
+
"@esri/eslint-plugin-calcite-components": "^0.1.1",
|
33
33
|
"@stencil/eslint-plugin": "0.4.0",
|
34
34
|
"@stencil/store": "^1.5.0",
|
35
35
|
"@types/jest": "26.0.21",
|
@@ -58,11 +58,12 @@
|
|
58
58
|
},
|
59
59
|
"dependencies": {
|
60
60
|
"@esri/calcite-components": "^1.0.0-beta.70",
|
61
|
+
"@esri/solution-common": "^1.1.5",
|
61
62
|
"monaco-editor": "^0.30.1"
|
62
63
|
},
|
63
64
|
"repository": {
|
64
65
|
"type": "git",
|
65
|
-
"url": "git+https://github.com/
|
66
|
+
"url": "git+https://github.com/Esri/solutions-components.git"
|
66
67
|
},
|
67
68
|
"contributors": [
|
68
69
|
{
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"CalciteExpandToggle-3e4e3b6c.js","mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AAIY,MAA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C,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;AAC1D,EAAE,IAAI,GAAG,EAAE;AACX,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;AACpB,GAAG;AACH,EAAE,MAAM,GAAG,GAAG,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC;AACzD,EAAE,MAAM,UAAU,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;AAC/C,EAAE,MAAM,YAAY,GAAG,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;AACjD,EAAE,MAAM,UAAU,IAAIC,OAAC,CAAC,gBAAgB,EAAE,EAAE,GAAG,EAAE,GAAG,GAAG,KAAK,GAAG,KAAK,EAAE,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,gBAAgB,KAAK,mBAAmB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC3R,EAAE,OAAO,OAAO,GAAGA,OAAC,CAAC,yBAAyB,EAAE,IAAI,EAAE,UAAU,CAAC,GAAG,UAAU,CAAC;AAC/E;;;;;;;;;","names":["ACTION_MENU_SLOTS","ACTION_GROUP_SLOTS","forceUpdate","getElementDir","h"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-bar/utils.js","./node_modules/@esri/calcite-components/dist/collection/components/functional/CalciteExpandToggle.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { forceUpdate } from \"@stencil/core\";\nimport { SLOTS as ACTION_MENU_SLOTS } from \"../calcite-action-menu/resources\";\nimport { SLOTS as ACTION_GROUP_SLOTS } from \"../calcite-action-group/resources\";\nexport const overflowActionsDebounceInMs = 150;\nconst groupBufferHeight = 2;\nconst getMaxActionCount = ({ height, actionHeight, groupCount }) => {\n return Math.floor((height - groupCount * groupBufferHeight) / actionHeight);\n};\nexport const getOverflowCount = ({ actionCount, actionHeight, height, groupCount }) => {\n return Math.max(actionCount - getMaxActionCount({ height, actionHeight, groupCount }), 0);\n};\nexport const queryActions = (el) => {\n return Array.from(el.querySelectorAll(\"calcite-action\")).filter((action) => action.closest(\"calcite-action-menu\") ? action.slot === ACTION_MENU_SLOTS.trigger : true);\n};\nexport const overflowActions = ({ actionGroups, expanded, overflowCount }) => {\n let needToSlotCount = overflowCount;\n actionGroups.reverse().forEach((group) => {\n let slottedWithinGroupCount = 0;\n const groupActions = queryActions(group).reverse();\n groupActions.forEach((groupAction) => {\n if (groupAction.slot === ACTION_GROUP_SLOTS.menuActions) {\n groupAction.removeAttribute(\"slot\");\n groupAction.textEnabled = expanded;\n }\n });\n if (needToSlotCount > 0) {\n groupActions.some((groupAction) => {\n const unslottedActions = groupActions.filter((action) => !action.slot);\n if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest(\"calcite-action-menu\")) {\n groupAction.textEnabled = true;\n groupAction.setAttribute(\"slot\", ACTION_GROUP_SLOTS.menuActions);\n slottedWithinGroupCount++;\n if (slottedWithinGroupCount > 1) {\n needToSlotCount--;\n }\n }\n return needToSlotCount < 1;\n });\n }\n forceUpdate(group);\n });\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 { h } from \"@stencil/core\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { queryActions } from \"../calcite-action-bar/utils\";\nimport { SLOTS as ACTION_GROUP_SLOTS } from \"../calcite-action-group/resources\";\nconst ICONS = {\n chevronsLeft: \"chevrons-left\",\n chevronsRight: \"chevrons-right\"\n};\nfunction getCalcitePosition(position, el) {\n var _a;\n return position || ((_a = el.closest(\"calcite-shell-panel\")) === null || _a === void 0 ? void 0 : _a.position) || \"start\";\n}\nexport function toggleChildActionText({ parent, expanded }) {\n queryActions(parent)\n .filter((el) => el.slot !== ACTION_GROUP_SLOTS.menuActions)\n .forEach((action) => (action.textEnabled = expanded));\n parent.querySelectorAll(\"calcite-action-group\").forEach((group) => (group.expanded = expanded));\n}\nconst setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {\n if (tooltip) {\n tooltip.referenceElement = !expanded && referenceElement;\n }\n if (ref) {\n ref(referenceElement);\n }\n return referenceElement;\n};\nexport const CalciteExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {\n const rtl = getElementDir(el) === \"rtl\";\n const expandText = expanded ? intlCollapse : intlExpand;\n const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];\n if (rtl) {\n icons.reverse();\n }\n const end = getCalcitePosition(position, el) === \"end\";\n const expandIcon = end ? icons[1] : icons[0];\n const collapseIcon = end ? icons[0] : icons[1];\n const actionNode = (h(\"calcite-action\", { dir: rtl ? \"rtl\" : \"ltr\", icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));\n return tooltip ? h(\"calcite-tooltip-manager\", null, actionNode) : actionNode;\n};\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"CalciteHeading-d765addc.js","mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AAEO,SAAS,qBAAqB,CAAC,KAAK,EAAE;AAC7C,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACpD,CAAC;AACW,MAAC,cAAc,GAAG,CAAC,KAAK,EAAE,QAAQ,KAAK;AACnD,EAAE,MAAM,UAAU,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AACvC,EAAE,OAAO,KAAK,CAAC,KAAK,CAAC;AACrB,EAAE,OAAOA,OAAC,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAC;AAC3D;;;;;","names":["h"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/functional/CalciteHeading.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { h } from \"@stencil/core\";\nexport function constrainHeadingLevel(level) {\n return Math.min(Math.max(Math.ceil(level), 1), 6);\n}\nexport const CalciteHeading = (props, children) => {\n const HeadingTag = `h${props.level}`;\n delete props.level;\n return h(HeadingTag, Object.assign({}, props), children);\n};\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"array-cd6c0c32.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACO,SAAS,kBAAkB,CAAC,KAAK,EAAE,KAAK,EAAE;AACjD,EAAE,OAAO,CAAC,KAAK,GAAG,KAAK,IAAI,KAAK,CAAC;AACjC;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/utils/array.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nexport function getRoundRobinIndex(index, total) {\n return (index + total) % total;\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-accordion-item.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAAA,MAAM,uBAAuB,GAAG,07LAA07L;;ICW78L,oBAAoB;EAC/B;;;;;;;;;;;;IAOE,IAAI,CAAC,MAAM,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,CAAC,wBAAwB,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;GACtG;;;;;;;","names":["getElementProp","getElementDir","h","Host","CSS_UTILITY","getKey"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css?tag=calcite-accordion-item&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js"],"sourcesContent":["/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.icon-position--end, .icon-position--start {\n /* icon rotation variables */\n --calcite-accordion-item-icon-rotation: -90deg;\n --calcite-accordion-item-active-icon-rotation: 0;\n --calcite-accordion-item-icon-rotation-rtl: 90deg;\n --calcite-accordion-item-active-icon-rotation-rtl: 0;\n}\n\n.icon-position--start {\n --calcite-accordion-item-flex-direction: row-reverse;\n --calcite-accordion-item-icon-spacing-start: 0;\n --calcite-accordion-item-icon-spacing-end: var(--calcite-accordion-icon-margin);\n}\n\n.icon-position--end {\n --calcite-accordion-item-flex-direction: row;\n --calcite-accordion-item-icon-spacing-start: var(--calcite-accordion-icon-margin);\n --calcite-accordion-item-icon-spacing-end: 0;\n}\n\n.icon-position--end:not(.icon-type--plus-minus) {\n --calcite-accordion-item-icon-rotation: 0;\n --calcite-accordion-item-active-icon-rotation: 180deg;\n --calcite-accordion-item-icon-rotation-rtl: 0;\n --calcite-accordion-item-active-icon-rotation-rtl: -180deg;\n}\n\n:host {\n --calcite-accordion-item-background: var(--calcite-ui-foreground-1);\n}\n\n:host-context([appearance=minimal]) {\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0;\n}\n\n:host-context([appearance=transparent]) {\n --calcite-accordion-item-border: transparent;\n --calcite-accordion-item-background: transparent;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n text-decoration: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n position: relative;\n color: var(--calcite-ui-text-3);\n background-color: var(--calcite-accordion-item-background);\n --calcite-accordion-item-border: var(--calcite-ui-border-2);\n}\n\n:host .accordion-item-header {\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n}\n\n:host(:focus) .accordion-item-header {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n:host([active]) {\n color: var(--calcite-ui-text-1);\n}\n\n:host([active]) .accordion-item-content {\n display: block;\n color: var(--calcite-ui-text-1);\n}\n\n:host([active]) .accordion-item-header {\n border-bottom-color: transparent;\n}\n\n:host .accordion-item-header {\n display: flex;\n align-items: center;\n cursor: pointer;\n flex-direction: var(--calcite-accordion-item-flex-direction);\n}\n\n:host .accordion-item-icon {\n display: inline-flex;\n position: relative;\n margin: 0;\n color: var(--calcite-ui-text-3);\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n margin-right: var(--calcite-accordion-item-icon-spacing-start);\n margin-left: var(--calcite-accordion-item-icon-spacing-end);\n}\n\n.calcite--rtl .accordion-item-icon {\n margin-left: var(--calcite-accordion-item-icon-spacing-start);\n margin-right: var(--calcite-accordion-item-icon-spacing-end);\n}\n\n:host .accordion-item-content,\n:host .accordion-item-header {\n padding: var(--calcite-accordion-item-padding);\n border-bottom: 1px solid var(--calcite-accordion-item-border);\n}\n\n:host .accordion-item-header * {\n display: inline-flex;\n align-items: center;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n:host .accordion-item-content {\n display: none;\n color: var(--calcite-ui-text-3);\n padding-top: 0;\n text-align: initial;\n}\n\n:host .accordion-item-expand-icon {\n color: var(--calcite-ui-text-3);\n margin-left: var(--calcite-accordion-item-icon-spacing-start);\n margin-right: var(--calcite-accordion-item-icon-spacing-end);\n transform: rotate(var(--calcite-accordion-item-icon-rotation));\n}\n\n.calcite--rtl .accordion-item-expand-icon {\n margin-left: var(--calcite-accordion-item-icon-spacing-end);\n margin-right: var(--calcite-accordion-item-icon-spacing-start);\n transform: rotate(var(--calcite-accordion-item-icon-rotation-rtl));\n}\n\n:host([active]) .accordion-item-expand-icon {\n color: var(--calcite-ui-text-1);\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation));\n}\n\n:host([active]) .calcite--rtl .accordion-item-expand-icon {\n transform: rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));\n}\n\n:host .accordion-item-header-text {\n flex-direction: column;\n flex-grow: 1;\n margin-top: 0;\n margin-bottom: 0;\n padding-top: 0;\n padding-bottom: 0;\n margin-right: auto;\n text-align: initial;\n}\n\n.calcite--rtl .accordion-item-header-text {\n margin-right: 0;\n margin-left: auto;\n}\n\n:host .accordion-item-title,\n:host .accordion-item-subtitle {\n display: flex;\n width: 100%;\n}\n\n:host .accordion-item-title {\n color: var(--calcite-ui-text-2);\n font-weight: var(--calcite-font-weight-medium);\n}\n\n:host .accordion-item-subtitle {\n color: var(--calcite-ui-text-3);\n margin-top: 0.25rem;\n}\n\n.calcite--rtl .accordion-item-title {\n margin-right: 0;\n margin-left: auto;\n}\n\n:host(:focus) .accordion-item-title,\n:host(:hover) .accordion-item-title {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-icon,\n:host(:hover) .accordion-item-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-expand-icon,\n:host(:hover) .accordion-item-expand-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-subtitle,\n:host(:hover) .accordion-item-subtitle {\n color: var(--calcite-ui-text-2);\n}\n\n:host(:focus) .accordion-item-title,\n:host(:active) .accordion-item-title,\n:host([active]) .accordion-item-title {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-icon,\n:host(:active) .accordion-item-icon,\n:host([active]) .accordion-item-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-expand-icon,\n:host(:active) .accordion-item-expand-icon,\n:host([active]) .accordion-item-expand-icon {\n color: var(--calcite-ui-text-1);\n}\n\n:host(:focus) .accordion-item-subtitle,\n:host(:active) .accordion-item-subtitle,\n:host([active]) .accordion-item-subtitle {\n color: var(--calcite-ui-text-2);\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 { getKey } from \"../../utils/key\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n/**\n * @slot - A slot for adding custom content.\n */\nexport class CalciteAccordionItem {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** Indicates whether the item is active. */\n this.active = false;\n /** what icon position does the parent accordion specify */\n this.iconPosition = \"end\";\n /** handle clicks on item header */\n this.itemHeaderClickHandler = () => this.emitRequestedItem();\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n this.parent = this.el.parentElement;\n this.selectionMode = getElementProp(this.el, \"selection-mode\", \"multi\");\n this.iconType = getElementProp(this.el, \"icon-type\", \"chevron\");\n this.iconPosition = getElementProp(this.el, \"icon-position\", this.iconPosition);\n }\n componentDidLoad() {\n this.itemPosition = this.getItemPosition();\n this.calciteAccordionItemRegister.emit({\n parent: this.parent,\n position: this.itemPosition\n });\n }\n render() {\n const dir = getElementDir(this.el);\n const iconEl = h(\"calcite-icon\", { class: \"accordion-item-icon\", icon: this.icon, scale: \"s\" });\n return (h(Host, { \"aria-expanded\": this.active.toString(), tabindex: \"0\" },\n h(\"div\", { class: {\n [`icon-position--${this.iconPosition}`]: true,\n [`icon-type--${this.iconType}`]: true\n } },\n h(\"div\", { class: { \"accordion-item-header\": true, [CSS_UTILITY.rtl]: dir === \"rtl\" }, onClick: this.itemHeaderClickHandler },\n this.icon ? iconEl : null,\n h(\"div\", { class: \"accordion-item-header-text\" },\n h(\"span\", { class: \"accordion-item-title\" }, this.itemTitle),\n this.itemSubtitle ? (h(\"span\", { class: \"accordion-item-subtitle\" }, this.itemSubtitle)) : null),\n h(\"calcite-icon\", { class: \"accordion-item-expand-icon\", icon: this.iconType === \"chevron\"\n ? \"chevronDown\"\n : this.iconType === \"caret\"\n ? \"caretDown\"\n : this.active\n ? \"minus\"\n : \"plus\", scale: \"s\" })),\n h(\"div\", { class: \"accordion-item-content\" },\n h(\"slot\", null)))));\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n keyDownHandler(e) {\n if (e.target === this.el) {\n switch (getKey(e.key)) {\n case \" \":\n case \"Enter\":\n this.emitRequestedItem();\n e.preventDefault();\n break;\n case \"ArrowUp\":\n case \"ArrowDown\":\n case \"Home\":\n case \"End\":\n this.calciteAccordionItemKeyEvent.emit({\n parent: this.parent,\n item: e\n });\n e.preventDefault();\n break;\n }\n }\n }\n updateActiveItemOnChange(event) {\n this.requestedAccordionItem = event.detail\n .requestedAccordionItem;\n if (this.el.parentNode !== this.requestedAccordionItem.parentNode) {\n return;\n }\n this.determineActiveItem();\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n determineActiveItem() {\n switch (this.selectionMode) {\n case \"multi\":\n if (this.el === this.requestedAccordionItem) {\n this.active = !this.active;\n }\n break;\n case \"single\":\n this.active = this.el === this.requestedAccordionItem ? !this.active : false;\n break;\n case \"single-persist\":\n this.active = this.el === this.requestedAccordionItem;\n break;\n }\n }\n emitRequestedItem() {\n this.calciteAccordionItemSelect.emit({\n requestedAccordionItem: this.el\n });\n }\n getItemPosition() {\n return Array.prototype.indexOf.call(this.parent.querySelectorAll(\"calcite-accordion-item\"), this.el);\n }\n static get is() { return \"calcite-accordion-item\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-accordion-item.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-accordion-item.css\"]\n }; }\n static get properties() { return {\n \"active\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether the item is active.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"itemTitle\": {\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\": \"pass a title for the accordion item\"\n },\n \"attribute\": \"item-title\",\n \"reflect\": false\n },\n \"itemSubtitle\": {\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\": \"pass a title for the accordion item\"\n },\n \"attribute\": \"item-subtitle\",\n \"reflect\": false\n },\n \"icon\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally pass an icon to display - accepts Calcite UI icon names\"\n },\n \"attribute\": \"icon\",\n \"reflect\": true\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteAccordionItemKeyEvent\",\n \"name\": \"calciteAccordionItemKeyEvent\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAccordionItemSelect\",\n \"name\": \"calciteAccordionItemSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAccordionItemClose\",\n \"name\": \"calciteAccordionItemClose\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAccordionItemRegister\",\n \"name\": \"calciteAccordionItemRegister\",\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\": \"keydown\",\n \"method\": \"keyDownHandler\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteAccordionChange\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-accordion.entry.cjs.js","mappings":";;;;;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,+hEAA+hE;;ICS9iE,gBAAgB;EAC3B;;;;;;;;;IAOE,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;;IAE5B,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;;IAE1B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;;IAE1B,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;;IAGjB,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC;;;;;;;IAO7B,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;;IAEhB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACpB,IAAI,CAAC,SAAS,GAAG,CAAC,KAAK,KAAK,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;GAC9F;;;;;;EAMD,gBAAgB;IACd,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;MAChB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;MACxC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;KACpB;GACF;EACD,MAAM;IACJ,OAAOA,O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,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;GAC9B;EACD,YAAY,CAAC,IAAI;IACf,MAAM,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,CAAC,KAAK,EAAE,CAAC;GAChB;;;;;;;","names":["h","key","getKey"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-accordion/calcite-accordion.css?tag=calcite-accordion&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-accordion/calcite-accordion.js"],"sourcesContent":["/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([scale=s]) {\n --calcite-accordion-item-spacing-unit: 0.25rem;\n --calcite-accordion-icon-margin: 0.5rem;\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0.5rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n:host([scale=m]) {\n --calcite-accordion-item-spacing-unit: 0.5rem;\n --calcite-accordion-icon-margin: 0.75rem;\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0.75rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n:host([scale=l]) {\n --calcite-accordion-item-spacing-unit: 0.75rem;\n --calcite-accordion-icon-margin: 1rem;\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 1rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n\n:host {\n display: block;\n position: relative;\n max-width: 100%;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\n border-bottom-width: 0;\n line-height: 1.5rem;\n --calcite-accordion-item-border: var(--calcite-ui-border-2);\n --calcite-accordion-item-background: var(--calcite-ui-foreground-1);\n}\n\n:host([appearance=minimal]) {\n --calcite-accordion-item-padding: var(--calcite-accordion-item-spacing-unit) 0;\n border-color: transparent;\n}\n\n:host([appearance=transparent]) {\n border-color: transparent;\n --calcite-accordion-item-border: transparent;\n --calcite-accordion-item-background: transparent;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, Element, Event, h, Listen, Prop } from \"@stencil/core\";\nimport { getKey } from \"../../utils/key\";\n/**\n * @slot - A slot for adding `calcite-accordion-item`s.\n */\nexport class CalciteAccordion {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** specify the appearance - default (containing border), or minimal (no containing border), defaults to default */\n this.appearance = \"default\";\n /** specify the placement of the icon in the header, defaults to end */\n this.iconPosition = \"end\";\n /** specify the type of the icon in the header, defaults to chevron */\n this.iconType = \"chevron\";\n /** specify the scale of accordion, defaults to m */\n this.scale = \"m\";\n /** specify the selection mode - multi (allow any number of open items), single (allow one open item),\n * or single-persist (allow and require one open item), defaults to multi */\n this.selectionMode = \"multi\";\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n /** created list of Accordion items */\n this.items = [];\n /** keep track of whether the items have been sorted so we don't re-sort */\n this.sorted = false;\n this.sortItems = (items) => items.sort((a, b) => a.position - b.position).map((a) => a.item);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n componentDidLoad() {\n if (!this.sorted) {\n this.items = this.sortItems(this.items);\n this.sorted = true;\n }\n }\n render() {\n return h(\"slot\", null);\n }\n //--------------------------------------------------------------------------\n //\n // Event Listeners\n //\n //--------------------------------------------------------------------------\n calciteAccordionItemKeyEvent(e) {\n const item = e.detail.item;\n const parent = e.detail.parent;\n if (this.el === parent) {\n const key = getKey(item.key);\n const itemToFocus = e.target;\n const isFirstItem = this.itemIndex(itemToFocus) === 0;\n const isLastItem = this.itemIndex(itemToFocus) === this.items.length - 1;\n switch (key) {\n case \"ArrowDown\":\n if (isLastItem) {\n this.focusFirstItem();\n }\n else {\n this.focusNextItem(itemToFocus);\n }\n break;\n case \"ArrowUp\":\n if (isFirstItem) {\n this.focusLastItem();\n }\n else {\n this.focusPrevItem(itemToFocus);\n }\n break;\n case \"Home\":\n this.focusFirstItem();\n break;\n case \"End\":\n this.focusLastItem();\n break;\n }\n }\n }\n registerCalciteAccordionItem(e) {\n const item = {\n item: e.target,\n parent: e.detail.parent,\n position: e.detail.position\n };\n if (this.el === item.parent) {\n this.items.push(item);\n }\n }\n updateActiveItemOnChange(event) {\n this.requestedAccordionItem = event.detail.requestedAccordionItem;\n this.calciteAccordionChange.emit({\n requestedAccordionItem: this.requestedAccordionItem\n });\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n focusFirstItem() {\n const firstItem = this.items[0];\n this.focusElement(firstItem);\n }\n focusLastItem() {\n const lastItem = this.items[this.items.length - 1];\n this.focusElement(lastItem);\n }\n focusNextItem(e) {\n const index = this.itemIndex(e);\n const nextItem = this.items[index + 1] || this.items[0];\n this.focusElement(nextItem);\n }\n focusPrevItem(e) {\n const index = this.itemIndex(e);\n const prevItem = this.items[index - 1] || this.items[this.items.length - 1];\n this.focusElement(prevItem);\n }\n itemIndex(e) {\n return this.items.indexOf(e);\n }\n focusElement(item) {\n const target = item;\n target.focus();\n }\n static get is() { return \"calcite-accordion\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-accordion.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-accordion.css\"]\n }; }\n static get properties() { return {\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"AccordionAppearance\",\n \"resolved\": \"\\\"default\\\" | \\\"minimal\\\" | \\\"transparent\\\"\",\n \"references\": {\n \"AccordionAppearance\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the appearance - default (containing border), or minimal (no containing border), defaults to default\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"default\\\"\"\n },\n \"iconPosition\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Position\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Position\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the placement of the icon in the header, defaults to end\"\n },\n \"attribute\": \"icon-position\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"end\\\"\"\n },\n \"iconType\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"chevron\\\" | \\\"caret\\\" | \\\"plus-minus\\\"\",\n \"resolved\": \"\\\"caret\\\" | \\\"chevron\\\" | \\\"plus-minus\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the type of the icon in the header, defaults to chevron\"\n },\n \"attribute\": \"icon-type\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"chevron\\\"\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the scale of accordion, defaults to m\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"selectionMode\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"multi\\\" | \\\"single\\\" | \\\"single-persist\\\"\",\n \"resolved\": \"\\\"multi\\\" | \\\"single\\\" | \\\"single-persist\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the selection mode - multi (allow any number of open items), single (allow one open item),\\nor single-persist (allow and require one open item), defaults to multi\"\n },\n \"attribute\": \"selection-mode\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"multi\\\"\"\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteAccordionChange\",\n \"name\": \"calciteAccordionChange\",\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\": \"calciteAccordionItemKeyEvent\",\n \"method\": \"calciteAccordionItemKeyEvent\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteAccordionItemRegister\",\n \"method\": \"registerCalciteAccordionItem\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteAccordionItemSelect\",\n \"method\": \"updateActiveItemOnChange\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-action-bar.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,iBAAiB,EAAE,sBAAsB;AAC3C,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,aAAa,EAAE,gBAAgB;AACjC,CAAC,CAAC;AACK,MAAM,IAAI,GAAG;AACpB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,QAAQ,EAAE,UAAU;AACtB,CAAC;;ACdD,MAAM,mBAAmB,GAAG,w4CAAw4C;;ICgBv5C,gBAAgB;EAC3B;;;;;;;;;;;IASE,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;;;;IAI5B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,uBAAuB,GAAG,KAAK,CAAC;IACrC,IAAI,CAAC,gBAAgB,GAAGA,wBAAc,CAAC,UAAU,EAAE;MACjD,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;MAC9BC,yCAAqB,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;MAChD,IAAI,CAAC,4BAA4B,EAAE,CAAC;KACrC,CAAC,CAAC;IACH,IAAI,CAAC,cAAc,GAAGD,wBAAc,CAAC,QAAQ,EAAE,CAAC,OAAO,KAAK,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;;;;;;IAMhG,I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AAE,EAAE,IAAI,EAAE,KAAK,CAAC,aAAa,EAAE,CAAC,EACxC,gBAAgB,CAAC,IAAI,IAAI,CAAC;GAC7B;EACD,MAAM;IACJ,QAAQA,OAAC,CAACE,UAAI,EAAE,EAAE,6BAA6B,EAAE,IAAI,CAAC,2BAA2B,EAAE,EACjFF,OAAC,CAAC,MAAM,EAAE,IAAI,CAAC,EACf,IAAI,CAAC,uBAAuB,EAAE,CAAC,EAAE;GACpC;;;;;;;;;;;;","names":["createObserver","toggleChildActionText","debounce","queryActions","getSlotted","getOverflowCount","overflowActions","overflowActionsDebounceInMs","focusElement","h","CalciteExpandToggle","Host"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-bar/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-bar/calcite-action-bar.css?tag=calcite-action-bar&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-bar/calcite-action-bar.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nexport const CSS = {\n actionGroupBottom: \"action-group--bottom\"\n};\nexport const SLOTS = {\n bottomActions: \"bottom-actions\",\n expandTooltip: \"expand-tooltip\"\n};\nexport const TEXT = {\n expand: \"Expand\",\n collapse: \"Collapse\"\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:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n\n:host * {\n box-sizing: border-box;\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 align-self: stretch;\n display: inline-flex;\n flex-direction: column;\n pointer-events: auto;\n max-width: 15vw;\n}\n\n:host([overflow-actions-disabled]) {\n overflow-y: auto;\n}\n\n:host([expanded]) {\n max-width: 20vw;\n}\n\n::slotted(calcite-action-group) {\n border-width: 0;\n border-bottom-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\n}\n\n::slotted(calcite-action-group:last-child) {\n border-bottom-width: 0;\n}\n\n.action-group--bottom {\n padding-bottom: 0;\n flex-grow: 1;\n justify-content: flex-end;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, Element, Event, Host, Prop, Watch, h, Method } from \"@stencil/core\";\nimport { CalciteExpandToggle, toggleChildActionText } from \"../functional/CalciteExpandToggle\";\nimport { CSS, SLOTS, TEXT } from \"./resources\";\nimport { getSlotted, focusElement } from \"../../utils/dom\";\nimport { getOverflowCount, overflowActions, queryActions, overflowActionsDebounceInMs } from \"./utils\";\nimport { createObserver } from \"../../utils/observers\";\nimport { debounce } from \"lodash-es\";\n/**\n * @slot - A slot for adding `calcite-action`s that will appear at the top of the action bar.\n * @slot bottom-actions - A slot for adding `calcite-action`s that will appear at the bottom of the action bar, above the collapse/expand button.\n * @slot expand-tooltip - Used to set the tooltip for the expand toggle.\n */\nexport class CalciteActionBar {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When set to true, the expand-toggling behavior will be disabled.\n */\n this.expandDisabled = false;\n /**\n * Indicates whether widget is expanded.\n */\n this.expanded = false;\n /**\n * Disables automatically overflowing actions that won't fit into menus.\n */\n this.overflowActionsDisabled = false;\n this.mutationObserver = createObserver(\"mutation\", () => {\n const { el, expanded } = this;\n toggleChildActionText({ parent: el, expanded });\n this.conditionallyOverflowActions();\n });\n this.resizeObserver = createObserver(\"resize\", (entries) => this.resizeHandlerEntries(entries));\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.actionMenuOpenChangeHandler = (event) => {\n if (event.detail) {\n const composedPath = event.composedPath();\n Array.from(this.el.querySelectorAll(\"calcite-action-group\")).forEach((group) => {\n if (!composedPath.includes(group)) {\n group.menuOpen = false;\n }\n });\n }\n };\n this.resizeHandlerEntries = (entries) => {\n entries.forEach(this.resizeHandler);\n };\n this.resizeHandler = (entry) => {\n const { height } = entry.contentRect;\n this.resize(height);\n };\n this.resize = debounce((height) => {\n var _a;\n const { el, expanded, expandDisabled } = this;\n if (!height) {\n return;\n }\n const actions = queryActions(el);\n const actionCount = expandDisabled ? actions.length : actions.length + 1;\n const actionGroups = Array.from(el.querySelectorAll(\"calcite-action-group\"));\n const groupCount = getSlotted(el, SLOTS.bottomActions) || !expandDisabled\n ? actionGroups.length + 1\n : actionGroups.length;\n const overflowCount = getOverflowCount({\n actionCount,\n actionHeight: (_a = actions[0]) === null || _a === void 0 ? void 0 : _a.clientHeight,\n height,\n groupCount\n });\n overflowActions({\n actionGroups,\n expanded,\n overflowCount\n });\n }, overflowActionsDebounceInMs);\n this.conditionallyOverflowActions = () => {\n if (!this.overflowActionsDisabled) {\n this.overflowActions();\n }\n };\n this.toggleExpand = () => {\n this.expanded = !this.expanded;\n };\n this.setExpandToggleRef = (el) => {\n this.expandToggleEl = el;\n };\n }\n expandHandler(expandDisabled) {\n if (!expandDisabled) {\n toggleChildActionText({ parent: this.el, expanded: this.expanded });\n }\n this.conditionallyOverflowActions();\n }\n expandedHandler(expanded) {\n if (!this.expandDisabled) {\n toggleChildActionText({ parent: this.el, expanded });\n }\n this.calciteActionBarToggle.emit();\n }\n overflowDisabledHandler(overflowActionsDisabled) {\n overflowActionsDisabled\n ? this.resizeObserver.disconnect()\n : this.resizeObserver.observe(this.el);\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n componentDidLoad() {\n this.conditionallyOverflowActions();\n }\n connectedCallback() {\n var _a, _b;\n const { el, expandDisabled, expanded } = this;\n if (!expandDisabled) {\n toggleChildActionText({ parent: el, expanded });\n }\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });\n if (!this.overflowActionsDisabled) {\n (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);\n }\n this.conditionallyOverflowActions();\n }\n disconnectedCallback() {\n var _a, _b;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /**\n * Overflows actions that won't fit into menus.\n * @internal\n */\n async overflowActions() {\n this.resize(this.el.clientHeight);\n }\n /** Sets focus on the component. */\n async setFocus(focusId) {\n if (focusId === \"expand-toggle\") {\n await focusElement(this.expandToggleEl);\n return;\n }\n this.el.focus();\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderBottomActionGroup() {\n const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;\n const tooltip = getSlotted(el, SLOTS.expandTooltip);\n const expandLabel = intlExpand || TEXT.expand;\n const collapseLabel = intlCollapse || TEXT.collapse;\n const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;\n return getSlotted(el, SLOTS.bottomActions) || expandToggleNode ? (h(\"calcite-action-group\", { class: CSS.actionGroupBottom, scale: scale },\n h(\"slot\", { name: SLOTS.bottomActions }),\n h(\"slot\", { name: SLOTS.expandTooltip }),\n expandToggleNode)) : null;\n }\n render() {\n return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler },\n h(\"slot\", null),\n this.renderBottomActionGroup()));\n }\n static get is() { return \"calcite-action-bar\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-action-bar.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-action-bar.css\"]\n }; }\n static get properties() { return {\n \"expandDisabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When set to true, the expand-toggling behavior will be disabled.\"\n },\n \"attribute\": \"expand-disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"expanded\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether widget is expanded.\"\n },\n \"attribute\": \"expanded\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlExpand\": {\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\": \"Updates the label of the expand icon when the component is not expanded.\"\n },\n \"attribute\": \"intl-expand\",\n \"reflect\": false\n },\n \"intlCollapse\": {\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\": \"Updates the label of the collapse icon when the component is expanded.\"\n },\n \"attribute\": \"intl-collapse\",\n \"reflect\": false\n },\n \"overflowActionsDisabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Disables automatically overflowing actions that won't fit into menus.\"\n },\n \"attribute\": \"overflow-actions-disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"position\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Position\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Position\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Arranges the component depending on the elements 'dir' property.\"\n },\n \"attribute\": \"position\",\n \"reflect\": true\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 expand action.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteActionBarToggle\",\n \"name\": \"calciteActionBarToggle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when expanded has been toggled.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"overflowActions\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Overflows actions that won't fit into menus.\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n },\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"expand-toggle\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"expandDisabled\",\n \"methodName\": \"expandHandler\"\n }, {\n \"propName\": \"expanded\",\n \"methodName\": \"expandedHandler\"\n }, {\n \"propName\": \"overflowActionsDisabled\",\n \"methodName\": \"overflowDisabledHandler\"\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-action-group.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,koDAAkoD;;ICcnpD,kBAAkB;EAC7B;;;;;;;;;;IASE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;;;;IAIzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;;IAMtB,IAAI,CAAC,WAAW,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CAAC,WAAW,EAAE,CAAC,EACtC,IAAI,CAAC,aAAa,EAAE,CAAC,IAAI,IAAI,CAAC;GACjC;EACD,MAAM;IACJ,QAAQC,OAAC,CAACI,cAAQ,EAAE,IAAI,EACtBJ,OAAC,CAAC,MAAM,EAAE,IAAI,CAAC,EACf,IAAI,CAAC,UAAU,EAAE,CAAC,EAAE;GACvB;;;;;;;;;;","names":["getSlotted","SLOTS","h","ACTION_MENU_SLOTS","TEXT","ICONS","Fragment"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-group/calcite-action-group.css?tag=calcite-action-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-group/calcite-action-group.js"],"sourcesContent":["/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-action-group-columns: sets number of grid-template-columns when layout is grid\n*/\n\n:host {\n display: flex;\n flex-direction: column;\n padding: 0;\n --calcite-action-group-columns: 3;\n}\n\n:host([columns=\"1\"]) {\n --calcite-action-group-columns: 1;\n}\n\n:host([columns=\"2\"]) {\n --calcite-action-group-columns: 2;\n}\n\n:host([columns=\"3\"]) {\n --calcite-action-group-columns: 3;\n}\n\n:host([columns=\"4\"]) {\n --calcite-action-group-columns: 4;\n}\n\n:host([columns=\"5\"]) {\n --calcite-action-group-columns: 5;\n}\n\n:host([columns=\"6\"]) {\n --calcite-action-group-columns: 6;\n}\n\n:host(:first-child) {\n padding-top: 0;\n}\n\n:host([layout=horizontal]) {\n flex-direction: row;\n}\n\n:host([layout=grid]) {\n background-color: var(--calcite-ui-background);\n display: grid;\n grid-gap: 1px;\n gap: 1px;\n place-content: stretch;\n padding: 1px;\n grid-template-columns: repeat(var(--calcite-action-group-columns), auto);\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, Watch, Element } from \"@stencil/core\";\nimport { SLOTS, TEXT, ICONS } from \"./resources\";\nimport { Fragment } from \"@stencil/core/internal\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { SLOTS as ACTION_MENU_SLOTS } from \"../calcite-action-menu/resources\";\n/**\n * @slot - A slot for adding a group of `calcite-action`s.\n * @slot menu-actions - a slot for adding an overflow menu with actions inside a dropdown.\n * @slot menu-tooltip - a slot for adding an tooltip for the menu.\n */\nexport class CalciteActionGroup {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Indicates whether widget is expanded.\n */\n this.expanded = false;\n /**\n * Indicates the horizontal, vertical, or grid layout of the component.\n */\n this.layout = \"vertical\";\n /**\n * Opens the action menu.\n */\n this.menuOpen = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.setMenuOpen = (event) => {\n this.menuOpen = !!event.detail;\n };\n }\n expandedHandler() {\n this.menuOpen = false;\n }\n // --------------------------------------------------------------------------\n //\n // Component Methods\n //\n // --------------------------------------------------------------------------\n renderTooltip() {\n const { el } = this;\n const hasTooltip = getSlotted(el, SLOTS.menuTooltip);\n return hasTooltip ? h(\"slot\", { name: SLOTS.menuTooltip, slot: ACTION_MENU_SLOTS.tooltip }) : null;\n }\n renderMenu() {\n const { el, expanded, intlMore, menuOpen, scale } = this;\n const hasMenuItems = getSlotted(el, SLOTS.menuActions);\n return hasMenuItems ? (h(\"calcite-action-menu\", { expanded: expanded, flipPlacements: [\"left\", \"right\"], label: intlMore || TEXT.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: \"leading-start\", scale: scale },\n h(\"calcite-action\", { icon: ICONS.menu, scale: scale, slot: ACTION_MENU_SLOTS.trigger, text: intlMore || TEXT.more, textEnabled: expanded }),\n h(\"slot\", { name: SLOTS.menuActions }),\n this.renderTooltip())) : null;\n }\n render() {\n return (h(Fragment, null,\n h(\"slot\", null),\n this.renderMenu()));\n }\n static get is() { return \"calcite-action-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-action-group.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-action-group.css\"]\n }; }\n static get properties() { return {\n \"expanded\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether widget is expanded.\"\n },\n \"attribute\": \"expanded\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"layout\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Layout\",\n \"resolved\": \"\\\"grid\\\" | \\\"horizontal\\\" | \\\"vertical\\\"\",\n \"references\": {\n \"Layout\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates the horizontal, vertical, or grid layout of the component.\"\n },\n \"attribute\": \"layout\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"vertical\\\"\"\n },\n \"columns\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Columns\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"Columns\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates number of columns.\"\n },\n \"attribute\": \"columns\",\n \"reflect\": true\n },\n \"intlMore\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Text string for the actions menu.\"\n },\n \"attribute\": \"intl-more\",\n \"reflect\": false\n },\n \"menuOpen\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Opens the action menu.\"\n },\n \"attribute\": \"menu-open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the action-menu.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"expanded\",\n \"methodName\": \"expandedHandler\"\n }]; }\n}\n"],"version":3}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"calcite-action-menu.calcite-popover.calcite-tooltip-manager.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,2iDAA2iD;;ACWxkD,MAAM,yBAAyB,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAC3D,MAAM,uBAAuB,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;IAM3D,iBAAiB;EAC5B;;;;;;;;;;;IASE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;;IAElB,IAAI,CAAC,kBAAkB,GAAG,UAAU,CAAC;;;;;IAKrC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;IACzB,IAAI,CAAC,gBAAgB,GAAGA,wBAAc,CAAC,UAAU,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IAC5E,IAAI,CAAC,IAAI,GAAG,uBAAuBC,SAAI,EAAE,EAAE,CAAC;IAC5C,IAAI,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,OAAO,CAAC;IAClC,IAAI,CAAC,YAAY,GAAG,GAAG,IAAI,CAAC,IAAI,cAAc,CAAC;IAC/C,IAAI,CAAC,mBAAmB,GAAG,CAAC,CAAC,CAAC;;;;;;IAM9B,IAAI,CAAC,mBAAmB,GAA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QAC3B,OAAO;OACR;MACD,IAAI,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;KACvC,CAAC;GACH;;;;;;EAMD,MAAM;IACJ,OAAOrB,OAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;GACxB;;;;;;EAMD,YAAY,CAAC,KAAK;IAChB,IAAIsB,UAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,QAAQ,EAAE;MAClC,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;MAC3B,IAAI,SAAS,EAAE;QACb,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAClC,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;OACtC;KACF;GACF;EACD,cAAc,CAAC,KAAK;IAClB,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;GAC9B;EACD,cAAc,CAAC,KAAK;IAClB,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;GAC/B;EACD,YAAY,CAAC,KAAK;IAChB,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACrC,IAAI,cAAc,EAAE;MAClB,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;KAC3C;GACF;EACD,SAAS,CAAC,KAAK;IACb,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;GAC9B;EACD,QAAQ,CAAC,KAAK;IACZ,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;GAC/B;;;;;;;;;","names":["createObserver","guid","getSlotted","SLOTS","getRoundRobinIndex","focusElement","h","CSS","ICONS","Fragment","defaultOffsetDistance","TEXT","ARIA_EXPANDED","POPOVER_REFERENCE","ARIA_CONTROLS","popper","updatePopper","forceUpdate","queryElementRoots","createPopper","CalciteHeading","HEADING_LEVEL","getElementDir","Host","CSS_UTILITY","PopperCSS","TOOLTIP_REFERENCE","TOOLTIP_DELAY_MS","getKey"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-menu/calcite-action-menu.css?tag=calcite-action-menu&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-menu/calcite-action-menu.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-popover/calcite-popover.css?tag=calcite-popover&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-popover/calcite-popover.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css?tag=calcite-tooltip-manager&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js"],"sourcesContent":["/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size-1);\n}\n\n.menu ::slotted(calcite-action) {\n display: flex;\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n margin: 0.125rem;\n}\n\n::slotted(calcite-action[active]) {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n outline-offset: 0px;\n}\n\n.default-trigger {\n align-self: stretch;\n flex: 0 1 auto;\n height: 100%;\n position: relative;\n}\n\nslot[name=trigger]::slotted(calcite-action),\ncalcite-action::slotted([slot=trigger]) {\n align-self: stretch;\n flex: 0 1 auto;\n height: 100%;\n position: relative;\n}\n\n.menu {\n flex-direction: column;\n flex-wrap: nowrap;\n outline: 2px solid transparent;\n outline-offset: 2px;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, h, Element, Event, Listen, Prop, Watch, Method, State } from \"@stencil/core\";\nimport { CSS, SLOTS, ICONS } from \"./resources\";\nimport { focusElement, getSlotted } from \"../../utils/dom\";\nimport { Fragment } from \"@stencil/core/internal\";\nimport { getRoundRobinIndex } from \"../../utils/array\";\nimport { guid } from \"../../utils/guid\";\nimport { createObserver } from \"../../utils/observers\";\nconst SUPPORTED_BUTTON_NAV_KEYS = [\"ArrowUp\", \"ArrowDown\"];\nconst SUPPORTED_MENU_NAV_KEYS = [\"ArrowUp\", \"ArrowDown\", \"End\", \"Home\"];\n/**\n * @slot - A slot for adding `calcite-action`s.\n * @slot trigger - A slot for adding a `calcite-action` to trigger opening the menu.\n * @slot tooltip - A slot for adding an tooltip for the menu.\n */\nexport class CalciteActionMenu {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Indicates whether widget is expanded.\n */\n this.expanded = false;\n /**\n * Opens the action menu.\n */\n this.open = false;\n /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */\n this.overlayPositioning = \"absolute\";\n /**\n * Determines where the component will be positioned relative to the referenceElement.\n * @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)\n */\n this.placement = \"auto\";\n this.actionElements = [];\n this.mutationObserver = createObserver(\"mutation\", () => this.getActions());\n this.guid = `calcite-action-menu-${guid()}`;\n this.menuId = `${this.guid}-menu`;\n this.menuButtonId = `${this.guid}-menu-button`;\n this.activeMenuItemIndex = -1;\n // --------------------------------------------------------------------------\n //\n // Component Methods\n //\n // --------------------------------------------------------------------------\n this.connectMenuButtonEl = () => {\n const { el, menuButtonId, menuId, open, label } = this;\n const menuButtonEl = getSlotted(el, SLOTS.trigger) || this.defaultMenuButtonEl;\n if (this.menuButtonEl === menuButtonEl) {\n return;\n }\n this.disconnectMenuButtonEl();\n this.menuButtonEl = menuButtonEl;\n this.setTooltipReferenceElement();\n if (!menuButtonEl) {\n return;\n }\n menuButtonEl.active = open;\n menuButtonEl.setAttribute(\"aria-controls\", menuId);\n menuButtonEl.setAttribute(\"aria-expanded\", open.toString());\n menuButtonEl.setAttribute(\"aria-haspopup\", \"true\");\n if (!menuButtonEl.id) {\n menuButtonEl.id = menuButtonId;\n }\n if (!menuButtonEl.label) {\n menuButtonEl.label = label;\n }\n if (!menuButtonEl.text) {\n menuButtonEl.text = label;\n }\n menuButtonEl.addEventListener(\"click\", this.menuButtonClick);\n menuButtonEl.addEventListener(\"keydown\", this.menuButtonKeyDown);\n menuButtonEl.addEventListener(\"keyup\", this.menuButtonKeyUp);\n };\n this.disconnectMenuButtonEl = () => {\n const { menuButtonEl } = this;\n if (!menuButtonEl) {\n return;\n }\n menuButtonEl.removeEventListener(\"click\", this.menuButtonClick);\n menuButtonEl.removeEventListener(\"keydown\", this.menuButtonKeyDown);\n menuButtonEl.removeEventListener(\"keyup\", this.menuButtonKeyUp);\n };\n this.setDefaultMenuButtonEl = (el) => {\n this.defaultMenuButtonEl = el;\n this.connectMenuButtonEl();\n };\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.handleCalciteActionClick = () => {\n this.open = false;\n this.setFocus();\n };\n this.menuButtonClick = () => {\n this.toggleOpen();\n };\n this.setTooltipReferenceElement = () => {\n const { el, expanded, menuButtonEl } = this;\n const slotted = getSlotted(el, SLOTS.tooltip);\n const tooltip = (slotted === null || slotted === void 0 ? void 0 : slotted.tagName) === \"SLOT\" ? slotted.assignedElements()[0] : slotted;\n if ((tooltip === null || tooltip === void 0 ? void 0 : tooltip.tagName) === \"CALCITE-TOOLTIP\") {\n tooltip.referenceElement = !expanded ? menuButtonEl : null;\n }\n };\n this.updateAction = (action, index) => {\n const { guid, activeMenuItemIndex } = this;\n const id = `${guid}-action-${index}`;\n action.tabIndex = -1;\n action.setAttribute(\"role\", \"menuitem\");\n if (!action.id) {\n action.id = id;\n }\n action.active = index === activeMenuItemIndex;\n };\n this.updateActions = (actions) => {\n actions === null || actions === void 0 ? void 0 : actions.forEach(this.updateAction);\n };\n this.getActions = () => {\n const { el } = this;\n const assignedActions = this.getAssignedElements().filter((element) => element.tagName === \"CALCITE-ACTION\" && element.slot !== \"trigger\");\n const actionElements = assignedActions.length\n ? assignedActions\n : Array.from(el.querySelectorAll(\"calcite-action:not([slot=trigger])\"));\n this.updateActions(actionElements);\n this.actionElements = actionElements;\n this.connectMenuButtonEl();\n };\n this.menuButtonKeyUp = (event) => {\n const { key } = event;\n const { actionElements } = this;\n if (!this.isValidKey(key, SUPPORTED_BUTTON_NAV_KEYS)) {\n return;\n }\n event.preventDefault();\n if (!actionElements.length) {\n return;\n }\n this.toggleOpen(true);\n this.handleActionNavigation(key, actionElements);\n };\n this.menuButtonKeyDown = (event) => {\n const { key } = event;\n if (!this.isValidKey(key, SUPPORTED_BUTTON_NAV_KEYS)) {\n return;\n }\n event.preventDefault();\n };\n this.menuActionsContainerKeyDown = (event) => {\n const { key } = event;\n const { actionElements, activeMenuItemIndex } = this;\n if (key === \"Tab\") {\n this.open = false;\n return;\n }\n if (key === \" \" || key === \"Enter\") {\n event.preventDefault();\n const action = actionElements[activeMenuItemIndex];\n action ? action.click() : this.toggleOpen(false);\n return;\n }\n if (this.isValidKey(key, SUPPORTED_MENU_NAV_KEYS)) {\n event.preventDefault();\n }\n };\n this.menuActionsContainerKeyUp = (event) => {\n const { key } = event;\n const { actionElements } = this;\n if (key === \"Escape\") {\n this.toggleOpen(false);\n return;\n }\n if (!this.isValidKey(key, SUPPORTED_MENU_NAV_KEYS)) {\n return;\n }\n event.preventDefault();\n if (!actionElements.length) {\n return;\n }\n this.handleActionNavigation(key, actionElements);\n };\n this.handleActionNavigation = (key, actions) => {\n const currentIndex = this.activeMenuItemIndex;\n if (key === \"Home\") {\n this.activeMenuItemIndex = 0;\n }\n if (key === \"End\") {\n this.activeMenuItemIndex = actions.length - 1;\n }\n if (key === \"ArrowUp\") {\n this.activeMenuItemIndex = getRoundRobinIndex(Math.max(currentIndex - 1, -1), actions.length);\n }\n if (key === \"ArrowDown\") {\n this.activeMenuItemIndex = getRoundRobinIndex(currentIndex + 1, actions.length);\n }\n };\n this.toggleOpenEnd = () => {\n this.setFocus();\n this.el.removeEventListener(\"calcitePopoverOpen\", this.toggleOpenEnd);\n };\n this.toggleOpen = (value = !this.open) => {\n this.el.addEventListener(\"calcitePopoverOpen\", this.toggleOpenEnd);\n this.open = value;\n };\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n this.getActions();\n }\n disconnectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n this.disconnectMenuButtonEl();\n }\n expandedHandler() {\n this.open = false;\n this.setTooltipReferenceElement();\n }\n openHandler(open) {\n this.activeMenuItemIndex = this.open ? 0 : -1;\n if (this.menuButtonEl) {\n this.menuButtonEl.active = open;\n }\n this.calciteActionMenuOpenChange.emit(open);\n }\n closeCalciteActionMenuOnClick(event) {\n const composedPath = event.composedPath();\n if (composedPath.includes(this.el)) {\n return;\n }\n this.open = false;\n }\n activeMenuItemIndexHandler() {\n this.updateActions(this.actionElements);\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n focusElement(this.open ? this.menuEl : this.menuButtonEl);\n }\n renderMenuButton() {\n const { el, label, scale } = this;\n const menuButtonSlot = (h(\"slot\", { name: SLOTS.trigger },\n h(\"calcite-action\", { class: CSS.defaultTrigger, icon: ICONS.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label })));\n return getSlotted(el, SLOTS.tooltip) ? (h(\"calcite-tooltip-manager\", null, menuButtonSlot)) : (menuButtonSlot);\n }\n renderMenuItems() {\n const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning } = this;\n const activeAction = actionElements[activeMenuItemIndex];\n const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;\n return (h(\"calcite-popover\", { disablePointer: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl },\n h(\"div\", { \"aria-activedescendant\": activeDescendantId, \"aria-labelledby\": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, onKeyUp: this.menuActionsContainerKeyUp, ref: (el) => (this.menuEl = el), role: \"menu\", tabIndex: -1 },\n h(\"slot\", null))));\n }\n render() {\n return (h(Fragment, null,\n this.renderMenuButton(),\n this.renderMenuItems(),\n h(\"slot\", { name: SLOTS.tooltip })));\n }\n getAssignedElements() {\n return Array.from(this.el.querySelectorAll(\"slot\"))\n .map((slot) => slot.assignedElements({ flatten: true }))\n .reduce((ar, val) => ar.concat(val), []);\n }\n isValidKey(key, supportedKeys) {\n return !!supportedKeys.find((k) => k === key);\n }\n static get is() { return \"calcite-action-menu\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-action-menu.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-action-menu.css\"]\n }; }\n static get properties() { return {\n \"expanded\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates whether widget is expanded.\"\n },\n \"attribute\": \"expanded\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"flipPlacements\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Placement[]\",\n \"resolved\": \"Placement[]\",\n \"references\": {\n \"Placement\": {\n \"location\": \"import\",\n \"path\": \"@popperjs/core\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Defines the available placements that can be used when a flip occurs.\"\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\": \"Text string for the actions menu.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Opens the action menu.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"overlayPositioning\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"OverlayPositioning\",\n \"resolved\": \"\\\"absolute\\\" | \\\"fixed\\\"\",\n \"references\": {\n \"OverlayPositioning\": {\n \"location\": \"import\",\n \"path\": \"../../utils/popper\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.\"\n },\n \"attribute\": \"overlay-positioning\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"absolute\\\"\"\n },\n \"placement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"PopperPlacement\",\n \"resolved\": \"Placement | PlacementRtl | VariationRtl\",\n \"references\": {\n \"PopperPlacement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/popper\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"see\",\n \"text\": \" [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)\"\n }],\n \"text\": \"Determines where the component will be positioned relative to the referenceElement.\"\n },\n \"attribute\": \"placement\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"auto\\\"\"\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 menu trigger action.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n }\n }; }\n static get states() { return {\n \"activeMenuItemIndex\": {}\n }; }\n static get events() { return [{\n \"method\": \"calciteActionMenuOpenChange\",\n \"name\": \"calciteActionMenuOpenChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the open property has changed.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"expanded\",\n \"methodName\": \"expandedHandler\"\n }, {\n \"propName\": \"open\",\n \"methodName\": \"openHandler\"\n }, {\n \"propName\": \"activeMenuItemIndex\",\n \"methodName\": \"activeMenuItemIndexHandler\"\n }]; }\n static get listeners() { return [{\n \"name\": \"click\",\n \"method\": \"closeCalciteActionMenuOnClick\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: block;\n position: absolute;\n z-index: 900;\n transform: scale(0);\n}\n\n.calcite-popper-anim {\n position: relative;\n z-index: 1;\n transition: var(--calcite-popper-transition);\n visibility: hidden;\n transition-property: transform, visibility, opacity;\n opacity: 0;\n box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);\n border-radius: 0.25rem;\n}\n\n:host([data-popper-placement^=bottom]) .calcite-popper-anim {\n transform: translateY(-5px);\n}\n\n:host([data-popper-placement^=top]) .calcite-popper-anim {\n transform: translateY(5px);\n}\n\n:host([data-popper-placement^=left]) .calcite-popper-anim {\n transform: translateX(5px);\n}\n\n:host([data-popper-placement^=right]) .calcite-popper-anim {\n transform: translateX(-5px);\n}\n\n:host([data-popper-placement]) .calcite-popper-anim--active {\n opacity: 1;\n visibility: visible;\n transform: translate(0);\n}\n\n.arrow,\n.arrow::before {\n position: absolute;\n width: 8px;\n height: 8px;\n z-index: -1;\n}\n\n.arrow::before {\n content: \"\";\n box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);\n transform: rotate(45deg);\n background: var(--calcite-ui-foreground-1);\n}\n\n:host([data-popper-placement^=top]) .arrow {\n bottom: -4px;\n}\n\n:host([data-popper-placement^=bottom]) .arrow {\n top: -4px;\n}\n\n:host([data-popper-placement^=left]) .arrow {\n right: -4px;\n}\n\n:host([data-popper-placement^=right]) .arrow {\n left: -4px;\n}\n\n:host {\n pointer-events: none;\n}\n\n:host([open]) {\n pointer-events: initial;\n}\n\n.calcite-popper-anim {\n background-color: var(--calcite-ui-foreground-1);\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n border-radius: 0.25rem;\n}\n\n.arrow::before {\n outline: 1px solid var(--calcite-ui-border-3);\n}\n\n.header {\n border-width: 0;\n border-bottom-width: 1px;\n border-bottom-color: var(--calcite-ui-border-3);\n border-style: solid;\n display: flex;\n flex: 1 1 auto;\n align-items: stretch;\n background-color: var(--calcite-ui-foreground-1);\n justify-content: flex-start;\n}\n\n.heading {\n display: block;\n flex: 1 1 auto;\n font-weight: var(--calcite-font-weight-medium);\n margin: 0;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n align-self: center;\n color: var(--calcite-ui-text-1);\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n white-space: normal;\n word-wrap: break-word;\n word-break: break-word;\n}\n\n.container {\n background-color: var(--calcite-ui-foreground-1);\n position: relative;\n display: flex;\n overflow: hidden;\n flex-wrap: nowrap;\n flex-direction: row;\n height: 100%;\n color: var(--calcite-ui-text-1);\n border-radius: 0.25rem;\n}\n\n.container.has-header {\n flex-direction: column;\n}\n\n.content {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n align-self: center;\n height: 100%;\n width: 100%;\n}\n\n.calcite--rtl .close-button {\n border-radius: 0.25rem 0 0 0.25rem;\n}\n\n::slotted(calcite-panel),\n::slotted(calcite-flow) {\n height: 100%;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n */\nimport { Component, Element, Event, forceUpdate, Host, Method, Prop, State, Watch, h } from \"@stencil/core\";\nimport { CSS, ARIA_CONTROLS, ARIA_EXPANDED, HEADING_LEVEL, POPOVER_REFERENCE, TEXT } from \"./resources\";\nimport { defaultOffsetDistance, createPopper, updatePopper, CSS as PopperCSS } from \"../../utils/popper\";\nimport { guid } from \"../../utils/guid\";\nimport { getElementDir, queryElementRoots } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { CalciteHeading } from \"../functional/CalciteHeading\";\n/**\n * @slot - A slot for adding custom content.\n */\nexport class CalcitePopover {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Display a close button within the Popover.\n * @deprecated use dismissible instead.\n */\n this.closeButton = false;\n /**\n * Display a close button within the Popover.\n */\n this.dismissible = false;\n /**\n * Prevents flipping the popover's placement when it starts to overlap its reference element.\n */\n this.disableFlip = false;\n /**\n * Removes the caret pointer.\n */\n this.disablePointer = false;\n /**\n * Offset the position of the popover away from the reference element.\n * @default 6\n */\n this.offsetDistance = defaultOffsetDistance;\n /**\n * Offset the position of the popover along the reference element.\n */\n this.offsetSkidding = 0;\n /**\n * Display and position the component.\n */\n this.open = false;\n /** Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value. */\n this.overlayPositioning = \"absolute\";\n /**\n * Determines where the component will be positioned relative to the referenceElement.\n * @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)\n */\n this.placement = \"auto\";\n /** Text for close button.\n * @default \"Close\"\n */\n this.intlClose = TEXT.close;\n this.guid = `calcite-popover-${guid()}`;\n this.activeTransitionProp = \"opacity\";\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.setUpReferenceElement = () => {\n this.removeReferences();\n this.effectiveReferenceElement = this.getReferenceElement();\n const { el, referenceElement, effectiveReferenceElement } = this;\n if (referenceElement && !effectiveReferenceElement) {\n console.warn(`${el.tagName}: reference-element id \"${referenceElement}\" was not found.`, {\n el\n });\n }\n this.addReferences();\n this.createPopper();\n };\n this.getId = () => {\n return this.el.id || this.guid;\n };\n this.setExpandedAttr = () => {\n const { effectiveReferenceElement, open } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n effectiveReferenceElement.setAttribute(ARIA_EXPANDED, open.toString());\n };\n this.addReferences = () => {\n const { effectiveReferenceElement } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n const id = this.getId();\n effectiveReferenceElement.setAttribute(POPOVER_REFERENCE, id);\n effectiveReferenceElement.setAttribute(ARIA_CONTROLS, id);\n this.setExpandedAttr();\n };\n this.removeReferences = () => {\n const { effectiveReferenceElement } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n effectiveReferenceElement.removeAttribute(POPOVER_REFERENCE);\n effectiveReferenceElement.removeAttribute(ARIA_CONTROLS);\n effectiveReferenceElement.removeAttribute(ARIA_EXPANDED);\n };\n this.hide = () => {\n this.open = false;\n };\n this.transitionEnd = (event) => {\n if (event.propertyName === this.activeTransitionProp) {\n this.open ? this.calcitePopoverOpen.emit() : this.calcitePopoverClose.emit();\n }\n };\n }\n offsetDistanceOffsetHandler() {\n this.reposition();\n }\n offsetSkiddingHandler() {\n this.reposition();\n }\n openHandler() {\n this.reposition();\n this.setExpandedAttr();\n }\n placementHandler() {\n this.reposition();\n }\n referenceElementHandler() {\n this.setUpReferenceElement();\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n componentWillLoad() {\n this.setUpReferenceElement();\n }\n componentDidLoad() {\n this.reposition();\n }\n disconnectedCallback() {\n this.removeReferences();\n this.destroyPopper();\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n /** Updates the position of the component. */\n async reposition() {\n const { popper, el, placement } = this;\n const modifiers = this.getModifiers();\n popper\n ? await updatePopper({\n el,\n modifiers,\n placement,\n popper\n })\n : this.createPopper();\n }\n /** Sets focus on the component. */\n async setFocus(focusId) {\n var _a;\n const { closeButtonEl } = this;\n if (focusId === \"close-button\" && closeButtonEl) {\n forceUpdate(closeButtonEl);\n closeButtonEl.setFocus();\n return;\n }\n (_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();\n }\n /** Toggles the popover's open property. */\n async toggle(value = !this.open) {\n this.open = value;\n }\n getReferenceElement() {\n const { referenceElement, el } = this;\n return ((typeof referenceElement === \"string\"\n ? queryElementRoots(el, `#${referenceElement}`)\n : referenceElement) || null);\n }\n getModifiers() {\n const { arrowEl, flipPlacements, disableFlip, disablePointer, offsetDistance, offsetSkidding } = this;\n const flipModifier = {\n name: \"flip\",\n enabled: !disableFlip\n };\n if (flipPlacements) {\n flipModifier.options = {\n fallbackPlacements: flipPlacements\n };\n }\n const arrowModifier = {\n name: \"arrow\",\n enabled: !disablePointer\n };\n if (arrowEl) {\n arrowModifier.options = {\n element: arrowEl\n };\n }\n const offsetModifier = {\n name: \"offset\",\n enabled: true,\n options: {\n offset: [offsetSkidding, offsetDistance]\n }\n };\n return [arrowModifier, flipModifier, offsetModifier];\n }\n createPopper() {\n this.destroyPopper();\n const { el, placement, effectiveReferenceElement: referenceEl, overlayPositioning } = this;\n const modifiers = this.getModifiers();\n this.popper = createPopper({\n el,\n modifiers,\n overlayPositioning,\n placement,\n referenceEl\n });\n }\n destroyPopper() {\n const { popper } = this;\n if (popper) {\n popper.destroy();\n }\n this.popper = null;\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderCloseButton() {\n const { dismissible, closeButton, intlClose } = this;\n return dismissible || closeButton ? (h(\"calcite-action\", { class: CSS.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), text: intlClose },\n h(\"calcite-icon\", { icon: \"x\", scale: \"m\" }))) : null;\n }\n renderHeader() {\n const { heading, headingLevel } = this;\n const headingNode = heading ? (h(CalciteHeading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;\n return headingNode ? (h(\"div\", { class: CSS.header },\n headingNode,\n this.renderCloseButton())) : null;\n }\n render() {\n const { effectiveReferenceElement, el, heading, label, open, disablePointer } = this;\n const rtl = getElementDir(el) === \"rtl\";\n const displayed = effectiveReferenceElement && open;\n const hidden = !displayed;\n const arrowNode = !disablePointer ? (h(\"div\", { class: CSS.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) })) : null;\n return (h(Host, { \"aria-hidden\": hidden.toString(), \"aria-label\": label, \"calcite-hydrated-hidden\": hidden, id: this.getId(), role: \"dialog\" },\n h(\"div\", { class: {\n [CSS_UTILITY.rtl]: rtl,\n [PopperCSS.animation]: true,\n [PopperCSS.animationActive]: displayed\n }, onTransitionEnd: this.transitionEnd },\n arrowNode,\n h(\"div\", { class: {\n [CSS.hasHeader]: !!heading,\n [CSS.container]: true\n } },\n this.renderHeader(),\n h(\"div\", { class: CSS.content },\n h(\"slot\", null)),\n !heading ? this.renderCloseButton() : null))));\n }\n static get is() { return \"calcite-popover\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-popover.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-popover.css\"]\n }; }\n static get properties() { return {\n \"closeButton\": {\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\": \"deprecated\",\n \"text\": \"use dismissible instead.\"\n }],\n \"text\": \"Display a close button within the Popover.\"\n },\n \"attribute\": \"close-button\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"dismissible\": {\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\": \"Display a close button within the Popover.\"\n },\n \"attribute\": \"dismissible\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"disableFlip\": {\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\": \"Prevents flipping the popover's placement when it starts to overlap its reference element.\"\n },\n \"attribute\": \"disable-flip\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"disablePointer\": {\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\": \"Removes the caret pointer.\"\n },\n \"attribute\": \"disable-pointer\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"flipPlacements\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Placement[]\",\n \"resolved\": \"Placement[]\",\n \"references\": {\n \"Placement\": {\n \"location\": \"import\",\n \"path\": \"@popperjs/core\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Defines the available placements that can be used when a flip occurs.\"\n }\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Heading text.\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/CalciteHeading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Number at which section headings should start for this component.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": false\n },\n \"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\": \"Accessible name for the component\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"offsetDistance\": {\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 \"name\": \"default\",\n \"text\": \"6\"\n }],\n \"text\": \"Offset the position of the popover away from the reference element.\"\n },\n \"attribute\": \"offset-distance\",\n \"reflect\": true,\n \"defaultValue\": \"defaultOffsetDistance\"\n },\n \"offsetSkidding\": {\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\": \"Offset the position of the popover along the reference element.\"\n },\n \"attribute\": \"offset-skidding\",\n \"reflect\": true,\n \"defaultValue\": \"0\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Display and position the component.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"overlayPositioning\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"OverlayPositioning\",\n \"resolved\": \"\\\"absolute\\\" | \\\"fixed\\\"\",\n \"references\": {\n \"OverlayPositioning\": {\n \"location\": \"import\",\n \"path\": \"../../utils/popper\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.\"\n },\n \"attribute\": \"overlay-positioning\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"absolute\\\"\"\n },\n \"placement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"PopperPlacement\",\n \"resolved\": \"Placement | PlacementRtl | VariationRtl\",\n \"references\": {\n \"PopperPlacement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/popper\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"see\",\n \"text\": \" [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)\"\n }],\n \"text\": \"Determines where the component will be positioned relative to the referenceElement.\"\n },\n \"attribute\": \"placement\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"auto\\\"\"\n },\n \"referenceElement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HTMLElement | string\",\n \"resolved\": \"HTMLElement | string\",\n \"references\": {\n \"HTMLElement\": {\n \"location\": \"global\"\n }\n }\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Reference HTMLElement used to position this component according to the placement property. As a convenience, a string ID of the reference element can be used. However, setting this property to use an HTMLElement is preferred so that the component does not need to query the DOM for the referenceElement.\"\n },\n \"attribute\": \"reference-element\",\n \"reflect\": false\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Close\\\"\"\n }],\n \"text\": \"Text for close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.close\"\n }\n }; }\n static get states() { return {\n \"effectiveReferenceElement\": {}\n }; }\n static get events() { return [{\n \"method\": \"calcitePopoverClose\",\n \"name\": \"calcitePopoverClose\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fired when the popover is closed\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePopoverOpen\",\n \"name\": \"calcitePopoverOpen\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fired when the popover is opened\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"reposition\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Updates the position of the component.\",\n \"tags\": []\n }\n },\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"close-button\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": []\n }\n },\n \"toggle\": {\n \"complexType\": {\n \"signature\": \"(value?: boolean) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Toggles the popover's open property.\",\n \"tags\": []\n }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"offsetDistance\",\n \"methodName\": \"offsetDistanceOffsetHandler\"\n }, {\n \"propName\": \"offsetSkidding\",\n \"methodName\": \"offsetSkiddingHandler\"\n }, {\n \"propName\": \"open\",\n \"methodName\": \"openHandler\"\n }, {\n \"propName\": \"placement\",\n \"methodName\": \"placementHandler\"\n }, {\n \"propName\": \"referenceElement\",\n \"methodName\": \"referenceElementHandler\"\n }]; }\n}\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: block;\n}","/*!\n * 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, Listen, Prop, Element } from \"@stencil/core\";\nimport { TOOLTIP_REFERENCE, TOOLTIP_DELAY_MS } from \"../calcite-tooltip/resources\";\nimport { queryElementRoots } from \"../../utils/dom\";\nimport { getKey } from \"../../utils/key\";\n/**\n * @slot - A slot for adding elements that reference a 'calcite-tooltip' by the 'selector' property.\n */\nexport class CalciteTooltipManager {\n constructor() {\n this.hoverTimeouts = new WeakMap();\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.\n * @default `[data-calcite-tooltip-reference]`\n */\n this.selector = `[${TOOLTIP_REFERENCE}]`;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.queryTooltip = (element) => {\n var _a;\n const { selector, el } = this;\n const id = (_a = element.closest(selector)) === null || _a === void 0 ? void 0 : _a.getAttribute(TOOLTIP_REFERENCE);\n return queryElementRoots(el, `#${id}`);\n };\n this.clearHoverTimeout = (tooltip) => {\n const { hoverTimeouts } = this;\n if (hoverTimeouts.has(tooltip)) {\n window.clearTimeout(hoverTimeouts.get(tooltip));\n hoverTimeouts.delete(tooltip);\n }\n };\n this.closeExistingTooltip = () => {\n const { tooltipEl } = this;\n if (tooltipEl) {\n this.toggleTooltip(tooltipEl, false);\n }\n };\n this.focusTooltip = ({ tooltip, value }) => {\n this.closeExistingTooltip();\n if (value) {\n this.clearHoverTimeout(tooltip);\n }\n this.toggleTooltip(tooltip, value);\n };\n this.toggleTooltip = (tooltip, value) => {\n tooltip.open = value;\n if (value) {\n this.tooltipEl = tooltip;\n }\n };\n this.hoverToggle = ({ tooltip, value }) => {\n const { hoverTimeouts } = this;\n hoverTimeouts.delete(tooltip);\n if (value) {\n this.closeExistingTooltip();\n }\n this.toggleTooltip(tooltip, value);\n };\n this.hoverTooltip = ({ tooltip, value }) => {\n this.clearHoverTimeout(tooltip);\n const { hoverTimeouts } = this;\n const timeoutId = window.setTimeout(() => this.hoverToggle({ tooltip, value }), TOOLTIP_DELAY_MS || 0);\n hoverTimeouts.set(tooltip, timeoutId);\n };\n this.activeTooltipHover = (event) => {\n const { tooltipEl, hoverTimeouts } = this;\n const { type } = event;\n if (!tooltipEl) {\n return;\n }\n if (type === \"mouseover\" && event.composedPath().includes(tooltipEl)) {\n this.clearHoverTimeout(tooltipEl);\n }\n else if (type === \"mouseout\" && !hoverTimeouts.has(tooltipEl)) {\n this.hoverTooltip({ tooltip: tooltipEl, value: false });\n }\n };\n this.hoverEvent = (event, value) => {\n const tooltip = this.queryTooltip(event.target);\n this.activeTooltipHover(event);\n if (!tooltip) {\n return;\n }\n this.hoverTooltip({ tooltip, value });\n };\n this.focusEvent = (event, value) => {\n const tooltip = this.queryTooltip(event.target);\n if (!tooltip || tooltip === this.clickedTooltip) {\n this.clickedTooltip = null;\n return;\n }\n this.focusTooltip({ tooltip, value });\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 keyUpHandler(event) {\n if (getKey(event.key) === \"Escape\") {\n const { tooltipEl } = this;\n if (tooltipEl) {\n this.clearHoverTimeout(tooltipEl);\n this.toggleTooltip(tooltipEl, false);\n }\n }\n }\n mouseEnterShow(event) {\n this.hoverEvent(event, true);\n }\n mouseLeaveHide(event) {\n this.hoverEvent(event, false);\n }\n clickHandler(event) {\n const clickedTooltip = this.queryTooltip(event.target);\n this.clickedTooltip = clickedTooltip;\n if (clickedTooltip) {\n this.toggleTooltip(clickedTooltip, false);\n }\n }\n focusShow(event) {\n this.focusEvent(event, true);\n }\n blurHide(event) {\n this.focusEvent(event, false);\n }\n static get is() { return \"calcite-tooltip-manager\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-tooltip-manager.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-tooltip-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-tooltip-reference]`\"\n }],\n \"text\": \"CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.\"\n },\n \"attribute\": \"selector\",\n \"reflect\": false,\n \"defaultValue\": \"`[${TOOLTIP_REFERENCE}]`\"\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get listeners() { return [{\n \"name\": \"keyup\",\n \"method\": \"keyUpHandler\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"mouseover\",\n \"method\": \"mouseEnterShow\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": true\n }, {\n \"name\": \"mouseout\",\n \"method\": \"mouseLeaveHide\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": true\n }, {\n \"name\": \"click\",\n \"method\": \"clickHandler\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"focus\",\n \"method\": \"focusShow\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }, {\n \"name\": \"blur\",\n \"method\": \"blurHide\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }]; }\n}\n"],"version":3}
|