@esri/calcite-components 1.0.0-beta.89 → 1.0.0-beta.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/pt-PT.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-5fc1eb80.system.js → p-009b9bcf.system.js} +2 -2
- package/dist/calcite/p-0214df92.system.entry.js +6 -0
- package/dist/calcite/p-0242e56a.entry.js +6 -0
- package/dist/calcite/p-02c2ce31.js +6 -0
- package/dist/calcite/p-02eea8e8.entry.js +6 -0
- package/dist/calcite/p-03ec4fdc.system.entry.js +6 -0
- package/dist/calcite/p-05282d96.entry.js +6 -0
- package/dist/calcite/p-08ae1bba.entry.js +6 -0
- package/dist/calcite/p-093b8180.entry.js +6 -0
- package/dist/calcite/p-0bf91224.system.entry.js +6 -0
- package/dist/calcite/{p-06fc9fd6.js → p-0c2e3108.js} +2 -2
- package/dist/calcite/p-0c545eab.system.entry.js +6 -0
- package/dist/calcite/p-0e2b3ba0.system.entry.js +6 -0
- package/dist/calcite/p-1486a22e.system.entry.js +6 -0
- package/dist/calcite/{p-119c7d93.js → p-16619b68.js} +2 -2
- package/dist/calcite/{p-2cb5dffe.js → p-18e6c277.js} +1 -1
- package/dist/calcite/p-19c2f634.system.js +6 -0
- package/dist/calcite/p-1b54481c.entry.js +6 -0
- package/dist/calcite/p-1cf78741.system.entry.js +6 -0
- package/dist/calcite/p-20cc09d3.entry.js +6 -0
- package/dist/calcite/p-212092fa.entry.js +6 -0
- package/dist/calcite/{p-902f9dfe.js → p-21632661.js} +1 -1
- package/dist/calcite/p-21c39562.system.entry.js +6 -0
- package/dist/calcite/p-233d5760.entry.js +6 -0
- package/dist/calcite/p-23887d7a.entry.js +6 -0
- package/dist/calcite/p-23e60c37.system.js +6 -0
- package/dist/calcite/{p-4e7eccae.system.js → p-25133c26.system.js} +2 -2
- package/dist/calcite/p-29823f6a.system.entry.js +6 -0
- package/dist/calcite/{p-66f20a2d.system.js → p-29b5e936.system.js} +2 -2
- package/dist/calcite/{p-662dc451.js → p-29eff4fc.js} +1 -1
- package/dist/calcite/p-2b6410d0.js +6 -0
- package/dist/calcite/p-2cc54080.js +6 -0
- package/dist/calcite/p-2d556abb.system.entry.js +6 -0
- package/dist/calcite/{p-1003dcd4.js → p-2da1cc68.js} +1 -1
- package/dist/calcite/{p-e6c4aa14.js → p-3022c39d.js} +1 -1
- package/dist/calcite/{p-66031b70.system.entry.js → p-30fad726.system.entry.js} +2 -2
- package/dist/calcite/{p-a944dd17.entry.js → p-31a5871e.entry.js} +2 -2
- package/dist/calcite/p-336043a1.system.entry.js +6 -0
- package/dist/calcite/p-35089404.system.entry.js +6 -0
- package/dist/calcite/{p-e6f222af.entry.js → p-35502d0b.entry.js} +2 -2
- package/dist/calcite/p-39ee1af5.js +6 -0
- package/dist/calcite/{p-e5211d71.entry.js → p-44b68820.entry.js} +2 -2
- package/dist/calcite/{p-0b38cf5e.system.js → p-46e3b866.system.js} +1 -1
- package/dist/calcite/p-47663fe0.system.entry.js +6 -0
- package/dist/calcite/{p-ba1168ae.system.js → p-4a1c8d49.system.js} +1 -1
- package/dist/calcite/{p-7f5a9744.system.js → p-4a411a96.system.js} +2 -2
- package/dist/calcite/p-4b1b97e7.entry.js +6 -0
- package/dist/calcite/{p-8785912e.system.js → p-5066e91f.system.js} +1 -1
- package/dist/calcite/{p-b55e89ba.system.entry.js → p-526248dc.system.entry.js} +2 -2
- package/dist/calcite/p-55b95ba4.system.entry.js +6 -0
- package/dist/calcite/{p-edf40370.js → p-57479f6c.js} +1 -1
- package/dist/calcite/{p-ce3424f9.entry.js → p-583a420c.entry.js} +2 -2
- package/dist/calcite/p-5844bc8a.entry.js +6 -0
- package/dist/calcite/{p-76369b99.js → p-59a5da8a.js} +2 -2
- package/dist/calcite/{p-85c94bde.entry.js → p-5a7d55d2.entry.js} +2 -2
- package/dist/calcite/p-5a912061.system.entry.js +6 -0
- package/dist/calcite/{p-f5111eb8.system.entry.js → p-5cc65795.system.entry.js} +2 -2
- package/dist/calcite/{p-317e13b4.system.js → p-5d7bc59a.system.js} +1 -1
- package/dist/calcite/{p-92d33ef8.js → p-5eb7bb03.js} +1 -1
- package/dist/calcite/{p-025d7d38.entry.js → p-5fc28756.entry.js} +2 -2
- package/dist/calcite/{p-e2759901.system.js → p-60dcdade.system.js} +1 -1
- package/dist/calcite/p-62f91e27.entry.js +6 -0
- package/dist/calcite/p-63d75714.entry.js +6 -0
- package/dist/calcite/p-63ea489c.system.entry.js +6 -0
- package/dist/calcite/p-63f4d615.entry.js +6 -0
- package/dist/calcite/p-667e9955.entry.js +6 -0
- package/dist/calcite/p-6870deed.entry.js +6 -0
- package/dist/calcite/p-68dbaea4.entry.js +6 -0
- package/dist/calcite/p-6a1e2062.system.entry.js +6 -0
- package/dist/calcite/{p-ba4637e7.entry.js → p-6c4ad87d.entry.js} +2 -2
- package/dist/calcite/p-6d51e117.system.entry.js +6 -0
- package/dist/calcite/p-7023b360.system.entry.js +6 -0
- package/dist/calcite/p-71ff8569.entry.js +6 -0
- package/dist/calcite/{p-376901f2.system.js → p-72222c1c.system.js} +1 -1
- package/dist/calcite/{p-6c22ae2a.js → p-72de7bac.js} +1 -1
- package/dist/calcite/p-753dde2f.entry.js +6 -0
- package/dist/calcite/p-7eecec41.system.entry.js +6 -0
- package/dist/calcite/p-7f71caec.entry.js +6 -0
- package/dist/calcite/p-81b35d5d.system.entry.js +6 -0
- package/dist/calcite/p-825ca4fa.system.entry.js +6 -0
- package/dist/calcite/{p-a5ff2716.system.js → p-82d6141a.system.js} +3 -3
- package/dist/calcite/p-839a73f1.system.js +6 -0
- package/dist/calcite/p-844d8c0a.entry.js +6 -0
- package/dist/calcite/p-85500e4f.system.entry.js +6 -0
- package/dist/calcite/{p-36d43f5d.system.entry.js → p-85554d49.system.entry.js} +2 -2
- package/dist/calcite/p-85d5be2b.entry.js +6 -0
- package/dist/calcite/p-8b31fe23.system.entry.js +6 -0
- package/dist/calcite/p-8bcafc96.entry.js +6 -0
- package/dist/calcite/p-8f407d84.entry.js +6 -0
- package/dist/calcite/p-8f72f530.system.entry.js +6 -0
- package/dist/calcite/p-8fdb7f97.entry.js +6 -0
- package/dist/calcite/p-907836fa.entry.js +6 -0
- package/dist/calcite/p-93640639.system.entry.js +6 -0
- package/dist/calcite/p-939c385e.entry.js +6 -0
- package/dist/calcite/p-9406e3b5.system.entry.js +6 -0
- package/dist/calcite/{p-b1593fd6.system.js → p-94765679.system.js} +1 -1
- package/dist/calcite/p-95580555.system.entry.js +6 -0
- package/dist/calcite/p-95c5ce43.entry.js +6 -0
- package/dist/calcite/{p-7a6d2cfd.js → p-96e80eb0.js} +2 -2
- package/dist/calcite/{p-71484298.js → p-978e1777.js} +1 -1
- package/dist/calcite/p-979aee7e.system.entry.js +6 -0
- package/dist/calcite/p-99f6128c.entry.js +6 -0
- package/dist/calcite/p-9b116c59.entry.js +6 -0
- package/dist/calcite/p-9c07b0c0.entry.js +6 -0
- package/dist/calcite/p-9dd62973.system.entry.js +6 -0
- package/dist/calcite/p-9efbf067.entry.js +6 -0
- package/dist/calcite/p-9f226088.system.entry.js +6 -0
- package/dist/calcite/{p-e5403660.system.js → p-9f7bc627.system.js} +2 -2
- package/dist/calcite/p-a0bb13ee.system.entry.js +6 -0
- package/dist/calcite/{p-d0819cad.js → p-a189654d.js} +1 -1
- package/dist/calcite/p-a1efd872.system.entry.js +6 -0
- package/dist/calcite/p-a276c702.system.entry.js +6 -0
- package/dist/calcite/{p-794ef1c9.system.js → p-a2e46a80.system.js} +1 -1
- package/dist/calcite/p-a467545a.entry.js +6 -0
- package/dist/calcite/p-a48fd27e.entry.js +6 -0
- package/dist/calcite/{p-94556892.system.js → p-a75a3ac9.system.js} +2 -2
- package/dist/calcite/p-a7f3ac6a.entry.js +6 -0
- package/dist/calcite/p-aa39ce70.entry.js +6 -0
- package/dist/calcite/p-ac070b26.system.entry.js +6 -0
- package/dist/calcite/p-ac517465.system.entry.js +6 -0
- package/dist/calcite/p-ad7f17d7.system.js +6 -0
- package/dist/calcite/{p-83b7daee.system.js → p-af58a18b.system.js} +1 -1
- package/dist/calcite/{p-2d439f5c.system.js → p-af6a258a.system.js} +1 -1
- package/dist/calcite/p-b25d9fc8.entry.js +6 -0
- package/dist/calcite/p-b271b38a.entry.js +6 -0
- package/dist/calcite/{p-ee94abb7.js → p-b4e139fe.js} +1 -1
- package/dist/calcite/p-b512ea80.system.entry.js +6 -0
- package/dist/calcite/p-b863cb3d.system.entry.js +6 -0
- package/dist/calcite/{p-85cfc2a7.system.js → p-b9bb8ebd.system.js} +2 -2
- package/dist/calcite/p-bb45b137.js +6 -0
- package/dist/calcite/p-bb90fb2e.system.entry.js +6 -0
- package/dist/calcite/p-bb939247.system.entry.js +6 -0
- package/dist/calcite/{p-868413c4.js → p-bc72ddf5.js} +1 -1
- package/dist/calcite/{p-a1847f2c.js → p-be00e22e.js} +1 -1
- package/dist/calcite/p-bf6d2fae.system.entry.js +6 -0
- package/dist/calcite/{p-19974612.system.js → p-c1839811.system.js} +1 -1
- package/dist/calcite/p-c1fa9cc8.js +6 -0
- package/dist/calcite/p-c3450caf.entry.js +6 -0
- package/dist/calcite/p-c3c0f25c.system.entry.js +6 -0
- package/dist/calcite/p-c3ee55e7.system.entry.js +6 -0
- package/dist/calcite/p-c50f4ad9.system.entry.js +6 -0
- package/dist/calcite/p-c573bfe4.js +6 -0
- package/dist/calcite/p-c7c7b8b7.system.entry.js +6 -0
- package/dist/calcite/p-c8221748.entry.js +6 -0
- package/dist/calcite/p-c868004f.system.entry.js +6 -0
- package/dist/calcite/p-cb8d104a.js +6 -0
- package/dist/calcite/p-cc84f8f7.entry.js +6 -0
- package/dist/calcite/p-cf54ca51.entry.js +6 -0
- package/dist/calcite/p-d2de5df6.system.entry.js +6 -0
- package/dist/calcite/p-d44b8c96.entry.js +6 -0
- package/dist/calcite/p-d5d9bdfe.system.entry.js +6 -0
- package/dist/calcite/p-d691fdb9.entry.js +6 -0
- package/dist/calcite/p-dae6da1a.system.entry.js +6 -0
- package/dist/calcite/p-e2515012.system.entry.js +6 -0
- package/dist/calcite/p-e28fc860.system.js +6 -0
- package/dist/calcite/p-e32ec068.system.js +6 -0
- package/dist/calcite/p-e486c551.system.entry.js +6 -0
- package/dist/calcite/{p-f33e8b92.js → p-e59a4adc.js} +2 -2
- package/dist/calcite/p-e5b91c54.entry.js +6 -0
- package/dist/calcite/{p-957ac2e6.system.js → p-e6f99510.system.js} +1 -1
- package/dist/calcite/p-e8276ff5.entry.js +6 -0
- package/dist/calcite/p-e86fd005.entry.js +6 -0
- package/dist/calcite/p-e9cb190e.entry.js +6 -0
- package/dist/calcite/{p-5f640381.system.js → p-e9e89c12.system.js} +1 -1
- package/dist/calcite/{p-948ed6bd.js → p-eccc7c09.js} +2 -2
- package/dist/calcite/p-ee38ed28.system.entry.js +6 -0
- package/dist/calcite/p-ee654d44.entry.js +6 -0
- package/dist/calcite/p-f2fc0881.system.js +6 -0
- package/dist/calcite/p-f343928c.system.entry.js +6 -0
- package/dist/calcite/p-f3d82c23.entry.js +6 -0
- package/dist/calcite/p-f417a37e.system.entry.js +6 -0
- package/dist/calcite/p-f450b40d.system.entry.js +6 -0
- package/dist/calcite/{p-056f3ea3.system.js → p-f5490b0d.system.js} +1 -1
- package/dist/calcite/p-f947bed5.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-20d1925e.js → ExpandToggle-6ae0950b.js} +5 -5
- package/dist/cjs/{Heading-855fbab6.js → Heading-e857efa5.js} +2 -2
- package/dist/cjs/app-globals-19aed09c.js +50 -0
- package/dist/cjs/{array-8cba1b68.js → array-e8d3902b.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-action-bar.cjs.entry.js +13 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +58 -45
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -11
- package/dist/cjs/calcite-action.cjs.entry.js +9 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +50 -43
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -13
- package/dist/cjs/calcite-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-card.cjs.entry.js +9 -8
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -12
- package/dist/cjs/calcite-chip.cjs.entry.js +26 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +21 -19
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +67 -203
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +30 -29
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +86 -75
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +11 -37
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +27 -27
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -11
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +34 -37
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +18 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +331 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -23
- package/dist/cjs/calcite-input.cjs.entry.js +18 -17
- package/dist/cjs/calcite-label.cjs.entry.js +8 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +4 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +58 -45
- package/dist/cjs/calcite-notice.cjs.entry.js +26 -11
- package/dist/cjs/calcite-option_3.cjs.entry.js +15 -14
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -18
- package/dist/cjs/calcite-popover_2.cjs.entry.js +47 -35
- package/dist/cjs/calcite-progress.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-button.cjs.entry.js +22 -21
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +23 -22
- package/dist/cjs/calcite-rating.cjs.entry.js +20 -19
- package/dist/cjs/calcite-scrim.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -7
- package/dist/cjs/calcite-split-button.cjs.entry.js +12 -7
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -11
- package/dist/cjs/calcite-tab_4.cjs.entry.js +76 -30
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +14 -13
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +14 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -15
- package/dist/cjs/calcite.cjs.js +6 -3
- package/dist/cjs/{conditionalSlot-d7d41e5e.js → conditionalSlot-d648ba7c.js} +3 -3
- package/dist/cjs/{debounce-c6535474.js → debounce-2bc47bea.js} +1 -1
- package/dist/cjs/{dom-63f7a393.js → dom-49495bbc.js} +5 -18
- package/dist/cjs/{forIn-31c5151b.js → filter-2d8f8a74.js} +142 -4
- package/dist/cjs/{floating-ui-1e2c4828.js → floating-ui-84200b42.js} +59 -10
- package/dist/cjs/{form-2fb0263d.js → form-db085655.js} +3 -3
- package/dist/cjs/{guid-bfda150b.js → guid-cd0069ab.js} +1 -1
- package/dist/cjs/{index-aa58cebb.js → index-67d2d0a2.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-c148950b.js → interactive-a0570d10.js} +1 -1
- package/dist/cjs/{interfaces-78d94377.js → interfaces-b89b43c0.js} +1 -1
- package/dist/cjs/{key-790c3a9c.js → key-1a866191.js} +1 -1
- package/dist/cjs/{label-b3ded17f.js → label-1afd9205.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/{locale-20b4a0d8.js → locale-8f5384e9.js} +2 -2
- package/dist/cjs/{math-9fec6f1e.js → math-b3864fb0.js} +1 -1
- package/dist/cjs/{observers-b52c783e.js → observers-6189af7e.js} +1 -1
- package/dist/cjs/openCloseComponent-724719be.js +54 -0
- package/dist/cjs/{resources-76621c8a.js → resources-10bab689.js} +3 -3
- package/dist/cjs/{resources-c0beb775.js → resources-3d1862b2.js} +1 -1
- package/dist/cjs/{resources-14e7a312.js → resources-98da4ef3.js} +1 -1
- package/dist/cjs/resources-b34cfae7.js +24 -0
- package/dist/cjs/{resources-03c28605.js → resources-e2944684.js} +5 -5
- package/dist/cjs/{sortable.esm-87003d53.js → sortable.esm-2edfb432.js} +1 -1
- package/dist/cjs/{utils-32566c58.js → utils-7583fe05.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/accordion/accordion.css +1 -1
- package/dist/collection/components/accordion/accordion.js +3 -3
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +5 -5
- package/dist/collection/components/accordion-item/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +1 -2
- package/dist/collection/components/action/action.js +2 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +2 -2
- package/dist/collection/components/action-menu/action-menu.js +50 -37
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -2
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +6 -8
- package/dist/collection/components/alert/alert.js +69 -40
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +1 -22
- package/dist/collection/components/block/block.js +2 -2
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +1 -1
- package/dist/collection/components/block-section/block-section.js +4 -3
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +3 -3
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +6 -5
- package/dist/collection/components/chip/chip.css +1 -3
- package/dist/collection/components/chip/chip.js +23 -4
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +1 -1
- package/dist/collection/components/color-picker/color-picker.js +8 -7
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +1 -2
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +3 -3
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +3 -4
- package/dist/collection/components/combobox/combobox.js +54 -52
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +2 -2
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/pt-PT.json +1 -0
- package/dist/collection/components/date-picker/date-picker.css +1 -1
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +1 -4
- package/dist/collection/components/date-picker-day/date-picker-day.js +6 -5
- package/dist/collection/components/date-picker-month/date-picker-month.css +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +7 -6
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +4 -6
- package/dist/collection/components/dropdown/dropdown.js +88 -73
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +3 -3
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +4 -4
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +1 -1
- package/dist/collection/components/filter/filter.js +7 -33
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.css +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +1 -1
- package/dist/collection/components/handle/handle.js +3 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +4 -4
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +1 -3
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +4 -4
- package/dist/collection/components/input-date-picker/input-date-picker.js +23 -27
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +1 -3
- package/dist/collection/components/input-number/input-number.js +4 -4
- package/dist/collection/components/input-number/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +398 -0
- package/dist/collection/components/input-text/input-text.js +899 -0
- package/dist/collection/components/input-text/resources.js +24 -0
- package/dist/collection/components/input-time-picker/input-time-picker.css +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +23 -19
- package/dist/collection/components/modal/modal.js +44 -39
- package/dist/collection/components/modal/resources.js +9 -2
- package/dist/collection/components/notice/notice.css +1 -1
- package/dist/collection/components/notice/notice.js +22 -4
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +1 -1
- package/dist/collection/components/option/option.js +2 -2
- package/dist/collection/components/option-group/option-group.css +1 -1
- package/dist/collection/components/option-group/option-group.js +2 -2
- package/dist/collection/components/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +3 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +3 -31
- package/dist/collection/components/panel/panel.js +5 -5
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +1 -1
- package/dist/collection/components/pick-list/pick-list.js +2 -2
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +4 -23
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +6 -6
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -2
- package/dist/collection/components/popover/popover.css +2 -2
- package/dist/collection/components/popover/popover.js +43 -29
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.css +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.css +3 -3
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +1 -1
- package/dist/collection/components/radio-button/radio-button.js +24 -24
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +14 -14
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +1 -6
- package/dist/collection/components/radio-group/radio-group.js +20 -20
- package/dist/collection/components/radio-group-item/radio-group-item.css +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +10 -10
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +2 -2
- package/dist/collection/components/rating/rating.js +23 -23
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +2 -2
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +3 -3
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +1 -2
- package/dist/collection/components/shell-panel/shell-panel.js +2 -2
- package/dist/collection/components/slider/slider.css +1 -1
- package/dist/collection/components/slider/slider.js +8 -15
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +2 -2
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +1 -1
- package/dist/collection/components/split-button/split-button.js +10 -5
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.css +3 -2
- package/dist/collection/components/stepper/stepper.js +3 -3
- package/dist/collection/components/stepper-item/stepper-item.css +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +5 -5
- package/dist/collection/components/switch/switch.css +1 -1
- package/dist/collection/components/switch/switch.js +5 -4
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +3 -3
- package/dist/collection/components/tab/tab.js +56 -10
- package/dist/collection/components/tab-nav/tab-nav.css +5 -1
- package/dist/collection/components/tab-nav/tab-nav.js +3 -3
- package/dist/collection/components/tab-title/tab-title.css +32 -44
- package/dist/collection/components/tab-title/tab-title.js +64 -17
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +1 -9
- package/dist/collection/components/tile-select/tile-select.js +2 -2
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +1 -1
- package/dist/collection/components/time-picker/time-picker.js +9 -13
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +3 -22
- package/dist/collection/components/tip/tip.js +2 -2
- package/dist/collection/components/tip-group/tip-group.css +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +2 -23
- package/dist/collection/components/tip-manager/tip-manager.js +3 -3
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +8 -3
- package/dist/collection/components/tooltip-manager/tooltip-manager.css +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.css +1 -1
- package/dist/collection/components/tree/tree.js +4 -4
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +2 -2
- package/dist/collection/components/tree-item/tree-item.js +2 -2
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +2 -2
- package/dist/collection/components/value-list/value-list.js +3 -3
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -3
- package/dist/collection/demos/_assets/demo-form.js +22 -0
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +24 -0
- package/dist/collection/demos/_assets/head.js +48 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +17 -0
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +45 -2
- package/dist/collection/utils/popper.js +121 -0
- package/dist/collection/utils/resources.js +3 -3
- package/dist/collection/utils/theme.js +31 -0
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +48 -35
- package/dist/components/action.js +3 -3
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +8 -7
- package/dist/components/calcite-accordion.js +4 -4
- package/dist/components/calcite-action-bar.js +3 -3
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +3 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +46 -39
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +5 -4
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +9 -8
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +3 -3
- package/dist/components/calcite-combobox.js +54 -191
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +3 -3
- package/dist/components/calcite-dropdown-item.js +5 -5
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +5 -5
- package/dist/components/calcite-input-date-picker.js +23 -27
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +7 -6
- package/dist/components/calcite-input-text.d.ts +11 -0
- package/dist/components/calcite-input-text.js +383 -0
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +52 -40
- package/dist/components/calcite-notice.js +19 -5
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +3 -3
- package/dist/components/calcite-pagination.js +4 -4
- package/dist/components/calcite-panel.js +6 -6
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +5 -5
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +8 -8
- package/dist/components/calcite-radio-button.js +14 -14
- package/dist/components/calcite-radio-group-item.js +6 -6
- package/dist/components/calcite-radio-group.js +11 -11
- package/dist/components/calcite-rating.js +12 -12
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +3 -3
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +10 -11
- package/dist/components/calcite-sortable-list.js +3 -3
- package/dist/components/calcite-split-button.js +10 -5
- package/dist/components/calcite-stepper-item.js +6 -6
- package/dist/components/calcite-stepper.js +4 -4
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +3 -3
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +5 -5
- package/dist/components/calcite-tip.js +4 -4
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +8 -3
- package/dist/components/calcite-tree-item.js +5 -4
- package/dist/components/calcite-tree.js +5 -5
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +5 -5
- package/dist/components/checkbox.js +7 -6
- package/dist/components/chip.js +20 -4
- package/dist/components/color-picker-hex-input.js +4 -4
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +9 -7
- package/dist/components/date-picker-month-header.js +8 -7
- package/dist/components/date-picker-month.js +6 -6
- package/dist/components/date-picker.js +4 -4
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -15
- package/dist/components/dropdown.js +74 -64
- package/dist/components/filter.js +741 -195
- package/dist/components/filter2.js +186 -0
- package/dist/components/floating-ui.js +58 -9
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -3
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +44 -1
- package/dist/components/input.js +7 -6
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -3
- package/dist/components/link.js +4 -3
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +51 -0
- package/dist/components/pick-list-item.js +6 -6
- package/dist/components/popover.js +41 -30
- package/dist/components/progress.js +2 -2
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +10 -7
- package/dist/components/resources3.js +6 -23
- package/dist/components/resources4.js +33 -0
- package/dist/components/scrim.js +2 -2
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +6 -5
- package/dist/components/tab-nav.js +4 -4
- package/dist/components/tab-title.js +41 -16
- package/dist/components/tab.js +29 -7
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +10 -14
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +1518 -972
- package/dist/esm/{ExpandToggle-131c7dcb.js → ExpandToggle-0b0a550d.js} +5 -5
- package/dist/esm/{Heading-93ced199.js → Heading-53f20654.js} +2 -2
- package/dist/esm/app-globals-0eb51a63.js +48 -0
- package/dist/esm/{array-5d7e7abd.js → array-bfb963a8.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +15 -14
- package/dist/esm/calcite-action-bar.entry.js +13 -12
- package/dist/esm/calcite-action-group.entry.js +10 -9
- package/dist/esm/calcite-action-menu.entry.js +51 -38
- package/dist/esm/calcite-action-pad.entry.js +12 -11
- package/dist/esm/calcite-action.entry.js +9 -8
- package/dist/esm/calcite-alert.entry.js +50 -43
- package/dist/esm/calcite-avatar.entry.js +7 -6
- package/dist/esm/calcite-block_2.entry.js +15 -13
- package/dist/esm/calcite-button.entry.js +10 -9
- package/dist/esm/calcite-card.entry.js +9 -8
- package/dist/esm/calcite-checkbox.entry.js +14 -12
- package/dist/esm/calcite-chip.entry.js +26 -9
- package/dist/esm/calcite-color-picker_3.entry.js +21 -19
- package/dist/esm/calcite-combobox_3.entry.js +66 -202
- package/dist/esm/calcite-date-picker_4.entry.js +29 -28
- package/dist/esm/calcite-dropdown_3.entry.js +86 -75
- package/dist/esm/calcite-fab.entry.js +7 -6
- package/dist/esm/calcite-filter.entry.js +11 -37
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +19 -19
- package/dist/esm/calcite-handle.entry.js +7 -6
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -11
- package/dist/esm/calcite-input-date-picker.entry.js +34 -37
- package/dist/esm/calcite-input-message.entry.js +6 -5
- package/dist/esm/calcite-input-number.entry.js +16 -15
- package/dist/esm/calcite-input-text.entry.js +327 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -23
- package/dist/esm/calcite-input.entry.js +16 -15
- package/dist/esm/calcite-label.entry.js +8 -7
- package/dist/esm/calcite-link.entry.js +7 -6
- package/dist/esm/calcite-list_3.entry.js +12 -11
- package/dist/esm/calcite-loader.entry.js +4 -4
- package/dist/esm/calcite-modal.entry.js +58 -45
- package/dist/esm/calcite-notice.entry.js +26 -11
- package/dist/esm/calcite-option_3.entry.js +15 -14
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +15 -14
- package/dist/esm/calcite-pick-list_3.entry.js +19 -18
- package/dist/esm/calcite-popover_2.entry.js +47 -35
- package/dist/esm/calcite-progress.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +10 -10
- package/dist/esm/calcite-radio-button.entry.js +22 -21
- package/dist/esm/calcite-radio-group_2.entry.js +23 -22
- package/dist/esm/calcite-rating.entry.js +20 -19
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +12 -11
- package/dist/esm/calcite-sortable-list.entry.js +7 -7
- package/dist/esm/calcite-split-button.entry.js +12 -7
- package/dist/esm/calcite-stepper_2.entry.js +14 -13
- package/dist/esm/calcite-switch.entry.js +13 -11
- package/dist/esm/calcite-tab_4.entry.js +76 -30
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +9 -8
- package/dist/esm/calcite-tip_3.entry.js +14 -13
- package/dist/esm/calcite-tooltip_2.entry.js +14 -8
- package/dist/esm/calcite-tree_2.entry.js +12 -11
- package/dist/esm/calcite-value-list_2.entry.js +16 -15
- package/dist/esm/calcite.js +6 -3
- package/dist/esm/{conditionalSlot-b78ec702.js → conditionalSlot-3c2e3da6.js} +3 -3
- package/dist/esm/{debounce-7b337e34.js → debounce-6c1fb2e1.js} +1 -1
- package/dist/esm/{dom-773d1009.js → dom-b00b63fe.js} +4 -16
- package/dist/{components/forIn.js → esm/filter-1b9ea22a.js} +142 -3
- package/dist/esm/{floating-ui-9b7dcf5f.js → floating-ui-4af4d0ec.js} +59 -10
- package/dist/esm/{form-2cfa20ec.js → form-b162c519.js} +3 -3
- package/dist/esm/{guid-41992570.js → guid-4eb9b69b.js} +1 -1
- package/dist/esm/{index-e2035750.js → index-2980b14c.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-52c414ad.js → interactive-6c201311.js} +1 -1
- package/dist/esm/{interfaces-2163b1eb.js → interfaces-a1af0701.js} +1 -1
- package/dist/esm/{key-7208494a.js → key-f8db6ac0.js} +1 -1
- package/dist/esm/{label-dd1d4ebf.js → label-7607bbd1.js} +2 -2
- package/dist/esm/loader.js +6 -3
- package/dist/esm/{locale-66830132.js → locale-9f7b3bc6.js} +2 -2
- package/dist/esm/{math-d77047f4.js → math-4da02f6f.js} +1 -1
- package/dist/esm/{observers-ebdbf52f.js → observers-dc6401d4.js} +1 -1
- package/dist/esm/openCloseComponent-36a012f7.js +51 -0
- package/dist/esm/{resources-9afaaa17.js → resources-1d846ef4.js} +5 -5
- package/dist/esm/{resources-4e2c9912.js → resources-3c798fda.js} +1 -1
- package/dist/esm/{resources-9e1ec649.js → resources-7b1070b6.js} +3 -3
- package/dist/esm/resources-d3714ef2.js +19 -0
- package/dist/esm/{resources-1b220b88.js → resources-d7d605e6.js} +1 -1
- package/dist/esm/{sortable.esm-9a2fbede.js → sortable.esm-28f07dcf.js} +1 -1
- package/dist/esm/{utils-011f57d8.js → utils-62a98b74.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-131c7dcb.js → ExpandToggle-0b0a550d.js} +2 -2
- package/dist/esm-es5/Heading-53f20654.js +6 -0
- package/dist/esm-es5/app-globals-0eb51a63.js +6 -0
- package/dist/esm-es5/{array-5d7e7abd.js → array-bfb963a8.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +6 -0
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-b78ec702.js → conditionalSlot-3c2e3da6.js} +2 -2
- package/dist/esm-es5/{debounce-7b337e34.js → debounce-6c1fb2e1.js} +1 -1
- package/dist/esm-es5/dom-b00b63fe.js +6 -0
- package/dist/esm-es5/filter-1b9ea22a.js +6 -0
- package/dist/esm-es5/floating-ui-4af4d0ec.js +6 -0
- package/dist/esm-es5/{form-2cfa20ec.js → form-b162c519.js} +2 -2
- package/dist/esm-es5/{guid-41992570.js → guid-4eb9b69b.js} +1 -1
- package/dist/esm-es5/{index-e2035750.js → index-2980b14c.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-52c414ad.js → interactive-6c201311.js} +1 -1
- package/dist/esm-es5/{interfaces-2163b1eb.js → interfaces-a1af0701.js} +1 -1
- package/dist/esm-es5/{key-7208494a.js → key-f8db6ac0.js} +1 -1
- package/dist/esm-es5/{label-dd1d4ebf.js → label-7607bbd1.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-66830132.js → locale-9f7b3bc6.js} +2 -2
- package/dist/esm-es5/{math-d77047f4.js → math-4da02f6f.js} +1 -1
- package/dist/esm-es5/{observers-ebdbf52f.js → observers-dc6401d4.js} +1 -1
- package/dist/esm-es5/openCloseComponent-36a012f7.js +6 -0
- package/dist/esm-es5/{resources-9afaaa17.js → resources-1d846ef4.js} +2 -2
- package/dist/esm-es5/{resources-4e2c9912.js → resources-3c798fda.js} +1 -1
- package/dist/esm-es5/{resources-9e1ec649.js → resources-7b1070b6.js} +2 -2
- package/dist/esm-es5/resources-d3714ef2.js +6 -0
- package/dist/esm-es5/{resources-1b220b88.js → resources-d7d605e6.js} +1 -1
- package/dist/esm-es5/{sortable.esm-9a2fbede.js → sortable.esm-28f07dcf.js} +1 -1
- package/dist/esm-es5/{utils-011f57d8.js → utils-62a98b74.js} +1 -1
- package/dist/extras/docs-json.json +890 -303
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-menu/action-menu.d.ts +10 -7
- package/dist/types/components/alert/alert.d.ts +12 -7
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/chip/chip.d.ts +2 -0
- package/dist/types/components/combobox/combobox.d.ts +11 -6
- package/dist/types/components/dropdown/dropdown.d.ts +19 -11
- package/dist/types/components/dropdown/interfaces.d.ts +6 -0
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +1 -1
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +9 -6
- package/dist/types/components/input-text/input-text.d.ts +170 -0
- package/dist/types/components/input-text/resources.d.ts +19 -0
- package/dist/types/components/modal/modal.d.ts +5 -6
- package/dist/types/components/modal/resources.d.ts +5 -0
- package/dist/types/components/notice/notice.d.ts +2 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
- package/dist/types/components/popover/popover.d.ts +11 -6
- package/dist/types/components/radio-button/radio-button.d.ts +13 -13
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
- package/dist/types/components/radio-group/radio-group.d.ts +10 -10
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
- package/dist/types/components/rating/rating.d.ts +12 -12
- package/dist/types/components/slider/slider.d.ts +0 -1
- package/dist/types/components/split-button/split-button.d.ts +6 -1
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/tab/tab.d.ts +8 -0
- package/dist/types/components/tab-title/tab-title.d.ts +11 -2
- package/dist/types/components/tooltip/tooltip.d.ts +6 -1
- package/dist/types/components.d.ts +366 -102
- package/dist/types/preact.d.ts +7 -0
- package/dist/types/utils/form.d.ts +1 -1
- package/dist/types/utils/globalScript.d.ts +6 -0
- package/dist/types/utils/openCloseComponent.d.ts +24 -0
- package/dist/types/utils/resources.d.ts +2 -0
- package/dist/types/utils/theme.d.ts +4 -0
- package/hydrate/index.js +1441 -858
- package/package.json +18 -17
- package/readme.md +2 -2
- package/dist/calcite/p-02ea3541.entry.js +0 -6
- package/dist/calcite/p-06bfa7f4.js +0 -6
- package/dist/calcite/p-07ac44fd.system.entry.js +0 -6
- package/dist/calcite/p-106d714c.entry.js +0 -6
- package/dist/calcite/p-1483d257.system.entry.js +0 -6
- package/dist/calcite/p-1d27e1b2.system.entry.js +0 -6
- package/dist/calcite/p-1d528e3a.system.entry.js +0 -6
- package/dist/calcite/p-1dd3c731.entry.js +0 -6
- package/dist/calcite/p-1fca19bd.entry.js +0 -6
- package/dist/calcite/p-21263865.system.entry.js +0 -6
- package/dist/calcite/p-2172c393.entry.js +0 -6
- package/dist/calcite/p-224b93e9.entry.js +0 -6
- package/dist/calcite/p-251b6d61.js +0 -6
- package/dist/calcite/p-25287fea.entry.js +0 -6
- package/dist/calcite/p-25b0526d.entry.js +0 -6
- package/dist/calcite/p-2806e475.system.entry.js +0 -6
- package/dist/calcite/p-2a7f48fa.entry.js +0 -6
- package/dist/calcite/p-2ac8bf37.js +0 -6
- package/dist/calcite/p-2c07319a.system.entry.js +0 -6
- package/dist/calcite/p-2d1a1a9b.entry.js +0 -6
- package/dist/calcite/p-2d63dd1d.system.entry.js +0 -6
- package/dist/calcite/p-2f430a5b.system.entry.js +0 -6
- package/dist/calcite/p-313ff745.js +0 -6
- package/dist/calcite/p-325d5fc2.system.entry.js +0 -6
- package/dist/calcite/p-3278a041.entry.js +0 -6
- package/dist/calcite/p-34dc627d.system.entry.js +0 -6
- package/dist/calcite/p-355c3b49.entry.js +0 -6
- package/dist/calcite/p-395d5d81.system.entry.js +0 -6
- package/dist/calcite/p-3a02a16e.system.entry.js +0 -6
- package/dist/calcite/p-3afd8219.js +0 -6
- package/dist/calcite/p-3f0fb908.system.js +0 -6
- package/dist/calcite/p-40ef7538.system.entry.js +0 -6
- package/dist/calcite/p-44a164a5.system.entry.js +0 -6
- package/dist/calcite/p-44c827f6.entry.js +0 -6
- package/dist/calcite/p-44fa20c3.system.entry.js +0 -6
- package/dist/calcite/p-46fcc80b.system.js +0 -6
- package/dist/calcite/p-4dbd7d99.entry.js +0 -6
- package/dist/calcite/p-4dfe59ba.entry.js +0 -6
- package/dist/calcite/p-4ed94b0c.entry.js +0 -6
- package/dist/calcite/p-4f77ab07.system.entry.js +0 -6
- package/dist/calcite/p-51b5c16b.system.entry.js +0 -6
- package/dist/calcite/p-52a9c9ac.system.entry.js +0 -6
- package/dist/calcite/p-5548019b.system.entry.js +0 -6
- package/dist/calcite/p-5986be6a.system.entry.js +0 -6
- package/dist/calcite/p-5d19ba12.system.entry.js +0 -6
- package/dist/calcite/p-5e00d81b.entry.js +0 -6
- package/dist/calcite/p-5e67de08.system.entry.js +0 -6
- package/dist/calcite/p-61ac6255.entry.js +0 -6
- package/dist/calcite/p-65714f09.entry.js +0 -6
- package/dist/calcite/p-68c2e792.system.entry.js +0 -6
- package/dist/calcite/p-696189d3.entry.js +0 -6
- package/dist/calcite/p-698aa1c5.system.entry.js +0 -6
- package/dist/calcite/p-6bc01f5f.system.entry.js +0 -6
- package/dist/calcite/p-6f870d52.entry.js +0 -6
- package/dist/calcite/p-6ff70b1f.system.entry.js +0 -6
- package/dist/calcite/p-738f23ab.system.entry.js +0 -6
- package/dist/calcite/p-75052b74.entry.js +0 -6
- package/dist/calcite/p-758a0313.entry.js +0 -6
- package/dist/calcite/p-76dcc963.entry.js +0 -6
- package/dist/calcite/p-7a6e0092.entry.js +0 -6
- package/dist/calcite/p-7dbc88f0.system.entry.js +0 -6
- package/dist/calcite/p-7f536f37.system.entry.js +0 -6
- package/dist/calcite/p-7f7a2070.entry.js +0 -6
- package/dist/calcite/p-81c838da.system.entry.js +0 -6
- package/dist/calcite/p-85b04b39.system.entry.js +0 -6
- package/dist/calcite/p-8871b3b2.system.entry.js +0 -6
- package/dist/calcite/p-89dcad49.entry.js +0 -6
- package/dist/calcite/p-8bfecbf1.system.entry.js +0 -6
- package/dist/calcite/p-8dfb2a49.system.entry.js +0 -6
- package/dist/calcite/p-8e262d98.entry.js +0 -6
- package/dist/calcite/p-90124757.system.entry.js +0 -6
- package/dist/calcite/p-90413eb8.entry.js +0 -6
- package/dist/calcite/p-9279086f.entry.js +0 -6
- package/dist/calcite/p-93581d65.entry.js +0 -6
- package/dist/calcite/p-93e2c809.entry.js +0 -6
- package/dist/calcite/p-995b06cf.entry.js +0 -6
- package/dist/calcite/p-9c682b55.system.entry.js +0 -6
- package/dist/calcite/p-9cff8f59.entry.js +0 -6
- package/dist/calcite/p-9d398103.system.js +0 -6
- package/dist/calcite/p-a15628f9.system.entry.js +0 -6
- package/dist/calcite/p-a24254c4.system.entry.js +0 -6
- package/dist/calcite/p-a9ec85ad.system.entry.js +0 -6
- package/dist/calcite/p-ab4d5eba.system.entry.js +0 -6
- package/dist/calcite/p-ac1d3121.entry.js +0 -6
- package/dist/calcite/p-acca3644.system.entry.js +0 -6
- package/dist/calcite/p-ad73fc52.system.entry.js +0 -6
- package/dist/calcite/p-ad85b30b.system.entry.js +0 -6
- package/dist/calcite/p-adb90152.system.entry.js +0 -6
- package/dist/calcite/p-b2d2e857.entry.js +0 -6
- package/dist/calcite/p-b4d58ff4.entry.js +0 -6
- package/dist/calcite/p-b8ba96b7.system.entry.js +0 -6
- package/dist/calcite/p-b95e4b20.entry.js +0 -6
- package/dist/calcite/p-bab1f14e.entry.js +0 -6
- package/dist/calcite/p-bd2be3f5.entry.js +0 -6
- package/dist/calcite/p-bd2e7fe8.system.entry.js +0 -6
- package/dist/calcite/p-be08dcbd.entry.js +0 -6
- package/dist/calcite/p-c027aef8.entry.js +0 -6
- package/dist/calcite/p-c190d30c.entry.js +0 -6
- package/dist/calcite/p-c92c4d1b.entry.js +0 -6
- package/dist/calcite/p-caa785ff.entry.js +0 -6
- package/dist/calcite/p-cbe1acb3.system.entry.js +0 -6
- package/dist/calcite/p-cf730667.entry.js +0 -6
- package/dist/calcite/p-d1c1035b.system.entry.js +0 -6
- package/dist/calcite/p-d4542664.system.entry.js +0 -6
- package/dist/calcite/p-d59fd4ca.entry.js +0 -6
- package/dist/calcite/p-da136364.system.js +0 -6
- package/dist/calcite/p-dd30f3b3.system.entry.js +0 -6
- package/dist/calcite/p-dfe2dca8.system.entry.js +0 -6
- package/dist/calcite/p-e8128e9a.entry.js +0 -6
- package/dist/calcite/p-e86b7099.entry.js +0 -6
- package/dist/calcite/p-efc7d73b.entry.js +0 -6
- package/dist/calcite/p-f29b59a6.entry.js +0 -6
- package/dist/calcite/p-f6525305.system.entry.js +0 -6
- package/dist/calcite/p-ff119586.system.entry.js +0 -6
- package/dist/esm/forIn-f0ad73ff.js +0 -620
- package/dist/esm-es5/Heading-93ced199.js +0 -6
- package/dist/esm-es5/dom-773d1009.js +0 -6
- package/dist/esm-es5/floating-ui-9b7dcf5f.js +0 -6
- package/dist/esm-es5/forIn-f0ad73ff.js +0 -6
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as a,H as e,g as n}from"./p-be00e22e.js";import{a as o,d as r,t as l}from"./p-02c2ce31.js";import{c as s,d as c}from"./p-59a5da8a.js";import{a as m,c as d,d as u,H as f}from"./p-16619b68.js";import{u as p}from"./p-978e1777.js";import"./p-bb45b137.js";import"./p-a189654d.js";const h=class{constructor(a){t(this,a),this.calciteRadioGroupChange=i(this,"calciteRadioGroupChange",6),this.appearance="solid",this.disabled=!1,this.required=!1,this.layout="horizontal",this.scale="m",this.value=null,this.width="auto",this.handleClick=t=>{"calcite-radio-group-item"===t.target.localName&&this.selectItem(t.target,!0)}}valueHandler(t){this.getItems().forEach((i=>i.checked=i.value===t))}handleSelectedItemChange(t,i){if(this.value=null==t?void 0:t.value,t===i)return;const a=this.getItems(),e=Array.from(a).filter((i=>i===t)).pop();e?this.selectItem(e):a[0]&&(a[0].tabIndex=0)}componentWillLoad(){const t=this.getItems(),i=Array.from(t).filter((t=>t.checked)).pop();i?this.selectItem(i):t[0]&&(t[0].tabIndex=0)}componentDidLoad(){m(this,this.value)}connectedCallback(){s(this),d(this)}disconnectedCallback(){c(this),u(this)}componentDidRender(){p(this)}render(){return a(e,{onClick:this.handleClick,role:"radiogroup"},a("slot",null),a(f,{component:this}))}handleSelected(t){t.preventDefault(),this.selectItem(t.target),t.stopPropagation()}handleKeyDown(t){const{key:i}=t,{el:a,selectedItem:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;let n=i;"rtl"===o(a)&&("ArrowRight"===i&&(n="ArrowLeft"),"ArrowLeft"===i&&(n="ArrowRight"));const r=this.getItems();let l=-1;switch(r.forEach(((t,i)=>{t===e&&(l=i)})),n){case"ArrowLeft":case"ArrowUp":t.preventDefault();const i=r.item(l<1?r.length-1:l-1);return void this.selectItem(i,!0);case"ArrowRight":case"ArrowDown":t.preventDefault();const a=-1===l?r.item(1):r.item(l+1)||r.item(0);return void this.selectItem(a,!0);case" ":return t.preventDefault(),void this.selectItem(t.target,!0);default:return}}async setFocus(){var t;null===(t=this.selectedItem||this.getItems()[0])||void 0===t||t.focus()}onLabelClick(){this.setFocus()}getItems(){return this.el.querySelectorAll("calcite-radio-group-item")}selectItem(t,i=!1){if(t===this.selectedItem)return;const a=this.getItems();let e=null;a.forEach((a=>{const n=a.value===t.value;(n&&!a.checked||!n&&a.checked)&&(a.checked=n),a.tabIndex=n?0:-1,n&&(e=a,i&&this.calciteRadioGroupChange.emit(e.value))})),this.selectedItem=e,e&&e.focus()}get el(){return n(this)}static get watchers(){return{value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:-webkit-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-item-align:start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:-webkit-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-radio-group-item){-ms-flex:1 1 auto;flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-radio-group-item){-ms-flex-pack:start;justify-content:flex-start}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const b=class{constructor(a){t(this,a),this.calciteInternalRadioGroupItemChange=i(this,"calciteInternalRadioGroupItemChange",6),this.checked=!1,this.iconFlipRtl=!1,this.iconPosition="start"}handleCheckedChange(){this.calciteInternalRadioGroupItemChange.emit()}render(){const{checked:t,value:i}=this,n=r(this.el,"scale","m"),o=r(this.el,"appearance","solid"),s=r(this.el,"layout","horizontal"),c=a("calcite-icon",{class:"radio-group-item-icon",flipRtl:this.iconFlipRtl,icon:this.icon,scale:"s"});return a(e,{"aria-checked":l(t),"aria-label":i,role:"radio"},a("label",{class:{"label--scale-s":"s"===n,"label--scale-m":"m"===n,"label--scale-l":"l"===n,"label--horizontal":"horizontal"===s,"label--outline":"outline"===o}},this.icon&&"start"===this.iconPosition?c:null,a("slot",null,i),a("slot",{name:"input"}),this.icon&&"end"===this.iconPosition?c:null))}get el(){return n(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};b.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-item-align:stretch;align-self:stretch;font-weight:var(--calcite-font-weight-normal);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{-ms-flex-pack:center;justify-content:center}:host{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .radio-group-item-icon{color:highlightText}}.radio-group-item-icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;line-height:inherit}:host([icon-position=start]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([icon-position=end]) .label--scale-s .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-position=start]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([icon-position=end]) .label--scale-m .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}:host([icon-position=start]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([icon-position=end]) .label--scale-l .radio-group-item-icon{-webkit-margin-end:unset;margin-inline-end:unset;-webkit-margin-start:1rem;margin-inline-start:1rem}";export{h as calcite_radio_group,b as calcite_radio_group_item}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as i,h as a,H as e,g as n}from"./p-be00e22e.js";import{g as o}from"./p-a189654d.js";import{c as s,d as r,H as c}from"./p-16619b68.js";import{c as l,d as m,g as h}from"./p-59a5da8a.js";import{u as p}from"./p-978e1777.js";import{t as d}from"./p-02c2ce31.js";import{i as b}from"./p-72de7bac.js";import"./p-bb45b137.js";const u=class{constructor(a){t(this,a),this.calciteInternalCheckboxBlur=i(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=i(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=i(this,"calciteInternalCheckboxFocus",6),this.checked=!1,this.disabled=!1,this.hovered=!1,this.indeterminate=!1,this.required=!1,this.scale="m",this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{b(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()}}async setFocus(){var t;null===(t=this.toggleEl)||void 0===t||t.focus()}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${o()}`,l(this),s(this)}disconnectedCallback(){m(this),r(this)}componentDidRender(){p(this)}render(){return a(e,{onClick:this.clickHandler,onKeyDown:this.keyDownHandler},a("div",{"aria-checked":d(this.checked),"aria-label":h(this),class:"toggle",onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:t=>this.toggleEl=t,role:"checkbox",tabIndex:this.disabled?void 0:0},a("svg",{class:"check-svg",viewBox:"0 0 16 16"},a("path",{d:this.getPath()})),a("slot",null)),a(c,{component:this}))}get el(){return n(this)}};u.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{u as calcite_checkbox}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
function n(n,t,i){return new(function(n){return"intersection"===n?window.IntersectionObserver:"mutation"===n?window.MutationObserver:window.ResizeObserver}(n))(t,i)}export{n as c}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function a(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function r(t){try{c(i.next(t))}catch(t){o(t)}}function l(t){try{c(i["throw"](t))}catch(t){o(t)}}function c(t){t.done?n(t.value):a(t.value).then(r,l)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,a,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(e){return c([t,e])}}function c(r){if(i)throw new TypeError("Generator is already executing.");while(n)try{if(i=1,a&&(o=r[0]&2?a["return"]:r[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;if(a=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:n.label++;return{value:r[1],done:false};case 5:n.label++;a=r[1];r=[0];continue;case 7:r=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){n=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(r[0]===6&&n.label<o[1]){n.label=o[1];o=r;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(r);break}if(o[2])n.ops.pop();n.trys.pop();continue}r=e.call(t,n)}catch(t){r=[6,t];a=0}finally{i=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
* v1.0.0-beta.91
|
|
6
|
+
*/System.register(["./p-c1839811.system.js","./p-af6a258a.system.js","./p-ad7f17d7.system.js","./p-4a1c8d49.system.js","./p-5d7bc59a.system.js","./p-46e3b866.system.js","./p-e28fc860.system.js"],(function(t){"use strict";var e,n,i,a,o,r,l,c,s,u,f,m,d;return{setters:[function(t){e=t.r;n=t.c;i=t.h;a=t.F;o=t.g},function(t){r=t.C;l=t.I;c=t.S},function(t){s=t.t;u=t.f},function(t){f=t.g},function(t){m=t.g},function(t){d=t.i},function(){}],execute:function(){var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-color:transparent}.menu ::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";var h=["ArrowUp","ArrowDown"];var v=["ArrowUp","ArrowDown","End","Home"];var g=t("calcite_action_menu",function(){function t(t){var i=this;e(this,t);this.calciteActionMenuOpenChange=n(this,"calciteActionMenuOpenChange",6);this.expanded=false;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.actionElements=[];this.guid="calcite-action-menu-".concat(m());this.menuId="".concat(this.guid,"-menu");this.menuButtonId="".concat(this.guid,"-menu-button");this.activeMenuItemIndex=-1;this.connectMenuButtonEl=function(){var t=i,e=t.menuButtonId,n=t.menuId,a=t.open,o=t.label;var r=i.slottedMenuButtonEl||i.defaultMenuButtonEl;if(i.menuButtonEl===r){return}i.disconnectMenuButtonEl();i.menuButtonEl=r;i.setTooltipReferenceElement();if(!r){return}r.active=a;r.setAttribute("aria-controls",n);r.setAttribute("aria-expanded",s(a));r.setAttribute("aria-haspopup","true");if(!r.id){r.id=e}if(!r.label){r.label=o}if(!r.text){r.text=o}r.addEventListener("pointerdown",i.menuButtonClick);r.addEventListener("keydown",i.menuButtonKeyDown)};this.disconnectMenuButtonEl=function(){var t=i.menuButtonEl;if(!t){return}t.removeEventListener("pointerdown",i.menuButtonClick);t.removeEventListener("keydown",i.menuButtonKeyDown)};this.setMenuButtonEl=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));i.slottedMenuButtonEl=e[0];i.connectMenuButtonEl()};this.setDefaultMenuButtonEl=function(t){i.defaultMenuButtonEl=t;i.connectMenuButtonEl()};this.handleCalciteActionClick=function(){i.open=false;i.setFocus()};this.menuButtonClick=function(){i.toggleOpen()};this.updateTooltip=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-tooltip")}));i.tooltipEl=e[0];i.setTooltipReferenceElement()};this.setTooltipReferenceElement=function(){var t=i,e=t.tooltipEl,n=t.expanded,a=t.menuButtonEl,o=t.open;if(e){e.referenceElement=!n&&!o?a:null}};this.updateAction=function(t,e){var n=i,a=n.guid,o=n.activeMenuItemIndex;var r="".concat(a,"-action-").concat(e);t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=r}t.active=e===o};this.updateActions=function(t){t===null||t===void 0?void 0:t.forEach(i.updateAction)};this.handleDefaultSlotChange=function(t){var e=t.target.assignedElements({flatten:true}).filter((function(t){return t===null||t===void 0?void 0:t.matches("calcite-action")}));i.actionElements=e};this.menuButtonKeyDown=function(t){var e=t.key;var n=i.actionElements;if(!n.length){return}if(d(e)){t.preventDefault();i.toggleOpen();return}if(!i.isValidKey(e,h)){return}t.preventDefault();i.toggleOpen(true);i.handleActionNavigation(e,n)};this.menuActionsContainerKeyDown=function(t){var e=t.key;var n=i,a=n.actionElements,o=n.activeMenuItemIndex;if(e==="Tab"){i.open=false;return}if(d(e)){t.preventDefault();var r=a[o];r?r.click():i.toggleOpen(false);return}if(e==="Escape"){i.toggleOpen(false);return}if(!a.length){return}if(i.isValidKey(e,v)){t.preventDefault()}i.handleActionNavigation(e,a)};this.handleActionNavigation=function(t,e){if(!i.open){return}var n=i.activeMenuItemIndex;if(t==="Home"){i.activeMenuItemIndex=0}if(t==="End"){i.activeMenuItemIndex=e.length-1}if(t==="ArrowUp"){i.activeMenuItemIndex=f(Math.max(n-1,-1),e.length)}if(t==="ArrowDown"){i.activeMenuItemIndex=f(n+1,e.length)}};this.toggleOpenEnd=function(){i.setFocus();i.el.removeEventListener("calcitePopoverOpen",i.toggleOpenEnd)};this.toggleOpen=function(t){if(t===void 0){t=!i.open}i.el.addEventListener("calcitePopoverOpen",i.toggleOpenEnd);i.open=t}}t.prototype.disconnectedCallback=function(){this.disconnectMenuButtonEl()};t.prototype.expandedHandler=function(){this.open=false;this.setTooltipReferenceElement()};t.prototype.openHandler=function(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpenChange.emit(t);this.setTooltipReferenceElement()};t.prototype.closeCalciteActionMenuOnClick=function(t){var e=t.composedPath();if(e.includes(this.el)){return}this.open=false};t.prototype.activeMenuItemIndexHandler=function(){this.updateActions(this.actionElements)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){u(this.menuButtonEl);return[2]}))}))};t.prototype.renderMenuButton=function(){var t=this,e=t.label,n=t.scale,a=t.expanded;var o=i("slot",{name:c.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{class:r.defaultTrigger,icon:l.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:e,textEnabled:a}));return o};t.prototype.renderMenuItems=function(){var t=this,e=t.actionElements,n=t.activeMenuItemIndex,a=t.open,o=t.menuId,l=t.menuButtonEl,c=t.label,s=t.placement,u=t.overlayPositioning,f=t.flipPlacements;var m=e[n];var d=(m===null||m===void 0?void 0:m.id)||null;return i("calcite-popover",{disablePointer:true,flipPlacements:f,label:c,offsetDistance:0,open:a,overlayPositioning:u,placement:s,referenceElement:l},i("div",{"aria-activedescendant":d,"aria-labelledby":l===null||l===void 0?void 0:l.id,class:r.menu,id:o,onClick:this.handleCalciteActionClick,onKeyDown:this.menuActionsContainerKeyDown,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))};t.prototype.render=function(){return i(a,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:c.tooltip,onSlotchange:this.updateTooltip}))};t.prototype.isValidKey=function(t,e){return!!e.find((function(e){return e===t}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}},enumerable:false,configurable:true});return t}());g.style=p}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
System.register(["./p-c1839811.system.js","./p-9f7bc627.system.js","./p-ad7f17d7.system.js","./p-e28fc860.system.js","./p-5d7bc59a.system.js"],(function(t){"use strict";var a,e,i,n,o,r,l;return{setters:[function(t){a=t.r;e=t.c;i=t.h;n=t.H;o=t.g},function(t){r=t.l;l=t.a},function(){},function(){},function(){}],execute:function(){var s={container:"container"};var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.5rem);margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 0.75rem);margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{-webkit-margin-after:var(--calcite-label-margin-bottom, 1rem);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;-webkit-margin-before:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";var m=t("calcite_label",function(){function t(t){var i=this;a(this,t);this.calciteInternalLabelClick=e(this,"calciteInternalLabelClick",2);this.alignment="start";this.status="idle";this.scale="m";this.layout="default";this.disabled=false;this.disableSpacing=false;this.labelClickHandler=function(t){i.calciteInternalLabelClick.emit({sourceEvent:t})}}t.prototype.connectedCallback=function(){document.dispatchEvent(new CustomEvent(r))};t.prototype.disconnectedCallback=function(){document.dispatchEvent(new CustomEvent(l))};t.prototype.render=function(){return i(n,{onClick:this.labelClickHandler},i("div",{class:s.container},i("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());m.style=c}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
|
-
System.register(["./p-
|
|
6
|
+
System.register(["./p-c1839811.system.js","./p-ad7f17d7.system.js","./p-af6a258a.system.js","./p-e6f99510.system.js"],(function(t){"use strict";var e,n,r,o,i;return{setters:[function(t){e=t.f;n=t.h},function(t){r=t.a},function(t){o=t.S},function(t){i=t.S}],execute:function(){t("t",g);var a=t("o",150);var c=2;var u=function(t){return t.reduce((function(t,e){return t+e}),0)/t.length};var l=t("g",(function(t){var e=t===null||t===void 0?void 0:t.length;return{actionWidth:e?u(t.map((function(t){return t.clientWidth||0}))):0,actionHeight:e?u(t.map((function(t){return t.clientHeight||0}))):0}}));var f=function(t){var e=t.width,n=t.actionWidth,r=t.layout,o=t.height,i=t.actionHeight,a=t.groupCount;var u=r==="horizontal"?e:o;var l=r==="horizontal"?n:i;return Math.floor((u-a*c)/l)};var s=t("b",(function(t){var e=t.layout,n=t.actionCount,r=t.actionWidth,o=t.width,i=t.actionHeight,a=t.height,c=t.groupCount;return Math.max(n-f({width:o,actionWidth:r,layout:e,height:a,actionHeight:i,groupCount:c}),0)}));var v=t("q",(function(t){return Array.from(t.querySelectorAll("calcite-action")).filter((function(t){return t.closest("calcite-action-menu")?t.slot===o.trigger:true}))}));var h=t("a",(function(t){var n=t.actionGroups,r=t.expanded,o=t.overflowCount;var a=o;n.reverse().forEach((function(t){var n=0;var o=v(t).reverse();o.forEach((function(t){if(t.slot===i.menuActions){t.removeAttribute("slot");t.textEnabled=r}}));if(a>0){o.some((function(t){var e=o.filter((function(t){return!t.slot}));if(e.length>1&&o.length>2&&!t.closest("calcite-action-menu")){t.textEnabled=true;t.setAttribute("slot",i.menuActions);n++;if(n>1){a--}}return a<1}))}e(t)}))}));var d={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function p(t,e){var n;return t||((n=e.closest("calcite-shell-panel"))===null||n===void 0?void 0:n.position)||"start"}function g(t){var e=t.parent,n=t.expanded;v(e).filter((function(t){return t.slot!==i.menuActions})).forEach((function(t){return t.textEnabled=n}));e.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((function(t){return t.expanded=n}))}var m=function(t){var e=t.tooltip,n=t.referenceElement,r=t.expanded,o=t.ref;if(e){e.referenceElement=!r&&n?n:null}if(o){o(n)}return n};var x=t("E",(function(t){var e=t.expanded,o=t.intlExpand,i=t.intlCollapse,a=t.toggle,c=t.el,u=t.position,l=t.tooltip,f=t.ref,s=t.scale;var v=r(c)==="rtl";var h=e?i:o;var g=[d.chevronsLeft,d.chevronsRight];if(v){g.reverse()}var x=p(u,c)==="end";var E=x?g[1]:g[0];var y=x?g[0]:g[1];var A=n("calcite-action",{icon:e?E:y,onClick:a,ref:function(t){return m({tooltip:l,referenceElement:t,expanded:e,ref:f})},scale:s,text:h,textEnabled:e});return A}))}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
const e="calcite-theme-auto",t="calcite-theme-dark",a={autoTheme:"calcite-theme-auto",darkTheme:"calcite-theme-dark",lightTheme:"calcite-theme-light",rtl:"calcite--rtl"},c={loading:"Loading"};export{a as C,c as T,e as a,t as d}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,e,a){function n(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,r){function o(t){try{c(a.next(t))}catch(t){r(t)}}function l(t){try{c(a["throw"](t))}catch(t){r(t)}}function c(t){t.done?e(t.value):n(t.value).then(o,l)}c((a=a.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(t){return function(i){return c([t,i])}}function c(o){if(a)throw new TypeError("Generator is already executing.");while(e)try{if(a=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;n=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(r=e.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){e.label=o[1];break}if(o[0]===6&&e.label<r[1]){e.label=r[1];r=o;break}if(r&&e.label<r[2]){e.label=r[2];e.ops.push(o);break}if(r[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];n=0}finally{a=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
* v1.0.0-beta.91
|
|
6
|
+
*/System.register(["./p-c1839811.system.js","./p-ad7f17d7.system.js","./p-94765679.system.js","./p-839a73f1.system.js","./p-f5490b0d.system.js","./p-e28fc860.system.js","./p-5d7bc59a.system.js"],(function(t){"use strict";var i,e,a,n,r,o,l,c,s;return{setters:[function(t){i=t.r;e=t.c;a=t.h;n=t.F;r=t.g},function(t){o=t.f},function(t){l=t.u},function(t){c=t.f},function(t){s=t.d},function(){},function(){}],execute:function(){var m={container:"container",searchIcon:"search-icon"};var u={filterLabel:"Filter",clear:"Clear filter"};var f={search:"search",close:"x"};var d=250;var p="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";var b=t("calcite_filter",function(){function t(t){var a=this;i(this,t);this.calciteFilterChange=e(this,"calciteFilterChange",6);this.items=[];this.disabled=false;this.filteredItems=[];this.scale="m";this.value="";this.filter=s((function(t,i){if(i===void 0){i=false}return a.updateFiltered(c(a.items,t),i)}),d);this.inputHandler=function(t){var i=t.target;a.value=i.value;a.filter(i.value,true)};this.keyDownHandler=function(t){if(t.key==="Escape"){a.clear()}if(t.key==="Enter"){t.preventDefault()}};this.clear=function(){a.value="";a.filter("",true);a.setFocus()}}t.prototype.watchItemsHandler=function(){this.filter(this.value)};t.prototype.valueHandler=function(t){this.filter(t)};t.prototype.componentDidRender=function(){l(this)};t.prototype.componentWillLoad=function(){this.filter(this.value)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){o(this.textInput);return[2]}))}))};t.prototype.updateFiltered=function(t,i){if(i===void 0){i=false}this.filteredItems.length=0;this.filteredItems=this.filteredItems.concat(t);if(i){this.calciteFilterChange.emit()}};t.prototype.render=function(){var t=this;var i=this,e=i.disabled,r=i.scale;return a(n,null,a("div",{class:m.container},a("label",null,a("calcite-input",{"aria-label":this.intlLabel||u.filterLabel,clearable:true,disabled:e,icon:f.search,intlClear:this.intlClear||u.clear,onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:function(i){t.textInput=i},scale:r,type:"text",value:this.value}))))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{items:["watchItemsHandler"],value:["valueHandler"]}},enumerable:false,configurable:true});return t}());b.style=p}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
System.register(["./p-c1839811.system.js","./p-94765679.system.js"],(function(t){"use strict";var i,a,e,n,o;return{setters:[function(t){i=t.r;a=t.c;e=t.h;n=t.g},function(t){o=t.u}],execute:function(){var r={container:"split-button__container",dividerContainer:"split-button__divider-container",divider:"split-button__divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"};var c="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:inline-block}:host .split-button__container{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host([appearance=solid]):host([color=blue]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=red]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=solid]):host([color=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=solid]):host([color=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=clear]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=clear]):host([color=blue]),:host([appearance=outline]):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=clear]):host([color=red]),:host([appearance=outline]):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=clear]):host([color=neutral]),:host([appearance=outline]):host([color=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=clear]):host([color=inverse]),:host([appearance=outline]):host([color=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:-ms-flexbox;display:flex;inline-size:1px;-ms-flex-align:stretch;align-items:stretch;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline]) .split-button__divider-container,:host([appearance=clear]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline]):hover .split-button__divider-container,:host([appearance=clear]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:hover) .split-button__divider-container,:host([appearance=clear]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline]:focus-within):host([color=blue]),:host([appearance=clear]:focus-within):host([color=blue]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline]:focus-within):host([color=red]),:host([appearance=clear]:focus-within):host([color=red]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline]:focus-within) .split-button__divider-container,:host([appearance=clear]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";var l=t("calcite_split_button",function(){function t(t){var e=this;i(this,t);this.calciteSplitButtonPrimaryClick=a(this,"calciteSplitButtonPrimaryClick",6);this.calciteSplitButtonSecondaryClick=a(this,"calciteSplitButtonSecondaryClick",6);this.appearance="solid";this.color="blue";this.disabled=false;this.active=false;this.dropdownIconType="chevron";this.loading=false;this.overlayPositioning="absolute";this.scale="m";this.width="auto";this.calciteSplitButtonPrimaryClickHandler=function(t){return e.calciteSplitButtonPrimaryClick.emit(t)};this.calciteSplitButtonSecondaryClickHandler=function(t){return e.calciteSplitButtonSecondaryClick.emit(t)}}t.prototype.handleDisabledChange=function(t){if(!t){this.active=false}};t.prototype.activeHandler=function(){if(this.disabled){this.active=false}};t.prototype.componentDidRender=function(){o(this)};t.prototype.render=function(){var t;var i=(t={},t[r.container]=true,t[r.widthAuto]=this.width==="auto",t[r.widthHalf]=this.width==="half",t[r.widthFull]=this.width==="full",t);var a=this.width==="auto"?"auto":"full";return e("div",{class:i},e("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:a},this.primaryText),e("div",{class:r.dividerContainer},e("div",{class:r.divider})),e("calcite-dropdown",{active:this.active,disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},e("calcite-button",{appearance:this.appearance,color:this.color,disabled:this.disabled,"icon-start":this.dropdownIcon,label:this.dropdownLabel,scale:this.scale,slot:"dropdown-trigger",splitChild:"secondary",type:"button"}),e("slot",null)))};Object.defineProperty(t.prototype,"dropdownIcon",{get:function(){return this.dropdownIconType==="chevron"?"chevronDown":this.dropdownIconType==="caret"?"caretDown":this.dropdownIconType==="ellipsis"?"ellipsis":"handle-vertical"},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}},enumerable:false,configurable:true});return t}());l.style=c}}}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
const o={menuActions:"menu-actions",menuTooltip:"menu-tooltip"},e={more:"More"},n={menu:"ellipsis"};export{n as I,o as S,e as T}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
5
|
*/
|
|
6
6
|
const e="calcite";let t,n,l=!1,s=!1;const o="undefined"!=typeof window?window:{},i=o.document||{head:{}},c={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},r=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),u=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=$(e,n),i=f(t,s),r=d(n);c.ael(o,l,i,r),(t.o=t.o||[]).push((()=>c.rel(o,l,i,r)))}))},f=(e,t)=>n=>{try{256&e.t?e.i[t](n):(e.u=e.u||[]).push([t,n])}catch(e){fe(e)}},$=(e,t)=>4&t?i:8&t?o:16&t?i.body:e,d=e=>0!=(2&e),h="http://www.w3.org/1999/xlink",y=new WeakMap,m=(e,t,n)=>{let l=he.get(e);a&&n?(l=l||new CSSStyleSheet,l.replace(t)):l=t,he.set(e,l)},p=(e,t)=>{let n=w(t);const l=he.get(n);if(e=11===e.nodeType?e:i,l)if("string"==typeof l){let t,s=y.get(e=e.head||e);s||y.set(e,s=new Set),s.has(n)||(e.host&&(t=e.querySelector(`[sty-id="${n}"]`))?t.innerHTML=l:(t=i.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link"))),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},w=e=>"sc-"+e.$,b=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),g={},v=e=>"object"==(e=typeof e)||"function"===e,k=(e,t,...n)=>{let l=null,s=null,o=!1,i=!1;const c=[],r=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?r(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof e&&!v(l))&&(l+=""),o&&i?c[c.length-1].h+=l:c.push(o?j(null,l):l),i=o)};if(r(n),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,x);const a=j(e,null);return a.m=t,c.length>0&&(a.p=c),a.g=s,a},j=(e,t)=>({t:0,v:e,h:t,k:null,p:null,m:null,g:null}),S={},x={forEach:(e,t)=>e.map(O).forEach(t),map:(e,t)=>e.map(O).map(t).map(M)},O=e=>({vattrs:e.m,vchildren:e.p,vkey:e.g,vname:e.j,vtag:e.v,vtext:e.h}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),k(e.vtag,t,...e.vchildren||[])}const t=j(e.vtag,e.vtext);return t.m=e.vattrs,t.p=e.vchildren,t.g=e.vkey,t.j=e.vname,t},C=(e,t,n,l,s,i)=>{if(n!==l){let r=ue(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,s=P(n),o=P(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=v(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(c?e.removeAttributeNS(h,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,c?e.setAttributeNS(h,t,l):e.setAttribute(t,l))}else t="-"===t[2]?t.slice(3):ue(o,a)?a.slice(2):a[2]+t.slice(3),n&&c.rel(e,t,n,!1),l&&c.ael(e,t,l,!1)}},L=/\s/,P=e=>e?e.split(L):[],R=(e,t,n,l)=>{const s=11===t.k.nodeType&&t.k.host?t.k.host:t.k,o=e&&e.m||g,i=t.m||g;for(l in o)l in i||C(s,l,o[l],void 0,n,t.t);for(l in i)C(s,l,o[l],i[l],n,t.t)},E=(e,n,s)=>{const o=n.p[s];let c,r,a=0;if(null!==o.h)c=o.k=i.createTextNode(o.h);else{if(l||(l="svg"===o.v),c=o.k=i.createElementNS(l?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),l&&"foreignObject"===o.v&&(l=!1),R(null,o,l),null!=t&&c["s-si"]!==t&&c.classList.add(c["s-si"]=t),o.p)for(a=0;a<o.p.length;++a)r=E(e,o,a),r&&c.appendChild(r);"svg"===o.v?l=!1:"foreignObject"===c.tagName&&(l=!0)}return c},I=(e,t,l,s,o,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);o<=i;++o)s[o]&&(c=E(null,l,o),c&&(s[o].k=c,r.insertBefore(c,t)))},N=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.k,T(l),s.remove())},W=(e,t)=>e.v===t.v&&e.g===t.g,F=(e,t)=>{const n=t.k=e.k,s=e.p,o=t.p,i=t.v,c=t.h;null===c?(l="svg"===i||"foreignObject"!==i&&l,"slot"===i||R(e,t,l),null!==s&&null!==o?((e,t,n,l)=>{let s,o,i=0,c=0,r=0,a=0,u=t.length-1,f=t[0],$=t[u],d=l.length-1,h=l[0],y=l[d];for(;i<=u&&c<=d;)if(null==f)f=t[++i];else if(null==$)$=t[--u];else if(null==h)h=l[++c];else if(null==y)y=l[--d];else if(W(f,h))F(f,h),f=t[++i],h=l[++c];else if(W($,y))F($,y),$=t[--u],y=l[--d];else if(W(f,y))F(f,y),e.insertBefore(f.k,$.k.nextSibling),f=t[++i],y=l[--d];else if(W($,h))F($,h),e.insertBefore($.k,f.k),$=t[--u],h=l[++c];else{for(r=-1,a=i;a<=u;++a)if(t[a]&&null!==t[a].g&&t[a].g===h.g){r=a;break}r>=0?(o=t[r],o.v!==h.v?s=E(t&&t[c],n,r):(F(o,h),t[r]=void 0,s=o.k),h=l[++c]):(s=E(t&&t[c],n,c),h=l[++c]),s&&f.k.parentNode.insertBefore(s,f.k)}i>u?I(e,null==l[d+1]?null:l[d+1].k,n,l,c,d):c>d&&N(t,i,u)})(n,s,t,o):null!==o?(null!==e.h&&(n.textContent=""),I(n,null,t,o,0,o.length-1)):null!==s&&N(s,0,s.length-1),l&&"svg"===i&&(l=!1)):e.h!==c&&(n.data=c)},T=e=>{e.m&&e.m.ref&&e.m.ref(null),e.p&&e.p.map(T)},U=e=>ce(e).S,A=(e,t,n)=>{const l=U(e);return{emit:e=>D(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},D=(e,t,n)=>{const l=c.ce(t,n);return e.dispatchEvent(l),l},H=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},q=(e,t)=>{if(e.t|=16,!(4&e.t))return H(e,e.M),ve((()=>V(e,t)));e.t|=512},V=(e,t)=>{const n=e.i;let l;return t&&(e.t|=256,e.u&&(e.u.map((([e,t])=>K(n,e,t))),e.u=null),l=K(n,"componentWillLoad")),l=Q(l,(()=>K(n,"componentWillRender"))),Q(l,(()=>_(e,n,t)))},_=async(e,t,n)=>{const l=e.S,s=l["s-rc"];n&&(e=>{const t=e.C,n=e.S,l=t.t,s=p(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);z(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>B(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},z=(e,l)=>{try{l=l.render(),e.t&=-17,e.t|=2,((e,l)=>{const s=e.S,o=e.C,i=e.L||j(null,null),c=(e=>e&&e.v===S)(l)?l:k(null,null,l);n=s.tagName,o.P&&(c.m=c.m||{},o.P.map((([e,t])=>c.m[t]=s[e]))),c.v=null,c.t|=4,e.L=c,c.k=i.k=s.shadowRoot||s,t=s["s-sc"],F(i,c)})(e,l)}catch(t){fe(t,e.S)}return null},B=e=>{const t=e.S,n=e.i,l=e.M;K(n,"componentDidRender"),64&e.t||(e.t|=64,X(t),K(n,"componentDidLoad"),e.R(t),l||J()),e.I(t),e.O&&(e.O(),e.O=void 0),512&e.t&&ge((()=>q(e,!1))),e.t&=-517},G=e=>{{const t=ce(e),n=t.S.isConnected;return n&&2==(18&t.t)&&q(t,!1),n}},J=()=>{X(i.documentElement),ge((()=>D(o,"appload",{detail:{namespace:"calcite"}})))},K=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){fe(e)}},Q=(e,t)=>e&&e.then?e.then(t):t(),X=e=>e.setAttribute("calcite-hydrated",""),Y=(e,t,n,l,s,o,c)=>{let r,a,u,f;if(1===o.nodeType){for(r=o.getAttribute("c-id"),r&&(a=r.split("."),a[0]!==c&&"0"!==a[0]||(u={t:0,N:a[0],W:a[1],F:a[2],T:a[3],v:o.tagName.toLowerCase(),k:o,m:null,p:null,g:null,j:null,h:null},t.push(u),o.removeAttribute("c-id"),e.p||(e.p=[]),e.p[u.T]=u,e=u,l&&"0"===u.F&&(l[u.T]=u.k))),f=o.childNodes.length-1;f>=0;f--)Y(e,t,n,l,s,o.childNodes[f],c);if(o.shadowRoot)for(f=o.shadowRoot.childNodes.length-1;f>=0;f--)Y(e,t,n,l,s,o.shadowRoot.childNodes[f],c)}else if(8===o.nodeType)a=o.nodeValue.split("."),a[1]!==c&&"0"!==a[1]||(r=a[0],u={t:0,N:a[1],W:a[2],F:a[3],T:a[4],k:o,m:null,p:null,g:null,j:null,v:null,h:null},"t"===r?(u.k=o.nextSibling,u.k&&3===u.k.nodeType&&(u.h=u.k.textContent,t.push(u),o.remove(),e.p||(e.p=[]),e.p[u.T]=u,l&&"0"===u.F&&(l[u.T]=u.k))):u.N===c&&("s"===r?(u.v="slot",o["s-sn"]=a[5]?u.j=a[5]:"",o["s-sr"]=!0,l&&(u.k=i.createElement(u.v),u.j&&u.k.setAttribute("name",u.j),o.parentNode.insertBefore(u.k,o),o.remove(),"0"===u.F&&(l[u.T]=u.k)),n.push(u),e.p||(e.p=[]),e.p[u.T]=u):"r"===r&&l&&o.remove()));else if(e&&"style"===e.v){const t=j(null,o.textContent);t.k=o,t.T="0",e.p=[t]}},Z=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)Z(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)Z(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},ee=(e,t,n)=>{if(t.U){e.watchers&&(t.A=e.watchers);const l=Object.entries(t.U),s=e.prototype;if(l.map((([e,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(s,e,{get(){return((e,t)=>ce(this).D.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=ce(e),o=s.S,i=s.D.get(t),c=s.t,r=s.i;if(n=((e,t)=>null==e||v(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(n,l.U[t][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(t,n),r)){if(l.A&&128&c){const e=l.A[t];e&&e.map((e=>{try{r[e](n,i,t)}catch(e){fe(e,o)}}))}if(2==(18&c)){if(r.componentShouldUpdate&&!1===r.componentShouldUpdate(n,i,t))return;q(s,!1)}}})(this,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(s,e,{value(...t){const n=ce(this);return n.H.then((()=>n.i[e](...t)))}})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){c.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.P.push([e,s]),s}))}}return e},te=e=>{K(e,"connectedCallback")},ne=e=>{if(0==(1&c.t)){const t=ce(e),n=t.C,l=()=>{};if(1&t.t)u(e,t,n.q),te(t.i);else{let l;if(t.t|=1,l=e.getAttribute("s-id"),l){if(1&n.t){const t=p(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const s=e.shadowRoot,o=[],r=s?[]:null,a=l.L=j(t,null);c.V||Z(i.body,c.V=new Map),e["s-id"]=n,e.removeAttribute("s-id"),Y(a,o,[],r,e,e,n),o.map((e=>{const n=e.N+"."+e.W,l=c.V.get(n),o=e.k;l&&""===l["s-en"]&&l.parentNode.insertBefore(o,l.nextSibling),s||(o["s-hn"]=t,l&&(o["s-ol"]=l,o["s-ol"]["s-nr"]=o)),c.V.delete(n)})),s&&r.map((e=>{e&&s.appendChild(e)}))})(e,n.$,l,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){H(t,t.M=n);break}}n.U&&Object.entries(n.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.t)){{if(t.t|=32,(s=de(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.A=s.watchers,ee(s,n,2),s.isProxied=!0);const e=()=>{};t.t|=8;try{new s(t)}catch(e){fe(e)}t.t&=-9,t.t|=128,e(),te(t.i)}if(s.style){let e=s.style;const t=w(n);if(!he.has(t)){const l=()=>{};m(t,e,!!(1&n.t)),l()}}}const o=t.M,i=()=>q(t,!0);o&&o["s-rc"]?o["s-rc"].push(i):i()})(0,t,n)}l()}},le=(e,t={})=>{const n=[],l=t.exclude||[],s=o.customElements,r=i.head,a=r.querySelector("meta[charset]"),u=i.createElement("style"),f=[],$=i.querySelectorAll("[sty-id]");let d,h=!0,y=0;for(Object.assign(c,t),c.l=new URL(t.resourcesUrl||"./",i.baseURI).href,c.t|=2;y<$.length;y++)m($[y].getAttribute("sty-id"),b($[y].innerHTML),!0);e.map((e=>{e[1].map((t=>{const o={t:t[0],$:t[1],U:t[2],q:t[3]};o.U=t[2],o.q=t[3],o.P=[],o.A={};const i=o.$,r=class extends HTMLElement{constructor(e){super(e),ae(e=this,o),1&o.t&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),h?f.push(this):c.jmp((()=>ne(this)))}disconnectedCallback(){c.jmp((()=>(()=>{if(0==(1&c.t)){const e=ce(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),K(t,"disconnectedCallback")}})()))}componentOnReady(){return ce(this)._}};o.B=e[0],l.includes(i)||s.get(i)||(n.push(i),s.define(i,ee(r,o,1)))}))})),u.innerHTML=n+"{visibility:hidden}[calcite-hydrated]{visibility:inherit}",u.setAttribute("data-styles",""),r.insertBefore(u,a?a.nextSibling:r.firstChild),h=!1,f.length?f.map((e=>e.connectedCallback())):c.jmp((()=>d=setTimeout(J,30)))},se=e=>{const t=new URL(e,c.l);return t.origin!==o.location.origin?t.href:t.pathname},oe=(e,t)=>t,ie=new WeakMap,ce=e=>ie.get(e),re=(e,t)=>ie.set(t.i=e,t),ae=(e,t)=>{const n={t:0,S:e,C:t,D:new Map};return n.H=new Promise((e=>n.I=e)),n._=new Promise((e=>n.R=e)),e["s-p"]=[],e["s-rc"]=[],u(e,n,t.q),ie.set(e,n)},ue=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),$e=new Map,de=e=>{const t=e.$.replace(/-/g,"_"),n=e.B,l=$e.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>($e.set(n,e),e[t])),fe)
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},he=new Map,ye=[],me=[],pe=(e,t)=>n=>{e.push(n),s||(s=!0,t&&4&c.t?ge(be):c.raf(be))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},be=()=>{we(ye),we(me),(s=ye.length>0)&&c.raf(be)},ge=e=>r().then(e),ve=pe(me,!0);export{oe as F,S as H,e as N,se as a,le as b,A as c,i as d,G as f,U as g,k as h,r as p,re as r}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,i,e,a){function n(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,o){function r(t){try{s(a.next(t))}catch(t){o(t)}}function l(t){try{s(a["throw"](t))}catch(t){o(t)}}function s(t){t.done?e(t.value):n(t.value).then(r,l)}s((a=a.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,n,o,r;return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(t){return function(i){return s([t,i])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(e)try{if(a=1,n&&(o=r[0]&2?n["return"]:r[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,r[1])).done)return o;if(n=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:e.label++;return{value:r[1],done:false};case 5:e.label++;n=r[1];r=[0];continue;case 7:r=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){e.label=r[1];break}if(r[0]===6&&e.label<o[1]){e.label=o[1];o=r;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(r);break}if(o[2])e.ops.pop();e.trys.pop();continue}r=i.call(t,e)}catch(t){r=[6,t];n=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
+
* v1.0.0-beta.91
|
|
6
|
+
*/System.register(["./p-c1839811.system.js","./p-ad7f17d7.system.js","./p-e9e89c12.system.js","./p-23e60c37.system.js","./p-19c2f634.system.js","./p-e28fc860.system.js","./p-5d7bc59a.system.js"],(function(t){"use strict";var i,e,a,n,o,r,l,s,c,d,m,u,f,p;return{setters:[function(t){i=t.r;e=t.c;a=t.h;n=t.H;o=t.g},function(t){r=t.f;l=t.g;s=t.e;c=t.i},function(t){d=t.c},function(t){m=t.c;u=t.d},function(t){f=t.c;p=t.d},function(){},function(){}],execute:function(){function b(t,i,e,a,n){if(a===void 0){a=20}if(n===void 0){n=0}var o=[];if(n>=a){return o}var r=function(t){var o=t.assignedNodes().filter((function(t){return t.nodeType===1}));if(o.length>0){return b(o[0].parentElement,i,e,a,n+1)}return[]};var l=Array.from(t.children||[]);for(var s=0,c=l;s<c.length;s++){var d=c[s];if(i(d)){continue}if(e(d)){o.push(d)}if(d.shadowRoot!=null){o.push.apply(o,b(d.shadowRoot,i,e,a,n+1))}else if(d.tagName==="SLOT"){o.push.apply(o,r(d))}else{o.push.apply(o,b(d,i,e,a,n+1))}}return o}function h(t){return t.hasAttribute("hidden")||t.hasAttribute("aria-hidden")&&t.getAttribute("aria-hidden")!=="false"||t.style.display==="none"||t.style.opacity==="0"||t.style.visibility==="hidden"||t.style.visibility==="collapse"}function v(t){return t.hasAttribute("disabled")||t.hasAttribute("aria-disabled")&&t.getAttribute("aria-disabled")!=="false"}function g(t){if(t.getAttribute("tabindex")==="-1"||h(t)||v(t)){return false}return t.hasAttribute("tabindex")||(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof HTMLButtonElement||t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)||t instanceof HTMLIFrameElement}var x={modal:"modal",title:"title",header:"header",footer:"footer",scrim:"scrim",back:"back",close:"close",secondary:"secondary",primary:"primary",overflowHidden:"overflow-hidden",openingIdle:"modal--opening-idle",openingActive:"modal--opening-active",closingIdle:"modal--closing-idle",closingActive:"modal--closing-active"};var w={close:"x"};var y={content:"content",header:"header",back:"back",secondary:"secondary",primary:"primary"};var k={close:"Close"};var z="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:fixed;inset:0px;z-index:700;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1);--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0);--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1);--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;inset:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}.modal--opening-active{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-idle{-webkit-transform:var(--calcite-modal-shown-position);transform:var(--calcite-modal-shown-position)}.modal--closing-active{-webkit-transform:var(--calcite-modal-hidden-position);transform:var(--calcite-modal-hidden-position)}:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{z-index:400;display:-ms-flexbox;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-inline-size:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding-block:var(--calcite-modal-padding, var(--calcite-model-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text, var(--calcite-modal-title-text-internal))}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;block-size:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-block-size:calc(100vh - 12rem)}.content--spaced{padding:var(--calcite-modal-padding)}.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text, var(--calcite-modal-context-text-internal))}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{z-index:400;-webkit-margin-before:auto;margin-block-start:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-pack:justify;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding-block:var(--calcite-modal-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-padding-large, var(--calcite-modal-padding-large-internal))}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width=s]) .modal{max-inline-size:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-inline-size:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-inline-size:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-block-size:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([open][fullscreen]) .header{border-radius:0}:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{block-size:auto}:host([docked]) .content{block-size:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;-webkit-margin-after:0.25rem;margin-block-end:0.25rem}}";var E=function(t){return c(t)||g(t)};var C=function(t){return b(t,h,E)};var _=t("calcite_modal",function(){function t(t){var a=this;i(this,t);this.calciteModalBeforeClose=e(this,"calciteModalBeforeClose",6);this.calciteModalClose=e(this,"calciteModalClose",6);this.calciteModalBeforeOpen=e(this,"calciteModalBeforeOpen",6);this.calciteModalOpen=e(this,"calciteModalOpen",6);this.active=false;this.open=false;this.beforeClose=function(){return Promise.resolve()};this.disableCloseButton=false;this.disableOutsideClose=false;this.intlClose=k.close;this.disableEscape=false;this.scale="m";this.width="m";this.backgroundColor="white";this.noPadding=false;this.hasFooter=true;this.mutationObserver=d("mutation",(function(){return a.updateFooterVisibility()}));this.openTransitionProp="opacity";this.setTransitionEl=function(t){a.transitionEl=t;f(a)};this.openEnd=function(){a.setFocus();a.el.removeEventListener("calciteModalOpen",a.openEnd)};this.handleOutsideClose=function(){if(a.disableOutsideClose){return}a.close()};this.close=function(){return a.beforeClose(a.el).then((function(){a.open=false;r(a.previousActiveElement);a.removeOverflowHiddenClass()}))};this.focusFirstElement=function(){r(a.disableCloseButton?C(a.el)[0]:a.closeButtonEl)};this.focusLastElement=function(){var t=C(a.el).filter((function(t){return!t.getAttribute("data-focus-fence")}));if(t.length>0){r(t[t.length-1])}else{r(a.closeButtonEl)}};this.updateFooterVisibility=function(){a.hasFooter=!!l(a.el,[y.back,y.primary,y.secondary])}}t.prototype.componentWillLoad=function(){if(this.open){this.openModal()}};t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true});this.updateFooterVisibility();m(this);f(this);if(this.open){this.active=this.open}if(this.active){this.activeHandler(this.active)}};t.prototype.disconnectedCallback=function(){var t;this.removeOverflowHiddenClass();(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect();u(this);p(this)};t.prototype.render=function(){var t=this;return a(n,{"aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},a("calcite-scrim",{class:x.scrim,onClick:this.handleOutsideClose}),this.renderStyle(),a("div",{class:x.modal,ref:this.setTransitionEl},a("div",{"data-focus-fence":true,onFocus:this.focusLastElement,tabindex:"0"}),a("div",{class:x.header},this.renderCloseButton(),a("header",{class:x.title},a("slot",{name:x.header}))),a("div",{class:{content:true,"content--spaced":!this.noPadding,"content--no-footer":!this.hasFooter},ref:function(i){return t.modalContent=i}},a("slot",{name:y.content})),this.renderFooter(),a("div",{"data-focus-fence":true,onFocus:this.focusFirstElement,tabindex:"0"})))};t.prototype.renderFooter=function(){return this.hasFooter?a("div",{class:x.footer,key:"footer"},a("span",{class:x.back},a("slot",{name:y.back})),a("span",{class:x.secondary},a("slot",{name:y.secondary})),a("span",{class:x.primary},a("slot",{name:y.primary}))):null};t.prototype.renderCloseButton=function(){var t=this;return!this.disableCloseButton?a("button",{"aria-label":this.intlClose,class:x.close,key:"button",onClick:this.close,ref:function(i){return t.closeButtonEl=i},title:this.intlClose},a("calcite-icon",{icon:w.close,scale:this.scale==="s"?"s":this.scale==="m"?"m":this.scale==="l"?"l":null})):null};t.prototype.renderStyle=function(){var t=!isNaN(parseInt("".concat(this.width)));return t?a("style",null,"\n .".concat(x.modal," {\n max-width: ").concat(this.width,"px !important;\n }\n @media screen and (max-width: ").concat(this.width,"px) {\n .").concat(x.modal," {\n height: 100% !important;\n max-height: 100% !important;\n width: 100% !important;\n max-width: 100% !important;\n margin: 0 !important;\n border-radius: 0 !important;\n }\n .content {\n flex: 1 1 auto !important;\n max-height: unset !important;\n }\n }\n ")):null};t.prototype.handleEscape=function(t){if(this.open&&!this.disableEscape&&t.key==="Escape"){this.close()}};t.prototype.focusElement=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){if(t){t.focus()}return[2,this.setFocus()]}))}))};t.prototype.setFocus=function(t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(e){i=this.closeButtonEl;return[2,r(t==="close-button"?i:C(this.el)[0]||i)]}))}))};t.prototype.scrollContent=function(t,i){if(t===void 0){t=0}if(i===void 0){i=0}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.modalContent){if(this.modalContent.scrollTo){this.modalContent.scrollTo({top:t,left:i,behavior:"smooth"})}else{this.modalContent.scrollTop=t;this.modalContent.scrollLeft=i}}return[2]}))}))};t.prototype.onBeforeOpen=function(){this.transitionEl.classList.add(x.openingActive);this.calciteModalBeforeOpen.emit()};t.prototype.onOpen=function(){this.transitionEl.classList.remove(x.openingIdle,x.openingActive);this.calciteModalOpen.emit()};t.prototype.onBeforeClose=function(){this.transitionEl.classList.add(x.closingActive);this.calciteModalBeforeClose.emit()};t.prototype.onClose=function(){this.transitionEl.classList.remove(x.closingIdle,x.closingActive);this.calciteModalClose.emit()};t.prototype.activeHandler=function(t){this.open=t};t.prototype.toggleModal=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e;return __generator(this,(function(a){this.active=t;if(t){(i=this.transitionEl)===null||i===void 0?void 0:i.classList.add(x.openingIdle);this.openModal()}else{(e=this.transitionEl)===null||e===void 0?void 0:e.classList.add(x.closingIdle);this.close()}return[2]}))}))};t.prototype.openModal=function(){this.previousActiveElement=document.activeElement;this.el.addEventListener("calciteModalOpen",this.openEnd);this.open=true;var t=l(this.el,y.header);var i=l(this.el,y.content);this.titleId=s(t);this.contentId=s(i);document.documentElement.classList.add(x.overflowHidden)};t.prototype.removeOverflowHiddenClass=function(){document.documentElement.classList.remove(x.overflowHidden)};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"],open:["toggleModal"]}},enumerable:false,configurable:true});return t}());_.style=z}}}));
|
|
@@ -2,6 +2,6 @@ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setP
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
* v1.0.0-beta.
|
|
5
|
+
* v1.0.0-beta.91
|
|
6
6
|
*/System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n=e("N","calcite");var a;var i;var l=false;var $=false;var o=typeof window!=="undefined"?window:{};var s=e("d",o.document||{head:{}});var f={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var u=true;var c=e("p",(function(e){return Promise.resolve(e)}));var v=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var d=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=p(e,n);var $=h(t,i);var o=m(n);f.ael(l,a,$,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return f.rel(l,a,$,o)}))}))}};var h=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){ze(e)}}};var p=function(e,t){if(t&4)return s;if(t&8)return o;if(t&16)return s.body;return e};var m=function(e){return(e&2)!==0};var g="r";var y="o";var b="s";var w="t";var N="s-id";var x="sty-id";var R="c-id";var S="{visibility:hidden}[calcite-hydrated]{visibility:inherit}";var _="http://www.w3.org/1999/xlink";var k=function(e,t){if(t===void 0){t=""}{return function(){return}}};var L=function(e,t){{return function(){return}}};var A=new WeakMap;var C=function(e,t,r){var n=Be.get(e);if(v&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Be.set(e,n)};var E=function(e,t,r,n){var a=j(t);var i=Be.get(a);e=e.nodeType===11?e:s;if(i){if(typeof i==="string"){e=e.head||e;var l=A.get(e);var $=void 0;if(!l){A.set(e,l=new Set)}if(!l.has(a)){if(e.host&&($=e.querySelector("[".concat(x,'="').concat(a,'"]')))){$.innerHTML=i}else{{$=s.createElement("style");$.innerHTML=i}e.insertBefore($,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var I=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=k("attachStyles",t.$tagName$);var i=E(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var j=function(e,t){return"sc-"+e.$tagName$};var T=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var P={};var M="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var z=function(e){return e!=null};var U=function(e){e=typeof e;return e==="object"||e==="function"};var q=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var $=false;var o=[];var s=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!U(a)){a=String(a)}if(l&&$){o[o.length-1].$text$+=a}else{o.push(l?B(null,a):a)}$=l}}};s(r);if(t){if(t.key){i=t.key}{var f=t.className||t.class;if(f){t.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,o,W)}var u=B(e,null);u.$attrs$=t;if(o.length>0){u.$children$=o}{u.$key$=i}return u}));var B=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var V=e("H",{});var H=function(e){return e&&e.$tag$===V};var W={forEach:function(e,t){return e.map(F).forEach(t)},map:function(e,t){return e.map(F).map(t).map(D)}};var F=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var D=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return q.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=B(e.vtag,e.vtext);r.$attrs$=e.vattrs;r.$children$=e.vchildren;r.$key$=e.vkey;r.$name$=e.vname;return r};var G=function(e,t,r,n,a,i){if(r!==n){var l=Oe(e,t);var $=t.toLowerCase();if(t==="class"){var s=e.classList;var u=K(r);var c=K(n);s.remove.apply(s,u.filter((function(e){return e&&!c.includes(e)})));s.add.apply(s,c.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(Oe(o,$)){t=$.slice(2)}else{t=$[2]+t.slice(3)}if(r){f.rel(e,t,r,false)}if(n){f.ael(e,t,n,false)}}else{var d=U(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var h=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=h){e[t]=h}}else{e[t]=n}}catch(e){}}var p=false;{if($!==($=$.replace(/^xlink\:?/,""))){t=$;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(_,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(p){e.setAttributeNS(_,t,n)}else{e.setAttribute(t,n)}}}}};var J=/\s/;var K=function(e){return!e?[]:e.split(J)};var Q=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||P;var l=t.$attrs$||P;{for(n in i){if(!(n in l)){G(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){G(a,n,i[n],l[n],r,t.$flags$)}};var X=function(e,t,r,n){var i=t.$children$[r];var $=0;var o;var f;if(i.$text$!==null){o=i.$elm$=s.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=s.createElementNS(l?M:O,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{Q(null,i,l)}if(z(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for($=0;$<i.$children$.length;++$){f=X(e,i,$);if(f){o.appendChild(f)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var Y=function(e,t,r,n,a,l){var $=e;var o;if($.shadowRoot&&$.tagName===i){$=$.shadowRoot}for(;a<=l;++a){if(n[a]){o=X(null,r,a);if(o){n[a].$elm$=o;$.insertBefore(o,t)}}}};var Z=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;ne(n);a.remove()}}};var ee=function(e,t,r,n){var a=0;var i=0;var l=0;var $=0;var o=t.length-1;var s=t[0];var f=t[o];var u=n.length-1;var c=n[0];var v=n[u];var d;var h;while(a<=o&&i<=u){if(s==null){s=t[++a]}else if(f==null){f=t[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--u]}else if(te(s,c)){re(s,c);s=t[++a];c=n[++i]}else if(te(f,v)){re(f,v);f=t[--o];v=n[--u]}else if(te(s,v)){re(s,v);e.insertBefore(s.$elm$,f.$elm$.nextSibling);s=t[++a];v=n[--u]}else if(te(f,c)){re(f,c);e.insertBefore(f.$elm$,s.$elm$);f=t[--o];c=n[++i]}else{l=-1;{for($=a;$<=o;++$){if(t[$]&&t[$].$key$!==null&&t[$].$key$===c.$key$){l=$;break}}}if(l>=0){h=t[l];if(h.$tag$!==c.$tag$){d=X(t&&t[i],r,l)}else{re(h,c);t[l]=undefined;d=h.$elm$}c=n[++i]}else{d=X(t&&t[i],r,i);c=n[++i]}if(d){{s.$elm$.parentNode.insertBefore(d,s.$elm$)}}}}if(a>o){Y(e,n[u+1]==null?null:n[u+1].$elm$,r,n,i,u)}else if(i>u){Z(t,a,o)}};var te=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var re=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var $=t.$text$;if($===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{Q(e,t,l)}}if(n!==null&&a!==null){ee(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}Y(r,null,t,a,0,a.length-1)}else if(n!==null){Z(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==$){r.data=$}};var ne=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(ne)}};var ae=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||B(null,null);var $=H(t)?t:q(null,null,t);i=r.tagName;if(n.$attrsToReflect$){$.$attrs$=$.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return $.$attrs$[n]=r[t]}))}$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}re(l,$)};var ie=e("g",(function(e){return Te(e).$hostElement$}));var le=e("c",(function(e,t,r){var n=ie(e);return{emit:function(e){return $e(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var $e=function(e,t,r){var n=f.ce(t,r);e.dispatchEvent(n);return n};var oe=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var se=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}oe(e,e.$ancestorComponent$);var r=function(){return fe(e,t)};return Je(r)};var fe=function(e,t){var r=k("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return pe(n,t,r)}));e.$queuedListeners$=null}}{a=pe(n,"componentWillLoad")}}{a=me(a,(function(){return pe(n,"componentWillRender")}))}r();return me(a,(function(){return ue(e,n,t)}))};var ue=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,$,o;return __generator(this,(function(s){r=e.$hostElement$;a=k("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){I(e)}l=k("render",e.$cmpMeta$.$tagName$);{ce(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{$=r["s-p"];o=function(){return ve(e)};if($.length===0){o()}else{Promise.all($).then(o);e.$flags$|=4;$.length=0}}return[2]}))}))};var ce=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ae(e,t)}}}}catch(t){ze(t,e.$hostElement$)}return null};var ve=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=k("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{pe(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{ge(r)}{pe(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){he()}}}else{n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){Ge((function(){return se(e,false)}))}e.$flags$&=~(4|512)}};var de=e("f",(function(e){{var t=Te(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){se(t,false)}return r}}));var he=function(e){{ge(s.documentElement)}Ge((function(){return $e(o,"appload",{detail:{namespace:n}})}))};var pe=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){ze(e)}}return undefined};var me=function(e,t){return e&&e.then?e.then(t):t()};var ge=function(e){return e.setAttribute("calcite-hydrated","")};var ye=function(e,t,r,n){var a=k("hydrateClient",t);var i=e.shadowRoot;var l=[];var $=[];var o=i?[]:null;var c=n.$vnode$=B(t,null);if(!f.$orgLocNodes$){we(s.body,f.$orgLocNodes$=new Map)}e[N]=r;e.removeAttribute(N);be(c,l,$,o,e,e,r);l.map((function(e){var r=e.$hostId$+"."+e.$nodeId$;var n=f.$orgLocNodes$.get(r);var a=e.$elm$;if(n&&u&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}f.$orgLocNodes$.delete(r)}));if(i){o.map((function(e){if(e){i.appendChild(e)}}))}a()};var be=function(e,t,r,n,a,i,l){var $;var o;var f;var u;if(i.nodeType===1){$=i.getAttribute(R);if($){o=$.split(".");if(o[0]===l||o[0]==="0"){f={$flags$:0,$hostId$:o[0],$nodeId$:o[1],$depth$:o[2],$index$:o[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(f);i.removeAttribute(R);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;e=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}for(u=i.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.childNodes[u],l)}if(i.shadowRoot){for(u=i.shadowRoot.childNodes.length-1;u>=0;u--){be(e,t,r,n,a,i.shadowRoot.childNodes[u],l)}}}else if(i.nodeType===8){o=i.nodeValue.split(".");if(o[1]===l||o[1]==="0"){$=o[0];f={$flags$:0,$hostId$:o[1],$nodeId$:o[2],$depth$:o[3],$index$:o[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if($===w){f.$elm$=i.nextSibling;if(f.$elm$&&f.$elm$.nodeType===3){f.$text$=f.$elm$.textContent;t.push(f);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f;if(n&&f.$depth$==="0"){n[f.$index$]=f.$elm$}}}else if(f.$hostId$===l){if($===b){f.$tag$="slot";if(o[5]){i["s-sn"]=f.$name$=o[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){f.$elm$=s.createElement(f.$tag$);if(f.$name$){f.$elm$.setAttribute("name",f.$name$)}i.parentNode.insertBefore(f.$elm$,i);i.remove();if(f.$depth$==="0"){n[f.$index$]=f.$elm$}}r.push(f);if(!e.$children$){e.$children$=[]}e.$children$[f.$index$]=f}else if($===g){if(n){i.remove()}}}}}else if(e&&e.$tag$==="style"){var c=B(null,i.textContent);c.$elm$=i;c.$index$="0";e.$children$=[c]}};var we=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){we(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){we(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===y){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var Ne=function(e,t){if(e!=null&&!U(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var xe=function(e,t){return Te(e).$instanceValues$.get(t)};var Re=function(e,t,r,n){var a=Te(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var $=a.$flags$;var o=a.$lazyInstance$;r=Ne(r,n.$members$[t][0]);var s=Number.isNaN(l)&&Number.isNaN(r);var f=r!==l&&!s;if((!($&8)||l===undefined)&&f){a.$instanceValues$.set(t,r);if(o){if(n.$watchers$&&$&128){var u=n.$watchers$[t];if(u){u.map((function(e){try{o[e](r,l,t)}catch(e){ze(e,i)}}))}}if(($&(2|16))===2){if(o.componentShouldUpdate){if(o.componentShouldUpdate(r,l,t)===false){return}}se(a,false)}}}};var Se=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return xe(this,n)},set:function(e){Re(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=Te(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;f.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var _e=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,$,o,s;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=qe(n);if(!i.then)return[3,2];e=L();return[4,i];case 1:i=f.sent();e();f.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}Se(i,n,2);i.isProxied=true}r=k("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){ze(e)}{t.$flags$&=~8}{t.$flags$|=128}r();ke(t.$lazyInstance$);if(i.style){a=i.style;l=j(n);if(!Be.has(l)){$=k("registerStyles",n.$tagName$);C(l,a,!!(n.$flags$&1));$()}}f.label=3;case 3:o=t.$ancestorComponent$;s=function(){return se(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(s)}else{s()}return[2]}}))}))};var ke=function(e){{pe(e,"connectedCallback")}};var Le=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$cmpMeta$;var n=k("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;var a=void 0;{a=e.getAttribute(N);if(a){if(r.$flags$&1){var i=E(e.shadowRoot,r);e.classList.remove(i+"-h",i+"-s")}ye(e,r.$tagName$,a,t)}}{var l=e;while(l=l.parentNode||l.host){if(l.nodeType===1&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){oe(t,t.$ancestorComponent$=l);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{_e(e,t,r)}}else{d(e,t,r.$listeners$);ke(t.$lazyInstance$)}n()}};var Ae=function(e){if((f.$flags$&1)===0){var t=Te(e);var r=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{pe(r,"disconnectedCallback")}}};var Ce=e("b",(function(e,t){if(t===void 0){t={}}var r=k();var n=[];var a=t.exclude||[];var i=o.customElements;var l=s.head;var $=l.querySelector("meta[charset]");var u=s.createElement("style");var c=[];var v=s.querySelectorAll("[".concat(x,"]"));var d;var h=true;var p=0;Object.assign(f,t);f.$resourcesUrl$=new URL(t.resourcesUrl||"./",s.baseURI).href;{f.$flags$|=2}{for(;p<v.length;p++){C(v[p].getAttribute(x),T(v[p].innerHTML),true)}}e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var $=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Me(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{f.jmp((function(){return Le(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;f.jmp((function(){return Ae(e)}))};t.prototype.componentOnReady=function(){return Te(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,Se($,r,1))}}))}));{u.innerHTML=n+S;u.setAttribute("data-styles","");l.insertBefore(u,$?$.nextSibling:l.firstChild)}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{f.jmp((function(){return d=setTimeout(he,30)}))}}r()}));var Ee=e("a",(function(e){var t=new URL(e,f.$resourcesUrl$);return t.origin!==o.location.origin?t.href:t.pathname}));var Ie=e("F",(function(e,t){return t}));var je=new WeakMap;var Te=function(e){return je.get(e)};var Pe=e("r",(function(e,t){return je.set(t.$lazyInstance$=e,t)}));var Me=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}d(e,r,t.$listeners$);return je.set(e,r)};var Oe=function(e,t){return t in e};var ze=function(e,t){return(0,console.error)(e,t)};var Ue=new Map;var qe=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Ue.get(i);if(l){return l[a]}
|
|
7
7
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{Ue.set(i,e)}return e[a]}),ze)};var Be=new Map;var Ve=[];var He=[];var We=function(e,t){return function(r){e.push(r);if(!$){$=true;if(t&&f.$flags$&4){Ge(De)}else{f.raf(De)}}}};var Fe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){ze(e)}}e.length=0};var De=function(){Fe(Ve);{Fe(He);if($=Ve.length>0){f.raf(De)}}};var Ge=function(e){return c().then(e)};var Je=We(He,true)}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
import{a as r,S as t,i as n,b as e,c as o,r as u,f}from"./p-5eb7bb03.js";var c=Array.isArray,i=t?t.prototype:void 0,a=i?i.toString:void 0;function l(t){if("string"==typeof t)return t;if(c(t))return function(r,t){for(var n=-1,e=null==r?0:r.length,o=Array(e);++n<e;)o[n]=t(r[n],n,r);return o}(t,l)+"";if(r(t))return a?a.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}function s(r){return r}var v=/^(?:0|[1-9]\d*)$/;function b(r,t){var n=typeof r;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&v.test(r))&&r>-1&&r%1==0&&r<t}function p(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}var y=Object.prototype;function d(r){return o(r)&&"[object Arguments]"==e(r)}var j=Object.prototype,m=j.hasOwnProperty,x=j.propertyIsEnumerable,g=d(function(){return arguments}())?d:function(r){return o(r)&&m.call(r,"callee")&&!x.call(r,"callee")},O="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=O&&"object"==typeof module&&module&&!module.nodeType&&module,A=h&&h.exports===O?u.Buffer:void 0,F=(A?A.isBuffer:void 0)||function(){return!1},$={};$["[object Float32Array]"]=$["[object Float64Array]"]=$["[object Int8Array]"]=$["[object Int16Array]"]=$["[object Int32Array]"]=$["[object Uint8Array]"]=$["[object Uint8ClampedArray]"]=$["[object Uint16Array]"]=$["[object Uint32Array]"]=!0,$["[object Arguments]"]=$["[object Array]"]=$["[object ArrayBuffer]"]=$["[object Boolean]"]=$["[object DataView]"]=$["[object Date]"]=$["[object Error]"]=$["[object Function]"]=$["[object Map]"]=$["[object Number]"]=$["[object Object]"]=$["[object RegExp]"]=$["[object Set]"]=$["[object String]"]=$["[object WeakMap]"]=!1;var w,E="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=E&&"object"==typeof module&&module&&!module.nodeType&&module,S=R&&R.exports===E&&f.process,k=function(){try{return R&&R.require&&R.require("util").types||S&&S.binding&&S.binding("util")}catch(r){}}(),G=k&&k.isTypedArray,L=G?(w=G,function(r){return w(r)}):function(r){return o(r)&&p(r.length)&&!!$[e(r)]},N=Object.prototype.hasOwnProperty;var P=Object.prototype.hasOwnProperty;function T(r){return null!=(t=r)&&p(t.length)&&!function(r){if(!n(r))return!1;var t=e(r);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(t)?function(r,t){var n=c(r),e=!n&&g(r),o=!n&&!e&&F(r),u=!n&&!e&&!o&&L(r),f=n||e||o||u,i=f?function(r,t){for(var n=-1,e=Array(r);++n<r;)e[n]=t(n);return e}(r.length,String):[],a=i.length;for(var l in r)!t&&!N.call(r,l)||f&&("length"==l||o&&("offset"==l||"parent"==l)||u&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||b(l,a))||i.push(l);return i}(r,!0):function(r){if(!n(r))return function(r){var t=[];if(null!=r)for(var n in Object(r))t.push(n);return t}(r);var t,e,o=(t=r)===("function"==typeof(e=t&&t.constructor)&&e.prototype||y),u=[];for(var f in r)("constructor"!=f||!o&&P.call(r,f))&&u.push(f);return u}(r);var t}var q=/[\\^$.*+?()[\]{}|]/g,z=RegExp(q.source);function B(r,t){return null==r?r:function(r,t,n){for(var e=-1,o=Object(r),u=n(r),f=u.length;f--;){var c=u[++e];if(!1===t(o[c],c,o))break}return r}(r,"function"==typeof(n=t)?n:s,T);var n}const C=(r,t)=>{const n=function(r){var t;return(r=null==(t=r)?"":l(t))&&z.test(r)?r.replace(q,"\\$&"):r}(t),e=new RegExp(n,"i");0===r.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const o=(r,t)=>{var n,e;if((null===(n=r)||void 0===n?void 0:n.constant)||(null===(e=r)||void 0===e?void 0:e.filterDisabled))return!0;let u=!1;return B(r,(r=>{"function"!=typeof r&&null!=r&&(Array.isArray(r)||"object"==typeof r&&null!==r?o(r,t)&&(u=!0):t.test(r)&&(u=!0))})),u};return r.filter((r=>o(r,e)))};export{C as f}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,h as i,H as a,g as e}from"./p-be00e22e.js";import{g as n}from"./p-a189654d.js";import{b as o,c as r,a as s,p as c,F as l}from"./p-2cc54080.js";import{q as m,t as f}from"./p-02c2ce31.js";import"./p-bb45b137.js";const p=new class{constructor(){this.registeredElements=new WeakMap,this.hoverTimeouts=new WeakMap,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,a=t.find((t=>i.has(t)));return i.get(a)},this.keyDownHandler=t=>{if("Escape"===t.key){const{activeTooltipEl:t}=this;t&&(this.clearHoverTimeout(t),this.toggleTooltip(t,!1))}},this.mouseEnterShow=t=>{this.hoverEvent(t,!0)},this.mouseLeaveHide=t=>{this.hoverEvent(t,!1)},this.clickHandler=t=>{const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,(null==i?void 0:i.closeOnClick)&&this.toggleTooltip(i,!1)},this.focusShow=t=>{this.focusEvent(t,!0)},this.blurHide=t=>{this.focusEvent(t,!1)},this.hoverToggle=(t,i)=>{const{hoverTimeouts:a}=this;a.delete(t),i&&this.closeExistingTooltip(),this.toggleTooltip(t,i)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addListeners(){document.addEventListener("keydown",this.keyDownHandler),document.addEventListener("mouseover",this.mouseEnterShow,{capture:!0}),document.addEventListener("mouseout",this.mouseLeaveHide,{capture:!0}),document.addEventListener("pointerdown",this.clickHandler,{capture:!0}),document.addEventListener("focusin",this.focusShow,{capture:!0}),document.addEventListener("focusout",this.blurHide,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler),document.removeEventListener("mouseover",this.mouseEnterShow,{capture:!0}),document.removeEventListener("mouseout",this.mouseLeaveHide,{capture:!0}),document.removeEventListener("pointerdown",this.clickHandler,{capture:!0}),document.removeEventListener("focusin",this.focusShow,{capture:!0}),document.removeEventListener("focusout",this.blurHide,{capture:!0})}clearHoverTimeout(t){const{hoverTimeouts:i}=this;i.has(t)&&(window.clearTimeout(i.get(t)),i.delete(t))}closeExistingTooltip(){const{activeTooltipEl:t}=this;t&&this.toggleTooltip(t,!1)}focusTooltip(t,i){this.closeExistingTooltip(),i&&this.clearHoverTimeout(t),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,i&&(this.activeTooltipEl=t)}hoverTooltip(t,i){this.clearHoverTimeout(t);const{hoverTimeouts:a}=this,e=window.setTimeout((()=>this.hoverToggle(t,i)),500);a.set(t,e)}activeTooltipHover(t){const{activeTooltipEl:i,hoverTimeouts:a}=this,{type:e}=t;i&&("mouseover"===e&&t.composedPath().includes(i)?this.clearHoverTimeout(i):"mouseout"!==e||a.has(i)||this.hoverTooltip(i,!1))}hoverEvent(t,i){const a=this.queryTooltip(t.composedPath());this.activeTooltipHover(t),a&&this.hoverTooltip(a,i)}focusEvent(t,i){const a=this.queryTooltip(t.composedPath());a&&a!==this.clickedTooltip?this.focusTooltip(a,i):this.clickedTooltip=null}},d=class{constructor(i){t(this,i),this.closeOnClick=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.guid=`calcite-tooltip-${n()}`,this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),r(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:a}=this;i&&!a&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute("aria-describedby",i),p.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute("aria-describedby"),p.unregisterElement(t))}}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition()}overlayPositioningHandler(){this.reposition()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){r(this,this.effectiveReferenceElement,this.el)}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),s(this,this.effectiveReferenceElement,this.el)}async reposition(){const{el:t,effectiveReferenceElement:i,placement:a,overlayPositioning:e,offsetDistance:n,offsetSkidding:o,arrowEl:r}=this;return c({floatingEl:t,referenceEl:i,overlayPositioning:e,placement:a,offsetDistance:n,offsetSkidding:o,arrowEl:r,type:"tooltip"})}getReferenceElement(){const{referenceElement:t,el:i}=this;return("string"==typeof t?m(i,{id:t}):t)||null}render(){const{effectiveReferenceElement:t,label:e,open:n}=this,o=t&&n,r=!o;return i(a,{"aria-hidden":f(r),"aria-label":e,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},i("div",{class:{[l.animation]:!0,[l.animationActive]:o}},i("div",{class:"arrow",ref:t=>this.arrowEl=t}),i("div",{class:"container"},i("slot",null))))}get el(){return e(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};d.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{display:block;position:absolute;z-index:999;-webkit-transform:scale(0);transform:scale(0)}.calcite-floating-ui-anim{position:relative;-webkit-transition:var(--calcite-floating-ui-transition);transition:var(--calcite-floating-ui-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:"";--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}.container{position:relative;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}';const h=class{constructor(i){t(this,i),this.selector="[data-calcite-tooltip-reference]"}render(){return i("slot",null)}};h.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host{position:relative;display:block}";export{d as calcite_tooltip,h as calcite_tooltip_manager}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-beta.91
|
|
5
|
+
*/
|
|
6
|
+
System.register(["./p-c1839811.system.js","./p-ad7f17d7.system.js","./p-23e60c37.system.js","./p-94765679.system.js","./p-e28fc860.system.js","./p-5d7bc59a.system.js","./p-e9e89c12.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,c;return{setters:[function(t){e=t.r;i=t.h;n=t.F;a=t.g},function(t){o=t.g},function(t){r=t.c;s=t.d},function(t){c=t.u},function(){},function(){},function(){}],execute:function(){var l={contentStart:"content-start",contentEnd:"content-end"};var d="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;inline-size:10%}:host .content-container{display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{-ms-flex-align:center;align-items:center;text-align:center;min-block-size:12rem}:host .large-visual .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}:host .large-visual .content-container{-ms-flex-item-align:center;align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";var m=t("calcite_tile",function(){function t(t){e(this,t);this.active=false;this.disabled=false;this.embed=false;this.focused=false;this.hidden=false}t.prototype.connectedCallback=function(){r(this)};t.prototype.disconnectedCallback=function(){s(this)};t.prototype.componentDidRender=function(){c(this)};t.prototype.renderTile=function(){var t=this,e=t.icon,n=t.el,a=t.heading,r=t.description;var s=a&&e&&!r;var c=s?{height:"64px",width:"64px"}:undefined;return i("div",{class:{container:true,"large-visual":s}},e&&i("div",{class:"icon"},i("calcite-icon",{icon:e,scale:"l",style:c})),i("div",{class:"content-container"},o(n,l.contentStart)?i("div",{class:"content-slot-container"},i("slot",{name:l.contentStart})):null,i("div",{class:"content"},a&&i("div",{class:"heading"},a),r&&i("div",{class:"description"},r)),o(n,l.contentEnd)?i("div",{class:"content-slot-container"},i("slot",{name:l.contentEnd})):null))};t.prototype.render=function(){return i(n,null,this.href?i("calcite-link",{disabled:this.disabled,href:this.href},this.renderTile()):this.renderTile())};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());m.style=d}}}));
|