@esri/calcite-components 2.1.0-next.9 → 2.1.0
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/calcite.css +6 -2
- 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-00ebd170.entry.js +7 -0
- package/dist/calcite/p-030fb46b.js +7 -0
- package/dist/calcite/p-030fb46b.js.map +1 -0
- package/dist/calcite/p-04316116.entry.js +7 -0
- package/dist/calcite/p-07167add.js +7 -0
- package/dist/calcite/p-080b452f.js +7 -0
- package/dist/calcite/p-080b452f.js.map +1 -0
- package/dist/calcite/p-0bffeca0.js +7 -0
- package/dist/calcite/p-0f96603a.entry.js +7 -0
- package/dist/calcite/p-172d0363.entry.js +7 -0
- package/dist/calcite/p-1752bba8.js +7 -0
- package/dist/calcite/p-1752bba8.js.map +1 -0
- package/dist/calcite/p-178174bc.js +7 -0
- package/dist/calcite/p-178174bc.js.map +1 -0
- package/dist/calcite/p-197bd688.entry.js +7 -0
- package/dist/calcite/p-1b2443b0.entry.js +7 -0
- package/dist/calcite/p-1b2443b0.entry.js.map +1 -0
- package/dist/calcite/p-1b3c0b5b.js +7 -0
- package/dist/calcite/p-1b3c0b5b.js.map +1 -0
- package/dist/calcite/p-1d967b95.js +7 -0
- package/dist/calcite/p-1d967b95.js.map +1 -0
- package/dist/calcite/p-1eddd212.entry.js +7 -0
- package/dist/calcite/p-1f2fdc39.js +7 -0
- package/dist/calcite/p-1f2fdc39.js.map +1 -0
- package/dist/calcite/p-20bc23bc.js +7 -0
- package/dist/calcite/p-22fe9d5f.entry.js +7 -0
- package/dist/calcite/p-25e9e523.js +7 -0
- package/dist/calcite/p-296d21a2.js +7 -0
- package/dist/calcite/p-296d21a2.js.map +1 -0
- package/dist/calcite/p-29e98f2b.js +13 -0
- package/dist/calcite/p-2ad15531.entry.js +7 -0
- package/dist/calcite/p-2adae173.entry.js +7 -0
- package/dist/calcite/p-2b30af8a.js +7 -0
- package/dist/calcite/p-2b84c5ba.js +7 -0
- package/dist/calcite/p-2c848556.entry.js +7 -0
- package/dist/calcite/p-2e242871.entry.js +7 -0
- package/dist/calcite/p-2e5ba2f2.js +7 -0
- package/dist/calcite/p-30d8c6a9.entry.js +7 -0
- package/dist/calcite/p-320bead5.js +7 -0
- package/dist/calcite/p-329b1c76.js +7 -0
- package/dist/calcite/p-329b1c76.js.map +1 -0
- package/dist/calcite/p-32f0e6ec.entry.js +7 -0
- package/dist/calcite/p-33a3a6da.js +7 -0
- package/dist/calcite/p-33a3a6da.js.map +1 -0
- package/dist/calcite/p-3e831508.js +7 -0
- package/dist/calcite/p-3e831508.js.map +1 -0
- package/dist/calcite/p-3f90109f.entry.js +7 -0
- package/dist/calcite/p-3f90109f.entry.js.map +1 -0
- package/dist/calcite/p-407d989a.entry.js +7 -0
- package/dist/calcite/p-40fa3cec.entry.js +7 -0
- package/dist/calcite/p-40fa3cec.entry.js.map +1 -0
- package/dist/calcite/p-4106d15d.js +7 -0
- package/dist/calcite/p-4106d15d.js.map +1 -0
- package/dist/calcite/p-463361fe.entry.js +7 -0
- package/dist/calcite/p-4a458cae.js +7 -0
- package/dist/calcite/p-4a458cae.js.map +1 -0
- package/dist/calcite/p-4b42fec3.js +7 -0
- package/dist/calcite/p-4b42fec3.js.map +1 -0
- package/dist/calcite/p-4bf8cd8c.js +7 -0
- package/dist/calcite/p-4bf8cd8c.js.map +1 -0
- package/dist/calcite/p-4ed83a2f.js +7 -0
- package/dist/calcite/p-4ed83a2f.js.map +1 -0
- package/dist/calcite/p-513e0ded.js +7 -0
- package/dist/calcite/p-513e0ded.js.map +1 -0
- package/dist/calcite/p-5250a077.js +7 -0
- package/dist/calcite/p-5250a077.js.map +1 -0
- package/dist/calcite/p-5318de46.entry.js +7 -0
- package/dist/calcite/p-54a11a37.js +7 -0
- package/dist/calcite/p-54a8c24c.js +7 -0
- package/dist/calcite/p-54a8c24c.js.map +1 -0
- package/dist/calcite/p-56bf89e9.entry.js +7 -0
- package/dist/calcite/p-57c4f40e.js +7 -0
- package/dist/calcite/p-57c4f40e.js.map +1 -0
- package/dist/calcite/p-589ff207.js +7 -0
- package/dist/calcite/p-599d8bf9.js +7 -0
- package/dist/calcite/p-599d8bf9.js.map +1 -0
- package/dist/calcite/p-5a8a5fa9.js +12 -0
- package/dist/calcite/p-5d1cf05b.entry.js +7 -0
- package/dist/calcite/p-5d1cf05b.entry.js.map +1 -0
- package/dist/calcite/p-5f2bae83.js +7 -0
- package/dist/calcite/p-5f2bae83.js.map +1 -0
- package/dist/calcite/p-60c7a94d.entry.js +7 -0
- package/dist/calcite/p-60d5452a.entry.js +7 -0
- package/dist/calcite/p-62050555.js +7 -0
- package/dist/calcite/p-62050555.js.map +1 -0
- package/dist/calcite/p-625f147f.entry.js +7 -0
- package/dist/calcite/p-625f147f.entry.js.map +1 -0
- package/dist/calcite/p-62a28204.entry.js +7 -0
- package/dist/calcite/p-6365c83e.entry.js +7 -0
- package/dist/calcite/p-6365c83e.entry.js.map +1 -0
- package/dist/calcite/p-63fefd5a.js +7 -0
- package/dist/calcite/p-63fefd5a.js.map +1 -0
- package/dist/calcite/p-66259bcf.entry.js +7 -0
- package/dist/calcite/p-6814fe4e.js +8 -0
- package/dist/calcite/p-68283878.js +7 -0
- package/dist/calcite/p-68283878.js.map +1 -0
- package/dist/calcite/p-68827d12.entry.js +7 -0
- package/dist/calcite/p-68827d12.entry.js.map +1 -0
- package/dist/calcite/p-691cefaa.js +11 -0
- package/dist/calcite/p-6c7516cc.js +7 -0
- package/dist/calcite/p-6c7516cc.js.map +1 -0
- package/dist/calcite/p-6d0e9b78.js +7 -0
- package/dist/calcite/p-6d0e9b78.js.map +1 -0
- package/dist/calcite/p-6e1398e4.js +7 -0
- package/dist/calcite/p-6e1398e4.js.map +1 -0
- package/dist/calcite/p-6ea8c770.js +7 -0
- package/dist/calcite/p-6ea8c770.js.map +1 -0
- package/dist/calcite/p-6f6169e5.js +7 -0
- package/dist/calcite/p-6f9571fc.js +7 -0
- package/dist/calcite/p-6fadd280.entry.js +7 -0
- package/dist/calcite/p-74c36be5.entry.js +7 -0
- package/dist/calcite/p-74d1822f.js +7 -0
- package/dist/calcite/p-74d1822f.js.map +1 -0
- package/dist/calcite/p-794c9548.js +7 -0
- package/dist/calcite/p-7a3ff8c1.js +7 -0
- package/dist/calcite/p-7c04b58f.js +7 -0
- package/dist/calcite/p-7c994584.js +7 -0
- package/dist/calcite/p-7dd399ac.entry.js +7 -0
- package/dist/calcite/p-7edf41e7.entry.js +7 -0
- package/dist/calcite/p-7edf41e7.entry.js.map +1 -0
- package/dist/calcite/p-81542bb9.entry.js +7 -0
- package/dist/calcite/p-81542bb9.entry.js.map +1 -0
- package/dist/calcite/p-83529fb3.js +7 -0
- package/dist/calcite/p-855ca8c1.js +7 -0
- package/dist/calcite/p-86fbaa32.js +7 -0
- package/dist/calcite/p-86fbaa32.js.map +1 -0
- package/dist/calcite/p-878881a7.js +7 -0
- package/dist/calcite/p-887fdedb.js +7 -0
- package/dist/calcite/p-89ac0039.entry.js +7 -0
- package/dist/calcite/p-89ac0039.entry.js.map +1 -0
- package/dist/calcite/p-8a62424e.js +7 -0
- package/dist/calcite/p-8a62424e.js.map +1 -0
- package/dist/calcite/p-8d747bf3.entry.js +7 -0
- package/dist/calcite/p-8d7dfd60.entry.js +7 -0
- package/dist/calcite/p-8d9af40c.entry.js +7 -0
- package/dist/calcite/p-92178bb8.js +7 -0
- package/dist/calcite/p-92178bb8.js.map +1 -0
- package/dist/calcite/p-93f2a3ca.entry.js +7 -0
- package/dist/calcite/p-946cbbc6.entry.js +7 -0
- package/dist/calcite/p-946cbbc6.entry.js.map +1 -0
- package/dist/calcite/p-9593a6a2.entry.js +7 -0
- package/dist/calcite/p-98266bad.entry.js +7 -0
- package/dist/calcite/p-989c487a.js +7 -0
- package/dist/calcite/p-98bd74ef.entry.js +7 -0
- package/dist/calcite/p-99322c4b.js +7 -0
- package/dist/calcite/p-99322c4b.js.map +1 -0
- package/dist/calcite/p-9b282d68.js +7 -0
- package/dist/calcite/p-9b282d68.js.map +1 -0
- package/dist/calcite/p-9f7e2bf3.entry.js +7 -0
- package/dist/calcite/p-9f7e2bf3.entry.js.map +1 -0
- package/dist/calcite/p-a0ec96e1.entry.js +7 -0
- package/dist/calcite/p-a24f143a.entry.js +7 -0
- package/dist/calcite/p-a2f9fb9d.js +7 -0
- package/dist/calcite/p-a5a4dc8d.js +7 -0
- package/dist/calcite/p-a5a4dc8d.js.map +1 -0
- package/dist/calcite/p-a7090a2f.js +7 -0
- package/dist/calcite/p-a7090a2f.js.map +1 -0
- package/dist/calcite/p-a8d5f173.entry.js +7 -0
- package/dist/calcite/p-aa659bfc.js +7 -0
- package/dist/calcite/p-ac617ad9.js +7 -0
- package/dist/calcite/p-ac617ad9.js.map +1 -0
- package/dist/calcite/p-ad83730a.entry.js +7 -0
- package/dist/calcite/p-add9dbd2.js +7 -0
- package/dist/calcite/p-add9dbd2.js.map +1 -0
- package/dist/calcite/p-ae450f03.entry.js +7 -0
- package/dist/calcite/p-aea0e290.entry.js +7 -0
- package/dist/calcite/p-aee3d5a2.js +7 -0
- package/dist/calcite/p-aee62911.js +7 -0
- package/dist/calcite/p-af1931c6.entry.js +7 -0
- package/dist/calcite/p-b06095bb.entry.js +7 -0
- package/dist/calcite/p-b43227bc.js +7 -0
- package/dist/calcite/p-b43227bc.js.map +1 -0
- package/dist/calcite/p-b552c9cd.js +7 -0
- package/dist/calcite/p-b552c9cd.js.map +1 -0
- package/dist/calcite/p-b65cb3e9.entry.js +7 -0
- package/dist/calcite/p-b65cb3e9.entry.js.map +1 -0
- package/dist/calcite/p-b745ed21.js +7 -0
- package/dist/calcite/p-b745ed21.js.map +1 -0
- package/dist/calcite/p-b9322cb2.js +7 -0
- package/dist/calcite/p-b9322cb2.js.map +1 -0
- package/dist/calcite/p-b9a77cd6.entry.js +7 -0
- package/dist/calcite/p-b9a77cd6.entry.js.map +1 -0
- package/dist/calcite/p-bc93ea1a.entry.js +7 -0
- package/dist/calcite/p-be26a6f9.entry.js +7 -0
- package/dist/calcite/p-bf245207.js +7 -0
- package/dist/calcite/p-bf245207.js.map +1 -0
- package/dist/calcite/p-c7cd4203.js +7 -0
- package/dist/calcite/p-c98ba5a0.js +7 -0
- package/dist/calcite/p-c98ba5a0.js.map +1 -0
- package/dist/calcite/p-ca79c470.js +7 -0
- package/dist/calcite/p-cadd4a5c.js +7 -0
- package/dist/calcite/p-cadd4a5c.js.map +1 -0
- package/dist/calcite/p-cdd09e08.entry.js +7 -0
- package/dist/calcite/p-ce2cacb7.entry.js +7 -0
- package/dist/calcite/p-d1f0f235.js +7 -0
- package/dist/calcite/p-d226bc71.js +7 -0
- package/dist/calcite/p-d226bc71.js.map +1 -0
- package/dist/calcite/p-d56a1e80.entry.js +7 -0
- package/dist/calcite/p-d56a1e80.entry.js.map +1 -0
- package/dist/calcite/p-d638124b.js +7 -0
- package/dist/calcite/p-d638124b.js.map +1 -0
- package/dist/calcite/p-d6ba5f9c.entry.js +7 -0
- package/dist/calcite/p-d6ba5f9c.entry.js.map +1 -0
- package/dist/calcite/p-d6eaa970.js +7 -0
- package/dist/calcite/p-d71d1a74.entry.js +7 -0
- package/dist/calcite/p-d7a7af58.js +7 -0
- package/dist/calcite/p-d813b4dd.js +7 -0
- package/dist/calcite/p-db03544b.entry.js +7 -0
- package/dist/calcite/p-db36b99a.entry.js +7 -0
- package/dist/calcite/p-ddfdebfa.entry.js +7 -0
- package/dist/calcite/p-e10ef34a.js +7 -0
- package/dist/calcite/p-e4a0528b.entry.js +7 -0
- package/dist/calcite/p-e4a0528b.entry.js.map +1 -0
- package/dist/calcite/p-e7168929.entry.js +7 -0
- package/dist/calcite/p-e84e04ca.js +7 -0
- package/dist/calcite/p-e84e04ca.js.map +1 -0
- package/dist/calcite/p-eca37224.entry.js +7 -0
- package/dist/calcite/p-ed9429bd.entry.js +7 -0
- package/dist/calcite/p-eead151f.js +7 -0
- package/dist/calcite/p-eead151f.js.map +1 -0
- package/dist/calcite/p-f4d3847f.entry.js +7 -0
- package/dist/calcite/p-fa7279cf.entry.js +7 -0
- package/dist/calcite/p-fa7279cf.entry.js.map +1 -0
- package/dist/calcite/p-fadab4e8.js +7 -0
- package/dist/calcite/p-fae653b5.entry.js +7 -0
- package/dist/calcite/p-fcd856d6.js +7 -0
- package/dist/calcite/p-fe39be4b.entry.js +7 -0
- package/dist/calcite/p-ffc1ab73.js +7 -0
- package/dist/calcite/p-ffc1ab73.js.map +1 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-2bfb8d92.js +110 -0
- package/dist/cjs/ExpandToggle-2bfb8d92.js.map +1 -0
- package/dist/cjs/FloatingArrow-5613f24d.js +49 -0
- package/dist/cjs/FloatingArrow-5613f24d.js.map +1 -0
- package/dist/cjs/Heading-5c2e316d.js +22 -0
- package/dist/cjs/Heading-5c2e316d.js.map +1 -0
- package/dist/cjs/Validation-5cf3ef07.js +18 -0
- package/dist/cjs/Validation-5cf3ef07.js.map +1 -0
- package/dist/cjs/app-globals-82163ce7.js +61 -0
- package/dist/cjs/app-globals-82163ce7.js.map +1 -0
- package/dist/cjs/ar-73b4993c.js +106 -0
- package/dist/cjs/ar-73b4993c.js.map +1 -0
- package/dist/cjs/array-83a25c20.js +14 -0
- package/dist/cjs/array-83a25c20.js.map +1 -0
- package/dist/cjs/bg-450e1a34.js +84 -0
- package/dist/cjs/bg-450e1a34.js.map +1 -0
- package/dist/cjs/browser-e7375f59.js +20 -0
- package/dist/cjs/browser-e7375f59.js.map +1 -0
- package/dist/cjs/bs-99e128a2.js +53 -0
- package/dist/cjs/bs-99e128a2.js.map +1 -0
- package/dist/cjs/ca-0c02ba36.js +73 -0
- package/dist/cjs/ca-0c02ba36.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 +13 -13
- 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.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +26 -23
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- 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 +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +66 -42
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -1
- 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 +20 -17
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js +20 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-d5fe6638.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-d5fe6638.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -18
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-input.cjs.entry.js +20 -17
- 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 +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +34 -29
- package/dist/cjs/calcite-list_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +34 -35
- package/dist/cjs/calcite-menu_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +19 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- 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 +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- 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 +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +15 -14
- package/dist/cjs/calcite-table.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-text-area.cjs.entry.js +22 -19
- package/dist/cjs/calcite-text-area.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- 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 +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/component-027255b4.js +30 -0
- package/dist/cjs/component-027255b4.js.map +1 -0
- package/dist/cjs/conditionalSlot-26cd93f5.js +60 -0
- package/dist/cjs/conditionalSlot-26cd93f5.js.map +1 -0
- package/dist/cjs/cs-332c265b.js +149 -0
- package/dist/cjs/cs-332c265b.js.map +1 -0
- package/dist/cjs/da-1b8c4b09.js +68 -0
- package/dist/cjs/da-1b8c4b09.js.map +1 -0
- package/dist/cjs/de-7723af91.js +93 -0
- package/dist/cjs/de-7723af91.js.map +1 -0
- package/dist/cjs/de-at-e295c005.js +92 -0
- package/dist/cjs/de-at-e295c005.js.map +1 -0
- package/dist/cjs/de-ch-ddc6aaa7.js +92 -0
- package/dist/cjs/de-ch-ddc6aaa7.js.map +1 -0
- package/dist/cjs/debounce-5a61c8d6.js +498 -0
- package/dist/cjs/debounce-5a61c8d6.js.map +1 -0
- package/dist/cjs/dom-6bd6bcac.js +1084 -0
- package/dist/cjs/dom-6bd6bcac.js.map +1 -0
- package/dist/cjs/el-fb30e396.js +68 -0
- package/dist/cjs/el-fb30e396.js.map +1 -0
- package/dist/cjs/en-au-d4fc24c1.js +68 -0
- package/dist/cjs/en-au-d4fc24c1.js.map +1 -0
- package/dist/cjs/en-ca-a6d58b4e.js +67 -0
- package/dist/cjs/en-ca-a6d58b4e.js.map +1 -0
- package/dist/cjs/en-gb-be1be611.js +71 -0
- package/dist/cjs/en-gb-be1be611.js.map +1 -0
- package/dist/cjs/es-213c2bb8.js +68 -0
- package/dist/cjs/es-213c2bb8.js.map +1 -0
- package/dist/cjs/es-mx-31664a67.js +67 -0
- package/dist/cjs/es-mx-31664a67.js.map +1 -0
- package/dist/cjs/et-c8ea1e06.js +94 -0
- package/dist/cjs/et-c8ea1e06.js.map +1 -0
- package/dist/cjs/fi-623f5659.js +117 -0
- package/dist/cjs/fi-623f5659.js.map +1 -0
- package/dist/cjs/filter-151ef5d6.js +762 -0
- package/dist/cjs/filter-151ef5d6.js.map +1 -0
- package/dist/cjs/floating-ui-0e34e76e.js +1916 -0
- package/dist/cjs/floating-ui-0e34e76e.js.map +1 -0
- package/dist/cjs/focusTrapComponent-0fe71be6.js +1020 -0
- package/dist/cjs/focusTrapComponent-0fe71be6.js.map +1 -0
- package/dist/cjs/form-bd8d4323.js +257 -0
- package/dist/cjs/form-bd8d4323.js.map +1 -0
- package/dist/cjs/fr-60d2c040.js +70 -0
- package/dist/cjs/fr-60d2c040.js.map +1 -0
- package/dist/cjs/fr-ch-7ef66213.js +68 -0
- package/dist/cjs/fr-ch-7ef66213.js.map +1 -0
- package/dist/cjs/guid-448f3e1e.js +23 -0
- package/dist/cjs/guid-448f3e1e.js.map +1 -0
- package/dist/cjs/he-bdb6f313.js +107 -0
- package/dist/cjs/he-bdb6f313.js.map +1 -0
- package/dist/cjs/hi-045d1d4e.js +67 -0
- package/dist/cjs/hi-045d1d4e.js.map +1 -0
- package/dist/cjs/hr-e51c4c14.js +82 -0
- package/dist/cjs/hr-e51c4c14.js.map +1 -0
- package/dist/cjs/hu-53408f27.js +90 -0
- package/dist/cjs/hu-53408f27.js.map +1 -0
- package/dist/cjs/id-ab756bdd.js +68 -0
- package/dist/cjs/id-ab756bdd.js.map +1 -0
- package/dist/cjs/index-02633aec.js +2644 -0
- package/dist/cjs/index-02633aec.js.map +1 -0
- package/dist/cjs/index-3d52c8a3.js +208 -0
- package/dist/cjs/index-3d52c8a3.js.map +1 -0
- package/dist/cjs/index-71dfb4ad.js +75 -0
- package/dist/cjs/index-71dfb4ad.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-3760cd3a.js +144 -0
- package/dist/cjs/interactive-3760cd3a.js.map +1 -0
- package/dist/cjs/it-ch-d5d78467.js +68 -0
- package/dist/cjs/it-ch-d5d78467.js.map +1 -0
- package/dist/cjs/it-decfebf9.js +68 -0
- package/dist/cjs/it-decfebf9.js.map +1 -0
- package/dist/cjs/ja-d23af67d.js +74 -0
- package/dist/cjs/ja-d23af67d.js.map +1 -0
- package/dist/cjs/key-897cbb95.js +16 -0
- package/dist/cjs/key-897cbb95.js.map +1 -0
- package/dist/cjs/ko-82e7d7b0.js +74 -0
- package/dist/cjs/ko-82e7d7b0.js.map +1 -0
- package/dist/cjs/label-6b071745.js +183 -0
- package/dist/cjs/label-6b071745.js.map +1 -0
- package/dist/cjs/loadable-e9ed2d65.js +91 -0
- package/dist/cjs/loadable-e9ed2d65.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-78470e06.js +575 -0
- package/dist/cjs/locale-78470e06.js.map +1 -0
- package/dist/cjs/lt-4b4cf946.js +99 -0
- package/dist/cjs/lt-4b4cf946.js.map +1 -0
- package/dist/cjs/lv-4e52794e.js +68 -0
- package/dist/cjs/lv-4e52794e.js.map +1 -0
- package/dist/cjs/math-c49a4c80.js +57 -0
- package/dist/cjs/math-c49a4c80.js.map +1 -0
- package/dist/cjs/mk-5a2f7cae.js +68 -0
- package/dist/cjs/mk-5a2f7cae.js.map +1 -0
- package/dist/cjs/nb-4e63496e.js +69 -0
- package/dist/cjs/nb-4e63496e.js.map +1 -0
- package/dist/cjs/nl-d5cad780.js +69 -0
- package/dist/cjs/nl-d5cad780.js.map +1 -0
- package/dist/cjs/observers-fd7323b9.js +50 -0
- package/dist/cjs/observers-fd7323b9.js.map +1 -0
- package/dist/cjs/openCloseComponent-10a646ab.js +89 -0
- package/dist/cjs/openCloseComponent-10a646ab.js.map +1 -0
- package/dist/cjs/pl-7d69e7eb.js +116 -0
- package/dist/cjs/pl-7d69e7eb.js.map +1 -0
- package/dist/cjs/pt-14653015.js +69 -0
- package/dist/cjs/pt-14653015.js.map +1 -0
- package/dist/cjs/pt-br-3b6c8890.js +67 -0
- package/dist/cjs/pt-br-3b6c8890.js.map +1 -0
- package/dist/cjs/resources-27bbd103.js +412 -0
- package/dist/cjs/resources-27bbd103.js.map +1 -0
- package/dist/cjs/resources-32b9c1b2.js +49 -0
- package/dist/cjs/resources-32b9c1b2.js.map +1 -0
- package/dist/cjs/resources-586bde6f.js +26 -0
- package/dist/cjs/resources-586bde6f.js.map +1 -0
- package/dist/cjs/resources-642a5d8d.js +17 -0
- package/dist/cjs/resources-642a5d8d.js.map +1 -0
- package/dist/cjs/resources-727c400a.js +29 -0
- package/dist/cjs/resources-727c400a.js.map +1 -0
- package/dist/cjs/resources-90258d6e.js +26 -0
- package/dist/cjs/resources-90258d6e.js.map +1 -0
- package/dist/cjs/resources-e4bf90a1.js +23 -0
- package/dist/cjs/resources-e4bf90a1.js.map +1 -0
- package/dist/cjs/ro-bd5a802a.js +68 -0
- package/dist/cjs/ro-bd5a802a.js.map +1 -0
- package/dist/cjs/ru-df1a9461.js +128 -0
- package/dist/cjs/ru-df1a9461.js.map +1 -0
- package/dist/cjs/sk-1bcda4fb.js +150 -0
- package/dist/cjs/sk-1bcda4fb.js.map +1 -0
- package/dist/cjs/sl-17cfff2e.js +170 -0
- package/dist/cjs/sl-17cfff2e.js.map +1 -0
- package/dist/cjs/sortableComponent-2154f1fe.js +2739 -0
- package/dist/cjs/sortableComponent-2154f1fe.js.map +1 -0
- package/dist/cjs/sr-c9b6eb40.js +103 -0
- package/dist/cjs/sr-c9b6eb40.js.map +1 -0
- package/dist/cjs/sv-b27cf03b.js +73 -0
- package/dist/cjs/sv-b27cf03b.js.map +1 -0
- package/dist/cjs/t9n-92b64378.js +97 -0
- package/dist/cjs/t9n-92b64378.js.map +1 -0
- package/dist/cjs/th-71a811bc.js +67 -0
- package/dist/cjs/th-71a811bc.js.map +1 -0
- package/dist/cjs/throttle-212ff5c8.js +77 -0
- package/dist/cjs/throttle-212ff5c8.js.map +1 -0
- package/dist/cjs/tr-793c1e07.js +68 -0
- package/dist/cjs/tr-793c1e07.js.map +1 -0
- package/dist/cjs/uk-ce49e27e.js +106 -0
- package/dist/cjs/uk-ce49e27e.js.map +1 -0
- package/dist/cjs/utils-ca2668d2.js +307 -0
- package/dist/cjs/utils-ca2668d2.js.map +1 -0
- package/dist/cjs/utils-e283d2bb.js +218 -0
- package/dist/cjs/utils-e283d2bb.js.map +1 -0
- package/dist/cjs/vi-8f329834.js +72 -0
- package/dist/cjs/vi-8f329834.js.map +1 -0
- package/dist/cjs/zh-cn-da7c3296.js +96 -0
- package/dist/cjs/zh-cn-da7c3296.js.map +1 -0
- package/dist/cjs/zh-hk-91f2ca46.js +73 -0
- package/dist/cjs/zh-hk-91f2ca46.js.map +1 -0
- package/dist/cjs/zh-tw-edb7fb24.js +94 -0
- package/dist/cjs/zh-tw-edb7fb24.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 +5 -5
- 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 +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 -5
- 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/checkbox/checkbox.css +5 -5
- 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 +5 -5
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +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 +13 -5
- package/dist/collection/components/combobox/combobox.e2e.js +1 -1
- package/dist/collection/components/combobox/combobox.js +39 -2
- package/dist/collection/components/combobox/combobox.js.map +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 +5 -5
- 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 +5 -5
- 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 +11 -0
- package/dist/collection/components/functional/Validation.js.map +1 -0
- 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 +5 -5
- 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/input.css +13 -5
- package/dist/collection/components/input/input.e2e.js +2 -2
- package/dist/collection/components/input/input.e2e.js.map +1 -1
- package/dist/collection/components/input/input.js +39 -2
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +15 -7
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +165 -34
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js.map +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +70 -23
- package/dist/collection/components/input-date-picker/input-date-picker.js.map +1 -1
- package/dist/collection/components/input-date-picker/resources.js +10 -1
- package/dist/collection/components/input-date-picker/resources.js.map +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 +6 -9
- 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 +13 -5
- package/dist/collection/components/input-number/input-number.e2e.js +1 -1
- package/dist/collection/components/input-number/input-number.js +39 -2
- package/dist/collection/components/input-number/input-number.js.map +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +13 -5
- package/dist/collection/components/input-text/input-text.e2e.js +1 -1
- package/dist/collection/components/input-text/input-text.js +39 -2
- package/dist/collection/components/input-text/input-text.js.map +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +13 -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 +39 -2
- package/dist/collection/components/input-time-picker/input-time-picker.js.map +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 +38 -2
- package/dist/collection/components/input-time-zone/input-time-zone.js.map +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 +5 -5
- 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 +15 -3
- package/dist/collection/components/list/list.e2e.js.map +1 -1
- package/dist/collection/components/list/list.js +5 -5
- package/dist/collection/components/list/list.js.map +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 +18 -1
- package/dist/collection/components/list-item/list-item.e2e.js.map +1 -1
- package/dist/collection/components/list-item/list-item.js +30 -11
- package/dist/collection/components/list-item/list-item.js.map +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 +29 -1
- package/dist/collection/components/menu-item/menu-item.e2e.js.map +1 -1
- package/dist/collection/components/menu-item/menu-item.js +25 -26
- package/dist/collection/components/menu-item/menu-item.js.map +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 +6 -6
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- 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/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 +2 -1
- package/dist/collection/components/select/resources.js.map +1 -1
- package/dist/collection/components/select/select.css +27 -8
- package/dist/collection/components/select/select.e2e.js +1 -1
- package/dist/collection/components/select/select.js +41 -4
- package/dist/collection/components/select/select.js.map +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 +5 -5
- 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 +5 -5
- 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/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- 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/interfaces.js.map +1 -1
- package/dist/collection/components/table/resources.js +2 -2
- package/dist/collection/components/table/resources.js.map +1 -1
- package/dist/collection/components/table/table.css +6 -6
- package/dist/collection/components/table/table.e2e.js +2 -2
- package/dist/collection/components/table/table.e2e.js.map +1 -1
- package/dist/collection/components/table/table.js +26 -4
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +7 -10
- 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/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 +5 -5
- 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 +13 -5
- package/dist/collection/components/text-area/text-area.e2e.js +1 -1
- package/dist/collection/components/text-area/text-area.js +39 -2
- package/dist/collection/components/text-area/text-area.js.map +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-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- 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 +2 -2
- package/dist/collection/components/tree/tree.e2e.js.map +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 +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +3 -3
- package/dist/collection/components/tree-item/tree-item.e2e.js.map +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.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 +16 -0
- package/dist/components/Validation.js.map +1 -0
- 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 +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.js +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 +15 -9
- package/dist/components/calcite-color-picker.js.map +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 +1 -1
- package/dist/components/calcite-input-date-picker.js +65 -33
- package/dist/components/calcite-input-date-picker.js.map +1 -1
- package/dist/components/calcite-input-message.js +2 -83
- package/dist/components/calcite-input-message.js.map +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 +18 -7
- package/dist/components/calcite-input-time-picker.js.map +1 -1
- package/dist/components/calcite-input-time-zone.js +20 -10
- package/dist/components/calcite-input-time-zone.js.map +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 +16 -11
- package/dist/components/calcite-list-item.js.map +1 -1
- package/dist/components/calcite-list.js +17 -11
- package/dist/components/calcite-list.js.map +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +25 -26
- package/dist/components/calcite-menu-item.js.map +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +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 +13 -7
- package/dist/components/calcite-pick-list.js.map +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 +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 +19 -7
- package/dist/components/calcite-select.js.map +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 +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 +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 +6 -4
- package/dist/components/calcite-table.js.map +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +21 -4
- package/dist/components/calcite-text-area.js.map +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +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 +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 +13 -7
- package/dist/components/calcite-value-list.js.map +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +9 -3
- package/dist/components/color-picker-hex-input.js.map +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +19 -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/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +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/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 +11 -5
- package/dist/components/filter2.js.map +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 +91 -0
- package/dist/components/input-message.js.map +1 -0
- package/dist/components/input-number.js +16 -5
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-text.js +16 -5
- package/dist/components/input-text.js.map +1 -1
- package/dist/components/input.js +16 -5
- package/dist/components/input.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 +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 +2 -2
- 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/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 +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-cell.js.map +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +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-52f140a6.js +102 -0
- package/dist/esm/ExpandToggle-52f140a6.js.map +1 -0
- package/dist/esm/FloatingArrow-d186ff04.js +47 -0
- package/dist/esm/FloatingArrow-d186ff04.js.map +1 -0
- package/dist/esm/Heading-23939565.js +19 -0
- package/dist/esm/Heading-23939565.js.map +1 -0
- package/dist/esm/Validation-bbd09d59.js +16 -0
- package/dist/esm/Validation-bbd09d59.js.map +1 -0
- package/dist/esm/app-globals-9424d902.js +59 -0
- package/dist/esm/app-globals-9424d902.js.map +1 -0
- package/dist/esm/ar-f5526660.js +104 -0
- package/dist/esm/ar-f5526660.js.map +1 -0
- package/dist/esm/array-c214a0a2.js +12 -0
- package/dist/esm/array-c214a0a2.js.map +1 -0
- package/dist/esm/bg-d7642e6b.js +82 -0
- package/dist/esm/bg-d7642e6b.js.map +1 -0
- package/dist/esm/browser-f0a06003.js +18 -0
- package/dist/esm/browser-f0a06003.js.map +1 -0
- package/dist/esm/bs-8041bb74.js +51 -0
- package/dist/esm/bs-8041bb74.js.map +1 -0
- package/dist/esm/ca-00c42558.js +71 -0
- package/dist/esm/ca-00c42558.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 +13 -13
- 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.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +26 -23
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- 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 +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +66 -42
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -1
- 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 +20 -17
- package/dist/esm/calcite-input-number.entry.js.map +1 -1
- package/dist/esm/calcite-input-text.entry.js +20 -17
- package/dist/esm/calcite-input-text.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e4b7b1aa.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-e4b7b1aa.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -19
- package/dist/esm/calcite-input-time-picker_2.entry.js.map +1 -1
- package/dist/esm/calcite-input-time-zone.entry.js +20 -18
- package/dist/esm/calcite-input-time-zone.entry.js.map +1 -1
- package/dist/esm/calcite-input.entry.js +20 -17
- 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 +8 -8
- package/dist/esm/calcite-list_3.entry.js +34 -29
- package/dist/esm/calcite-list_3.entry.js.map +1 -1
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +34 -35
- package/dist/esm/calcite-menu_2.entry.js.map +1 -1
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +19 -15
- package/dist/esm/calcite-option_3.entry.js.map +1 -1
- package/dist/esm/calcite-pagination.entry.js +12 -12
- 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 +4 -4
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- 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 +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +14 -14
- package/dist/esm/calcite-table-cell_2.entry.js.map +1 -1
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +15 -14
- package/dist/esm/calcite-table.entry.js.map +1 -1
- package/dist/esm/calcite-text-area.entry.js +22 -19
- package/dist/esm/calcite-text-area.entry.js.map +1 -1
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- 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 +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/component-a4952fd5.js +27 -0
- package/dist/esm/component-a4952fd5.js.map +1 -0
- package/dist/esm/conditionalSlot-1f92aa8c.js +57 -0
- package/dist/esm/conditionalSlot-1f92aa8c.js.map +1 -0
- package/dist/esm/cs-57600a33.js +147 -0
- package/dist/esm/cs-57600a33.js.map +1 -0
- package/dist/esm/da-54338243.js +66 -0
- package/dist/esm/da-54338243.js.map +1 -0
- package/dist/esm/de-15448128.js +91 -0
- package/dist/esm/de-15448128.js.map +1 -0
- package/dist/esm/de-at-20db9b58.js +90 -0
- package/dist/esm/de-at-20db9b58.js.map +1 -0
- package/dist/esm/de-ch-d6e6dc3f.js +90 -0
- package/dist/esm/de-ch-d6e6dc3f.js.map +1 -0
- package/dist/esm/debounce-c64f6f49.js +489 -0
- package/dist/esm/debounce-c64f6f49.js.map +1 -0
- package/dist/esm/dom-f74f388a.js +1053 -0
- package/dist/esm/dom-f74f388a.js.map +1 -0
- package/dist/esm/el-3def9584.js +66 -0
- package/dist/esm/el-3def9584.js.map +1 -0
- package/dist/esm/en-au-2661deb2.js +66 -0
- package/dist/esm/en-au-2661deb2.js.map +1 -0
- package/dist/esm/en-ca-e9633e20.js +65 -0
- package/dist/esm/en-ca-e9633e20.js.map +1 -0
- package/dist/esm/en-gb-a0ed2532.js +69 -0
- package/dist/esm/en-gb-a0ed2532.js.map +1 -0
- package/dist/esm/es-89554a4e.js +66 -0
- package/dist/esm/es-89554a4e.js.map +1 -0
- package/dist/esm/es-mx-3464b7fd.js +65 -0
- package/dist/esm/es-mx-3464b7fd.js.map +1 -0
- package/dist/esm/et-c176202e.js +92 -0
- package/dist/esm/et-c176202e.js.map +1 -0
- package/dist/esm/fi-e9c53c77.js +115 -0
- package/dist/esm/fi-e9c53c77.js.map +1 -0
- package/dist/esm/filter-cda07a59.js +760 -0
- package/dist/esm/filter-cda07a59.js.map +1 -0
- package/dist/esm/floating-ui-e667a8e7.js +1908 -0
- package/dist/esm/floating-ui-e667a8e7.js.map +1 -0
- package/dist/esm/focusTrapComponent-f339292e.js +1015 -0
- package/dist/esm/focusTrapComponent-f339292e.js.map +1 -0
- package/dist/esm/form-5cf1adb5.js +249 -0
- package/dist/esm/form-5cf1adb5.js.map +1 -0
- package/dist/esm/fr-77e5720e.js +68 -0
- package/dist/esm/fr-77e5720e.js.map +1 -0
- package/dist/esm/fr-ch-5f9f438b.js +66 -0
- package/dist/esm/fr-ch-5f9f438b.js.map +1 -0
- package/dist/esm/guid-e5232da1.js +21 -0
- package/dist/esm/guid-e5232da1.js.map +1 -0
- package/dist/esm/he-a16a580c.js +105 -0
- package/dist/esm/he-a16a580c.js.map +1 -0
- package/dist/esm/hi-e80cad32.js +65 -0
- package/dist/esm/hi-e80cad32.js.map +1 -0
- package/dist/esm/hr-a4f78301.js +80 -0
- package/dist/esm/hr-a4f78301.js.map +1 -0
- package/dist/esm/hu-5d0feef1.js +88 -0
- package/dist/esm/hu-5d0feef1.js.map +1 -0
- package/dist/esm/id-b8cfc431.js +66 -0
- package/dist/esm/id-b8cfc431.js.map +1 -0
- package/dist/esm/index-42eddd9c.js +73 -0
- package/dist/esm/index-42eddd9c.js.map +1 -0
- package/dist/esm/index-433aebec.js +2609 -0
- package/dist/esm/index-433aebec.js.map +1 -0
- package/dist/esm/index-d7e9bec9.js +206 -0
- package/dist/esm/index-d7e9bec9.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-8095521e.js +140 -0
- package/dist/esm/interactive-8095521e.js.map +1 -0
- package/dist/esm/it-91db2f2e.js +66 -0
- package/dist/esm/it-91db2f2e.js.map +1 -0
- package/dist/esm/it-ch-de64014f.js +66 -0
- package/dist/esm/it-ch-de64014f.js.map +1 -0
- package/dist/esm/ja-80e13ce2.js +72 -0
- package/dist/esm/ja-80e13ce2.js.map +1 -0
- package/dist/esm/key-1abc2b90.js +13 -0
- package/dist/esm/key-1abc2b90.js.map +1 -0
- package/dist/esm/ko-bd75b9d4.js +72 -0
- package/dist/esm/ko-bd75b9d4.js.map +1 -0
- package/dist/esm/label-191228ce.js +176 -0
- package/dist/esm/label-191228ce.js.map +1 -0
- package/dist/esm/loadable-31b2a807.js +86 -0
- package/dist/esm/loadable-31b2a807.js.map +1 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-8f40ca35.js +563 -0
- package/dist/esm/locale-8f40ca35.js.map +1 -0
- package/dist/esm/lt-bd421b86.js +97 -0
- package/dist/esm/lt-bd421b86.js.map +1 -0
- package/dist/esm/lv-00acb429.js +66 -0
- package/dist/esm/lv-00acb429.js.map +1 -0
- package/dist/esm/math-01153984.js +51 -0
- package/dist/esm/math-01153984.js.map +1 -0
- package/dist/esm/mk-1ef346aa.js +66 -0
- package/dist/esm/mk-1ef346aa.js.map +1 -0
- package/dist/esm/nb-bff03ea8.js +67 -0
- package/dist/esm/nb-bff03ea8.js.map +1 -0
- package/dist/esm/nl-ee426927.js +67 -0
- package/dist/esm/nl-ee426927.js.map +1 -0
- package/dist/esm/observers-7bffaed0.js +48 -0
- package/dist/esm/observers-7bffaed0.js.map +1 -0
- package/dist/esm/openCloseComponent-f1a58cd7.js +87 -0
- package/dist/esm/openCloseComponent-f1a58cd7.js.map +1 -0
- package/dist/esm/pl-729ff210.js +114 -0
- package/dist/esm/pl-729ff210.js.map +1 -0
- package/dist/esm/pt-0a0cc7a8.js +67 -0
- package/dist/esm/pt-0a0cc7a8.js.map +1 -0
- package/dist/esm/pt-br-d033f9fb.js +65 -0
- package/dist/esm/pt-br-d033f9fb.js.map +1 -0
- package/dist/esm/resources-457b0a70.js +45 -0
- package/dist/esm/resources-457b0a70.js.map +1 -0
- package/dist/esm/resources-46b5a086.js +25 -0
- package/dist/esm/resources-46b5a086.js.map +1 -0
- package/dist/esm/resources-51e6cd7d.js +21 -0
- package/dist/esm/resources-51e6cd7d.js.map +1 -0
- package/dist/esm/resources-873ecc4b.js +17 -0
- package/dist/esm/resources-873ecc4b.js.map +1 -0
- package/dist/esm/resources-8b242a43.js +385 -0
- package/dist/esm/resources-8b242a43.js.map +1 -0
- package/dist/esm/resources-9ef7ad5d.js +23 -0
- package/dist/esm/resources-9ef7ad5d.js.map +1 -0
- package/dist/esm/resources-f2c0515e.js +19 -0
- package/dist/esm/resources-f2c0515e.js.map +1 -0
- package/dist/esm/ro-01e814e5.js +66 -0
- package/dist/esm/ro-01e814e5.js.map +1 -0
- package/dist/esm/ru-a7f59f60.js +126 -0
- package/dist/esm/ru-a7f59f60.js.map +1 -0
- package/dist/esm/sk-28ef892c.js +148 -0
- package/dist/esm/sk-28ef892c.js.map +1 -0
- package/dist/esm/sl-ff385b86.js +168 -0
- package/dist/esm/sl-ff385b86.js.map +1 -0
- package/dist/esm/sortableComponent-bc8bff42.js +2735 -0
- package/dist/esm/sortableComponent-bc8bff42.js.map +1 -0
- package/dist/esm/sr-8d16e02c.js +101 -0
- package/dist/esm/sr-8d16e02c.js.map +1 -0
- package/dist/esm/sv-242133a5.js +71 -0
- package/dist/esm/sv-242133a5.js.map +1 -0
- package/dist/esm/t9n-0c281238.js +92 -0
- package/dist/esm/t9n-0c281238.js.map +1 -0
- package/dist/esm/th-b0be0c5d.js +65 -0
- package/dist/esm/th-b0be0c5d.js.map +1 -0
- package/dist/esm/throttle-fc709cdf.js +75 -0
- package/dist/esm/throttle-fc709cdf.js.map +1 -0
- package/dist/esm/tr-01dbe6c1.js +66 -0
- package/dist/esm/tr-01dbe6c1.js.map +1 -0
- package/dist/esm/uk-7252fad7.js +104 -0
- package/dist/esm/uk-7252fad7.js.map +1 -0
- package/dist/esm/utils-53a6c054.js +289 -0
- package/dist/esm/utils-53a6c054.js.map +1 -0
- package/dist/esm/utils-79526685.js +200 -0
- package/dist/esm/utils-79526685.js.map +1 -0
- package/dist/esm/vi-2eac5bff.js +70 -0
- package/dist/esm/vi-2eac5bff.js.map +1 -0
- package/dist/esm/zh-cn-dd0b6746.js +94 -0
- package/dist/esm/zh-cn-dd0b6746.js.map +1 -0
- package/dist/esm/zh-hk-65bf0e1d.js +71 -0
- package/dist/esm/zh-hk-65bf0e1d.js.map +1 -0
- package/dist/esm/zh-tw-846a7cac.js +92 -0
- package/dist/esm/zh-tw-846a7cac.js.map +1 -0
- package/dist/extras/docs-json.json +582 -31
- package/dist/extras/vscode-data.json +6757 -0
- 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/combobox/combobox.d.ts +4 -0
- package/dist/types/components/functional/Validation.d.ts +14 -0
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -3
- package/dist/types/components/input-date-picker/resources.d.ts +9 -0
- package/dist/types/components/input-number/input-number.d.ts +4 -0
- package/dist/types/components/input-text/input-text.d.ts +4 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -0
- package/dist/types/components/input-time-zone/input-time-zone.d.ts +4 -0
- package/dist/types/components/list/list.d.ts +2 -2
- package/dist/types/components/list-item/list-item.d.ts +23 -18
- package/dist/types/components/select/resources.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +4 -0
- package/dist/types/components/table/interfaces.d.ts +0 -1
- package/dist/types/components/table/resources.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +7 -1
- package/dist/types/components/text-area/text-area.d.ts +4 -0
- package/dist/types/components.d.ts +161 -2
- package/dist/types/preact.d.ts +2 -1
- package/hydrate/index.js +320 -250
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-022f6ec0.js +0 -7
- package/dist/calcite/p-022f6ec0.js.map +0 -1
- package/dist/calcite/p-025914b0.entry.js +0 -7
- package/dist/calcite/p-025914b0.entry.js.map +0 -1
- package/dist/calcite/p-03d89736.entry.js +0 -7
- package/dist/calcite/p-042e872c.js +0 -7
- package/dist/calcite/p-042e872c.js.map +0 -1
- package/dist/calcite/p-044cbb41.js +0 -7
- package/dist/calcite/p-060a1d4e.entry.js +0 -7
- package/dist/calcite/p-06cf48e2.js +0 -7
- package/dist/calcite/p-06cf48e2.js.map +0 -1
- package/dist/calcite/p-07c78870.js +0 -7
- package/dist/calcite/p-07c78870.js.map +0 -1
- package/dist/calcite/p-0a32ab64.js +0 -7
- package/dist/calcite/p-0a32ab64.js.map +0 -1
- package/dist/calcite/p-0aad2202.js +0 -7
- package/dist/calcite/p-0ad6f276.entry.js +0 -7
- package/dist/calcite/p-0de92f96.entry.js +0 -7
- package/dist/calcite/p-10ace80d.js +0 -7
- package/dist/calcite/p-1171f3c3.js +0 -7
- package/dist/calcite/p-139d1d1e.js +0 -7
- package/dist/calcite/p-139d1d1e.js.map +0 -1
- package/dist/calcite/p-15749f1c.js +0 -7
- package/dist/calcite/p-15749f1c.js.map +0 -1
- package/dist/calcite/p-164e59a9.js +0 -7
- package/dist/calcite/p-164e59a9.js.map +0 -1
- package/dist/calcite/p-16c7be1a.entry.js +0 -7
- package/dist/calcite/p-17ba7ea6.js +0 -7
- package/dist/calcite/p-181f3df6.js +0 -7
- package/dist/calcite/p-18acbf59.js +0 -7
- package/dist/calcite/p-19e7840c.js +0 -7
- package/dist/calcite/p-19e7840c.js.map +0 -1
- package/dist/calcite/p-1d8ffe9e.js +0 -7
- package/dist/calcite/p-1d8ffe9e.js.map +0 -1
- package/dist/calcite/p-1df61dbf.js +0 -7
- package/dist/calcite/p-21e98687.js +0 -7
- package/dist/calcite/p-21e98687.js.map +0 -1
- package/dist/calcite/p-229a25b6.entry.js +0 -7
- package/dist/calcite/p-280d0ae3.js +0 -7
- package/dist/calcite/p-280d0ae3.js.map +0 -1
- package/dist/calcite/p-28def1c5.js +0 -7
- package/dist/calcite/p-29f1afdc.js +0 -7
- package/dist/calcite/p-29f1afdc.js.map +0 -1
- package/dist/calcite/p-2a5f6391.entry.js +0 -7
- package/dist/calcite/p-3101ce9c.js +0 -7
- package/dist/calcite/p-3101ce9c.js.map +0 -1
- package/dist/calcite/p-310450b4.js +0 -7
- package/dist/calcite/p-310450b4.js.map +0 -1
- package/dist/calcite/p-32338747.entry.js +0 -7
- package/dist/calcite/p-35c91e34.js +0 -7
- package/dist/calcite/p-3831a6b0.js +0 -7
- package/dist/calcite/p-3e3a59fc.entry.js +0 -7
- package/dist/calcite/p-40eede90.js +0 -7
- package/dist/calcite/p-40eede90.js.map +0 -1
- package/dist/calcite/p-419d3f58.entry.js +0 -7
- package/dist/calcite/p-4366a810.entry.js +0 -7
- package/dist/calcite/p-4521c694.js +0 -7
- package/dist/calcite/p-4521c694.js.map +0 -1
- package/dist/calcite/p-47937b29.js +0 -7
- package/dist/calcite/p-48931e44.js +0 -7
- package/dist/calcite/p-48ae9997.js +0 -7
- package/dist/calcite/p-48ae9997.js.map +0 -1
- package/dist/calcite/p-4b833cbd.entry.js +0 -7
- package/dist/calcite/p-4cc38acd.entry.js +0 -7
- package/dist/calcite/p-4d32af71.entry.js +0 -7
- package/dist/calcite/p-4e607996.js +0 -7
- package/dist/calcite/p-4e607996.js.map +0 -1
- package/dist/calcite/p-4fdc2ac7.entry.js +0 -7
- package/dist/calcite/p-4fdc2ac7.entry.js.map +0 -1
- package/dist/calcite/p-528f3622.entry.js +0 -7
- package/dist/calcite/p-528f3622.entry.js.map +0 -1
- package/dist/calcite/p-554ba1e8.entry.js +0 -7
- package/dist/calcite/p-5562d40d.entry.js +0 -7
- package/dist/calcite/p-5562d40d.entry.js.map +0 -1
- package/dist/calcite/p-5600e82a.entry.js +0 -7
- package/dist/calcite/p-5804a13f.js +0 -7
- package/dist/calcite/p-5804a13f.js.map +0 -1
- package/dist/calcite/p-58256112.js +0 -7
- package/dist/calcite/p-5a01c151.js +0 -7
- package/dist/calcite/p-5a01c151.js.map +0 -1
- package/dist/calcite/p-5a09dc75.entry.js +0 -7
- package/dist/calcite/p-5c08e921.js +0 -12
- package/dist/calcite/p-5d8af93c.js +0 -7
- package/dist/calcite/p-5d8af93c.js.map +0 -1
- package/dist/calcite/p-5e651607.entry.js +0 -7
- package/dist/calcite/p-64cfa027.entry.js +0 -7
- package/dist/calcite/p-6542b971.js +0 -7
- package/dist/calcite/p-6542b971.js.map +0 -1
- package/dist/calcite/p-656ba90a.js +0 -7
- package/dist/calcite/p-66994748.js +0 -7
- package/dist/calcite/p-66994748.js.map +0 -1
- package/dist/calcite/p-67347a37.entry.js +0 -7
- package/dist/calcite/p-68988f37.entry.js +0 -7
- package/dist/calcite/p-699e318b.js +0 -7
- package/dist/calcite/p-699e318b.js.map +0 -1
- package/dist/calcite/p-6a514818.js +0 -7
- package/dist/calcite/p-6a514818.js.map +0 -1
- package/dist/calcite/p-6acf4f0d.js +0 -7
- package/dist/calcite/p-6cee3970.js +0 -7
- package/dist/calcite/p-6d258e17.entry.js +0 -7
- package/dist/calcite/p-6d258e17.entry.js.map +0 -1
- package/dist/calcite/p-6de86100.entry.js +0 -7
- package/dist/calcite/p-6e9e4e79.entry.js +0 -7
- package/dist/calcite/p-6e9e4e79.entry.js.map +0 -1
- package/dist/calcite/p-6ec42db1.entry.js +0 -7
- package/dist/calcite/p-71a2c418.entry.js +0 -7
- package/dist/calcite/p-73d733ae.entry.js +0 -7
- package/dist/calcite/p-74179933.entry.js +0 -7
- package/dist/calcite/p-769b5d80.entry.js +0 -7
- package/dist/calcite/p-769b5d80.entry.js.map +0 -1
- package/dist/calcite/p-781f001f.entry.js +0 -7
- package/dist/calcite/p-7a75ae7b.js +0 -7
- package/dist/calcite/p-7a75ae7b.js.map +0 -1
- package/dist/calcite/p-7d3256fe.js +0 -7
- package/dist/calcite/p-7db91e04.entry.js +0 -7
- package/dist/calcite/p-80df8c3a.entry.js +0 -7
- package/dist/calcite/p-832077f6.entry.js +0 -7
- package/dist/calcite/p-832077f6.entry.js.map +0 -1
- package/dist/calcite/p-8510aaf4.entry.js +0 -7
- package/dist/calcite/p-8510aaf4.entry.js.map +0 -1
- package/dist/calcite/p-854ff493.js +0 -7
- package/dist/calcite/p-854ff493.js.map +0 -1
- package/dist/calcite/p-863b1949.js +0 -7
- package/dist/calcite/p-863b1949.js.map +0 -1
- package/dist/calcite/p-875822b4.entry.js +0 -7
- package/dist/calcite/p-87f0f062.entry.js +0 -7
- package/dist/calcite/p-887385fa.js +0 -7
- package/dist/calcite/p-887385fa.js.map +0 -1
- package/dist/calcite/p-89c8c408.entry.js +0 -7
- package/dist/calcite/p-89c8c408.entry.js.map +0 -1
- package/dist/calcite/p-8a25c3a9.entry.js +0 -7
- package/dist/calcite/p-8c5d78a9.entry.js +0 -7
- package/dist/calcite/p-8c5d78a9.entry.js.map +0 -1
- package/dist/calcite/p-8ca1183c.entry.js +0 -7
- package/dist/calcite/p-8d6ae3ac.entry.js +0 -7
- package/dist/calcite/p-8e8ed254.entry.js +0 -7
- package/dist/calcite/p-9043a595.js +0 -7
- package/dist/calcite/p-9043a595.js.map +0 -1
- package/dist/calcite/p-90eb2412.js +0 -7
- package/dist/calcite/p-90eb2412.js.map +0 -1
- package/dist/calcite/p-916adda3.entry.js +0 -7
- package/dist/calcite/p-91f7a212.entry.js +0 -7
- package/dist/calcite/p-91f7a212.entry.js.map +0 -1
- package/dist/calcite/p-970f19cb.js +0 -7
- package/dist/calcite/p-970f19cb.js.map +0 -1
- package/dist/calcite/p-9b5d32d7.js +0 -7
- package/dist/calcite/p-9b671265.entry.js +0 -7
- package/dist/calcite/p-9d1d8c6e.entry.js +0 -7
- package/dist/calcite/p-9e40c751.entry.js +0 -7
- package/dist/calcite/p-9e62395d.js +0 -7
- package/dist/calcite/p-9e62395d.js.map +0 -1
- package/dist/calcite/p-9f222ce4.entry.js +0 -7
- package/dist/calcite/p-9ffca5b3.js +0 -7
- package/dist/calcite/p-9ffca5b3.js.map +0 -1
- package/dist/calcite/p-a0c10e3f.js +0 -7
- package/dist/calcite/p-a0c10e3f.js.map +0 -1
- package/dist/calcite/p-a1ca08f0.js +0 -7
- package/dist/calcite/p-a684071a.js +0 -7
- package/dist/calcite/p-a684071a.js.map +0 -1
- package/dist/calcite/p-a7150928.entry.js +0 -7
- package/dist/calcite/p-aa1e2f35.js +0 -7
- package/dist/calcite/p-aaa700ba.js +0 -7
- package/dist/calcite/p-aaa700ba.js.map +0 -1
- package/dist/calcite/p-ac096338.js +0 -7
- package/dist/calcite/p-ac096338.js.map +0 -1
- package/dist/calcite/p-afece18b.js +0 -13
- package/dist/calcite/p-b00a2d53.js +0 -7
- package/dist/calcite/p-b1cba3fa.js +0 -7
- package/dist/calcite/p-b4a83b13.js +0 -7
- package/dist/calcite/p-b58807b5.entry.js +0 -7
- package/dist/calcite/p-b58807b5.entry.js.map +0 -1
- package/dist/calcite/p-b9e440c1.entry.js +0 -7
- package/dist/calcite/p-b9e440c1.entry.js.map +0 -1
- package/dist/calcite/p-ba41c3f8.entry.js +0 -7
- package/dist/calcite/p-bcc21b93.js +0 -7
- package/dist/calcite/p-bd36daf8.entry.js +0 -7
- package/dist/calcite/p-c0c96292.entry.js +0 -7
- package/dist/calcite/p-c1402b25.js +0 -7
- package/dist/calcite/p-c1402b25.js.map +0 -1
- package/dist/calcite/p-c354efee.js +0 -7
- package/dist/calcite/p-c4b1d426.js +0 -7
- package/dist/calcite/p-c893f374.js +0 -7
- package/dist/calcite/p-c893f374.js.map +0 -1
- package/dist/calcite/p-c992020e.entry.js +0 -7
- package/dist/calcite/p-c9af46ba.entry.js +0 -7
- package/dist/calcite/p-c9af46ba.entry.js.map +0 -1
- package/dist/calcite/p-ca78d5cf.js +0 -7
- package/dist/calcite/p-ca78d5cf.js.map +0 -1
- package/dist/calcite/p-cc5c8640.js +0 -11
- package/dist/calcite/p-ce14bbbe.entry.js +0 -7
- package/dist/calcite/p-d789f6fd.js +0 -7
- package/dist/calcite/p-d890ddaf.js +0 -7
- package/dist/calcite/p-db2c95aa.entry.js +0 -7
- package/dist/calcite/p-db597f16.entry.js +0 -7
- package/dist/calcite/p-db597f16.entry.js.map +0 -1
- package/dist/calcite/p-ddc4727f.js +0 -7
- package/dist/calcite/p-ddc4727f.js.map +0 -1
- package/dist/calcite/p-e289f76b.entry.js +0 -7
- package/dist/calcite/p-e297156f.entry.js +0 -7
- package/dist/calcite/p-e4e52f50.js +0 -8
- package/dist/calcite/p-e5c6d989.js +0 -7
- package/dist/calcite/p-e5c6d989.js.map +0 -1
- package/dist/calcite/p-e6513b46.js +0 -7
- package/dist/calcite/p-e7a778bf.entry.js +0 -7
- package/dist/calcite/p-e8a691da.entry.js +0 -7
- package/dist/calcite/p-e8a691da.entry.js.map +0 -1
- package/dist/calcite/p-ebf70393.js +0 -7
- package/dist/calcite/p-ebf70393.js.map +0 -1
- package/dist/calcite/p-ed1b36a6.entry.js +0 -7
- package/dist/calcite/p-eed89075.js +0 -7
- package/dist/calcite/p-eee848a0.js +0 -7
- package/dist/calcite/p-f0697823.js +0 -7
- package/dist/calcite/p-f0697823.js.map +0 -1
- package/dist/calcite/p-f2cdaf94.js +0 -7
- package/dist/calcite/p-f6a3b858.js +0 -7
- package/dist/calcite/p-f6a3b858.js.map +0 -1
- package/dist/calcite/p-f88a9810.entry.js +0 -7
- package/dist/calcite/p-f88a9810.entry.js.map +0 -1
- package/dist/calcite/p-fa581bff.entry.js +0 -7
- package/dist/calcite/p-fcbe4ebb.js +0 -7
- package/dist/calcite/p-fcbe4ebb.js.map +0 -1
- package/dist/calcite/p-fccea43e.entry.js +0 -7
- package/dist/calcite/p-fd5e2af0.js +0 -7
- package/dist/calcite/p-fd657597.js +0 -7
- package/dist/calcite/p-fd657597.js.map +0 -1
- package/dist/calcite/p-ff25e9ad.js +0 -7
- package/dist/calcite/p-ff25e9ad.js.map +0 -1
- package/dist/cjs/ExpandToggle-d34c6136.js +0 -110
- package/dist/cjs/ExpandToggle-d34c6136.js.map +0 -1
- package/dist/cjs/FloatingArrow-198de2bc.js +0 -49
- package/dist/cjs/FloatingArrow-198de2bc.js.map +0 -1
- package/dist/cjs/Heading-8e457e4c.js +0 -22
- package/dist/cjs/Heading-8e457e4c.js.map +0 -1
- package/dist/cjs/app-globals-72fe6eaa.js +0 -61
- package/dist/cjs/app-globals-72fe6eaa.js.map +0 -1
- package/dist/cjs/ar-6ed765a1.js +0 -105
- package/dist/cjs/ar-6ed765a1.js.map +0 -1
- package/dist/cjs/array-09d3007d.js +0 -14
- package/dist/cjs/array-09d3007d.js.map +0 -1
- package/dist/cjs/bg-85b57f85.js +0 -83
- package/dist/cjs/bg-85b57f85.js.map +0 -1
- package/dist/cjs/browser-9220c4b2.js +0 -20
- package/dist/cjs/browser-9220c4b2.js.map +0 -1
- package/dist/cjs/bs-d475bcfa.js +0 -52
- package/dist/cjs/bs-d475bcfa.js.map +0 -1
- package/dist/cjs/ca-442d2d32.js +0 -72
- package/dist/cjs/ca-442d2d32.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-68515137.js +0 -2915
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-68515137.js.map +0 -1
- package/dist/cjs/component-3cf9ddda.js +0 -30
- package/dist/cjs/component-3cf9ddda.js.map +0 -1
- package/dist/cjs/conditionalSlot-e7fcb79d.js +0 -60
- package/dist/cjs/conditionalSlot-e7fcb79d.js.map +0 -1
- package/dist/cjs/cs-ebb2a07f.js +0 -148
- package/dist/cjs/cs-ebb2a07f.js.map +0 -1
- package/dist/cjs/da-aa9b6526.js +0 -67
- package/dist/cjs/da-aa9b6526.js.map +0 -1
- package/dist/cjs/de-a37a2e9e.js +0 -92
- package/dist/cjs/de-a37a2e9e.js.map +0 -1
- package/dist/cjs/de-at-5d38b86e.js +0 -91
- package/dist/cjs/de-at-5d38b86e.js.map +0 -1
- package/dist/cjs/de-ch-86825038.js +0 -91
- package/dist/cjs/de-ch-86825038.js.map +0 -1
- package/dist/cjs/debounce-0c198de7.js +0 -498
- package/dist/cjs/debounce-0c198de7.js.map +0 -1
- package/dist/cjs/dom-7ed1aebb.js +0 -1084
- package/dist/cjs/dom-7ed1aebb.js.map +0 -1
- package/dist/cjs/el-33500d42.js +0 -67
- package/dist/cjs/el-33500d42.js.map +0 -1
- package/dist/cjs/en-au-4c910a5d.js +0 -67
- package/dist/cjs/en-au-4c910a5d.js.map +0 -1
- package/dist/cjs/en-ca-0f63259f.js +0 -66
- package/dist/cjs/en-ca-0f63259f.js.map +0 -1
- package/dist/cjs/en-gb-f5f79a75.js +0 -70
- package/dist/cjs/en-gb-f5f79a75.js.map +0 -1
- package/dist/cjs/es-17d08e60.js +0 -67
- package/dist/cjs/es-17d08e60.js.map +0 -1
- package/dist/cjs/es-mx-b1b3c0fc.js +0 -66
- package/dist/cjs/es-mx-b1b3c0fc.js.map +0 -1
- package/dist/cjs/et-f30f4e1c.js +0 -93
- package/dist/cjs/et-f30f4e1c.js.map +0 -1
- package/dist/cjs/fi-3980b632.js +0 -116
- package/dist/cjs/fi-3980b632.js.map +0 -1
- package/dist/cjs/filter-87ed1f46.js +0 -762
- package/dist/cjs/filter-87ed1f46.js.map +0 -1
- package/dist/cjs/floating-ui-f2bd05d0.js +0 -1916
- package/dist/cjs/floating-ui-f2bd05d0.js.map +0 -1
- package/dist/cjs/focusTrapComponent-4cf99d21.js +0 -1020
- package/dist/cjs/focusTrapComponent-4cf99d21.js.map +0 -1
- package/dist/cjs/form-0b6d65d3.js +0 -257
- package/dist/cjs/form-0b6d65d3.js.map +0 -1
- package/dist/cjs/fr-1f4633df.js +0 -69
- package/dist/cjs/fr-1f4633df.js.map +0 -1
- package/dist/cjs/fr-ch-b9630670.js +0 -67
- package/dist/cjs/fr-ch-b9630670.js.map +0 -1
- package/dist/cjs/guid-07e7cd70.js +0 -23
- package/dist/cjs/guid-07e7cd70.js.map +0 -1
- package/dist/cjs/he-cc9a5c53.js +0 -106
- package/dist/cjs/he-cc9a5c53.js.map +0 -1
- package/dist/cjs/hi-d2223c36.js +0 -66
- package/dist/cjs/hi-d2223c36.js.map +0 -1
- package/dist/cjs/hr-50963fcc.js +0 -81
- package/dist/cjs/hr-50963fcc.js.map +0 -1
- package/dist/cjs/hu-a4136551.js +0 -89
- package/dist/cjs/hu-a4136551.js.map +0 -1
- package/dist/cjs/id-5ca8cf34.js +0 -67
- package/dist/cjs/id-5ca8cf34.js.map +0 -1
- package/dist/cjs/index-0ee33beb.js +0 -208
- package/dist/cjs/index-0ee33beb.js.map +0 -1
- package/dist/cjs/index-18368d8f.js +0 -75
- package/dist/cjs/index-18368d8f.js.map +0 -1
- package/dist/cjs/index-52015811.js +0 -2644
- package/dist/cjs/index-52015811.js.map +0 -1
- package/dist/cjs/interactive-2783c137.js +0 -144
- package/dist/cjs/interactive-2783c137.js.map +0 -1
- package/dist/cjs/it-5a96829e.js +0 -67
- package/dist/cjs/it-5a96829e.js.map +0 -1
- package/dist/cjs/it-ch-d029a065.js +0 -67
- package/dist/cjs/it-ch-d029a065.js.map +0 -1
- package/dist/cjs/ja-1b3dd710.js +0 -73
- package/dist/cjs/ja-1b3dd710.js.map +0 -1
- package/dist/cjs/key-43dbcc1b.js +0 -16
- package/dist/cjs/key-43dbcc1b.js.map +0 -1
- package/dist/cjs/ko-3475477b.js +0 -73
- package/dist/cjs/ko-3475477b.js.map +0 -1
- package/dist/cjs/label-39287301.js +0 -183
- package/dist/cjs/label-39287301.js.map +0 -1
- package/dist/cjs/loadable-c14e7dec.js +0 -91
- package/dist/cjs/loadable-c14e7dec.js.map +0 -1
- package/dist/cjs/locale-7ce2d9d9.js +0 -575
- package/dist/cjs/locale-7ce2d9d9.js.map +0 -1
- package/dist/cjs/lt-9170f873.js +0 -98
- package/dist/cjs/lt-9170f873.js.map +0 -1
- package/dist/cjs/lv-505d737f.js +0 -67
- package/dist/cjs/lv-505d737f.js.map +0 -1
- package/dist/cjs/math-f5891baa.js +0 -57
- package/dist/cjs/math-f5891baa.js.map +0 -1
- package/dist/cjs/mk-c3bf3149.js +0 -67
- package/dist/cjs/mk-c3bf3149.js.map +0 -1
- package/dist/cjs/nb-94556600.js +0 -68
- package/dist/cjs/nb-94556600.js.map +0 -1
- package/dist/cjs/nl-308776eb.js +0 -68
- package/dist/cjs/nl-308776eb.js.map +0 -1
- package/dist/cjs/observers-6f616b2f.js +0 -50
- package/dist/cjs/observers-6f616b2f.js.map +0 -1
- package/dist/cjs/openCloseComponent-3cd6f302.js +0 -89
- package/dist/cjs/openCloseComponent-3cd6f302.js.map +0 -1
- package/dist/cjs/pl-647b87ed.js +0 -115
- package/dist/cjs/pl-647b87ed.js.map +0 -1
- package/dist/cjs/pt-br-143d3b53.js +0 -66
- package/dist/cjs/pt-br-143d3b53.js.map +0 -1
- package/dist/cjs/pt-ea52ac68.js +0 -68
- package/dist/cjs/pt-ea52ac68.js.map +0 -1
- package/dist/cjs/resources-10569b5f.js +0 -23
- package/dist/cjs/resources-10569b5f.js.map +0 -1
- package/dist/cjs/resources-110eccb2.js +0 -29
- package/dist/cjs/resources-110eccb2.js.map +0 -1
- package/dist/cjs/resources-1972099f.js +0 -412
- package/dist/cjs/resources-1972099f.js.map +0 -1
- package/dist/cjs/resources-662b0045.js +0 -26
- package/dist/cjs/resources-662b0045.js.map +0 -1
- package/dist/cjs/resources-6c719b5b.js +0 -26
- package/dist/cjs/resources-6c719b5b.js.map +0 -1
- package/dist/cjs/resources-6f900ece.js +0 -17
- package/dist/cjs/resources-6f900ece.js.map +0 -1
- package/dist/cjs/resources-97b25713.js +0 -49
- package/dist/cjs/resources-97b25713.js.map +0 -1
- package/dist/cjs/ro-99a79e2b.js +0 -67
- package/dist/cjs/ro-99a79e2b.js.map +0 -1
- package/dist/cjs/ru-e97318e8.js +0 -127
- package/dist/cjs/ru-e97318e8.js.map +0 -1
- package/dist/cjs/sk-aa3d7d55.js +0 -149
- package/dist/cjs/sk-aa3d7d55.js.map +0 -1
- package/dist/cjs/sl-897bbabd.js +0 -169
- package/dist/cjs/sl-897bbabd.js.map +0 -1
- package/dist/cjs/sortableComponent-64b4bca4.js +0 -2739
- package/dist/cjs/sortableComponent-64b4bca4.js.map +0 -1
- package/dist/cjs/sr-37374994.js +0 -102
- package/dist/cjs/sr-37374994.js.map +0 -1
- package/dist/cjs/sv-f358c7c9.js +0 -72
- package/dist/cjs/sv-f358c7c9.js.map +0 -1
- package/dist/cjs/t9n-e6217be4.js +0 -97
- package/dist/cjs/t9n-e6217be4.js.map +0 -1
- package/dist/cjs/th-072a26ab.js +0 -66
- package/dist/cjs/th-072a26ab.js.map +0 -1
- package/dist/cjs/throttle-c71ad5a7.js +0 -77
- package/dist/cjs/throttle-c71ad5a7.js.map +0 -1
- package/dist/cjs/tr-a0e87221.js +0 -67
- package/dist/cjs/tr-a0e87221.js.map +0 -1
- package/dist/cjs/uk-dba5ba49.js +0 -105
- package/dist/cjs/uk-dba5ba49.js.map +0 -1
- package/dist/cjs/utils-7d3c5a92.js +0 -218
- package/dist/cjs/utils-7d3c5a92.js.map +0 -1
- package/dist/cjs/utils-ed6c06f0.js +0 -307
- package/dist/cjs/utils-ed6c06f0.js.map +0 -1
- package/dist/cjs/vi-77c32617.js +0 -71
- package/dist/cjs/vi-77c32617.js.map +0 -1
- package/dist/cjs/zh-cn-37624849.js +0 -95
- package/dist/cjs/zh-cn-37624849.js.map +0 -1
- package/dist/cjs/zh-hk-1b8e0295.js +0 -72
- package/dist/cjs/zh-hk-1b8e0295.js.map +0 -1
- package/dist/cjs/zh-tw-99d30630.js +0 -93
- package/dist/cjs/zh-tw-99d30630.js.map +0 -1
- package/dist/esm/ExpandToggle-4c695936.js +0 -102
- package/dist/esm/ExpandToggle-4c695936.js.map +0 -1
- package/dist/esm/FloatingArrow-c1909556.js +0 -47
- package/dist/esm/FloatingArrow-c1909556.js.map +0 -1
- package/dist/esm/Heading-df3ded43.js +0 -19
- package/dist/esm/Heading-df3ded43.js.map +0 -1
- package/dist/esm/app-globals-9bd60ec4.js +0 -59
- package/dist/esm/app-globals-9bd60ec4.js.map +0 -1
- package/dist/esm/ar-06dc8b31.js +0 -103
- package/dist/esm/ar-06dc8b31.js.map +0 -1
- package/dist/esm/array-a3f51502.js +0 -12
- package/dist/esm/array-a3f51502.js.map +0 -1
- package/dist/esm/bg-cdda6099.js +0 -81
- package/dist/esm/bg-cdda6099.js.map +0 -1
- package/dist/esm/browser-8c3f59c5.js +0 -18
- package/dist/esm/browser-8c3f59c5.js.map +0 -1
- package/dist/esm/bs-24a29d93.js +0 -50
- package/dist/esm/bs-24a29d93.js.map +0 -1
- package/dist/esm/ca-8550ea0f.js +0 -70
- package/dist/esm/ca-8550ea0f.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-22992af9.js +0 -2911
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-22992af9.js.map +0 -1
- package/dist/esm/component-b31ca538.js +0 -27
- package/dist/esm/component-b31ca538.js.map +0 -1
- package/dist/esm/conditionalSlot-5bfd8de0.js +0 -57
- package/dist/esm/conditionalSlot-5bfd8de0.js.map +0 -1
- package/dist/esm/cs-b0521f80.js +0 -146
- package/dist/esm/cs-b0521f80.js.map +0 -1
- package/dist/esm/da-32abd7f1.js +0 -65
- package/dist/esm/da-32abd7f1.js.map +0 -1
- package/dist/esm/de-at-50d7adbe.js +0 -89
- package/dist/esm/de-at-50d7adbe.js.map +0 -1
- package/dist/esm/de-ch-4194b351.js +0 -89
- package/dist/esm/de-ch-4194b351.js.map +0 -1
- package/dist/esm/de-ffde3b12.js +0 -90
- package/dist/esm/de-ffde3b12.js.map +0 -1
- package/dist/esm/debounce-2793cee1.js +0 -489
- package/dist/esm/debounce-2793cee1.js.map +0 -1
- package/dist/esm/dom-f2acaa2e.js +0 -1053
- package/dist/esm/dom-f2acaa2e.js.map +0 -1
- package/dist/esm/el-edd56b39.js +0 -65
- package/dist/esm/el-edd56b39.js.map +0 -1
- package/dist/esm/en-au-6ddac82f.js +0 -65
- package/dist/esm/en-au-6ddac82f.js.map +0 -1
- package/dist/esm/en-ca-5bf39212.js +0 -64
- package/dist/esm/en-ca-5bf39212.js.map +0 -1
- package/dist/esm/en-gb-545a7335.js +0 -68
- package/dist/esm/en-gb-545a7335.js.map +0 -1
- package/dist/esm/es-61a60c42.js +0 -65
- package/dist/esm/es-61a60c42.js.map +0 -1
- package/dist/esm/es-mx-4c6c00b2.js +0 -64
- package/dist/esm/es-mx-4c6c00b2.js.map +0 -1
- package/dist/esm/et-4a1468c1.js +0 -91
- package/dist/esm/et-4a1468c1.js.map +0 -1
- package/dist/esm/fi-9d09a52f.js +0 -114
- package/dist/esm/fi-9d09a52f.js.map +0 -1
- package/dist/esm/filter-551177b7.js +0 -760
- package/dist/esm/filter-551177b7.js.map +0 -1
- package/dist/esm/floating-ui-e8e730f9.js +0 -1908
- package/dist/esm/floating-ui-e8e730f9.js.map +0 -1
- package/dist/esm/focusTrapComponent-64c72406.js +0 -1015
- package/dist/esm/focusTrapComponent-64c72406.js.map +0 -1
- package/dist/esm/form-7e81916a.js +0 -249
- package/dist/esm/form-7e81916a.js.map +0 -1
- package/dist/esm/fr-1ce5e659.js +0 -67
- package/dist/esm/fr-1ce5e659.js.map +0 -1
- package/dist/esm/fr-ch-4411640f.js +0 -65
- package/dist/esm/fr-ch-4411640f.js.map +0 -1
- package/dist/esm/guid-fd27df00.js +0 -21
- package/dist/esm/guid-fd27df00.js.map +0 -1
- package/dist/esm/he-a415b52d.js +0 -104
- package/dist/esm/he-a415b52d.js.map +0 -1
- package/dist/esm/hi-dcd3648a.js +0 -64
- package/dist/esm/hi-dcd3648a.js.map +0 -1
- package/dist/esm/hr-75346e7d.js +0 -79
- package/dist/esm/hr-75346e7d.js.map +0 -1
- package/dist/esm/hu-f0b95a7d.js +0 -87
- package/dist/esm/hu-f0b95a7d.js.map +0 -1
- package/dist/esm/id-724d9997.js +0 -65
- package/dist/esm/id-724d9997.js.map +0 -1
- package/dist/esm/index-211d2237.js +0 -206
- package/dist/esm/index-211d2237.js.map +0 -1
- package/dist/esm/index-38a7b4ae.js +0 -2609
- package/dist/esm/index-38a7b4ae.js.map +0 -1
- package/dist/esm/index-a61f6e3a.js +0 -73
- package/dist/esm/index-a61f6e3a.js.map +0 -1
- package/dist/esm/interactive-24215b1f.js +0 -140
- package/dist/esm/interactive-24215b1f.js.map +0 -1
- package/dist/esm/it-16b559f6.js +0 -65
- package/dist/esm/it-16b559f6.js.map +0 -1
- package/dist/esm/it-ch-a040fac2.js +0 -65
- package/dist/esm/it-ch-a040fac2.js.map +0 -1
- package/dist/esm/ja-9c4ca5e6.js +0 -71
- package/dist/esm/ja-9c4ca5e6.js.map +0 -1
- package/dist/esm/key-4b6cf127.js +0 -13
- package/dist/esm/key-4b6cf127.js.map +0 -1
- package/dist/esm/ko-2fbe8515.js +0 -71
- package/dist/esm/ko-2fbe8515.js.map +0 -1
- package/dist/esm/label-bbb13d8e.js +0 -176
- package/dist/esm/label-bbb13d8e.js.map +0 -1
- package/dist/esm/loadable-4e5dca78.js +0 -86
- package/dist/esm/loadable-4e5dca78.js.map +0 -1
- package/dist/esm/locale-5cb28c3f.js +0 -563
- package/dist/esm/locale-5cb28c3f.js.map +0 -1
- package/dist/esm/lt-ba2848f9.js +0 -96
- package/dist/esm/lt-ba2848f9.js.map +0 -1
- package/dist/esm/lv-239d699b.js +0 -65
- package/dist/esm/lv-239d699b.js.map +0 -1
- package/dist/esm/math-1b40fb2c.js +0 -51
- package/dist/esm/math-1b40fb2c.js.map +0 -1
- package/dist/esm/mk-493fea46.js +0 -65
- package/dist/esm/mk-493fea46.js.map +0 -1
- package/dist/esm/nb-3007f108.js +0 -66
- package/dist/esm/nb-3007f108.js.map +0 -1
- package/dist/esm/nl-e8cbd299.js +0 -66
- package/dist/esm/nl-e8cbd299.js.map +0 -1
- package/dist/esm/observers-bef95f7c.js +0 -48
- package/dist/esm/observers-bef95f7c.js.map +0 -1
- package/dist/esm/openCloseComponent-df4b05db.js +0 -87
- package/dist/esm/openCloseComponent-df4b05db.js.map +0 -1
- package/dist/esm/pl-0941302c.js +0 -113
- package/dist/esm/pl-0941302c.js.map +0 -1
- package/dist/esm/pt-7a921adf.js +0 -66
- package/dist/esm/pt-7a921adf.js.map +0 -1
- package/dist/esm/pt-br-d0d762dd.js +0 -64
- package/dist/esm/pt-br-d0d762dd.js.map +0 -1
- package/dist/esm/resources-1166533c.js +0 -45
- package/dist/esm/resources-1166533c.js.map +0 -1
- package/dist/esm/resources-1590e7e3.js +0 -17
- package/dist/esm/resources-1590e7e3.js.map +0 -1
- package/dist/esm/resources-160c5707.js +0 -23
- package/dist/esm/resources-160c5707.js.map +0 -1
- package/dist/esm/resources-31498116.js +0 -25
- package/dist/esm/resources-31498116.js.map +0 -1
- package/dist/esm/resources-6bc9c1dd.js +0 -21
- package/dist/esm/resources-6bc9c1dd.js.map +0 -1
- package/dist/esm/resources-7f86d065.js +0 -385
- package/dist/esm/resources-7f86d065.js.map +0 -1
- package/dist/esm/resources-916f47b3.js +0 -19
- package/dist/esm/resources-916f47b3.js.map +0 -1
- package/dist/esm/ro-2a1415ac.js +0 -65
- package/dist/esm/ro-2a1415ac.js.map +0 -1
- package/dist/esm/ru-15e1ac06.js +0 -125
- package/dist/esm/ru-15e1ac06.js.map +0 -1
- package/dist/esm/sk-883f2ed7.js +0 -147
- package/dist/esm/sk-883f2ed7.js.map +0 -1
- package/dist/esm/sl-16487d4e.js +0 -167
- package/dist/esm/sl-16487d4e.js.map +0 -1
- package/dist/esm/sortableComponent-dd9db3ce.js +0 -2735
- package/dist/esm/sortableComponent-dd9db3ce.js.map +0 -1
- package/dist/esm/sr-db0e4bed.js +0 -100
- package/dist/esm/sr-db0e4bed.js.map +0 -1
- package/dist/esm/sv-47152727.js +0 -70
- package/dist/esm/sv-47152727.js.map +0 -1
- package/dist/esm/t9n-f7d5583c.js +0 -92
- package/dist/esm/t9n-f7d5583c.js.map +0 -1
- package/dist/esm/th-fdbed936.js +0 -64
- package/dist/esm/th-fdbed936.js.map +0 -1
- package/dist/esm/throttle-94c79c20.js +0 -75
- package/dist/esm/throttle-94c79c20.js.map +0 -1
- package/dist/esm/tr-8118a46f.js +0 -65
- package/dist/esm/tr-8118a46f.js.map +0 -1
- package/dist/esm/uk-2b466f73.js +0 -103
- package/dist/esm/uk-2b466f73.js.map +0 -1
- package/dist/esm/utils-04e19948.js +0 -200
- package/dist/esm/utils-04e19948.js.map +0 -1
- package/dist/esm/utils-ecacc803.js +0 -289
- package/dist/esm/utils-ecacc803.js.map +0 -1
- package/dist/esm/vi-dc1f06b1.js +0 -69
- package/dist/esm/vi-dc1f06b1.js.map +0 -1
- package/dist/esm/zh-cn-6e472b58.js +0 -93
- package/dist/esm/zh-cn-6e472b58.js.map +0 -1
- package/dist/esm/zh-hk-93493410.js +0 -70
- package/dist/esm/zh-hk-93493410.js.map +0 -1
- package/dist/esm/zh-tw-b978855e.js +0 -91
- package/dist/esm/zh-tw-b978855e.js.map +0 -1
- /package/dist/calcite/{p-ce14bbbe.entry.js.map → p-00ebd170.entry.js.map} +0 -0
- /package/dist/calcite/{p-0ad6f276.entry.js.map → p-04316116.entry.js.map} +0 -0
- /package/dist/calcite/{p-6acf4f0d.js.map → p-07167add.js.map} +0 -0
- /package/dist/calcite/{p-a1ca08f0.js.map → p-0bffeca0.js.map} +0 -0
- /package/dist/calcite/{p-875822b4.entry.js.map → p-0f96603a.entry.js.map} +0 -0
- /package/dist/calcite/{p-87f0f062.entry.js.map → p-172d0363.entry.js.map} +0 -0
- /package/dist/calcite/{p-16c7be1a.entry.js.map → p-197bd688.entry.js.map} +0 -0
- /package/dist/calcite/{p-6de86100.entry.js.map → p-1eddd212.entry.js.map} +0 -0
- /package/dist/calcite/{p-1171f3c3.js.map → p-20bc23bc.js.map} +0 -0
- /package/dist/calcite/{p-73d733ae.entry.js.map → p-22fe9d5f.entry.js.map} +0 -0
- /package/dist/calcite/{p-d890ddaf.js.map → p-25e9e523.js.map} +0 -0
- /package/dist/calcite/{p-afece18b.js.map → p-29e98f2b.js.map} +0 -0
- /package/dist/calcite/{p-bd36daf8.entry.js.map → p-2ad15531.entry.js.map} +0 -0
- /package/dist/calcite/{p-8ca1183c.entry.js.map → p-2adae173.entry.js.map} +0 -0
- /package/dist/calcite/{p-eed89075.js.map → p-2b30af8a.js.map} +0 -0
- /package/dist/calcite/{p-aa1e2f35.js.map → p-2b84c5ba.js.map} +0 -0
- /package/dist/calcite/{p-32338747.entry.js.map → p-2c848556.entry.js.map} +0 -0
- /package/dist/calcite/{p-3e3a59fc.entry.js.map → p-2e242871.entry.js.map} +0 -0
- /package/dist/calcite/{p-b1cba3fa.js.map → p-2e5ba2f2.js.map} +0 -0
- /package/dist/calcite/{p-9b671265.entry.js.map → p-30d8c6a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-e6513b46.js.map → p-320bead5.js.map} +0 -0
- /package/dist/calcite/{p-4cc38acd.entry.js.map → p-32f0e6ec.entry.js.map} +0 -0
- /package/dist/calcite/{p-a7150928.entry.js.map → p-407d989a.entry.js.map} +0 -0
- /package/dist/calcite/{p-5a09dc75.entry.js.map → p-463361fe.entry.js.map} +0 -0
- /package/dist/calcite/{p-db2c95aa.entry.js.map → p-5318de46.entry.js.map} +0 -0
- /package/dist/calcite/{p-48931e44.js.map → p-54a11a37.js.map} +0 -0
- /package/dist/calcite/{p-5600e82a.entry.js.map → p-56bf89e9.entry.js.map} +0 -0
- /package/dist/calcite/{p-eee848a0.js.map → p-589ff207.js.map} +0 -0
- /package/dist/calcite/{p-5c08e921.js.map → p-5a8a5fa9.js.map} +0 -0
- /package/dist/calcite/{p-74179933.entry.js.map → p-60c7a94d.entry.js.map} +0 -0
- /package/dist/calcite/{p-4366a810.entry.js.map → p-60d5452a.entry.js.map} +0 -0
- /package/dist/calcite/{p-ba41c3f8.entry.js.map → p-62a28204.entry.js.map} +0 -0
- /package/dist/calcite/{p-6ec42db1.entry.js.map → p-66259bcf.entry.js.map} +0 -0
- /package/dist/calcite/{p-e4e52f50.js.map → p-6814fe4e.js.map} +0 -0
- /package/dist/calcite/{p-cc5c8640.js.map → p-691cefaa.js.map} +0 -0
- /package/dist/calcite/{p-c4b1d426.js.map → p-6f6169e5.js.map} +0 -0
- /package/dist/calcite/{p-b00a2d53.js.map → p-6f9571fc.js.map} +0 -0
- /package/dist/calcite/{p-8d6ae3ac.entry.js.map → p-6fadd280.entry.js.map} +0 -0
- /package/dist/calcite/{p-67347a37.entry.js.map → p-74c36be5.entry.js.map} +0 -0
- /package/dist/calcite/{p-bcc21b93.js.map → p-794c9548.js.map} +0 -0
- /package/dist/calcite/{p-35c91e34.js.map → p-7a3ff8c1.js.map} +0 -0
- /package/dist/calcite/{p-28def1c5.js.map → p-7c04b58f.js.map} +0 -0
- /package/dist/calcite/{p-47937b29.js.map → p-7c994584.js.map} +0 -0
- /package/dist/calcite/{p-c0c96292.entry.js.map → p-7dd399ac.entry.js.map} +0 -0
- /package/dist/calcite/{p-7d3256fe.js.map → p-83529fb3.js.map} +0 -0
- /package/dist/calcite/{p-17ba7ea6.js.map → p-855ca8c1.js.map} +0 -0
- /package/dist/calcite/{p-10ace80d.js.map → p-878881a7.js.map} +0 -0
- /package/dist/calcite/{p-181f3df6.js.map → p-887fdedb.js.map} +0 -0
- /package/dist/calcite/{p-4d32af71.entry.js.map → p-8d747bf3.entry.js.map} +0 -0
- /package/dist/calcite/{p-68988f37.entry.js.map → p-8d7dfd60.entry.js.map} +0 -0
- /package/dist/calcite/{p-8e8ed254.entry.js.map → p-8d9af40c.entry.js.map} +0 -0
- /package/dist/calcite/{p-419d3f58.entry.js.map → p-93f2a3ca.entry.js.map} +0 -0
- /package/dist/calcite/{p-229a25b6.entry.js.map → p-9593a6a2.entry.js.map} +0 -0
- /package/dist/calcite/{p-03d89736.entry.js.map → p-98266bad.entry.js.map} +0 -0
- /package/dist/calcite/{p-6cee3970.js.map → p-989c487a.js.map} +0 -0
- /package/dist/calcite/{p-5e651607.entry.js.map → p-98bd74ef.entry.js.map} +0 -0
- /package/dist/calcite/{p-4b833cbd.entry.js.map → p-a0ec96e1.entry.js.map} +0 -0
- /package/dist/calcite/{p-2a5f6391.entry.js.map → p-a24f143a.entry.js.map} +0 -0
- /package/dist/calcite/{p-044cbb41.js.map → p-a2f9fb9d.js.map} +0 -0
- /package/dist/calcite/{p-9f222ce4.entry.js.map → p-a8d5f173.entry.js.map} +0 -0
- /package/dist/calcite/{p-58256112.js.map → p-aa659bfc.js.map} +0 -0
- /package/dist/calcite/{p-71a2c418.entry.js.map → p-ad83730a.entry.js.map} +0 -0
- /package/dist/calcite/{p-060a1d4e.entry.js.map → p-ae450f03.entry.js.map} +0 -0
- /package/dist/calcite/{p-fccea43e.entry.js.map → p-aea0e290.entry.js.map} +0 -0
- /package/dist/calcite/{p-656ba90a.js.map → p-aee3d5a2.js.map} +0 -0
- /package/dist/calcite/{p-3831a6b0.js.map → p-aee62911.js.map} +0 -0
- /package/dist/calcite/{p-9d1d8c6e.entry.js.map → p-af1931c6.entry.js.map} +0 -0
- /package/dist/calcite/{p-916adda3.entry.js.map → p-b06095bb.entry.js.map} +0 -0
- /package/dist/calcite/{p-e289f76b.entry.js.map → p-bc93ea1a.entry.js.map} +0 -0
- /package/dist/calcite/{p-554ba1e8.entry.js.map → p-be26a6f9.entry.js.map} +0 -0
- /package/dist/calcite/{p-9b5d32d7.js.map → p-c7cd4203.js.map} +0 -0
- /package/dist/calcite/{p-0aad2202.js.map → p-ca79c470.js.map} +0 -0
- /package/dist/calcite/{p-9e40c751.entry.js.map → p-cdd09e08.entry.js.map} +0 -0
- /package/dist/calcite/{p-7db91e04.entry.js.map → p-ce2cacb7.entry.js.map} +0 -0
- /package/dist/calcite/{p-18acbf59.js.map → p-d1f0f235.js.map} +0 -0
- /package/dist/calcite/{p-b4a83b13.js.map → p-d6eaa970.js.map} +0 -0
- /package/dist/calcite/{p-fa581bff.entry.js.map → p-d71d1a74.entry.js.map} +0 -0
- /package/dist/calcite/{p-c354efee.js.map → p-d7a7af58.js.map} +0 -0
- /package/dist/calcite/{p-d789f6fd.js.map → p-d813b4dd.js.map} +0 -0
- /package/dist/calcite/{p-e297156f.entry.js.map → p-db03544b.entry.js.map} +0 -0
- /package/dist/calcite/{p-8a25c3a9.entry.js.map → p-db36b99a.entry.js.map} +0 -0
- /package/dist/calcite/{p-e7a778bf.entry.js.map → p-ddfdebfa.entry.js.map} +0 -0
- /package/dist/calcite/{p-f2cdaf94.js.map → p-e10ef34a.js.map} +0 -0
- /package/dist/calcite/{p-c992020e.entry.js.map → p-e7168929.entry.js.map} +0 -0
- /package/dist/calcite/{p-64cfa027.entry.js.map → p-eca37224.entry.js.map} +0 -0
- /package/dist/calcite/{p-80df8c3a.entry.js.map → p-ed9429bd.entry.js.map} +0 -0
- /package/dist/calcite/{p-ed1b36a6.entry.js.map → p-f4d3847f.entry.js.map} +0 -0
- /package/dist/calcite/{p-fd5e2af0.js.map → p-fadab4e8.js.map} +0 -0
- /package/dist/calcite/{p-0de92f96.entry.js.map → p-fae653b5.entry.js.map} +0 -0
- /package/dist/calcite/{p-1df61dbf.js.map → p-fcd856d6.js.map} +0 -0
- /package/dist/calcite/{p-781f001f.entry.js.map → p-fe39be4b.entry.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.1.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,g as s,H as n}from"./p-6814fe4e.js";import{b as a,t as l,D as o,g as c}from"./p-5a8a5fa9.js";import{c as r,u as d,d as h}from"./p-589ff207.js";import{c as f}from"./p-7a3ff8c1.js";import{d as u,a as p,c as m}from"./p-29e98f2b.js";import{S as g}from"./p-7c04b58f.js";import{s as b,a as v,c as w}from"./p-fcd856d6.js";import{c as C,s as y,d as x,u as k}from"./p-aee3d5a2.js";import{n as L,c as I,d as S}from"./p-07167add.js";import{d as E}from"./p-d6eaa970.js";import"./p-83529fb3.js";import"./p-6f9571fc.js";import"./p-887fdedb.js";import"./p-c7cd4203.js";const D={container:"container",containerBorderSelected:"container--border-selected",containerBorderUnselected:"container--border-unselected",contentContainer:"content-container",contentContainerSelectable:"content-container--selectable",contentContainerHasCenterContent:"content-container--has-center-content",nestedContainer:"nested-container",nestedContainerHidden:"nested-container--hidden",content:"content",customContent:"custom-content",actionsStart:"actions-start",contentStart:"content-start",label:"label",description:"description",contentEnd:"content-end",contentBottom:"content-bottom",actionsEnd:"actions-end",selectionContainer:"selection-container",openContainer:"open-container",dragContainer:"drag-container"};const A={actionsStart:"actions-start",contentStart:"content-start",content:"content",contentBottom:"content-bottom",contentEnd:"content-end",actionsEnd:"actions-end"};const z=0;const M={selectedMultiple:"check-circle-f",selectedSingle:"circle-f",unselected:"blank",closedLTR:"caret-right",closedRTL:"caret-left",open:"caret-down",blank:"blank",close:"x"};const j="calcite-list";const F="calcite-list-item-group";const T="calcite-list-item";function P(t){return Array.from(t.assignedElements({flatten:true}).filter((t=>t.matches(j))))}function H(t){const e=t.assignedElements({flatten:true});const i=e.filter((t=>t?.matches(F))).map((t=>Array.from(t.querySelectorAll(T)))).reduce(((t,e)=>[...t,...e]),[]);const s=e.filter((t=>t?.matches(T)));const n=e.filter((t=>t?.matches(j))).map((t=>Array.from(t.querySelectorAll(T)))).reduce(((t,e)=>[...t,...e]),[]);return[...n,...i,...s]}function O(t){t.forEach((e=>{e.setPosition=t.indexOf(e)+1;e.setSize=t.length}))}function R(t,e=false){const i=e?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item";const s=document.evaluate(i,t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);return s.snapshotLength}const B={container:"container",table:"table",scrim:"scrim",stack:"stack",tableContainer:"table-container",sticky:"sticky-pos",assistiveText:"assistive-text"};const _=0;const G={filterActionsStart:"filter-actions-start",filterActionsEnd:"filter-actions-end"};const N=":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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{position:relative}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}::slotted(calcite-list-item){--tw-shadow:0 -1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 -1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:1px}::slotted(calcite-list-item:first-of-type){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}::slotted(calcite-list-item[data-filter]){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:0px}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-color-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const U="calcite-list-item";const W=`:scope > calcite-list-item`;const $="calcite-list-item-group, calcite-list-item";const K=class{constructor(i){t(this,i);this.calciteListChange=e(this,"calciteListChange",6);this.calciteListDragEnd=e(this,"calciteListDragEnd",6);this.calciteListDragStart=e(this,"calciteListDragStart",6);this.calciteListFilter=e(this,"calciteListFilter",6);this.calciteListOrderChange=e(this,"calciteListOrderChange",6);this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6);this.dragSelector="calcite-list-item";this.enabledListItems=[];this.handleSelector="calcite-handle";this.listItems=[];this.mutationObserver=f("mutation",(()=>this.updateListItems()));this.handleDefaultSlotChange=t=>{O(H(t.target));if(this.parentListEl){this.calciteInternalListDefaultSlotChange.emit()}};this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=a(t)};this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=a(t)};this.setActiveListItem=()=>{const{enabledListItems:t}=this;if(!t.some((t=>t.active))){if(t[0]){t[0].active=true}}};this.updateSelectedItems=(t=false)=>{this.selectedItems=this.enabledListItems.filter((t=>t.selected));if(t){this.calciteListChange.emit()}};this.updateFilteredItems=(t=false)=>{const{listItems:e,filteredData:i,filterText:s}=this;const n=i.map((t=>t.value));const a=e?.filter((t=>e.every((e=>e===t||!t.contains(e)))));const l=e.filter((t=>!s||n.includes(t.value)))||[];const o=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:l,visibleParents:o})));if(l.length>0){this.findAncestorOfFirstFilteredItem(l)}this.filteredItems=l;if(t){this.calciteListFilter.emit()}};this.setFilterEl=t=>{this.filterEl=t;this.performFilter()};this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e;this.updateFilteredData(true)};this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value})));this.updateListItems=E(((t=false)=>{const{selectionAppearance:e,selectionMode:i,dragEnabled:s}=this;if(!!this.parentListEl){const t=this.queryListItems(true);t.forEach((t=>{t.dragHandle=s}));this.setUpSorting();return}const n=this.queryListItems();n.forEach((t=>{t.selectionAppearance=e;t.selectionMode=i}));const a=this.queryListItems(true);a.forEach((t=>{t.dragHandle=s}));this.listItems=n;if(this.filterEnabled){this.dataForFilter=this.getItemData();if(this.filterEl){this.filterEl.items=this.dataForFilter}}this.updateFilteredItems(t);this.enabledListItems=this.filteredItems.filter((t=>!t.disabled&&!t.closed));this.setActiveListItem();this.updateSelectedItems(t);this.setUpSorting()}),_);this.queryListItems=(t=false)=>Array.from(this.el.querySelectorAll(t?W:U));this.focusRow=t=>{const{enabledListItems:e}=this;if(!t){return}e.forEach((e=>e.active=e===t));t.setFocus()};this.isNavigable=t=>{const e=t.parentElement?.closest(U);if(!e){return true}return e.open&&this.isNavigable(e)};this.handleListKeydown=t=>{if(t.defaultPrevented||!!this.parentListEl){return}const{key:e}=t;const i=this.enabledListItems.filter((t=>this.isNavigable(t)));const s=i.findIndex((t=>t.active));if(e==="ArrowDown"){t.preventDefault();const e=t.target===this.filterEl?0:s+1;if(i[e]){this.focusRow(i[e])}}else if(e==="ArrowUp"){t.preventDefault();if(s===0&&this.filterEnabled){this.filterEl?.setFocus();return}const e=s-1;if(i[e]){this.focusRow(i[e])}}else if(e==="Home"){t.preventDefault();const e=i[0];if(e){this.focusRow(e)}}else if(e==="End"){t.preventDefault();const e=i[i.length-1];if(e){this.focusRow(e)}}};this.findAncestorOfFirstFilteredItem=t=>{this.ancestorOfFirstFilteredItem?.removeAttribute("data-filter");t.forEach((t=>{t.removeAttribute("data-filter")}));this.ancestorOfFirstFilteredItem=this.getTopLevelAncestorItemElement(t[0]);t[0].setAttribute("data-filter","0");this.ancestorOfFirstFilteredItem?.setAttribute("data-filter","0")};this.getTopLevelAncestorItemElement=t=>{let e=t.parentElement.closest("calcite-list-item");while(e){const t=e.parentElement.closest("calcite-list-item");if(t){e=t}else{return e}}return null};this.disabled=false;this.canPull=undefined;this.canPut=undefined;this.dragEnabled=false;this.group=undefined;this.filterEnabled=false;this.filteredItems=[];this.filteredData=[];this.filterPlaceholder=undefined;this.filterText=undefined;this.label=undefined;this.loading=false;this.messageOverrides=undefined;this.messages=undefined;this.numberingSystem=undefined;this.openable=false;this.selectedItems=[];this.selectionMode="none";this.selectionAppearance="icon";this.effectiveLocale="";this.defaultMessages=undefined;this.assistiveText=undefined;this.dataForFilter=[];this.hasFilterActionsEnd=false;this.hasFilterActionsStart=false}async handleFilterTextChange(){this.performFilter()}onMessagesChange(){}handleListItemChange(){this.updateListItems()}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl){return}t.stopPropagation();const{enabledListItems:e}=this;const i=e.findIndex((t=>t.active));const s=i-1;if(e[s]){this.focusRow(e[s])}}handleCalciteInternalListItemActive(t){if(!!this.parentListEl){return}t.stopPropagation();const e=t.target;const{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){if(!!this.parentListEl){return}this.updateSelectedItems(true)}handleCalciteInternalHandleChange(t){this.assistiveText=t.detail.message;t.stopPropagation()}handleCalciteHandleNudge(t){if(!!this.parentListEl){return}this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(!!this.parentListEl){return}t.stopPropagation();const e=t.target;const{listItems:i,selectionMode:s}=this;if(e.selected&&(s==="single"||s==="single-persist")){i.forEach((t=>t.selected=t===e))}this.updateSelectedItems()}handleCalciteInternalListItemSelectMultiple(t){if(!!this.parentListEl){return}t.stopPropagation();const{target:e,detail:i}=t;const{enabledListItems:s,lastSelectedInfo:n}=this;const a=e;if(i.selectMultiple&&!!n){const t=s.indexOf(a);const e=s.indexOf(n.selectedItem);const i=Math.min(e,t);const l=Math.max(e,t);s.slice(i,l+1).forEach((t=>t.selected=n.selected))}else{this.lastSelectedInfo={selectedItem:a,selected:a.selected}}}handleCalciteInternalListItemChange(t){if(!!this.parentListEl){return}t.stopPropagation();this.updateListItems()}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){if(u(this)){return}C(this);this.connectObserver();this.updateListItems();this.setUpSorting();r(this);this.setParentList()}async componentWillLoad(){b(this);await y(this)}componentDidRender(){d(this)}componentDidLoad(){v(this)}disconnectedCallback(){if(u(this)){return}this.disconnectObserver();p(this);h(this);x(this)}effectiveLocaleChange(){k(this,this.effectiveLocale)}async setFocus(){await w(this);if(this.filterEnabled){return this.filterEl?.setFocus()}return this.enabledListItems.find((t=>t.active))?.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:o,filterText:c,hasFilterActionsStart:r,hasFilterActionsEnd:d}=this;return i("div",{class:B.container},this.dragEnabled?i("span",{"aria-live":"assertive",class:B.assistiveText},this.assistiveText):null,this.renderItemAriaLive(),t?i("calcite-scrim",{class:B.scrim,loading:t}):null,i("table",{"aria-busy":l(t),"aria-label":e||"",class:B.table,onKeyDown:this.handleListKeydown,role:"treegrid"},a||r||d?i("thead",null,i("tr",{class:{[B.sticky]:true}},i("th",{colSpan:z},i("calcite-stack",{class:B.stack},i("slot",{name:G.filterActionsStart,onSlotchange:this.handleFilterActionsStartSlotChange,slot:g.actionsStart}),i("calcite-filter",{"aria-label":o,disabled:s,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:o,value:c,ref:this.setFilterEl}),i("slot",{name:G.filterActionsEnd,onSlotchange:this.handleFilterActionsEndSlotChange,slot:g.actionsEnd}))))):null,i("tbody",{class:B.tableContainer},i("slot",{onSlotchange:this.handleDefaultSlotChange}))))}renderItemAriaLive(){const{messages:t,enabledListItems:e,parentListEl:s,effectiveLocale:n,numberingSystem:a,filterEnabled:l,filterText:o,filteredData:c}=this;L.numberFormatOptions={locale:n,numberingSystem:a};return!s?i("div",{"aria-live":"polite",class:B.assistiveText},l&&o&&c?.length?i("div",{key:"aria-filter-enabled"},t.filterEnabled):null,i("div",{key:"aria-item-count"},t.total.replace("{count}",L.localize(e.length.toString()))),e.length?i("ol",{key:"aria-item-list"},e.map((t=>i("li",null,t.label)))):null):null}connectObserver(){this.mutationObserver?.observe(this.el,{childList:true,subtree:true})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){const{dragEnabled:t}=this;if(!t){return}m(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(t){this.calciteListDragEnd.emit(t)}onDragStart(t){this.calciteListDragStart.emit(t)}onDragSort(t){this.setParentList();this.updateListItems();this.calciteListOrderChange.emit(t)}setParentList(){this.parentListEl=this.el.parentElement?.closest("calcite-list")}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.hidden=s;const n=t.parentElement.closest($);if(!n){return}if(!s){i.add(n)}this.filterElements({el:n,filteredItems:e,visibleParents:i})}updateFilteredData(t=false){const{filterEl:e}=this;if(!e){return}if(e.filteredItems){this.filteredData=e.filteredItems}this.updateListItems(t)}async performFilter(){const{filterEl:t,filterText:e}=this;if(!t){return}t.value=e;await t.filter(e);this.updateFilteredData()}handleNudgeEvent(t){const{direction:e}=t.detail;const i=t.composedPath();const s=i.find((t=>t.tagName==="CALCITE-HANDLE"));const n=i.find((t=>t.tagName==="CALCITE-LIST-ITEM"));const a=n?.parentElement;if(!a){return}const{enabledListItems:l}=this;const o=l.filter((t=>t.parentElement===a));const c=o.length-1;const r=o.indexOf(n);let d=false;let h;if(e==="up"){if(r===0){d=true;h=c}else{h=r-1}}else{if(r===c){h=0}else if(r===c-1){d=true;h=c}else{h=r+2}}this.disconnectObserver();if(d){a.appendChild(n)}else{a.insertBefore(n,o[h])}this.updateListItems();this.connectObserver();this.calciteListOrderChange.emit({dragEl:n,fromEl:a,toEl:a,newIndex:h,oldIndex:r});s.setFocus().then((()=>{s.activated=true}))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{filterText:["handleFilterTextChange"],messageOverrides:["onMessagesChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"],effectiveLocale:["effectiveLocaleChange"]}}};K.style=N;const X=":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-direction:column;--calcite-list-item-icon-color:var(--calcite-color-brand);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{box-sizing:border-box;display:flex;flex:1 1 0%;background-color:var(--calcite-color-foreground-1);font-family:var(--calcite-sans-family);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.container *{box-sizing:border-box}.container:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}.container:active{background-color:var(--calcite-color-foreground-1)}.container--border-selected{border-inline-start:4px solid var(--calcite-color-brand)}.container--border-unselected{border-inline-start:4px solid transparent}.nested-container{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1)}.nested-container--hidden{display:none}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;user-select:none;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}tr,td{outline-color:transparent}tr:focus,td:focus{outline:2px solid 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 )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description,.content-bottom{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child,.content-bottom:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-color-text-1)}.description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-bottom{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-inline:0.75rem;color:var(--calcite-list-item-icon-color)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.open-container,.selection-container{cursor:pointer}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}::slotted(calcite-list-item){border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}::slotted(calcite-list:empty){padding-block:0.75rem}:host([hidden]){display:none}[hidden]{display:none}";const q=new Map;const J="calcite-list";const Q=class{constructor(i){t(this,i);this.calciteListItemSelect=e(this,"calciteListItemSelect",6);this.calciteListItemClose=e(this,"calciteListItemClose",6);this.calciteListItemToggle=e(this,"calciteListItemToggle",6);this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6);this.calciteInternalListItemSelectMultiple=e(this,"calciteInternalListItemSelectMultiple",6);this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6);this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6);this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6);this.handleCloseClick=()=>{this.closed=true;this.calciteListItemClose.emit()};this.handleContentSlotChange=t=>{this.hasCustomContent=a(t)};this.handleActionsStartSlotChange=t=>{this.hasActionsStart=a(t)};this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=a(t)};this.handleContentStartSlotChange=t=>{this.hasContentStart=a(t)};this.handleContentEndSlotChange=t=>{this.hasContentEnd=a(t)};this.handleContentBottomSlotChange=t=>{this.hasContentBottom=a(t)};this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)};this.handleToggleClick=()=>{this.toggle()};this.toggle=(t=!this.open)=>{this.open=t;this.calciteListItemToggle.emit()};this.handleItemClick=t=>{if(t.defaultPrevented){return}this.toggleSelected(t.shiftKey);this.calciteInternalListItemActive.emit()};this.toggleSelected=t=>{const{selectionMode:e,selected:i}=this;if(this.disabled){return}if(e==="multiple"||e==="single"){this.selected=!i}else if(e==="single-persist"){this.selected=true}this.calciteInternalListItemSelectMultiple.emit({selectMultiple:t&&e==="multiple"});this.calciteListItemSelect.emit()};this.handleItemKeyDown=t=>{if(t.defaultPrevented){return}const{key:e}=t;const i=t.composedPath();const{containerEl:s,actionsStartEl:n,actionsEndEl:a,open:l,openable:o}=this;const c=this.getGridCells();const r=c.findIndex((t=>i.includes(t)));if(e==="Enter"&&!i.includes(n)&&!i.includes(a)){t.preventDefault();this.toggleSelected(t.shiftKey)}else if(e==="ArrowRight"){t.preventDefault();const e=r+1;if(r===-1){if(!l&&o){this.toggle(true);this.focusCell(null)}else if(c[0]){this.focusCell(c[0])}}else if(c[r]&&c[e]){this.focusCell(c[e])}}else if(e==="ArrowLeft"){t.preventDefault();const e=r-1;if(r===-1){this.focusCell(null);if(l&&o){this.toggle(false)}else{this.calciteInternalFocusPreviousItem.emit()}}else if(r===0){this.focusCell(null);s.focus()}else if(c[r]&&c[e]){this.focusCell(c[e])}}};this.focusCellNull=()=>{this.focusCell(null)};this.focusCell=(t,e=true)=>{const{parentListEl:i}=this;if(e){q.set(i,null)}const s=o(t);this.getGridCells().forEach(((n,a)=>{if(n===t){n.tabIndex=t===s?0:-1;e&&q.set(i,a)}else{n.tabIndex=-1}}));s?.focus()};this.active=false;this.closable=false;this.closed=false;this.description=undefined;this.disabled=false;this.dragDisabled=false;this.dragHandle=false;this.label=undefined;this.metadata=undefined;this.open=false;this.setSize=null;this.setPosition=null;this.selected=false;this.value=undefined;this.selectionMode=null;this.selectionAppearance=null;this.messageOverrides=undefined;this.messages=undefined;this.effectiveLocale="";this.defaultMessages=undefined;this.level=null;this.visualLevel=null;this.parentListEl=undefined;this.openable=false;this.hasActionsStart=false;this.hasActionsEnd=false;this.hasCustomContent=false;this.hasContentStart=false;this.hasContentEnd=false;this.hasContentBottom=false}activeHandler(t){if(!t){this.focusCell(null,false)}}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation();this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){k(this,this.effectiveLocale)}connectedCallback(){r(this);I(this);C(this);const{el:t}=this;this.parentListEl=t.closest(J);this.level=R(t)+1;this.visualLevel=R(t,true);this.setSelectionDefaults()}async componentWillLoad(){b(this);await y(this)}componentDidLoad(){v(this)}componentDidRender(){d(this)}disconnectedCallback(){h(this);S(this);x(this)}async setFocus(){await w(this);const{containerEl:t,parentListEl:e}=this;const i=q.get(e);if(typeof i==="number"){const e=this.getGridCells();if(e[i]){this.focusCell(e[i])}else{t?.focus()}return}t?.focus()}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;if(e==="none"||s==="border"){return null}return i("td",{class:D.selectionContainer,key:"selection-container",onClick:this.handleItemClick},i("calcite-icon",{icon:t?e==="multiple"?M.selectedMultiple:M.selectedSingle:M.unselected,scale:"s"}))}renderDragHandle(){const{label:t,dragHandle:e,dragDisabled:s,setPosition:n,setSize:a}=this;return e?i("td",{"aria-label":t,class:D.dragContainer,key:"drag-handle-container",role:"gridcell",ref:t=>this.handleGridEl=t},i("calcite-handle",{disabled:s,label:t,setPosition:n,setSize:a})):null}renderOpen(){const{el:t,open:e,openable:s,parentListEl:n}=this;const a=c(t);const l=s?e?M.open:a==="rtl"?M.closedRTL:M.closedLTR:M.blank;const o=s?this.handleToggleClick:this.handleItemClick;return s||n?.openable?i("td",{class:D.openContainer,key:"open-container",onClick:o},i("calcite-icon",{icon:l,key:l,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:D.actionsStart,hidden:!e,key:"actions-start-container",role:"gridcell",ref:t=>this.actionsStartEl=t},i("slot",{name:A.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:D.actionsEnd,hidden:!(e||s),key:"actions-end-container",role:"gridcell",ref:t=>this.actionsEndEl=t},i("slot",{name:A.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",icon:M.close,key:"close-action",label:n.close,onClick:this.handleCloseClick,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:D.contentStart,hidden:!t},i("slot",{name:A.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:D.customContent,hidden:!t},i("slot",{name:A.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:D.contentEnd,hidden:!t},i("slot",{name:A.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentBottom(){const{hasContentBottom:t,visualLevel:e}=this;return i("div",{class:D.contentBottom,hidden:!t,style:{"--calcite-list-item-spacing-indent-multiplier":`${e}`}},i("slot",{name:A.contentBottom,onSlotchange:this.handleContentBottomSlotChange}))}renderDefaultContainer(){return i("div",{class:{[D.nestedContainer]:true,[D.nestedContainerHidden]:this.openable&&!this.open}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return!s&&(!!t||!!e)?i("div",{class:D.content,key:"content"},t?i("div",{class:D.label,key:"label"},t):null,e?i("div",{class:D.description,key:"description"},e):null):null}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n}=this;const a=n||!!e||!!t;const l=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[D.contentContainer]:true,[D.contentContainerSelectable]:s!=="none",[D.contentContainerHasCenterContent]:a},key:"content-container",onClick:this.handleItemClick,role:"gridcell",ref:t=>this.contentEl=t},l)}render(){const{openable:t,open:e,level:s,setPosition:a,setSize:o,active:c,label:r,selected:d,selectionAppearance:h,selectionMode:f,closed:u,visualLevel:p}=this;const m=f!=="none"&&h==="border";const g=m&&d;const b=m&&!d;return i(n,null,i("tr",{"aria-expanded":t?l(e):null,"aria-label":r,"aria-level":s,"aria-posinset":a,"aria-selected":l(d),"aria-setsize":o,class:{[D.container]:true,[D.containerBorderSelected]:g,[D.containerBorderUnselected]:b},hidden:u,onFocus:this.focusCellNull,onKeyDown:this.handleItemKeyDown,role:"row",style:{"--calcite-list-item-spacing-indent-multiplier":`${p}`},tabIndex:c?0:-1,ref:t=>this.containerEl=t},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),this.renderContentBottom(),this.renderDefaultContainer())}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;if(!t){return}if(!e){this.selectionMode=t.selectionMode}if(!i){this.selectionAppearance=t.selectionAppearance}}handleOpenableChange(t){if(!t){return}const{parentListEl:e}=this;const i=H(t);const s=P(t);O(i);const n=!!i.length||!!s.length;if(n&&e&&!e.openable){e.openable=true}this.openable=n;if(!n){this.open=false}}getGridCells(){return[this.handleGridEl,this.actionsStartEl,this.contentEl,this.actionsEndEl].filter((t=>t&&!t.hidden))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Q.style=X;const V={container:"container",heading:"heading"};const Y=":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-direction:column;background-color:var(--calcite-color-foreground-1);--calcite-list-item-spacing-indent:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{margin:0px;display:flex;flex:1 1 0%;background-color:var(--calcite-color-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.heading{padding-inline-start:calc(var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier))}::slotted(calcite-list-item){--tw-shadow:0 -1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 -1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:1px}::slotted(calcite-list-item:nth-child(1 of :not([hidden]))){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);margin-block-start:0px}:host([hidden]){display:none}[hidden]{display:none}";const Z=class{constructor(i){t(this,i);this.calciteInternalListItemGroupDefaultSlotChange=e(this,"calciteInternalListItemGroupDefaultSlotChange",6);this.handleDefaultSlotChange=()=>{this.calciteInternalListItemGroupDefaultSlotChange.emit()};this.disabled=false;this.heading=undefined;this.visualLevel=null}connectedCallback(){const{el:t}=this;this.visualLevel=R(t,true);r(this)}componentDidRender(){d(this)}disconnectedCallback(){h(this)}render(){const{heading:t,visualLevel:e}=this;return i(n,null,i("tr",{class:V.container,style:{"--calcite-list-item-spacing-indent-multiplier":`${e}`}},i("td",{class:V.heading,colSpan:z},t)),i("slot",{onSlotchange:this.handleDefaultSlotChange}))}get el(){return s(this)}};Z.style=Y;export{K as calcite_list,Q as calcite_list_item,Z as calcite_list_item_group};
|
|
7
|
+
//# sourceMappingURL=p-5d1cf05b.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["CSS","container","containerBorderSelected","containerBorderUnselected","contentContainer","contentContainerSelectable","contentContainerHasCenterContent","nestedContainer","nestedContainerHidden","content","customContent","actionsStart","contentStart","label","description","contentEnd","contentBottom","actionsEnd","selectionContainer","openContainer","dragContainer","SLOTS","MAX_COLUMNS","ICONS","selectedMultiple","selectedSingle","unselected","closedLTR","closedRTL","open","blank","close","listSelector","listItemGroupSelector","listItemSelector","getListItemChildLists","slotEl","Array","from","assignedElements","flatten","filter","el","matches","getListItemChildren","listItemGroupChildren","map","group","querySelectorAll","reduce","previousValue","currentValue","listItemChildren","listItemListChildren","list","updateListItemChildren","forEach","listItem","setPosition","indexOf","setSize","length","getDepth","element","includeGroup","expression","result","document","evaluate","XPathResult","UNORDERED_NODE_SNAPSHOT_TYPE","snapshotLength","table","scrim","stack","tableContainer","sticky","assistiveText","debounceTimeout","filterActionsStart","filterActionsEnd","listCss","listItemSelectorDirect","parentSelector","List","this","dragSelector","enabledListItems","handleSelector","listItems","mutationObserver","createObserver","updateListItems","handleDefaultSlotChange","event","target","parentListEl","calciteInternalListDefaultSlotChange","emit","handleFilterActionsStartSlotChange","hasFilterActionsStart","slotChangeHasAssignedElement","handleFilterActionsEndSlotChange","hasFilterActionsEnd","setActiveListItem","some","item","active","updateSelectedItems","selectedItems","selected","calciteListChange","updateFilteredItems","filteredData","filterText","values","value","lastDescendantItems","every","li","contains","filteredItems","includes","visibleParents","WeakSet","filterElements","findAncestorOfFirstFilteredItem","calciteListFilter","setFilterEl","filterEl","performFilter","handleFilterChange","stopPropagation","currentTarget","updateFilteredData","getItemData","metadata","debounce","selectionAppearance","selectionMode","dragEnabled","items","queryListItems","dragHandle","setUpSorting","dragItems","filterEnabled","dataForFilter","disabled","closed","direct","focusRow","focusEl","setFocus","isNavigable","parentListItemEl","parentElement","closest","handleListKeydown","defaultPrevented","key","currentIndex","findIndex","preventDefault","nextIndex","prevIndex","homeItem","endItem","ancestorOfFirstFilteredItem","removeAttribute","getTopLevelAncestorItemElement","setAttribute","closestParent","closestListItemAncestor","handleFilterTextChange","onMessagesChange","handleListItemChange","handleCalciteInternalFocusPreviousItem","handleCalciteInternalListItemActive","handleCalciteListItemSelect","handleCalciteInternalHandleChange","detail","message","handleCalciteHandleNudge","handleNudgeEvent","handleCalciteInternalListItemSelect","handleCalciteInternalListItemSelectMultiple","lastSelectedInfo","selectedItem","selectMultiple","lastSelectedIndex","startIndex","Math","min","endIndex","max","slice","handleCalciteInternalListItemChange","handleCalciteInternalListItemGroupDefaultSlotChange","connectedCallback","dragActive","connectMessages","connectObserver","connectInteractive","setParentList","componentWillLoad","setUpLoadableComponent","setUpMessages","componentDidRender","updateHostInteraction","componentDidLoad","setComponentLoaded","disconnectedCallback","disconnectObserver","disconnectSortableComponent","disconnectInteractive","disconnectMessages","effectiveLocaleChange","updateMessages","effectiveLocale","componentFocusable","find","render","loading","filterPlaceholder","h","class","renderItemAriaLive","toAriaBoolean","onKeyDown","role","colSpan","name","onSlotchange","slot","STACK_SLOTS","onCalciteFilterChange","placeholder","ref","messages","numberingSystem","numberStringFormatter","numberFormatOptions","locale","total","replace","localize","toString","observe","childList","subtree","disconnect","connectSortableComponent","onGlobalDragStart","onGlobalDragEnd","onDragEnd","calciteListDragEnd","onDragStart","calciteListDragStart","onDragSort","calciteListOrderChange","hidden","has","add","direction","composedPath","handle","tagName","sortItem","parentEl","sameParentItems","lastIndex","oldIndex","appendInstead","newIndex","appendChild","insertBefore","dragEl","fromEl","toEl","then","activated","listItemCss","focusMap","Map","ListItem","handleCloseClick","calciteListItemClose","handleContentSlotChange","hasCustomContent","handleActionsStartSlotChange","hasActionsStart","handleActionsEndSlotChange","hasActionsEnd","handleContentStartSlotChange","hasContentStart","handleContentEndSlotChange","hasContentEnd","handleContentBottomSlotChange","hasContentBottom","handleOpenableChange","handleToggleClick","toggle","calciteListItemToggle","handleItemClick","toggleSelected","shiftKey","calciteInternalListItemActive","calciteInternalListItemSelectMultiple","calciteListItemSelect","handleItemKeyDown","containerEl","actionsStartEl","actionsEndEl","openable","cells","getGridCells","cell","focusCell","calciteInternalFocusPreviousItem","focus","focusCellNull","saveFocusIndex","set","focusedEl","getFirstTabbable","tableCell","cellIndex","tabIndex","activeHandler","handleClosedChange","emitCalciteInternalListItemChange","handleDisabledChange","handleSelectedChange","calciteInternalListItemSelect","handleCalciteInternalListDefaultSlotChanges","defaultSlotEl","connectLocalized","level","visualLevel","setSelectionDefaults","disconnectLocalized","focusIndex","get","renderSelected","onClick","icon","scale","renderDragHandle","dragDisabled","handleGridEl","renderOpen","dir","getElementDir","clickHandler","renderActionsStart","renderActionsEnd","closable","appearance","text","renderContentStart","renderCustomContent","renderContentEnd","renderContentBottom","style","renderDefaultContainer","renderContentProperties","renderContentContainer","hasCenterContent","contentEl","showBorder","borderSelected","borderUnselected","Host","onFocus","calciteInternalListItemChange","listItemChildLists","heading","listItemGroupCss","ListItemGroup","calciteInternalListItemGroupDefaultSlotChange"],"sources":["src/components/list-item/resources.ts","src/components/list-item/utils.ts","src/components/list/resources.ts","src/components/list/list.scss?tag=calcite-list&encapsulation=shadow","src/components/list/list.tsx","src/components/list-item/list-item.scss?tag=calcite-list-item&encapsulation=shadow","src/components/list-item/list-item.tsx","src/components/list-item-group/resources.ts","src/components/list-item-group/list-item-group.scss?tag=calcite-list-item-group&encapsulation=shadow","src/components/list-item-group/list-item-group.tsx"],"sourcesContent":["export const CSS = {\n container: \"container\",\n containerBorderSelected: \"container--border-selected\",\n containerBorderUnselected: \"container--border-unselected\",\n contentContainer: \"content-container\",\n contentContainerSelectable: \"content-container--selectable\",\n contentContainerHasCenterContent: \"content-container--has-center-content\",\n nestedContainer: \"nested-container\",\n nestedContainerHidden: \"nested-container--hidden\",\n content: \"content\",\n customContent: \"custom-content\",\n actionsStart: \"actions-start\",\n contentStart: \"content-start\",\n label: \"label\",\n description: \"description\",\n contentEnd: \"content-end\",\n contentBottom: \"content-bottom\",\n actionsEnd: \"actions-end\",\n selectionContainer: \"selection-container\",\n openContainer: \"open-container\",\n dragContainer: \"drag-container\",\n};\n\nexport const SLOTS = {\n actionsStart: \"actions-start\",\n contentStart: \"content-start\",\n content: \"content\",\n contentBottom: \"content-bottom\",\n contentEnd: \"content-end\",\n actionsEnd: \"actions-end\",\n};\n\n// Set to zero to extend until the end of the table section.\nexport const MAX_COLUMNS = 0;\n\nexport const ICONS = {\n selectedMultiple: \"check-circle-f\",\n selectedSingle: \"circle-f\",\n unselected: \"blank\",\n closedLTR: \"caret-right\",\n closedRTL: \"caret-left\",\n open: \"caret-down\",\n blank: \"blank\",\n close: \"x\",\n};\n","import { Build } from \"@stencil/core\";\n\nconst listSelector = \"calcite-list\";\nconst listItemGroupSelector = \"calcite-list-item-group\";\nconst listItemSelector = \"calcite-list-item\";\n\nexport function getListItemChildLists(slotEl: HTMLSlotElement): HTMLCalciteListElement[] {\n return Array.from(\n slotEl.assignedElements({ flatten: true }).filter((el) => el.matches(listSelector))\n ) as HTMLCalciteListElement[];\n}\n\nexport function getListItemChildren(slotEl: HTMLSlotElement): HTMLCalciteListItemElement[] {\n const assignedElements = slotEl.assignedElements({ flatten: true });\n\n const listItemGroupChildren = (\n assignedElements.filter((el) => el?.matches(listItemGroupSelector)) as HTMLCalciteListItemGroupElement[]\n )\n .map((group) => Array.from(group.querySelectorAll(listItemSelector)))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);\n\n const listItemChildren = assignedElements.filter((el) =>\n el?.matches(listItemSelector)\n ) as HTMLCalciteListItemElement[];\n\n const listItemListChildren = (assignedElements.filter((el) => el?.matches(listSelector)) as HTMLCalciteListElement[])\n .map((list) => Array.from(list.querySelectorAll(listItemSelector)))\n .reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);\n\n return [...listItemListChildren, ...listItemGroupChildren, ...listItemChildren];\n}\n\nexport function updateListItemChildren(listItemChildren: HTMLCalciteListItemElement[]): void {\n listItemChildren.forEach((listItem) => {\n listItem.setPosition = listItemChildren.indexOf(listItem) + 1;\n listItem.setSize = listItemChildren.length;\n });\n}\n\nexport function getDepth(element: HTMLElement, includeGroup = false): number {\n if (!Build.isBrowser) {\n return 0;\n }\n\n const expression = includeGroup\n ? \"ancestor::calcite-list-item | ancestor::calcite-list-item-group\"\n : \"ancestor::calcite-list-item\";\n\n const result = document.evaluate(expression, element, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);\n\n return result.snapshotLength;\n}\n","export const CSS = {\n container: \"container\",\n table: \"table\",\n scrim: \"scrim\",\n stack: \"stack\",\n tableContainer: \"table-container\",\n sticky: \"sticky-pos\",\n assistiveText: \"assistive-text\",\n};\n\nexport const debounceTimeout = 0;\n\nexport type SelectionAppearance = \"border\" | \"icon\";\n\nexport const SLOTS = {\n filterActionsStart: \"filter-actions-start\",\n filterActionsEnd: \"filter-actions-end\",\n};\n",":host {\n @apply block;\n}\n\n@include disabled();\n\n.container {\n position: relative;\n}\n\n.table-container {\n @apply box-border\n flex\n w-full\n flex-col\n bg-transparent;\n * {\n @apply box-border;\n }\n}\n\n.table {\n @apply w-full border-collapse;\n}\n\n.stack {\n --calcite-stack-padding-inline: 0;\n --calcite-stack-padding-block: 0;\n}\n\n::slotted(calcite-list-item) {\n @apply shadow-border-top;\n margin-block-start: 1px;\n}\n\n::slotted(calcite-list-item:first-of-type) {\n @apply shadow-none;\n}\n\n// removes shadow for the first item in filteredItems of the list.\n::slotted(calcite-list-item[data-filter]) {\n @apply shadow-none;\n margin-block-start: 0px;\n}\n\n.sticky-pos {\n @apply sticky\n top-0\n z-sticky\n bg-foreground-1;\n & th {\n @apply p-0;\n }\n}\n\n.assistive-text {\n @apply sr-only;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport Sortable from \"sortablejs\";\nimport { debounce } from \"lodash-es\";\nimport { slotChangeHasAssignedElement, toAriaBoolean } from \"../../utils/dom\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { createObserver } from \"../../utils/observers\";\nimport { SelectionMode } from \"../interfaces\";\nimport { ItemData } from \"../list-item/interfaces\";\nimport { MAX_COLUMNS } from \"../list-item/resources\";\nimport { getListItemChildren, updateListItemChildren } from \"../list-item/utils\";\nimport { CSS, debounceTimeout, SelectionAppearance, SLOTS } from \"./resources\";\nimport {\n connectSortableComponent,\n disconnectSortableComponent,\n SortableComponent,\n dragActive,\n} from \"../../utils/sortableComponent\";\nimport { SLOTS as STACK_SLOTS } from \"../stack/resources\";\n\nconst listItemSelector = \"calcite-list-item\";\nconst listItemSelectorDirect = `:scope > calcite-list-item`;\nconst parentSelector = \"calcite-list-item-group, calcite-list-item\";\n\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { HandleNudge } from \"../handle/interfaces\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { ListMessages } from \"./assets/list/t9n\";\nimport { NumberingSystem, numberStringFormatter } from \"../../utils/locale\";\nimport { ListDragDetail } from \"./interfaces\";\n\n/**\n * A general purpose list that enables users to construct list items that conform to Calcite styling.\n *\n * @slot - A slot for adding `calcite-list-item` elements.\n * @slot filter-actions-start - A slot for adding actionable `calcite-action` elements before the filter component.\n * @slot filter-actions-end - A slot for adding actionable `calcite-action` elements after the filter component.\n */\n@Component({\n tag: \"calcite-list\",\n styleUrl: \"list.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class List\n implements InteractiveComponent, LoadableComponent, SortableComponent, T9nComponent\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * When provided, the method will be called to determine whether the element can move from the list.\n */\n @Prop() canPull: (detail: ListDragDetail) => boolean;\n\n /**\n * When provided, the method will be called to determine whether the element can be added from another list.\n */\n @Prop() canPut: (detail: ListDragDetail) => boolean;\n\n /**\n * When `true`, `calcite-list-item`s are sortable via a draggable button.\n */\n @Prop({ reflect: true }) dragEnabled = false;\n\n /**\n * The list's group identifier.\n *\n * To drag elements from one list into another, both lists must have the same group value.\n */\n @Prop({ reflect: true }) group?: string;\n\n /**\n * When `true`, an input appears at the top of the component that can be used by end users to filter `calcite-list-item`s.\n */\n @Prop({ reflect: true }) filterEnabled = false;\n\n /**\n * The currently filtered `calcite-list-item`s.\n *\n * @readonly\n */\n @Prop({ mutable: true }) filteredItems: HTMLCalciteListItemElement[] = [];\n\n /**\n * The currently filtered `calcite-list-item` data.\n *\n * @readonly\n */\n @Prop({ mutable: true }) filteredData: ItemData = [];\n\n /**\n * Placeholder text for the component's filter input field.\n */\n @Prop({ reflect: true }) filterPlaceholder: string;\n\n /**\n * Text for the component's filter input field.\n */\n @Prop({ reflect: true, mutable: true }) filterText: string;\n\n @Watch(\"filterText\")\n async handleFilterTextChange(): Promise<void> {\n this.performFilter();\n }\n\n /**\n * Specifies an accessible name for the component.\n */\n @Prop() label: string;\n\n /**\n * When `true`, a busy indicator is displayed.\n */\n @Prop({ reflect: true }) loading = false;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ListMessages>;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ListMessages;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * Specifies the Unicode numeral system used by the component for localization.\n */\n @Prop() numberingSystem: NumberingSystem;\n\n /**\n * One of the items within the list can be opened.\n *\n * @internal\n */\n @Prop() openable = false;\n\n /**\n * The currently selected items.\n *\n * @readonly\n */\n @Prop({ mutable: true }) selectedItems: HTMLCalciteListItemElement[] = [];\n\n /**\n * Specifies the selection mode - `\"multiple\"` (allow any number of selected items), `\"single\"` (allow one selected item), `\"single-persist\"` (allow one selected item and prevent de-selection), or `\"none\"` (no selected items).\n */\n @Prop({ reflect: true }) selectionMode: Extract<\n \"none\" | \"multiple\" | \"single\" | \"single-persist\",\n SelectionMode\n > = \"none\";\n\n /**\n * Specifies the selection appearance - `\"icon\"` (displays a checkmark or dot) or `\"border\"` (displays a border).\n */\n @Prop({ reflect: true }) selectionAppearance: SelectionAppearance = \"icon\";\n\n @Watch(\"filterEnabled\")\n @Watch(\"group\")\n @Watch(\"dragEnabled\")\n @Watch(\"selectionMode\")\n @Watch(\"selectionAppearance\")\n handleListItemChange(): void {\n this.updateListItems();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Emits when any of the list item selections have changed.\n */\n @Event({ cancelable: false }) calciteListChange: EventEmitter<void>;\n\n /**\n * Emits when the component's dragging has ended.\n */\n @Event({ cancelable: false }) calciteListDragEnd: EventEmitter<ListDragDetail>;\n\n /**\n * Emits when the component's dragging has started.\n */\n @Event({ cancelable: false }) calciteListDragStart: EventEmitter<ListDragDetail>;\n\n /**\n * Emits when the component's filter has changed.\n */\n @Event({ cancelable: false }) calciteListFilter: EventEmitter<void>;\n\n /**\n * Emitted when the order of the list has changed.\n */\n @Event({ cancelable: false }) calciteListOrderChange: EventEmitter<ListDragDetail>;\n\n /**\n * Emitted when the default slot has changes in order to notify parent lists.\n */\n @Event({ cancelable: false }) calciteInternalListDefaultSlotChange: EventEmitter<void>;\n\n @Listen(\"calciteInternalFocusPreviousItem\")\n handleCalciteInternalFocusPreviousItem(event: CustomEvent): void {\n if (this.parentListEl) {\n return;\n }\n\n event.stopPropagation();\n\n const { enabledListItems } = this;\n const currentIndex = enabledListItems.findIndex((listItem) => listItem.active);\n\n const prevIndex = currentIndex - 1;\n\n if (enabledListItems[prevIndex]) {\n this.focusRow(enabledListItems[prevIndex]);\n }\n }\n\n @Listen(\"calciteInternalListItemActive\")\n handleCalciteInternalListItemActive(event: CustomEvent): void {\n if (!!this.parentListEl) {\n return;\n }\n\n event.stopPropagation();\n const target = event.target as HTMLCalciteListItemElement;\n const { listItems } = this;\n\n listItems.forEach((listItem) => {\n listItem.active = listItem === target;\n });\n }\n\n @Listen(\"calciteListItemSelect\")\n handleCalciteListItemSelect(): void {\n if (!!this.parentListEl) {\n return;\n }\n\n this.updateSelectedItems(true);\n }\n\n @Listen(\"calciteInternalHandleChange\")\n handleCalciteInternalHandleChange(event: CustomEvent): void {\n this.assistiveText = event.detail.message;\n event.stopPropagation();\n }\n\n @Listen(\"calciteHandleNudge\")\n handleCalciteHandleNudge(event: CustomEvent<HandleNudge>): void {\n if (!!this.parentListEl) {\n return;\n }\n\n this.handleNudgeEvent(event);\n }\n\n @Listen(\"calciteInternalListItemSelect\")\n handleCalciteInternalListItemSelect(event: CustomEvent): void {\n if (!!this.parentListEl) {\n return;\n }\n\n event.stopPropagation();\n const target = event.target as HTMLCalciteListItemElement;\n const { listItems, selectionMode } = this;\n\n if (target.selected && (selectionMode === \"single\" || selectionMode === \"single-persist\")) {\n listItems.forEach((listItem) => (listItem.selected = listItem === target));\n }\n\n this.updateSelectedItems();\n }\n\n @Listen(\"calciteInternalListItemSelectMultiple\")\n handleCalciteInternalListItemSelectMultiple(\n event: CustomEvent<{\n selectMultiple: boolean;\n }>\n ): void {\n if (!!this.parentListEl) {\n return;\n }\n\n event.stopPropagation();\n const { target, detail } = event;\n const { enabledListItems, lastSelectedInfo } = this;\n const selectedItem = target as HTMLCalciteListItemElement;\n\n if (detail.selectMultiple && !!lastSelectedInfo) {\n const currentIndex = enabledListItems.indexOf(selectedItem);\n const lastSelectedIndex = enabledListItems.indexOf(lastSelectedInfo.selectedItem);\n const startIndex = Math.min(lastSelectedIndex, currentIndex);\n const endIndex = Math.max(lastSelectedIndex, currentIndex);\n\n enabledListItems\n .slice(startIndex, endIndex + 1)\n .forEach((item) => (item.selected = lastSelectedInfo.selected));\n } else {\n this.lastSelectedInfo = { selectedItem, selected: selectedItem.selected };\n }\n }\n\n @Listen(\"calciteInternalListItemChange\")\n handleCalciteInternalListItemChange(event: CustomEvent): void {\n if (!!this.parentListEl) {\n return;\n }\n\n event.stopPropagation();\n this.updateListItems();\n }\n\n @Listen(\"calciteInternalListItemGroupDefaultSlotChange\")\n handleCalciteInternalListItemGroupDefaultSlotChange(event: CustomEvent): void {\n event.stopPropagation();\n }\n\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n if (dragActive(this)) {\n return;\n }\n\n connectMessages(this);\n this.connectObserver();\n this.updateListItems();\n this.setUpSorting();\n connectInteractive(this);\n this.setParentList();\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n disconnectedCallback(): void {\n if (dragActive(this)) {\n return;\n }\n\n this.disconnectObserver();\n disconnectSortableComponent(this);\n disconnectInteractive(this);\n disconnectMessages(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ListMessages;\n\n @Element() el: HTMLCalciteListElement;\n\n @State() assistiveText: string;\n\n @State() dataForFilter: ItemData = [];\n\n dragSelector = \"calcite-list-item\";\n\n enabledListItems: HTMLCalciteListItemElement[] = [];\n\n filterEl: HTMLCalciteFilterElement;\n\n handleSelector = \"calcite-handle\";\n\n @State() hasFilterActionsEnd = false;\n\n @State() hasFilterActionsStart = false;\n\n listItems: HTMLCalciteListItemElement[] = [];\n\n mutationObserver = createObserver(\"mutation\", () => this.updateListItems());\n\n parentListEl: HTMLCalciteListElement;\n\n sortable: Sortable;\n\n private ancestorOfFirstFilteredItem: HTMLCalciteListItemElement;\n\n private lastSelectedInfo: { selectedItem: HTMLCalciteListItemElement; selected: boolean };\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /**\n * Sets focus on the component's first focusable element.\n *\n * @returns {Promise<void>}\n */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n\n if (this.filterEnabled) {\n return this.filterEl?.setFocus();\n }\n\n return this.enabledListItems.find((listItem) => listItem.active)?.setFocus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n const {\n loading,\n label,\n disabled,\n dataForFilter,\n filterEnabled,\n filterPlaceholder,\n filterText,\n hasFilterActionsStart,\n hasFilterActionsEnd,\n } = this;\n return (\n <div class={CSS.container}>\n {this.dragEnabled ? (\n <span aria-live=\"assertive\" class={CSS.assistiveText}>\n {this.assistiveText}\n </span>\n ) : null}\n {this.renderItemAriaLive()}\n {loading ? <calcite-scrim class={CSS.scrim} loading={loading} /> : null}\n <table\n aria-busy={toAriaBoolean(loading)}\n aria-label={label || \"\"}\n class={CSS.table}\n onKeyDown={this.handleListKeydown}\n role=\"treegrid\"\n >\n {filterEnabled || hasFilterActionsStart || hasFilterActionsEnd ? (\n <thead>\n <tr class={{ [CSS.sticky]: true }}>\n <th colSpan={MAX_COLUMNS}>\n <calcite-stack class={CSS.stack}>\n <slot\n name={SLOTS.filterActionsStart}\n onSlotchange={this.handleFilterActionsStartSlotChange}\n slot={STACK_SLOTS.actionsStart}\n />\n <calcite-filter\n aria-label={filterPlaceholder}\n disabled={disabled}\n items={dataForFilter}\n onCalciteFilterChange={this.handleFilterChange}\n placeholder={filterPlaceholder}\n value={filterText}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setFilterEl}\n />\n <slot\n name={SLOTS.filterActionsEnd}\n onSlotchange={this.handleFilterActionsEndSlotChange}\n slot={STACK_SLOTS.actionsEnd}\n />\n </calcite-stack>\n </th>\n </tr>\n </thead>\n ) : null}\n <tbody class={CSS.tableContainer}>\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </tbody>\n </table>\n </div>\n );\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private renderItemAriaLive(): VNode {\n const {\n messages,\n enabledListItems,\n parentListEl,\n effectiveLocale,\n numberingSystem,\n filterEnabled,\n filterText,\n filteredData,\n } = this;\n\n numberStringFormatter.numberFormatOptions = {\n locale: effectiveLocale,\n numberingSystem,\n };\n\n return !parentListEl ? (\n <div aria-live=\"polite\" class={CSS.assistiveText}>\n {filterEnabled && filterText && filteredData?.length ? (\n <div key=\"aria-filter-enabled\">{messages.filterEnabled}</div>\n ) : null}\n <div key=\"aria-item-count\">\n {messages.total.replace(\n \"{count}\",\n numberStringFormatter.localize(enabledListItems.length.toString())\n )}\n </div>\n {enabledListItems.length ? (\n <ol key=\"aria-item-list\">\n {enabledListItems.map((item) => (\n <li>{item.label}</li>\n ))}\n </ol>\n ) : null}\n </div>\n ) : null;\n }\n\n private connectObserver(): void {\n this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n }\n\n private disconnectObserver(): void {\n this.mutationObserver?.disconnect();\n }\n\n private setUpSorting(): void {\n const { dragEnabled } = this;\n\n if (!dragEnabled) {\n return;\n }\n\n connectSortableComponent(this);\n }\n\n onGlobalDragStart(): void {\n this.disconnectObserver();\n }\n\n onGlobalDragEnd(): void {\n this.connectObserver();\n }\n\n onDragEnd(detail: ListDragDetail): void {\n this.calciteListDragEnd.emit(detail);\n }\n\n onDragStart(detail: ListDragDetail): void {\n this.calciteListDragStart.emit(detail);\n }\n\n onDragSort(detail: ListDragDetail): void {\n this.setParentList();\n this.updateListItems();\n\n this.calciteListOrderChange.emit(detail);\n }\n\n private setParentList(): void {\n this.parentListEl = this.el.parentElement?.closest(\"calcite-list\");\n }\n\n private handleDefaultSlotChange = (event: Event): void => {\n updateListItemChildren(getListItemChildren(event.target as HTMLSlotElement));\n if (this.parentListEl) {\n this.calciteInternalListDefaultSlotChange.emit();\n }\n };\n\n private handleFilterActionsStartSlotChange = (event: Event): void => {\n this.hasFilterActionsStart = slotChangeHasAssignedElement(event);\n };\n\n private handleFilterActionsEndSlotChange = (event: Event): void => {\n this.hasFilterActionsEnd = slotChangeHasAssignedElement(event);\n };\n\n private setActiveListItem = (): void => {\n const { enabledListItems } = this;\n\n if (!enabledListItems.some((item) => item.active)) {\n if (enabledListItems[0]) {\n enabledListItems[0].active = true;\n }\n }\n };\n\n private updateSelectedItems = (emit = false): void => {\n this.selectedItems = this.enabledListItems.filter((item) => item.selected);\n if (emit) {\n this.calciteListChange.emit();\n }\n };\n\n private filterElements({\n el,\n filteredItems,\n visibleParents,\n }: {\n el: HTMLCalciteListItemElement | HTMLCalciteListItemGroupElement;\n filteredItems: HTMLCalciteListItemElement[];\n visibleParents: WeakSet<HTMLCalciteListItemElement | HTMLCalciteListItemGroupElement>;\n }): void {\n const hidden =\n !visibleParents.has(el) && !filteredItems.includes(el as HTMLCalciteListItemElement);\n\n el.hidden = hidden;\n\n const closestParent = el.parentElement.closest(parentSelector) as\n | HTMLCalciteListItemElement\n | HTMLCalciteListItemGroupElement;\n\n if (!closestParent) {\n return;\n }\n\n if (!hidden) {\n visibleParents.add(closestParent);\n }\n\n this.filterElements({\n el: closestParent,\n filteredItems,\n visibleParents,\n });\n }\n\n private updateFilteredItems = (emit = false): void => {\n const { listItems, filteredData, filterText } = this;\n\n const values = filteredData.map((item) => item.value);\n\n const lastDescendantItems = listItems?.filter((listItem) =>\n listItems.every((li) => li === listItem || !listItem.contains(li))\n );\n\n const filteredItems =\n listItems.filter((item) => !filterText || values.includes(item.value)) || [];\n\n const visibleParents = new WeakSet<HTMLElement>();\n\n lastDescendantItems.forEach((listItem) =>\n this.filterElements({ el: listItem, filteredItems, visibleParents })\n );\n\n if (filteredItems.length > 0) {\n this.findAncestorOfFirstFilteredItem(filteredItems);\n }\n\n this.filteredItems = filteredItems;\n\n if (emit) {\n this.calciteListFilter.emit();\n }\n };\n\n private updateFilteredData(emit = false): void {\n const { filterEl } = this;\n\n if (!filterEl) {\n return;\n }\n\n if (filterEl.filteredItems) {\n this.filteredData = filterEl.filteredItems as ItemData;\n }\n\n this.updateListItems(emit);\n }\n\n private async performFilter(): Promise<void> {\n const { filterEl, filterText } = this;\n\n if (!filterEl) {\n return;\n }\n\n filterEl.value = filterText;\n await filterEl.filter(filterText);\n this.updateFilteredData();\n }\n\n private setFilterEl = (el: HTMLCalciteFilterElement): void => {\n this.filterEl = el;\n this.performFilter();\n };\n\n private handleFilterChange = (event: CustomEvent): void => {\n event.stopPropagation();\n const { value } = event.currentTarget as HTMLCalciteFilterElement;\n this.filterText = value;\n this.updateFilteredData(true);\n };\n\n private getItemData = (): ItemData => {\n return this.listItems.map((item) => ({\n label: item.label,\n description: item.description,\n metadata: item.metadata,\n value: item.value,\n }));\n };\n\n private updateListItems = debounce((emit = false): void => {\n const { selectionAppearance, selectionMode, dragEnabled } = this;\n\n if (!!this.parentListEl) {\n const items = this.queryListItems(true);\n\n items.forEach((item) => {\n item.dragHandle = dragEnabled;\n });\n\n this.setUpSorting();\n return;\n }\n\n const items = this.queryListItems();\n items.forEach((item) => {\n item.selectionAppearance = selectionAppearance;\n item.selectionMode = selectionMode;\n });\n const dragItems = this.queryListItems(true);\n dragItems.forEach((item) => {\n item.dragHandle = dragEnabled;\n });\n this.listItems = items;\n if (this.filterEnabled) {\n this.dataForFilter = this.getItemData();\n if (this.filterEl) {\n this.filterEl.items = this.dataForFilter;\n }\n }\n this.updateFilteredItems(emit);\n this.enabledListItems = this.filteredItems.filter((item) => !item.disabled && !item.closed);\n this.setActiveListItem();\n this.updateSelectedItems(emit);\n this.setUpSorting();\n }, debounceTimeout);\n\n private queryListItems = (direct = false): HTMLCalciteListItemElement[] => {\n return Array.from(this.el.querySelectorAll(direct ? listItemSelectorDirect : listItemSelector));\n };\n\n private focusRow = (focusEl: HTMLCalciteListItemElement): void => {\n const { enabledListItems } = this;\n\n if (!focusEl) {\n return;\n }\n\n enabledListItems.forEach((listItem) => (listItem.active = listItem === focusEl));\n\n focusEl.setFocus();\n };\n\n private isNavigable = (listItem: HTMLCalciteListItemElement): boolean => {\n const parentListItemEl = listItem.parentElement?.closest(listItemSelector);\n\n if (!parentListItemEl) {\n return true;\n }\n\n return parentListItemEl.open && this.isNavigable(parentListItemEl);\n };\n\n private handleListKeydown = (event: KeyboardEvent): void => {\n if (event.defaultPrevented || !!this.parentListEl) {\n return;\n }\n\n const { key } = event;\n const filteredItems = this.enabledListItems.filter((listItem) => this.isNavigable(listItem));\n const currentIndex = filteredItems.findIndex((listItem) => listItem.active);\n\n if (key === \"ArrowDown\") {\n event.preventDefault();\n const nextIndex = event.target === this.filterEl ? 0 : currentIndex + 1;\n\n if (filteredItems[nextIndex]) {\n this.focusRow(filteredItems[nextIndex]);\n }\n } else if (key === \"ArrowUp\") {\n event.preventDefault();\n\n if (currentIndex === 0 && this.filterEnabled) {\n this.filterEl?.setFocus();\n return;\n }\n\n const prevIndex = currentIndex - 1;\n\n if (filteredItems[prevIndex]) {\n this.focusRow(filteredItems[prevIndex]);\n }\n } else if (key === \"Home\") {\n event.preventDefault();\n const homeItem = filteredItems[0];\n\n if (homeItem) {\n this.focusRow(homeItem);\n }\n } else if (key === \"End\") {\n event.preventDefault();\n const endItem = filteredItems[filteredItems.length - 1];\n\n if (endItem) {\n this.focusRow(endItem);\n }\n }\n };\n\n private findAncestorOfFirstFilteredItem = (filteredItems: HTMLCalciteListItemElement[]): void => {\n this.ancestorOfFirstFilteredItem?.removeAttribute(\"data-filter\");\n filteredItems.forEach((item) => {\n item.removeAttribute(\"data-filter\");\n });\n\n this.ancestorOfFirstFilteredItem = this.getTopLevelAncestorItemElement(filteredItems[0]);\n filteredItems[0].setAttribute(\"data-filter\", \"0\");\n this.ancestorOfFirstFilteredItem?.setAttribute(\"data-filter\", \"0\");\n };\n\n private getTopLevelAncestorItemElement = (\n el: HTMLCalciteListItemElement\n ): HTMLCalciteListItemElement | null => {\n let closestParent = el.parentElement.closest<HTMLCalciteListItemElement>(\"calcite-list-item\");\n\n while (closestParent) {\n const closestListItemAncestor =\n closestParent.parentElement.closest<HTMLCalciteListItemElement>(\"calcite-list-item\");\n\n if (closestListItemAncestor) {\n closestParent = closestListItemAncestor;\n } else {\n return closestParent;\n }\n }\n return null;\n };\n\n handleNudgeEvent(event: CustomEvent<HandleNudge>): void {\n const { direction } = event.detail;\n\n const composedPath = event.composedPath();\n\n const handle = composedPath.find(\n (el: HTMLElement) => el.tagName === \"CALCITE-HANDLE\"\n ) as HTMLCalciteHandleElement;\n\n const sortItem = composedPath.find(\n (el: HTMLElement) => el.tagName === \"CALCITE-LIST-ITEM\"\n ) as HTMLCalciteListItemElement;\n\n const parentEl = sortItem?.parentElement as HTMLCalciteListElement;\n\n if (!parentEl) {\n return;\n }\n\n const { enabledListItems } = this;\n\n const sameParentItems = enabledListItems.filter((item) => item.parentElement === parentEl);\n\n const lastIndex = sameParentItems.length - 1;\n const oldIndex = sameParentItems.indexOf(sortItem);\n let appendInstead = false;\n let newIndex: number;\n\n if (direction === \"up\") {\n if (oldIndex === 0) {\n appendInstead = true;\n newIndex = lastIndex;\n } else {\n newIndex = oldIndex - 1;\n }\n } else {\n if (oldIndex === lastIndex) {\n newIndex = 0;\n } else if (oldIndex === lastIndex - 1) {\n appendInstead = true;\n newIndex = lastIndex;\n } else {\n newIndex = oldIndex + 2;\n }\n }\n\n this.disconnectObserver();\n\n if (appendInstead) {\n parentEl.appendChild(sortItem);\n } else {\n parentEl.insertBefore(sortItem, sameParentItems[newIndex]);\n }\n\n this.updateListItems();\n this.connectObserver();\n\n this.calciteListOrderChange.emit({\n dragEl: sortItem,\n fromEl: parentEl,\n toEl: parentEl,\n newIndex,\n oldIndex,\n });\n\n handle.setFocus().then(() => {\n handle.activated = true;\n });\n }\n}\n",":host {\n @apply flex flex-col;\n --calcite-list-item-icon-color: theme(\"colors.brand\");\n --calcite-list-item-spacing-indent: theme(\"spacing.4\");\n}\n\n@include disabled();\n\n.container {\n @apply bg-foreground-1\n box-border\n flex\n flex-1 font-sans;\n * {\n @apply box-border;\n }\n padding-inline-start: calc(\n var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier)\n );\n}\n\n.container:hover {\n @apply bg-foreground-2 cursor-pointer;\n}\n\n.container:active {\n @apply bg-foreground-1;\n}\n\n.container--border-selected {\n border-inline-start: theme(\"borderWidth.4\") solid theme(\"colors.brand\");\n}\n\n.container--border-unselected {\n border-inline-start: theme(\"borderWidth.4\") solid transparent;\n}\n\n.nested-container {\n @apply bg-foreground-1 flex flex-col;\n}\n\n.nested-container--hidden {\n @apply hidden;\n}\n\n.content-container {\n @apply text-color-2\n select-none\n flex\n flex-auto\n font-sans\n font-normal\n items-stretch\n p-0;\n}\n\ntr,\ntd {\n @apply focus-base;\n}\n\ntr:focus,\ntd:focus {\n @apply focus-inset;\n}\n\n.content,\n.custom-content {\n @apply text-n2-wrap\n flex\n flex-auto\n flex-col\n justify-center\n px-3\n py-2;\n}\n\n.label,\n.description,\n.content-bottom {\n @apply text-n2 word-break font-sans font-normal;\n &:only-child {\n @apply m-0 py-1;\n }\n}\n\n.label {\n @apply text-color-1;\n}\n\n.description {\n @apply text-color-3 mt-0.5;\n}\n\n.content-start {\n @apply justify-start;\n}\n\n.content-end {\n @apply justify-end;\n}\n\n.content-start,\n.content-end {\n @apply flex-auto;\n}\n\n.content-bottom {\n @apply bg-foreground-1 flex flex-col;\n padding-inline-start: calc(\n var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier)\n );\n}\n\n.content-container--has-center-content .content-start,\n.content-container--has-center-content .content-end {\n @apply flex-initial;\n}\n\n.selection-container {\n @apply flex px-3;\n color: var(--calcite-list-item-icon-color);\n}\n\n.actions-start,\n.actions-end,\n.content-start,\n.content-end,\n.selection-container,\n.drag-container,\n.open-container {\n @apply flex items-center;\n}\n\n.open-container,\n.selection-container {\n @apply cursor-pointer;\n}\n\n.content-start,\n.content-end {\n ::slotted(calcite-icon) {\n @apply self-center mx-3;\n }\n}\n\n.actions-start,\n.actions-end {\n ::slotted(calcite-action),\n ::slotted(calcite-action-menu),\n ::slotted(calcite-handle),\n ::slotted(calcite-dropdown) {\n @apply self-stretch;\n\n color: inherit;\n }\n}\n\n::slotted(calcite-list-item) {\n @apply border-solid border-0 border-t border-color-3;\n}\n\n::slotted(calcite-list:empty) {\n @apply py-3;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport {\n getElementDir,\n getFirstTabbable,\n slotChangeHasAssignedElement,\n toAriaBoolean,\n} from \"../../utils/dom\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { SelectionMode } from \"../interfaces\";\nimport { SelectionAppearance } from \"../list/resources\";\nimport { CSS, ICONS, SLOTS } from \"./resources\";\nimport {\n getDepth,\n getListItemChildren,\n getListItemChildLists,\n updateListItemChildren,\n} from \"./utils\";\nimport { connectLocalized, disconnectLocalized, LocalizedComponent } from \"../../utils/locale\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { ListItemMessages } from \"./assets/list-item/t9n\";\n\nconst focusMap = new Map<HTMLCalciteListElement, number>();\n\nconst listSelector = \"calcite-list\";\n\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport { SortableComponentItem } from \"../../utils/sortableComponent\";\n\n/**\n * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.\n * @slot actions-start - A slot for adding actionable `calcite-action` elements before the content of the component.\n * @slot content-start - A slot for adding non-actionable elements before the label and description of the component.\n * @slot content - A slot for adding non-actionable, centered content in place of the `label` and `description` of the component.\n * @slot content-end - A slot for adding non-actionable elements after the label and description of the component.\n * @slot actions-end - A slot for adding actionable `calcite-action` elements after the content of the component.\n * @slot content-bottom - A slot for adding content below the component's `label` and `description`.\n */\n@Component({\n tag: \"calcite-list-item\",\n styleUrl: \"list-item.scss\",\n shadow: true,\n assetsDirs: [\"assets\"],\n})\nexport class ListItem\n implements\n InteractiveComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent,\n SortableComponentItem\n{\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * Sets the item as focusable. Only one item should be focusable within a list.\n *\n * @internal\n */\n @Prop() active = false;\n\n @Watch(\"active\")\n activeHandler(active: boolean): void {\n if (!active) {\n this.focusCell(null, false);\n }\n }\n\n /** When `true`, a close button is added to the component. */\n @Prop({ reflect: true }) closable = false;\n\n /** When `true`, hides the component. */\n @Prop({ reflect: true, mutable: true }) closed = false;\n\n @Watch(\"closed\")\n handleClosedChange(): void {\n this.emitCalciteInternalListItemChange();\n }\n\n /**\n * A description for the component. Displays below the label text.\n */\n @Prop() description: string;\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n @Watch(\"disabled\")\n handleDisabledChange(): void {\n this.emitCalciteInternalListItemChange();\n }\n\n /**\n * When `true`, the item is not draggable.\n */\n @Prop({ reflect: true }) dragDisabled = false;\n\n /**\n * When `true`, the component displays a draggable button.\n *\n * @internal\n */\n @Prop() dragHandle = false;\n\n /**\n * The label text of the component. Displays above the description text.\n */\n @Prop() label: string;\n\n /**\n * Provides additional metadata to the component. Primary use is for a filter on the parent `calcite-list`.\n */\n @Prop() metadata: Record<string, unknown>;\n\n /**\n * When `true`, the item is open to show child components.\n */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * Used to specify the aria-setsize attribute to define the number of items in the current set of list for accessibility.\n *\n * @internal\n */\n @Prop() setSize: number = null;\n\n /**\n * Used to specify the aria-posinset attribute to define the number or position in the current set of list items for accessibility.\n *\n * @internal\n */\n @Prop() setPosition: number = null;\n\n /**\n * When `true` and the parent `calcite-list`'s `selectionMode` is `\"single\"`, `\"single-persist\"', or `\"multiple\"`, the component is selected.\n */\n @Prop({ reflect: true, mutable: true }) selected = false;\n\n @Watch(\"selected\")\n handleSelectedChange(): void {\n this.calciteInternalListItemSelect.emit();\n }\n\n /**\n * The component's value.\n */\n @Prop() value: any;\n\n /**\n * Specifies the selection mode - `\"multiple\"` (allow any number of selected items), `\"single\"` (allow one selected item), `\"single-persist\"` (allow one selected item and prevent de-selection), or `\"none\"` (no selected items).\n *\n * @internal\n */\n @Prop({ mutable: true }) selectionMode: Extract<\n \"none\" | \"multiple\" | \"single\" | \"single-persist\",\n SelectionMode\n > = null;\n\n /**\n * Specifies the selection appearance - `\"icon\"` (displays a checkmark or dot) or `\"border\"` (displays a border).\n *\n * @internal\n */\n @Prop({ mutable: true }) selectionAppearance: SelectionAppearance = null;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<ListItemMessages>;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: ListItemMessages;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Emits when the item's content is selected.\n */\n @Event({ cancelable: false }) calciteListItemSelect: EventEmitter<void>;\n\n /**\n * Fires when the close button is clicked.\n */\n @Event({ cancelable: false }) calciteListItemClose: EventEmitter<void>;\n\n /**\n * Fires when the open button is clicked.\n */\n @Event({ cancelable: false }) calciteListItemToggle: EventEmitter<void>;\n\n /**\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalListItemSelect: EventEmitter<void>;\n\n /**\n *\n * @internal\n */\n @Event({ cancelable: false })\n calciteInternalListItemSelectMultiple: EventEmitter<{\n selectMultiple: boolean;\n }>;\n\n /**\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalListItemActive: EventEmitter<void>;\n\n /**\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalFocusPreviousItem: EventEmitter<void>;\n\n /**\n *\n * @internal\n */\n @Event({ cancelable: false }) calciteInternalListItemChange: EventEmitter<void>;\n\n @Listen(\"calciteInternalListItemGroupDefaultSlotChange\")\n @Listen(\"calciteInternalListDefaultSlotChange\")\n handleCalciteInternalListDefaultSlotChanges(event: CustomEvent<void>): void {\n event.stopPropagation();\n this.handleOpenableChange(this.defaultSlotEl);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteListItemElement;\n\n @State() effectiveLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleChange(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n @State() defaultMessages: ListItemMessages;\n\n @State() level: number = null;\n\n @State() visualLevel: number = null;\n\n @State() parentListEl: HTMLCalciteListElement;\n\n @State() openable = false;\n\n @State() hasActionsStart = false;\n\n @State() hasActionsEnd = false;\n\n @State() hasCustomContent = false;\n\n @State() hasContentStart = false;\n\n @State() hasContentEnd = false;\n\n @State() hasContentBottom = false;\n\n containerEl: HTMLTableRowElement;\n\n contentEl: HTMLTableCellElement;\n\n actionsStartEl: HTMLTableCellElement;\n\n actionsEndEl: HTMLTableCellElement;\n\n handleGridEl: HTMLTableCellElement;\n\n defaultSlotEl: HTMLSlotElement;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectInteractive(this);\n connectLocalized(this);\n connectMessages(this);\n const { el } = this;\n this.parentListEl = el.closest(listSelector);\n this.level = getDepth(el) + 1;\n this.visualLevel = getDepth(el, true);\n this.setSelectionDefaults();\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n\n /** Sets focus on the component. */\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n const { containerEl, parentListEl } = this;\n const focusIndex = focusMap.get(parentListEl);\n\n if (typeof focusIndex === \"number\") {\n const cells = this.getGridCells();\n if (cells[focusIndex]) {\n this.focusCell(cells[focusIndex]);\n } else {\n containerEl?.focus();\n }\n return;\n }\n\n containerEl?.focus();\n }\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n renderSelected(): VNode {\n const { selected, selectionMode, selectionAppearance } = this;\n\n if (selectionMode === \"none\" || selectionAppearance === \"border\") {\n return null;\n }\n\n return (\n <td class={CSS.selectionContainer} key=\"selection-container\" onClick={this.handleItemClick}>\n <calcite-icon\n icon={\n selected\n ? selectionMode === \"multiple\"\n ? ICONS.selectedMultiple\n : ICONS.selectedSingle\n : ICONS.unselected\n }\n scale=\"s\"\n />\n </td>\n );\n }\n\n renderDragHandle(): VNode {\n const { label, dragHandle, dragDisabled, setPosition, setSize } = this;\n\n return dragHandle ? (\n <td\n aria-label={label}\n class={CSS.dragContainer}\n key=\"drag-handle-container\"\n role=\"gridcell\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.handleGridEl = el)}\n >\n <calcite-handle\n disabled={dragDisabled}\n label={label}\n setPosition={setPosition}\n setSize={setSize}\n />\n </td>\n ) : null;\n }\n\n renderOpen(): VNode {\n const { el, open, openable, parentListEl } = this;\n const dir = getElementDir(el);\n\n const icon = openable\n ? open\n ? ICONS.open\n : dir === \"rtl\"\n ? ICONS.closedRTL\n : ICONS.closedLTR\n : ICONS.blank;\n\n const clickHandler = openable ? this.handleToggleClick : this.handleItemClick;\n\n return openable || parentListEl?.openable ? (\n <td class={CSS.openContainer} key=\"open-container\" onClick={clickHandler}>\n <calcite-icon icon={icon} key={icon} scale=\"s\" />\n </td>\n ) : null;\n }\n\n renderActionsStart(): VNode {\n const { label, hasActionsStart } = this;\n return (\n <td\n aria-label={label}\n class={CSS.actionsStart}\n hidden={!hasActionsStart}\n key=\"actions-start-container\"\n role=\"gridcell\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.actionsStartEl = el)}\n >\n <slot name={SLOTS.actionsStart} onSlotchange={this.handleActionsStartSlotChange} />\n </td>\n );\n }\n\n renderActionsEnd(): VNode {\n const { label, hasActionsEnd, closable, messages } = this;\n return (\n <td\n aria-label={label}\n class={CSS.actionsEnd}\n hidden={!(hasActionsEnd || closable)}\n key=\"actions-end-container\"\n role=\"gridcell\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.actionsEndEl = el)}\n >\n <slot name={SLOTS.actionsEnd} onSlotchange={this.handleActionsEndSlotChange} />\n {closable ? (\n <calcite-action\n appearance=\"transparent\"\n icon={ICONS.close}\n key=\"close-action\"\n label={messages.close}\n onClick={this.handleCloseClick}\n text={messages.close}\n />\n ) : null}\n </td>\n );\n }\n\n renderContentStart(): VNode {\n const { hasContentStart } = this;\n return (\n <div class={CSS.contentStart} hidden={!hasContentStart}>\n <slot name={SLOTS.contentStart} onSlotchange={this.handleContentStartSlotChange} />\n </div>\n );\n }\n\n renderCustomContent(): VNode {\n const { hasCustomContent } = this;\n return (\n <div class={CSS.customContent} hidden={!hasCustomContent}>\n <slot name={SLOTS.content} onSlotchange={this.handleContentSlotChange} />\n </div>\n );\n }\n\n renderContentEnd(): VNode {\n const { hasContentEnd } = this;\n return (\n <div class={CSS.contentEnd} hidden={!hasContentEnd}>\n <slot name={SLOTS.contentEnd} onSlotchange={this.handleContentEndSlotChange} />\n </div>\n );\n }\n\n renderContentBottom(): VNode {\n const { hasContentBottom, visualLevel } = this;\n return (\n <div\n class={CSS.contentBottom}\n hidden={!hasContentBottom}\n style={{ \"--calcite-list-item-spacing-indent-multiplier\": `${visualLevel}` }}\n >\n <slot name={SLOTS.contentBottom} onSlotchange={this.handleContentBottomSlotChange} />\n </div>\n );\n }\n\n renderDefaultContainer(): VNode {\n return (\n <div\n class={{\n [CSS.nestedContainer]: true,\n [CSS.nestedContainerHidden]: this.openable && !this.open,\n }}\n >\n <slot\n onSlotchange={this.handleDefaultSlotChange}\n ref={(el: HTMLSlotElement) => (this.defaultSlotEl = el)}\n />\n </div>\n );\n }\n\n renderContentProperties(): VNode {\n const { label, description, hasCustomContent } = this;\n\n return !hasCustomContent && (!!label || !!description) ? (\n <div class={CSS.content} key=\"content\">\n {label ? (\n <div class={CSS.label} key=\"label\">\n {label}\n </div>\n ) : null}\n {description ? (\n <div class={CSS.description} key=\"description\">\n {description}\n </div>\n ) : null}\n </div>\n ) : null;\n }\n\n renderContentContainer(): VNode {\n const { description, label, selectionMode, hasCustomContent } = this;\n const hasCenterContent = hasCustomContent || !!label || !!description;\n const content = [\n this.renderContentStart(),\n this.renderCustomContent(),\n this.renderContentProperties(),\n this.renderContentEnd(),\n ];\n\n return (\n <td\n aria-label={label}\n class={{\n [CSS.contentContainer]: true,\n [CSS.contentContainerSelectable]: selectionMode !== \"none\",\n [CSS.contentContainerHasCenterContent]: hasCenterContent,\n }}\n key=\"content-container\"\n onClick={this.handleItemClick}\n role=\"gridcell\"\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.contentEl = el)}\n >\n {content}\n </td>\n );\n }\n\n render(): VNode {\n const {\n openable,\n open,\n level,\n setPosition,\n setSize,\n active,\n label,\n selected,\n selectionAppearance,\n selectionMode,\n closed,\n visualLevel,\n } = this;\n\n const showBorder = selectionMode !== \"none\" && selectionAppearance === \"border\";\n const borderSelected = showBorder && selected;\n const borderUnselected = showBorder && !selected;\n\n return (\n <Host>\n <tr\n aria-expanded={openable ? toAriaBoolean(open) : null}\n aria-label={label}\n aria-level={level}\n aria-posinset={setPosition}\n aria-selected={toAriaBoolean(selected)}\n aria-setsize={setSize}\n class={{\n [CSS.container]: true,\n [CSS.containerBorderSelected]: borderSelected,\n [CSS.containerBorderUnselected]: borderUnselected,\n }}\n hidden={closed}\n onFocus={this.focusCellNull}\n onKeyDown={this.handleItemKeyDown}\n role=\"row\"\n style={{ \"--calcite-list-item-spacing-indent-multiplier\": `${visualLevel}` }}\n tabIndex={active ? 0 : -1}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={(el) => (this.containerEl = el)}\n >\n {this.renderDragHandle()}\n {this.renderSelected()}\n {this.renderOpen()}\n {this.renderActionsStart()}\n {this.renderContentContainer()}\n {this.renderActionsEnd()}\n </tr>\n {this.renderContentBottom()}\n {this.renderDefaultContainer()}\n </Host>\n );\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private emitCalciteInternalListItemChange(): void {\n this.calciteInternalListItemChange.emit();\n }\n\n private handleCloseClick = (): void => {\n this.closed = true;\n this.calciteListItemClose.emit();\n };\n\n private handleContentSlotChange = (event: Event): void => {\n this.hasCustomContent = slotChangeHasAssignedElement(event);\n };\n\n private handleActionsStartSlotChange = (event: Event): void => {\n this.hasActionsStart = slotChangeHasAssignedElement(event);\n };\n\n private handleActionsEndSlotChange = (event: Event): void => {\n this.hasActionsEnd = slotChangeHasAssignedElement(event);\n };\n\n private handleContentStartSlotChange = (event: Event): void => {\n this.hasContentStart = slotChangeHasAssignedElement(event);\n };\n\n private handleContentEndSlotChange = (event: Event): void => {\n this.hasContentEnd = slotChangeHasAssignedElement(event);\n };\n\n private handleContentBottomSlotChange = (event: Event): void => {\n this.hasContentBottom = slotChangeHasAssignedElement(event);\n };\n\n private setSelectionDefaults(): void {\n const { parentListEl, selectionMode, selectionAppearance } = this;\n\n if (!parentListEl) {\n return;\n }\n\n if (!selectionMode) {\n this.selectionMode = parentListEl.selectionMode;\n }\n\n if (!selectionAppearance) {\n this.selectionAppearance = parentListEl.selectionAppearance;\n }\n }\n\n private handleOpenableChange(slotEl: HTMLSlotElement): void {\n if (!slotEl) {\n return;\n }\n\n const { parentListEl } = this;\n const listItemChildren = getListItemChildren(slotEl);\n const listItemChildLists = getListItemChildLists(slotEl);\n updateListItemChildren(listItemChildren);\n const openable = !!listItemChildren.length || !!listItemChildLists.length;\n\n if (openable && parentListEl && !parentListEl.openable) {\n parentListEl.openable = true;\n }\n\n this.openable = openable;\n\n if (!openable) {\n this.open = false;\n }\n }\n\n private handleDefaultSlotChange = (event: Event): void => {\n this.handleOpenableChange(event.target as HTMLSlotElement);\n };\n\n private handleToggleClick = (): void => {\n this.toggle();\n };\n\n private toggle = (value = !this.open): void => {\n this.open = value;\n this.calciteListItemToggle.emit();\n };\n\n private handleItemClick = (event: PointerEvent): void => {\n if (event.defaultPrevented) {\n return;\n }\n\n this.toggleSelected(event.shiftKey);\n this.calciteInternalListItemActive.emit();\n };\n\n private toggleSelected = (shiftKey: boolean): void => {\n const { selectionMode, selected } = this;\n\n if (this.disabled) {\n return;\n }\n\n if (selectionMode === \"multiple\" || selectionMode === \"single\") {\n this.selected = !selected;\n } else if (selectionMode === \"single-persist\") {\n this.selected = true;\n }\n\n this.calciteInternalListItemSelectMultiple.emit({\n selectMultiple: shiftKey && selectionMode === \"multiple\",\n });\n this.calciteListItemSelect.emit();\n };\n\n private getGridCells(): HTMLTableCellElement[] {\n return [this.handleGridEl, this.actionsStartEl, this.contentEl, this.actionsEndEl].filter(\n (el) => el && !el.hidden\n );\n }\n\n private handleItemKeyDown = (event: KeyboardEvent): void => {\n if (event.defaultPrevented) {\n return;\n }\n\n const { key } = event;\n const composedPath = event.composedPath();\n const { containerEl, actionsStartEl, actionsEndEl, open, openable } = this;\n\n const cells = this.getGridCells();\n const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));\n\n if (\n key === \"Enter\" &&\n !composedPath.includes(actionsStartEl) &&\n !composedPath.includes(actionsEndEl)\n ) {\n event.preventDefault();\n this.toggleSelected(event.shiftKey);\n } else if (key === \"ArrowRight\") {\n event.preventDefault();\n const nextIndex = currentIndex + 1;\n if (currentIndex === -1) {\n if (!open && openable) {\n this.toggle(true);\n this.focusCell(null);\n } else if (cells[0]) {\n this.focusCell(cells[0]);\n }\n } else if (cells[currentIndex] && cells[nextIndex]) {\n this.focusCell(cells[nextIndex]);\n }\n } else if (key === \"ArrowLeft\") {\n event.preventDefault();\n const prevIndex = currentIndex - 1;\n if (currentIndex === -1) {\n this.focusCell(null);\n if (open && openable) {\n this.toggle(false);\n } else {\n this.calciteInternalFocusPreviousItem.emit();\n }\n } else if (currentIndex === 0) {\n this.focusCell(null);\n containerEl.focus();\n } else if (cells[currentIndex] && cells[prevIndex]) {\n this.focusCell(cells[prevIndex]);\n }\n }\n };\n\n private focusCellNull = (): void => {\n this.focusCell(null);\n };\n\n private focusCell = (focusEl: HTMLTableCellElement, saveFocusIndex = true): void => {\n const { parentListEl } = this;\n\n if (saveFocusIndex) {\n focusMap.set(parentListEl, null);\n }\n\n const focusedEl = getFirstTabbable(focusEl);\n\n this.getGridCells().forEach((tableCell, cellIndex) => {\n // Only one cell within a list-item should be focusable at a time. Ensures the active cell is focusable.\n if (tableCell === focusEl) {\n tableCell.tabIndex = focusEl === focusedEl ? 0 : -1;\n saveFocusIndex && focusMap.set(parentListEl, cellIndex);\n } else {\n tableCell.tabIndex = -1;\n }\n });\n\n focusedEl?.focus();\n };\n}\n","export const CSS = {\n container: \"container\",\n heading: \"heading\",\n};\n",":host {\n @apply flex flex-col bg-foreground-1;\n --calcite-list-item-spacing-indent: theme(\"spacing.4\");\n}\n\n@include disabled();\n\n.container {\n @apply bg-foreground-2 text-n1 text-color-2 m-0 flex flex-1 p-3 font-sans font-bold;\n}\n\n.heading {\n padding-inline-start: calc(\n var(--calcite-list-item-spacing-indent) * var(--calcite-list-item-spacing-indent-multiplier)\n );\n}\n\n::slotted(calcite-list-item) {\n @apply shadow-border-top;\n margin-block-start: 1px;\n}\n\n// removes shadow for the first item of the group for both filtered and unfiltered items.\n::slotted(calcite-list-item:nth-child(1 of :not([hidden]))) {\n @apply shadow-none;\n margin-block-start: 0px;\n}\n\n@include base-component();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n VNode,\n} from \"@stencil/core\";\nimport {\n connectInteractive,\n disconnectInteractive,\n InteractiveComponent,\n updateHostInteraction,\n} from \"../../utils/interactive\";\nimport { MAX_COLUMNS } from \"../list-item/resources\";\nimport { getDepth } from \"../list-item/utils\";\nimport { CSS } from \"./resources\";\n/**\n * @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.\n */\n@Component({\n tag: \"calcite-list-item-group\",\n styleUrl: \"list-item-group.scss\",\n shadow: true,\n})\nexport class ListItemGroup implements InteractiveComponent {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The header text for all nested `calcite-list-item` rows.\n *\n */\n @Prop({ reflect: true }) heading: string;\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n /**\n * Emitted when the default slot has changes in order to notify parent lists.\n */\n @Event({ cancelable: false })\n calciteInternalListItemGroupDefaultSlotChange: EventEmitter<DragEvent>;\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n\n connectedCallback(): void {\n const { el } = this;\n this.visualLevel = getDepth(el, true);\n connectInteractive(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n disconnectedCallback(): void {\n disconnectInteractive(this);\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteListItemGroupElement;\n\n @State() visualLevel: number = null;\n\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n\n render(): VNode {\n const { heading, visualLevel } = this;\n return (\n <Host>\n <tr\n class={CSS.container}\n style={{ \"--calcite-list-item-spacing-indent-multiplier\": `${visualLevel}` }}\n >\n <td class={CSS.heading} colSpan={MAX_COLUMNS}>\n {heading}\n </td>\n </tr>\n <slot onSlotchange={this.handleDefaultSlotChange} />\n </Host>\n );\n }\n\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n\n private handleDefaultSlotChange = (): void => {\n this.calciteInternalListItemGroupDefaultSlotChange.emit();\n };\n}\n"],"mappings":";;;;;skBAAO,MAAMA,EAAM,CACjBC,UAAW,YACXC,wBAAyB,6BACzBC,0BAA2B,+BAC3BC,iBAAkB,oBAClBC,2BAA4B,gCAC5BC,iCAAkC,wCAClCC,gBAAiB,mBACjBC,sBAAuB,2BACvBC,QAAS,UACTC,cAAe,iBACfC,aAAc,gBACdC,aAAc,gBACdC,MAAO,QACPC,YAAa,cACbC,WAAY,cACZC,cAAe,iBACfC,WAAY,cACZC,mBAAoB,sBACpBC,cAAe,iBACfC,cAAe,kBAGV,MAAMC,EAAQ,CACnBV,aAAc,gBACdC,aAAc,gBACdH,QAAS,UACTO,cAAe,iBACfD,WAAY,cACZE,WAAY,eAIP,MAAMK,EAAc,EAEpB,MAAMC,EAAQ,CACnBC,iBAAkB,iBAClBC,eAAgB,WAChBC,WAAY,QACZC,UAAW,cACXC,UAAW,aACXC,KAAM,aACNC,MAAO,QACPC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ACzB,MAAMjC,EAAmBR,EAAoBR,GAC7C,MAAMoV,EAAqBrV,EAAsBC,GACjDmB,EAAuBH,GACvB,MAAMsQ,IAAatQ,EAAiBS,UAAY2T,EAAmB3T,OAEnE,GAAI6P,GAAY1N,IAAiBA,EAAa0N,SAAU,CACtD1N,EAAa0N,SAAW,I,CAG1BrO,KAAKqO,SAAWA,EAEhB,IAAKA,EAAU,CACbrO,KAAKxD,KAAO,K,EA6CR,YAAA+R,GACN,MAAO,CAACvO,KAAKyQ,aAAczQ,KAAKmO,eAAgBnO,KAAK4R,UAAW5R,KAAKoO,cAAchR,QAChFC,GAAOA,IAAOA,EAAG2N,Q,uTClxBjB,MAAMrQ,EAAM,CACjBC,UAAW,YACXwX,QAAS,WCFX,MAAMC,EAAmB,q2C,MC4BZC,EAAa,M,sIAyFhBtS,KAAAQ,wBAA0B,KAChCR,KAAKuS,8CAA8C1R,MAAM,E,cAhFvB,M,wCAgDL,I,CAtB/B,iBAAAqG,GACE,MAAM7J,GAAEA,GAAO2C,KACfA,KAAK8P,YAAcrR,EAASpB,EAAI,MAChCiK,EAAmBtH,K,CAGrB,kBAAA2H,GACEC,EAAsB5H,K,CAGxB,oBAAA+H,GACEG,EAAsBlI,K,CAmBxB,MAAAyI,GACE,MAAM2J,QAAEA,EAAOtC,YAAEA,GAAgB9P,KACjC,OACE4I,EAACoJ,EAAI,KACHpJ,EAAA,MACEC,MAAOlO,EAAIC,UACX2W,MAAO,CAAE,gDAAiD,GAAGzB,MAE7DlH,EAAA,MAAIC,MAAOlO,EAAIyX,QAASlJ,QAASjN,GAC9BmW,IAGLxJ,EAAA,QAAMQ,aAAcpJ,KAAKQ,0B"}
|
|
@@ -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.1.0
|
|
5
|
+
*/
|
|
6
|
+
import{d as e}from"./p-9b282d68.js";import"./p-6814fe4e.js";import"./p-d7a7af58.js";import"./p-5a8a5fa9.js";import"./p-83529fb3.js";import"./p-6f9571fc.js";import"./p-589ff207.js";import"./p-887fdedb.js";import"./p-c7cd4203.js";import"./p-6f6169e5.js";import"./p-20bc23bc.js";import"./p-fcd856d6.js";import"./p-07167add.js";import"./p-7a3ff8c1.js";import"./p-691cefaa.js";import"./p-2b84c5ba.js";import"./p-aee3d5a2.js";import"./p-25e9e523.js";import"./p-599d8bf9.js";function r(e){return e%100==2}function t(e){return e%100==3||e%100==4}function m(e,m,n,a){var i=e+" ";switch(n){case"s":return m||a?"nekaj sekund":"nekaj sekundami";case"m":return m?"ena minuta":"eno minuto";case"mm":if(r(e)){return i+(m||a?"minuti":"minutama")}if(t(e)){return i+(m||a?"minute":"minutami")}return i+(m||a?"minut":"minutami");case"h":return m?"ena ura":a?"eno uro":"eno uro";case"hh":if(r(e)){return i+(m||a?"uri":"urama")}if(t(e)){return i+(m||a?"ure":"urami")}return i+(m||a?"ur":"urami");case"d":return m||a?"en dan":"enim dnem";case"dd":if(r(e)){return i+(m||a?"dneva":"dnevoma")}return i+(m||a?"dni":"dnevi");case"M":return m||a?"en mesec":"enim mesecem";case"MM":if(r(e)){return i+(m||a?"meseca":"mesecema")}if(t(e)){return i+(m||a?"mesece":"meseci")}return i+(m||a?"mesecev":"meseci");case"y":return m||a?"eno leto":"enim letom";case"yy":if(r(e)){return i+(m||a?"leti":"letoma")}if(t(e)){return i+(m||a?"leta":"leti")}return i+(m||a?"let":"leti")}}var n={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function e(r){return r+"."},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",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m}};e.locale(n,null,true);export default n;
|
|
7
|
+
//# sourceMappingURL=p-5f2bae83.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["dual","n","threeFour","translate","number","withoutSuffix","key","isFuture","result","locale","name","weekdays","split","months","weekStart","weekdaysShort","monthsShort","weekdaysMin","ordinal","formats","LT","LTS","L","LL","LLL","LLLL","l","relativeTime","future","past","s","m","mm","h","hh","d","dd","M","MM","y","yy","dayjs"],"sources":["../../node_modules/dayjs/esm/locale/sl.js"],"sourcesContent":["// Slovenian [sl]\nimport dayjs from '../index';\n\nfunction dual(n) {\n return n % 100 == 2; // eslint-disable-line\n}\n\nfunction threeFour(n) {\n return n % 100 == 3 || n % 100 == 4; // eslint-disable-line\n}\n/* eslint-disable */\n\n\nfunction translate(number, withoutSuffix, key, isFuture) {\n var result = number + \" \";\n\n switch (key) {\n case 's':\n // a few seconds / in a few seconds / a few seconds ago\n return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';\n\n case 'm':\n // a minute / in a minute / a minute ago\n return withoutSuffix ? 'ena minuta' : 'eno minuto';\n\n case 'mm':\n // 9 minutes / in 9 minutes / 9 minutes ago\n if (dual(number)) {\n return result + (withoutSuffix || isFuture ? 'minuti' : 'minutama');\n }\n\n if (threeFour(number)) {\n return result + (withoutSuffix || isFuture ? 'minute' : 'minutami');\n }\n\n return result + (withoutSuffix || isFuture ? 'minut' : 'minutami');\n\n case 'h':\n // an hour / in an hour / an hour ago\n return withoutSuffix ? 'ena ura' : isFuture ? 'eno uro' : 'eno uro';\n\n case 'hh':\n // 9 hours / in 9 hours / 9 hours ago\n if (dual(number)) {\n return result + (withoutSuffix || isFuture ? 'uri' : 'urama');\n }\n\n if (threeFour(number)) {\n return result + (withoutSuffix || isFuture ? 'ure' : 'urami');\n }\n\n return result + (withoutSuffix || isFuture ? 'ur' : 'urami');\n\n case 'd':\n // a day / in a day / a day ago\n return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';\n\n case 'dd':\n // 9 days / in 9 days / 9 days ago\n if (dual(number)) {\n return result + (withoutSuffix || isFuture ? 'dneva' : 'dnevoma');\n }\n\n return result + (withoutSuffix || isFuture ? 'dni' : 'dnevi');\n\n case 'M':\n // a month / in a month / a month ago\n return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';\n\n case 'MM':\n // 9 months / in 9 months / 9 months ago\n if (dual(number)) {\n // 2 minutes / in 2 minutes\n return result + (withoutSuffix || isFuture ? 'meseca' : 'mesecema');\n }\n\n if (threeFour(number)) {\n return result + (withoutSuffix || isFuture ? 'mesece' : 'meseci');\n }\n\n return result + (withoutSuffix || isFuture ? 'mesecev' : 'meseci');\n\n case 'y':\n // a year / in a year / a year ago\n return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';\n\n case 'yy':\n // 9 years / in 9 years / 9 years ago\n if (dual(number)) {\n // 2 minutes / in 2 minutes\n return result + (withoutSuffix || isFuture ? 'leti' : 'letoma');\n }\n\n if (threeFour(number)) {\n return result + (withoutSuffix || isFuture ? 'leta' : 'leti');\n }\n\n return result + (withoutSuffix || isFuture ? 'let' : 'leti');\n }\n}\n/* eslint-enable */\n\n\nvar locale = {\n name: 'sl',\n weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),\n months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),\n weekStart: 1,\n weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),\n monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),\n weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),\n ordinal: function ordinal(n) {\n return n + \".\";\n },\n formats: {\n LT: 'H:mm',\n LTS: 'H:mm:ss',\n L: 'DD.MM.YYYY',\n LL: 'D. MMMM YYYY',\n LLL: 'D. MMMM YYYY H:mm',\n LLLL: 'dddd, D. MMMM YYYY H:mm',\n l: 'D. M. YYYY'\n },\n relativeTime: {\n future: 'čez %s',\n past: 'pred %s',\n s: translate,\n m: translate,\n mm: translate,\n h: translate,\n hh: translate,\n d: translate,\n dd: translate,\n M: translate,\n MM: translate,\n y: translate,\n yy: translate\n }\n};\ndayjs.locale(locale, null, true);\nexport default locale;"],"mappings":";;;;;odAGA,SAASA,EAAKC,GACZ,OAAOA,EAAI,KAAO,CACpB,CAEA,SAASC,EAAUD,GACjB,OAAOA,EAAI,KAAO,GAAKA,EAAI,KAAO,CACpC,CAIA,SAASE,EAAUC,EAAQC,EAAeC,EAAKC,GAC7C,IAAIC,EAASJ,EAAS,IAEtB,OAAQE,GACN,IAAK,IAEH,OAAOD,GAAiBE,EAAW,eAAiB,kBAEtD,IAAK,IAEH,OAAOF,EAAgB,aAAe,aAExC,IAAK,KAEH,GAAIL,EAAKI,GAAS,CAChB,OAAOI,GAAUH,GAAiBE,EAAW,SAAW,WAChE,CAEM,GAAIL,EAAUE,GAAS,CACrB,OAAOI,GAAUH,GAAiBE,EAAW,SAAW,WAChE,CAEM,OAAOC,GAAUH,GAAiBE,EAAW,QAAU,YAEzD,IAAK,IAEH,OAAOF,EAAgB,UAAYE,EAAW,UAAY,UAE5D,IAAK,KAEH,GAAIP,EAAKI,GAAS,CAChB,OAAOI,GAAUH,GAAiBE,EAAW,MAAQ,QAC7D,CAEM,GAAIL,EAAUE,GAAS,CACrB,OAAOI,GAAUH,GAAiBE,EAAW,MAAQ,QAC7D,CAEM,OAAOC,GAAUH,GAAiBE,EAAW,KAAO,SAEtD,IAAK,IAEH,OAAOF,GAAiBE,EAAW,SAAW,YAEhD,IAAK,KAEH,GAAIP,EAA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
|
|
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.1.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,F as s,g as n}from"./p-6814fe4e.js";import{g as o}from"./p-aa659bfc.js";import{t as a,i as r,d as c}from"./p-5a8a5fa9.js";import{g as l}from"./p-83529fb3.js";import{i as h}from"./p-c7cd4203.js";import{s as d,a as u,c as p}from"./p-fcd856d6.js";import{a as f,C as m,I as x,S as b}from"./p-989c487a.js";import"./p-6f9571fc.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-${l()}`;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 c(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:c,flipPlacements:l}=this;const h=t[e];const d=h?.id||null;return i("calcite-popover",{autoClose:true,flipPlacements:l,focusTrapDisabled:true,label:a,offsetDistance:0,onCalcitePopoverClose:this.handlePopoverClose,onCalcitePopoverOpen:this.handlePopoverOpen,open:s,overlayPositioning:c,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-60c7a94d.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.1.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as o,g as s}from"./p-6814fe4e.js";import{c as a,d as n}from"./p-aee62911.js";import{s as l,b as c,f as d}from"./p-5a8a5fa9.js";import{a as r,s as h,c as p}from"./p-fcd856d6.js";import{c as u,d as f}from"./p-07167add.js";import{c as g}from"./p-7a3ff8c1.js";import{u as x,c as b,s as m,d as y}from"./p-aee3d5a2.js";import{t as v,o as w,q as j,g as z,a as H,E as A,b as C}from"./p-e10ef34a.js";import{d as D}from"./p-d6eaa970.js";import"./p-83529fb3.js";import"./p-6f9571fc.js";import"./p-c7cd4203.js";import"./p-d813b4dd.js";import"./p-989c487a.js";const L={actionGroupEnd:"action-group--end"};const k={actionsEnd:"actions-end",bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"};const G=":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{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-color-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-color-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";const E=class{constructor(i){t(this,i);this.calciteActionBarToggle=e(this,"calciteActionBarToggle",6);this.mutationObserver=g("mutation",(()=>{const{el:t,expanded:e}=this;v({el:t,expanded:e});this.overflowActions()}));this.resizeObserver=g("resize",(t=>this.resizeHandlerEntries(t)));this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const e=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{if(!e.includes(t)){t.menuOpen=false}}))}};this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)};this.resizeHandler=t=>{const{width:e,height:i}=t.contentRect;this.resize({width:e,height:i})};this.resize=D((({width:t,height:e})=>{const{el:i,expanded:o,expandDisabled:s,layout:a,overflowActionsDisabled:n}=this;if(n||a==="vertical"&&!e||a==="horizontal"&&!t){return}const l=j(i);const c=s?l.length:l.length+1;const d=Array.from(i.querySelectorAll("calcite-action-group"));this.setGroupLayout(d);const r=this.hasActionsEnd||this.hasBottomActions||!s?d.length+1:d.length;const{actionHeight:h,actionWidth:p}=z(l);const u=C({layout:a,actionCount:c,actionHeight:h,actionWidth:p,height:e,width:t,groupCount:r});H({actionGroups:d,expanded:o,overflowCount:u})}),w);this.toggleExpand=()=>{this.expanded=!this.expanded;this.calciteActionBarToggle.emit()};this.setExpandToggleRef=t=>{this.expandToggleEl=t};this.handleDefaultSlotChange=t=>{const e=l(t).filter((t=>t.matches("calcite-action-group")));this.setGroupLayout(e)};this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=c(t)};this.handleBottomActionsSlotChange=t=>{this.hasBottomActions=c(t)};this.handleTooltipSlotChange=t=>{const e=l(t).filter((t=>t?.matches("calcite-tooltip")));this.expandTooltip=e[0]};this.actionsEndGroupLabel=undefined;this.expandDisabled=false;this.expanded=false;this.layout="vertical";this.overflowActionsDisabled=false;this.position=undefined;this.scale=undefined;this.messages=undefined;this.messageOverrides=undefined;this.effectiveLocale=undefined;this.hasActionsEnd=false;this.hasBottomActions=false;this.expandTooltip=undefined;this.defaultMessages=undefined}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:e}=this;v({el:t,expanded:e});this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el);this.overflowActions()}onMessagesChange(){}effectiveLocaleChange(){x(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:e}=this;r(this);v({el:t,expanded:e});this.overflowActions()}connectedCallback(){const{el:t,expanded:e}=this;u(this);b(this);v({el:t,expanded:e});this.mutationObserver?.observe(t,{childList:true,subtree:true});if(!this.overflowActionsDisabled){this.resizeObserver?.observe(t)}this.overflowActions();a(this)}async componentWillLoad(){h(this);await m(this)}disconnectedCallback(){this.mutationObserver?.disconnect();this.resizeObserver?.disconnect();n(this);f(this);y(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await p(this);d(this.el)}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:e,el:o,position:s,toggleExpand:a,scale:n,layout:l,messages:c,actionsEndGroupLabel:d}=this;const r=!e?i(A,{collapseText:c.collapse,el:o,expandText:c.expand,expanded:t,position:s,scale:n,toggle:a,tooltip:this.expandTooltip,ref:this.setExpandToggleRef}):null;return i("calcite-action-group",{class:L.actionGroupEnd,hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),label:d,layout:l,scale:n},i("slot",{name:k.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),i("slot",{name:k.bottomActions,onSlotchange:this.handleBottomActionsSlotChange}),i("slot",{name:k.expandTooltip,onSlotchange:this.handleTooltipSlotChange}),r)}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("slot",{onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};E.style=G;export{E as calcite_action_bar};
|
|
7
|
+
//# sourceMappingURL=p-60d5452a.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.1.0
|
|
5
|
+
*/
|
|
6
|
+
import{d as r}from"./p-9b282d68.js";import"./p-6814fe4e.js";import"./p-d7a7af58.js";import"./p-5a8a5fa9.js";import"./p-83529fb3.js";import"./p-6f9571fc.js";import"./p-589ff207.js";import"./p-887fdedb.js";import"./p-c7cd4203.js";import"./p-6f6169e5.js";import"./p-20bc23bc.js";import"./p-fcd856d6.js";import"./p-07167add.js";import"./p-7a3ff8c1.js";import"./p-691cefaa.js";import"./p-2b84c5ba.js";import"./p-aee3d5a2.js";import"./p-25e9e523.js";import"./p-599d8bf9.js";var t="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_");var p={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"};var m={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};var e={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:t,monthsShort:t,weekStart:6,meridiem:function r(t){return t>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function r(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(r){return m[r]})).replace(/،/g,",")},postformat:function r(t){return t.replace(/\d/g,(function(r){return p[r]})).replace(/,/g,"،")},ordinal:function r(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};r.locale(e,null,true);export default e;
|
|
7
|
+
//# sourceMappingURL=p-62050555.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["months","split","symbolMap","numberMap","locale","name","weekdays","weekdaysShort","weekdaysMin","monthsShort","weekStart","meridiem","hour","relativeTime","future","past","s","m","mm","h","hh","d","dd","M","MM","y","yy","preparse","string","replace","match","postformat","ordinal","n","formats","LT","LTS","L","LL","LLL","LLLL","dayjs"],"sources":["../../node_modules/dayjs/esm/locale/ar.js"],"sourcesContent":["// Arabic [ar]\nimport dayjs from '../index';\nvar months = 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_');\nvar symbolMap = {\n 1: '١',\n 2: '٢',\n 3: '٣',\n 4: '٤',\n 5: '٥',\n 6: '٦',\n 7: '٧',\n 8: '٨',\n 9: '٩',\n 0: '٠'\n};\nvar numberMap = {\n '١': '1',\n '٢': '2',\n '٣': '3',\n '٤': '4',\n '٥': '5',\n '٦': '6',\n '٧': '7',\n '٨': '8',\n '٩': '9',\n '٠': '0'\n};\nvar locale = {\n name: 'ar',\n weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n months: months,\n monthsShort: months,\n weekStart: 6,\n meridiem: function meridiem(hour) {\n return hour > 12 ? 'م' : 'ص';\n },\n relativeTime: {\n future: 'بعد %s',\n past: 'منذ %s',\n s: 'ثانية واحدة',\n m: 'دقيقة واحدة',\n mm: '%d دقائق',\n h: 'ساعة واحدة',\n hh: '%d ساعات',\n d: 'يوم واحد',\n dd: '%d أيام',\n M: 'شهر واحد',\n MM: '%d أشهر',\n y: 'عام واحد',\n yy: '%d أعوام'\n },\n preparse: function preparse(string) {\n return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n return numberMap[match];\n }).replace(/،/g, ',');\n },\n postformat: function postformat(string) {\n return string.replace(/\\d/g, function (match) {\n return symbolMap[match];\n }).replace(/,/g, '،');\n },\n ordinal: function ordinal(n) {\n return n;\n },\n formats: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'D/M/YYYY',\n LL: 'D MMMM YYYY',\n LLL: 'D MMMM YYYY HH:mm',\n LLLL: 'dddd D MMMM YYYY HH:mm'\n }\n};\ndayjs.locale(locale, null, true);\nexport default locale;"],"mappings":";;;;;odAEA,IAAIA,EAAS,6EAA6EC,MAAM,KAChG,IAAIC,EAAY,CACd,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,IACH,EAAG,KAEL,IAAIC,EAAY,CACd,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,KAEJ,IAACC,EAAS,CACXC,KAAM,KACNC,SAAU,sDAAsDL,MAAM,KACtEM,cAAe,wCAAwCN,MAAM,KAC7DO,YAAa,gBAAgBP,MAAM,KACnCD,OAAQA,EACRS,YAAaT,EACbU,UAAW,EACXC,SAAU,SAASA,EAASC,GAC1B,OAAOA,EAAO,GAAK,IAAM,GAC7B,EACEC,aAAc,CACZC,OAAQ,SACRC,KAAM,SACNC,EAAG,cACHC,EAAG,cACHC,GAAI,WACJC,EAAG,aACHC,GAAI,WACJC,EAAG,WACHC,GAAI,UACJC,EAAG,WACHC,GAAI,UACJC,EAAG,WACHC,GAAI,YAENC,SAAU,SAASA,EAASC,GAC1B,OAAOA,EAAOC,QAAQ,iBAAiB,SAAUC,GAC/C,OAAO3B,EAAU2B,EACvB,IAAOD,QAAQ,KAAM,IACrB,EACEE,WAAY,SAASA,EAAWH,GAC9B,OAAOA,EAAOC,QAAQ,OAAO,SAAUC,GACrC,OAAO5B,EAAU4B,EACvB,IAAOD,QAAQ,KAAM,IACrB,EACEG,QAAS,SAASA,EAAQC,GACxB,OAAOA,CACX,EACEC,QAAS,CACPC,GAAI,QACJC,IAAK,WACLC,EAAG,aACHC,GAAI,cACJC,IAAK,oBACLC,KAAM,2BAGVC,EAAMrC,OAAOA,EAAQ,KAAM,qB"}
|
|
@@ -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.1.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as s,H as i,g as n}from"./p-6814fe4e.js";import{c as o,d as a}from"./p-6f6169e5.js";import{u as c}from"./p-589ff207.js";import{e as h,c as r,d as l}from"./p-07167add.js";import{u as d,c as u,d as m,s as p}from"./p-aee3d5a2.js";import{c as f,s as b,a as g}from"./p-fcd856d6.js";import{c as C,d as T,a as y,H as D}from"./p-d7a7af58.js";import"./p-5a8a5fa9.js";import"./p-83529fb3.js";import"./p-6f9571fc.js";import"./p-20bc23bc.js";import"./p-887fdedb.js";import"./p-c7cd4203.js";import"./p-7a3ff8c1.js";const j=60;const v=["CET","CST6CDT","EET","EST","EST5EDT","Factory","HST","MET","MST","MST7MDT","PST8PDT","UTC","WET"];function I(t){const e="−";const s="-";return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace(e,s)}function Z(t,e){const s=k(t,"en-US",e).replace("GMT","");if(s===""){return 0}return Number(I(s))*j}function w(){const t=new Date;return t.getTimezoneOffset()*-1}function x(){const t=new Intl.DateTimeFormat;return t.resolvedOptions().timeZone}let E;async function S(t,e,s,i){const n=i.getTime();const o=Intl.supportedValuesOf("timeZone");if(s==="offset"){if(!E){E=Promise.all([import("./p-54a11a37.js"),import("./p-855ca8c1.js")])}return E.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=I(k(o,t,n));const h=Z(o,n);const r=s.map((t=>{const s=i[t];const n=e[s];return n||s.split("/").pop()}));const l=P(e,c,a.format(r));return{label:l,value:h,filterValue:i.map((t=>M(t)))}})).filter((t=>!!t)).sort(((t,e)=>t.value-e.value))}))}return o.map((t=>{const e=M(t);const s=t;return{label:e,value:s,filterValue:t}})).filter((t=>!!t)).sort()}function M(t){return t.replace(/_/g," ")}function P(t,e,s){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",s)}function k(t,e,s=Date.now()){const i=h(e,{timeZone:t,timeZoneName:"shortOffset"});const n=i.formatToParts(s);return n.find((({type:t})=>t==="timeZoneName")).value}const L=":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}::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 O=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 f(this);await this.comboboxEl.setFocus()}effectiveLocaleWatcher(){d(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"?w():x();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 S(this.effectiveLocale,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()))}connectedCallback(){C(this);o(this);r(this);u(this)}disconnectedCallback(){T(this);a(this);l(this);m(this)}async componentWillLoad(){b(this);await p(this);await this.updateTimeZoneItemsAndSelection();const t=`${this.selectedTimeZoneItem.value}`;y(this,t);this.value=t}componentDidLoad(){g(this)}componentDidRender(){c(this)}render(){return s(i,null,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(D,{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"]}}};O.style=L;export{O as calcite_input_time_zone};
|
|
7
|
+
//# sourceMappingURL=p-625f147f.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["hourToMinutes","timeZoneNameBlockList","timeZoneOffsetToDecimal","shortOffsetTimeZoneName","minusSign","hyphen","replace","toOffsetValue","timeZoneName","referenceDateInMs","offset","getTimeZoneShortOffset","Number","getUserTimeZoneOffset","localDate","Date","getTimezoneOffset","getUserTimeZoneName","dateFormatter","Intl","DateTimeFormat","resolvedOptions","timeZone","timeZoneGroups","async","createTimeZoneItems","locale","messages","mode","referenceDate","getTime","timeZoneNames","supportedValuesOf","Promise","all","import","then","groupTimeZones","DateEngine","dateEngine","groupDateRange","startDate","toISOString","listFormatter","ListFormat","style","type","forEach","group","indexOffsets","removedSoFar","tzs","tz","index","includes","filter","labelTzIndices","map","length","groupRepTz","decimalOffset","value","tzLabels","timeZoneLabel","split","pop","label","createTimeZoneOffsetLabel","format","filterValue","toUserFriendlyName","sort","groupA","groupB","offsetLabel","groupLabel","now","dateTimeFormat","getDateTimeFormat","parts","formatToParts","find","inputTimeZoneCss","InputTimeZone","this","setComboboxRef","el","comboboxEl","onComboboxBeforeClose","event","stopPropagation","calciteInputTimeZoneBeforeClose","emit","onComboboxBeforeOpen","calciteInputTimeZoneBeforeOpen","onComboboxChange","combobox","target","selected","findTimeZoneItem","selectedItems","getAttribute","selectedValue","selectedTimeZoneItem","calciteInputTimeZoneChange","onComboboxClose","open","calciteInputTimeZoneClose","onComboboxOpen","calciteInputTimeZoneOpen","onMessagesChange","handleTimeZoneItemPropsChange","updateTimeZoneItemsAndSelection","handleValueChange","oldValue","timeZoneItem","setFocus","componentFocusable","effectiveLocaleWatcher","updateMessages","effectiveLocale","onLabelClick","valueToMatch","timeZoneItems","fallbackValue","connectedCallback","connectForm","connectLabel","connectLocalized","connectMessages","disconnectedCallback","disconnectForm","disconnectLabel","disconnectLocalized","disconnectMessages","componentWillLoad","setUpLoadableComponent","setUpMessages","afterConnectDefaultValueSet","componentDidLoad","setComponentLoaded","componentDidRender","updateHostInteraction","render","h","Host","clearDisabled","disabled","chooseTimeZone","lang","maxItems","onCalciteComboboxBeforeClose","onCalciteComboboxBeforeOpen","onCalciteComboboxChange","onCalciteComboboxClose","onCalciteComboboxOpen","overlayPositioning","scale","selectionMode","status","validationIcon","validationMessage","ref","key","textLabel","HiddenFormInputSlot","component"],"sources":["src/components/input-time-zone/utils.ts","src/components/input-time-zone/input-time-zone.scss?tag=calcite-input-time-zone&encapsulation=shadow","src/components/input-time-zone/input-time-zone.tsx"],"sourcesContent":["import { TimeZoneItem, TimeZoneMode, TimeZoneName } from \"./interfaces\";\nimport { getDateTimeFormat, SupportedLocale } from \"../../utils/locale\";\nimport { InputTimeZoneMessages } from \"./assets/input-time-zone/t9n\";\n\nconst hourToMinutes = 60;\n\nconst timeZoneNameBlockList = [\n \"CET\",\n \"CST6CDT\",\n \"EET\",\n \"EST\",\n \"EST5EDT\",\n \"Factory\",\n \"HST\",\n \"MET\",\n \"MST\",\n \"MST7MDT\",\n \"PST8PDT\",\n \"UTC\",\n \"WET\",\n];\n\nfunction timeZoneOffsetToDecimal(shortOffsetTimeZoneName: string): string {\n const minusSign = \"−\";\n const hyphen = \"-\";\n\n return (\n shortOffsetTimeZoneName\n .replace(\":15\", \".25\")\n .replace(\":30\", \".5\")\n .replace(\":45\", \".75\")\n\n // ensures decimal string representation is parseable\n .replace(minusSign, hyphen)\n );\n}\n\nfunction toOffsetValue(timeZoneName: TimeZoneName, referenceDateInMs: number): number {\n // we use \"en-US\" to allow us to reliably remove the standard time token\n const offset = getTimeZoneShortOffset(timeZoneName, \"en-US\", referenceDateInMs).replace(\"GMT\", \"\");\n\n if (offset === \"\") {\n return 0;\n }\n\n return Number(timeZoneOffsetToDecimal(offset)) * hourToMinutes;\n}\n\nexport function getUserTimeZoneOffset(): number {\n const localDate = new Date();\n return localDate.getTimezoneOffset() * -1;\n}\n\nexport function getUserTimeZoneName(): string {\n const dateFormatter = new Intl.DateTimeFormat();\n return dateFormatter.resolvedOptions().timeZone;\n}\n\n/**\n * The lazy-loaded timezone-groups lib to be used across instances.\n */\nlet timeZoneGroups: Promise<[any, any]>;\n\nexport async function createTimeZoneItems(\n locale: SupportedLocale,\n messages: InputTimeZoneMessages,\n mode: TimeZoneMode,\n referenceDate: Date\n): Promise<TimeZoneItem[]> {\n const referenceDateInMs: number = referenceDate.getTime();\n const timeZoneNames = Intl.supportedValuesOf(\"timeZone\");\n\n if (mode === \"offset\") {\n if (!timeZoneGroups) {\n timeZoneGroups = Promise.all([\n import(\"timezone-groups/dist/index.js\"),\n import(\"timezone-groups/dist/strategy/native/index.js\"),\n ]);\n }\n\n return timeZoneGroups.then(async ([{ groupTimeZones }, { DateEngine }]) => {\n const timeZoneGroups: { labelTzIndices: number[]; tzs: TimeZoneName[] }[] = await groupTimeZones({\n dateEngine: new DateEngine(),\n groupDateRange: 1,\n startDate: new Date(referenceDateInMs).toISOString(),\n });\n\n const listFormatter = new Intl.ListFormat(locale, { style: \"long\", type: \"conjunction\" });\n\n // we remove blocked entries from tzs and adjust label indices accordingly\n timeZoneGroups.forEach((group) => {\n const indexOffsets: number[] = [];\n let removedSoFar = 0;\n\n group.tzs.forEach((tz, index) => {\n if (timeZoneNameBlockList.includes(tz)) {\n removedSoFar++;\n }\n indexOffsets[index] = removedSoFar;\n });\n\n group.tzs = group.tzs.filter((tz) => !timeZoneNameBlockList.includes(tz));\n\n group.labelTzIndices = group.labelTzIndices\n .map((index) => index - indexOffsets[index])\n .filter((index) => index >= 0 && index < group.tzs.length);\n });\n\n return timeZoneGroups\n .map<TimeZoneItem<number>>(({ labelTzIndices, tzs }) => {\n const groupRepTz = tzs[0];\n const decimalOffset = timeZoneOffsetToDecimal(getTimeZoneShortOffset(groupRepTz, locale, referenceDateInMs));\n const value = toOffsetValue(groupRepTz, referenceDateInMs);\n const tzLabels = labelTzIndices.map((index: number) => {\n const timeZone = tzs[index];\n const timeZoneLabel = messages[timeZone];\n return (\n timeZoneLabel ||\n // get city token\n timeZone.split(\"/\").pop()\n );\n });\n\n const label = createTimeZoneOffsetLabel(messages, decimalOffset, listFormatter.format(tzLabels));\n\n return {\n label,\n value,\n filterValue: tzs.map((tz) => toUserFriendlyName(tz)),\n };\n })\n .filter((group) => !!group)\n .sort((groupA, groupB) => groupA.value - groupB.value);\n });\n }\n\n return timeZoneNames\n .map<TimeZoneItem<string>>((timeZone) => {\n const label = toUserFriendlyName(timeZone);\n const value = timeZone;\n\n return {\n label,\n value,\n filterValue: timeZone,\n };\n })\n .filter((group) => !!group)\n .sort();\n}\n\n/**\n * Exported for testing purposes only\n *\n * @internal\n */\nexport function toUserFriendlyName(timeZoneName: string): string {\n return timeZoneName.replace(/_/g, \" \");\n}\n\nfunction createTimeZoneOffsetLabel(messages: InputTimeZoneMessages, offsetLabel: string, groupLabel: string): string {\n return messages.timeZoneLabel.replace(\"{offset}\", offsetLabel).replace(\"{cities}\", groupLabel);\n}\n\nfunction getTimeZoneShortOffset(\n timeZone: TimeZoneName,\n locale: SupportedLocale,\n referenceDateInMs: number = Date.now()\n): string {\n const dateTimeFormat = getDateTimeFormat(locale, { timeZone, timeZoneName: \"shortOffset\" });\n const parts = dateTimeFormat.formatToParts(referenceDateInMs);\n return parts.find(({ type }) => type === \"timeZoneName\").value;\n}\n",":host {\n display: block;\n}\n\n@include base-component();\n@include disabled();\n@include hidden-form-input();\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n VNode,\n Watch,\n} from \"@stencil/core\";\nimport { connectLabel, disconnectLabel, LabelableComponent } from \"../../utils/label\";\nimport { InteractiveComponent, updateHostInteraction } from \"../../utils/interactive\";\nimport {\n connectLocalized,\n disconnectLocalized,\n LocalizedComponent,\n SupportedLocale,\n} from \"../../utils/locale\";\nimport { TimeZoneItem, TimeZoneMode } from \"./interfaces\";\nimport { Scale, Status } from \"../interfaces\";\nimport {\n connectMessages,\n disconnectMessages,\n setUpMessages,\n T9nComponent,\n updateMessages,\n} from \"../../utils/t9n\";\nimport { InputTimeZoneMessages } from \"./assets/input-time-zone/t9n\";\nimport { createTimeZoneItems, getUserTimeZoneName, getUserTimeZoneOffset } from \"./utils\";\nimport { OverlayPositioning } from \"../../utils/floating-ui\";\nimport {\n componentFocusable,\n LoadableComponent,\n setComponentLoaded,\n setUpLoadableComponent,\n} from \"../../utils/loadable\";\nimport {\n afterConnectDefaultValueSet,\n connectForm,\n disconnectForm,\n FormComponent,\n HiddenFormInputSlot,\n} from \"../../utils/form\";\n\n@Component({\n tag: \"calcite-input-time-zone\",\n styleUrl: \"input-time-zone.scss\",\n assetsDirs: [\"assets\"],\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class InputTimeZone\n implements\n FormComponent,\n InteractiveComponent,\n LabelableComponent,\n LoadableComponent,\n LocalizedComponent,\n T9nComponent\n{\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n\n /**\n * When `true`, interaction is prevented and the component is displayed with lower opacity.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * The ID of the form that will be associated with the component.\n *\n * When not set, the component will be associated with its ancestor form element, if any.\n */\n @Prop({ reflect: true }) form: string;\n\n /** Specifies the component's maximum number of options to display before displaying a scrollbar. */\n @Prop({ reflect: true }) maxItems = 0;\n\n /**\n * Made into a prop for testing purposes only\n *\n * @internal\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messages: InputTimeZoneMessages;\n\n /**\n * Use this property to override individual strings used by the component.\n */\n // eslint-disable-next-line @stencil-community/strict-mutable -- updated by t9n module\n @Prop({ mutable: true }) messageOverrides: Partial<InputTimeZoneMessages>;\n\n @Watch(\"messageOverrides\")\n onMessagesChange(): void {\n /* wired up by t9n util */\n }\n\n /**\n * This specifies the type of `value` and the associated options presented to the user:\n *\n * Using `\"offset\"` will provide options related\n *\n * @default \"offset\"\n */\n @Prop({ reflect: true }) mode: TimeZoneMode = \"offset\";\n\n @Watch(\"messages\")\n @Watch(\"mode\")\n @Watch(\"referenceDate\")\n handleTimeZoneItemPropsChange(): void {\n this.updateTimeZoneItemsAndSelection();\n }\n\n /** Specifies the validation message to display under the component. */\n @Prop() validationMessage: string;\n\n /** Specifies the validation icon to display under the component. */\n @Prop() validationIcon: string | boolean;\n\n /**\n * Specifies the name of the component.\n *\n * Required to pass the component's `value` on form submission.\n */\n @Prop({ reflect: true }) name: string;\n\n /** When `true`, displays and positions the component. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n @Prop({ reflect: true }) overlayPositioning: OverlayPositioning = \"absolute\";\n\n /**\n * This date will be used as a reference to Daylight Savings Time when creating time zone item groups.\n *\n * It can be either a Date instance or a string in ISO format (YYYY-MM-DD, YYYY-MM-DDTHH:MM:SS.SSSZ)\n *\n * @see [Date.prototype.toISOString](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n */\n @Prop() referenceDate: Date | string;\n\n /**\n * When `true`, the component must have a value in order for the form to submit.\n *\n * @internal\n */\n @Prop({ reflect: true }) required = false;\n\n /** Specifies the size of the component. */\n @Prop({ reflect: true }) scale: Scale = \"m\";\n\n /** Specifies the status of the input field, which determines message and icons. */\n @Prop({ reflect: true }) status: Status = \"idle\";\n\n /**\n * The component's value, where the value is the time zone offset or the difference, in minutes, between the selected time zone and UTC.\n *\n * If no value is provided, the user's time zone offset will be selected by default.\n *\n * @see https://www.w3.org/International/core/2005/09/timezone.html#:~:text=What%20is%20a%20%22zone%20offset,or%20%22%2D%22%20from%20UTC.\n */\n @Prop({ mutable: true }) value: string;\n\n @Watch(\"value\")\n handleValueChange(value: string, oldValue: string): void {\n const timeZoneItem = this.findTimeZoneItem(value);\n\n if (!timeZoneItem) {\n this.value = oldValue;\n return;\n }\n\n this.selectedTimeZoneItem = timeZoneItem;\n }\n\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n\n @Method()\n async setFocus(): Promise<void> {\n await componentFocusable(this);\n await this.comboboxEl.setFocus();\n }\n\n //--------------------------------------------------------------------------\n //\n // Events\n //\n //--------------------------------------------------------------------------\n\n @Event({ cancelable: false }) calciteInputTimeZoneBeforeClose: EventEmitter<void>;\n\n @Event({ cancelable: false }) calciteInputTimeZoneBeforeOpen: EventEmitter<void>;\n\n @Event({ cancelable: false }) calciteInputTimeZoneChange: EventEmitter<void>;\n\n @Event({ cancelable: false }) calciteInputTimeZoneClose: EventEmitter<void>;\n\n @Event({ cancelable: false }) calciteInputTimeZoneOpen: EventEmitter<void>;\n\n //--------------------------------------------------------------------------\n //\n // Private Properties\n //\n //--------------------------------------------------------------------------\n\n @Element() el: HTMLCalciteInputTimeZoneElement;\n\n private comboboxEl: HTMLCalciteComboboxElement;\n\n @State() defaultMessages: InputTimeZoneMessages;\n\n defaultValue: InputTimeZone[\"value\"];\n\n @State() effectiveLocale: SupportedLocale = \"\";\n\n @Watch(\"effectiveLocale\")\n effectiveLocaleWatcher(): void {\n updateMessages(this, this.effectiveLocale);\n }\n\n formEl: HTMLFormElement;\n\n labelEl: HTMLCalciteLabelElement;\n\n private selectedTimeZoneItem: TimeZoneItem;\n\n private timeZoneItems: TimeZoneItem[];\n\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n\n onLabelClick(): void {\n this.setFocus();\n }\n\n private setComboboxRef = (el: HTMLCalciteComboboxElement): void => {\n this.comboboxEl = el;\n };\n\n private onComboboxBeforeClose = (event: CustomEvent): void => {\n event.stopPropagation();\n this.calciteInputTimeZoneBeforeClose.emit();\n };\n\n private onComboboxBeforeOpen = (event: CustomEvent): void => {\n event.stopPropagation();\n this.calciteInputTimeZoneBeforeOpen.emit();\n };\n\n private onComboboxChange = (event: CustomEvent): void => {\n event.stopPropagation();\n const combobox = event.target as HTMLCalciteComboboxElement;\n const selected = this.findTimeZoneItem(combobox.selectedItems[0].getAttribute(\"data-value\"));\n\n const selectedValue = `${selected.value}`;\n if (this.value === selectedValue) {\n return;\n }\n\n this.value = selectedValue;\n this.selectedTimeZoneItem = selected;\n this.calciteInputTimeZoneChange.emit();\n };\n\n private onComboboxClose = (event: CustomEvent): void => {\n event.stopPropagation();\n this.open = false;\n this.calciteInputTimeZoneClose.emit();\n };\n\n private onComboboxOpen = (event: CustomEvent): void => {\n this.open = true;\n event.stopPropagation();\n this.calciteInputTimeZoneOpen.emit();\n };\n\n private findTimeZoneItem(value: number | string): TimeZoneItem {\n const valueToMatch = value;\n\n return this.timeZoneItems.find(\n ({ value }) =>\n // intentional == to match string to number\n value == valueToMatch\n );\n }\n\n private async updateTimeZoneItemsAndSelection(): Promise<void> {\n this.timeZoneItems = await this.createTimeZoneItems();\n\n const fallbackValue = this.mode === \"offset\" ? getUserTimeZoneOffset() : getUserTimeZoneName();\n const valueToMatch = this.value ?? fallbackValue;\n\n this.selectedTimeZoneItem = this.findTimeZoneItem(valueToMatch);\n\n if (!this.selectedTimeZoneItem) {\n this.selectedTimeZoneItem = this.findTimeZoneItem(fallbackValue);\n }\n }\n\n private async createTimeZoneItems(): Promise<TimeZoneItem[]> {\n if (!this.effectiveLocale || !this.messages) {\n return [];\n }\n\n return createTimeZoneItems(\n this.effectiveLocale,\n this.messages,\n this.mode,\n this.referenceDate instanceof Date\n ? this.referenceDate\n : new Date(this.referenceDate ?? Date.now())\n );\n }\n\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n\n connectedCallback(): void {\n connectForm(this);\n connectLabel(this);\n connectLocalized(this);\n connectMessages(this);\n }\n\n disconnectedCallback(): void {\n disconnectForm(this);\n disconnectLabel(this);\n disconnectLocalized(this);\n disconnectMessages(this);\n }\n\n async componentWillLoad(): Promise<void> {\n setUpLoadableComponent(this);\n await setUpMessages(this);\n\n await this.updateTimeZoneItemsAndSelection();\n\n const selectedValue = `${this.selectedTimeZoneItem.value}`;\n afterConnectDefaultValueSet(this, selectedValue);\n this.value = selectedValue;\n }\n\n componentDidLoad(): void {\n setComponentLoaded(this);\n }\n\n componentDidRender(): void {\n updateHostInteraction(this);\n }\n\n render(): VNode {\n return (\n <Host>\n <calcite-combobox\n clearDisabled={true}\n disabled={this.disabled}\n label={this.messages.chooseTimeZone}\n lang={this.effectiveLocale}\n maxItems={this.maxItems}\n onCalciteComboboxBeforeClose={this.onComboboxBeforeClose}\n onCalciteComboboxBeforeOpen={this.onComboboxBeforeOpen}\n onCalciteComboboxChange={this.onComboboxChange}\n onCalciteComboboxClose={this.onComboboxClose}\n onCalciteComboboxOpen={this.onComboboxOpen}\n open={this.open}\n overlayPositioning={this.overlayPositioning}\n scale={this.scale}\n selectionMode=\"single-persist\"\n status={this.status}\n validation-icon={this.validationIcon}\n validation-message={this.validationMessage}\n // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)\n ref={this.setComboboxRef}\n >\n {this.timeZoneItems.map((group) => {\n const selected = this.selectedTimeZoneItem === group;\n const { label, value } = group;\n\n return (\n <calcite-combobox-item\n data-value={value}\n key={label}\n selected={selected}\n textLabel={label}\n value={`${group.filterValue}`}\n />\n );\n })}\n </calcite-combobox>\n <HiddenFormInputSlot component={this} />\n </Host>\n );\n }\n}\n"],"mappings":";;;;;6gBAIA,MAAMA,EAAgB,GAEtB,MAAMC,EAAwB,CAC5B,MACA,UACA,MACA,MACA,UACA,UACA,MACA,MACA,MACA,UACA,UACA,MACA,OAGF,SAASC,EAAwBC,GAC/B,MAAMC,EAAY,IAClB,MAAMC,EAAS,IAEf,OACEF,EACGG,QAAQ,MAAO,OACfA,QAAQ,MAAO,MACfA,QAAQ,MAAO,OAGfA,QAAQF,EAAWC,EAE1B,CAEA,SAASE,EAAcC,EAA4BC,GAEjD,MAAMC,EAASC,EAAuBH,EAAc,QAASC,GAAmBH,QAAQ,MAAO,IAE/F,GAAII,IAAW,GAAI,CACjB,OAAO,C,CAGT,OAAOE,OAAOV,EAAwBQ,IAAWV,CACnD,C,SAEgBa,IACd,MAAMC,EAAY,IAAIC,KACtB,OAAOD,EAAUE,qBAAuB,CAC1C,C,SAEgBC,IACd,MAAMC,EAAgB,IAAIC,KAAKC,eAC/B,OAAOF,EAAcG,kBAAkBC,QACzC,CAKA,IAAIC,EAEGC,eAAeC,EACpBC,EACAC,EACAC,EACAC,GAEA,MAAMpB,EAA4BoB,EAAcC,UAChD,MAAMC,EAAgBZ,KAAKa,kBAAkB,YAE7C,GAAIJ,IAAS,SAAU,CACrB,IAAKL,EAAgB,CACnBA,EAAiBU,QAAQC,IAAI,CAC3B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,MACpBkD,EAAmBlD,K,CAGrB,uBAAMmD,GACJC,EAAuBpD,YACjBqD,EAAcrD,YAEdA,KAAK4B,kCAEX,MAAMV,EAAgB,GAAGlB,KAAKmB,qBAAqB1C,QACnD6E,EAA4BtD,KAAMkB,GAClClB,KAAKvB,MAAQyC,C,CAGf,gBAAAqC,GACEC,EAAmBxD,K,CAGrB,kBAAAyD,GACEC,EAAsB1D,K,CAGxB,MAAA2D,GACE,OACEC,EAACC,EAAI,KACHD,EAAA,oBACEE,cAAe,KACfC,SAAU/D,KAAK+D,SACfjF,MAAOkB,KAAKzD,SAASyH,eACrBC,KAAMjE,KAAKoC,gBACX8B,SAAUlE,KAAKkE,SACfC,6BAA8BnE,KAAKI,sBACnCgE,4BAA6BpE,KAAKS,qBAClC4D,wBAAyBrE,KAAKW,iBAC9B2D,uBAAwBtE,KAAKqB,gBAC7BkD,sBAAuBvE,KAAKwB,eAC5BF,KAAMtB,KAAKsB,KACXkD,mBAAoBxE,KAAKwE,mBACzBC,MAAOzE,KAAKyE,MACZC,cAAc,iBACdC,OAAQ3E,KAAK2E,OAAM,kBACF3E,KAAK4E,eAAc,qBAChB5E,KAAK6E,kBAEzBC,IAAK9E,KAAKC,gBAETD,KAAKuC,cAAclE,KAAKT,IACvB,MAAMkD,EAAWd,KAAKmB,uBAAyBvD,EAC/C,MAAMkB,MAAEA,EAAKL,MAAEA,GAAUb,EAEzB,OACEgG,EAAA,sCACcnF,EACZsG,IAAKjG,EACLgC,SAAUA,EACVkE,UAAWlG,EACXL,MAAO,GAAGb,EAAMqB,eAChB,KAIR2E,EAACqB,EAAmB,CAACC,UAAWlF,O"}
|
|
@@ -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.1.0
|
|
5
|
+
*/
|
|
6
|
+
import{r as t,c as e,h as i,H as s,g as o}from"./p-6814fe4e.js";import{b as a,t as n,e as l,h as r}from"./p-5a8a5fa9.js";import{g as c}from"./p-20bc23bc.js";import{s as d,a as h,c as u}from"./p-fcd856d6.js";import{c as m,d as p,n as f}from"./p-07167add.js";import{o as g}from"./p-25e9e523.js";import{c as v,s as b,d as k,u as w}from"./p-aee3d5a2.js";import{K as x}from"./p-878881a7.js";import"./p-83529fb3.js";import"./p-6f9571fc.js";import"./p-c7cd4203.js";import"./p-7a3ff8c1.js";const y={slow:14e3,medium:1e4,fast:6e3};const z={actionsEnd:"actions-end",title:"title",message:"message",link:"link"};const C={actionsEnd:"actions-end",close:"close",container:"container",containerBottom:"container--bottom",containerBottomEnd:"container--bottom-end",containerBottomStart:"container--bottom-start",containerQueued:"container--queued",containerTop:"container--top",containerTopEnd:"container--top-end",containerTopStart:"container--top-start",content:"content",contentContainer:"content-container",dismissProgress:"dismiss-progress",footer:"footer",icon:"icon",containerSlottedInShell:"container--slotted-in-shell",queueCount:"queue-count",queueCountActive:"queue-count--active",textContainer:"text-container"};const q=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close:focus{outline:2px solid 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 )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container:not(.container--queued){border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container:not(.container--queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container:not(.container--queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--slotted-in-shell{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}';const j=class{constructor(i){t(this,i);this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6);this.calciteAlertClose=e(this,"calciteAlertClose",6);this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6);this.calciteAlertOpen=e(this,"calciteAlertOpen",6);this.calciteInternalAlertSync=e(this,"calciteInternalAlertSync",6);this.calciteInternalAlertRegister=e(this,"calciteInternalAlertRegister",6);this.autoCloseTimeoutId=null;this.totalOpenTime=0;this.totalHoverTime=0;this.openTransitionProp="opacity";this.setTransitionEl=t=>{this.transitionEl=t};this.closeAlert=()=>{this.autoCloseTimeoutId=null;this.queued=false;this.open=false;this.queue=this.queue.filter((t=>t!==this.el));this.determineActiveAlert();this.calciteInternalAlertSync.emit({queue:this.queue})};this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=a(t)};this.handleMouseOver=()=>{window.clearTimeout(this.autoCloseTimeoutId);this.totalOpenTime=Date.now()-this.initialOpenTime;this.lastMouseOverBegin=Date.now()};this.handleMouseLeave=()=>{const t=Date.now()-this.lastMouseOverBegin;const e=y[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t;this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)};this.open=false;this.autoClose=false;this.autoCloseDuration="medium";this.kind="brand";this.icon=undefined;this.iconFlipRtl=false;this.label=undefined;this.numberingSystem=undefined;this.placement="bottom";this.scale="m";this.messages=undefined;this.messageOverrides=undefined;this.slottedInShell=undefined;this.defaultMessages=undefined;this.effectiveLocale="";this.hasEndActions=false;this.queue=[];this.queueLength=0;this.queued=false}openHandler(){g(this);if(this.open&&!this.queued){this.calciteInternalAlertRegister.emit()}if(!this.open){this.queue=this.queue.filter((t=>t!==this.el));this.calciteInternalAlertSync.emit({queue:this.queue})}}onMessagesChange(){}updateDuration(){if(this.autoClose&&this.autoCloseTimeoutId){window.clearTimeout(this.autoCloseTimeoutId);this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),y[this.autoCloseDuration])}}connectedCallback(){m(this);v(this);const t=this.open;if(t&&!this.queued){this.calciteInternalAlertRegister.emit()}}async componentWillLoad(){d(this);await b(this);if(this.open){g(this)}}componentDidLoad(){h(this)}disconnectedCallback(){window.dispatchEvent(new CustomEvent("calciteInternalAlertUnregister",{detail:{alert:this.el}}));window.clearTimeout(this.autoCloseTimeoutId);window.clearTimeout(this.queueTimeout);p(this);k(this);this.slottedInShell=false}render(){f.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"};const{open:t,autoClose:e,label:o,placement:a,queued:l}=this;const c=e?"alert":"alertdialog";const d=!t;const h=r(x,this.icon,this.kind);const u=this.queueLength>1;return i(s,{"aria-hidden":n(d),"aria-label":o,"calcite-hydrated-hidden":d,role:c},i("div",{class:{[C.container]:true,[C.containerQueued]:l,[`${C.container}--${a}`]:true,[C.containerSlottedInShell]:this.slottedInShell},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseLeave:null,ref:this.setTransitionEl},h&&this.renderIcon(h),i("div",{class:C.textContainer},i("slot",{name:z.title}),i("slot",{name:z.message}),i("slot",{name:z.link})),this.renderActionsEnd(),u?this.renderQueueCount():null,this.renderCloseButton(),t&&!l&&e?i("div",{class:C.dismissProgress}):null))}renderCloseButton(){return i("button",{"aria-label":this.messages.close,class:C.close,key:"close",onClick:this.closeAlert,type:"button",ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:c(this.scale)}))}renderQueueCount(){const t=this.queueLength>2?this.queueLength-1:1;const e=f.numberFormatter.format(t);return i("div",{class:{[C.queueCount]:true,[C.queueCountActive]:this.queueLength>1},key:"queue-count"},i("calcite-chip",{scale:this.scale,value:e},e))}renderActionsEnd(){return i("div",{class:C.actionsEnd},i("slot",{name:z.actionsEnd,onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return i("div",{class:C.icon},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:c(this.scale)}))}alertSync(t){if(this.queue!==t.detail.queue){this.queue=t.detail.queue}this.queueLength=this.queue.length;this.determineActiveAlert();t.stopPropagation()}alertRegister(){if(this.open&&!this.queue.includes(this.el)){this.queued=true;this.queue.push(this.el)}this.calciteInternalAlertSync.emit({queue:this.queue});this.determineActiveAlert()}alertUnregister(t){const e=this.queue.filter((e=>e!==t.detail.alert));this.queue=e;window.dispatchEvent(new CustomEvent("calciteInternalAlertSync",{detail:{queue:e}}))}async setFocus(){await u(this);const t=l(this.el,{selector:"calcite-link"});if(!this.closeButton&&!t){return}else if(t){return t.setFocus()}else if(this.closeButton){this.closeButton.focus()}}effectiveLocaleChange(){w(this,this.effectiveLocale)}determineActiveAlert(){if(this.queue?.[0]===this.el){this.openAlert();if(this.autoClose&&!this.autoCloseTimeoutId){this.initialOpenTime=Date.now();this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),y[this.autoCloseDuration])}}else{return}}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}openAlert(){window.clearTimeout(this.queueTimeout);this.queueTimeout=window.setTimeout((()=>this.queued=false),300)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],autoCloseDuration:["updateDuration"],effectiveLocale:["effectiveLocaleChange"]}}};j.style=q;export{j as calcite_alert};
|
|
7
|
+
//# sourceMappingURL=p-62a28204.entry.js.map
|