@esri/calcite-components 2.6.0 → 2.7.0-next.1
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/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/assets/tab-nav/t9n/index.d.ts +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_ar.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_bg.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_bs.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_ca.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_cs.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_da.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_de.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_el.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_en.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_es.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_et.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_fi.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_fr.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_he.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_hr.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_hu.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_id.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_it.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_ja.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_ko.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_lt.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_lv.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_nl.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_no.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_pl.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_pt-BR.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_pt-PT.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_ro.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_ru.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_sk.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_sl.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_sr.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_sv.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_th.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_tr.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_uk.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_vi.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_zh-CN.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_zh-HK.json +4 -0
- package/dist/calcite/assets/tab-nav/t9n/messages_zh-TW.json +4 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.map +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-04003e06.entry.js +7 -0
- package/dist/calcite/p-050911eb.entry.js +7 -0
- package/dist/calcite/p-051bd53e.entry.js +7 -0
- package/dist/calcite/p-08c2ed86.js +12 -0
- package/dist/calcite/p-08c2ed86.js.map +1 -0
- package/dist/calcite/p-0b5c72c1.js +7 -0
- package/dist/calcite/p-0e1cb316.entry.js +7 -0
- package/dist/calcite/p-0e20a1f8.entry.js +7 -0
- package/dist/calcite/p-0f3c0376.js +7 -0
- package/dist/calcite/p-0f9d9fa4.js +7 -0
- package/dist/calcite/p-10d7ea74.entry.js +7 -0
- package/dist/calcite/p-118d52ad.entry.js +7 -0
- package/dist/calcite/p-12703a19.entry.js +7 -0
- package/dist/calcite/p-12c8757c.js +7 -0
- package/dist/calcite/p-12e95ceb.js +7 -0
- package/dist/calcite/p-1466ff70.js +7 -0
- package/dist/calcite/p-18b6f94d.js +7 -0
- package/dist/calcite/p-19715dc2.entry.js +7 -0
- package/dist/calcite/p-19715dc2.entry.js.map +1 -0
- package/dist/calcite/p-19e67425.js +7 -0
- package/dist/calcite/p-1a108b5e.js +7 -0
- package/dist/calcite/p-1bafa907.js +7 -0
- package/dist/calcite/p-1c5f7108.entry.js +7 -0
- package/dist/calcite/p-1d6400b5.js +7 -0
- package/dist/calcite/p-1e0fb16e.entry.js +7 -0
- package/dist/calcite/p-1ec7de39.entry.js +7 -0
- package/dist/calcite/p-1ec7de39.entry.js.map +1 -0
- package/dist/calcite/p-206c38e6.entry.js +7 -0
- package/dist/calcite/p-206c38e6.entry.js.map +1 -0
- package/dist/calcite/p-25365f40.js +7 -0
- package/dist/calcite/p-28682d8f.js +7 -0
- package/dist/calcite/p-28f07162.js +7 -0
- package/dist/calcite/p-294dd906.entry.js +7 -0
- package/dist/calcite/p-2bca800a.js +7 -0
- package/dist/calcite/p-2ca19e67.js +7 -0
- package/dist/calcite/p-2f290856.js +7 -0
- package/dist/calcite/p-30deeedf.entry.js +7 -0
- package/dist/calcite/p-3450e3cd.js +7 -0
- package/dist/calcite/p-37638b68.js +7 -0
- package/dist/calcite/p-3883d69d.js +7 -0
- package/dist/calcite/p-3c5a9712.entry.js +7 -0
- package/dist/calcite/p-3dcda391.entry.js +7 -0
- package/dist/calcite/p-3f62bb2b.js +7 -0
- package/dist/calcite/p-3fb5ad32.js +7 -0
- package/dist/calcite/p-3fb5ad32.js.map +1 -0
- package/dist/calcite/p-415227ad.js +7 -0
- package/dist/calcite/p-44190558.entry.js +7 -0
- package/dist/calcite/p-44190558.entry.js.map +1 -0
- package/dist/calcite/p-46519efa.entry.js +7 -0
- package/dist/calcite/p-46519efa.entry.js.map +1 -0
- package/dist/calcite/p-46a022a0.entry.js +7 -0
- package/dist/calcite/p-4725d93c.js +7 -0
- package/dist/calcite/p-47ebb32a.js +7 -0
- package/dist/calcite/p-49e63ae0.entry.js +7 -0
- package/dist/calcite/p-49e63ae0.entry.js.map +1 -0
- package/dist/calcite/p-4fe9975d.js +7 -0
- package/dist/calcite/p-516a6ac5.entry.js +7 -0
- package/dist/calcite/p-516a6ac5.entry.js.map +1 -0
- package/dist/calcite/p-532daa18.entry.js +7 -0
- package/dist/calcite/p-539471ee.js +7 -0
- package/dist/calcite/p-541431f7.entry.js +7 -0
- package/dist/calcite/p-544f136f.entry.js +7 -0
- package/dist/calcite/p-549d250c.js +7 -0
- package/dist/calcite/p-54d01949.entry.js +7 -0
- package/dist/calcite/p-54d01949.entry.js.map +1 -0
- package/dist/calcite/p-567d7329.entry.js +7 -0
- package/dist/calcite/p-567d7329.entry.js.map +1 -0
- package/dist/calcite/p-59d34b58.entry.js +7 -0
- package/dist/calcite/p-5b4fc029.entry.js +7 -0
- package/dist/calcite/p-5d7f4aa4.js +7 -0
- package/dist/calcite/p-5ebebc74.entry.js +7 -0
- package/dist/calcite/p-620426c6.entry.js +7 -0
- package/dist/calcite/p-620ac1b9.entry.js +7 -0
- package/dist/calcite/p-64fdbeaa.js +7 -0
- package/dist/calcite/p-6afc08d5.js +7 -0
- package/dist/calcite/p-6b75f0db.js +7 -0
- package/dist/calcite/p-6cfaa60b.js +7 -0
- package/dist/calcite/p-6d8290fb.entry.js +7 -0
- package/dist/calcite/p-6d8290fb.entry.js.map +1 -0
- package/dist/calcite/p-6dda4b22.entry.js +7 -0
- package/dist/calcite/p-6dfc01c5.js +7 -0
- package/dist/calcite/p-7115cb91.js +7 -0
- package/dist/calcite/p-71590cfd.js +7 -0
- package/dist/calcite/p-7238efd7.entry.js +7 -0
- package/dist/calcite/p-73b91960.entry.js +7 -0
- package/dist/calcite/p-7438ecf8.js +7 -0
- package/dist/calcite/p-74ea6aff.js +7 -0
- package/dist/calcite/p-75accf60.entry.js +7 -0
- package/dist/calcite/p-7736c230.entry.js +7 -0
- package/dist/calcite/p-7736c230.entry.js.map +1 -0
- package/dist/calcite/p-7794b937.entry.js +7 -0
- package/dist/calcite/p-7794b937.entry.js.map +1 -0
- package/dist/calcite/p-780fe459.js +7 -0
- package/dist/calcite/p-79af535e.js +7 -0
- package/dist/calcite/p-7ab4c62c.js +7 -0
- package/dist/calcite/p-7b767a2a.js +7 -0
- package/dist/calcite/p-80a852ec.js +7 -0
- package/dist/calcite/p-80e751c9.js +7 -0
- package/dist/calcite/p-82ec499f.js +7 -0
- package/dist/calcite/p-84f0fec6.entry.js +7 -0
- package/dist/calcite/p-84f0fec6.entry.js.map +1 -0
- package/dist/calcite/p-85786f73.entry.js +7 -0
- package/dist/calcite/p-8668595c.js +7 -0
- package/dist/calcite/p-874e628e.entry.js +7 -0
- package/dist/calcite/p-88d9aa99.entry.js +7 -0
- package/dist/calcite/p-8b85377c.entry.js +7 -0
- package/dist/calcite/p-8f910986.js +7 -0
- package/dist/calcite/p-8ff13b0e.js +7 -0
- package/dist/calcite/p-92ed964c.js +7 -0
- package/dist/calcite/p-9416131a.js +7 -0
- package/dist/calcite/p-95da3ff0.entry.js +7 -0
- package/dist/calcite/p-95da3ff0.entry.js.map +1 -0
- package/dist/calcite/p-960dd8ce.entry.js +7 -0
- package/dist/calcite/p-98887e43.entry.js +7 -0
- package/dist/calcite/p-9d14303c.js +7 -0
- package/dist/calcite/p-9e1e7004.entry.js +7 -0
- package/dist/calcite/p-a0e10869.js +7 -0
- package/dist/calcite/p-a0ed3a1c.entry.js +7 -0
- package/dist/calcite/p-a0ed3a1c.entry.js.map +1 -0
- package/dist/calcite/p-a3e47fd5.js +7 -0
- package/dist/calcite/p-a64b8327.js +7 -0
- package/dist/calcite/p-a654cab1.entry.js +7 -0
- package/dist/calcite/p-a654cab1.entry.js.map +1 -0
- package/dist/calcite/p-a7ea3710.entry.js +7 -0
- package/dist/calcite/p-a7ea3710.entry.js.map +1 -0
- package/dist/calcite/p-ab16fc4d.entry.js +7 -0
- package/dist/calcite/p-ab16fc4d.entry.js.map +1 -0
- package/dist/calcite/p-ac253e2c.entry.js +7 -0
- package/dist/calcite/p-ae099f54.js +7 -0
- package/dist/calcite/p-aef21484.entry.js +7 -0
- package/dist/calcite/p-aef21484.entry.js.map +1 -0
- package/dist/calcite/p-af2d9d05.js +7 -0
- package/dist/calcite/p-af4ddf72.js +8 -0
- package/dist/calcite/p-b0590996.js +7 -0
- package/dist/calcite/p-b28231df.js +11 -0
- package/dist/calcite/p-b294ee48.entry.js +7 -0
- package/dist/calcite/p-b298f488.entry.js +7 -0
- package/dist/calcite/p-b391d355.js +7 -0
- package/dist/calcite/p-b4b858c6.js +7 -0
- package/dist/calcite/p-b5dd413e.js +7 -0
- package/dist/calcite/p-b612cfb9.entry.js +7 -0
- package/dist/calcite/p-bb69d48c.js +7 -0
- package/dist/calcite/p-c20854ee.js +7 -0
- package/dist/calcite/p-c23c6608.js +13 -0
- package/dist/calcite/p-c2bbf1f3.js +7 -0
- package/dist/calcite/p-c3166870.entry.js +7 -0
- package/dist/calcite/p-c37d0d59.js +7 -0
- package/dist/calcite/p-c45d3850.entry.js +7 -0
- package/dist/calcite/p-c46b0cf1.js +7 -0
- package/dist/calcite/p-c489ba26.js +7 -0
- package/dist/calcite/p-c7fb962e.js +7 -0
- package/dist/calcite/p-c9e19694.js +7 -0
- package/dist/calcite/p-cba87314.js +7 -0
- package/dist/calcite/p-ccdcbcef.entry.js +7 -0
- package/dist/calcite/p-cf7d5d0f.entry.js +7 -0
- package/dist/calcite/p-cf7d5d0f.entry.js.map +1 -0
- package/dist/calcite/p-cf8dfc13.js +7 -0
- package/dist/calcite/p-d40fac2b.entry.js +7 -0
- package/dist/calcite/p-d40fac2b.entry.js.map +1 -0
- package/dist/calcite/p-d530da8d.js +7 -0
- package/dist/calcite/p-d68e1d3d.js +7 -0
- package/dist/calcite/p-d6ecaa11.entry.js +7 -0
- package/dist/calcite/p-d6ecaa11.entry.js.map +1 -0
- package/dist/calcite/p-d8289eba.js +7 -0
- package/dist/calcite/p-d9e49148.js +7 -0
- package/dist/calcite/p-df15593d.js +7 -0
- package/dist/calcite/p-e1c3fea9.entry.js +7 -0
- package/dist/calcite/p-e3db40a6.js +7 -0
- package/dist/calcite/p-e4995e18.js +7 -0
- package/dist/calcite/p-e649abad.entry.js +7 -0
- package/dist/calcite/p-e649abad.entry.js.map +1 -0
- package/dist/calcite/p-e6ee4cf7.entry.js +7 -0
- package/dist/calcite/p-e6ee4cf7.entry.js.map +1 -0
- package/dist/calcite/p-e78d9e2b.js +7 -0
- package/dist/calcite/p-e7e3e03c.entry.js +7 -0
- package/dist/calcite/p-e8bf5a6c.entry.js +7 -0
- package/dist/calcite/p-eab0ea3f.js +7 -0
- package/dist/calcite/p-eb4c1362.js +7 -0
- package/dist/calcite/p-eda43667.entry.js +7 -0
- package/dist/calcite/p-ef90d8a7.entry.js +7 -0
- package/dist/calcite/p-f05ad976.entry.js +7 -0
- package/dist/calcite/p-f05ad976.entry.js.map +1 -0
- package/dist/calcite/p-f1e11081.js +7 -0
- package/dist/calcite/p-f66785dd.js +7 -0
- package/dist/calcite/p-f6d72d7b.js +7 -0
- package/dist/calcite/p-f7e88c1a.js +7 -0
- package/dist/calcite/p-f961f0dc.js +7 -0
- package/dist/calcite/p-fa4a0fb9.js +7 -0
- package/dist/calcite/p-fcb0009a.entry.js +7 -0
- package/dist/calcite/p-fe0f4fb1.entry.js +7 -0
- package/dist/calcite/p-fe72e068.js +7 -0
- package/dist/calcite-preset.js +4 -2
- package/dist/calcite-preset.js.map +1 -1
- package/dist/cjs/ExpandToggle-5ee819cf.js +110 -0
- package/dist/cjs/ExpandToggle-5ee819cf.js.map +1 -0
- package/dist/cjs/FloatingArrow-7dd95c66.js +49 -0
- package/dist/cjs/FloatingArrow-7dd95c66.js.map +1 -0
- package/dist/cjs/Heading-82f5f6d4.js +22 -0
- package/dist/cjs/Heading-82f5f6d4.js.map +1 -0
- package/dist/cjs/Validation-0a68ed0d.js +18 -0
- package/dist/cjs/Validation-0a68ed0d.js.map +1 -0
- package/dist/cjs/app-globals-6468813b.js +61 -0
- package/dist/cjs/app-globals-6468813b.js.map +1 -0
- package/dist/cjs/ar-2015880a.js +106 -0
- package/dist/cjs/ar-2015880a.js.map +1 -0
- package/dist/cjs/array-2979d473.js +14 -0
- package/dist/cjs/array-2979d473.js.map +1 -0
- package/dist/cjs/bg-96b8c1fe.js +84 -0
- package/dist/cjs/bg-96b8c1fe.js.map +1 -0
- package/dist/cjs/browser-76c4047a.js +20 -0
- package/dist/cjs/browser-76c4047a.js.map +1 -0
- package/dist/cjs/bs-159792d4.js +53 -0
- package/dist/cjs/bs-159792d4.js.map +1 -0
- package/dist/cjs/ca-5582fd6f.js +73 -0
- package/dist/cjs/ca-5582fd6f.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +14 -14
- package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card-group.cjs.entry.js +8 -9
- package/dist/cjs/calcite-card-group.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +18 -21
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -29
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -17
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +15 -15
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-message.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-number.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-a5bcae59.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-a5bcae59.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +15 -15
- package/dist/cjs/calcite-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-navigation_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-notice.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-shell_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +257 -55
- package/dist/cjs/calcite-tab_4.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +19 -19
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-d600ff1d.js +30 -0
- package/dist/cjs/component-d600ff1d.js.map +1 -0
- package/dist/cjs/conditionalSlot-4e9ccec4.js +60 -0
- package/dist/cjs/conditionalSlot-4e9ccec4.js.map +1 -0
- package/dist/cjs/core-f06572c6.js +22 -0
- package/dist/cjs/core-f06572c6.js.map +1 -0
- package/dist/cjs/cs-db4df9ee.js +149 -0
- package/dist/cjs/cs-db4df9ee.js.map +1 -0
- package/dist/cjs/da-b0f9ae32.js +68 -0
- package/dist/cjs/da-b0f9ae32.js.map +1 -0
- package/dist/cjs/de-at-087ad05f.js +92 -0
- package/dist/cjs/de-at-087ad05f.js.map +1 -0
- package/dist/cjs/de-ch-baea5527.js +92 -0
- package/dist/cjs/de-ch-baea5527.js.map +1 -0
- package/dist/cjs/de-fd7ac809.js +93 -0
- package/dist/cjs/de-fd7ac809.js.map +1 -0
- package/dist/cjs/debounce-8fe675e5.js +498 -0
- package/dist/cjs/debounce-8fe675e5.js.map +1 -0
- package/dist/cjs/dom-084d238e.js +1084 -0
- package/dist/cjs/dom-084d238e.js.map +1 -0
- package/dist/cjs/el-754034d0.js +68 -0
- package/dist/cjs/el-754034d0.js.map +1 -0
- package/dist/cjs/en-au-d34f9364.js +68 -0
- package/dist/cjs/en-au-d34f9364.js.map +1 -0
- package/dist/cjs/en-ca-2511e498.js +67 -0
- package/dist/cjs/en-ca-2511e498.js.map +1 -0
- package/dist/cjs/en-gb-3b46916f.js +71 -0
- package/dist/cjs/en-gb-3b46916f.js.map +1 -0
- package/dist/cjs/es-919e913c.js +68 -0
- package/dist/cjs/es-919e913c.js.map +1 -0
- package/dist/cjs/es-mx-9ea50dfe.js +67 -0
- package/dist/cjs/es-mx-9ea50dfe.js.map +1 -0
- package/dist/cjs/et-002e7b89.js +94 -0
- package/dist/cjs/et-002e7b89.js.map +1 -0
- package/dist/cjs/fi-939d9b3a.js +117 -0
- package/dist/cjs/fi-939d9b3a.js.map +1 -0
- package/dist/cjs/filter-02739c3f.js +762 -0
- package/dist/cjs/filter-02739c3f.js.map +1 -0
- package/dist/cjs/floating-ui-c0576915.js +1981 -0
- package/dist/cjs/floating-ui-c0576915.js.map +1 -0
- package/dist/cjs/focusTrapComponent-c6c6772e.js +1020 -0
- package/dist/cjs/focusTrapComponent-c6c6772e.js.map +1 -0
- package/dist/cjs/form-6586aa98.js +333 -0
- package/dist/cjs/form-6586aa98.js.map +1 -0
- package/dist/cjs/fr-ch-fb609232.js +68 -0
- package/dist/cjs/fr-ch-fb609232.js.map +1 -0
- package/dist/cjs/fr-e8e9eaeb.js +70 -0
- package/dist/cjs/fr-e8e9eaeb.js.map +1 -0
- package/dist/cjs/guid-00e94e09.js +23 -0
- package/dist/cjs/guid-00e94e09.js.map +1 -0
- package/dist/cjs/he-841235ad.js +107 -0
- package/dist/cjs/he-841235ad.js.map +1 -0
- package/dist/cjs/hi-b112828f.js +67 -0
- package/dist/cjs/hi-b112828f.js.map +1 -0
- package/dist/cjs/hr-281dd6c1.js +82 -0
- package/dist/cjs/hr-281dd6c1.js.map +1 -0
- package/dist/cjs/hu-629ff8aa.js +90 -0
- package/dist/cjs/hu-629ff8aa.js.map +1 -0
- package/dist/cjs/id-f25bab48.js +68 -0
- package/dist/cjs/id-f25bab48.js.map +1 -0
- package/dist/cjs/index-8533221c.js +75 -0
- package/dist/cjs/index-8533221c.js.map +1 -0
- package/dist/cjs/index-9817cd35.js +208 -0
- package/dist/cjs/index-9817cd35.js.map +1 -0
- package/dist/cjs/index-fb42a0b4.js +2663 -0
- package/dist/cjs/index-fb42a0b4.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/input-e1e4785a.js +57 -0
- package/dist/cjs/input-e1e4785a.js.map +1 -0
- package/dist/cjs/interactive-6416b2e6.js +151 -0
- package/dist/cjs/interactive-6416b2e6.js.map +1 -0
- package/dist/cjs/it-ch-072ab736.js +68 -0
- package/dist/cjs/it-ch-072ab736.js.map +1 -0
- package/dist/cjs/it-f18d9c8f.js +68 -0
- package/dist/cjs/it-f18d9c8f.js.map +1 -0
- package/dist/cjs/ja-0a18a499.js +74 -0
- package/dist/cjs/ja-0a18a499.js.map +1 -0
- package/dist/cjs/key-05eae92a.js +16 -0
- package/dist/cjs/key-05eae92a.js.map +1 -0
- package/dist/cjs/ko-21e254a1.js +74 -0
- package/dist/cjs/ko-21e254a1.js.map +1 -0
- package/dist/cjs/label-b0595df5.js +183 -0
- package/dist/cjs/label-b0595df5.js.map +1 -0
- package/dist/cjs/loadable-ab315342.js +91 -0
- package/dist/cjs/loadable-ab315342.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-891c6841.js +576 -0
- package/dist/cjs/locale-891c6841.js.map +1 -0
- package/dist/cjs/lt-3ea4b079.js +99 -0
- package/dist/cjs/lt-3ea4b079.js.map +1 -0
- package/dist/cjs/lv-32a2366f.js +68 -0
- package/dist/cjs/lv-32a2366f.js.map +1 -0
- package/dist/cjs/math-93ad4de5.js +57 -0
- package/dist/cjs/math-93ad4de5.js.map +1 -0
- package/dist/cjs/mk-b795ea45.js +68 -0
- package/dist/cjs/mk-b795ea45.js.map +1 -0
- package/dist/cjs/nb-70e9866a.js +69 -0
- package/dist/cjs/nb-70e9866a.js.map +1 -0
- package/dist/cjs/nl-a269f4e9.js +69 -0
- package/dist/cjs/nl-a269f4e9.js.map +1 -0
- package/dist/cjs/observers-5f3b0150.js +50 -0
- package/dist/cjs/observers-5f3b0150.js.map +1 -0
- package/dist/cjs/openCloseComponent-c4e3d334.js +89 -0
- package/dist/cjs/openCloseComponent-c4e3d334.js.map +1 -0
- package/dist/cjs/pl-f01c1b0c.js +116 -0
- package/dist/cjs/pl-f01c1b0c.js.map +1 -0
- package/dist/cjs/pt-837590cc.js +69 -0
- package/dist/cjs/pt-837590cc.js.map +1 -0
- package/dist/cjs/pt-br-170c8168.js +67 -0
- package/dist/cjs/pt-br-170c8168.js.map +1 -0
- package/dist/cjs/resources-3ae1db03.js +23 -0
- package/dist/cjs/resources-3ae1db03.js.map +1 -0
- package/dist/cjs/resources-75a74fe3.js +26 -0
- package/dist/cjs/resources-75a74fe3.js.map +1 -0
- package/dist/cjs/resources-a6bd9916.js +29 -0
- package/dist/cjs/resources-a6bd9916.js.map +1 -0
- package/dist/cjs/resources-c2ba8578.js +414 -0
- package/dist/cjs/resources-c2ba8578.js.map +1 -0
- package/dist/cjs/resources-cfecf209.js +26 -0
- package/dist/cjs/resources-cfecf209.js.map +1 -0
- package/dist/cjs/resources-e131c283.js +49 -0
- package/dist/cjs/resources-e131c283.js.map +1 -0
- package/dist/cjs/resources-edfb2fdb.js +17 -0
- package/dist/cjs/resources-edfb2fdb.js.map +1 -0
- package/dist/cjs/ro-ef2c83f4.js +68 -0
- package/dist/cjs/ro-ef2c83f4.js.map +1 -0
- package/dist/cjs/ru-80e72d1b.js +128 -0
- package/dist/cjs/ru-80e72d1b.js.map +1 -0
- package/dist/cjs/sk-0b8f0f2e.js +150 -0
- package/dist/cjs/sk-0b8f0f2e.js.map +1 -0
- package/dist/cjs/sl-6d59824a.js +170 -0
- package/dist/cjs/sl-6d59824a.js.map +1 -0
- package/dist/cjs/sortableComponent-2fd7c6f2.js +2744 -0
- package/dist/cjs/sortableComponent-2fd7c6f2.js.map +1 -0
- package/dist/cjs/sr-d8d7b4e0.js +103 -0
- package/dist/cjs/sr-d8d7b4e0.js.map +1 -0
- package/dist/cjs/sv-3c73ed07.js +73 -0
- package/dist/cjs/sv-3c73ed07.js.map +1 -0
- package/dist/cjs/t9n-0664ee1c.js +97 -0
- package/dist/cjs/t9n-0664ee1c.js.map +1 -0
- package/dist/cjs/th-07e70222.js +67 -0
- package/dist/cjs/th-07e70222.js.map +1 -0
- package/dist/cjs/throttle-e67ef93e.js +77 -0
- package/dist/cjs/throttle-e67ef93e.js.map +1 -0
- package/dist/cjs/tr-262a536b.js +68 -0
- package/dist/cjs/tr-262a536b.js.map +1 -0
- package/dist/cjs/uk-770ffc08.js +106 -0
- package/dist/cjs/uk-770ffc08.js.map +1 -0
- package/dist/cjs/utils-a8de66a2.js +218 -0
- package/dist/cjs/utils-a8de66a2.js.map +1 -0
- package/dist/cjs/utils-cebf8a63.js +307 -0
- package/dist/cjs/utils-cebf8a63.js.map +1 -0
- package/dist/cjs/vi-32eff461.js +72 -0
- package/dist/cjs/vi-32eff461.js.map +1 -0
- package/dist/cjs/zh-cn-b2f1385d.js +96 -0
- package/dist/cjs/zh-cn-b2f1385d.js.map +1 -0
- package/dist/cjs/zh-hk-e24dfa69.js +73 -0
- package/dist/cjs/zh-hk-e24dfa69.js.map +1 -0
- package/dist/cjs/zh-tw-8d6a6d56.js +94 -0
- package/dist/cjs/zh-tw-8d6a6d56.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- 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 +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +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 +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +6 -6
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +2 -2
- package/dist/collection/components/button/button.e2e.js.map +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -7
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/collection/components/card-group/card-group.e2e.js +1 -1
- package/dist/collection/components/card-group/card-group.js +1 -26
- package/dist/collection/components/card-group/card-group.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.css +6 -6
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +6 -6
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +5 -9
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.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/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +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 +6 -6
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.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 +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- 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/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.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/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +6 -6
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +6 -6
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +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 +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +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/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +6 -6
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/input.js +1 -1
- package/dist/collection/components/input/common/input.spec.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +12 -12
- package/dist/collection/components/input/input.e2e.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +7 -7
- package/dist/collection/components/input-message/input-message.e2e.js +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 +12 -12
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +9 -9
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +8 -8
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +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 +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +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/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +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 +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +7 -7
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +6 -6
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +6 -6
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +9 -9
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +6 -6
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- 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/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- 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 +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +6 -6
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +7 -7
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- 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 +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +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 +6 -6
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +6 -6
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/index.d.ts +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_ar.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_bg.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_bs.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_ca.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_cs.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_da.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_de.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_el.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_en.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_es.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_et.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_fi.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_fr.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_he.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_hr.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_hu.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_id.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_it.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_ja.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_ko.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_lt.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_lv.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_nl.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_no.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_pl.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_pt-BR.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_pt-PT.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_ro.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_ru.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_sk.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_sl.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_sr.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_sv.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_th.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_tr.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_uk.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_vi.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_zh-CN.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_zh-HK.json +4 -0
- package/dist/collection/components/tab-nav/assets/tab-nav/t9n/messages_zh-TW.json +4 -0
- package/dist/collection/components/tab-nav/resources.js +13 -1
- package/dist/collection/components/tab-nav/resources.js.map +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +103 -19
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +129 -2
- package/dist/collection/components/tab-nav/tab-nav.e2e.js.map +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +292 -42
- package/dist/collection/components/tab-nav/tab-nav.js.map +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +78 -94
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +11 -12
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-group/resources.js +1 -1
- package/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/collection/components/tile-group/tile-group.e2e.js +1 -1
- package/dist/collection/components/tile-group/tile-group.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +6 -6
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +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 +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +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 +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- 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 +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +8 -8
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.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 +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.js.map +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-alert.js.map +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card-group.js +1 -3
- package/dist/components/calcite-card-group.js.map +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-card.js.map +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.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 +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- 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 +2 -2
- package/dist/components/calcite-inline-editable.js.map +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-modal.js.map +1 -1
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-logo.js.map +1 -1
- package/dist/components/calcite-navigation-user.js +2 -2
- package/dist/components/calcite-navigation-user.js.map +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-notice.js.map +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-rating.js.map +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell-panel.js.map +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-split-button.js.map +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- 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-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile-select.js.map +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree-item.js.map +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/chip.js +6 -10
- package/dist/components/chip.js.map +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +3 -8
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/core.js +17 -0
- package/dist/components/core.js.map +1 -0
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-day.js.map +1 -1
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month-header.js.map +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dom.js.map +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-message.js.map +1 -1
- package/dist/components/input-number.js +2 -2
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +2 -2
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +2 -2
- package/dist/components/input2.js.map +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/link.js.map +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +2 -2
- package/dist/components/radio-button.js.map +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +276 -45
- package/dist/components/tab-nav.js.map +1 -1
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab-title.js.map +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +2 -2
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-9c14c1f7.js +102 -0
- package/dist/esm/ExpandToggle-9c14c1f7.js.map +1 -0
- package/dist/esm/FloatingArrow-43f46d8c.js +47 -0
- package/dist/esm/FloatingArrow-43f46d8c.js.map +1 -0
- package/dist/esm/Heading-035c1d1a.js +19 -0
- package/dist/esm/Heading-035c1d1a.js.map +1 -0
- package/dist/esm/Validation-8b258ec5.js +16 -0
- package/dist/esm/Validation-8b258ec5.js.map +1 -0
- package/dist/esm/app-globals-0bf37451.js +59 -0
- package/dist/esm/app-globals-0bf37451.js.map +1 -0
- package/dist/esm/ar-02a6e859.js +104 -0
- package/dist/esm/ar-02a6e859.js.map +1 -0
- package/dist/esm/array-20b06a3d.js +12 -0
- package/dist/esm/array-20b06a3d.js.map +1 -0
- package/dist/esm/bg-b27ec866.js +82 -0
- package/dist/esm/bg-b27ec866.js.map +1 -0
- package/dist/esm/browser-36719cf2.js +18 -0
- package/dist/esm/browser-36719cf2.js.map +1 -0
- package/dist/esm/bs-053cf2e3.js +51 -0
- package/dist/esm/bs-053cf2e3.js.map +1 -0
- package/dist/esm/ca-e59fd16a.js +71 -0
- package/dist/esm/ca-e59fd16a.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +14 -14
- package/dist/esm/calcite-alert.entry.js.map +1 -1
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card-group.entry.js +8 -9
- package/dist/esm/calcite-card-group.entry.js.map +1 -1
- package/dist/esm/calcite-card.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js.map +1 -1
- package/dist/esm/calcite-checkbox.entry.js +13 -13
- package/dist/esm/calcite-checkbox.entry.js.map +1 -1
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +18 -21
- package/dist/esm/calcite-chip.entry.js.map +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +23 -28
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +17 -17
- package/dist/esm/calcite-date-picker_4.entry.js.map +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +15 -15
- package/dist/esm/calcite-inline-editable.entry.js.map +1 -1
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +6 -6
- package/dist/esm/calcite-input-message.entry.js.map +1 -1
- package/dist/esm/calcite-input-number.entry.js +18 -18
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +18 -18
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e07c4159.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e07c4159.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +18 -18
- package/dist/esm/calcite-input.entry.js.map +1 -1
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js.map +1 -1
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +15 -15
- package/dist/esm/calcite-modal.entry.js.map +1 -1
- package/dist/esm/calcite-navigation_3.entry.js +8 -8
- package/dist/esm/calcite-navigation_3.entry.js.map +1 -1
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-notice.entry.js.map +1 -1
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +13 -13
- package/dist/esm/calcite-radio-button.entry.js.map +1 -1
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-rating.entry.js.map +1 -1
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +12 -12
- package/dist/esm/calcite-shell_3.entry.js.map +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js.map +1 -1
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +257 -55
- package/dist/esm/calcite-tab_4.entry.js.map +1 -1
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +19 -19
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select_2.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js.map +1 -1
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js.map +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-20eb5f0e.js +27 -0
- package/dist/esm/component-20eb5f0e.js.map +1 -0
- package/dist/esm/conditionalSlot-a8fe7e91.js +57 -0
- package/dist/esm/conditionalSlot-a8fe7e91.js.map +1 -0
- package/dist/esm/core-70b2c3f8.js +17 -0
- package/dist/esm/core-70b2c3f8.js.map +1 -0
- package/dist/esm/cs-ee9f42b2.js +147 -0
- package/dist/esm/cs-ee9f42b2.js.map +1 -0
- package/dist/esm/da-dbc1f92d.js +66 -0
- package/dist/esm/da-dbc1f92d.js.map +1 -0
- package/dist/esm/de-27400620.js +91 -0
- package/dist/esm/de-27400620.js.map +1 -0
- package/dist/esm/de-at-5c4eadb9.js +90 -0
- package/dist/esm/de-at-5c4eadb9.js.map +1 -0
- package/dist/esm/de-ch-04424f2c.js +90 -0
- package/dist/esm/de-ch-04424f2c.js.map +1 -0
- package/dist/esm/debounce-7ef1bae0.js +489 -0
- package/dist/esm/debounce-7ef1bae0.js.map +1 -0
- package/dist/esm/dom-afb6c171.js +1053 -0
- package/dist/esm/dom-afb6c171.js.map +1 -0
- package/dist/esm/el-929134e7.js +66 -0
- package/dist/esm/el-929134e7.js.map +1 -0
- package/dist/esm/en-au-3acd5a64.js +66 -0
- package/dist/esm/en-au-3acd5a64.js.map +1 -0
- package/dist/esm/en-ca-37ba58a7.js +65 -0
- package/dist/esm/en-ca-37ba58a7.js.map +1 -0
- package/dist/esm/en-gb-f30fabde.js +69 -0
- package/dist/esm/en-gb-f30fabde.js.map +1 -0
- package/dist/esm/es-a3427a24.js +66 -0
- package/dist/esm/es-a3427a24.js.map +1 -0
- package/dist/esm/es-mx-0061020d.js +65 -0
- package/dist/esm/es-mx-0061020d.js.map +1 -0
- package/dist/esm/et-8e59b66d.js +92 -0
- package/dist/esm/et-8e59b66d.js.map +1 -0
- package/dist/esm/fi-53d2723a.js +115 -0
- package/dist/esm/fi-53d2723a.js.map +1 -0
- package/dist/esm/filter-51063c56.js +760 -0
- package/dist/esm/filter-51063c56.js.map +1 -0
- package/dist/esm/floating-ui-5014cf67.js +1973 -0
- package/dist/esm/floating-ui-5014cf67.js.map +1 -0
- package/dist/esm/focusTrapComponent-66629e39.js +1015 -0
- package/dist/esm/focusTrapComponent-66629e39.js.map +1 -0
- package/dist/esm/form-1adfe453.js +324 -0
- package/dist/esm/form-1adfe453.js.map +1 -0
- package/dist/esm/fr-a55c8cb0.js +68 -0
- package/dist/esm/fr-a55c8cb0.js.map +1 -0
- package/dist/esm/fr-ch-df3ccbfe.js +66 -0
- package/dist/esm/fr-ch-df3ccbfe.js.map +1 -0
- package/dist/esm/guid-2865f63a.js +21 -0
- package/dist/esm/guid-2865f63a.js.map +1 -0
- package/dist/esm/he-26240be8.js +105 -0
- package/dist/esm/he-26240be8.js.map +1 -0
- package/dist/esm/hi-5a33c340.js +65 -0
- package/dist/esm/hi-5a33c340.js.map +1 -0
- package/dist/esm/hr-ca7b803c.js +80 -0
- package/dist/esm/hr-ca7b803c.js.map +1 -0
- package/dist/esm/hu-b2473f3c.js +88 -0
- package/dist/esm/hu-b2473f3c.js.map +1 -0
- package/dist/esm/id-4750af9f.js +66 -0
- package/dist/esm/id-4750af9f.js.map +1 -0
- package/dist/esm/index-960120fd.js +73 -0
- package/dist/esm/index-960120fd.js.map +1 -0
- package/dist/esm/index-a5455044.js +2628 -0
- package/dist/esm/index-a5455044.js.map +1 -0
- package/dist/esm/index-e375d806.js +206 -0
- package/dist/esm/index-e375d806.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/input-2c14bb9e.js +55 -0
- package/dist/esm/input-2c14bb9e.js.map +1 -0
- package/dist/esm/interactive-68dc11f3.js +146 -0
- package/dist/esm/interactive-68dc11f3.js.map +1 -0
- package/dist/esm/it-4062b0fe.js +66 -0
- package/dist/esm/it-4062b0fe.js.map +1 -0
- package/dist/esm/it-ch-bbad3bd4.js +66 -0
- package/dist/esm/it-ch-bbad3bd4.js.map +1 -0
- package/dist/esm/ja-0a41ae77.js +72 -0
- package/dist/esm/ja-0a41ae77.js.map +1 -0
- package/dist/esm/key-033d33a7.js +13 -0
- package/dist/esm/key-033d33a7.js.map +1 -0
- package/dist/esm/ko-0c8f0c6e.js +72 -0
- package/dist/esm/ko-0c8f0c6e.js.map +1 -0
- package/dist/esm/label-7e509e7c.js +176 -0
- package/dist/esm/label-7e509e7c.js.map +1 -0
- package/dist/esm/loadable-dd4d44b9.js +86 -0
- package/dist/esm/loadable-dd4d44b9.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-251042bc.js +563 -0
- package/dist/esm/locale-251042bc.js.map +1 -0
- package/dist/esm/lt-782aecf6.js +97 -0
- package/dist/esm/lt-782aecf6.js.map +1 -0
- package/dist/esm/lv-5f917e2c.js +66 -0
- package/dist/esm/lv-5f917e2c.js.map +1 -0
- package/dist/esm/math-c99b7b34.js +51 -0
- package/dist/esm/math-c99b7b34.js.map +1 -0
- package/dist/esm/mk-c5f420ee.js +66 -0
- package/dist/esm/mk-c5f420ee.js.map +1 -0
- package/dist/esm/nb-2bb1f139.js +67 -0
- package/dist/esm/nb-2bb1f139.js.map +1 -0
- package/dist/esm/nl-36bd3cef.js +67 -0
- package/dist/esm/nl-36bd3cef.js.map +1 -0
- package/dist/esm/observers-e50aad67.js +48 -0
- package/dist/esm/observers-e50aad67.js.map +1 -0
- package/dist/esm/openCloseComponent-665388d3.js +87 -0
- package/dist/esm/openCloseComponent-665388d3.js.map +1 -0
- package/dist/esm/pl-a31e9eb7.js +114 -0
- package/dist/esm/pl-a31e9eb7.js.map +1 -0
- package/dist/esm/pt-0070bb3a.js +67 -0
- package/dist/esm/pt-0070bb3a.js.map +1 -0
- package/dist/esm/pt-br-84b65754.js +65 -0
- package/dist/esm/pt-br-84b65754.js.map +1 -0
- package/dist/esm/resources-1212801d.js +387 -0
- package/dist/esm/resources-1212801d.js.map +1 -0
- package/dist/esm/resources-1bafe451.js +19 -0
- package/dist/esm/resources-1bafe451.js.map +1 -0
- package/dist/esm/resources-33a69f07.js +23 -0
- package/dist/esm/resources-33a69f07.js.map +1 -0
- package/dist/esm/resources-84c90a63.js +25 -0
- package/dist/esm/resources-84c90a63.js.map +1 -0
- package/dist/esm/resources-9b011980.js +21 -0
- package/dist/esm/resources-9b011980.js.map +1 -0
- package/dist/esm/resources-a519769c.js +45 -0
- package/dist/esm/resources-a519769c.js.map +1 -0
- package/dist/esm/resources-a9b82743.js +17 -0
- package/dist/esm/resources-a9b82743.js.map +1 -0
- package/dist/esm/ro-c89379b1.js +66 -0
- package/dist/esm/ro-c89379b1.js.map +1 -0
- package/dist/esm/ru-afc109b0.js +126 -0
- package/dist/esm/ru-afc109b0.js.map +1 -0
- package/dist/esm/sk-f869a370.js +148 -0
- package/dist/esm/sk-f869a370.js.map +1 -0
- package/dist/esm/sl-5202c136.js +168 -0
- package/dist/esm/sl-5202c136.js.map +1 -0
- package/dist/esm/sortableComponent-556f40fb.js +2740 -0
- package/dist/esm/sortableComponent-556f40fb.js.map +1 -0
- package/dist/esm/sr-a719b942.js +101 -0
- package/dist/esm/sr-a719b942.js.map +1 -0
- package/dist/esm/sv-a08fde2a.js +71 -0
- package/dist/esm/sv-a08fde2a.js.map +1 -0
- package/dist/esm/t9n-c69982a9.js +92 -0
- package/dist/esm/t9n-c69982a9.js.map +1 -0
- package/dist/esm/th-eb46c86b.js +65 -0
- package/dist/esm/th-eb46c86b.js.map +1 -0
- package/dist/esm/throttle-1708360e.js +75 -0
- package/dist/esm/throttle-1708360e.js.map +1 -0
- package/dist/esm/tr-36f42c34.js +66 -0
- package/dist/esm/tr-36f42c34.js.map +1 -0
- package/dist/esm/uk-06298047.js +104 -0
- package/dist/esm/uk-06298047.js.map +1 -0
- package/dist/esm/utils-4a454cde.js +289 -0
- package/dist/esm/utils-4a454cde.js.map +1 -0
- package/dist/esm/utils-4d89e79b.js +200 -0
- package/dist/esm/utils-4d89e79b.js.map +1 -0
- package/dist/esm/vi-6b3bfa0f.js +70 -0
- package/dist/esm/vi-6b3bfa0f.js.map +1 -0
- package/dist/esm/zh-cn-55bc2d31.js +94 -0
- package/dist/esm/zh-cn-55bc2d31.js.map +1 -0
- package/dist/esm/zh-hk-764ad0cd.js +71 -0
- package/dist/esm/zh-hk-764ad0cd.js.map +1 -0
- package/dist/esm/zh-tw-92d5a8a9.js +92 -0
- package/dist/esm/zh-tw-92d5a8a9.js.map +1 -0
- package/dist/extras/docs-json.json +53 -39
- package/dist/extras/translations-json.json +1 -1
- 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/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/components/card-group/card-group.d.ts +1 -3
- package/dist/types/components/chip/chip.d.ts +2 -3
- package/dist/types/components/tab-nav/resources.d.ts +12 -0
- package/dist/types/components/tab-nav/tab-nav.d.ts +45 -12
- package/dist/types/components.d.ts +14 -8
- package/dist/types/utils/dom.d.ts +1 -1
- package/hydrate/index.js +283 -78
- package/package.json +2 -2
- package/dist/calcite/p-002333b8.entry.js +0 -7
- package/dist/calcite/p-002333b8.entry.js.map +0 -1
- package/dist/calcite/p-018e67a9.js +0 -7
- package/dist/calcite/p-032e1b73.js +0 -7
- package/dist/calcite/p-03a582ea.js +0 -7
- package/dist/calcite/p-04940e82.js +0 -7
- package/dist/calcite/p-04d2ea37.entry.js +0 -7
- package/dist/calcite/p-04d2ea37.entry.js.map +0 -1
- package/dist/calcite/p-064166f7.js +0 -7
- package/dist/calcite/p-0a96f43f.js +0 -7
- package/dist/calcite/p-0b0684c5.entry.js +0 -7
- package/dist/calcite/p-0b2fbc9a.entry.js +0 -7
- package/dist/calcite/p-0f59280e.js +0 -7
- package/dist/calcite/p-1377a766.js +0 -7
- package/dist/calcite/p-14bc5cec.entry.js +0 -7
- package/dist/calcite/p-14f92bb3.js +0 -7
- package/dist/calcite/p-15d91776.js +0 -7
- package/dist/calcite/p-15f61b02.entry.js +0 -7
- package/dist/calcite/p-16d1801b.js +0 -7
- package/dist/calcite/p-185372cf.js +0 -7
- package/dist/calcite/p-186558a8.js +0 -7
- package/dist/calcite/p-19a20d07.js +0 -7
- package/dist/calcite/p-1a6752df.js +0 -7
- package/dist/calcite/p-1ae516e6.js +0 -7
- package/dist/calcite/p-1c483bd6.js +0 -7
- package/dist/calcite/p-1cb6c95c.entry.js +0 -7
- package/dist/calcite/p-1cb6c95c.entry.js.map +0 -1
- package/dist/calcite/p-2307e5f7.js +0 -7
- package/dist/calcite/p-29521005.js +0 -7
- package/dist/calcite/p-29c6f248.js +0 -7
- package/dist/calcite/p-29f24984.js +0 -7
- package/dist/calcite/p-2a47f297.js +0 -7
- package/dist/calcite/p-2c109b90.js +0 -7
- package/dist/calcite/p-2d6c4f51.entry.js +0 -7
- package/dist/calcite/p-2d898a64.js +0 -7
- package/dist/calcite/p-2e77ed0f.js +0 -11
- package/dist/calcite/p-2f8ad978.js +0 -7
- package/dist/calcite/p-2ffe595c.js +0 -7
- package/dist/calcite/p-32d78353.js +0 -7
- package/dist/calcite/p-339c7a36.entry.js +0 -7
- package/dist/calcite/p-339c7a36.entry.js.map +0 -1
- package/dist/calcite/p-3795da5e.entry.js +0 -7
- package/dist/calcite/p-3999bac9.js +0 -8
- package/dist/calcite/p-3bf8f072.js +0 -7
- package/dist/calcite/p-3e42a3f7.js +0 -7
- package/dist/calcite/p-3ffd9d0b.entry.js +0 -7
- package/dist/calcite/p-3ffd9d0b.entry.js.map +0 -1
- package/dist/calcite/p-40c7c601.entry.js +0 -7
- package/dist/calcite/p-4770523f.js +0 -7
- package/dist/calcite/p-483132ab.js +0 -7
- package/dist/calcite/p-487f5585.js +0 -7
- package/dist/calcite/p-48f47c9d.entry.js +0 -7
- package/dist/calcite/p-497d392d.js +0 -7
- package/dist/calcite/p-49898eec.js +0 -7
- package/dist/calcite/p-4ac88b96.js +0 -7
- package/dist/calcite/p-4d96af85.js +0 -7
- package/dist/calcite/p-4e4b9ffd.js +0 -7
- package/dist/calcite/p-4f756b9e.entry.js +0 -7
- package/dist/calcite/p-50594376.entry.js +0 -7
- package/dist/calcite/p-514e8357.js +0 -7
- package/dist/calcite/p-52202c9e.entry.js +0 -7
- package/dist/calcite/p-55a631cb.entry.js +0 -7
- package/dist/calcite/p-55a631cb.entry.js.map +0 -1
- package/dist/calcite/p-594d544d.entry.js +0 -7
- package/dist/calcite/p-5a3e9a13.entry.js +0 -7
- package/dist/calcite/p-5cee5a83.js +0 -7
- package/dist/calcite/p-5f0b2868.js +0 -7
- package/dist/calcite/p-60afcad4.js +0 -7
- package/dist/calcite/p-610dfbd3.js +0 -7
- package/dist/calcite/p-657f34c7.js +0 -7
- package/dist/calcite/p-66c6d638.js +0 -7
- package/dist/calcite/p-66d42d21.entry.js +0 -7
- package/dist/calcite/p-6810fe58.js +0 -7
- package/dist/calcite/p-6c2d5224.entry.js +0 -7
- package/dist/calcite/p-6cacb54c.entry.js +0 -7
- package/dist/calcite/p-6cacb54c.entry.js.map +0 -1
- package/dist/calcite/p-6dafff3c.js +0 -7
- package/dist/calcite/p-72f36aaf.entry.js +0 -7
- package/dist/calcite/p-73313776.js +0 -7
- package/dist/calcite/p-74a88f40.entry.js +0 -7
- package/dist/calcite/p-77298538.entry.js +0 -7
- package/dist/calcite/p-7806f2e0.entry.js +0 -7
- package/dist/calcite/p-78e9ff42.js +0 -7
- package/dist/calcite/p-793edc0e.js +0 -7
- package/dist/calcite/p-7b62191f.js +0 -7
- package/dist/calcite/p-7b98bc1f.entry.js +0 -7
- package/dist/calcite/p-7cf22b7d.entry.js +0 -7
- package/dist/calcite/p-7e87fbbf.js +0 -7
- package/dist/calcite/p-82592b96.entry.js +0 -7
- package/dist/calcite/p-8494670c.entry.js +0 -7
- package/dist/calcite/p-858fc9a8.entry.js +0 -7
- package/dist/calcite/p-873c3874.js +0 -7
- package/dist/calcite/p-89b3c240.js +0 -7
- package/dist/calcite/p-8c6045af.entry.js +0 -7
- package/dist/calcite/p-8ddf02b9.js +0 -7
- package/dist/calcite/p-8e9ea55a.entry.js +0 -7
- package/dist/calcite/p-8e9ea55a.entry.js.map +0 -1
- package/dist/calcite/p-8f521209.entry.js +0 -7
- package/dist/calcite/p-8f521209.entry.js.map +0 -1
- package/dist/calcite/p-90c5ed0e.js +0 -7
- package/dist/calcite/p-9302c2fe.js +0 -7
- package/dist/calcite/p-943e042b.entry.js +0 -7
- package/dist/calcite/p-943e042b.entry.js.map +0 -1
- package/dist/calcite/p-9563f98a.js +0 -7
- package/dist/calcite/p-95b82782.entry.js +0 -7
- package/dist/calcite/p-983a125b.js +0 -7
- package/dist/calcite/p-99d8250f.entry.js +0 -7
- package/dist/calcite/p-9b89502e.entry.js +0 -7
- package/dist/calcite/p-9b89502e.entry.js.map +0 -1
- package/dist/calcite/p-9e0dc190.js +0 -7
- package/dist/calcite/p-a13152ec.entry.js +0 -7
- package/dist/calcite/p-a768fea6.entry.js +0 -7
- package/dist/calcite/p-a768fea6.entry.js.map +0 -1
- package/dist/calcite/p-a9ee8930.entry.js +0 -7
- package/dist/calcite/p-ab050384.js +0 -7
- package/dist/calcite/p-aca8fde9.entry.js +0 -7
- package/dist/calcite/p-adc0899b.js +0 -7
- package/dist/calcite/p-af35f0c0.js +0 -7
- package/dist/calcite/p-b036c99c.entry.js +0 -7
- package/dist/calcite/p-b13c5df7.entry.js +0 -7
- package/dist/calcite/p-b13c5df7.entry.js.map +0 -1
- package/dist/calcite/p-b246dd96.entry.js +0 -7
- package/dist/calcite/p-b3019266.js +0 -7
- package/dist/calcite/p-b619d80a.js +0 -7
- package/dist/calcite/p-b6a21aeb.js +0 -7
- package/dist/calcite/p-b830e866.entry.js +0 -7
- package/dist/calcite/p-b8674e14.entry.js +0 -7
- package/dist/calcite/p-b936a66f.entry.js +0 -7
- package/dist/calcite/p-bad016a4.js +0 -7
- package/dist/calcite/p-bb763773.entry.js +0 -7
- package/dist/calcite/p-bbf48beb.entry.js +0 -7
- package/dist/calcite/p-bea3584d.js +0 -7
- package/dist/calcite/p-bf93df18.js +0 -7
- package/dist/calcite/p-c1c7939e.entry.js +0 -7
- package/dist/calcite/p-c425c968.entry.js +0 -7
- package/dist/calcite/p-c425c968.entry.js.map +0 -1
- package/dist/calcite/p-c6eecab4.js +0 -7
- package/dist/calcite/p-c7b725f8.js +0 -7
- package/dist/calcite/p-c7f2f9a6.js +0 -7
- package/dist/calcite/p-ca322256.entry.js +0 -7
- package/dist/calcite/p-ca9397f0.entry.js +0 -7
- package/dist/calcite/p-ca9397f0.entry.js.map +0 -1
- package/dist/calcite/p-cad0d6bb.entry.js +0 -7
- package/dist/calcite/p-cc675a36.entry.js +0 -7
- package/dist/calcite/p-cce8be8c.js +0 -7
- package/dist/calcite/p-ce7b92bd.entry.js +0 -7
- package/dist/calcite/p-ce7b92bd.entry.js.map +0 -1
- package/dist/calcite/p-cf5f508e.js +0 -7
- package/dist/calcite/p-d031ad17.js +0 -7
- package/dist/calcite/p-d2abc904.js +0 -7
- package/dist/calcite/p-d31a6f76.entry.js +0 -7
- package/dist/calcite/p-d375d508.js +0 -7
- package/dist/calcite/p-d7db4136.js +0 -7
- package/dist/calcite/p-d864bb39.entry.js +0 -7
- package/dist/calcite/p-d864bb39.entry.js.map +0 -1
- package/dist/calcite/p-d8fa38f0.entry.js +0 -7
- package/dist/calcite/p-d8fa38f0.entry.js.map +0 -1
- package/dist/calcite/p-d90cd7e9.js +0 -7
- package/dist/calcite/p-db0c43ab.js +0 -7
- package/dist/calcite/p-dc2e0ce7.entry.js +0 -7
- package/dist/calcite/p-de13da18.entry.js +0 -7
- package/dist/calcite/p-defa7fd3.entry.js +0 -7
- package/dist/calcite/p-defa7fd3.entry.js.map +0 -1
- package/dist/calcite/p-e067b5c6.entry.js +0 -7
- package/dist/calcite/p-e067b5c6.entry.js.map +0 -1
- package/dist/calcite/p-e2a28e66.js +0 -7
- package/dist/calcite/p-e2fd0715.js +0 -7
- package/dist/calcite/p-e32ff351.js +0 -13
- package/dist/calcite/p-e545f220.entry.js +0 -7
- package/dist/calcite/p-e57b9a13.entry.js +0 -7
- package/dist/calcite/p-e57b9a13.entry.js.map +0 -1
- package/dist/calcite/p-e6ccdec6.entry.js +0 -7
- package/dist/calcite/p-e6ccdec6.entry.js.map +0 -1
- package/dist/calcite/p-e76a753c.js +0 -12
- package/dist/calcite/p-e76a753c.js.map +0 -1
- package/dist/calcite/p-f0e878b6.entry.js +0 -7
- package/dist/calcite/p-f0e878b6.entry.js.map +0 -1
- package/dist/calcite/p-f1309a00.entry.js +0 -7
- package/dist/calcite/p-f492b6ca.entry.js +0 -7
- package/dist/calcite/p-f638802a.entry.js +0 -7
- package/dist/calcite/p-f638802a.entry.js.map +0 -1
- package/dist/calcite/p-f9a4a10d.js +0 -7
- package/dist/calcite/p-fbd0717b.js +0 -7
- package/dist/calcite/p-fdfa8afe.js +0 -7
- package/dist/calcite/p-fee69745.js +0 -7
- package/dist/calcite/p-ff708851.entry.js +0 -7
- package/dist/calcite/p-ff708851.entry.js.map +0 -1
- package/dist/calcite/p-ff888763.js +0 -7
- package/dist/calcite/p-ffadd2fe.entry.js +0 -7
- package/dist/cjs/ExpandToggle-28ce0bf3.js +0 -110
- package/dist/cjs/ExpandToggle-28ce0bf3.js.map +0 -1
- package/dist/cjs/FloatingArrow-3ef3c4a4.js +0 -49
- package/dist/cjs/FloatingArrow-3ef3c4a4.js.map +0 -1
- package/dist/cjs/Heading-1bdfd6be.js +0 -22
- package/dist/cjs/Heading-1bdfd6be.js.map +0 -1
- package/dist/cjs/Validation-27cda8b8.js +0 -18
- package/dist/cjs/Validation-27cda8b8.js.map +0 -1
- package/dist/cjs/app-globals-311fc710.js +0 -61
- package/dist/cjs/app-globals-311fc710.js.map +0 -1
- package/dist/cjs/ar-f512f1cc.js +0 -106
- package/dist/cjs/ar-f512f1cc.js.map +0 -1
- package/dist/cjs/array-3cfca38a.js +0 -14
- package/dist/cjs/array-3cfca38a.js.map +0 -1
- package/dist/cjs/bg-55139749.js +0 -84
- package/dist/cjs/bg-55139749.js.map +0 -1
- package/dist/cjs/browser-00f6569a.js +0 -20
- package/dist/cjs/browser-00f6569a.js.map +0 -1
- package/dist/cjs/bs-e80ba21a.js +0 -53
- package/dist/cjs/bs-e80ba21a.js.map +0 -1
- package/dist/cjs/ca-eb5f79d4.js +0 -73
- package/dist/cjs/ca-eb5f79d4.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-d8ae72cb.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-d8ae72cb.js.map +0 -1
- package/dist/cjs/component-894fc47a.js +0 -30
- package/dist/cjs/component-894fc47a.js.map +0 -1
- package/dist/cjs/conditionalSlot-69fe8960.js +0 -60
- package/dist/cjs/conditionalSlot-69fe8960.js.map +0 -1
- package/dist/cjs/cs-63b0504b.js +0 -149
- package/dist/cjs/cs-63b0504b.js.map +0 -1
- package/dist/cjs/da-82cafa51.js +0 -68
- package/dist/cjs/da-82cafa51.js.map +0 -1
- package/dist/cjs/de-at-e9a63f9f.js +0 -92
- package/dist/cjs/de-at-e9a63f9f.js.map +0 -1
- package/dist/cjs/de-ch-2e577db5.js +0 -92
- package/dist/cjs/de-ch-2e577db5.js.map +0 -1
- package/dist/cjs/de-d41e9a21.js +0 -93
- package/dist/cjs/de-d41e9a21.js.map +0 -1
- package/dist/cjs/debounce-5a998889.js +0 -498
- package/dist/cjs/debounce-5a998889.js.map +0 -1
- package/dist/cjs/dom-1c95ec06.js +0 -1084
- package/dist/cjs/dom-1c95ec06.js.map +0 -1
- package/dist/cjs/el-a1a0cca9.js +0 -68
- package/dist/cjs/el-a1a0cca9.js.map +0 -1
- package/dist/cjs/en-au-c26b0742.js +0 -68
- package/dist/cjs/en-au-c26b0742.js.map +0 -1
- package/dist/cjs/en-ca-d1920660.js +0 -67
- package/dist/cjs/en-ca-d1920660.js.map +0 -1
- package/dist/cjs/en-gb-1f839448.js +0 -71
- package/dist/cjs/en-gb-1f839448.js.map +0 -1
- package/dist/cjs/es-2e5cb166.js +0 -68
- package/dist/cjs/es-2e5cb166.js.map +0 -1
- package/dist/cjs/es-mx-1a5e76e4.js +0 -67
- package/dist/cjs/es-mx-1a5e76e4.js.map +0 -1
- package/dist/cjs/et-6feea455.js +0 -94
- package/dist/cjs/et-6feea455.js.map +0 -1
- package/dist/cjs/fi-b7cba96b.js +0 -117
- package/dist/cjs/fi-b7cba96b.js.map +0 -1
- package/dist/cjs/filter-36b57d64.js +0 -762
- package/dist/cjs/filter-36b57d64.js.map +0 -1
- package/dist/cjs/floating-ui-b3589dda.js +0 -1981
- package/dist/cjs/floating-ui-b3589dda.js.map +0 -1
- package/dist/cjs/focusTrapComponent-781af75d.js +0 -1020
- package/dist/cjs/focusTrapComponent-781af75d.js.map +0 -1
- package/dist/cjs/form-8075c2bf.js +0 -333
- package/dist/cjs/form-8075c2bf.js.map +0 -1
- package/dist/cjs/fr-210378cf.js +0 -70
- package/dist/cjs/fr-210378cf.js.map +0 -1
- package/dist/cjs/fr-ch-8009cc63.js +0 -68
- package/dist/cjs/fr-ch-8009cc63.js.map +0 -1
- package/dist/cjs/guid-b54d4f6f.js +0 -23
- package/dist/cjs/guid-b54d4f6f.js.map +0 -1
- package/dist/cjs/he-fcc552f8.js +0 -107
- package/dist/cjs/he-fcc552f8.js.map +0 -1
- package/dist/cjs/hi-c6275606.js +0 -67
- package/dist/cjs/hi-c6275606.js.map +0 -1
- package/dist/cjs/hr-9e8df30a.js +0 -82
- package/dist/cjs/hr-9e8df30a.js.map +0 -1
- package/dist/cjs/hu-63298519.js +0 -90
- package/dist/cjs/hu-63298519.js.map +0 -1
- package/dist/cjs/id-9d594158.js +0 -68
- package/dist/cjs/id-9d594158.js.map +0 -1
- package/dist/cjs/index-577b4a58.js +0 -208
- package/dist/cjs/index-577b4a58.js.map +0 -1
- package/dist/cjs/index-83c2379a.js +0 -75
- package/dist/cjs/index-83c2379a.js.map +0 -1
- package/dist/cjs/index-ac8ddc40.js +0 -2663
- package/dist/cjs/index-ac8ddc40.js.map +0 -1
- package/dist/cjs/input-6106b7f9.js +0 -57
- package/dist/cjs/input-6106b7f9.js.map +0 -1
- package/dist/cjs/interactive-8ea1ee84.js +0 -151
- package/dist/cjs/interactive-8ea1ee84.js.map +0 -1
- package/dist/cjs/it-a4fe59ba.js +0 -68
- package/dist/cjs/it-a4fe59ba.js.map +0 -1
- package/dist/cjs/it-ch-6c3c624e.js +0 -68
- package/dist/cjs/it-ch-6c3c624e.js.map +0 -1
- package/dist/cjs/ja-b694414a.js +0 -74
- package/dist/cjs/ja-b694414a.js.map +0 -1
- package/dist/cjs/key-15fe7e2f.js +0 -16
- package/dist/cjs/key-15fe7e2f.js.map +0 -1
- package/dist/cjs/ko-9830a155.js +0 -74
- package/dist/cjs/ko-9830a155.js.map +0 -1
- package/dist/cjs/label-d786c0cb.js +0 -183
- package/dist/cjs/label-d786c0cb.js.map +0 -1
- package/dist/cjs/loadable-96af681d.js +0 -91
- package/dist/cjs/loadable-96af681d.js.map +0 -1
- package/dist/cjs/locale-a5749882.js +0 -576
- package/dist/cjs/locale-a5749882.js.map +0 -1
- package/dist/cjs/lt-ca47b9ab.js +0 -99
- package/dist/cjs/lt-ca47b9ab.js.map +0 -1
- package/dist/cjs/lv-61cfcb38.js +0 -68
- package/dist/cjs/lv-61cfcb38.js.map +0 -1
- package/dist/cjs/math-26a12122.js +0 -57
- package/dist/cjs/math-26a12122.js.map +0 -1
- package/dist/cjs/mk-b6ac028f.js +0 -68
- package/dist/cjs/mk-b6ac028f.js.map +0 -1
- package/dist/cjs/nb-70325887.js +0 -69
- package/dist/cjs/nb-70325887.js.map +0 -1
- package/dist/cjs/nl-3fa99395.js +0 -69
- package/dist/cjs/nl-3fa99395.js.map +0 -1
- package/dist/cjs/observers-0e539342.js +0 -50
- package/dist/cjs/observers-0e539342.js.map +0 -1
- package/dist/cjs/openCloseComponent-fde95b54.js +0 -89
- package/dist/cjs/openCloseComponent-fde95b54.js.map +0 -1
- package/dist/cjs/pl-c83f7179.js +0 -116
- package/dist/cjs/pl-c83f7179.js.map +0 -1
- package/dist/cjs/pt-0e143e29.js +0 -69
- package/dist/cjs/pt-0e143e29.js.map +0 -1
- package/dist/cjs/pt-br-4e90e86a.js +0 -67
- package/dist/cjs/pt-br-4e90e86a.js.map +0 -1
- package/dist/cjs/resources-1015acf8.js +0 -29
- package/dist/cjs/resources-1015acf8.js.map +0 -1
- package/dist/cjs/resources-392a5eaf.js +0 -23
- package/dist/cjs/resources-392a5eaf.js.map +0 -1
- package/dist/cjs/resources-4f35169c.js +0 -49
- package/dist/cjs/resources-4f35169c.js.map +0 -1
- package/dist/cjs/resources-9935eaaa.js +0 -26
- package/dist/cjs/resources-9935eaaa.js.map +0 -1
- package/dist/cjs/resources-c4d9bc35.js +0 -26
- package/dist/cjs/resources-c4d9bc35.js.map +0 -1
- package/dist/cjs/resources-f27d7edb.js +0 -17
- package/dist/cjs/resources-f27d7edb.js.map +0 -1
- package/dist/cjs/resources-fe1c98cd.js +0 -414
- package/dist/cjs/resources-fe1c98cd.js.map +0 -1
- package/dist/cjs/ro-c40e0db4.js +0 -68
- package/dist/cjs/ro-c40e0db4.js.map +0 -1
- package/dist/cjs/ru-8b31107d.js +0 -128
- package/dist/cjs/ru-8b31107d.js.map +0 -1
- package/dist/cjs/sk-6bd85072.js +0 -150
- package/dist/cjs/sk-6bd85072.js.map +0 -1
- package/dist/cjs/sl-6d6828e5.js +0 -170
- package/dist/cjs/sl-6d6828e5.js.map +0 -1
- package/dist/cjs/sortableComponent-c4055aa2.js +0 -2744
- package/dist/cjs/sortableComponent-c4055aa2.js.map +0 -1
- package/dist/cjs/sr-f6bf952f.js +0 -103
- package/dist/cjs/sr-f6bf952f.js.map +0 -1
- package/dist/cjs/sv-eb789fa2.js +0 -73
- package/dist/cjs/sv-eb789fa2.js.map +0 -1
- package/dist/cjs/t9n-9c5bc36c.js +0 -97
- package/dist/cjs/t9n-9c5bc36c.js.map +0 -1
- package/dist/cjs/th-00b9b238.js +0 -67
- package/dist/cjs/th-00b9b238.js.map +0 -1
- package/dist/cjs/throttle-a02507f8.js +0 -77
- package/dist/cjs/throttle-a02507f8.js.map +0 -1
- package/dist/cjs/tr-d06e3ff0.js +0 -68
- package/dist/cjs/tr-d06e3ff0.js.map +0 -1
- package/dist/cjs/uk-c1581986.js +0 -106
- package/dist/cjs/uk-c1581986.js.map +0 -1
- package/dist/cjs/utils-ad113cb7.js +0 -218
- package/dist/cjs/utils-ad113cb7.js.map +0 -1
- package/dist/cjs/utils-d9981390.js +0 -307
- package/dist/cjs/utils-d9981390.js.map +0 -1
- package/dist/cjs/vi-173c5b64.js +0 -72
- package/dist/cjs/vi-173c5b64.js.map +0 -1
- package/dist/cjs/zh-cn-9a524a19.js +0 -96
- package/dist/cjs/zh-cn-9a524a19.js.map +0 -1
- package/dist/cjs/zh-hk-46bb5d4f.js +0 -73
- package/dist/cjs/zh-hk-46bb5d4f.js.map +0 -1
- package/dist/cjs/zh-tw-f16f27f2.js +0 -94
- package/dist/cjs/zh-tw-f16f27f2.js.map +0 -1
- package/dist/esm/ExpandToggle-6e6d607b.js +0 -102
- package/dist/esm/ExpandToggle-6e6d607b.js.map +0 -1
- package/dist/esm/FloatingArrow-67f9fe1c.js +0 -47
- package/dist/esm/FloatingArrow-67f9fe1c.js.map +0 -1
- package/dist/esm/Heading-9d551236.js +0 -19
- package/dist/esm/Heading-9d551236.js.map +0 -1
- package/dist/esm/Validation-3bdaf762.js +0 -16
- package/dist/esm/Validation-3bdaf762.js.map +0 -1
- package/dist/esm/app-globals-abac38c6.js +0 -59
- package/dist/esm/app-globals-abac38c6.js.map +0 -1
- package/dist/esm/ar-dcbfe4a4.js +0 -104
- package/dist/esm/ar-dcbfe4a4.js.map +0 -1
- package/dist/esm/array-1612f3a9.js +0 -12
- package/dist/esm/array-1612f3a9.js.map +0 -1
- package/dist/esm/bg-de38573d.js +0 -82
- package/dist/esm/bg-de38573d.js.map +0 -1
- package/dist/esm/browser-26f0727c.js +0 -18
- package/dist/esm/browser-26f0727c.js.map +0 -1
- package/dist/esm/bs-df0a851b.js +0 -51
- package/dist/esm/bs-df0a851b.js.map +0 -1
- package/dist/esm/ca-e6e220dd.js +0 -71
- package/dist/esm/ca-e6e220dd.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-c4d9b829.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-c4d9b829.js.map +0 -1
- package/dist/esm/component-ec9f9062.js +0 -27
- package/dist/esm/component-ec9f9062.js.map +0 -1
- package/dist/esm/conditionalSlot-5707efa9.js +0 -57
- package/dist/esm/conditionalSlot-5707efa9.js.map +0 -1
- package/dist/esm/cs-a1cc2c51.js +0 -147
- package/dist/esm/cs-a1cc2c51.js.map +0 -1
- package/dist/esm/da-d82a31f1.js +0 -66
- package/dist/esm/da-d82a31f1.js.map +0 -1
- package/dist/esm/de-7054f439.js +0 -91
- package/dist/esm/de-7054f439.js.map +0 -1
- package/dist/esm/de-at-034362c7.js +0 -90
- package/dist/esm/de-at-034362c7.js.map +0 -1
- package/dist/esm/de-ch-a9ef361b.js +0 -90
- package/dist/esm/de-ch-a9ef361b.js.map +0 -1
- package/dist/esm/debounce-00101a41.js +0 -489
- package/dist/esm/debounce-00101a41.js.map +0 -1
- package/dist/esm/dom-bea5da81.js +0 -1053
- package/dist/esm/dom-bea5da81.js.map +0 -1
- package/dist/esm/el-1545624e.js +0 -66
- package/dist/esm/el-1545624e.js.map +0 -1
- package/dist/esm/en-au-12a3bd46.js +0 -66
- package/dist/esm/en-au-12a3bd46.js.map +0 -1
- package/dist/esm/en-ca-3dcf0c61.js +0 -65
- package/dist/esm/en-ca-3dcf0c61.js.map +0 -1
- package/dist/esm/en-gb-189df26f.js +0 -69
- package/dist/esm/en-gb-189df26f.js.map +0 -1
- package/dist/esm/es-5392e483.js +0 -66
- package/dist/esm/es-5392e483.js.map +0 -1
- package/dist/esm/es-mx-8cb677d0.js +0 -65
- package/dist/esm/es-mx-8cb677d0.js.map +0 -1
- package/dist/esm/et-b1b08c7a.js +0 -92
- package/dist/esm/et-b1b08c7a.js.map +0 -1
- package/dist/esm/fi-ddbcda95.js +0 -115
- package/dist/esm/fi-ddbcda95.js.map +0 -1
- package/dist/esm/filter-288059a6.js +0 -760
- package/dist/esm/filter-288059a6.js.map +0 -1
- package/dist/esm/floating-ui-d61390f6.js +0 -1973
- package/dist/esm/floating-ui-d61390f6.js.map +0 -1
- package/dist/esm/focusTrapComponent-6b2f2d88.js +0 -1015
- package/dist/esm/focusTrapComponent-6b2f2d88.js.map +0 -1
- package/dist/esm/form-3f199679.js +0 -324
- package/dist/esm/form-3f199679.js.map +0 -1
- package/dist/esm/fr-ch-40c307f2.js +0 -66
- package/dist/esm/fr-ch-40c307f2.js.map +0 -1
- package/dist/esm/fr-e3dc094f.js +0 -68
- package/dist/esm/fr-e3dc094f.js.map +0 -1
- package/dist/esm/guid-9a252389.js +0 -21
- package/dist/esm/guid-9a252389.js.map +0 -1
- package/dist/esm/he-fcdfa0c3.js +0 -105
- package/dist/esm/he-fcdfa0c3.js.map +0 -1
- package/dist/esm/hi-948bf98a.js +0 -65
- package/dist/esm/hi-948bf98a.js.map +0 -1
- package/dist/esm/hr-9602a560.js +0 -80
- package/dist/esm/hr-9602a560.js.map +0 -1
- package/dist/esm/hu-729135c9.js +0 -88
- package/dist/esm/hu-729135c9.js.map +0 -1
- package/dist/esm/id-8e3c90ec.js +0 -66
- package/dist/esm/id-8e3c90ec.js.map +0 -1
- package/dist/esm/index-1e9a7cab.js +0 -73
- package/dist/esm/index-1e9a7cab.js.map +0 -1
- package/dist/esm/index-2e6dbb80.js +0 -2628
- package/dist/esm/index-2e6dbb80.js.map +0 -1
- package/dist/esm/index-ba81c72a.js +0 -206
- package/dist/esm/index-ba81c72a.js.map +0 -1
- package/dist/esm/input-c7999a57.js +0 -55
- package/dist/esm/input-c7999a57.js.map +0 -1
- package/dist/esm/interactive-a992f5df.js +0 -146
- package/dist/esm/interactive-a992f5df.js.map +0 -1
- package/dist/esm/it-4043fa55.js +0 -66
- package/dist/esm/it-4043fa55.js.map +0 -1
- package/dist/esm/it-ch-786e144d.js +0 -66
- package/dist/esm/it-ch-786e144d.js.map +0 -1
- package/dist/esm/ja-87994688.js +0 -72
- package/dist/esm/ja-87994688.js.map +0 -1
- package/dist/esm/key-c94e53b5.js +0 -13
- package/dist/esm/key-c94e53b5.js.map +0 -1
- package/dist/esm/ko-2db0b492.js +0 -72
- package/dist/esm/ko-2db0b492.js.map +0 -1
- package/dist/esm/label-ce4d8e83.js +0 -176
- package/dist/esm/label-ce4d8e83.js.map +0 -1
- package/dist/esm/loadable-0092c6b2.js +0 -86
- package/dist/esm/loadable-0092c6b2.js.map +0 -1
- package/dist/esm/locale-ccbc05e8.js +0 -563
- package/dist/esm/locale-ccbc05e8.js.map +0 -1
- package/dist/esm/lt-333a9ad1.js +0 -97
- package/dist/esm/lt-333a9ad1.js.map +0 -1
- package/dist/esm/lv-95447423.js +0 -66
- package/dist/esm/lv-95447423.js.map +0 -1
- package/dist/esm/math-246b75fd.js +0 -51
- package/dist/esm/math-246b75fd.js.map +0 -1
- package/dist/esm/mk-c7c73e12.js +0 -66
- package/dist/esm/mk-c7c73e12.js.map +0 -1
- package/dist/esm/nb-33408a10.js +0 -67
- package/dist/esm/nb-33408a10.js.map +0 -1
- package/dist/esm/nl-fc1011df.js +0 -67
- package/dist/esm/nl-fc1011df.js.map +0 -1
- package/dist/esm/observers-fe652afa.js +0 -48
- package/dist/esm/observers-fe652afa.js.map +0 -1
- package/dist/esm/openCloseComponent-fb5847f4.js +0 -87
- package/dist/esm/openCloseComponent-fb5847f4.js.map +0 -1
- package/dist/esm/pl-6bf43fe9.js +0 -114
- package/dist/esm/pl-6bf43fe9.js.map +0 -1
- package/dist/esm/pt-45199b4c.js +0 -67
- package/dist/esm/pt-45199b4c.js.map +0 -1
- package/dist/esm/pt-br-c0fd2736.js +0 -65
- package/dist/esm/pt-br-c0fd2736.js.map +0 -1
- package/dist/esm/resources-55aa4dd7.js +0 -21
- package/dist/esm/resources-55aa4dd7.js.map +0 -1
- package/dist/esm/resources-7070906b.js +0 -23
- package/dist/esm/resources-7070906b.js.map +0 -1
- package/dist/esm/resources-75331453.js +0 -387
- package/dist/esm/resources-75331453.js.map +0 -1
- package/dist/esm/resources-7869c2de.js +0 -19
- package/dist/esm/resources-7869c2de.js.map +0 -1
- package/dist/esm/resources-7f471cf5.js +0 -17
- package/dist/esm/resources-7f471cf5.js.map +0 -1
- package/dist/esm/resources-cf2a18ec.js +0 -45
- package/dist/esm/resources-cf2a18ec.js.map +0 -1
- package/dist/esm/resources-ed5aea48.js +0 -25
- package/dist/esm/resources-ed5aea48.js.map +0 -1
- package/dist/esm/ro-221c8a3d.js +0 -66
- package/dist/esm/ro-221c8a3d.js.map +0 -1
- package/dist/esm/ru-a1de008f.js +0 -126
- package/dist/esm/ru-a1de008f.js.map +0 -1
- package/dist/esm/sk-38153d47.js +0 -148
- package/dist/esm/sk-38153d47.js.map +0 -1
- package/dist/esm/sl-f4ef8648.js +0 -168
- package/dist/esm/sl-f4ef8648.js.map +0 -1
- package/dist/esm/sortableComponent-4b6a2bdc.js +0 -2740
- package/dist/esm/sortableComponent-4b6a2bdc.js.map +0 -1
- package/dist/esm/sr-51f0c352.js +0 -101
- package/dist/esm/sr-51f0c352.js.map +0 -1
- package/dist/esm/sv-f5cc40d2.js +0 -71
- package/dist/esm/sv-f5cc40d2.js.map +0 -1
- package/dist/esm/t9n-e5ee6b09.js +0 -92
- package/dist/esm/t9n-e5ee6b09.js.map +0 -1
- package/dist/esm/th-fdc9cbf2.js +0 -65
- package/dist/esm/th-fdc9cbf2.js.map +0 -1
- package/dist/esm/throttle-45bc63e1.js +0 -75
- package/dist/esm/throttle-45bc63e1.js.map +0 -1
- package/dist/esm/tr-e2144a34.js +0 -66
- package/dist/esm/tr-e2144a34.js.map +0 -1
- package/dist/esm/uk-8a868c2c.js +0 -104
- package/dist/esm/uk-8a868c2c.js.map +0 -1
- package/dist/esm/utils-45063577.js +0 -289
- package/dist/esm/utils-45063577.js.map +0 -1
- package/dist/esm/utils-833c7966.js +0 -200
- package/dist/esm/utils-833c7966.js.map +0 -1
- package/dist/esm/vi-a832a80b.js +0 -70
- package/dist/esm/vi-a832a80b.js.map +0 -1
- package/dist/esm/zh-cn-5c2bc3d5.js +0 -94
- package/dist/esm/zh-cn-5c2bc3d5.js.map +0 -1
- package/dist/esm/zh-hk-5f93fc98.js +0 -71
- package/dist/esm/zh-hk-5f93fc98.js.map +0 -1
- package/dist/esm/zh-tw-2ff522b8.js +0 -92
- package/dist/esm/zh-tw-2ff522b8.js.map +0 -1
- package/dist/extras/vscode-data.json +0 -7011
- /package/dist/calcite/{p-7b98bc1f.entry.js.map → p-04003e06.entry.js.map} +0 -0
- /package/dist/calcite/{p-bbf48beb.entry.js.map → p-050911eb.entry.js.map} +0 -0
- /package/dist/calcite/{p-c1c7939e.entry.js.map → p-051bd53e.entry.js.map} +0 -0
- /package/dist/calcite/{p-cf5f508e.js.map → p-0b5c72c1.js.map} +0 -0
- /package/dist/calcite/{p-14bc5cec.entry.js.map → p-0e1cb316.entry.js.map} +0 -0
- /package/dist/calcite/{p-82592b96.entry.js.map → p-0e20a1f8.entry.js.map} +0 -0
- /package/dist/calcite/{p-d7db4136.js.map → p-0f3c0376.js.map} +0 -0
- /package/dist/calcite/{p-c7b725f8.js.map → p-0f9d9fa4.js.map} +0 -0
- /package/dist/calcite/{p-99d8250f.entry.js.map → p-10d7ea74.entry.js.map} +0 -0
- /package/dist/calcite/{p-a13152ec.entry.js.map → p-118d52ad.entry.js.map} +0 -0
- /package/dist/calcite/{p-ca322256.entry.js.map → p-12703a19.entry.js.map} +0 -0
- /package/dist/calcite/{p-af35f0c0.js.map → p-12c8757c.js.map} +0 -0
- /package/dist/calcite/{p-14f92bb3.js.map → p-12e95ceb.js.map} +0 -0
- /package/dist/calcite/{p-1c483bd6.js.map → p-1466ff70.js.map} +0 -0
- /package/dist/calcite/{p-8ddf02b9.js.map → p-18b6f94d.js.map} +0 -0
- /package/dist/calcite/{p-c7f2f9a6.js.map → p-19e67425.js.map} +0 -0
- /package/dist/calcite/{p-b619d80a.js.map → p-1a108b5e.js.map} +0 -0
- /package/dist/calcite/{p-1a6752df.js.map → p-1bafa907.js.map} +0 -0
- /package/dist/calcite/{p-72f36aaf.entry.js.map → p-1c5f7108.entry.js.map} +0 -0
- /package/dist/calcite/{p-032e1b73.js.map → p-1d6400b5.js.map} +0 -0
- /package/dist/calcite/{p-6c2d5224.entry.js.map → p-1e0fb16e.entry.js.map} +0 -0
- /package/dist/calcite/{p-ff888763.js.map → p-25365f40.js.map} +0 -0
- /package/dist/calcite/{p-89b3c240.js.map → p-28682d8f.js.map} +0 -0
- /package/dist/calcite/{p-bf93df18.js.map → p-28f07162.js.map} +0 -0
- /package/dist/calcite/{p-e545f220.entry.js.map → p-294dd906.entry.js.map} +0 -0
- /package/dist/calcite/{p-ab050384.js.map → p-2bca800a.js.map} +0 -0
- /package/dist/calcite/{p-fee69745.js.map → p-2ca19e67.js.map} +0 -0
- /package/dist/calcite/{p-185372cf.js.map → p-2f290856.js.map} +0 -0
- /package/dist/calcite/{p-50594376.entry.js.map → p-30deeedf.entry.js.map} +0 -0
- /package/dist/calcite/{p-bad016a4.js.map → p-3450e3cd.js.map} +0 -0
- /package/dist/calcite/{p-7e87fbbf.js.map → p-37638b68.js.map} +0 -0
- /package/dist/calcite/{p-4d96af85.js.map → p-3883d69d.js.map} +0 -0
- /package/dist/calcite/{p-48f47c9d.entry.js.map → p-3c5a9712.entry.js.map} +0 -0
- /package/dist/calcite/{p-66d42d21.entry.js.map → p-3dcda391.entry.js.map} +0 -0
- /package/dist/calcite/{p-4ac88b96.js.map → p-3f62bb2b.js.map} +0 -0
- /package/dist/calcite/{p-fdfa8afe.js.map → p-415227ad.js.map} +0 -0
- /package/dist/calcite/{p-8c6045af.entry.js.map → p-46a022a0.entry.js.map} +0 -0
- /package/dist/calcite/{p-514e8357.js.map → p-4725d93c.js.map} +0 -0
- /package/dist/calcite/{p-29521005.js.map → p-47ebb32a.js.map} +0 -0
- /package/dist/calcite/{p-cce8be8c.js.map → p-4fe9975d.js.map} +0 -0
- /package/dist/calcite/{p-ffadd2fe.entry.js.map → p-532daa18.entry.js.map} +0 -0
- /package/dist/calcite/{p-29f24984.js.map → p-539471ee.js.map} +0 -0
- /package/dist/calcite/{p-8494670c.entry.js.map → p-541431f7.entry.js.map} +0 -0
- /package/dist/calcite/{p-de13da18.entry.js.map → p-544f136f.entry.js.map} +0 -0
- /package/dist/calcite/{p-b6a21aeb.js.map → p-549d250c.js.map} +0 -0
- /package/dist/calcite/{p-40c7c601.entry.js.map → p-59d34b58.entry.js.map} +0 -0
- /package/dist/calcite/{p-3795da5e.entry.js.map → p-5b4fc029.entry.js.map} +0 -0
- /package/dist/calcite/{p-90c5ed0e.js.map → p-5d7f4aa4.js.map} +0 -0
- /package/dist/calcite/{p-b936a66f.entry.js.map → p-5ebebc74.entry.js.map} +0 -0
- /package/dist/calcite/{p-7806f2e0.entry.js.map → p-620426c6.entry.js.map} +0 -0
- /package/dist/calcite/{p-4f756b9e.entry.js.map → p-620ac1b9.entry.js.map} +0 -0
- /package/dist/calcite/{p-03a582ea.js.map → p-64fdbeaa.js.map} +0 -0
- /package/dist/calcite/{p-c6eecab4.js.map → p-6afc08d5.js.map} +0 -0
- /package/dist/calcite/{p-adc0899b.js.map → p-6b75f0db.js.map} +0 -0
- /package/dist/calcite/{p-d2abc904.js.map → p-6cfaa60b.js.map} +0 -0
- /package/dist/calcite/{p-b036c99c.entry.js.map → p-6dda4b22.entry.js.map} +0 -0
- /package/dist/calcite/{p-e2a28e66.js.map → p-6dfc01c5.js.map} +0 -0
- /package/dist/calcite/{p-2c109b90.js.map → p-7115cb91.js.map} +0 -0
- /package/dist/calcite/{p-60afcad4.js.map → p-71590cfd.js.map} +0 -0
- /package/dist/calcite/{p-f492b6ca.entry.js.map → p-7238efd7.entry.js.map} +0 -0
- /package/dist/calcite/{p-dc2e0ce7.entry.js.map → p-73b91960.entry.js.map} +0 -0
- /package/dist/calcite/{p-483132ab.js.map → p-7438ecf8.js.map} +0 -0
- /package/dist/calcite/{p-04940e82.js.map → p-74ea6aff.js.map} +0 -0
- /package/dist/calcite/{p-cad0d6bb.entry.js.map → p-75accf60.entry.js.map} +0 -0
- /package/dist/calcite/{p-0f59280e.js.map → p-780fe459.js.map} +0 -0
- /package/dist/calcite/{p-610dfbd3.js.map → p-79af535e.js.map} +0 -0
- /package/dist/calcite/{p-6dafff3c.js.map → p-7ab4c62c.js.map} +0 -0
- /package/dist/calcite/{p-d375d508.js.map → p-7b767a2a.js.map} +0 -0
- /package/dist/calcite/{p-4e4b9ffd.js.map → p-80a852ec.js.map} +0 -0
- /package/dist/calcite/{p-bea3584d.js.map → p-80e751c9.js.map} +0 -0
- /package/dist/calcite/{p-5cee5a83.js.map → p-82ec499f.js.map} +0 -0
- /package/dist/calcite/{p-77298538.entry.js.map → p-85786f73.entry.js.map} +0 -0
- /package/dist/calcite/{p-b3019266.js.map → p-8668595c.js.map} +0 -0
- /package/dist/calcite/{p-594d544d.entry.js.map → p-874e628e.entry.js.map} +0 -0
- /package/dist/calcite/{p-0b0684c5.entry.js.map → p-88d9aa99.entry.js.map} +0 -0
- /package/dist/calcite/{p-aca8fde9.entry.js.map → p-8b85377c.entry.js.map} +0 -0
- /package/dist/calcite/{p-5f0b2868.js.map → p-8f910986.js.map} +0 -0
- /package/dist/calcite/{p-186558a8.js.map → p-8ff13b0e.js.map} +0 -0
- /package/dist/calcite/{p-9302c2fe.js.map → p-92ed964c.js.map} +0 -0
- /package/dist/calcite/{p-66c6d638.js.map → p-9416131a.js.map} +0 -0
- /package/dist/calcite/{p-b830e866.entry.js.map → p-960dd8ce.entry.js.map} +0 -0
- /package/dist/calcite/{p-b8674e14.entry.js.map → p-98887e43.entry.js.map} +0 -0
- /package/dist/calcite/{p-fbd0717b.js.map → p-9d14303c.js.map} +0 -0
- /package/dist/calcite/{p-bb763773.entry.js.map → p-9e1e7004.entry.js.map} +0 -0
- /package/dist/calcite/{p-29c6f248.js.map → p-a0e10869.js.map} +0 -0
- /package/dist/calcite/{p-78e9ff42.js.map → p-a3e47fd5.js.map} +0 -0
- /package/dist/calcite/{p-873c3874.js.map → p-a64b8327.js.map} +0 -0
- /package/dist/calcite/{p-cc675a36.entry.js.map → p-ac253e2c.entry.js.map} +0 -0
- /package/dist/calcite/{p-2d898a64.js.map → p-ae099f54.js.map} +0 -0
- /package/dist/calcite/{p-d031ad17.js.map → p-af2d9d05.js.map} +0 -0
- /package/dist/calcite/{p-3999bac9.js.map → p-af4ddf72.js.map} +0 -0
- /package/dist/calcite/{p-2ffe595c.js.map → p-b0590996.js.map} +0 -0
- /package/dist/calcite/{p-2e77ed0f.js.map → p-b28231df.js.map} +0 -0
- /package/dist/calcite/{p-74a88f40.entry.js.map → p-b294ee48.entry.js.map} +0 -0
- /package/dist/calcite/{p-52202c9e.entry.js.map → p-b298f488.entry.js.map} +0 -0
- /package/dist/calcite/{p-9563f98a.js.map → p-b391d355.js.map} +0 -0
- /package/dist/calcite/{p-4770523f.js.map → p-b4b858c6.js.map} +0 -0
- /package/dist/calcite/{p-19a20d07.js.map → p-b5dd413e.js.map} +0 -0
- /package/dist/calcite/{p-d31a6f76.entry.js.map → p-b612cfb9.entry.js.map} +0 -0
- /package/dist/calcite/{p-32d78353.js.map → p-bb69d48c.js.map} +0 -0
- /package/dist/calcite/{p-9e0dc190.js.map → p-c20854ee.js.map} +0 -0
- /package/dist/calcite/{p-e32ff351.js.map → p-c23c6608.js.map} +0 -0
- /package/dist/calcite/{p-487f5585.js.map → p-c2bbf1f3.js.map} +0 -0
- /package/dist/calcite/{p-b246dd96.entry.js.map → p-c3166870.entry.js.map} +0 -0
- /package/dist/calcite/{p-983a125b.js.map → p-c37d0d59.js.map} +0 -0
- /package/dist/calcite/{p-15f61b02.entry.js.map → p-c45d3850.entry.js.map} +0 -0
- /package/dist/calcite/{p-2a47f297.js.map → p-c46b0cf1.js.map} +0 -0
- /package/dist/calcite/{p-e2fd0715.js.map → p-c489ba26.js.map} +0 -0
- /package/dist/calcite/{p-018e67a9.js.map → p-c7fb962e.js.map} +0 -0
- /package/dist/calcite/{p-2f8ad978.js.map → p-c9e19694.js.map} +0 -0
- /package/dist/calcite/{p-15d91776.js.map → p-cba87314.js.map} +0 -0
- /package/dist/calcite/{p-2d6c4f51.entry.js.map → p-ccdcbcef.entry.js.map} +0 -0
- /package/dist/calcite/{p-064166f7.js.map → p-cf8dfc13.js.map} +0 -0
- /package/dist/calcite/{p-793edc0e.js.map → p-d530da8d.js.map} +0 -0
- /package/dist/calcite/{p-2307e5f7.js.map → p-d68e1d3d.js.map} +0 -0
- /package/dist/calcite/{p-1ae516e6.js.map → p-d8289eba.js.map} +0 -0
- /package/dist/calcite/{p-6810fe58.js.map → p-d9e49148.js.map} +0 -0
- /package/dist/calcite/{p-f9a4a10d.js.map → p-df15593d.js.map} +0 -0
- /package/dist/calcite/{p-858fc9a8.entry.js.map → p-e1c3fea9.entry.js.map} +0 -0
- /package/dist/calcite/{p-497d392d.js.map → p-e3db40a6.js.map} +0 -0
- /package/dist/calcite/{p-3e42a3f7.js.map → p-e4995e18.js.map} +0 -0
- /package/dist/calcite/{p-db0c43ab.js.map → p-e78d9e2b.js.map} +0 -0
- /package/dist/calcite/{p-95b82782.entry.js.map → p-e7e3e03c.entry.js.map} +0 -0
- /package/dist/calcite/{p-f1309a00.entry.js.map → p-e8bf5a6c.entry.js.map} +0 -0
- /package/dist/calcite/{p-1377a766.js.map → p-eab0ea3f.js.map} +0 -0
- /package/dist/calcite/{p-16d1801b.js.map → p-eb4c1362.js.map} +0 -0
- /package/dist/calcite/{p-a9ee8930.entry.js.map → p-eda43667.entry.js.map} +0 -0
- /package/dist/calcite/{p-0b2fbc9a.entry.js.map → p-ef90d8a7.entry.js.map} +0 -0
- /package/dist/calcite/{p-3bf8f072.js.map → p-f1e11081.js.map} +0 -0
- /package/dist/calcite/{p-657f34c7.js.map → p-f66785dd.js.map} +0 -0
- /package/dist/calcite/{p-49898eec.js.map → p-f6d72d7b.js.map} +0 -0
- /package/dist/calcite/{p-0a96f43f.js.map → p-f7e88c1a.js.map} +0 -0
- /package/dist/calcite/{p-7b62191f.js.map → p-f961f0dc.js.map} +0 -0
- /package/dist/calcite/{p-73313776.js.map → p-fa4a0fb9.js.map} +0 -0
- /package/dist/calcite/{p-5a3e9a13.entry.js.map → p-fcb0009a.entry.js.map} +0 -0
- /package/dist/calcite/{p-7cf22b7d.entry.js.map → p-fe0f4fb1.entry.js.map} +0 -0
- /package/dist/calcite/{p-d90cd7e9.js.map → p-fe72e068.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as s,g as n,F as i}from"./p-af4ddf72.js";import{i as o,g as r,d as a,j as l}from"./p-08c2ed86.js";import{C as c,n as h,a as u,o as d,b as f,c as p,p as g,d as b,t as m,e as w,f as y,g as v,j as k,i as x,r as C,k as M}from"./p-80a852ec.js";import{c as S,d as A,u as j,I as z}from"./p-c9e19694.js";import{i as F}from"./p-f1e11081.js";import{c as O,s as $,a as D}from"./p-fa4a0fb9.js";import{c as I,d as q}from"./p-415227ad.js";import{r as E,c as N,a as L}from"./p-f7e88c1a.js";import{u as K,s as U,c as P,d as T}from"./p-cf8dfc13.js";import{t as _}from"./p-4fe9975d.js";import"./p-18b6f94d.js";import"./p-8668595c.js";import"./p-780fe459.js";import"./p-19e67425.js";import"./p-12c8757c.js";function B(t,e,s){return s={path:e,exports:{},require:function(t,e){return H()}},t(s,s.exports),s.exports}function H(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var V={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var J=function t(e){if(!e||typeof e==="string"){return false}return e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")};var R=B((function(t){var e=Array.prototype.concat;var s=Array.prototype.slice;var n=t.exports=function t(n){var i=[];for(var o=0,r=n.length;o<r;o++){var a=n[o];if(J(a)){i=e.call(i,s.call(a))}else{i.push(a)}}return i};n.wrap=function(t){return function(){return t(n(arguments))}}}));var X=B((function(t){var e=Object.hasOwnProperty;var s=Object.create(null);for(var n in V){if(e.call(V,n)){s[V[n]]=n}}var i=t.exports={to:{},get:{}};i.get=function(t){var e=t.substring(0,3).toLowerCase();var s;var n;switch(e){case"hsl":s=i.get.hsl(t);n="hsl";break;case"hwb":s=i.get.hwb(t);n="hwb";break;default:s=i.get.rgb(t);n="rgb";break}if(!s){return null}return{model:n,value:s}};i.get.rgb=function(t){if(!t){return null}var s=/^#([a-f0-9]{3,4})$/i;var n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i;var i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;var a=/^(\w+)$/;var l=[0,0,0,1];var c;var h;var u;if(c=t.match(n)){u=c[2];c=c[1];for(h=0;h<3;h++){var d=h*2;l[h]=parseInt(c.slice(d,d+2),16)}if(u){l[3]=parseInt(u,16)/255}}else if(c=t.match(s)){c=c[1];u=c[3];for(h=0;h<3;h++){l[h]=parseInt(c[h]+c[h],16)}if(u){l[3]=parseInt(u+u,16)/255}}else if(c=t.match(i)){for(h=0;h<3;h++){l[h]=parseInt(c[h+1],0)}if(c[4]){if(c[5]){l[3]=parseFloat(c[4])*.01}else{l[3]=parseFloat(c[4])}}}else if(c=t.match(r)){for(h=0;h<3;h++){l[h]=Math.round(parseFloat(c[h+1])*2.55)}if(c[4]){if(c[5]){l[3]=parseFloat(c[4])*.01}else{l[3]=parseFloat(c[4])}}}else if(c=t.match(a)){if(c[1]==="transparent"){return[0,0,0,0]}if(!e.call(V,c[1])){return null}l=V[c[1]];l[3]=1;return l}else{return null}for(h=0;h<3;h++){l[h]=o(l[h],0,255)}l[3]=o(l[3],0,1);return l};i.get.hsl=function(t){if(!t){return null}var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var s=t.match(e);if(s){var n=parseFloat(s[4]);var i=(parseFloat(s[1])%360+360)%360;var r=o(parseFloat(s[2]),0,100);var a=o(parseFloat(s[3]),0,100);var l=o(isNaN(n)?1:n,0,1);return[i,r,a,l]}return null};i.get.hwb=function(t){if(!t){return null}var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/;var s=t.match(e);if(s){var n=parseFloat(s[4]);var i=(parseFloat(s[1])%360+360)%360;var r=o(parseFloat(s[2]),0,100);var a=o(parseFloat(s[3]),0,100);var l=o(isNaN(n)?1:n,0,1);return[i,r,a,l]}return null};i.to.hex=function(){var t=R(arguments);return"#"+r(t[0])+r(t[1])+r(t[2])+(t[3]<1?r(Math.round(t[3]*255)):"")};i.to.rgb=function(){var t=R(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};i.to.rgb.percent=function(){var t=R(arguments);var e=Math.round(t[0]/255*100);var s=Math.round(t[1]/255*100);var n=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+s+"%, "+n+"%)":"rgba("+e+"%, "+s+"%, "+n+"%, "+t[3]+")"};i.to.hsl=function(){var t=R(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};i.to.hwb=function(){var t=R(arguments);var e="";if(t.length>=4&&t[3]!==1){e=", "+t[3]}return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};i.to.keyword=function(t){return s[t.slice(0,3)]};function o(t,e,s){return Math.min(Math.max(e,t),s)}function r(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}}));var W={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const G={};for(const t of Object.keys(W)){G[W[t]]=t}const Y={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Q=Y;for(const t of Object.keys(Y)){if(!("channels"in Y[t])){throw new Error("missing channels property: "+t)}if(!("labels"in Y[t])){throw new Error("missing channel labels property: "+t)}if(Y[t].labels.length!==Y[t].channels){throw new Error("channel and label counts mismatch: "+t)}const{channels:e,labels:s}=Y[t];delete Y[t].channels;delete Y[t].labels;Object.defineProperty(Y[t],"channels",{value:e});Object.defineProperty(Y[t],"labels",{value:s})}Y.rgb.hsl=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.min(e,s,n);const o=Math.max(e,s,n);const r=o-i;let a;let l;if(o===i){a=0}else if(e===o){a=(s-n)/r}else if(s===o){a=2+(n-e)/r}else if(n===o){a=4+(e-s)/r}a=Math.min(a*60,360);if(a<0){a+=360}const c=(i+o)/2;if(o===i){l=0}else if(c<=.5){l=r/(o+i)}else{l=r/(2-o-i)}return[a,l*100,c*100]};Y.rgb.hsv=function(t){let e;let s;let n;let i;let o;const r=t[0]/255;const a=t[1]/255;const l=t[2]/255;const c=Math.max(r,a,l);const h=c-Math.min(r,a,l);const u=function(t){return(c-t)/6/h+1/2};if(h===0){i=0;o=0}else{o=h/c;e=u(r);s=u(a);n=u(l);if(r===c){i=n-s}else if(a===c){i=1/3+e-n}else if(l===c){i=2/3+s-e}if(i<0){i+=1}else if(i>1){i-=1}}return[i*360,o*100,c*100]};Y.rgb.hwb=function(t){const e=t[0];const s=t[1];let n=t[2];const i=Y.rgb.hsl(t)[0];const o=1/255*Math.min(e,Math.min(s,n));n=1-1/255*Math.max(e,Math.max(s,n));return[i,o*100,n*100]};Y.rgb.cmyk=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.min(1-e,1-s,1-n);const o=(1-e-i)/(1-i)||0;const r=(1-s-i)/(1-i)||0;const a=(1-n-i)/(1-i)||0;return[o*100,r*100,a*100,i*100]};function Z(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Y.rgb.keyword=function(t){const e=G[t];if(e){return e}let s=Infinity;let n;for(const e of Object.keys(W)){const i=W[e];const o=Z(t,i);if(o<s){s=o;n=e}}return n};Y.keyword.rgb=function(t){return W[t]};Y.rgb.xyz=function(t){let e=t[0]/255;let s=t[1]/255;let n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92;s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=e*.4124+s*.3576+n*.1805;const o=e*.2126+s*.7152+n*.0722;const r=e*.0193+s*.1192+n*.9505;return[i*100,o*100,r*100]};Y.rgb.lab=function(t){const e=Y.rgb.xyz(t);let s=e[0];let n=e[1];let i=e[2];s/=95.047;n/=100;i/=108.883;s=s>.008856?s**(1/3):7.787*s+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*n-16;const r=500*(s-n);const a=200*(n-i);return[o,r,a]};Y.hsl.rgb=function(t){const e=t[0]/360;const s=t[1]/100;const n=t[2]/100;let i;let o;let r;if(s===0){r=n*255;return[r,r,r]}if(n<.5){i=n*(1+s)}else{i=n+s-n*s}const a=2*n-i;const l=[0,0,0];for(let t=0;t<3;t++){o=e+1/3*-(t-1);if(o<0){o++}if(o>1){o--}if(6*o<1){r=a+(i-a)*6*o}else if(2*o<1){r=i}else if(3*o<2){r=a+(i-a)*(2/3-o)*6}else{r=a}l[t]=r*255}return l};Y.hsl.hsv=function(t){const e=t[0];let s=t[1]/100;let n=t[2]/100;let i=s;const o=Math.max(n,.01);n*=2;s*=n<=1?n:2-n;i*=o<=1?o:2-o;const r=(n+s)/2;const a=n===0?2*i/(o+i):2*s/(n+s);return[e,a*100,r*100]};Y.hsv.rgb=function(t){const e=t[0]/60;const s=t[1]/100;let n=t[2]/100;const i=Math.floor(e)%6;const o=e-Math.floor(e);const r=255*n*(1-s);const a=255*n*(1-s*o);const l=255*n*(1-s*(1-o));n*=255;switch(i){case 0:return[n,l,r];case 1:return[a,n,r];case 2:return[r,n,l];case 3:return[r,a,n];case 4:return[l,r,n];case 5:return[n,r,a]}};Y.hsv.hsl=function(t){const e=t[0];const s=t[1]/100;const n=t[2]/100;const i=Math.max(n,.01);let o;let r;r=(2-s)*n;const a=(2-s)*i;o=s*i;o/=a<=1?a:2-a;o=o||0;r/=2;return[e,o*100,r*100]};Y.hwb.rgb=function(t){const e=t[0]/360;let s=t[1]/100;let n=t[2]/100;const i=s+n;let o;if(i>1){s/=i;n/=i}const r=Math.floor(6*e);const a=1-n;o=6*e-r;if((r&1)!==0){o=1-o}const l=s+o*(a-s);let c;let h;let u;switch(r){default:case 6:case 0:c=a;h=l;u=s;break;case 1:c=l;h=a;u=s;break;case 2:c=s;h=a;u=l;break;case 3:c=s;h=l;u=a;break;case 4:c=l;h=s;u=a;break;case 5:c=a;h=s;u=l;break}return[c*255,h*255,u*255]};Y.cmyk.rgb=function(t){const e=t[0]/100;const s=t[1]/100;const n=t[2]/100;const i=t[3]/100;const o=1-Math.min(1,e*(1-i)+i);const r=1-Math.min(1,s*(1-i)+i);const a=1-Math.min(1,n*(1-i)+i);return[o*255,r*255,a*255]};Y.xyz.rgb=function(t){const e=t[0]/100;const s=t[1]/100;const n=t[2]/100;let i;let o;let r;i=e*3.2406+s*-1.5372+n*-.4986;o=e*-.9689+s*1.8758+n*.0415;r=e*.0557+s*-.204+n*1.057;i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92;o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92;r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92;i=Math.min(Math.max(0,i),1);o=Math.min(Math.max(0,o),1);r=Math.min(Math.max(0,r),1);return[i*255,o*255,r*255]};Y.xyz.lab=function(t){let e=t[0];let s=t[1];let n=t[2];e/=95.047;s/=100;n/=108.883;e=e>.008856?e**(1/3):7.787*e+16/116;s=s>.008856?s**(1/3):7.787*s+16/116;n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*s-16;const o=500*(e-s);const r=200*(s-n);return[i,o,r]};Y.lab.xyz=function(t){const e=t[0];const s=t[1];const n=t[2];let i;let o;let r;o=(e+16)/116;i=s/500+o;r=o-n/200;const a=o**3;const l=i**3;const c=r**3;o=a>.008856?a:(o-16/116)/7.787;i=l>.008856?l:(i-16/116)/7.787;r=c>.008856?c:(r-16/116)/7.787;i*=95.047;o*=100;r*=108.883;return[i,o,r]};Y.lab.lch=function(t){const e=t[0];const s=t[1];const n=t[2];let i;const o=Math.atan2(n,s);i=o*360/2/Math.PI;if(i<0){i+=360}const r=Math.sqrt(s*s+n*n);return[e,r,i]};Y.lch.lab=function(t){const e=t[0];const s=t[1];const n=t[2];const i=n/360*2*Math.PI;const o=s*Math.cos(i);const r=s*Math.sin(i);return[e,o,r]};Y.rgb.ansi16=function(t,e=null){const[s,n,i]=t;let o=e===null?Y.rgb.hsv(t)[2]:e;o=Math.round(o/50);if(o===0){return 30}let r=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(s/255));if(o===2){r+=60}return r};Y.hsv.ansi16=function(t){return Y.rgb.ansi16(Y.hsv.rgb(t),t[2])};Y.rgb.ansi256=function(t){const e=t[0];const s=t[1];const n=t[2];if(e===s&&s===n){if(e<8){return 16}if(e>248){return 231}return Math.round((e-8)/247*24)+232}const i=16+36*Math.round(e/255*5)+6*Math.round(s/255*5)+Math.round(n/255*5);return i};Y.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7){if(t>50){e+=3.5}e=e/10.5*255;return[e,e,e]}const s=(~~(t>50)+1)*.5;const n=(e&1)*s*255;const i=(e>>1&1)*s*255;const o=(e>>2&1)*s*255;return[n,i,o]};Y.ansi256.rgb=function(t){if(t>=232){const e=(t-232)*10+8;return[e,e,e]}t-=16;let e;const s=Math.floor(t/36)/5*255;const n=Math.floor((e=t%36)/6)/5*255;const i=e%6/5*255;return[s,n,i]};Y.rgb.hex=function(t){const e=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255);const s=e.toString(16).toUpperCase();return"000000".substring(s.length)+s};Y.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e){return[0,0,0]}let s=e[0];if(e[0].length===3){s=s.split("").map((t=>t+t)).join("")}const n=parseInt(s,16);const i=n>>16&255;const o=n>>8&255;const r=n&255;return[i,o,r]};Y.rgb.hcg=function(t){const e=t[0]/255;const s=t[1]/255;const n=t[2]/255;const i=Math.max(Math.max(e,s),n);const o=Math.min(Math.min(e,s),n);const r=i-o;let a;let l;if(r<1){a=o/(1-r)}else{a=0}if(r<=0){l=0}else if(i===e){l=(s-n)/r%6}else if(i===s){l=2+(n-e)/r}else{l=4+(e-s)/r}l/=6;l%=1;return[l*360,r*100,a*100]};Y.hsl.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=s<.5?2*e*s:2*e*(1-s);let i=0;if(n<1){i=(s-.5*n)/(1-n)}return[t[0],n*100,i*100]};Y.hsv.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=e*s;let i=0;if(n<1){i=(s-n)/(1-n)}return[t[0],n*100,i*100]};Y.hcg.rgb=function(t){const e=t[0]/360;const s=t[1]/100;const n=t[2]/100;if(s===0){return[n*255,n*255,n*255]}const i=[0,0,0];const o=e%1*6;const r=o%1;const a=1-r;let l=0;switch(Math.floor(o)){case 0:i[0]=1;i[1]=r;i[2]=0;break;case 1:i[0]=a;i[1]=1;i[2]=0;break;case 2:i[0]=0;i[1]=1;i[2]=r;break;case 3:i[0]=0;i[1]=a;i[2]=1;break;case 4:i[0]=r;i[1]=0;i[2]=1;break;default:i[0]=1;i[1]=0;i[2]=a}l=(1-s)*n;return[(s*i[0]+l)*255,(s*i[1]+l)*255,(s*i[2]+l)*255]};Y.hcg.hsv=function(t){const e=t[1]/100;const s=t[2]/100;const n=e+s*(1-e);let i=0;if(n>0){i=e/n}return[t[0],i*100,n*100]};Y.hcg.hsl=function(t){const e=t[1]/100;const s=t[2]/100;const n=s*(1-e)+.5*e;let i=0;if(n>0&&n<.5){i=e/(2*n)}else if(n>=.5&&n<1){i=e/(2*(1-n))}return[t[0],i*100,n*100]};Y.hcg.hwb=function(t){const e=t[1]/100;const s=t[2]/100;const n=e+s*(1-e);return[t[0],(n-e)*100,(1-n)*100]};Y.hwb.hcg=function(t){const e=t[1]/100;const s=t[2]/100;const n=1-s;const i=n-e;let o=0;if(i<1){o=(n-i)/(1-i)}return[t[0],i*100,o*100]};Y.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Y.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Y.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Y.gray.hsl=function(t){return[0,0,t[0]]};Y.gray.hsv=Y.gray.hsl;Y.gray.hwb=function(t){return[0,100,t[0]]};Y.gray.cmyk=function(t){return[0,0,0,t[0]]};Y.gray.lab=function(t){return[t[0],0,0]};Y.gray.hex=function(t){const e=Math.round(t[0]/100*255)&255;const s=(e<<16)+(e<<8)+e;const n=s.toString(16).toUpperCase();return"000000".substring(n.length)+n};Y.rgb.gray=function(t){const e=(t[0]+t[1]+t[2])/3;return[e/255*100]};function tt(){const t={};const e=Object.keys(Q);for(let s=e.length,n=0;n<s;n++){t[e[n]]={distance:-1,parent:null}}return t}function et(t){const e=tt();const s=[t];e[t].distance=0;while(s.length){const t=s.pop();const n=Object.keys(Q[t]);for(let i=n.length,o=0;o<i;o++){const i=n[o];const r=e[i];if(r.distance===-1){r.distance=e[t].distance+1;r.parent=t;s.unshift(i)}}}return e}function st(t,e){return function(s){return e(t(s))}}function nt(t,e){const s=[e[t].parent,t];let n=Q[e[t].parent][t];let i=e[t].parent;while(e[i].parent){s.unshift(e[i].parent);n=st(Q[e[i].parent][i],n);i=e[i].parent}n.conversion=s;return n}var it=function(t){const e=et(t);const s={};const n=Object.keys(e);for(let t=n.length,i=0;i<t;i++){const t=n[i];const o=e[t];if(o.parent===null){continue}s[t]=nt(t,e)}return s};const ot={};const rt=Object.keys(Q);function at(t){const e=function(...e){const s=e[0];if(s===undefined||s===null){return s}if(s.length>1){e=s}return t(e)};if("conversion"in t){e.conversion=t.conversion}return e}function lt(t){const e=function(...e){const s=e[0];if(s===undefined||s===null){return s}if(s.length>1){e=s}const n=t(e);if(typeof n==="object"){for(let t=n.length,e=0;e<t;e++){n[e]=Math.round(n[e])}}return n};if("conversion"in t){e.conversion=t.conversion}return e}rt.forEach((t=>{ot[t]={};Object.defineProperty(ot[t],"channels",{value:Q[t].channels});Object.defineProperty(ot[t],"labels",{value:Q[t].labels});const e=it(t);const s=Object.keys(e);s.forEach((s=>{const n=e[s];ot[t][s]=lt(n);ot[t][s].raw=at(n)}))}));var ct=ot;const ht=["keyword","gray","hex"];const ut={};for(const t of Object.keys(ct)){ut[[...ct[t].labels].sort().join("")]=t}const dt={};function ft(t,e){if(!(this instanceof ft)){return new ft(t,e)}if(e&&e in ht){e=null}if(e&&!(e in ct)){throw new Error("Unknown model: "+e)}let s;let n;if(t==null){this.model="rgb";this.color=[0,0,0];this.valpha=1}else if(t instanceof ft){this.model=t.model;this.color=[...t.color];this.valpha=t.valpha}else if(typeof t==="string"){const e=X.get(t);if(e===null){throw new Error("Unable to parse color from string: "+t)}this.model=e.model;n=ct[this.model].channels;this.color=e.value.slice(0,n);this.valpha=typeof e.value[n]==="number"?e.value[n]:1}else if(t.length>0){this.model=e||"rgb";n=ct[this.model].channels;const s=Array.prototype.slice.call(t,0,n);this.color=yt(s,n);this.valpha=typeof t[n]==="number"?t[n]:1}else if(typeof t==="number"){this.model="rgb";this.color=[t>>16&255,t>>8&255,t&255];this.valpha=1}else{this.valpha=1;const e=Object.keys(t);if("alpha"in t){e.splice(e.indexOf("alpha"),1);this.valpha=typeof t.alpha==="number"?t.alpha:0}const n=e.sort().join("");if(!(n in ut)){throw new Error("Unable to parse color from object: "+JSON.stringify(t))}this.model=ut[n];const{labels:i}=ct[this.model];const o=[];for(s=0;s<i.length;s++){o.push(t[i[s]])}this.color=yt(o)}if(dt[this.model]){n=ct[this.model].channels;for(s=0;s<n;s++){const t=dt[this.model][s];if(t){this.color[s]=t(this.color[s])}}}this.valpha=Math.max(0,Math.min(1,this.valpha));if(Object.freeze){Object.freeze(this)}}ft.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(t){let e=this.model in X.to?this:this.rgb();e=e.round(typeof t==="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return X.to[e.model](s)},percentString(t){const e=this.rgb().round(typeof t==="number"?t:1);const s=e.valpha===1?e.color:[...e.color,this.valpha];return X.to.rgb.percent(s)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const t={};const{channels:e}=ct[this.model];const{labels:s}=ct[this.model];for(let n=0;n<e;n++){t[s[n]]=this.color[n]}if(this.valpha!==1){t.alpha=this.valpha}return t},unitArray(){const t=this.rgb().color;t[0]/=255;t[1]/=255;t[2]/=255;if(this.valpha!==1){t.push(this.valpha)}return t},unitObject(){const t=this.rgb().object();t.r/=255;t.g/=255;t.b/=255;if(this.valpha!==1){t.alpha=this.valpha}return t},round(t){t=Math.max(t||0,0);return new ft([...this.color.map(gt(t)),this.valpha],this.model)},alpha(t){if(t!==undefined){return new ft([...this.color,Math.max(0,Math.min(1,t))],this.model)}return this.valpha},red:bt("rgb",0,mt(255)),green:bt("rgb",1,mt(255)),blue:bt("rgb",2,mt(255)),hue:bt(["hsl","hsv","hsl","hwb","hcg"],0,(t=>(t%360+360)%360)),saturationl:bt("hsl",1,mt(100)),lightness:bt("hsl",2,mt(100)),saturationv:bt("hsv",1,mt(100)),value:bt("hsv",2,mt(100)),chroma:bt("hcg",1,mt(100)),gray:bt("hcg",2,mt(100)),white:bt("hwb",1,mt(100)),wblack:bt("hwb",2,mt(100)),cyan:bt("cmyk",0,mt(100)),magenta:bt("cmyk",1,mt(100)),yellow:bt("cmyk",2,mt(100)),black:bt("cmyk",3,mt(100)),x:bt("xyz",0,mt(95.047)),y:bt("xyz",1,mt(100)),z:bt("xyz",2,mt(108.833)),l:bt("lab",0,mt(100)),a:bt("lab",1),b:bt("lab",2),keyword(t){if(t!==undefined){return new ft(t)}return ct[this.model].keyword(this.color)},hex(t){if(t!==undefined){return new ft(t)}return X.to.hex(this.rgb().round().color)},hexa(t){if(t!==undefined){return new ft(t)}const e=this.rgb().round().color;let s=Math.round(this.valpha*255).toString(16).toUpperCase();if(s.length===1){s="0"+s}return X.to.hex(e)+s},rgbNumber(){const t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity(){const t=this.rgb().color;const e=[];for(const[s,n]of t.entries()){const t=n/255;e[s]=t<=.04045?t/12.92:((t+.055)/1.055)**2.4}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(t){const e=this.luminosity();const s=t.luminosity();if(e>s){return(e+.05)/(s+.05)}return(s+.05)/(e+.05)},level(t){const e=this.contrast(t);if(e>=7){return"AAA"}return e>=4.5?"AA":""},isDark(){const t=this.rgb().color;const e=(t[0]*2126+t[1]*7152+t[2]*722)/1e4;return e<128},isLight(){return!this.isDark()},negate(){const t=this.rgb();for(let e=0;e<3;e++){t.color[e]=255-t.color[e]}return t},lighten(t){const e=this.hsl();e.color[2]+=e.color[2]*t;return e},darken(t){const e=this.hsl();e.color[2]-=e.color[2]*t;return e},saturate(t){const e=this.hsl();e.color[1]+=e.color[1]*t;return e},desaturate(t){const e=this.hsl();e.color[1]-=e.color[1]*t;return e},whiten(t){const e=this.hwb();e.color[1]+=e.color[1]*t;return e},blacken(t){const e=this.hwb();e.color[2]+=e.color[2]*t;return e},grayscale(){const t=this.rgb().color;const e=t[0]*.3+t[1]*.59+t[2]*.11;return ft.rgb(e,e,e)},fade(t){return this.alpha(this.valpha-this.valpha*t)},opaquer(t){return this.alpha(this.valpha+this.valpha*t)},rotate(t){const e=this.hsl();let s=e.color[0];s=(s+t)%360;s=s<0?360+s:s;e.color[0]=s;return e},mix(t,e){if(!t||!t.rgb){throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t)}const s=t.rgb();const n=this.rgb();const i=e===undefined?.5:e;const o=2*i-1;const r=s.alpha()-n.alpha();const a=((o*r===-1?o:(o+r)/(1+o*r))+1)/2;const l=1-a;return ft.rgb(a*s.red()+l*n.red(),a*s.green()+l*n.green(),a*s.blue()+l*n.blue(),s.alpha()*i+n.alpha()*(1-i))}};for(const t of Object.keys(ct)){if(ht.includes(t)){continue}const{channels:e}=ct[t];ft.prototype[t]=function(...e){if(this.model===t){return new ft(this)}if(e.length>0){return new ft(e,t)}return new ft([...wt(ct[this.model][t].raw(this.color)),this.valpha],t)};ft[t]=function(...s){let n=s[0];if(typeof n==="number"){n=yt(s,e)}return new ft(n,t)}}function pt(t,e){return Number(t.toFixed(e))}function gt(t){return function(e){return pt(e,t)}}function bt(t,e,s){t=Array.isArray(t)?t:[t];for(const n of t){(dt[n]||(dt[n]=[]))[e]=s}t=t[0];return function(n){let i;if(n!==undefined){if(s){n=s(n)}i=this[t]();i.color[e]=n;return i}i=this[t]().color[e];if(s){i=s(i)}return i}}function mt(t){return function(e){return Math.max(0,Math.min(t,e))}}function wt(t){return Array.isArray(t)?t:[t]}function yt(t,e){for(let s=0;s<e;s++){if(typeof t[s]!=="number"){t[s]=0}}return t}var vt=ft;const kt={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"};const xt=vt("#007AC2");const Ct="calcite-color-";const Mt={r:255,g:255,b:255};const St={h:360,s:100,v:100};const At=St.h-1;const jt={min:0,max:100};const zt={s:{slider:{height:12,width:104},colorField:{height:80,width:160},thumb:{radius:10}},m:{slider:{height:12,width:204},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:12,width:384},colorField:{height:200,width:464},thumb:{radius:10}}};const Ft=1;const Ot=':host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';const $t=16;const Dt=class{constructor(n){t(this,n);this.calciteColorPickerChange=e(this,"calciteColorPickerChange",6);this.calciteColorPickerInput=e(this,"calciteColorPickerInput",6);this.internalColorUpdateContext=null;this.mode=c.HEX;this.shiftKeyChannelAdjustment=0;this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode");this.updateChannelsFromColor(this.color)};this.handleColorFieldScopeKeyDown=t=>{const{key:e}=t;const s={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};if(s[e]){t.preventDefault();this.scopeOrientation=e==="ArrowDown"||e==="ArrowUp"?"vertical":"horizontal";this.captureColorFieldColor(this.colorFieldScopeLeft+s[e].x||0,this.colorFieldScopeTop+s[e].y||0,false)}};this.handleHueScopeKeyDown=t=>{const e=t.shiftKey?10:1;const{key:s}=t;const n={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(n[s]){t.preventDefault();const i=n[s]*e;const o=this.baseColorFieldColor.hue();const r=this.baseColorFieldColor.hue(o+i);this.internalColorSet(r,false)}};this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:e,color:s}=this;const n=t.target;const i=n.value;if(e&&!i){this.internalColorSet(null);return}const o=s&&h(u(s,p(this.mode)));if(i!==o){this.internalColorSet(vt(i))}};this.handleSavedColorSelect=t=>{const e=t.currentTarget;this.internalColorSet(vt(e.color))};this.handleChannelInput=t=>{const e=t.currentTarget;const s=Number(e.getAttribute("data-channel-index"));const n=s===3;const i=n?jt.max:this.channelMode==="rgb"?Mt[Object.keys(Mt)[s]]:St[Object.keys(St)[s]];let o;if(this.allowEmpty&&!e.value){o=""}else{const t=Number(e.value);const s=t+this.shiftKeyChannelAdjustment;const n=N(s,0,i);o=n.toString()}e.value=o;if(o!==""&&this.shiftKeyChannelAdjustment!==0){this.handleChannelChange(t)}};this.handleChannelChange=t=>{const e=t.currentTarget;const s=Number(e.getAttribute("data-channel-index"));const n=[...this.channels];const i=this.allowEmpty&&!e.value;if(i){this.channels=[null,null,null,null];this.internalColorSet(null);return}const o=s===3;const r=Number(e.value);n[s]=o?d(r):r;this.updateColorFromChannels(n)};this.handleSavedColorKeyDown=t=>{if(F(t.key)){t.preventDefault();this.handleSavedColorSelect(t)}};this.handleColorFieldPointerDown=t=>{if(!o(t)){return}const{offsetX:e,offsetY:s}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()};this.captureColorFieldColor(e,s);this.colorFieldScopeNode.focus()};this.handleHueSliderPointerDown=t=>{if(!o(t)){return}const{offsetX:e}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()};this.captureHueSliderColor(e);this.hueScopeNode.focus()};this.handleOpacitySliderPointerDown=t=>{if(!o(t)){return}const{offsetX:e}=t;window.addEventListener("pointermove",this.globalPointerMoveHandler);window.addEventListener("pointerup",this.globalPointerUpHandler,{once:true});this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()};this.captureOpacitySliderValue(e);this.opacityScopeNode.focus()};this.globalPointerUpHandler=t=>{if(!o(t)){return}const e=this.activeCanvasInfo;this.activeCanvasInfo=null;this.drawColorControls();if(e){this.calciteColorPickerChange.emit()}};this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:e,el:s}=this;if(!s.isConnected||!e){return}const{context:n,bounds:i}=e;let o;let r;const{clientX:a,clientY:l}=t;if(n.canvas.matches(":hover")){o=a-i.x;r=l-i.y}else{if(a<i.x+i.width&&a>i.x){o=a-i.x}else if(a<i.x){o=0}else{o=i.width}if(l<i.y+i.height&&l>i.y){r=l-i.y}else if(l<i.y){r=0}else{r=i.height}}if(n===this.colorFieldRenderingContext){this.captureColorFieldColor(o,r,false)}else if(n===this.hueSliderRenderingContext){this.captureHueSliderColor(o)}else if(n===this.opacitySliderRenderingContext){this.captureOpacitySliderValue(o)}};this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t};this.storeHueScope=t=>{this.hueScopeNode=t};this.renderChannelsTabTitle=t=>{const{channelMode:e,messages:n}=this;const i=t===e;const o=t==="rgb"?n.rgb:n.hsv;return s("calcite-tab-title",{class:kt.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:i},o)};this.renderChannelsTab=t=>{const{allowEmpty:e,channelMode:n,channels:i,messages:o,alphaChannel:a}=this;const l=t===n;const c=t==="rgb";const h=c?[o.red,o.green,o.blue]:[o.hue,o.saturation,o.value];const u=r(this.el);const d=a?i:i.slice(0,3);return s("calcite-tab",{class:kt.control,key:t,selected:l},s("div",{class:kt.channels,dir:"ltr"},d.map(((t,s)=>{const n=s===3;if(n){t=e&&!t?t:f(t)}return this.renderChannel(t,s,h[s],u,n?"%":"")}))))};this.renderChannel=(t,e,n,i,o)=>s("calcite-input-number",{class:kt.channel,"data-channel-index":e,dir:i,key:e,label:n,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:this.scale==="l"?"m":"s",style:{marginLeft:e>0&&!(this.scale==="s"&&this.alphaChannel&&e===3)?"-1px":""},suffixText:o,value:t?.toString()});this.deleteColor=()=>{const t=u(this.color,this.alphaChannel);const e=this.savedColors.indexOf(t)>-1;if(!e){return}const s=this.savedColors.filter((e=>e!==t));this.savedColors=s;const n=`${Ct}${this.storageId}`;if(this.storageId){localStorage.setItem(n,JSON.stringify(s))}};this.saveColor=()=>{const t=u(this.color,this.alphaChannel);const e=this.savedColors.indexOf(t)>-1;if(e){return}const s=[...this.savedColors,t];this.savedColors=s;const n=`${Ct}${this.storageId}`;if(this.storageId){localStorage.setItem(n,JSON.stringify(s))}};this.drawColorControls=_(((t="all")=>{if((t==="all"||t==="color-field")&&this.colorFieldRenderingContext){this.drawColorField()}if((t==="all"||t==="hue-slider")&&this.hueSliderRenderingContext){this.drawHueSlider()}if(this.alphaChannel&&(t==="all"||t==="opacity-slider")&&this.opacitySliderRenderingContext){this.drawOpacitySlider()}}),$t);this.captureColorFieldColor=(t,e,s=true)=>{const{dimensions:{colorField:{height:n,width:i}}}=this;const o=Math.round(St.s/i*t);const r=Math.round(St.v/n*(n-e));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(r),s)};this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d");this.updateCanvasSize("color-field");this.drawColorControls()};this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d");this.updateCanvasSize("hue-slider");this.drawHueSlider()};this.initOpacitySlider=t=>{if(!t){return}this.opacitySliderRenderingContext=t.getContext("2d");this.updateCanvasSize("opacity-slider");this.drawOpacitySlider()};this.storeOpacityScope=t=>{this.opacityScopeNode=t};this.handleOpacityScopeKeyDown=t=>{const e=t.shiftKey?10:1;const{key:s}=t;const n={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(n[s]){t.preventDefault();const i=n[s]*e;const o=this.baseColorFieldColor.alpha();const r=this.baseColorFieldColor.alpha(o+i);this.internalColorSet(r,false)}};this.allowEmpty=false;this.alphaChannel=false;this.channelsDisabled=false;this.color=xt;this.disabled=false;this.format="auto";this.hideChannels=false;this.hexDisabled=false;this.hideHex=false;this.hideSaved=false;this.savedDisabled=false;this.scale="m";this.storageId=undefined;this.messageOverrides=undefined;this.numberingSystem=undefined;this.value=h(u(xt,this.alphaChannel));this.defaultMessages=undefined;this.channelMode="rgb";this.channels=this.toChannels(xt);this.dimensions=zt.m;this.effectiveLocale="";this.messages=undefined;this.savedColors=[];this.colorFieldScopeTop=undefined;this.colorFieldScopeLeft=undefined;this.hueScopeLeft=undefined;this.opacityScopeLeft=undefined;this.scopeOrientation=undefined}handleAlphaChannelChange(t){const{format:e}=this;if(t&&e!=="auto"&&!p(e)){console.warn(`ignoring alphaChannel as the current format (${e}) does not support alpha`);this.alphaChannel=false}}handleColorChange(t,e){this.drawColorControls();this.updateChannelsFromColor(t);this.previousColor=e}handleFormatOrAlphaChannelChange(){this.setMode(this.format);this.internalColorSet(this.color,false,"internal")}handleScaleChange(t="m"){this.updateDimensions(t);this.updateCanvasSize("all");this.drawColorControls()}onMessagesChange(){}handleValueChange(t,e){const{allowEmpty:s,format:n}=this;const i=!s||t;let o=false;if(i){const s=g(t);if(!s||n!=="auto"&&s!==n){this.showIncompatibleColorWarning(t,n);this.value=e;return}o=this.mode!==s;this.setMode(s,this.internalColorUpdateContext===null)}const r=this.activeCanvasInfo;if(this.internalColorUpdateContext==="initial"){return}if(this.internalColorUpdateContext==="user-interaction"){this.calciteColorPickerInput.emit();if(!r){this.calciteColorPickerChange.emit()}return}const a=s&&!t?null:vt(t!=null&&typeof t==="object"&&p(this.mode)?v(t):t);const l=!b(a,this.color);if(o||l){this.internalColorSet(a,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}}get baseColorFieldColor(){return this.color||this.previousColor||xt}effectiveLocaleChange(){K(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:e}=t;if(e!=="ArrowUp"&&e!=="ArrowDown"||!t.composedPath().some((t=>t.classList?.contains(kt.channel)))){return}const{shiftKey:s}=t;t.preventDefault();if(!this.color){this.internalColorSet(this.previousColor);t.stopPropagation();return}const n=9;this.shiftKeyChannelAdjustment=e==="ArrowUp"&&s?n:e==="ArrowDown"&&s?-n:0}async setFocus(){await O(this);this.el.focus()}async componentWillLoad(){$(this);const{allowEmpty:t,color:e,format:s,value:n}=this;const i=t&&!n;const o=g(n);const r=i||s==="auto"&&o||s===o;const a=i?null:r?vt(n):e;if(!r){this.showIncompatibleColorWarning(n,s)}this.setMode(s,false);this.internalColorSet(a,false,"initial");this.updateDimensions(this.scale);const l=`${Ct}${this.storageId}`;if(this.storageId&&localStorage.getItem(l)){this.savedColors=JSON.parse(localStorage.getItem(l))}await U(this)}connectedCallback(){S(this);I(this);P(this)}componentDidLoad(){D(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler);window.removeEventListener("pointerup",this.globalPointerUpHandler);A(this);q(this);T(this)}componentDidRender(){j(this)}render(){const{allowEmpty:t,channelsDisabled:e,color:n,colorFieldScopeLeft:i,colorFieldScopeTop:o,dimensions:{slider:{width:r},thumb:{radius:a}},hexDisabled:l,hideChannels:c,hideHex:h,hideSaved:d,hueScopeLeft:p,messages:g,alphaChannel:b,opacityScopeLeft:m,savedColors:w,savedDisabled:y,scale:v,scopeOrientation:k}=this;const x=n?u(n,b):null;const C=a;const M=p??r*xt.hue()/St.h;const S=a;const A=m??r*f(xt.alpha())/jt.max;const j=n===null;const F=k==="vertical";const O=l||h;const $=e||c;const D=y||d;const[I,q]=this.getAdjustedScopePosition(i,o);const[E,N]=this.getAdjustedScopePosition(M,C);const[L,K]=this.getAdjustedScopePosition(A,S);return s(z,{disabled:this.disabled},s("div",{class:kt.container},s("div",{class:kt.controlAndScope},s("canvas",{class:kt.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),s("div",{"aria-label":F?g.value:g.saturation,"aria-valuemax":F?St.v:St.s,"aria-valuemin":"0","aria-valuenow":(F?n?.saturationv():n?.value())||"0",class:{[kt.scope]:true,[kt.colorFieldScope]:true},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${q||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),s("div",{class:kt.previewAndSliders},s("calcite-color-picker-swatch",{class:kt.preview,color:x,scale:"l"}),s("div",{class:kt.sliders},s("div",{class:kt.controlAndScope},s("canvas",{class:{[kt.slider]:true,[kt.hueSlider]:true},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),s("div",{"aria-label":g.hue,"aria-valuemax":St.h,"aria-valuemin":"0","aria-valuenow":n?.round().hue()||xt.round().hue(),class:{[kt.scope]:true,[kt.hueScope]:true},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${N}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),b?s("div",{class:kt.controlAndScope},s("canvas",{class:{[kt.slider]:true,[kt.opacitySlider]:true},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),s("div",{"aria-label":g.opacity,"aria-valuemax":jt.max,"aria-valuemin":jt.min,"aria-valuenow":(n||xt).round().alpha(),class:{[kt.scope]:true,[kt.opacityScope]:true},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${K}px`,left:`${L}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),O&&$?null:s("div",{class:{[kt.controlSection]:true,[kt.section]:true}},s("div",{class:kt.hexAndChannelsGroup},O?null:s("div",{class:kt.hexOptions},s("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:b,class:kt.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:v,value:x})),$?null:s("calcite-tabs",{class:{[kt.colorModeContainer]:true,[kt.splitSection]:true},scale:v==="l"?"m":"s"},s("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),D?null:s("div",{class:{[kt.savedColorsSection]:true,[kt.section]:true}},s("div",{class:kt.header},s("label",null,g.saved),s("div",{class:kt.savedColorsButtons},s("calcite-button",{appearance:"transparent",class:kt.deleteColor,disabled:j,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:v,type:"button"}),s("calcite-button",{appearance:"transparent",class:kt.saveColor,disabled:j,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:v,type:"button"}))),w.length>0?s("div",{class:kt.savedColors},[...w.map((t=>s("calcite-color-picker-swatch",{class:kt.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:v,tabIndex:0})))]):null)))}handleKeyDown(t){if(t.key==="Enter"){t.preventDefault()}}showIncompatibleColorWarning(t,e){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${e})`)}setMode(t,e=true){const s=t==="auto"?this.mode:t;this.mode=this.ensureCompatibleMode(s,e)}ensureCompatibleMode(t,e){const{alphaChannel:s}=this;const n=p(t);if(s&&!n){const s=y(t);if(e){console.warn(`setting format to (${s}) as the provided one (${t}) does not support alpha`)}return s}if(!s&&n){const s=m(t);if(e){console.warn(`setting format to (${s}) as the provided one (${t}) does not support alpha`)}return s}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:e}}}=this;const s=At/e*t;this.internalColorSet(this.baseColorFieldColor.hue(s),false)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:e}}}=this;const s=d(jt.max/e*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),false)}internalColorSet(t,e=true,s="user-interaction"){if(e&&b(t,this.color)){return}this.internalColorUpdateContext=s;this.color=t;this.value=this.toValue(t);this.internalColorUpdateContext=null}toValue(t,e=this.mode){if(!t){return null}const s="hex";if(e.includes(s)){const s=e===c.HEXA;return h(u(t.round(),s),s)}if(e.includes("-css")){const s=t[e.replace("-css","").replace("a","")]().round().string();const n=(e.endsWith("a")||e.endsWith("a-css"))&&t.alpha()===1;if(n){const e=s.slice(0,3);const n=s.slice(4,-1);return`${e}a(${n}, ${t.alpha()})`}return s}const n=t[m(e)]().round().object();if(e.endsWith("a")){return w(n)}return n}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:e}}}=this;return e*2-t}updateDimensions(t="m"){this.dimensions=zt[t]}drawColorField(){const t=this.colorFieldRenderingContext;const{dimensions:{colorField:{height:e,width:s}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string();t.fillRect(0,0,s,e);const n=t.createLinearGradient(0,0,s,0);n.addColorStop(0,"rgba(255,255,255,1)");n.addColorStop(1,"rgba(255,255,255,0)");t.fillStyle=n;t.fillRect(0,0,s,e);const i=t.createLinearGradient(0,0,0,e);i.addColorStop(0,"rgba(0,0,0,0)");i.addColorStop(1,"rgba(0,0,0,1)");t.fillStyle=i;t.fillRect(0,0,s,e);this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:e,width:s}){if(!t){return}const n=window.devicePixelRatio||1;t.width=s*n;t.height=e*n;t.style.height=`${e}px`;t.style.width=`${s}px`;const i=t.getContext("2d");i.scale(n,n)}updateCanvasSize(t="all"){const{dimensions:e}=this;if(t==="all"||t==="color-field"){this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,e.colorField)}const s={width:e.slider.width,height:e.slider.height+(e.thumb.radius-e.slider.height/2)*2};if(t==="all"||t==="hue-slider"){this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,s)}if(t==="all"||t==="opacity-slider"){this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,s)}}drawActiveColorFieldColor(){const{color:t}=this;if(!t){return}const e=t.hsv();const{dimensions:{colorField:{height:s,width:n},thumb:{radius:i}}}=this;const o=e.saturationv()/(St.s/n);const r=s-e.value()/(St.v/s);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o;this.colorFieldScopeTop=r}));this.drawThumb(this.colorFieldRenderingContext,i,o,r,e,false)}drawThumb(t,e,s,n,i,o){const r=0;const a=2*Math.PI;const l=1;t.beginPath();t.arc(s,n,e,r,a);t.fillStyle="#fff";t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=l;t.stroke();if(o&&i.alpha()<1){const i=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath();t.arc(s,n,e-3,r,a);t.fillStyle=i;t.fill()}t.globalCompositeOperation="source-atop";t.beginPath();t.arc(s,n,e-3,r,a);const c=o?i.alpha():1;t.fillStyle=i.rgb().alpha(c).string();t.fill();t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t){return}const e=t.hsv().saturationv(100).value(100);const{dimensions:{slider:{width:s},thumb:{radius:n}}}=this;const i=e.hue()/(At/s);const o=n;const r=this.getSliderBoundX(i,s,n);requestAnimationFrame((()=>{this.hueScopeLeft=r}));this.drawThumb(this.hueSliderRenderingContext,n,r,o,e,false)}drawHueSlider(){const t=this.hueSliderRenderingContext;const{dimensions:{slider:{height:e,width:s},thumb:{radius:n}}}=this;const i=0;const o=n-e/2;const r=t.createLinearGradient(0,0,s,0);const a=["red","yellow","lime","cyan","blue","magenta","#ff0004"];const l=1/(a.length-1);let c=0;a.forEach((t=>{r.addColorStop(c,vt(t).string());c+=l}));t.clearRect(0,0,s,e+this.getSliderCapSpacing()*2);this.drawSliderPath(t,e,s,i,o);t.fillStyle=r;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext;const{baseColorFieldColor:e,dimensions:{slider:{height:s,width:n},thumb:{radius:i}}}=this;const o=0;const r=i-s/2;t.clearRect(0,0,n,s+this.getSliderCapSpacing()*2);const a=t.createLinearGradient(0,r,n,0);const l=e.rgb().alpha(0);const c=e.rgb().alpha(.5);const h=e.rgb().alpha(1);a.addColorStop(0,l.string());a.addColorStop(.5,c.string());a.addColorStop(1,h.string());this.drawSliderPath(t,s,n,o,r);const u=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=u;t.fill();t.fillStyle=a;t.fill();t.strokeStyle="rgba(0,0,0,0.3)";t.lineWidth=1;t.stroke();this.drawActiveOpacitySliderColor()}drawSliderPath(t,e,s,n,i){const o=e/2+1;t.beginPath();t.moveTo(n+o,i);t.lineTo(n+s-o,i);t.quadraticCurveTo(n+s,i,n+s,i+o);t.lineTo(n+s,i+e-o);t.quadraticCurveTo(n+s,i+e,n+s-o,i+e);t.lineTo(n+o,i+e);t.quadraticCurveTo(n,i+e,n,i+e-o);t.lineTo(n,i+o);t.quadraticCurveTo(n,i,n+o,i);t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern){return this.checkerPattern}const t=document.createElement("canvas");t.width=10;t.height=10;const e=t.getContext("2d");e.fillStyle="#ccc";e.fillRect(0,0,10,10);e.fillStyle="#fff";e.fillRect(0,0,5,5);e.fillRect(5,5,5,5);this.checkerPattern=t;return t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t){return}const e=t;const{dimensions:{slider:{width:s},thumb:{radius:n}}}=this;const i=f(e.alpha())/(jt.max/s);const o=n;const r=this.getSliderBoundX(i,s,n);requestAnimationFrame((()=>{this.opacityScopeLeft=r}));this.drawThumb(this.opacitySliderRenderingContext,n,r,o,e,true)}getSliderBoundX(t,e,s){const n=L(t,e,s);return n===0?t:n===-1?E(t,0,e,s,s*2):E(t,0,e,e-s*2,e-s)}updateColorFromChannels(t){this.internalColorSet(vt(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:e}=this;const s=t[e]().array().map(((t,e)=>{const s=e===3;return s?t:Math.floor(t)}));if(s.length===3){s.push(1)}return s}getAdjustedScopePosition(t,e){return[t-Ft/2,e-Ft/2]}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};Dt.style=Ot;const It={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"};const qt=":host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:68px;margin-inline-start:-1px}:host([scale=s]) .container{flex-wrap:wrap;row-gap:0.125rem}:host([scale=s]) .opacity-input{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .opacity-input{inline-size:88px}:host([hidden]){display:none}[hidden]{display:none}";const Et=vt();const Nt=class{constructor(s){t(this,s);this.calciteColorPickerHexInputChange=e(this,"calciteColorPickerHexInputChange",6);this.onHexInputBlur=()=>{const t=this.hexInputNode;const e=t.value;const s=`#${e}`;const{allowEmpty:n,internalColor:i}=this;const o=n&&!e;const r=k(s);this.onHexInputChange();if(o||x(s)&&r){return}t.value=n&&!i?"":this.formatHexForInternalInput(C(i.object()))};this.onOpacityInputBlur=()=>{const t=this.opacityInputNode;const e=t.value;const{allowEmpty:s,internalColor:n}=this;const i=s&&!e;if(i){return}t.value=s&&!n?"":this.formatOpacityForInternalInput(n)};this.onHexInputChange=()=>{const t=this.hexInputNode.value;let e=t;if(e){const t=h(e,false);const s=x(t)&&this.alphaChannel;if(s&&this.internalColor){const s=h(this.internalColor.hexa(),true).slice(-2);e=`${t+s}`}}this.internalSetValue(e,this.value)};this.onOpacityInputChange=()=>{const t=this.opacityInputNode;let e;if(!t.value){e=t.value}else{const s=d(Number(t.value));e=this.internalColor?.alpha(s).hexa()}this.internalSetValue(e,this.value)};this.onInputKeyDown=t=>{const{altKey:e,ctrlKey:s,metaKey:n,shiftKey:i}=t;const{alphaChannel:o,hexInputNode:r,internalColor:a,value:l}=this;const{key:c}=t;const h=t.composedPath();if(c==="Tab"||c==="Enter"){if(h.includes(r)){this.onHexInputChange()}else{this.onOpacityInputChange()}if(c==="Enter"){t.preventDefault()}return}const d=c==="ArrowDown"||c==="ArrowUp";const f=this.value;if(d){if(!l){this.internalSetValue(this.previousNonNullValue,f);t.preventDefault();return}const e=c==="ArrowUp"?1:-1;const s=i?10:1;this.internalSetValue(u(this.nudgeRGBChannels(a,s*e,h.includes(r)?"rgb":"a"),o),f);t.preventDefault();return}const p=e||s||n;const g=c.length===1;const b=M.test(c);if(g&&!p&&!b){t.preventDefault()}};this.onHexInputPaste=t=>{const e=t.clipboardData.getData("text");if(x(e)){t.preventDefault();this.hexInputNode.value=e.slice(1)}};this.previousNonNullValue=this.value;this.storeHexInputRef=t=>{this.hexInputNode=t};this.storeOpacityInputRef=t=>{this.opacityInputNode=t};this.allowEmpty=false;this.alphaChannel=false;this.hexLabel="Hex";this.messages=undefined;this.numberingSystem=undefined;this.scale="m";this.value=h(u(Et,this.alphaChannel),this.alphaChannel,true);this.internalColor=Et}connectedCallback(){const{allowEmpty:t,alphaChannel:e,value:s}=this;if(s){const t=h(s,e);if(x(t,e)){this.internalSetValue(t,t,false)}return}if(t){this.internalSetValue(null,null,false)}}componentWillLoad(){$(this)}componentDidLoad(){D(this)}handleValueChange(t,e){this.internalSetValue(t,e,false)}render(){const{alphaChannel:t,hexLabel:e,internalColor:n,messages:i,scale:o,value:r}=this;const a=this.formatHexForInternalInput(r);const l=this.formatOpacityForInternalInput(n);const c=o==="l"?"m":"s";return s("div",{class:It.container},s("calcite-input-text",{class:It.hexInput,label:i?.hex||e,maxLength:6,onCalciteInputTextChange:this.onHexInputChange,onCalciteInternalInputTextBlur:this.onHexInputBlur,onKeyDown:this.onInputKeyDown,onPaste:this.onHexInputPaste,prefixText:"#",scale:c,value:a,ref:this.storeHexInputRef}),t?s("calcite-input-number",{class:It.opacityInput,key:"opacity-input",label:i?.opacity,max:jt.max,maxLength:3,min:jt.min,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.onOpacityInputChange,onCalciteInternalInputNumberBlur:this.onOpacityInputBlur,onKeyDown:this.onInputKeyDown,scale:c,suffixText:"%",value:l,ref:this.storeOpacityInputRef}):null)}async setFocus(){await O(this);return a(this.hexInputNode)}internalSetValue(t,e,s=true){if(t){const{alphaChannel:e}=this;const n=h(t,e,e);if(x(n,e)){const{internalColor:t}=this;const i=vt(n);const o=h(u(i,e),e);const r=!t||o!==h(u(t,e),e);this.internalColor=i;this.previousNonNullValue=o;this.value=o;if(r&&s){this.calciteColorPickerHexInputChange.emit()}return}}else if(this.allowEmpty){this.internalColor=null;this.value=null;if(s){this.calciteColorPickerHexInputChange.emit()}return}this.value=e}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${f(t.alpha())}`:""}nudgeRGBChannels(t,e,s){let n;const i=t.array();const o=i.slice(0,3);if(s==="rgb"){const t=o.map((t=>t+e));n=[...t,this.alphaChannel?i[3]:undefined]}else{const s=d(f(t.alpha())+e);n=[...o,s]}return vt(n)}get el(){return n(this)}static get watchers(){return{value:["handleValueChange"]}}};Nt.style=qt;const Lt={swatch:"swatch",noColorSwatch:"swatch--no-color",checker:"checker"};const Kt={borderLight:"rgba(0, 0, 0, 0.3)",borderDark:"rgba(255, 255, 255, 0.15)"};const Ut=4;const Pt={squareSize:Ut,size:Ut*2};const Tt=":host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}";const _t=class{constructor(e){t(this,e);this.active=false;this.color=undefined;this.scale="m"}handleColorChange(t){this.internalColor=t?vt(t):null}componentWillLoad(){this.handleColorChange(this.color)}render(){const t=!this.internalColor;const e={[Lt.swatch]:true,[Lt.noColorSwatch]:t};return s("svg",{class:e,xmlns:"http://www.w3.org/2000/svg"},this.renderSwatch())}renderSwatch(){const{active:t,el:e,internalColor:n}=this;const o=t?"100%":"0";const r=l(e);const a=r==="light"?Kt.borderLight:Kt.borderDark;const c={height:"100%",rx:o,stroke:a,["stroke-width"]:"2",width:"100%"};const h=!n;if(h){return s(i,null,s("clipPath",{id:"shape"},s("rect",{height:"100%",rx:o,width:"100%"})),s("rect",{"clip-path":`inset(0 round ${o})`,rx:o,...c}),s("line",{"clip-path":"url(#shape)","stroke-width":"3",x1:"100%",x2:"0",y1:"0",y2:"100%"}))}const d=n.alpha();const f=u(n);const p=u(n,d<1);return s(i,null,s("title",null,p),s("defs",null,s("pattern",{height:Pt.size,id:"checker",patternUnits:"userSpaceOnUse",width:Pt.size,x:"0",y:"0"},s("rect",{class:Lt.checker,height:Pt.squareSize,width:Pt.squareSize,x:"0",y:"0"}),s("rect",{class:Lt.checker,height:Pt.squareSize,width:Pt.squareSize,x:Pt.squareSize,y:Pt.squareSize}))),s("rect",{fill:"url(#checker)",height:"100%",rx:o,width:"100%"}),s("rect",{fill:f,style:{"clip-path":d<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${o})`},...c}),d<1?s("rect",{fill:p,key:"opacity-fill",style:{"clip-path":"polygon(100% 0, 100% 100%, 0 100%)"},...c}):null)}get el(){return n(this)}static get watchers(){return{color:["handleColorChange"]}}};_t.style=Tt;export{Dt as calcite_color_picker,Nt as calcite_color_picker_hex_input,_t as calcite_color_picker_swatch};
|
|
7
|
+
//# sourceMappingURL=p-050911eb.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as s,H as i,g as n}from"./p-af4ddf72.js";import{c as o,d as a}from"./p-80e751c9.js";import{u as c,I as h}from"./p-c9e19694.js";import{e as r,c as l,d}from"./p-415227ad.js";import{u,c as m,d as p,s as f}from"./p-cf8dfc13.js";import{c as b,s as g,a as C}from"./p-fa4a0fb9.js";import{c as T,d as y,a as D,H as I}from"./p-af2d9d05.js";import"./p-08c2ed86.js";import"./p-18b6f94d.js";import"./p-8668595c.js";import"./p-6cfaa60b.js";import"./p-780fe459.js";import"./p-f1e11081.js";import"./p-19e67425.js";const j=60;const v=["CET","CST6CDT","EET","EST","EST5EDT","Factory","HST","MET","MST","MST7MDT","PST8PDT","UTC","WET"];function Z(t){const e="−";const s="-";return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace(e,s)}function w(t,e){const s=L(t,"en-US",e).replace("GMT","");if(s===""){return 0}return Number(Z(s))*j}function x(){const t=new Date;return t.getTimezoneOffset()*-1}function E(){const t=new Intl.DateTimeFormat;return t.resolvedOptions().timeZone}let S;async function M(t,e,s,i){const n=i.getTime();const o=Intl.supportedValuesOf("timeZone");if(s==="offset"){if(!S){S=Promise.all([import("./p-1bafa907.js"),import("./p-1466ff70.js")])}return S.then((async([{groupTimeZones:s},{DateEngine:i}])=>{const o=await s({dateEngine:new i,groupDateRange:1,startDate:new Date(n).toISOString()});const a=new Intl.ListFormat(t,{style:"long",type:"conjunction"});o.forEach((t=>{const e=[];let s=0;t.tzs.forEach(((t,i)=>{if(v.includes(t)){s++}e[i]=s}));t.tzs=t.tzs.filter((t=>!v.includes(t)));t.labelTzIndices=t.labelTzIndices.map((t=>t-e[t])).filter((e=>e>=0&&e<t.tzs.length))}));return o.map((({labelTzIndices:s,tzs:i})=>{const o=i[0];const c=Z(L(o,t,n));const h=w(o,n);const r=s.map((t=>{const s=i[t];const n=e[s];return n||s.split("/").pop()}));const l=k(e,c,a.format(r));return{label:l,value:h,filterValue:i.map((t=>P(t)))}})).filter((t=>!!t)).sort(((t,e)=>t.value-e.value))}))}return o.map((t=>{const e=P(t);const s=t;return{label:e,value:s,filterValue:t}})).filter((t=>!!t)).sort()}function P(t){return t.replace(/_/g," ")}function k(t,e,s){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",s)}function L(t,e,s=Date.now()){const i=r(e,{timeZone:t,timeZoneName:"shortOffset"});const n=i.formatToParts(s);return n.find((({type:t})=>t==="timeZoneName")).value}const O=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";const z=class{constructor(s){t(this,s);this.calciteInputTimeZoneBeforeClose=e(this,"calciteInputTimeZoneBeforeClose",6);this.calciteInputTimeZoneBeforeOpen=e(this,"calciteInputTimeZoneBeforeOpen",6);this.calciteInputTimeZoneChange=e(this,"calciteInputTimeZoneChange",6);this.calciteInputTimeZoneClose=e(this,"calciteInputTimeZoneClose",6);this.calciteInputTimeZoneOpen=e(this,"calciteInputTimeZoneOpen",6);this.setComboboxRef=t=>{this.comboboxEl=t};this.onComboboxBeforeClose=t=>{t.stopPropagation();this.calciteInputTimeZoneBeforeClose.emit()};this.onComboboxBeforeOpen=t=>{t.stopPropagation();this.calciteInputTimeZoneBeforeOpen.emit()};this.onComboboxChange=t=>{t.stopPropagation();const e=t.target;const s=this.findTimeZoneItem(e.selectedItems[0].getAttribute("data-value"));const i=`${s.value}`;if(this.value===i){return}this.value=i;this.selectedTimeZoneItem=s;this.calciteInputTimeZoneChange.emit()};this.onComboboxClose=t=>{t.stopPropagation();this.open=false;this.calciteInputTimeZoneClose.emit()};this.onComboboxOpen=t=>{this.open=true;t.stopPropagation();this.calciteInputTimeZoneOpen.emit()};this.disabled=false;this.form=undefined;this.maxItems=0;this.messages=undefined;this.messageOverrides=undefined;this.mode="offset";this.validationMessage=undefined;this.validationIcon=undefined;this.name=undefined;this.open=false;this.overlayPositioning="absolute";this.referenceDate=undefined;this.required=false;this.scale="m";this.status="idle";this.value=undefined;this.defaultMessages=undefined;this.effectiveLocale=""}onMessagesChange(){}handleTimeZoneItemPropsChange(){this.updateTimeZoneItemsAndSelection()}handleValueChange(t,e){const s=this.findTimeZoneItem(t);if(!s){this.value=e;return}this.selectedTimeZoneItem=s}async setFocus(){await b(this);await this.comboboxEl.setFocus()}effectiveLocaleWatcher(){u(this,this.effectiveLocale)}onLabelClick(){this.setFocus()}findTimeZoneItem(t){const e=t;return this.timeZoneItems.find((({value:t})=>t==e))}async updateTimeZoneItemsAndSelection(){this.timeZoneItems=await this.createTimeZoneItems();const t=this.mode==="offset"?x():E();const e=this.value??t;this.selectedTimeZoneItem=this.findTimeZoneItem(e);if(!this.selectedTimeZoneItem){this.selectedTimeZoneItem=this.findTimeZoneItem(t)}}async createTimeZoneItems(){if(!this.effectiveLocale||!this.messages){return[]}return M(this.effectiveLocale,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()))}connectedCallback(){T(this);o(this);l(this);m(this)}disconnectedCallback(){y(this);a(this);d(this);p(this)}async componentWillLoad(){g(this);await f(this);await this.updateTimeZoneItemsAndSelection();const t=`${this.selectedTimeZoneItem.value}`;D(this,t);this.value=t}componentDidLoad(){C(this)}componentDidRender(){c(this)}render(){return s(i,null,s(h,{disabled:this.disabled},s("calcite-combobox",{clearDisabled:true,disabled:this.disabled,label:this.messages.chooseTimeZone,lang:this.effectiveLocale,maxItems:this.maxItems,onCalciteComboboxBeforeClose:this.onComboboxBeforeClose,onCalciteComboboxBeforeOpen:this.onComboboxBeforeOpen,onCalciteComboboxChange:this.onComboboxChange,onCalciteComboboxClose:this.onComboboxClose,onCalciteComboboxOpen:this.onComboboxOpen,open:this.open,overlayPositioning:this.overlayPositioning,scale:this.scale,selectionMode:"single-persist",status:this.status,"validation-icon":this.validationIcon,"validation-message":this.validationMessage,ref:this.setComboboxRef},this.timeZoneItems.map((t=>{const e=this.selectedTimeZoneItem===t;const{label:i,value:n}=t;return s("calcite-combobox-item",{"data-value":n,key:i,selected:e,textLabel:i,value:`${t.filterValue}`})}))),s(I,{component:this})))}static get delegatesFocus(){return true}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],messages:["handleTimeZoneItemPropsChange"],mode:["handleTimeZoneItemPropsChange"],referenceDate:["handleTimeZoneItemPropsChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};z.style=O;export{z as calcite_input_time_zone};
|
|
7
|
+
//# sourceMappingURL=p-051bd53e.entry.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{g as n}from"./p-18b6f94d.js";import{C as r}from"./p-8668595c.js";
|
|
7
|
+
/*!
|
|
8
|
+
* tabbable 6.2.0
|
|
9
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
10
|
+
*/
|
|
11
|
+
var t=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"];var e=t.join(",");var u=typeof Element==="undefined";var i=u?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;var o=!u&&Element.prototype.getRootNode?function(n){var r;return n===null||n===void 0?void 0:(r=n.getRootNode)===null||r===void 0?void 0:r.call(n)}:function(n){return n===null||n===void 0?void 0:n.ownerDocument};var a=function n(r,t){var e;if(t===void 0){t=true}var u=r===null||r===void 0?void 0:(e=r.getAttribute)===null||e===void 0?void 0:e.call(r,"inert");var i=u===""||u==="true";var o=i||t&&r&&n(r.parentNode);return o};var f=function n(r){var t;var e=r===null||r===void 0?void 0:(t=r.getAttribute)===null||t===void 0?void 0:t.call(r,"contenteditable");return e===""||e==="true"};var l=function n(r,t,u){if(a(r)){return[]}var o=Array.prototype.slice.apply(r.querySelectorAll(e));if(t&&i.call(r,e)){o.unshift(r)}o=o.filter(u);return o};var s=function n(r,t,u){var o=[];var f=Array.from(r);while(f.length){var l=f.shift();if(a(l,false)){continue}if(l.tagName==="SLOT"){var s=l.assignedElements();var c=s.length?s:l.children;var v=n(c,true,u);if(u.flatten){o.push.apply(o,v)}else{o.push({scopeParent:l,candidates:v})}}else{var d=i.call(l,e);if(d&&u.filter(l)&&(t||!r.includes(l))){o.push(l)}var p=l.shadowRoot||typeof u.getShadowRoot==="function"&&u.getShadowRoot(l);var y=!a(p,false)&&(!u.shadowRootFilter||u.shadowRootFilter(l));if(p&&y){var w=n(p===true?l.children:p.children,true,u);if(u.flatten){o.push.apply(o,w)}else{o.push({scopeParent:l,candidates:w})}}else{f.unshift.apply(f,l.children)}}}return o};var c=function n(r){return!isNaN(parseInt(r.getAttribute("tabindex"),10))};var v=function n(r){if(!r){throw new Error("No node provided")}if(r.tabIndex<0){if((/^(AUDIO|VIDEO|DETAILS)$/.test(r.tagName)||f(r))&&!c(r)){return 0}}return r.tabIndex};var d=function n(r,t){var e=v(r);if(e<0&&t&&!c(r)){return 0}return e};var p=function n(r,t){return r.tabIndex===t.tabIndex?r.documentOrder-t.documentOrder:r.tabIndex-t.tabIndex};var y=function n(r){return r.tagName==="INPUT"};var w=function n(r){return y(r)&&r.type==="hidden"};var m=function n(r){var t=r.tagName==="DETAILS"&&Array.prototype.slice.apply(r.children).some((function(n){return n.tagName==="SUMMARY"}));return t};var h=function n(r,t){for(var e=0;e<r.length;e++){if(r[e].checked&&r[e].form===t){return r[e]}}};var E=function n(r){if(!r.name){return true}var t=r.form||o(r);var e=function n(r){return t.querySelectorAll('input[type="radio"][name="'+r+'"]')};var u;if(typeof window!=="undefined"&&typeof window.CSS!=="undefined"&&typeof window.CSS.escape==="function"){u=e(window.CSS.escape(r.name))}else{try{u=e(r.name)}catch(n){console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message);return false}}var i=h(u,r.form);return!i||i===r};var A=function n(r){return y(r)&&r.type==="radio"};var S=function n(r){return A(r)&&!E(r)};var g=function n(r){var t;var e=r&&o(r);var u=(t=e)===null||t===void 0?void 0:t.host;var i=false;if(e&&e!==r){var a,f,l;i=!!((a=u)!==null&&a!==void 0&&(f=a.ownerDocument)!==null&&f!==void 0&&f.contains(u)||r!==null&&r!==void 0&&(l=r.ownerDocument)!==null&&l!==void 0&&l.contains(r));while(!i&&u){var s,c,v;e=o(u);u=(s=e)===null||s===void 0?void 0:s.host;i=!!((c=u)!==null&&c!==void 0&&(v=c.ownerDocument)!==null&&v!==void 0&&v.contains(u))}}return i};var b=function n(r){var t=r.getBoundingClientRect(),e=t.width,u=t.height;return e===0&&u===0};var N=function n(r,t){var e=t.displayCheck,u=t.getShadowRoot;if(getComputedStyle(r).visibility==="hidden"){return true}var a=i.call(r,"details>summary:first-of-type");var f=a?r.parentElement:r;if(i.call(f,"details:not([open]) *")){return true}if(!e||e==="full"||e==="legacy-full"){if(typeof u==="function"){var l=r;while(r){var s=r.parentElement;var c=o(r);if(s&&!s.shadowRoot&&u(s)===true){return b(r)}else if(r.assignedSlot){r=r.assignedSlot}else if(!s&&c!==r.ownerDocument){r=c.host}else{r=s}}r=l}if(g(r)){return!r.getClientRects().length}if(e!=="legacy-full"){return true}}else if(e==="non-zero-area"){return b(r)}return false};var I=function n(r){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(r.tagName)){var t=r.parentElement;while(t){if(t.tagName==="FIELDSET"&&t.disabled){for(var e=0;e<t.children.length;e++){var u=t.children.item(e);if(u.tagName==="LEGEND"){return i.call(t,"fieldset[disabled] *")?true:!u.contains(r)}}return true}t=t.parentElement}}return false};var T=function n(r,t){if(t.disabled||a(t)||w(t)||N(t,r)||m(t)||I(t)){return false}return true};var x=function n(r,t){if(S(t)||v(t)<0||!T(r,t)){return false}return true};var $=function n(r){var t=parseInt(r.getAttribute("tabindex"),10);if(isNaN(t)||t>=0){return true}return false};var C=function n(r){var t=[];var e=[];r.forEach((function(r,u){var i=!!r.scopeParent;var o=i?r.scopeParent:r;var a=d(o,i);var f=i?n(r.candidates):o;if(a===0){i?t.push.apply(t,f):t.push(o)}else{e.push({documentOrder:u,tabIndex:a,item:r,isScope:i,content:f})}}));return e.sort(p).reduce((function(n,r){r.isScope?n.push.apply(n,r.content):n.push(r.content);return n}),[]).concat(t)};var D=function n(r,t){t=t||{};var e;if(t.getShadowRoot){e=s([r],t.includeContainer,{filter:x.bind(null,t),flatten:false,getShadowRoot:t.getShadowRoot,shadowRootFilter:$})}else{e=l(r,t.includeContainer,x.bind(null,t))}return C(e)};var L=function n(r,t){t=t||{};var e;if(t.getShadowRoot){e=s([r],t.includeContainer,{filter:T.bind(null,t),flatten:true,getShadowRoot:t.getShadowRoot})}else{e=l(r,t.includeContainer,T.bind(null,t))}return e};var R=function n(r,t){t=t||{};if(!r){throw new Error("No node provided")}if(i.call(r,e)===false){return false}return x(t,r)};var k=t.concat("iframe").join(",");var O=function n(r,t){t=t||{};if(!r){throw new Error("No node provided")}if(i.call(r,k)===false){return false}return T(t,r)};const U={getShadowRoot:true};function B(r){if(!r){return""}return r.id=r.id||`${r.tagName.toLowerCase()}-${n()}`}function P(n){return Array.isArray(n)?n:Array.from(n)}function j(n){const t=Y(n,`.${r.darkMode}, .${r.lightMode}`);return t?.classList.contains("calcite-mode-dark")?"dark":"light"}function F(n){const r="dir";const t=`[${r}]`;const e=Y(n,t);return e?e.getAttribute(r):"ltr"}function z(n){if(!n){return 0}return parseFloat(getComputedStyle(n).inlineSize)}function M(n){return n.getRootNode()}function q(n){const r=M(n);return"host"in r?r:null}function G(n,r){if(!n){return 0}const t=document.createElement("canvas");const e=t.getContext("2d");e.font=r;return e.measureText(n).width}function V(n){return n.host||null}function X(n,{selector:r,id:t}){function e(n){if(!n){return null}if(n.assignedSlot){n=n.assignedSlot}const u=M(n);const i=t?"getElementById"in u?u.getElementById(t):null:r?u.querySelector(r):null;const o=V(u);return i?i:o?e(o):null}return e(n)}function Y(n,r){function t(n){return n?n.closest(r)||t(V(M(n))):null}return t(n)}function H(n,r){return J(n,r)}function J(n,r){if(!n){return}const t=r(n);if(t!==undefined){return t}const{parentNode:e}=n;return J(e instanceof ShadowRoot?e.host:e,r)}function K(n,r){return!!H(r,(r=>r===n?true:undefined))}function Q(n){return typeof n?.setFocus==="function"}async function W(n){if(!n){return}return Q(n)?n.setFocus():n.focus()}function Z(n){if(!n){return}return D(n,U)[0]??n}function _(n){Z(n)?.focus()}const nn=":not([slot])";function rn(n,r,t){if(r&&!Array.isArray(r)&&typeof r!=="string"){t=r;r=null}const e=r?Array.isArray(r)?r.map((n=>`[slot="${n}"]`)).join(","):`[slot="${r}"]`:nn;if(t?.all){return en(n,e,t)}return un(n,e,t)}function tn(n,r){return n?Array.from(n.children||[]).filter((n=>n?.matches(r))):[]}function en(n,r,t){let e=r===nn?tn(n,nn):Array.from(n.querySelectorAll(r));e=t&&t.direct===false?e:e.filter((r=>r.parentElement===n));e=t?.matches?e.filter((n=>n?.matches(t.matches))):e;const u=t?.selector;return u?e.map((n=>Array.from(n.querySelectorAll(u)))).reduce(((n,r)=>[...n,...r]),[]).filter((n=>!!n)):e}function un(n,r,t){let e=r===nn?tn(n,nn)[0]||null:n.querySelector(r);e=t&&t.direct===false?e:e?.parentElement===n?e:null;e=t?.matches?e?.matches(t.matches)?e:null:e;const u=t?.selector;return u?e?.querySelector(u):e}function on(n,r){return Array.from(n.children).filter((n=>n.matches(r)))}function an(n,r,t){if(typeof r==="string"&&r!==""){return r}else if(r===""){return n[t]}}function fn(n,r){return!(r.left>n.right||r.right<n.left||r.top>n.bottom||r.bottom<n.top)}function ln(n){return Boolean(n).toString()}function sn(n){return pn(n)||vn(n)}function cn(n){return dn(n).filter((n=>n.nodeType===Node.TEXT_NODE)).map((n=>n.textContent)).join("").trim()}function vn(n){return!!cn(n)}function dn(n){return n.target.assignedNodes({flatten:true})}function pn(n){return!!yn(n).length}function yn(n){return n.target.assignedElements({flatten:true})}function wn(n){return!!(n.isPrimary&&n.button===0)}const mn=(n,r,t,e=true)=>{const u=n.indexOf(r);const i=u===0;const o=u===n.length-1;if(e){t=t==="previous"&&i?"last":t==="next"&&o?"first":t}let a;if(t==="previous"){a=n[u-1]||n[e?n.length-1:u]}else if(t==="next"){a=n[u+1]||n[e?0:u]}else if(t==="last"){a=n[n.length-1]}else{a=n[0]}W(a);return a};function hn(n,r){if(n.parentNode!==r.parentNode){return false}const t=Array.from(n.parentNode.children);return t.indexOf(n)<t.indexOf(r)}export{on as A,z as B,G as C,Z as D,K as a,pn as b,Y as c,W as d,rn as e,_ as f,F as g,an as h,wn as i,j,hn as k,mn as l,D as m,L as n,R as o,v as p,X as q,O as r,yn as s,ln as t,U as u,fn as v,B as w,sn as x,q as y,P as z};
|
|
12
|
+
//# sourceMappingURL=p-08c2ed86.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["candidateSelectors","candidateSelector","join","NoElement","Element","matches","prototype","msMatchesSelector","webkitMatchesSelector","getRootNode","element","_element$getRootNode","call","ownerDocument","isInert","node","lookUp","_node$getAttribute","inertAtt","getAttribute","inert","result","parentNode","isContentEditable","_node$getAttribute2","attValue","getCandidates","el","includeContainer","filter","candidates","Array","slice","apply","querySelectorAll","unshift","getCandidatesIteratively","elements","options","elementsToCheck","from","length","shift","tagName","assigned","assignedElements","content","children","nestedCandidates","flatten","push","scopeParent","validCandidate","includes","shadowRoot","getShadowRoot","validShadowRoot","shadowRootFilter","_nestedCandidates","hasTabIndex","isNaN","parseInt","getTabIndex","Error","tabIndex","test","getSortOrderTabIndex","isScope","sortOrderedTabbables","a","b","documentOrder","isInput","isHiddenInput","type","isDetailsWithSummary","r","some","child","getCheckedRadio","nodes","form","i","checked","isTabbableRadio","name","radioScope","queryRadios","radioSet","window","CSS","escape","err","console","error","message","isRadio","isNonTabbableRadio","isNodeAttached","_nodeRoot","nodeRoot","nodeRootHost","host","attached","_nodeRootHost","_nodeRootHost$ownerDo","_node$ownerDocument","contains","_nodeRoot2","_nodeRootHost2","_nodeRootHost2$ownerD","isZeroArea","_node$getBoundingClie","getBoundingClientRect","width","height","isHidden","_ref","displayCheck","getComputedStyle","visibility","isDirectSummary","nodeUnderDetails","parentElement","originalNode","rootNode","assignedSlot","getClientRects","isDisabledFromFieldset","disabled","item","isNodeMatchingSelectorFocusable","isNodeMatchingSelectorTabbable","isValidShadowRootTabbable","shadowHostNode","sortByOrder","regularTabbables","orderedTabbables","forEach","candidateTabindex","sort","reduce","acc","sortable","concat","tabbable","container","bind","focusable","isTabbable","focusableCandidateSelector","isFocusable","tabbableOptions","ensureId","id","toLowerCase","guid","nodeListToArray","nodeList","isArray","getModeName","closestElWithMode","closestElementCrossShadowBoundary","CSS_UTILITY","darkMode","lightMode","classList","getElementDir","prop","selector","closest","getElementWidth","parseFloat","inlineSize","getShadowRootNode","getTextWidth","text","font","canvas","document","createElement","context","getContext","measureText","getHost","root","queryElementRoots","queryFrom","found","getElementById","querySelector","closestFrom","walkUpAncestry","onVisit","visit","undefined","ShadowRoot","containsCrossShadowBoundary","maybeDescendant","isCalciteFocusable","setFocus","async","focusElement","focus","getFirstTabbable","focusFirstTabbable","defaultSlotSelector","getSlotted","slotName","slotSelector","map","all","queryMultiple","querySingle","getDirectChildren","direct","previousValue","currentValue","match","filterDirectChildren","setRequestedIcon","iconObject","iconValue","matchedValue","intersects","rect1","rect2","left","right","top","bottom","toAriaBoolean","value","Boolean","toString","slotChangeHasContent","event","slotChangeHasAssignedElement","slotChangeHasTextContent","slotChangeGetTextContent","slotChangeGetAssignedNodes","nodeType","Node","TEXT_NODE","textContent","trim","target","assignedNodes","slotChangeGetAssignedElements","isPrimaryPointerButton","isPrimary","button","focusElementInGroup","currentElement","destination","cycle","currentIndex","indexOf","isFirstItem","isLastItem","focusTarget","isBefore"],"sources":["../../node_modules/tabbable/dist/index.esm.js","src/utils/dom.ts"],"sourcesContent":["/*!\n* tabbable 6.2.0\n* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE\n*/\n// NOTE: separate `:not()` selectors has broader browser support than the newer\n// `:not([inert], [inert] *)` (Feb 2023)\n// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes\n// the entire query to fail, resulting in no nodes found, which will break a lot\n// of things... so we have to rely on JS to identify nodes inside an inert container\nvar candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable=\"false\"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];\nvar candidateSelector = /* #__PURE__ */candidateSelectors.join(',');\nvar NoElement = typeof Element === 'undefined';\nvar matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\nvar getRootNode = !NoElement && Element.prototype.getRootNode ? function (element) {\n var _element$getRootNode;\n return element === null || element === void 0 ? void 0 : (_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element);\n} : function (element) {\n return element === null || element === void 0 ? void 0 : element.ownerDocument;\n};\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Element} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n * see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n * False if `node` is falsy.\n */\nvar isInert = function isInert(node, lookUp) {\n var _node$getAttribute;\n if (lookUp === void 0) {\n lookUp = true;\n }\n // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n // JS API property; we have to check the attribute, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's an active element\n var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, 'inert');\n var inert = inertAtt === '' || inertAtt === 'true';\n\n // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n // if it weren't for `matches()` not being a function on shadow roots; the following\n // code works for any kind of node\n // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`\n // so it likely would not support `:is([inert] *)` either...\n var result = inert || lookUp && node && isInert(node.parentNode); // recursive\n\n return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nvar isContentEditable = function isContentEditable(node) {\n var _node$getAttribute2;\n // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n // to use the attribute directly to check for this, which can either be empty or 'true';\n // if it's `null` (not specified) or 'false', it's a non-editable element\n var attValue = node === null || node === void 0 ? void 0 : (_node$getAttribute2 = node.getAttribute) === null || _node$getAttribute2 === void 0 ? void 0 : _node$getAttribute2.call(node, 'contenteditable');\n return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nvar getCandidates = function getCandidates(el, includeContainer, filter) {\n // even if `includeContainer=false`, we still have to check it for inertness because\n // if it's inert, all its children are inert\n if (isInert(el)) {\n return [];\n }\n var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));\n if (includeContainer && matches.call(el, candidateSelector)) {\n candidates.unshift(el);\n }\n candidates = candidates.filter(filter);\n return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n * if a function, implies shadow support is enabled and either returns the shadow root of an element\n * or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nvar getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {\n var candidates = [];\n var elementsToCheck = Array.from(elements);\n while (elementsToCheck.length) {\n var element = elementsToCheck.shift();\n if (isInert(element, false)) {\n // no need to look up since we're drilling down\n // anything inside this container will also be inert\n continue;\n }\n if (element.tagName === 'SLOT') {\n // add shadow dom slot scope (slot itself cannot be focusable)\n var assigned = element.assignedElements();\n var content = assigned.length ? assigned : element.children;\n var nestedCandidates = getCandidatesIteratively(content, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: nestedCandidates\n });\n }\n } else {\n // check candidate element\n var validCandidate = matches.call(element, candidateSelector);\n if (validCandidate && options.filter(element) && (includeContainer || !elements.includes(element))) {\n candidates.push(element);\n }\n\n // iterate over shadow content if possible\n var shadowRoot = element.shadowRoot ||\n // check for an undisclosed shadow\n typeof options.getShadowRoot === 'function' && options.getShadowRoot(element);\n\n // no inert look up because we're already drilling down and checking for inertness\n // on the way down, so all containers to this root node should have already been\n // vetted as non-inert\n var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));\n if (shadowRoot && validShadowRoot) {\n // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n // shadow exists, so look at light dom children as fallback BUT create a scope for any\n // child candidates found because they're likely slotted elements (elements that are\n // children of the web component element (which has the shadow), in the light dom, but\n // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n // _after_ we return from this recursive call\n var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);\n if (options.flatten) {\n candidates.push.apply(candidates, _nestedCandidates);\n } else {\n candidates.push({\n scopeParent: element,\n candidates: _nestedCandidates\n });\n }\n } else {\n // there's not shadow so just dig into the element's (light dom) children\n // __without__ giving the element special scope treatment\n elementsToCheck.unshift.apply(elementsToCheck, element.children);\n }\n }\n }\n return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nvar hasTabIndex = function hasTabIndex(node) {\n return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nvar getTabIndex = function getTabIndex(node) {\n if (!node) {\n throw new Error('No node provided');\n }\n if (node.tabIndex < 0) {\n // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n // yet they are still part of the regular tab order; in FF, they get a default\n // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n // order, consider their tab index to be 0.\n // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n // so if they don't have a tabindex attribute specifically set, assume it's 0.\n if ((/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) || isContentEditable(node)) && !hasTabIndex(node)) {\n return 0;\n }\n }\n return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n * has tabIndex -1, but needs to be sorted by document order in order for its content to be\n * inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nvar getSortOrderTabIndex = function getSortOrderTabIndex(node, isScope) {\n var tabIndex = getTabIndex(node);\n if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n return 0;\n }\n return tabIndex;\n};\nvar sortOrderedTabbables = function sortOrderedTabbables(a, b) {\n return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;\n};\nvar isInput = function isInput(node) {\n return node.tagName === 'INPUT';\n};\nvar isHiddenInput = function isHiddenInput(node) {\n return isInput(node) && node.type === 'hidden';\n};\nvar isDetailsWithSummary = function isDetailsWithSummary(node) {\n var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {\n return child.tagName === 'SUMMARY';\n });\n return r;\n};\nvar getCheckedRadio = function getCheckedRadio(nodes, form) {\n for (var i = 0; i < nodes.length; i++) {\n if (nodes[i].checked && nodes[i].form === form) {\n return nodes[i];\n }\n }\n};\nvar isTabbableRadio = function isTabbableRadio(node) {\n if (!node.name) {\n return true;\n }\n var radioScope = node.form || getRootNode(node);\n var queryRadios = function queryRadios(name) {\n return radioScope.querySelectorAll('input[type=\"radio\"][name=\"' + name + '\"]');\n };\n var radioSet;\n if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {\n radioSet = queryRadios(window.CSS.escape(node.name));\n } else {\n try {\n radioSet = queryRadios(node.name);\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);\n return false;\n }\n }\n var checked = getCheckedRadio(radioSet, node.form);\n return !checked || checked === node;\n};\nvar isRadio = function isRadio(node) {\n return isInput(node) && node.type === 'radio';\n};\nvar isNonTabbableRadio = function isNonTabbableRadio(node) {\n return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nvar isNodeAttached = function isNodeAttached(node) {\n var _nodeRoot;\n // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n // (but NOT _the_ document; see second 'If' comment below for more).\n // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n // is attached, and the one we need to check if it's in the document or not (because the\n // shadow, and all nodes it contains, is never considered in the document since shadows\n // behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n // is hidden, or is not in the document itself but is detached, it will affect the shadow's\n // visibility, including all the nodes it contains). The host could be any normal node,\n // or a custom element (i.e. web component). Either way, that's the one that is considered\n // part of the document, not the shadow root, nor any of its children (i.e. the node being\n // tested).\n // To further complicate things, we have to look all the way up until we find a shadow HOST\n // that is attached (or find none) because the node might be in nested shadows...\n // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n // document (per the docs) and while it's a Document-type object, that document does not\n // appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n // to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n // using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n // node is actually detached.\n // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n // if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n // from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n // `ownerDocument` will be `null`, hence the optional chaining on it.\n var nodeRoot = node && getRootNode(node);\n var nodeRootHost = (_nodeRoot = nodeRoot) === null || _nodeRoot === void 0 ? void 0 : _nodeRoot.host;\n\n // in some cases, a detached node will return itself as the root instead of a document or\n // shadow root object, in which case, we shouldn't try to look further up the host chain\n var attached = false;\n if (nodeRoot && nodeRoot !== node) {\n var _nodeRootHost, _nodeRootHost$ownerDo, _node$ownerDocument;\n attached = !!((_nodeRootHost = nodeRootHost) !== null && _nodeRootHost !== void 0 && (_nodeRootHost$ownerDo = _nodeRootHost.ownerDocument) !== null && _nodeRootHost$ownerDo !== void 0 && _nodeRootHost$ownerDo.contains(nodeRootHost) || node !== null && node !== void 0 && (_node$ownerDocument = node.ownerDocument) !== null && _node$ownerDocument !== void 0 && _node$ownerDocument.contains(node));\n while (!attached && nodeRootHost) {\n var _nodeRoot2, _nodeRootHost2, _nodeRootHost2$ownerD;\n // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n // which means we need to get the host's host and check if that parent host is contained\n // in (i.e. attached to) the document\n nodeRoot = getRootNode(nodeRootHost);\n nodeRootHost = (_nodeRoot2 = nodeRoot) === null || _nodeRoot2 === void 0 ? void 0 : _nodeRoot2.host;\n attached = !!((_nodeRootHost2 = nodeRootHost) !== null && _nodeRootHost2 !== void 0 && (_nodeRootHost2$ownerD = _nodeRootHost2.ownerDocument) !== null && _nodeRootHost2$ownerD !== void 0 && _nodeRootHost2$ownerD.contains(nodeRootHost));\n }\n }\n return attached;\n};\nvar isZeroArea = function isZeroArea(node) {\n var _node$getBoundingClie = node.getBoundingClientRect(),\n width = _node$getBoundingClie.width,\n height = _node$getBoundingClie.height;\n return width === 0 && height === 0;\n};\nvar isHidden = function isHidden(node, _ref) {\n var displayCheck = _ref.displayCheck,\n getShadowRoot = _ref.getShadowRoot;\n // NOTE: visibility will be `undefined` if node is detached from the document\n // (see notes about this further down), which means we will consider it visible\n // (this is legacy behavior from a very long way back)\n // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n // _visibility_ check, not a _display_ check\n if (getComputedStyle(node).visibility === 'hidden') {\n return true;\n }\n var isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n var nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n return true;\n }\n if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {\n if (typeof getShadowRoot === 'function') {\n // figure out if we should consider the node to be in an undisclosed shadow and use the\n // 'non-zero-area' fallback\n var originalNode = node;\n while (node) {\n var parentElement = node.parentElement;\n var rootNode = getRootNode(node);\n if (parentElement && !parentElement.shadowRoot && getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n ) {\n // node has an undisclosed shadow which means we can only treat it as a black box, so we\n // fall back to a non-zero-area test\n return isZeroArea(node);\n } else if (node.assignedSlot) {\n // iterate up slot\n node = node.assignedSlot;\n } else if (!parentElement && rootNode !== node.ownerDocument) {\n // cross shadow boundary\n node = rootNode.host;\n } else {\n // iterate up normal dom\n node = parentElement;\n }\n }\n node = originalNode;\n }\n // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n // (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n // it might be a falsy value, which means shadow DOM support is disabled\n\n // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n // now we can just test to see if it would normally be visible or not, provided it's\n // attached to the main document.\n // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n // `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n if (isNodeAttached(node)) {\n // this works wherever the node is: if there's at least one client rect, it's\n // somehow displayed; it also covers the CSS 'display: contents' case where the\n // node itself is hidden in place of its contents; and there's no need to search\n // up the hierarchy either\n return !node.getClientRects().length;\n }\n\n // Else, the node isn't attached to the document, which means the `getClientRects()`\n // API will __always__ return zero rects (this can happen, for example, if React\n // is used to render nodes onto a detached tree, as confirmed in this thread:\n // https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n //\n // It also means that even window.getComputedStyle(node).display will return `undefined`\n // because styles are only computed for nodes that are in the document.\n //\n // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n // somehow. Though it was never stated officially, anyone who has ever used tabbable\n // APIs on nodes in detached containers has actually implicitly used tabbable in what\n // was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n // considering __everything__ to be visible because of the innability to determine styles.\n //\n // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n // nodes as visible with the 'none' fallback.__\n if (displayCheck !== 'legacy-full') {\n return true; // hidden\n }\n // else, fallback to 'none' mode and consider the node visible\n } else if (displayCheck === 'non-zero-area') {\n // NOTE: Even though this tests that the node's client rect is non-zero to determine\n // whether it's displayed, and that a detached node will __always__ have a zero-area\n // client rect, we don't special-case for whether the node is attached or not. In\n // this mode, we do want to consider nodes that have a zero area to be hidden at all\n // times, and that includes attached or not.\n return isZeroArea(node);\n }\n\n // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n // it's visible\n return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n// unless they are in the _first_ <legend> element of the top-most disabled\n// fieldset\nvar isDisabledFromFieldset = function isDisabledFromFieldset(node) {\n if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n var parentNode = node.parentElement;\n // check if `node` is contained in a disabled <fieldset>\n while (parentNode) {\n if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n // look for the first <legend> among the children of the disabled <fieldset>\n for (var i = 0; i < parentNode.children.length; i++) {\n var child = parentNode.children.item(i);\n // when the first <legend> (in document order) is found\n if (child.tagName === 'LEGEND') {\n // if its parent <fieldset> is not nested in another disabled <fieldset>,\n // return whether `node` is a descendant of its first <legend>\n return matches.call(parentNode, 'fieldset[disabled] *') ? true : !child.contains(node);\n }\n }\n // the disabled <fieldset> containing `node` has no <legend>\n return true;\n }\n parentNode = parentNode.parentElement;\n }\n }\n\n // else, node's tabbable/focusable state should not be affected by a fieldset's\n // enabled/disabled state\n return false;\n};\nvar isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {\n if (node.disabled ||\n // we must do an inert look up to filter out any elements inside an inert ancestor\n // because we're limited in the type of selectors we can use in JSDom (see related\n // note related to `candidateSelectors`)\n isInert(node) || isHiddenInput(node) || isHidden(node, options) ||\n // For a details element with a summary, the summary element gets the focus\n isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {\n return false;\n }\n return true;\n};\nvar isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {\n if (isNonTabbableRadio(node) || getTabIndex(node) < 0 || !isNodeMatchingSelectorFocusable(options, node)) {\n return false;\n }\n return true;\n};\nvar isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {\n var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n if (isNaN(tabIndex) || tabIndex >= 0) {\n return true;\n }\n // If a custom element has an explicit negative tabindex,\n // browsers will not allow tab targeting said element's children.\n return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nvar sortByOrder = function sortByOrder(candidates) {\n var regularTabbables = [];\n var orderedTabbables = [];\n candidates.forEach(function (item, i) {\n var isScope = !!item.scopeParent;\n var element = isScope ? item.scopeParent : item;\n var candidateTabindex = getSortOrderTabIndex(element, isScope);\n var elements = isScope ? sortByOrder(item.candidates) : element;\n if (candidateTabindex === 0) {\n isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);\n } else {\n orderedTabbables.push({\n documentOrder: i,\n tabIndex: candidateTabindex,\n item: item,\n isScope: isScope,\n content: elements\n });\n }\n });\n return orderedTabbables.sort(sortOrderedTabbables).reduce(function (acc, sortable) {\n sortable.isScope ? acc.push.apply(acc, sortable.content) : acc.push(sortable.content);\n return acc;\n }, []).concat(regularTabbables);\n};\nvar tabbable = function tabbable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorTabbable.bind(null, options),\n flatten: false,\n getShadowRoot: options.getShadowRoot,\n shadowRootFilter: isValidShadowRootTabbable\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));\n }\n return sortByOrder(candidates);\n};\nvar focusable = function focusable(container, options) {\n options = options || {};\n var candidates;\n if (options.getShadowRoot) {\n candidates = getCandidatesIteratively([container], options.includeContainer, {\n filter: isNodeMatchingSelectorFocusable.bind(null, options),\n flatten: true,\n getShadowRoot: options.getShadowRoot\n });\n } else {\n candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));\n }\n return candidates;\n};\nvar isTabbable = function isTabbable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, candidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorTabbable(options, node);\n};\nvar focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');\nvar isFocusable = function isFocusable(node, options) {\n options = options || {};\n if (!node) {\n throw new Error('No node provided');\n }\n if (matches.call(node, focusableCandidateSelector) === false) {\n return false;\n }\n return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { focusable, getTabIndex, isFocusable, isTabbable, tabbable };\n//# sourceMappingURL=index.esm.js.map\n","import { tabbable } from \"tabbable\";\nimport { guid } from \"./guid\";\nimport { CSS_UTILITY } from \"./resources\";\n\n/**\n * The default `focus-trap/tabbable` options.\n *\n * See https://github.com/focus-trap/tabbable#tabbable\n */\nexport const tabbableOptions = {\n getShadowRoot: true,\n};\n\n/**\n * This helper will guarantee an ID on the provided element.\n *\n * If it already has an ID, it will be preserved, otherwise a unique one will be generated and assigned.\n *\n * @param {Element} el An element.\n * @returns {string} The element's ID.\n */\nexport function ensureId(el: Element): string {\n if (!el) {\n return \"\";\n }\n\n return (el.id = el.id || `${el.tagName.toLowerCase()}-${guid()}`);\n}\n\n/**\n * This helper returns an array from a NodeList.\n *\n * @param {NodeList} nodeList A NodeList.\n * @returns {Element[]} An array of elements.\n */\nexport function nodeListToArray<T extends Element>(nodeList: HTMLCollectionOf<T> | NodeListOf<T> | T[]): T[] {\n return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);\n}\n\nexport type Direction = \"ltr\" | \"rtl\";\n\n/**\n * This helper returns the Calcite \"mode\" of an element.\n *\n * @param {HTMLElement} el An element.\n * @returns {\"light\"|\"dark\"} The Calcite mode.\n */\nexport function getModeName(el: HTMLElement): \"light\" | \"dark\" {\n const closestElWithMode = closestElementCrossShadowBoundary(\n el,\n `.${CSS_UTILITY.darkMode}, .${CSS_UTILITY.lightMode}`,\n );\n return closestElWithMode?.classList.contains(\"calcite-mode-dark\") ? \"dark\" : \"light\";\n}\n\n/**\n * This helper returns the direction of a HTML element.\n *\n * @param {HTMLElement} el An element.\n * @returns {Direction} The direction.\n */\nexport function getElementDir(el: HTMLElement): Direction {\n const prop = \"dir\";\n const selector = `[${prop}]`;\n const closest = closestElementCrossShadowBoundary(el, selector);\n return closest ? (closest.getAttribute(prop) as Direction) : \"ltr\";\n}\n\n/**\n * This helper returns the value of an attribute on an element.\n *\n * @param {HTMLElement} el An element.\n * @param {string} attribute An attribute name.\n * @param {any} fallbackValue A fallback value.\n * @returns {any} The value.\n * @deprecated\n */\nexport function getElementProp(el: Element, attribute: string, fallbackValue: any): any {\n const selector = `[${attribute}]`;\n const closest = el.closest(selector);\n return closest ? closest.getAttribute(attribute) : fallbackValue;\n}\n\n/**\n * This helper returns the computed width in pixels of a rendered HTMLElement.\n *\n * @param {HTMLElement} el An element.\n * @returns {number} The element's width.\n */\nexport function getElementWidth(el: HTMLElement): number {\n if (!el) {\n return 0;\n }\n return parseFloat(getComputedStyle(el).inlineSize);\n}\n\n/**\n * This helper returns the rootNode of an element.\n *\n * @param {Element} el An element.\n * @returns {Document|ShadowRoot} The element's root node.\n */\nexport function getRootNode(el: Element): Document | ShadowRoot {\n return el.getRootNode() as Document | ShadowRoot;\n}\n\n/**\n * This helper returns the node's shadowRoot root node if it exists.\n *\n * @param {Element} el The element.\n * @returns {ShadowRoot|null} The element's root node ShadowRoot.\n */\nexport function getShadowRootNode(el: Element): ShadowRoot | null {\n const rootNode = getRootNode(el);\n return \"host\" in rootNode ? rootNode : null;\n}\n\n/**\n * This helper returns the computed width in pixels a given text string takes up on screen.\n *\n * See https://stackoverflow.com/questions/118241/calculate-text-width-with-javascript\n *\n * @param {string} text The string of text to measure.\n * @param {string} font The CSS font attribute's value, which should include size and face, e.g. \"12px Arial\".\n */\nexport function getTextWidth(text: string, font: string): number {\n if (!text) {\n return 0;\n }\n const canvas = document.createElement(\"canvas\");\n const context = canvas.getContext(\"2d\");\n context.font = font;\n return context.measureText(text).width;\n}\n/**\n * This helper returns the host of a ShadowRoot.\n *\n * @param {Document | ShadowRoot} root A root element.\n * @returns {Element | null} The host element.\n */\nexport function getHost(root: Document | ShadowRoot): Element | null {\n return (root as ShadowRoot).host || null;\n}\n\n/**\n * This helper queries an element's rootNode and any ancestor rootNodes.\n *\n * If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.\n *\n * @param {Element} element An element.\n * @param root0\n * @param root0.selector\n * @param root0.id\n * @returns {Element} An element.\n */\nexport function queryElementRoots<T extends Element = Element>(\n element: Element,\n {\n selector,\n id,\n }: {\n selector?: string;\n id?: string;\n },\n): T | null {\n // Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.\n // Based on: https://stackoverflow.com/q/54520554/194216\n function queryFrom<T extends Element = Element>(el: Element): T | null {\n if (!el) {\n return null;\n }\n\n if ((el as Slottable).assignedSlot) {\n el = (el as Slottable).assignedSlot;\n }\n\n const rootNode = getRootNode(el);\n\n const found = id\n ? \"getElementById\" in rootNode\n ? /*\n Check to make sure 'getElementById' exists in cases where element is no longer connected to the DOM and getRootNode() returns the element.\n https://github.com/Esri/calcite-design-system/pull/4280\n */\n (rootNode.getElementById(id) as Element as T)\n : null\n : selector\n ? (rootNode.querySelector(selector) as T)\n : null;\n\n const host = getHost(rootNode);\n\n return found ? found : host ? queryFrom(host) : null;\n }\n\n return queryFrom(element);\n}\n\n/**\n * This helper returns the closest element matching the selector by crossing he shadow boundary if necessary.\n *\n * @param {Element} element The starting element.\n * @param {string} selector The selector.\n * @returns {Element} The targeted element.\n */\nexport function closestElementCrossShadowBoundary<T extends Element = Element>(\n element: Element,\n selector: string,\n): T | null {\n // based on https://stackoverflow.com/q/54520554/194216\n function closestFrom<T extends Element = Element>(el: Element): T | null {\n return el ? el.closest(selector) || closestFrom(getHost(getRootNode(el))) : null;\n }\n\n return closestFrom(element);\n}\n\n/**\n * This utility helps invoke a callback as it traverses a node and its ancestors until reaching the root document.\n *\n * Returning early or undefined in `onVisit` will continue traversing up the DOM tree. Otherwise, traversal will halt with the returned value as the result of the function\n *\n * @param {Element} element An element.\n * @param {(node: Node) => Element} onVisit The callback.\n * @returns {Element} The result.\n */\nexport function walkUpAncestry<T = any>(element: Element, onVisit: (node: Node) => T): T {\n return visit(element, onVisit);\n}\n\nfunction visit<T = any>(node: Node, onVisit: (node: Node) => T): T {\n if (!node) {\n return;\n }\n\n const result = onVisit(node);\n if (result !== undefined) {\n return result;\n }\n\n const { parentNode } = node;\n\n return visit(parentNode instanceof ShadowRoot ? parentNode.host : parentNode, onVisit);\n}\n\n/**\n * This helper returns true when an element has the descendant in question.\n *\n * @param {Element} element The starting element.\n * @param {Element} maybeDescendant The descendant.\n * @returns {boolean} The result.\n */\nexport function containsCrossShadowBoundary(element: Element, maybeDescendant: Element): boolean {\n return !!walkUpAncestry(maybeDescendant, (node) => (node === element ? true : undefined));\n}\n\n/**\n * An element which may contain a `setFocus` method.\n */\nexport interface FocusableElement extends HTMLElement {\n setFocus?: () => Promise<void>;\n}\n\n/**\n * This helper returns true when an element has a setFocus method.\n *\n * @param {Element} el An element.\n * @returns {boolean} The result.\n */\nexport function isCalciteFocusable(el: FocusableElement): boolean {\n return typeof el?.setFocus === \"function\";\n}\n\n/**\n * This helper focuses an element using the `setFocus` method if available and falls back to using the `focus` method if not available.\n *\n * @param {Element} el An element.\n */\nexport async function focusElement(el: FocusableElement): Promise<void> {\n if (!el) {\n return;\n }\n\n return isCalciteFocusable(el) ? el.setFocus() : el.focus();\n}\n\n/**\n * Helper to get the first tabbable element.\n *\n * @param {HTMLElement} element The html element containing tabbable elements.\n * @returns the first tabbable element.\n */\nexport function getFirstTabbable(element: HTMLElement): HTMLElement {\n if (!element) {\n return;\n }\n\n return (tabbable(element, tabbableOptions)[0] ?? element) as HTMLElement;\n}\n\n/**\n * Helper to focus the first tabbable element.\n *\n * @param {HTMLElement} element The html element containing tabbable elements.\n */\nexport function focusFirstTabbable(element: HTMLElement): void {\n getFirstTabbable(element)?.focus();\n}\n\ninterface GetSlottedOptions {\n all?: boolean;\n direct?: boolean;\n matches?: string;\n selector?: string;\n}\n\nconst defaultSlotSelector = \":not([slot])\";\n\n/**\n * Gets slotted elements for a named slot.\n *\n * @param {Element} element An element.\n * @param {string} slotName The slot name.\n * @param {GetSlottedOptions & { all: true }} options The options.\n * @returns {Element | Element[] | null} returns element(s) or null.\n * @deprecated Use `onSlotchange` event instead.\n *\n * ```\n * <slot onSlotchange={(event) => this.myElements = slotChangeGetAssignedElements(event)} />}\n * ```\n */\nexport function getSlotted<T extends Element = Element>(\n element: Element,\n slotName: string | string[] | (GetSlottedOptions & { all: true }),\n options: GetSlottedOptions & { all: true },\n): T[];\nexport function getSlotted<T extends Element = Element>(\n element: Element,\n slotName?: string | string[] | GetSlottedOptions,\n options?: GetSlottedOptions,\n): T | null;\nexport function getSlotted<T extends Element = Element>(\n element: Element,\n slotName?: string | string[] | GetSlottedOptions,\n options?: GetSlottedOptions,\n): (T | null) | T[] {\n if (slotName && !Array.isArray(slotName) && typeof slotName !== \"string\") {\n options = slotName;\n slotName = null;\n }\n\n const slotSelector = slotName\n ? Array.isArray(slotName)\n ? slotName.map((name) => `[slot=\"${name}\"]`).join(\",\")\n : `[slot=\"${slotName}\"]`\n : defaultSlotSelector;\n\n if (options?.all) {\n return queryMultiple<T>(element, slotSelector, options);\n }\n\n return querySingle<T>(element, slotSelector, options);\n}\n\nfunction getDirectChildren<T extends Element = Element>(el: Element, selector: string): T[] {\n return el ? (Array.from(el.children || []) as T[]).filter((child) => child?.matches(selector)) : [];\n}\n\nfunction queryMultiple<T extends Element = Element>(\n element: Element,\n slotSelector: string,\n options?: GetSlottedOptions,\n): T[] {\n let matches =\n slotSelector === defaultSlotSelector\n ? getDirectChildren<T>(element, defaultSlotSelector)\n : Array.from(element.querySelectorAll<T>(slotSelector));\n\n matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);\n\n matches = options?.matches ? matches.filter((el) => el?.matches(options.matches)) : matches;\n\n const selector = options?.selector;\n return selector\n ? matches\n .map((item) => Array.from(item.querySelectorAll<T>(selector)))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], [])\n .filter((match) => !!match)\n : matches;\n}\n\nfunction querySingle<T extends Element = Element>(\n element: Element,\n slotSelector: string,\n options?: GetSlottedOptions,\n): T | null {\n let match =\n slotSelector === defaultSlotSelector\n ? getDirectChildren<T>(element, defaultSlotSelector)[0] || null\n : element.querySelector<T>(slotSelector);\n\n match = options && options.direct === false ? match : match?.parentElement === element ? match : null;\n\n match = options?.matches ? (match?.matches(options.matches) ? match : null) : match;\n\n const selector = options?.selector;\n return selector ? match?.querySelector<T>(selector) : match;\n}\n\n/**\n * Filters direct children.\n *\n * @param {Element} el An element.\n * @param {string} selector The selector.\n * @returns {Element[]} An array of elements.\n */\nexport function filterDirectChildren<T extends Element>(el: Element, selector: string): T[] {\n return Array.from(el.children).filter((child): child is T => child.matches(selector));\n}\n\n/**\n * Set a default icon from a defined set or allow an override with an icon name string\n *\n * @param {Record<string, string>} iconObject The icon object.\n * @param {string | boolean} iconValue The icon value.\n * @param {string} matchedValue The matched value.\n * @returns {string|undefined} The resulting icon value.\n */\nexport function setRequestedIcon(\n iconObject: Record<string, string>,\n iconValue: string | boolean,\n matchedValue: string,\n): string | undefined {\n if (typeof iconValue === \"string\" && iconValue !== \"\") {\n return iconValue;\n } else if (iconValue === \"\") {\n return iconObject[matchedValue];\n }\n}\n\n/**\n * This helper returns true when two rectangles intersect.\n *\n * @param {DOMRect} rect1 The first rectangle.\n * @param {DOMRect} rect2 The second rectangle.\n * @returns {boolean} The result.\n */\nexport function intersects(rect1: DOMRect, rect2: DOMRect): boolean {\n return !(\n rect2.left > rect1.right ||\n rect2.right < rect1.left ||\n rect2.top > rect1.bottom ||\n rect2.bottom < rect1.top\n );\n}\n\n/**\n * This helper makes sure that boolean aria attributes are properly converted to a string.\n *\n * It should only be used for aria attributes that require a string value of \"true\" or \"false\".\n *\n * @param {boolean} value The value.\n * @returns {string} The string conversion of a boolean value (\"true\" | \"false\").\n */\nexport function toAriaBoolean(value: boolean): string {\n return Boolean(value).toString();\n}\n\n/**\n * This helper returns `true` if the target `slot` element from the `onSlotchange` event has any content (text or elements).\n *\n * ```\n * <slot onSlotchange={(event) => this.mySlotHasContent = slotChangeHasContent(event)} />}\n * ```\n *\n * @param {Event} event The event.\n * @returns {boolean} Whether the slot has any content.\n */\nexport function slotChangeHasContent(event: Event): boolean {\n return slotChangeHasAssignedElement(event) || slotChangeHasTextContent(event);\n}\n\n/**\n * This helper returns a string of textContent if the target `slot` element from the `onSlotchange` event has any text content.\n *\n * ```\n * <slot onSlotchange={(event) => this.mySlotText = slotChangeGetTextContent(event)} />}\n * ```\n *\n * @param {Event} event The event.\n * @returns {string} The slots text.\n */\nexport function slotChangeGetTextContent(event: Event): string {\n return slotChangeGetAssignedNodes(event)\n .filter((node) => node.nodeType === Node.TEXT_NODE)\n .map((node) => node.textContent)\n .join(\"\")\n .trim();\n}\n\n/**\n * This helper returns `true` if the target `slot` element from the `onSlotchange` event has any text content.\n *\n * ```\n * <slot onSlotchange={(event) => this.mySlotHasTextContent = slotChangeHasTextContent(event)} />}\n * ```\n *\n * @param {Event} event The event.\n * @returns {boolean} Whether the slot has any text content.\n */\nexport function slotChangeHasTextContent(event: Event): boolean {\n return !!slotChangeGetTextContent(event);\n}\n\n/**\n * This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned node.\n *\n * ```\n * <slot onSlotchange={(event) => this.mySlotHasNode = slotChangeHasAssignedNode(event)} />}\n * ```\n *\n * @param {Event} event The event.\n * @returns {boolean} Whether the slot has any assigned nodes.\n */\nexport function slotChangeHasAssignedNode(event: Event): boolean {\n return !!slotChangeGetAssignedNodes(event).length;\n}\n\n/**\n * This helper returns the assigned nodes on a `slot` element from the `onSlotchange` event.\n *\n * ```\n * <slot onSlotchange={(event) => this.mySlotNodes = slotChangeGetAssignedNodes(event)} />}\n * ```\n *\n * @param {Event} event The event.\n * @returns {boolean} Whether the slot has any assigned nodes.\n */\nexport function slotChangeGetAssignedNodes(event: Event): Node[] {\n return (event.target as HTMLSlotElement).assignedNodes({\n flatten: true,\n });\n}\n\n/**\n * This helper returns `true` if the target `slot` element from the `onSlotchange` event has an assigned element.\n *\n * ```\n * <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}\n * ```\n *\n * @param {Event} event The event.\n * @returns {boolean} Whether the slot has any assigned elements.\n */\nexport function slotChangeHasAssignedElement(event: Event): boolean {\n return !!slotChangeGetAssignedElements(event).length;\n}\n\n/**\n * This helper returns the assigned elements on a `slot` element from the `onSlotchange` event.\n *\n * ```\n * <slot onSlotchange={(event) => this.mySlotElements = slotChangeGetAssignedElements(event)} />}\n * ```\n *\n * @param {Event} event The event.\n * @returns {boolean} Whether the slot has any assigned elements.\n */\nexport function slotChangeGetAssignedElements(event: Event): Element[] {\n return (event.target as HTMLSlotElement).assignedElements({\n flatten: true,\n });\n}\n\n/**\n * This helper returns true if the pointer event fired from the primary button of the device.\n *\n * See https://www.w3.org/TR/pointerevents/#the-button-property.\n *\n * @param {PointerEvent} event The pointer event.\n * @returns {boolean} The value.\n */\nexport function isPrimaryPointerButton(event: PointerEvent): boolean {\n return !!(event.isPrimary && event.button === 0);\n}\n\nexport type FocusElementInGroupDestination = \"first\" | \"last\" | \"next\" | \"previous\";\n\n/**\n * This helper sets focus on and returns a destination element from within a group of provided elements.\n *\n * @param {Element[]} elements An array of elements.\n * @param {Element} currentElement The current element.\n * @param {FocusElementInGroupDestination} destination The target destination element to focus.\n * @param {boolean} cycle Should navigation cycle through elements or stop at extent - defaults to true.\n * @returns {Element} The focused element\n */\nexport const focusElementInGroup = <T extends Element = Element>(\n elements: Element[],\n currentElement: Element,\n destination: FocusElementInGroupDestination,\n cycle = true,\n): T => {\n const currentIndex = elements.indexOf(currentElement);\n const isFirstItem = currentIndex === 0;\n const isLastItem = currentIndex === elements.length - 1;\n if (cycle) {\n destination =\n destination === \"previous\" && isFirstItem ? \"last\" : destination === \"next\" && isLastItem ? \"first\" : destination;\n }\n\n let focusTarget;\n if (destination === \"previous\") {\n focusTarget = elements[currentIndex - 1] || elements[cycle ? elements.length - 1 : currentIndex];\n } else if (destination === \"next\") {\n focusTarget = elements[currentIndex + 1] || elements[cycle ? 0 : currentIndex];\n } else if (destination === \"last\") {\n focusTarget = elements[elements.length - 1];\n } else {\n focusTarget = elements[0];\n }\n\n focusElement(focusTarget);\n return focusTarget;\n};\n\n/**\n * This helper determines if an element is before another element in the DOM.\n *\n * @param a the reference element to compare\n * @param b the element to compare against\n *\n * @returns true when a is before b in the DOM\n */\nexport function isBefore(a: HTMLElement, b: HTMLElement): boolean {\n if (a.parentNode !== b.parentNode) {\n return false;\n }\n\n const children = Array.from(a.parentNode.children);\n return children.indexOf(a) < children.indexOf(b);\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-ae099f54.js";import"./p-af4ddf72.js";import"./p-af2d9d05.js";import"./p-08c2ed86.js";import"./p-18b6f94d.js";import"./p-8668595c.js";import"./p-c9e19694.js";import"./p-780fe459.js";import"./p-f1e11081.js";import"./p-80e751c9.js";import"./p-6cfaa60b.js";import"./p-fa4a0fb9.js";import"./p-415227ad.js";import"./p-19e67425.js";import"./p-b28231df.js";import"./p-f7e88c1a.js";import"./p-cf8dfc13.js";import"./p-539471ee.js";import"./p-28f07162.js";function a(e,a,t,s){var p={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};if(a){return(p[t][2]?p[t][2]:p[t][1]).replace("%d",e)}return(s?p[t][0]:p[t][1]).replace("%d",e)}var t={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function e(a){return a+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d päeva",M:a,MM:a,y:a,yy:a},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};e.locale(t,null,true);export default t;
|
|
7
|
+
//# sourceMappingURL=p-0b5c72c1.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as e,c as t,h as i,H as n,g as o}from"./p-af4ddf72.js";import{c as a,d as s}from"./p-a0e10869.js";import{f as c,e as r,t as l,g as d}from"./p-08c2ed86.js";import{c as h,d as g,u,I as p}from"./p-c9e19694.js";import{c as f,d as m}from"./p-415227ad.js";import{u as b,c as v,d as x,s as w}from"./p-cf8dfc13.js";import{H as k}from"./p-92ed964c.js";import{c as y,s as C,a as z}from"./p-fa4a0fb9.js";import{o as j}from"./p-539471ee.js";import{i as _}from"./p-f1e11081.js";import"./p-19e67425.js";import"./p-18b6f94d.js";import"./p-8668595c.js";import"./p-780fe459.js";const L={content:"content",toggle:"toggle",header:"header"};const B={button:"button",container:"container",content:"content",controlContainer:"control-container",description:"description",header:"header",headerContainer:"header-container",heading:"heading",icon:"icon",invalid:"invalid",statusIcon:"status-icon",summary:"summary",title:"title",toggle:"toggle",toggleIcon:"toggle-icon",valid:"valid"};const I={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};const D={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"};const O=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-color-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex;margin-inline-start:0.75rem;margin-inline-end:0px}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.toggle-icon{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-color-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:0.75rem;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-color-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}';const S=class{constructor(i){e(this,i);this.calciteBlockBeforeClose=t(this,"calciteBlockBeforeClose",6);this.calciteBlockBeforeOpen=t(this,"calciteBlockBeforeOpen",6);this.calciteBlockClose=t(this,"calciteBlockClose",6);this.calciteBlockOpen=t(this,"calciteBlockOpen",6);this.calciteBlockToggle=t(this,"calciteBlockToggle",6);this.openTransitionProp="opacity";this.onHeaderClick=()=>{this.open=!this.open;this.calciteBlockToggle.emit()};this.setTransitionEl=e=>{this.transitionEl=e};this.collapsible=false;this.disabled=false;this.dragHandle=false;this.heading=undefined;this.headingLevel=undefined;this.loading=false;this.open=false;this.status=undefined;this.description=undefined;this.messages=undefined;this.messageOverrides=undefined;this.overlayPositioning="absolute";this.effectiveLocale=undefined;this.defaultMessages=undefined}openHandler(){j(this)}onMessagesChange(){}async setFocus(){await y(this);c(this.el)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){a(this);h(this);f(this);v(this)}disconnectedCallback(){g(this);m(this);x(this);s(this)}async componentWillLoad(){await w(this);C(this);if(this.open){j(this)}}componentDidLoad(){z(this)}componentDidRender(){u(this)}renderScrim(){const{loading:e}=this;const t=i("slot",null);return[e?i("calcite-scrim",{loading:e}):null,t]}renderIcon(){const{loading:e,messages:t,status:n}=this;const o=!!r(this.el,I.icon);return e?i("div",{class:B.icon,key:"loader"},i("calcite-loader",{inline:true,label:t.loading})):!!n?i("div",{class:B.icon,key:"status-icon"},i("calcite-icon",{class:{[B.statusIcon]:true,[B.valid]:n=="valid",[B.invalid]:n=="invalid"},icon:D[n],scale:"s"})):o?i("div",{class:B.icon,key:"icon-slot"},i("slot",{key:"icon-slot",name:I.icon})):null}renderTitle(){const{heading:e,headingLevel:t,description:n}=this;return e||n?i("div",{class:B.title},i(k,{class:B.heading,level:t},e),n?i("div",{class:B.description},n):null):null}render(){const{collapsible:e,el:t,loading:o,open:a,heading:s,messages:c}=this;const d=a?c.collapse:c.expand;const h=i("header",{class:B.header,id:L.header},this.renderIcon(),this.renderTitle());const g=!!r(t,I.control);const u=!!r(t,I.headerMenuActions);const f=a?D.opened:D.closed;const m=i("div",{class:B.headerContainer},this.dragHandle?i("calcite-handle",{label:s}):null,e?i("button",{"aria-controls":L.content,"aria-describedby":L.header,"aria-expanded":e?l(a):null,class:B.toggle,id:L.toggle,onClick:this.onHeaderClick,title:d},h,i("calcite-icon",{"aria-hidden":"true",class:B.toggleIcon,icon:f,scale:"s"})):h,g?i("div",{class:B.controlContainer},i("slot",{name:I.control})):null,u?i("calcite-action-menu",{label:c.options,overlayPositioning:this.overlayPositioning},i("slot",{name:I.headerMenuActions})):null);return i(n,null,i(p,{disabled:this.disabled},i("article",{"aria-busy":l(o),class:{[B.container]:true}},m,i("section",{"aria-labelledby":L.toggle,class:B.content,hidden:!a,id:L.content,ref:this.setTransitionEl},this.renderScrim()))))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};S.style=O;const H={content:"content",toggle:"toggle"};const M={content:"content",focusGuard:"focus-guard",invalid:"invalid",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContainer:"toggle--switch-container",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",valid:"valid"};const T={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};const q=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host([open]){border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}:host(:last-child){border-block-end-width:0px}.toggle{inline-size:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2)}.toggle--switch,.section-header{margin-inline:0px;margin-block:0.25rem;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;padding-inline:0px;padding-block:0.5rem;font-size:var(--calcite-font-size--1);outline-color:transparent}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand-hover, var(--calcite-color-brand)));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.toggle--switch:hover,.section-header:hover{color:var(--calcite-color-text-1)}.section-header .status-icon{align-self:flex-end}.section-header__text{margin-inline:0.75rem;margin-block:0px;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch-container{position:relative;display:flex;inline-size:100%;align-items:center;background-color:transparent;word-break:break-word}.toggle--switch-container .focus-guard{--calcite-label-margin-bottom:0;pointer-events:none;position:absolute;inset-inline-end:0;margin-inline-start:0.25rem}.toggle--switch .status-icon{margin-inline-start:0.5rem}.toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([toggle-display=switch]) .toggle .toggle--switch__content{margin-inline-end:1.75rem}:host([hidden]){display:none}[hidden]{display:none}";const F=class{constructor(i){e(this,i);this.calciteBlockSectionToggle=t(this,"calciteBlockSectionToggle",6);this.handleHeaderKeyDown=e=>{if(_(e.key)){this.toggleSection();e.preventDefault();e.stopPropagation()}};this.toggleSection=()=>{this.open=!this.open;this.calciteBlockSectionToggle.emit()};this.open=false;this.status=undefined;this.text=undefined;this.toggleDisplay="button";this.messages=undefined;this.messageOverrides=undefined;this.effectiveLocale=undefined;this.defaultMessages=undefined}onMessagesChange(){}async setFocus(){await y(this);c(this.el)}effectiveLocaleChange(){b(this,this.effectiveLocale)}connectedCallback(){f(this);v(this)}async componentWillLoad(){await w(this);C(this)}componentDidLoad(){z(this)}disconnectedCallback(){m(this);x(this)}renderStatusIcon(){const{status:e}=this;const t=T[e]??false;const n={[M.statusIcon]:true,[M.valid]:e=="valid",[M.invalid]:e=="invalid"};return!!t?i("calcite-icon",{class:n,icon:t,scale:"s"}):null}render(){const{el:e,messages:t,open:o,text:a,toggleDisplay:s}=this;const c=d(e);const r=o?T.menuOpen:c==="rtl"?T.menuClosedLeft:T.menuClosedRight;const h=o?t.collapse:t.expand;const g=s==="switch"?i("div",{class:{[M.toggleSwitchContainer]:true}},i("div",{"aria-controls":H.content,"aria-expanded":l(o),class:{[M.toggle]:true,[M.toggleSwitch]:true},id:H.toggle,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,role:"button",tabIndex:0,title:h},i("div",{class:M.toggleSwitchContent},i("span",{class:M.toggleSwitchText},a)),this.renderStatusIcon()),i("calcite-label",{class:M.focusGuard,layout:"inline",tabIndex:-1},i("calcite-switch",{checked:o,label:h,scale:"s"}))):i("button",{"aria-controls":H.content,"aria-expanded":l(o),class:{[M.sectionHeader]:true,[M.toggle]:true},id:H.toggle,onClick:this.toggleSection},i("calcite-icon",{icon:r,scale:"s"}),i("span",{class:M.sectionHeaderText},a),this.renderStatusIcon());return i(n,null,g,i("section",{"aria-labelledby":H.toggle,class:M.content,hidden:!o,id:H.content},i("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};F.style=q;export{S as calcite_block,F as calcite_block_section};
|
|
7
|
+
//# sourceMappingURL=p-0e1cb316.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,F as s,g as n}from"./p-af4ddf72.js";import{g as o}from"./p-2ca19e67.js";import{t as a,i as r,d as l}from"./p-08c2ed86.js";import{g as c}from"./p-18b6f94d.js";import{i as h}from"./p-f1e11081.js";import{s as d,a as u,c as p}from"./p-fa4a0fb9.js";import{a as f,C as m,I as x,S as b}from"./p-f6d72d7b.js";import"./p-8668595c.js";const g=":host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1);color:var(--calcite-color-text-2)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-color-border-3)}::slotted(calcite-action-group:last-child){border-block-end:0}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}";const v=["ArrowUp","ArrowDown","End","Home"];const w=class{constructor(i){t(this,i);this.calciteActionMenuOpen=e(this,"calciteActionMenuOpen",6);this.actionElements=[];this.guid=`calcite-action-menu-${c()}`;this.menuId=`${this.guid}-menu`;this.menuButtonId=`${this.guid}-menu-button`;this.connectMenuButtonEl=()=>{const{menuButtonId:t,menuId:e,open:i,label:s}=this;const n=this.slottedMenuButtonEl||this.defaultMenuButtonEl;if(this.menuButtonEl===n){return}this.disconnectMenuButtonEl();this.menuButtonEl=n;this.setTooltipReferenceElement();if(!n){return}n.active=i;n.setAttribute("aria-controls",e);n.setAttribute("aria-expanded",a(i));n.setAttribute("aria-haspopup","true");if(!n.id){n.id=t}if(!n.label){n.label=s}if(!n.text){n.text=s}n.addEventListener("pointerdown",this.menuButtonClick);n.addEventListener("keydown",this.menuButtonKeyDown)};this.disconnectMenuButtonEl=()=>{const{menuButtonEl:t}=this;if(!t){return}t.removeEventListener("pointerdown",this.menuButtonClick);t.removeEventListener("keydown",this.menuButtonKeyDown)};this.setMenuButtonEl=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-action")));this.slottedMenuButtonEl=e[0];this.connectMenuButtonEl()};this.setDefaultMenuButtonEl=t=>{this.defaultMenuButtonEl=t;this.connectMenuButtonEl()};this.handleCalciteActionClick=()=>{this.open=false;this.setFocus()};this.menuButtonClick=t=>{if(!r(t)){return}this.toggleOpen()};this.updateTooltip=t=>{const e=t.target.assignedElements({flatten:true}).filter((t=>t?.matches("calcite-tooltip")));this.tooltipEl=e[0];this.setTooltipReferenceElement()};this.setTooltipReferenceElement=()=>{const{tooltipEl:t,expanded:e,menuButtonEl:i,open:s}=this;if(t){t.referenceElement=!e&&!s?i:null}};this.updateAction=(t,e)=>{const{guid:i,activeMenuItemIndex:s}=this;const n=`${i}-action-${e}`;t.tabIndex=-1;t.setAttribute("role","menuitem");if(!t.id){t.id=n}t.toggleAttribute(f,e===s)};this.updateActions=t=>{t?.forEach(this.updateAction)};this.handleDefaultSlotChange=t=>{const e=t.target.assignedElements({flatten:true}).reduce(((t,e)=>{if(e?.matches("calcite-action")){t.push(e);return t}if(e?.matches("calcite-action-group")){return t.concat(Array.from(e.querySelectorAll("calcite-action")))}return t}),[]);this.actionElements=e.filter((t=>!t.disabled&&!t.hidden))};this.menuButtonKeyDown=t=>{const{key:e}=t;const{actionElements:i,activeMenuItemIndex:s,open:n}=this;if(!i.length){return}if(h(e)){t.preventDefault();if(!n){this.toggleOpen();return}const e=i[s];e?e.click():this.toggleOpen(false)}if(e==="Tab"){this.open=false;return}if(e==="Escape"){this.toggleOpen(false);t.preventDefault();return}this.handleActionNavigation(t,e,i)};this.handleActionNavigation=(t,e,i)=>{if(!this.isValidKey(e,v)){return}t.preventDefault();if(!this.open){this.toggleOpen();if(e==="Home"||e==="ArrowDown"){this.activeMenuItemIndex=0}if(e==="End"||e==="ArrowUp"){this.activeMenuItemIndex=i.length-1}return}if(e==="Home"){this.activeMenuItemIndex=0}if(e==="End"){this.activeMenuItemIndex=i.length-1}const s=this.activeMenuItemIndex;if(e==="ArrowUp"){this.activeMenuItemIndex=o(Math.max(s-1,-1),i.length)}if(e==="ArrowDown"){this.activeMenuItemIndex=o(s+1,i.length)}};this.toggleOpenEnd=()=>{this.setFocus();this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)};this.toggleOpen=(t=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd);this.open=t};this.handlePopoverOpen=()=>{this.open=true};this.handlePopoverClose=()=>{this.open=false};this.appearance="solid";this.expanded=false;this.flipPlacements=undefined;this.label=undefined;this.open=false;this.overlayPositioning="absolute";this.placement="auto";this.scale=undefined;this.menuButtonEl=undefined;this.activeMenuItemIndex=-1}connectedCallback(){this.connectMenuButtonEl()}componentWillLoad(){d(this)}componentDidLoad(){u(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=false;this.setTooltipReferenceElement()}openHandler(t){this.activeMenuItemIndex=this.open?0:-1;if(this.menuButtonEl){this.menuButtonEl.active=t}this.calciteActionMenuOpen.emit();this.setTooltipReferenceElement()}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){await p(this);return l(this.menuButtonEl)}renderMenuButton(){const{appearance:t,label:e,scale:s,expanded:n}=this;const o=i("slot",{name:b.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{appearance:t,class:m.defaultTrigger,icon:x.menu,scale:s,text:e,textEnabled:n,ref:this.setDefaultMenuButtonEl}));return o}renderMenuItems(){const{actionElements:t,activeMenuItemIndex:e,open:s,menuId:n,menuButtonEl:o,label:a,placement:r,overlayPositioning:l,flipPlacements:c}=this;const h=t[e];const d=h?.id||null;return i("calcite-popover",{autoClose:true,flipPlacements:c,focusTrapDisabled:true,label:a,offsetDistance:0,onCalcitePopoverClose:this.handlePopoverClose,onCalcitePopoverOpen:this.handlePopoverOpen,open:s,overlayPositioning:l,placement:r,pointerDisabled:true,referenceElement:o},i("div",{"aria-activedescendant":d,"aria-labelledby":o?.id,class:m.menu,id:n,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(s,null,this.renderMenuButton(),this.renderMenuItems(),i("slot",{name:b.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(t,e){return!!e.find((e=>e===t))}get el(){return n(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};w.style=g;export{w as calcite_action_menu};
|
|
7
|
+
//# sourceMappingURL=p-0e20a1f8.entry.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
const e={actionBarContainer:"action-bar-container",backButton:"back-button",container:"container",header:"header",headerContainer:"header-container",headerContainerBorderEnd:"header-container--border-end",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",fabContainer:"fab-container",footer:"footer"};const n={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right",expand:"chevron-down",collapse:"chevron-up"};const a={actionBar:"action-bar",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions"};export{e as C,n as I,a as S};
|
|
7
|
+
//# sourceMappingURL=p-0f3c0376.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.7.0-next.1
|
|
5
|
+
*/
|
|
6
|
+
import{g as t}from"./p-08c2ed86.js";import{d as n}from"./p-12c8757c.js";const e=["top","right","bottom","left"];const o=["start","end"];const r=e.reduce(((t,n)=>t.concat(n,n+"-"+o[0],n+"-"+o[1])),[]);const i=Math.min;const s=Math.max;const c=Math.round;const l=Math.floor;const a=t=>({x:t,y:t});const f={left:"right",right:"left",bottom:"top",top:"bottom"};const u={start:"end",end:"start"};function d(t,n,e){return s(t,i(n,e))}function m(t,n){return typeof t==="function"?t(n):t}function p(t){return t.split("-")[0]}function y(t){return t.split("-")[1]}function g(t){return t==="x"?"y":"x"}function h(t){return t==="y"?"height":"width"}function w(t){return["top","bottom"].includes(p(t))?"y":"x"}function x(t){return g(w(t))}function v(t,n,e){if(e===void 0){e=false}const o=y(t);const r=x(t);const i=h(r);let s=r==="x"?o===(e?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(n.reference[i]>n.floating[i]){s=D(s)}return[s,D(s)]}function b(t){const n=D(t);return[A(t),n,A(n)]}function A(t){return t.replace(/start|end/g,(t=>u[t]))}function k(t,n,e){const o=["left","right"];const r=["right","left"];const i=["top","bottom"];const s=["bottom","top"];switch(t){case"top":case"bottom":if(e)return n?r:o;return n?o:r;case"left":case"right":return n?i:s;default:return[]}}function S(t,n,e,o){const r=y(t);let i=k(p(t),e==="start",o);if(r){i=i.map((t=>t+"-"+r));if(n){i=i.concat(i.map(A))}}return i}function D(t){return t.replace(/left|right|bottom|top/g,(t=>f[t]))}function P(t){return{top:0,right:0,bottom:0,left:0,...t}}function O(t){return typeof t!=="number"?P(t):{top:t,right:t,bottom:t,left:t}}function R(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function E(t,n,e){let{reference:o,floating:r}=t;const i=w(n);const s=x(n);const c=h(s);const l=p(n);const a=i==="y";const f=o.x+o.width/2-r.width/2;const u=o.y+o.height/2-r.height/2;const d=o[c]/2-r[c]/2;let m;switch(l){case"top":m={x:f,y:o.y-r.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(y(n)){case"start":m[s]-=d*(e&&a?-1:1);break;case"end":m[s]+=d*(e&&a?-1:1);break}return m}const F=async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=e;const c=i.filter(Boolean);const l=await(s.isRTL==null?void 0:s.isRTL(n));let a=await s.getElementRects({reference:t,floating:n,strategy:r});let{x:f,y:u}=E(a,o,l);let d=o;let m={};let p=0;for(let e=0;e<c.length;e++){const{name:i,fn:y}=c[e];const{x:g,y:h,data:w,reset:x}=await y({x:f,y:u,initialPlacement:o,placement:d,strategy:r,middlewareData:m,rects:a,platform:s,elements:{reference:t,floating:n}});f=g!=null?g:f;u=h!=null?h:u;m={...m,[i]:{...m[i],...w}};if(x&&p<=50){p++;if(typeof x==="object"){if(x.placement){d=x.placement}if(x.rects){a=x.rects===true?await s.getElementRects({reference:t,floating:n,strategy:r}):x.rects}({x:f,y:u}=E(a,d,l))}e=-1;continue}}return{x:f,y:u,placement:d,strategy:r,middlewareData:m}};async function M(t,n){var e;if(n===void 0){n={}}const{x:o,y:r,platform:i,rects:s,elements:c,strategy:l}=t;const{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:d=false,padding:p=0}=m(n,t);const y=O(p);const g=u==="floating"?"reference":"floating";const h=c[d?g:u];const w=R(await i.getClippingRect({element:((e=await(i.isElement==null?void 0:i.isElement(h)))!=null?e:true)?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l}));const x=u==="floating"?{...s.floating,x:o,y:r}:s.reference;const v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating));const b=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1};const A=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:v,strategy:l}):x);return{top:(w.top-A.top+y.top)/b.y,bottom:(A.bottom-w.bottom+y.bottom)/b.y,left:(w.left-A.left+y.left)/b.x,right:(A.right-w.right+y.right)/b.x}}const T=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:r,rects:s,platform:c,elements:l,middlewareData:a}=n;const{element:f,padding:u=0}=m(t,n)||{};if(f==null){return{}}const p=O(u);const g={x:e,y:o};const w=x(r);const v=h(w);const b=await c.getDimensions(f);const A=w==="y";const k=A?"top":"left";const S=A?"bottom":"right";const D=A?"clientHeight":"clientWidth";const P=s.reference[v]+s.reference[w]-g[w]-s.floating[v];const R=g[w]-s.reference[w];const E=await(c.getOffsetParent==null?void 0:c.getOffsetParent(f));let F=E?E[D]:0;if(!F||!await(c.isElement==null?void 0:c.isElement(E))){F=l.floating[D]||s.floating[v]}const M=P/2-R/2;const T=F/2-b[v]/2-1;const C=i(p[k],T);const $=i(p[S],T);const z=C;const B=F-b[v]-$;const L=F/2-b[v]/2+M;const j=d(z,L,B);const H=!a.arrow&&y(r)!=null&&L!=j&&s.reference[v]/2-(L<z?C:$)-b[v]/2<0;const I=H?L<z?L-z:L-B:0;return{[w]:g[w]+I,data:{[w]:j,centerOffset:L-j-I,...H&&{alignmentOffset:I}},reset:H}}});function C(t,n,e){const o=t?[...e.filter((n=>y(n)===t)),...e.filter((n=>y(n)!==t))]:e.filter((t=>p(t)===t));return o.filter((e=>{if(t){return y(e)===t||(n?A(e)!==e:false)}return true}))}const $=function(t){if(t===void 0){t={}}return{name:"autoPlacement",options:t,async fn(n){var e,o,i;const{rects:s,middlewareData:c,placement:l,platform:a,elements:f}=n;const{crossAxis:u=false,alignment:d,allowedPlacements:g=r,autoAlignment:h=true,...w}=m(t,n);const x=d!==undefined||g===r?C(d||null,h,g):g;const b=await M(n,w);const A=((e=c.autoPlacement)==null?void 0:e.index)||0;const k=x[A];if(k==null){return{}}const S=v(k,s,await(a.isRTL==null?void 0:a.isRTL(f.floating)));if(l!==k){return{reset:{placement:x[0]}}}const D=[b[p(k)],b[S[0]],b[S[1]]];const P=[...((o=c.autoPlacement)==null?void 0:o.overflows)||[],{placement:k,overflows:D}];const O=x[A+1];if(O){return{data:{index:A+1,overflows:P},reset:{placement:O}}}const R=P.map((t=>{const n=y(t.placement);return[t.placement,n&&u?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1]));const E=R.filter((t=>t[2].slice(0,y(t[0])?2:3).every((t=>t<=0))));const F=((i=E[0])==null?void 0:i[0])||R[0][0];if(F!==l){return{data:{index:A+1,overflows:P},reset:{placement:F}}}return{}}}};const z=function(t){if(t===void 0){t={}}return{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:a}=n;const{mainAxis:f=true,crossAxis:u=true,fallbackPlacements:d,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=true,...w}=m(t,n);if((e=i.arrow)!=null&&e.alignmentOffset){return{}}const x=p(r);const A=p(c)===c;const k=await(l.isRTL==null?void 0:l.isRTL(a.floating));const P=d||(A||!h?[D(c)]:b(c));if(!d&&g!=="none"){P.push(...S(c,h,g,k))}const O=[c,...P];const R=await M(n,w);const E=[];let F=((o=i.flip)==null?void 0:o.overflows)||[];if(f){E.push(R[x])}if(u){const t=v(r,s,k);E.push(R[t[0]],R[t[1]])}F=[...F,{placement:r,overflows:E}];if(!E.every((t=>t<=0))){var T,C;const t=(((T=i.flip)==null?void 0:T.index)||0)+1;const n=O[t];if(n){return{data:{index:t,overflows:F},reset:{placement:n}}}let e=(C=F.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])==null?void 0:C.placement;if(!e){switch(y){case"bestFit":{var $;const t=($=F.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])==null?void 0:$[0];if(t){e=t}break}case"initialPlacement":e=c;break}}if(r!==e){return{reset:{placement:e}}}}return{}}}};function B(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function L(t){return e.some((n=>t[n]>=0))}const j=function(t){if(t===void 0){t={}}return{name:"hide",options:t,async fn(n){const{rects:e}=n;const{strategy:o="referenceHidden",...r}=m(t,n);switch(o){case"referenceHidden":{const t=await M(n,{...r,elementContext:"reference"});const o=B(t,e.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:L(o)}}}case"escaped":{const t=await M(n,{...r,altBoundary:true});const o=B(t,e.floating);return{data:{escapedOffsets:o,escaped:L(o)}}}default:{return{}}}}}};async function H(t,n){const{placement:e,platform:o,elements:r}=t;const i=await(o.isRTL==null?void 0:o.isRTL(r.floating));const s=p(e);const c=y(e);const l=w(e)==="y";const a=["left","top"].includes(s)?-1:1;const f=i&&l?-1:1;const u=m(n,t);let{mainAxis:d,crossAxis:g,alignmentAxis:h}=typeof u==="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};if(c&&typeof h==="number"){g=c==="end"?h*-1:h}return l?{x:g*f,y:d*a}:{x:d*a,y:g*f}}const I=function(t){if(t===void 0){t=0}return{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:s,middlewareData:c}=n;const l=await H(n,t);if(s===((e=c.offset)==null?void 0:e.placement)&&(o=c.arrow)!=null&&o.alignmentOffset){return{}}return{x:r+l.x,y:i+l.y,data:{...l,placement:s}}}}};const W=function(t){if(t===void 0){t={}}return{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r}=n;const{mainAxis:i=true,crossAxis:s=false,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=m(t,n);const a={x:e,y:o};const f=await M(n,l);const u=w(p(r));const y=g(u);let h=a[y];let x=a[u];if(i){const t=y==="y"?"top":"left";const n=y==="y"?"bottom":"right";const e=h+f[t];const o=h-f[n];h=d(e,h,o)}if(s){const t=u==="y"?"top":"left";const n=u==="y"?"bottom":"right";const e=x+f[t];const o=x-f[n];x=d(e,x,o)}const v=c.fn({...n,[y]:h,[u]:x});return{...v,data:{x:v.x-e,y:v.y-o}}}}};function N(t){if(V(t)){return(t.nodeName||"").toLowerCase()}return"#document"}function q(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Y(t){var n;return(n=(V(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function V(t){return t instanceof Node||t instanceof q(t).Node}function X(t){return t instanceof Element||t instanceof q(t).Element}function _(t){return t instanceof HTMLElement||t instanceof q(t).HTMLElement}function G(t){if(typeof ShadowRoot==="undefined"){return false}return t instanceof ShadowRoot||t instanceof q(t).ShadowRoot}function J(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&!["inline","contents"].includes(r)}function K(t){return["table","td","th"].includes(N(t))}function Q(t){const n=Z();const e=nt(t);return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":false)||!n&&(e.backdropFilter?e.backdropFilter!=="none":false)||!n&&(e.filter?e.filter!=="none":false)||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function U(t){let n=ot(t);while(_(n)&&!tt(n)){if(Q(n)){return n}else{n=ot(n)}}return null}function Z(){if(typeof CSS==="undefined"||!CSS.supports)return false;return CSS.supports("-webkit-backdrop-filter","none")}function tt(t){return["html","body","#document"].includes(N(t))}function nt(t){return q(t).getComputedStyle(t)}function et(t){if(X(t)){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ot(t){if(N(t)==="html"){return t}const n=t.assignedSlot||t.parentNode||G(t)&&t.host||Y(t);return G(n)?n.host:n}function rt(t){const n=ot(t);if(tt(n)){return t.ownerDocument?t.ownerDocument.body:t.body}if(_(n)&&J(n)){return n}return rt(n)}function it(t,n,e){var o;if(n===void 0){n=[]}if(e===void 0){e=true}const r=rt(t);const i=r===((o=t.ownerDocument)==null?void 0:o.body);const s=q(r);if(i){return n.concat(s,s.visualViewport||[],J(r)?r:[],s.frameElement&&e?it(s.frameElement):[])}return n.concat(r,it(r,[],e))}function st(t){const n=nt(t);let e=parseFloat(n.width)||0;let o=parseFloat(n.height)||0;const r=_(t);const i=r?t.offsetWidth:e;const s=r?t.offsetHeight:o;const l=c(e)!==i||c(o)!==s;if(l){e=i;o=s}return{width:e,height:o,$:l}}function ct(t){return!X(t)?t.contextElement:t}function lt(t){const n=ct(t);if(!_(n)){return a(1)}const e=n.getBoundingClientRect();const{width:o,height:r,$:i}=st(n);let s=(i?c(e.width):e.width)/o;let l=(i?c(e.height):e.height)/r;if(!s||!Number.isFinite(s)){s=1}if(!l||!Number.isFinite(l)){l=1}return{x:s,y:l}}const at=a(0);function ft(t){const n=q(t);if(!Z()||!n.visualViewport){return at}return{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function ut(t,n,e){if(n===void 0){n=false}if(!e||n&&e!==q(t)){return false}return n}function dt(t,n,e,o){if(n===void 0){n=false}if(e===void 0){e=false}const r=t.getBoundingClientRect();const i=ct(t);let s=a(1);if(n){if(o){if(X(o)){s=lt(o)}}else{s=lt(t)}}const c=ut(i,e,o)?ft(i):a(0);let l=(r.left+c.x)/s.x;let f=(r.top+c.y)/s.y;let u=r.width/s.x;let d=r.height/s.y;if(i){const t=q(i);const n=o&&X(o)?q(o):o;let e=t;let r=e.frameElement;while(r&&o&&n!==e){const t=lt(r);const n=r.getBoundingClientRect();const o=nt(r);const i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x;const s=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;l*=t.x;f*=t.y;u*=t.x;d*=t.y;l+=i;f+=s;e=q(r);r=e.frameElement}}return R({width:u,height:d,x:l,y:f})}const mt=[":popover-open",":modal"];function pt(t){return mt.some((n=>{try{return t.matches(n)}catch(t){return false}}))}function yt(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const i=r==="fixed";const s=Y(o);const c=n?pt(n.floating):false;if(o===s||c&&i){return e}let l={scrollLeft:0,scrollTop:0};let f=a(1);const u=a(0);const d=_(o);if(d||!d&&!i){if(N(o)!=="body"||J(s)){l=et(o)}if(_(o)){const t=dt(o);f=lt(o);u.x=t.x+o.clientLeft;u.y=t.y+o.clientTop}}return{width:e.width*f.x,height:e.height*f.y,x:e.x*f.x-l.scrollLeft*f.x+u.x,y:e.y*f.y-l.scrollTop*f.y+u.y}}function gt(t){return Array.from(t.getClientRects())}function ht(t){return dt(Y(t)).left+et(t).scrollLeft}function wt(t){const n=Y(t);const e=et(t);const o=t.ownerDocument.body;const r=s(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth);const i=s(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let c=-e.scrollLeft+ht(t);const l=-e.scrollTop;if(nt(o).direction==="rtl"){c+=s(n.clientWidth,o.clientWidth)-r}return{width:r,height:i,x:c,y:l}}function xt(t,n){const e=q(t);const o=Y(t);const r=e.visualViewport;let i=o.clientWidth;let s=o.clientHeight;let c=0;let l=0;if(r){i=r.width;s=r.height;const t=Z();if(!t||t&&n==="fixed"){c=r.offsetLeft;l=r.offsetTop}}return{width:i,height:s,x:c,y:l}}function vt(t,n){const e=dt(t,true,n==="fixed");const o=e.top+t.clientTop;const r=e.left+t.clientLeft;const i=_(t)?lt(t):a(1);const s=t.clientWidth*i.x;const c=t.clientHeight*i.y;const l=r*i.x;const f=o*i.y;return{width:s,height:c,x:l,y:f}}function bt(t,n,e){let o;if(n==="viewport"){o=xt(t,e)}else if(n==="document"){o=wt(Y(t))}else if(X(n)){o=vt(n,e)}else{const e=ft(t);o={...n,x:n.x-e.x,y:n.y-e.y}}return R(o)}function At(t,n){const e=ot(t);if(e===n||!X(e)||tt(e)){return false}return nt(e).position==="fixed"||At(e,n)}function kt(t,n){const e=n.get(t);if(e){return e}let o=it(t,[],false).filter((t=>X(t)&&N(t)!=="body"));let r=null;const i=nt(t).position==="fixed";let s=i?ot(t):t;while(X(s)&&!tt(s)){const n=nt(s);const e=Q(s);if(!e&&n.position==="fixed"){r=null}const c=i?!e&&!r:!e&&n.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||J(s)&&!e&&At(t,s);if(c){o=o.filter((t=>t!==s))}else{r=n}s=ot(s)}n.set(t,o);return o}function St(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const c=e==="clippingAncestors"?kt(n,this._c):[].concat(e);const l=[...c,o];const a=l[0];const f=l.reduce(((t,e)=>{const o=bt(n,e,r);t.top=s(o.top,t.top);t.right=i(o.right,t.right);t.bottom=i(o.bottom,t.bottom);t.left=s(o.left,t.left);return t}),bt(n,a,r));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Dt(t){const{width:n,height:e}=st(t);return{width:n,height:e}}function Pt(t,n,e){const o=_(n);const r=Y(n);const i=e==="fixed";const s=dt(t,true,i,n);let c={scrollLeft:0,scrollTop:0};const l=a(0);if(o||!o&&!i){if(N(n)!=="body"||J(r)){c=et(n)}if(o){const t=dt(n,true,i,n);l.x=t.x+n.clientLeft;l.y=t.y+n.clientTop}else if(r){l.x=ht(r)}}const f=s.left+c.scrollLeft-l.x;const u=s.top+c.scrollTop-l.y;return{x:f,y:u,width:s.width,height:s.height}}function Ot(t,n){if(!_(t)||nt(t).position==="fixed"){return null}if(n){return n(t)}return t.offsetParent}function Rt(t,n){const e=q(t);if(!_(t)||pt(t)){return e}let o=Ot(t,n);while(o&&K(o)&&nt(o).position==="static"){o=Ot(o,n)}if(o&&(N(o)==="html"||N(o)==="body"&&nt(o).position==="static"&&!Q(o))){return e}return o||U(t)||e}const Et=async function(t){const n=this.getOffsetParent||Rt;const e=this.getDimensions;return{reference:Pt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,...await e(t.floating)}}};function Ft(t){return nt(t).direction==="rtl"}const Mt={convertOffsetParentRelativeRectToViewportRelativeRect:yt,getDocumentElement:Y,getClippingRect:St,getOffsetParent:Rt,getElementRects:Et,getClientRects:gt,getDimensions:Dt,getScale:lt,isElement:X,isRTL:Ft};function Tt(t,n){let e=null;let o;const r=Y(t);function c(){var t;clearTimeout(o);(t=e)==null||t.disconnect();e=null}function a(f,u){if(f===void 0){f=false}if(u===void 0){u=1}c();const{left:d,top:m,width:p,height:y}=t.getBoundingClientRect();if(!f){n()}if(!p||!y){return}const g=l(m);const h=l(r.clientWidth-(d+p));const w=l(r.clientHeight-(m+y));const x=l(d);const v=-g+"px "+-h+"px "+-w+"px "+-x+"px";const b={rootMargin:v,threshold:s(0,i(1,u))||1};let A=true;function k(t){const n=t[0].intersectionRatio;if(n!==u){if(!A){return a()}if(!n){o=setTimeout((()=>{a(false,1e-7)}),100)}else{a(false,n)}}A=false}try{e=new IntersectionObserver(k,{...b,root:r.ownerDocument})}catch(t){e=new IntersectionObserver(k,b)}e.observe(t)}a(true);return c}function Ct(t,n,e,o){if(o===void 0){o={}}const{ancestorScroll:r=true,ancestorResize:i=true,elementResize:s=typeof ResizeObserver==="function",layoutShift:c=typeof IntersectionObserver==="function",animationFrame:l=false}=o;const a=ct(t);const f=r||i?[...a?it(a):[],...it(n)]:[];f.forEach((t=>{r&&t.addEventListener("scroll",e,{passive:true});i&&t.addEventListener("resize",e)}));const u=a&&c?Tt(a,e):null;let d=-1;let m=null;if(s){m=new ResizeObserver((t=>{let[o]=t;if(o&&o.target===a&&m){m.unobserve(n);cancelAnimationFrame(d);d=requestAnimationFrame((()=>{var t;(t=m)==null||t.observe(n)}))}e()}));if(a&&!l){m.observe(a)}m.observe(n)}let p;let y=l?dt(t):null;if(l){g()}function g(){const n=dt(t);if(y&&(n.x!==y.x||n.y!==y.y||n.width!==y.width||n.height!==y.height)){e()}y=n;p=requestAnimationFrame(g)}e();return()=>{var t;f.forEach((t=>{r&&t.removeEventListener("scroll",e);i&&t.removeEventListener("resize",e)}));u==null||u();(t=m)==null||t.disconnect();m=null;if(l){cancelAnimationFrame(p)}}}const $t=$;const zt=W;const Bt=z;const Lt=j;const jt=T;const Ht=(t,n,e)=>{const o=new Map;const r={platform:Mt,...e};const i={...r.platform,_c:o};return F(t,n,{...r,platform:i})};function It(t){return Nt(t)}function Wt(t){if(t.assignedSlot){return t.assignedSlot}if(t.parentNode instanceof ShadowRoot){return t.parentNode.host}return t.parentNode}function Nt(t){for(let n=t;n;n=Wt(n)){if(!(n instanceof Element)){continue}if(getComputedStyle(n).display==="none"){return null}}for(let n=Wt(t);n;n=Wt(n)){if(!(n instanceof Element)){continue}const t=getComputedStyle(n);if(t.display==="contents"){continue}if(t.position!=="static"||t.filter!=="none"){return n}if(n.tagName==="BODY"){return n}}return null}(function t(){{const t=Mt.getOffsetParent;Mt.getOffsetParent=n=>t(n,It)}})();function qt(t){const n=window.devicePixelRatio||1;return Math.round(t*n)/n}const Yt=async(t,{referenceEl:n,floatingEl:e,overlayPositioning:o="absolute",placement:r,flipDisabled:i,flipPlacements:s,offsetDistance:c,offsetSkidding:l,arrowEl:a,type:f})=>{if(!n||!e){return null}const{x:u,y:d,placement:m,strategy:p,middlewareData:y}=await Ht(n,e,{strategy:o,placement:r==="auto"||r==="auto-start"||r==="auto-end"?undefined:Ut(e,r),middleware:Kt({placement:r,flipDisabled:i,flipPlacements:s,offsetDistance:c,offsetSkidding:l,arrowEl:a,type:f})});if(a&&y.arrow){const{x:n,y:e}=y.arrow;const o=m.split("-")[0];const r=n!=null?"left":"top";const i=nn[o];const s={left:"",top:"",bottom:"",right:""};if("floatingLayout"in t){t.floatingLayout=o==="left"||o==="right"?"horizontal":"vertical"}Object.assign(a.style,{...s,[r]:`${r=="left"?n:e}px`,[o]:"100%",transform:i})}const g=y.hide?.referenceHidden;const h=g?"hidden":null;const w=h?"none":null;e.setAttribute(Vt,m);const{open:x}=t;Object.assign(e.style,{visibility:h,pointerEvents:w,position:p,transform:x?`translate(${qt(u)}px,${qt(d)}px)`:"",top:0,left:0})};const Vt="data-placement";const Xt=100;const _t=["top","bottom","right","left","top-start","top-end","bottom-start","bottom-end","right-start","right-end","left-start","left-end"];const Gt="bottom-start";const Jt={animation:"calcite-floating-ui-anim",animationActive:"calcite-floating-ui-anim--active"};function Kt({placement:t,flipDisabled:n,flipPlacements:e,offsetDistance:o,offsetSkidding:r,arrowEl:i,type:s}){const c=[zt(),Lt()];if(s==="menu"){return[...c,Bt({fallbackPlacements:e||["top-start","top","top-end","bottom-start","bottom","bottom-end"]})]}if(s==="popover"||s==="tooltip"){const s=[...c,I({mainAxis:typeof o==="number"?o:0,crossAxis:typeof r==="number"?r:0})];if(t==="auto"||t==="auto-start"||t==="auto-end"){s.push($t({alignment:t==="auto-start"?"start":t==="auto-end"?"end":null}))}else if(!n){s.push(Bt(e?{fallbackPlacements:e}:{}))}if(i){s.push(jt({element:i}))}return s}return[]}function Qt(t,n){const e=t.filter((t=>_t.includes(t)));if(e.length!==t.length){console.warn(`${n.tagName}: Invalid value found in: flipPlacements. Try any of these: ${_t.map((t=>`"${t}"`)).join(", ").trim()}`,{el:n})}return e}function Ut(n,e){const o=["left","right"];if(t(n)==="rtl"){o.reverse()}return e.replace(/leading/gi,o[0]).replace(/trailing/gi,o[1])}async function Zt(t,n,e=false){if(!t.open){return}const o=e?tn(t):Yt;return o(t,n)}function tn(t){let e=on.get(t);if(e){return e}e=n(Yt,Xt,{leading:true,maxWait:Xt});on.set(t,e);return e}const nn={top:"",left:"rotate(-90deg)",bottom:"rotate(180deg)",right:"rotate(90deg)"};const en=new WeakMap;const on=new WeakMap;function rn(t,n,e){if(!e||!n){return}sn(t,n,e);Object.assign(e.style,{visibility:"hidden",pointerEvents:"none",position:t.overlayPositioning});const o=Ct;en.set(t,o(n,e,(()=>t.reposition())))}function sn(t,n,e){if(!e||!n){return}en.get(t)?.();en.delete(t);on.get(t)?.cancel();on.delete(t)}const cn=4;const ln=Math.ceil(Math.hypot(cn,cn));export{Jt as F,sn as a,ln as b,rn as c,Gt as d,Qt as f,Zt as r};
|
|
7
|
+
//# sourceMappingURL=p-0f9d9fa4.js.map
|