@esri/calcite-components 1.5.0-next.36 → 1.5.0-next.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-43d99283.entry.js → p-032c49a2.entry.js} +2 -2
- package/dist/calcite/{p-18233cd3.js → p-044a25cf.js} +2 -2
- package/dist/calcite/{p-c8c96dcb.entry.js → p-06642a7f.entry.js} +2 -2
- package/dist/calcite/{p-c5ff7055.entry.js → p-06a11479.entry.js} +2 -2
- package/dist/calcite/p-06a1c6c8.entry.js +6 -0
- package/dist/calcite/{p-9546ef03.entry.js → p-06e6b2e6.entry.js} +2 -2
- package/dist/calcite/{p-adcb60fe.entry.js → p-07cec2ba.entry.js} +2 -2
- package/dist/calcite/p-085efc27.entry.js +6 -0
- package/dist/calcite/{p-1501ec01.entry.js → p-08eaf24a.entry.js} +2 -2
- package/dist/calcite/{p-de419ec4.entry.js → p-09e5de43.entry.js} +2 -2
- package/dist/calcite/{p-4314f684.js → p-09f206be.js} +1 -1
- package/dist/calcite/{p-1ea6d4de.entry.js → p-0fc971de.entry.js} +2 -2
- package/dist/calcite/{p-cbbc60b7.js → p-1032e3ff.js} +1 -1
- package/dist/calcite/{p-871c8ad2.js → p-10baf6d8.js} +3 -3
- package/dist/calcite/{p-6edb0f1a.js → p-10e91541.js} +2 -2
- package/dist/calcite/{p-c6579354.js → p-14ffe28d.js} +2 -2
- package/dist/calcite/{p-c5bfd6c5.js → p-16577568.js} +1 -1
- package/dist/calcite/p-165ac5a1.js +6 -0
- package/dist/calcite/{p-ccaa2655.js → p-16ae6018.js} +2 -2
- package/dist/calcite/{p-85679290.js → p-1875fa6a.js} +2 -2
- package/dist/calcite/{p-6c3ba66d.entry.js → p-19d7faec.entry.js} +2 -2
- package/dist/calcite/{p-6b1d58aa.js → p-1b2d2630.js} +1 -1
- package/dist/calcite/{p-2f8dbc66.entry.js → p-1bca8b3c.entry.js} +2 -2
- package/dist/calcite/{p-d5b30230.entry.js → p-1ec7aac2.entry.js} +2 -2
- package/dist/calcite/{p-ab4d1606.entry.js → p-1f36472c.entry.js} +2 -2
- package/dist/calcite/{p-50bca30f.js → p-20a97fac.js} +2 -2
- package/dist/calcite/{p-04d4fe5b.entry.js → p-22d19fa6.entry.js} +2 -2
- package/dist/calcite/{p-7cb46413.entry.js → p-23210000.entry.js} +2 -2
- package/dist/calcite/{p-5ac7dee1.js → p-285865e4.js} +2 -2
- package/dist/calcite/{p-8aae3151.entry.js → p-289ac4ce.entry.js} +2 -2
- package/dist/calcite/{p-4fc098af.entry.js → p-2932eb19.entry.js} +2 -2
- package/dist/calcite/{p-bd0f1e95.entry.js → p-307965f5.entry.js} +2 -2
- package/dist/calcite/{p-fdd8c2d9.js → p-358f6909.js} +2 -2
- package/dist/calcite/{p-a87390cf.js → p-37b33d7f.js} +2 -2
- package/dist/calcite/{p-8f7c6ed5.entry.js → p-38819dd0.entry.js} +2 -2
- package/dist/calcite/{p-5ec76547.entry.js → p-38bd4306.entry.js} +2 -2
- package/dist/calcite/{p-e5aac1a0.entry.js → p-3929181e.entry.js} +2 -2
- package/dist/calcite/{p-fbfe1b19.js → p-3964d2ed.js} +2 -2
- package/dist/calcite/{p-57ce40ab.entry.js → p-39b54692.entry.js} +2 -2
- package/dist/calcite/{p-ea83b477.entry.js → p-3abee9f2.entry.js} +2 -2
- package/dist/calcite/{p-daed28a6.js → p-3b72033b.js} +2 -2
- package/dist/calcite/{p-49a970a9.entry.js → p-3b7f7295.entry.js} +2 -2
- package/dist/calcite/{p-c0f6a3f4.js → p-3bf5d289.js} +2 -2
- package/dist/calcite/{p-b5726ed7.js → p-3c10ca3e.js} +2 -2
- package/dist/calcite/{p-d0eea2dc.js → p-40a33add.js} +2 -2
- package/dist/calcite/{p-3433b6fa.entry.js → p-44868c21.entry.js} +2 -2
- package/dist/calcite/{p-194d3121.entry.js → p-455e383d.entry.js} +2 -2
- package/dist/calcite/{p-432b614d.js → p-482ae849.js} +1 -1
- package/dist/calcite/{p-9f47679b.js → p-49881ddd.js} +2 -2
- package/dist/calcite/{p-230bc3d6.js → p-49d1e49d.js} +2 -2
- package/dist/calcite/{p-728f7d13.js → p-4a4fe58c.js} +2 -2
- package/dist/calcite/{p-d780132f.js → p-4b626f81.js} +2 -2
- package/dist/calcite/{p-114d135b.js → p-4b6cf9e4.js} +1 -1
- package/dist/calcite/{p-0c4ad0a4.js → p-4bf1b586.js} +2 -2
- package/dist/calcite/{p-844e534f.entry.js → p-4e047dbc.entry.js} +2 -2
- package/dist/calcite/{p-69af2e0f.entry.js → p-4f5adb2f.entry.js} +2 -2
- package/dist/calcite/{p-2e23f3ff.entry.js → p-50786039.entry.js} +2 -2
- package/dist/calcite/{p-93c9c3c1.entry.js → p-523f2d63.entry.js} +2 -2
- package/dist/calcite/{p-cce40ea3.js → p-52cea482.js} +2 -2
- package/dist/calcite/{p-67eabafb.entry.js → p-52e7fba0.entry.js} +2 -2
- package/dist/calcite/{p-0dc76df8.entry.js → p-55c53137.entry.js} +2 -2
- package/dist/calcite/{p-b4fb4c9b.js → p-56682ec7.js} +2 -2
- package/dist/calcite/{p-92b967c5.js → p-58d6af0c.js} +2 -2
- package/dist/calcite/{p-29aa2965.entry.js → p-5b558d72.entry.js} +2 -2
- package/dist/calcite/{p-e88e69c3.entry.js → p-5dd446ec.entry.js} +2 -2
- package/dist/calcite/{p-2f868463.entry.js → p-5ed49c78.entry.js} +2 -2
- package/dist/calcite/{p-248acd55.entry.js → p-5fdc5f93.entry.js} +2 -2
- package/dist/calcite/{p-bf9e2837.entry.js → p-610bb9dd.entry.js} +2 -2
- package/dist/calcite/{p-ea62c018.js → p-6191d7f6.js} +2 -2
- package/dist/calcite/{p-4584f727.entry.js → p-631a4260.entry.js} +2 -2
- package/dist/calcite/{p-77096452.js → p-63a7bdb3.js} +2 -2
- package/dist/calcite/{p-469ffb3b.js → p-63e6c32a.js} +2 -2
- package/dist/calcite/{p-7cdf8858.entry.js → p-651b8ba1.entry.js} +2 -2
- package/dist/calcite/p-68b71e0c.js +6 -0
- package/dist/calcite/{p-acbf0a8c.js → p-6acafd19.js} +2 -2
- package/dist/calcite/{p-5aeb469c.js → p-6d11b122.js} +2 -2
- package/dist/calcite/{p-52b0656c.entry.js → p-6e0f427e.entry.js} +2 -2
- package/dist/calcite/{p-cfeee5ac.js → p-6ff453c0.js} +2 -2
- package/dist/calcite/p-71c0181f.js +6 -0
- package/dist/calcite/p-71d2be16.js +6 -0
- package/dist/calcite/{p-9b035e5f.js → p-77578eb5.js} +2 -2
- package/dist/calcite/{p-1a6f5e78.js → p-78a80cfa.js} +2 -2
- package/dist/calcite/{p-2b12a6a7.entry.js → p-78e3aeea.entry.js} +2 -2
- package/dist/calcite/{p-c43f630c.js → p-79a36379.js} +2 -2
- package/dist/calcite/{p-1d21564f.js → p-7a48e089.js} +2 -2
- package/dist/calcite/{p-fb8e4798.js → p-803ceae3.js} +1 -1
- package/dist/calcite/{p-58d7cdca.js → p-81db8456.js} +2 -2
- package/dist/calcite/{p-dd5731ae.js → p-8663945c.js} +2 -2
- package/dist/calcite/{p-64fd9882.js → p-86b7671b.js} +2 -2
- package/dist/calcite/{p-325c8a28.entry.js → p-8e6fc5ab.entry.js} +2 -2
- package/dist/calcite/{p-1b941ee3.entry.js → p-8fa8ec05.entry.js} +2 -2
- package/dist/calcite/{p-b57ec717.js → p-92213068.js} +2 -2
- package/dist/calcite/{p-9952b6bc.entry.js → p-93deadfd.entry.js} +2 -2
- package/dist/calcite/{p-de52aaee.js → p-944ff810.js} +2 -2
- package/dist/calcite/{p-f0058f34.js → p-9a641f93.js} +2 -2
- package/dist/calcite/p-9e5ca268.entry.js +6 -0
- package/dist/calcite/{p-38dea364.js → p-9e6b4a76.js} +2 -2
- package/dist/calcite/{p-3f91761e.entry.js → p-a6d0b743.entry.js} +2 -2
- package/dist/calcite/{p-a41d6728.js → p-a6d1b838.js} +2 -2
- package/dist/calcite/p-a94992e9.js +6 -0
- package/dist/calcite/{p-295c303d.entry.js → p-aa43fdd9.entry.js} +2 -2
- package/dist/calcite/{p-249e90be.js → p-ab5737c9.js} +1 -1
- package/dist/calcite/{p-f8e681a8.entry.js → p-ad2a9451.entry.js} +2 -2
- package/dist/calcite/{p-f34b8339.js → p-b08c46c6.js} +1 -1
- package/dist/calcite/{p-2f5b625a.js → p-b1b00e77.js} +2 -2
- package/dist/calcite/{p-7088fa4b.entry.js → p-b25ad7de.entry.js} +2 -2
- package/dist/calcite/p-b584f5b8.js +6 -0
- package/dist/calcite/p-b72748c2.js +6 -0
- package/dist/calcite/{p-58b90d36.js → p-b9454d5f.js} +2 -2
- package/dist/calcite/{p-d27faa4c.js → p-b9fd81d4.js} +2 -2
- package/dist/calcite/{p-31ee3aed.js → p-ba54ba1d.js} +2 -2
- package/dist/calcite/{p-c2794a4f.entry.js → p-bbe07756.entry.js} +2 -2
- package/dist/calcite/{p-d902b397.js → p-bc707330.js} +2 -2
- package/dist/calcite/{p-e6c14e2b.js → p-bc7af5a4.js} +2 -2
- package/dist/calcite/{p-8fbddb2c.entry.js → p-c0488451.entry.js} +2 -2
- package/dist/calcite/{p-e3999c2d.js → p-c155e7f7.js} +2 -2
- package/dist/calcite/{p-de58e075.entry.js → p-c16593ce.entry.js} +2 -2
- package/dist/calcite/{p-961722bd.entry.js → p-c3f41b14.entry.js} +2 -2
- package/dist/calcite/{p-ce813f5e.js → p-c576654c.js} +2 -2
- package/dist/calcite/p-c7a402e3.js +6 -0
- package/dist/calcite/{p-0b9f2272.js → p-cc5457d3.js} +2 -2
- package/dist/calcite/{p-0c22b3e4.entry.js → p-cd3b32e5.entry.js} +2 -2
- package/dist/calcite/{p-29f5bcf4.js → p-ced87445.js} +2 -2
- package/dist/calcite/{p-c48cda33.js → p-cfdbf208.js} +2 -2
- package/dist/calcite/{p-002dfe76.entry.js → p-cfffd67c.entry.js} +2 -2
- package/dist/calcite/{p-063f9bf0.entry.js → p-d4b8233d.entry.js} +2 -2
- package/dist/calcite/{p-15dfc48f.entry.js → p-d62a1c0c.entry.js} +2 -2
- package/dist/calcite/{p-05f2f0cd.js → p-d98b6b61.js} +1 -1
- package/dist/calcite/{p-1ca63537.js → p-da757473.js} +2 -2
- package/dist/calcite/{p-d93cd654.js → p-dd5ff398.js} +1 -1
- package/dist/calcite/{p-7fc0077d.entry.js → p-df394016.entry.js} +2 -2
- package/dist/calcite/{p-52618cc3.js → p-e02f1bf5.js} +2 -2
- package/dist/calcite/{p-4585a959.js → p-e031c8c8.js} +2 -2
- package/dist/calcite/{p-b7b173b9.js → p-e0bca87b.js} +1 -1
- package/dist/calcite/{p-5e7d03e6.js → p-e2db07cf.js} +2 -2
- package/dist/calcite/{p-e8649339.js → p-e3e0096e.js} +2 -2
- package/dist/calcite/{p-ee54ab27.entry.js → p-e47d09ab.entry.js} +2 -2
- package/dist/calcite/{p-1543c2b3.js → p-e4cd48ee.js} +2 -2
- package/dist/calcite/p-e4d233d7.entry.js +6 -0
- package/dist/calcite/{p-ad214e90.entry.js → p-e54050ac.entry.js} +2 -2
- package/dist/calcite/{p-c9fa2fa2.js → p-e6601789.js} +2 -2
- package/dist/calcite/{p-36771a5f.entry.js → p-e9b25d2c.entry.js} +2 -2
- package/dist/calcite/{p-b6f837d6.js → p-ea866d61.js} +1 -1
- package/dist/calcite/{p-0ee793a6.entry.js → p-ea9c63bd.entry.js} +2 -2
- package/dist/calcite/{p-48e4bb32.entry.js → p-f2ae85bb.entry.js} +2 -2
- package/dist/calcite/{p-b26dadf7.js → p-f3b912dc.js} +2 -2
- package/dist/calcite/{p-33900f4a.js → p-f4a1ce5e.js} +1 -1
- package/dist/calcite/{p-c9386238.js → p-f9145468.js} +2 -2
- package/dist/calcite/{p-45e46e96.js → p-fc504ec9.js} +1 -1
- package/dist/calcite/{p-f5efde4a.entry.js → p-fd396f7d.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-f0ed9df4.js → ExpandToggle-0635f749.js} +5 -5
- package/dist/cjs/{FloatingArrow-76d7923b.js → FloatingArrow-4279cd5e.js} +2 -2
- package/dist/cjs/{Heading-26c552cb.js → Heading-946d95e1.js} +2 -2
- package/dist/cjs/{app-globals-ad894b02.js → app-globals-f9b5c4b8.js} +2 -2
- package/dist/cjs/{ar-438d3718.js → ar-58f09907.js} +15 -15
- package/dist/cjs/{array-129e2ed3.js → array-5a277288.js} +1 -1
- package/dist/cjs/{bg-77344a7a.js → bg-2f5d935b.js} +15 -15
- package/dist/cjs/{bs-f673cfcf.js → bs-e6d8741d.js} +15 -15
- package/dist/cjs/{ca-42518db3.js → ca-436a3207.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- 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 +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +30 -20
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-eb23cbba.js → calcite-input-time-picker.calcite-time-picker-ea600b26.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.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 +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-7038f3d5.js → conditionalSlot-6cb04258.js} +3 -3
- package/dist/cjs/{cs-95d7b373.js → cs-941a2aa8.js} +15 -15
- package/dist/cjs/{da-25f601b7.js → da-25b5ce94.js} +15 -15
- package/dist/cjs/{de-54a88314.js → de-847b0815.js} +15 -15
- package/dist/cjs/{de-at-e75161ca.js → de-at-a7add0a3.js} +15 -15
- package/dist/cjs/{de-ch-52d354d0.js → de-ch-54a17633.js} +15 -15
- package/dist/cjs/{debounce-4bd84eb9.js → debounce-6df68e91.js} +1 -1
- package/dist/cjs/{dom-9397d651.js → dom-7deb482a.js} +3 -3
- package/dist/cjs/{el-43bb402a.js → el-dff2a944.js} +15 -15
- package/dist/cjs/{en-au-2971ce6d.js → en-au-de3aea97.js} +15 -15
- package/dist/cjs/{en-ca-fd149f23.js → en-ca-3c40c1fc.js} +15 -15
- package/dist/cjs/{en-gb-e9620013.js → en-gb-29c32dc8.js} +15 -15
- package/dist/cjs/{es-16564c22.js → es-82f2d336.js} +15 -15
- package/dist/cjs/{es-mx-5210a53b.js → es-mx-02c941f1.js} +15 -15
- package/dist/cjs/{et-6b59f590.js → et-62f85f6a.js} +15 -15
- package/dist/cjs/{fi-3f5efb7f.js → fi-fc12622e.js} +15 -15
- package/dist/cjs/{filter-73a94624.js → filter-6c5eb71e.js} +2 -2
- package/dist/cjs/{floating-ui-192a680e.js → floating-ui-51913846.js} +3 -3
- package/dist/cjs/{focusTrapComponent-aa14b035.js → focusTrapComponent-b80242b7.js} +2 -2
- package/dist/cjs/{form-516eefa8.js → form-f0df5c20.js} +3 -3
- package/dist/cjs/{fr-1a6fac98.js → fr-44bc1033.js} +15 -15
- package/dist/cjs/{fr-ch-825a5e9f.js → fr-ch-b9d877dd.js} +15 -15
- package/dist/cjs/{guid-c2c163f1.js → guid-4846c6d1.js} +1 -1
- package/dist/cjs/{he-cb16b086.js → he-5ee42998.js} +15 -15
- package/dist/cjs/{hi-2f1d348c.js → hi-852b7ed7.js} +15 -15
- package/dist/cjs/{hr-72ada872.js → hr-18fe8d18.js} +15 -15
- package/dist/cjs/{hu-ab5787f8.js → hu-440cee81.js} +15 -15
- package/dist/cjs/{id-5d63eb14.js → id-9085015d.js} +15 -15
- package/dist/cjs/{index-1b0c4c3c.js → index-611cd618.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-8b49caf5.js → interactive-0b86711d.js} +1 -1
- package/dist/cjs/{it-8d8b1343.js → it-c2e946d2.js} +15 -15
- package/dist/cjs/{it-ch-4d5038e4.js → it-ch-2b1138f4.js} +15 -15
- package/dist/cjs/{ja-14ac1589.js → ja-cdce5b5b.js} +15 -15
- package/dist/cjs/{key-8cafe622.js → key-418c45ec.js} +1 -1
- package/dist/cjs/{ko-4feef57e.js → ko-2633f03a.js} +15 -15
- package/dist/cjs/{label-79b6f0fc.js → label-6364e76a.js} +2 -2
- package/dist/cjs/{loadable-f6a64e02.js → loadable-3b53d9e7.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-8aba0548.js → locale-16540d3d.js} +4 -4
- package/dist/cjs/{lt-4969b81c.js → lt-22ad0d95.js} +15 -15
- package/dist/cjs/{lv-6a780876.js → lv-b25d67bc.js} +15 -15
- package/dist/cjs/{math-e6e5b59e.js → math-4c4cac55.js} +1 -1
- package/dist/cjs/{mk-1041f6fb.js → mk-0754b02c.js} +15 -15
- package/dist/cjs/{nb-6045ae7b.js → nb-fd7d23d3.js} +15 -15
- package/dist/cjs/{nl-8832bacc.js → nl-091b8ad7.js} +15 -15
- package/dist/cjs/{observers-633ee085.js → observers-3e6e53c1.js} +1 -1
- package/dist/cjs/openCloseComponent-b0d1b5ce.js +79 -0
- package/dist/cjs/{pl-002062ef.js → pl-5d1a0da9.js} +15 -15
- package/dist/cjs/{pt-f345d4da.js → pt-90542e38.js} +15 -15
- package/dist/cjs/{pt-br-6f7f0e9a.js → pt-br-ebb6ac33.js} +15 -15
- package/dist/cjs/{resources-b679f7b2.js → resources-17f405b2.js} +1 -1
- package/dist/cjs/{resources-fe654bb9.js → resources-4eac8d97.js} +1 -1
- package/dist/cjs/{resources-5aa1efd5.js → resources-6010746a.js} +1 -1
- package/dist/cjs/{resources-ba1eb132.js → resources-66cce818.js} +1 -1
- package/dist/cjs/{resources-79ae9aca.js → resources-a09e5e54.js} +5 -5
- package/dist/cjs/{resources-2a1c1d53.js → resources-abaa0c80.js} +1 -1
- package/dist/cjs/{resources-44c534bd.js → resources-d9ff83ea.js} +1 -1
- package/dist/cjs/{ro-5a813aed.js → ro-c7f47f5a.js} +15 -15
- package/dist/cjs/{ru-ea0d7edb.js → ru-3afe824d.js} +15 -15
- package/dist/cjs/{sk-0effa077.js → sk-64815a24.js} +15 -15
- package/dist/cjs/{sl-4fd2fe1a.js → sl-36909788.js} +15 -15
- package/dist/cjs/{sortableComponent-36da23d9.js → sortableComponent-ee6ea7b7.js} +2 -2
- package/dist/cjs/{sr-a7526881.js → sr-03ab2051.js} +15 -15
- package/dist/cjs/{sv-7700215d.js → sv-a852bc48.js} +15 -15
- package/dist/cjs/{t9n-c4c219c9.js → t9n-bb9d8e3d.js} +3 -3
- package/dist/cjs/{th-bf1295ef.js → th-63b8fb8b.js} +15 -15
- package/dist/cjs/{throttle-2010d100.js → throttle-b11751d8.js} +2 -2
- package/dist/cjs/{tr-a64dc9c6.js → tr-4493b675.js} +15 -15
- package/dist/cjs/{uk-44717086.js → uk-4d2607bf.js} +15 -15
- package/dist/cjs/{utils-d6320aae.js → utils-6638479b.js} +1 -1
- package/dist/cjs/{utils-861d9c11.js → utils-9230eeb1.js} +3 -3
- package/dist/cjs/{vi-5509dd82.js → vi-be35030d.js} +15 -15
- package/dist/cjs/{zh-cn-15512a8f.js → zh-cn-7adf2ecd.js} +15 -15
- package/dist/cjs/{zh-hk-f2d29466.js → zh-hk-18c321be.js} +15 -15
- package/dist/cjs/{zh-tw-3cfce0be.js → zh-tw-8fde8742.js} +15 -15
- package/dist/collection/components/accordion/accordion.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.js +1 -1
- package/dist/collection/components/action/resources.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.js +1 -1
- package/dist/collection/components/action-group/resources.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.js +1 -1
- package/dist/collection/components/action-pad/resources.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.js +1 -1
- package/dist/collection/components/avatar/utils.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.js +1 -1
- package/dist/collection/components/block-section/resources.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.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.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.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-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.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +4 -0
- package/dist/collection/components/combobox/combobox.js +10 -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.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +4 -0
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +23 -1
- package/dist/collection/components/combobox-item-group/resources.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-day/date-picker-day.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.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.js +1 -1
- package/dist/collection/components/dropdown-group/resources.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.js +1 -1
- package/dist/collection/components/fab/resources.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.js +1 -1
- package/dist/collection/components/flow/resources.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/XButton.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.js +1 -1
- package/dist/collection/components/handle/resources.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/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.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.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.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.js +1 -1
- package/dist/collection/components/navigation-logo/resources.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.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.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.js +1 -1
- package/dist/collection/components/panel/resources.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-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.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.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.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.js +1 -1
- package/dist/collection/components/rating/function/star.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.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.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.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.js +1 -1
- package/dist/collection/components/shell-panel/resources.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.js +1 -1
- package/dist/collection/components/sortable-list/resources.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.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.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.js +1 -1
- package/dist/collection/components/tabs/resources.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.js +1 -1
- package/dist/collection/components/tile/resources.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.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.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.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.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.js +6 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.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.js +1 -1
- package/dist/collection/components/value-list-item/resources.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/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +48 -14
- package/dist/collection/utils/resources.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/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +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 +1 -1
- package/dist/components/calcite-combobox-item-group.js +4 -2
- 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 +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-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 +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 +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-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +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 +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +11 -2
- 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 +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/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +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 +46 -14
- 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/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/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +6 -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-7b8a0e53.js → ExpandToggle-f1966859.js} +5 -5
- package/dist/esm/{FloatingArrow-8846619b.js → FloatingArrow-21965948.js} +2 -2
- package/dist/esm/{Heading-e36042dd.js → Heading-fc47620f.js} +2 -2
- package/dist/esm/{app-globals-32ab94b5.js → app-globals-df9ff859.js} +2 -2
- package/dist/esm/{ar-484ab948.js → ar-77e8b8ef.js} +15 -15
- package/dist/esm/{array-17a82994.js → array-2b1ba7c8.js} +1 -1
- package/dist/esm/{bg-c6b0668b.js → bg-53bbf7cc.js} +15 -15
- package/dist/esm/{bs-20ef624d.js → bs-7eaf7649.js} +15 -15
- package/dist/esm/{ca-3cc56efb.js → ca-1f5d7fca.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- 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 +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +30 -20
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-ad1ddccb.js → calcite-input-time-picker.calcite-time-picker-288b7a39.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +14 -14
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +14 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-e53abba3.js → conditionalSlot-f55bf66e.js} +3 -3
- package/dist/esm/{cs-4dd000b3.js → cs-de07a1d2.js} +15 -15
- package/dist/esm/{da-35862ad7.js → da-068a662f.js} +15 -15
- package/dist/esm/{de-at-4a743c8a.js → de-at-7ebb67e1.js} +15 -15
- package/dist/esm/{de-3310e53a.js → de-ba729fcf.js} +15 -15
- package/dist/esm/{de-ch-918ff478.js → de-ch-9a998ead.js} +15 -15
- package/dist/esm/{debounce-abe1e692.js → debounce-1e72c276.js} +1 -1
- package/dist/esm/{dom-3e1981dd.js → dom-ab9b2c6f.js} +3 -3
- package/dist/esm/{el-5d9a053a.js → el-2add6f42.js} +15 -15
- package/dist/esm/{en-au-0dea2456.js → en-au-f604af2d.js} +15 -15
- package/dist/esm/{en-ca-04aeb73d.js → en-ca-faa4adc5.js} +15 -15
- package/dist/esm/{en-gb-9a22d190.js → en-gb-2d6cac37.js} +15 -15
- package/dist/esm/{es-b50eff9c.js → es-afcd149c.js} +15 -15
- package/dist/esm/{es-mx-f3856688.js → es-mx-af67c4c9.js} +15 -15
- package/dist/esm/{et-f8819c4a.js → et-59f265e8.js} +15 -15
- package/dist/esm/{fi-b22b46ac.js → fi-26c347b3.js} +15 -15
- package/dist/esm/{filter-aa2d9d06.js → filter-1d29b47d.js} +2 -2
- package/dist/esm/{floating-ui-61b3d90f.js → floating-ui-69bd231f.js} +3 -3
- package/dist/esm/{focusTrapComponent-0208cf3b.js → focusTrapComponent-d0d8d965.js} +2 -2
- package/dist/esm/{form-12ac9150.js → form-64598d3e.js} +3 -3
- package/dist/esm/{fr-04a4a839.js → fr-b83f6294.js} +15 -15
- package/dist/esm/{fr-ch-3bae079a.js → fr-ch-470dae77.js} +15 -15
- package/dist/esm/{guid-05391bf2.js → guid-1b559bb0.js} +1 -1
- package/dist/esm/{he-ee853030.js → he-1aeab455.js} +15 -15
- package/dist/esm/{hi-fe4a5062.js → hi-2717bb07.js} +15 -15
- package/dist/esm/{hr-8d6bfe58.js → hr-f8f603d8.js} +15 -15
- package/dist/esm/{hu-8f5da2f7.js → hu-da01d6ca.js} +15 -15
- package/dist/esm/{id-c473441d.js → id-5549cf97.js} +15 -15
- package/dist/esm/{index-d67c5d10.js → index-179d42f5.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-b8e163e7.js → interactive-c3f4fb1a.js} +1 -1
- package/dist/esm/{it-15437a46.js → it-5f25803d.js} +15 -15
- package/dist/esm/{it-ch-bf0ac2f2.js → it-ch-5247f9a6.js} +15 -15
- package/dist/esm/{ja-12a295b0.js → ja-d48d5304.js} +15 -15
- package/dist/esm/{key-0d005f36.js → key-4d4afa1c.js} +1 -1
- package/dist/esm/{ko-0ad9d5fd.js → ko-46847b5a.js} +15 -15
- package/dist/esm/{label-3df941c1.js → label-f025525a.js} +2 -2
- package/dist/esm/{loadable-53d3912c.js → loadable-b0688628.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-41663808.js → locale-edede838.js} +4 -4
- package/dist/esm/{lt-a75e17b6.js → lt-5f1a72ac.js} +15 -15
- package/dist/esm/{lv-d87c9a45.js → lv-50783a5f.js} +15 -15
- package/dist/esm/{math-6ba6f402.js → math-843584fc.js} +1 -1
- package/dist/esm/{mk-8c0b8c72.js → mk-6a940ec2.js} +15 -15
- package/dist/esm/{nb-a71de94d.js → nb-69f63171.js} +15 -15
- package/dist/esm/{nl-d16ba1a2.js → nl-a9b12d4f.js} +15 -15
- package/dist/esm/{observers-ad0b71fe.js → observers-04f46905.js} +1 -1
- package/dist/esm/openCloseComponent-127ac51f.js +77 -0
- package/dist/esm/{pl-aea1e50c.js → pl-c6804eb2.js} +15 -15
- package/dist/esm/{pt-br-21d9e1fc.js → pt-br-09ffe66e.js} +15 -15
- package/dist/esm/{pt-2fe89ce2.js → pt-efd977e9.js} +15 -15
- package/dist/esm/{resources-c7b8b2d1.js → resources-0023580e.js} +5 -5
- package/dist/esm/{resources-ac724f48.js → resources-15beb843.js} +1 -1
- package/dist/esm/{resources-897eb8cc.js → resources-1e24c08c.js} +1 -1
- package/dist/esm/{resources-4bc34381.js → resources-2a939b6f.js} +1 -1
- package/dist/esm/{resources-27733003.js → resources-63935e20.js} +1 -1
- package/dist/esm/{resources-6fb985f9.js → resources-655415f0.js} +1 -1
- package/dist/esm/{resources-1ef8bb56.js → resources-820370c1.js} +1 -1
- package/dist/esm/{ro-0ec6d35a.js → ro-959b2f32.js} +15 -15
- package/dist/esm/{ru-7b2b0f54.js → ru-c7afaa40.js} +15 -15
- package/dist/esm/{sk-fba9f5a6.js → sk-6738d90b.js} +15 -15
- package/dist/esm/{sl-a6f94ab5.js → sl-fbc53679.js} +15 -15
- package/dist/esm/{sortableComponent-40f8f1bb.js → sortableComponent-8e7585dc.js} +2 -2
- package/dist/esm/{sr-ba5dd348.js → sr-8359aa8f.js} +15 -15
- package/dist/esm/{sv-6e7d63ba.js → sv-897c98dc.js} +15 -15
- package/dist/esm/{t9n-8837ca0b.js → t9n-442ea5ce.js} +3 -3
- package/dist/esm/{th-211d6dc1.js → th-08df789e.js} +15 -15
- package/dist/esm/{throttle-fa67bbd3.js → throttle-77c097ef.js} +2 -2
- package/dist/esm/{tr-de96a2ea.js → tr-1c111151.js} +15 -15
- package/dist/esm/{uk-ef66bbd8.js → uk-04465017.js} +15 -15
- package/dist/esm/{utils-98a1026d.js → utils-916743c9.js} +3 -3
- package/dist/esm/{utils-87f22f8f.js → utils-b12dcec0.js} +1 -1
- package/dist/esm/{vi-9bd48d6d.js → vi-27fb1663.js} +15 -15
- package/dist/esm/{zh-cn-171e895d.js → zh-cn-d7100cc0.js} +15 -15
- package/dist/esm/{zh-hk-393c1766.js → zh-hk-bd8ccada.js} +15 -15
- package/dist/esm/{zh-tw-d79f5cee.js → zh-tw-60d95ed4.js} +15 -15
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +6 -0
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +4 -0
- package/dist/types/utils/openCloseComponent.d.ts +17 -2
- package/hydrate/index.js +65 -17
- package/package.json +2 -2
- package/dist/calcite/p-1af88856.entry.js +0 -6
- package/dist/calcite/p-2d80ccb9.entry.js +0 -6
- package/dist/calcite/p-77256900.entry.js +0 -6
- package/dist/calcite/p-85612a29.js +0 -6
- package/dist/calcite/p-8a0325c6.js +0 -6
- package/dist/calcite/p-9ede63fa.js +0 -6
- package/dist/calcite/p-a03f1fd2.js +0 -6
- package/dist/calcite/p-afa9ebdb.js +0 -6
- package/dist/calcite/p-bb3c1d0c.entry.js +0 -6
- package/dist/calcite/p-bbab2433.js +0 -6
- package/dist/calcite/p-d9240e44.js +0 -6
- package/dist/calcite/p-dcb38790.js +0 -6
- package/dist/cjs/openCloseComponent-232c5366.js +0 -47
- package/dist/esm/openCloseComponent-e1eb7759.js +0 -45
- package/dist/extras/vscode-data.json +0 -6804
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.38
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -10304,12 +10304,33 @@ class ActionPad {
|
|
|
10304
10304
|
}; }
|
|
10305
10305
|
}
|
|
10306
10306
|
|
|
10307
|
+
function emitImmediately(component, nonOpenCloseComponent = false) {
|
|
10308
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10309
|
+
? component.onBeforeOpen()
|
|
10310
|
+
: component.onBeforeClose();
|
|
10311
|
+
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10312
|
+
? component.onOpen()
|
|
10313
|
+
: component.onClose();
|
|
10314
|
+
}
|
|
10307
10315
|
/**
|
|
10308
10316
|
* Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
|
|
10309
10317
|
* Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
|
|
10310
10318
|
*
|
|
10311
|
-
* @
|
|
10312
|
-
*
|
|
10319
|
+
* @example
|
|
10320
|
+
* import { onToggleOpenCloseComponent, OpenCloseComponent } from "../../utils/openCloseComponent";
|
|
10321
|
+
*
|
|
10322
|
+
* async componentWillLoad() {
|
|
10323
|
+
* // When component initially renders, if `open` was set we need to trigger on load as watcher doesn't fire.
|
|
10324
|
+
* if (this.open) {
|
|
10325
|
+
* onToggleOpenCloseComponent(this);
|
|
10326
|
+
* }
|
|
10327
|
+
* @Watch("open")
|
|
10328
|
+
* async toggleModal(value: boolean): Promise<void> {
|
|
10329
|
+
* onToggleOpenCloseComponent(this);
|
|
10330
|
+
* }
|
|
10331
|
+
*
|
|
10332
|
+
* @param component - OpenCloseComponent uses `open` prop to emit (before)open/close.
|
|
10333
|
+
* @param nonOpenCloseComponent - OpenCloseComponent uses `expanded` prop to emit (before)open/close.
|
|
10313
10334
|
*/
|
|
10314
10335
|
function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
10315
10336
|
readTask(() => {
|
|
@@ -10318,24 +10339,35 @@ function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
|
10318
10339
|
const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
|
|
10319
10340
|
const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
|
|
10320
10341
|
if (transitionDuration === "0s") {
|
|
10321
|
-
(
|
|
10322
|
-
|
|
10323
|
-
: component.onBeforeClose();
|
|
10324
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10325
|
-
? component.onOpen()
|
|
10326
|
-
: component.onClose();
|
|
10342
|
+
emitImmediately(component, nonOpenCloseComponent);
|
|
10343
|
+
return;
|
|
10327
10344
|
}
|
|
10328
|
-
|
|
10329
|
-
component.transitionEl.
|
|
10345
|
+
const fallbackTimeoutId = setTimeout(() => {
|
|
10346
|
+
component.transitionEl.removeEventListener("transitionstart", onStart);
|
|
10347
|
+
component.transitionEl.removeEventListener("transitionend", onEndOrCancel);
|
|
10348
|
+
component.transitionEl.removeEventListener("transitioncancel", onEndOrCancel);
|
|
10349
|
+
emitImmediately(component, nonOpenCloseComponent);
|
|
10350
|
+
}, parseFloat(transitionDuration) * 1000);
|
|
10351
|
+
component.transitionEl.addEventListener("transitionstart", onStart);
|
|
10352
|
+
component.transitionEl.addEventListener("transitionend", onEndOrCancel);
|
|
10353
|
+
component.transitionEl.addEventListener("transitioncancel", onEndOrCancel);
|
|
10354
|
+
function onStart(event) {
|
|
10355
|
+
if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
|
|
10356
|
+
clearTimeout(fallbackTimeoutId);
|
|
10357
|
+
component.transitionEl.removeEventListener("transitionstart", onStart);
|
|
10330
10358
|
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10331
10359
|
? component.onBeforeOpen()
|
|
10332
10360
|
: component.onBeforeClose();
|
|
10333
|
-
}
|
|
10334
|
-
|
|
10361
|
+
}
|
|
10362
|
+
}
|
|
10363
|
+
function onEndOrCancel(event) {
|
|
10364
|
+
if (event.propertyName === component.openTransitionProp && event.target === component.transitionEl) {
|
|
10335
10365
|
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
10336
10366
|
? component.onOpen()
|
|
10337
10367
|
: component.onClose();
|
|
10338
|
-
|
|
10368
|
+
component.transitionEl.removeEventListener("transitionend", onEndOrCancel);
|
|
10369
|
+
component.transitionEl.removeEventListener("transitioncancel", onEndOrCancel);
|
|
10370
|
+
}
|
|
10339
10371
|
}
|
|
10340
10372
|
}
|
|
10341
10373
|
});
|
|
@@ -18745,7 +18777,7 @@ function XButton({ disabled, key, label, onClick, ref, scale, }) {
|
|
|
18745
18777
|
hAsync("calcite-icon", { icon: "x", scale: scale === "l" ? "m" : "s" })));
|
|
18746
18778
|
}
|
|
18747
18779
|
|
|
18748
|
-
const comboboxCss = "/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-combobox-h *.sc-calcite-combobox,.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>*{pointer-events:none}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1rem;block-size:1rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1.5rem;block-size:1.5rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:2rem;block-size:2rem}/*!@.x-button*/.x-button.sc-calcite-combobox{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-ui-foreground-2)}/*!@.x-button:active, .x-button:hover*/.x-button.sc-calcite-combobox:active,.x-button.sc-calcite-combobox:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}/*!@.x-button:active*/.x-button.sc-calcite-combobox:active{border-style:solid;border-color:var(--calcite-ui-brand)}/*!@.x-button calcite-icon*/.x-button.sc-calcite-combobox calcite-icon.sc-calcite-combobox{color:inherit}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:1rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper,\n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end,\n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;inline-size:1rem;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{visibility:visible}@media (forced-colors: active){/*!@.wrapper,\n .floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{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}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>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}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-combobox{display:none}";
|
|
18780
|
+
const comboboxCss = "/*!@:host([disabled])*/[disabled].sc-calcite-combobox-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-combobox-h *.sc-calcite-combobox,.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>*{pointer-events:none}/*!@:host*/.sc-calcite-combobox-h{position:relative;display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-combobox-h[disabled] .sc-calcite-combobox-s>[calcite-hydrated][disabled],[disabled].sc-calcite-combobox-h [calcite-hydrated][disabled].sc-calcite-combobox{opacity:1}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1rem;block-size:1rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:1.5rem;block-size:1.5rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{inline-size:2rem;block-size:2rem}/*!@.x-button*/.x-button.sc-calcite-combobox{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-ui-foreground-2)}/*!@.x-button:active, .x-button:hover*/.x-button.sc-calcite-combobox:active,.x-button.sc-calcite-combobox:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}/*!@.x-button:active*/.x-button.sc-calcite-combobox:active{border-style:solid;border-color:var(--calcite-ui-brand)}/*!@.x-button calcite-icon*/.x-button.sc-calcite-combobox calcite-icon.sc-calcite-combobox{color:inherit}/*!@:host([scale=s])*/[scale=s].sc-calcite-combobox-h{font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}/*!@:host([scale=s]) .x-button*/[scale=s].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-combobox-h{font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}/*!@:host([scale=m]) .x-button*/[scale=m].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:0.75rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-combobox-h{font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}/*!@:host([scale=l]) .x-button*/[scale=l].sc-calcite-combobox-h .x-button.sc-calcite-combobox{margin-inline-end:1rem}/*!@.wrapper*/.wrapper.sc-calcite-combobox{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@:host(:focus-within) .wrapper,\n.wrapper--active*/.sc-calcite-combobox-h:focus-within .wrapper.sc-calcite-combobox,.wrapper--active.sc-calcite-combobox{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.wrapper--single*/.wrapper--single.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}/*!@.grid-input*/.grid-input.sc-calcite-combobox{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}/*!@.input*/.input.sc-calcite-combobox{flex-grow:1;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}/*!@.input:focus*/.input.sc-calcite-combobox:focus{outline:2px solid transparent;outline-offset:2px}/*!@.input--transparent*/.input--transparent.sc-calcite-combobox{opacity:0}/*!@.input--single*/.input--single.sc-calcite-combobox{margin-block:0px;padding:0px}/*!@.wrapper--active .input-single*/.wrapper--active.sc-calcite-combobox .input-single.sc-calcite-combobox{cursor:text}/*!@.input--hidden*/.input--hidden.sc-calcite-combobox{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}/*!@.input--icon*/.input--icon.sc-calcite-combobox{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.input-wrap*/.input-wrap.sc-calcite-combobox{display:flex;flex-grow:1}/*!@.input-wrap--single*/.input-wrap--single.sc-calcite-combobox{flex:1 1 0%;overflow:hidden}/*!@.label*/.label.sc-calcite-combobox{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}/*!@.label--icon*/.label--icon.sc-calcite-combobox{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}/*!@.icon-end,\n.icon-start*/.icon-end.sc-calcite-combobox,.icon-start.sc-calcite-combobox{display:flex;inline-size:1rem;cursor:pointer;align-items:center}/*!@.icon-end*/.icon-end.sc-calcite-combobox{flex:none}/*!@.floating-ui-container*/.floating-ui-container.sc-calcite-combobox{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}/*!@.floating-ui-container .calcite-floating-ui-anim*/.floating-ui-container.sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}/*!@.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=bottom].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(-5px)}/*!@.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=top].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateY(5px)}/*!@.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=left].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(5px)}/*!@.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim*/.floating-ui-container[data-placement^=right].sc-calcite-combobox .calcite-floating-ui-anim.sc-calcite-combobox{transform:translateX(-5px)}/*!@.floating-ui-container[data-placement] .calcite-floating-ui-anim--active*/.floating-ui-container[data-placement].sc-calcite-combobox .calcite-floating-ui-anim--active.sc-calcite-combobox{opacity:1;transform:translate(0)}/*!@.floating-ui-container--active*/.floating-ui-container--active.sc-calcite-combobox{visibility:visible}@media (forced-colors: active){/*!@.wrapper,\n .floating-ui-container--active*/.wrapper.sc-calcite-combobox,.floating-ui-container--active.sc-calcite-combobox{border:1px solid canvasText}}/*!@.screen-readers-only*/.screen-readers-only.sc-calcite-combobox{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}/*!@.list-container*/.list-container.sc-calcite-combobox{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}/*!@.list*/.list.sc-calcite-combobox{margin:0px;display:block;padding:0px}/*!@.list--hide*/.list--hide.sc-calcite-combobox{block-size:0px;overflow:hidden}/*!@.chip*/.chip.sc-calcite-combobox{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}/*!@.chip--active*/.chip--active.sc-calcite-combobox{background-color:var(--calcite-ui-foreground-3)}/*!@.item*/.item.sc-calcite-combobox{display:block}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-combobox-s>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}/*!@:host([hidden])*/[hidden].sc-calcite-combobox-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-combobox{display:none}/*!@::slotted(calcite-combobox-item-group:not(:first-child))*/.sc-calcite-combobox-s>calcite-combobox-item-group:not(:first-child){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
|
18749
18781
|
|
|
18750
18782
|
const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
|
|
18751
18783
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -19030,6 +19062,15 @@ class Combobox {
|
|
|
19030
19062
|
if (!this.allowCustomValues) {
|
|
19031
19063
|
this.setMaxScrollerHeight();
|
|
19032
19064
|
}
|
|
19065
|
+
this.groupItems.forEach((groupItem, index, items) => {
|
|
19066
|
+
if (index === 0) {
|
|
19067
|
+
groupItem.afterEmptyGroup = false;
|
|
19068
|
+
}
|
|
19069
|
+
const nextGroupItem = items[index + 1];
|
|
19070
|
+
if (nextGroupItem) {
|
|
19071
|
+
nextGroupItem.afterEmptyGroup = groupItem.children.length === 0;
|
|
19072
|
+
}
|
|
19073
|
+
});
|
|
19033
19074
|
};
|
|
19034
19075
|
this.scrollToActiveItem = () => {
|
|
19035
19076
|
const activeItem = this.filteredItems[this.activeItemIndex];
|
|
@@ -19781,7 +19822,7 @@ const CSS$N = {
|
|
|
19781
19822
|
title: "title",
|
|
19782
19823
|
};
|
|
19783
19824
|
|
|
19784
|
-
const comboboxItemGroupCss = "/*!@.scale--s*/.scale--s.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}/*!@.scale--m*/.scale--m.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}/*!@.scale--l*/.scale--l.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}/*!@:host,\n.list*/.sc-calcite-combobox-item-group-h,.list.sc-calcite-combobox-item-group{margin:0px;display:flex;flex-direction:column;padding:0px}/*!@:host(:focus),\n.list:focus*/.sc-calcite-combobox-item-group-h:focus,.list.sc-calcite-combobox-item-group:focus{outline:2px solid transparent;outline-offset:2px}/*!@.label*/.label.sc-calcite-combobox-item-group{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}/*!@.title*/.title.sc-calcite-combobox-item-group{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}";
|
|
19825
|
+
const comboboxItemGroupCss = "/*!@.scale--s*/.scale--s.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}/*!@.scale--m*/.scale--m.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}/*!@.scale--l*/.scale--l.sc-calcite-combobox-item-group{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}/*!@:host,\n.list*/.sc-calcite-combobox-item-group-h,.list.sc-calcite-combobox-item-group{margin:0px;display:flex;flex-direction:column;padding:0px}/*!@:host(:focus),\n.list:focus*/.sc-calcite-combobox-item-group-h:focus,.list.sc-calcite-combobox-item-group:focus{outline:2px solid transparent;outline-offset:2px}/*!@.label*/.label.sc-calcite-combobox-item-group{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-ui-text-3)}/*!@.title*/.title.sc-calcite-combobox-item-group{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-ui-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}/*!@::slotted(calcite-combobox-item-group:not([after-empty-group]))*/.sc-calcite-combobox-item-group-s>calcite-combobox-item-group:not([after-empty-group]){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
|
19785
19826
|
|
|
19786
19827
|
/**
|
|
19787
19828
|
* @slot - A slot for adding `calcite-combobox-item`s.
|
|
@@ -19791,6 +19832,7 @@ class ComboboxItemGroup {
|
|
|
19791
19832
|
registerInstance(this, hostRef);
|
|
19792
19833
|
this.guid = guid();
|
|
19793
19834
|
this.scale = "m";
|
|
19835
|
+
this.afterEmptyGroup = false;
|
|
19794
19836
|
this.ancestors = undefined;
|
|
19795
19837
|
this.label = undefined;
|
|
19796
19838
|
}
|
|
@@ -19819,12 +19861,13 @@ class ComboboxItemGroup {
|
|
|
19819
19861
|
"$flags$": 9,
|
|
19820
19862
|
"$tagName$": "calcite-combobox-item-group",
|
|
19821
19863
|
"$members$": {
|
|
19864
|
+
"afterEmptyGroup": [516, "after-empty-group"],
|
|
19822
19865
|
"ancestors": [1040],
|
|
19823
19866
|
"label": [1]
|
|
19824
19867
|
},
|
|
19825
19868
|
"$listeners$": undefined,
|
|
19826
19869
|
"$lazyBundleId$": "-",
|
|
19827
|
-
"$attrsToReflect$": []
|
|
19870
|
+
"$attrsToReflect$": [["afterEmptyGroup", "after-empty-group"]]
|
|
19828
19871
|
}; }
|
|
19829
19872
|
}
|
|
19830
19873
|
|
|
@@ -42024,6 +42067,11 @@ class Tooltip {
|
|
|
42024
42067
|
onToggleOpenCloseComponent(this);
|
|
42025
42068
|
}
|
|
42026
42069
|
}
|
|
42070
|
+
async componentWillLoad() {
|
|
42071
|
+
if (this.open) {
|
|
42072
|
+
onToggleOpenCloseComponent(this);
|
|
42073
|
+
}
|
|
42074
|
+
}
|
|
42027
42075
|
componentDidLoad() {
|
|
42028
42076
|
if (this.referenceElement && !this.effectiveReferenceElement) {
|
|
42029
42077
|
this.setUpReferenceElement();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.5.0-next.
|
|
3
|
+
"version": "1.5.0-next.38",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"volta": {
|
|
87
87
|
"extends": "../../package.json"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "5768764bf0f1bf8231d5d8ef65798ad280cff85d"
|
|
90
90
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,a as e}from"./p-45e46e96.js";import{c as a,d as o,u as r}from"./p-114d135b.js";import{c as n}from"./p-d93cd654.js";import{d,c as h}from"./p-d902b397.js";import{d as c}from"./p-871c8ad2.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";const l=class{constructor(s){t(this,s),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.items=[],this.mutationObserver=n("mutation",(()=>{this.setUpSorting()})),this.dragEnabled=!0,this.canPull=void 0,this.canPut=void 0,this.dragSelector=void 0,this.group=void 0,this.handleSelector="calcite-handle",this.layout="vertical",this.disabled=!1,this.loading=!1}connectedCallback(){this.setUpSorting(),this.beginObserving(),a(this)}disconnectedCallback(){o(this),d(this),this.endObserving()}componentDidRender(){r(this)}calciteHandleNudgeNextHandler(t){this.handleNudgeEvent(t)}onDragStart(){this.endObserving()}onDragEnd(){this.beginObserving()}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(t){const{direction:i}=t.detail,s=t.composedPath().find((t=>t.matches(this.handleSelector))),e=this.items.find((i=>i.contains(s)||t.composedPath().includes(i))),a=this.items.length-1,o=this.items.indexOf(e);let r,n=!1;"up"===i?0===o?n=!0:r=o-1:o===a?r=0:o===a-1?n=!0:r=o+2,this.endObserving(),n?e.parentElement.appendChild(e):e.parentElement.insertBefore(e,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame((()=>c(s))),"activated"in s&&(s.activated=!0)}setUpSorting(){this.items=Array.from(this.el.children),h(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){const{layout:t}=this,i="horizontal"===t||!1;return s("div",{class:{container:!0,"container--vertical":!i,"container--horizontal":i}},s("slot",null))}get el(){return e(this)}};l.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:flex;flex:1 1 auto}.container--vertical{flex-direction:column}.container--horizontal{flex-direction:row}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_sortable_list}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as s,a as e,H as a}from"./p-45e46e96.js";import{c as o,u as n,d as r}from"./p-114d135b.js";import{s as h,a as c,c as l}from"./p-bbab2433.js";import{c as d,d as u}from"./p-acbf0a8c.js";import{c as p}from"./p-d93cd654.js";import{u as m,c as b,s as v,d as w}from"./p-64fd9882.js";import{g,m as f,d as x,a as y,s as k,h as L,b as j,c as C,k as I,e as D,i as z,f as H,j as A,l as F,n as S,r as R,o as B,p as U,q as _,t as E,L as M,I as O,C as V,S as q}from"./p-e6c14e2b.js";import{d as K,c as T}from"./p-d902b397.js";import{d as W,g as P}from"./p-871c8ad2.js";import{c as $,d as G}from"./p-d9240e44.js";import{g as J}from"./p-cbbc60b7.js";import"./p-f34b8339.js";import"./p-4314f684.js";import"./p-6b1d58aa.js";import"./p-b7b173b9.js";var N;function Q(t,i,s){const{items:e,messages:a}=s,o=e.length,n=g(s,t)+1;return function(t,i,s,e){return t.replace("{position}",s.toString()).replace("{itemLabel}",i).replace("{total}",e.toString())}("idle"===i?a.dragHandleIdle:"active"===i?a.dragHandleActive:"change"===i?a.dragHandleChange:a.dragHandleCommit,t.label,n,o)}function X(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}!function(t){t.grip="grip"}(N||(N={}));const Y=class{constructor(s){t(this,s),this.calciteListChange=i(this,"calciteListChange",6),this.calciteListOrderChange=i(this,"calciteListOrderChange",6),this.calciteListFilter=i(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=p("mutation",f.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=x.bind(this),this.deselectSiblingItems=y.bind(this),this.selectSiblings=k.bind(this),this.handleFilter=L.bind(this),this.handleFilterEvent=j.bind(this),this.getItemData=C.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:i,item:s}=X(t);if(i&&!s.handleActivated&&" "===t.key&&this.updateScreenReaderText(Q(s,"commit",this)),!i||!s.handleActivated)return void I.call(this,t);t.preventDefault();const{items:e}=this;if(" "===t.key&&this.updateScreenReaderText(Q(s,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||e.length<=1)return;const{el:a}=this,o=D(this,s,"ArrowUp"===t.key?"up":"down");if(o===e.length-1)a.appendChild(s);else{const t=a.children[o];a.insertBefore(s,t===s.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>W(i))),s.handleActivated=!0,this.updateHandleAriaLabel(i,Q(s,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:i,item:s}=X(t);!s?.handleActivated&&s&&i&&this.updateHandleAriaLabel(i,Q(s,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){m(this,this.effectiveLocale)}connectedCallback(){o(this),d(this),b(this),z.call(this),H.call(this),this.setUpSorting()}async componentWillLoad(){h(this),await v(this)}componentDidLoad(){c(this),A.call(this)}componentDidRender(){n(this)}disconnectedCallback(){r(this),K(this),u(this),w(this),F.call(this)}calciteListFocusOutHandler(t){S.call(this,t)}calciteListItemRemoveHandler(t){R.call(this,t)}calciteListItemChangeHandler(t){B.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){U.call(this,t),t.stopPropagation()}onDragStart(){F.call(this)}onDragEnd(){H.call(this)}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){_.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&T(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await l(this),E.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=N.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,i){t.ariaLabel=i}handleValueListItemBlur(t){const{item:i,handle:s}=t.detail;!i?.handleActivated&&i&&this.updateHandleAriaLabel(s,Q(i,"idle",this)),t.stopPropagation()}render(){return s(M,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Y.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}calcite-value-list-item:last-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)}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-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)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-app-z-index-sticky)}calcite-filter{margin-block-end:1px}.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 Z="actions-end",tt="actions-start",it=class{constructor(s){t(this,s),this.calciteListItemChange=i(this,"calciteListItemChange",6),this.calciteListItemRemove=i(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=i(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${J()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){$(this),o(this)}disconnectedCallback(){G(this),r(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this)}componentDidRender(){n(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){return await l(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return P(t,Z)?s("slot",{name:Z,slot:q.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return P(t,tt)?s("slot",{name:tt,slot:q.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:i}=this;if(t===O.grip)return s("span",{class:{[V.handle]:!0,[V.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},s("calcite-icon",{flipRtl:i,icon:"drag",scale:"s"}))}render(){return s(a,{id:this.el.id||this.guid},this.renderHandle(),s("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return e(this)}};it.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-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);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--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)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{Y as calcite_value_list,it as calcite_value_list_item}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-d0eea2dc.js";import"./p-45e46e96.js";import"./p-ce813f5e.js";import"./p-871c8ad2.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";import"./p-114d135b.js";import"./p-f34b8339.js";import"./p-5aeb469c.js";import"./p-bbab2433.js";import"./p-acbf0a8c.js";import"./p-d93cd654.js";import"./p-0c4ad0a4.js";import"./p-64fd9882.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-45e46e96.js";const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,n=a/2,d="vertical"===i,l=`M0,0 H${a} L${a-n},${h} Q${n},${h} ${n},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,ref:r,viewBox:`0 0 ${a} ${a+(d?0:s)}`,width:a+(d?s:0)},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d:l,fill:"none","stroke-width":s+1}),t("path",{d:l,stroke:"none"}))};export{i as F}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-45e46e96.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const n=e.level?`h${e.level}`:"div";return delete e.level,t(n,{...e},r)};export{r as H,e as c}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{d as e}from"./p-d0eea2dc.js";import"./p-45e46e96.js";import"./p-ce813f5e.js";import"./p-871c8ad2.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";import"./p-114d135b.js";import"./p-f34b8339.js";import"./p-5aeb469c.js";import"./p-bbab2433.js";import"./p-acbf0a8c.js";import"./p-d93cd654.js";import"./p-0c4ad0a4.js";import"./p-64fd9882.js";function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,r,t){var a=e+" ";switch(t){case"m":return r?"minuta":"minutę";case"mm":return a+(i(e)?"minuty":"minut");case"h":return r?"godzina":"godzinę";case"hh":return a+(i(e)?"godziny":"godzin");case"MM":return a+(i(e)?"miesiące":"miesięcy");case"yy":return a+(i(e)?"lata":"lat")}}var t="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),_=/D MMMM/,s=function(e,i){return _.test(i)?t[e.month()]:a[e.month()]};s.s=a,s.f=t;var m={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:s,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};e.locale(m,null,!0);export default m;
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{d as i,i as n}from"./p-6b1d58aa.js";function a(a,t,r){var e=!0,o=!0;if("function"!=typeof a)throw new TypeError("Expected a function");return n(r)&&(e="leading"in r?!!r.leading:e,o="trailing"in r?!!r.trailing:o),i(a,t,{leading:e,maxWait:t,trailing:o})}export{a as t}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{e as t}from"./p-45e46e96.js";function o(o,e=!1){t((()=>{if(o.transitionEl){const t=getComputedStyle(o.transitionEl).transition.split(" "),n=t.findIndex((t=>t===o.openTransitionProp));"0s"===t[n+1]?((e?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose(),(e?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()):(o.transitionEl.addEventListener("transitionstart",(()=>{(e?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose()}),{once:!0}),o.transitionEl.addEventListener("transitionend",(()=>{(e?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()}),{once:!0}))}}))}export{o}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,a as s,F as n}from"./p-45e46e96.js";import{c as a}from"./p-d93cd654.js";import{d as o}from"./p-871c8ad2.js";import{c,d as r,a as l,H as h}from"./p-ce813f5e.js";import{c as d,d as p,u}from"./p-114d135b.js";import{c as m,d as b,g}from"./p-5aeb469c.js";import{s as f,a as v,c as C}from"./p-bbab2433.js";import"./p-cbbc60b7.js";import"./p-b7b173b9.js";const w=class{constructor(i){t(this,i),this.calciteInternalOptionChange=e(this,"calciteInternalOptionChange",6),this.mutationObserver=a("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,e,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";const x=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=e(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};x.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function y(t){return"CALCITE-OPTION"===t.tagName}const z=class{constructor(i){t(this,i),this.calciteSelectChange=e(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=a("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>this.selectEl?.append(this.toNativeElement(t))))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((e=>e.selected=e.value===t))}selectedOptionHandler(t){this.value=t?.value}connectedCallback(){const{el:t}=this;this.mutationObserver?.observe(t,{subtree:!0,childList:!0}),d(this),m(this),c(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),p(this),b(this),r(this)}componentWillLoad(){f(this)}componentDidLoad(){v(this),l(this,this.selectedOption?.value??"")}componentDidRender(){u(this)}async setFocus(){await C(this),o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const e=t.target,i=this.componentToNativeEl.get(e);i&&(this.updateNativeElement(e,i),y(e)&&e.selected&&(this.deselectAllExcept(e),this.selectedOption=e))}onLabelClick(){this.setFocus()}updateNativeElement(t,e){if(e.disabled=t.disabled,e.label=t.label,y(t)){const i=e;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let e;this.componentToNativeEl.forEach(((i,s)=>{y(s)&&i===t&&(s.selected=!0,e=s,this.deselectAllExcept(s))})),e&&(this.selectedOption=e)}toNativeElement(t){if(y(t)){const e=document.createElement("option");return this.updateNativeElement(t,e),this.componentToNativeEl.set(t,e),e}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const e=document.createElement("optgroup");return this.updateNativeElement(t,e),Array.from(t.children).forEach((i=>{const s=this.toNativeElement(i);e.append(s),this.componentToNativeEl.set(t,s)})),this.componentToNativeEl.set(t,e),e}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((e=>{e!==t&&(e.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":g(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::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}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_option,x as calcite_option_group,z as calcite_select}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{f as n}from"./p-45e46e96.js";const e=new WeakMap,a=new WeakMap;function s(n){a.set(n,new Promise((a=>e.set(n,a))))}function t(n){e.get(n)()}function o(n){return a.get(n)}async function r(e){return await o(e),n(e),new Promise((n=>requestAnimationFrame((()=>n()))))}export{t as a,o as b,r as c,s}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-45e46e96.js";import{c as o}from"./p-d93cd654.js";const n=new Set;let c;const s={childList:!0};function f(t){c||(c=o("mutation",e)),c.observe(t.el,s)}function i(t){n.delete(t.el),e(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function e(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import{f as t,h as e}from"./p-45e46e96.js";import{b as o}from"./p-871c8ad2.js";import{S as n}from"./p-249e90be.js";import{S as a}from"./p-fb8e4798.js";const i=150,c=t=>t.reduce(((t,e)=>t+e),0)/t.length,l=t=>{const e=t?.length;return{actionWidth:e?c(t.map((t=>t.clientWidth||0))):0,actionHeight:e?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:e,actionWidth:o,width:n,actionHeight:a,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:n,actionHeight:a,groupCount:i})=>Math.floor((("horizontal"===o?t:n)-2*i)/("horizontal"===o?e:a)))({width:n,actionWidth:o,layout:t,height:i,actionHeight:a,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),p=({actionGroups:e,expanded:o,overflowCount:a})=>{let i=a;e.reverse().forEach((e=>{let a=0;const c=s(e).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(e)}))};function h({el:t,expanded:e}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const u=({expanded:t,expandText:n,collapseText:a,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:p})=>{const h="rtl"===o(c),u=t?a:n,d=["chevrons-left","chevrons-right"];h&&d.reverse();const f="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(l,c),g=e("calcite-action",{icon:t?f?d[1]:d[0]:f?d[0]:d[1],onClick:i,scale:p,text:u,textEnabled:t,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:n})=>(t&&(t.referenceElement=!o&&e?e:null),n&&n(e),e))({tooltip:r,referenceElement:e,expanded:t,ref:s})});return g};export{u as E,p as a,r as b,l as g,i as o,s as q,h as t}
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
'use strict';
|
|
7
|
-
|
|
8
|
-
const index = require('./index-1b0c4c3c.js');
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
|
|
12
|
-
* Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
|
|
13
|
-
*
|
|
14
|
-
* @param component
|
|
15
|
-
* @param nonOpenCloseComponent
|
|
16
|
-
*/
|
|
17
|
-
function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
18
|
-
index.readTask(() => {
|
|
19
|
-
if (component.transitionEl) {
|
|
20
|
-
const allTransitionPropsArray = getComputedStyle(component.transitionEl).transition.split(" ");
|
|
21
|
-
const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
|
|
22
|
-
const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
|
|
23
|
-
if (transitionDuration === "0s") {
|
|
24
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
25
|
-
? component.onBeforeOpen()
|
|
26
|
-
: component.onBeforeClose();
|
|
27
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
28
|
-
? component.onOpen()
|
|
29
|
-
: component.onClose();
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
component.transitionEl.addEventListener("transitionstart", () => {
|
|
33
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
34
|
-
? component.onBeforeOpen()
|
|
35
|
-
: component.onBeforeClose();
|
|
36
|
-
}, { once: true });
|
|
37
|
-
component.transitionEl.addEventListener("transitionend", () => {
|
|
38
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
39
|
-
? component.onOpen()
|
|
40
|
-
: component.onClose();
|
|
41
|
-
}, { once: true });
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
exports.onToggleOpenCloseComponent = onToggleOpenCloseComponent;
|
|
@@ -1,45 +0,0 @@
|
|
|
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
|
-
* v1.5.0-next.36
|
|
5
|
-
*/
|
|
6
|
-
import { e as readTask } from './index-d67c5d10.js';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Helper to determine globally set transition duration on the given openTransitionProp, which is imported and set in the @Watch("open").
|
|
10
|
-
* Used to emit (before)open/close events both for when the opacity transition is present and when there is none (transition-duration is set to 0).
|
|
11
|
-
*
|
|
12
|
-
* @param component
|
|
13
|
-
* @param nonOpenCloseComponent
|
|
14
|
-
*/
|
|
15
|
-
function onToggleOpenCloseComponent(component, nonOpenCloseComponent = false) {
|
|
16
|
-
readTask(() => {
|
|
17
|
-
if (component.transitionEl) {
|
|
18
|
-
const allTransitionPropsArray = getComputedStyle(component.transitionEl).transition.split(" ");
|
|
19
|
-
const openTransitionPropIndex = allTransitionPropsArray.findIndex((item) => item === component.openTransitionProp);
|
|
20
|
-
const transitionDuration = allTransitionPropsArray[openTransitionPropIndex + 1];
|
|
21
|
-
if (transitionDuration === "0s") {
|
|
22
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
23
|
-
? component.onBeforeOpen()
|
|
24
|
-
: component.onBeforeClose();
|
|
25
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
26
|
-
? component.onOpen()
|
|
27
|
-
: component.onClose();
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
component.transitionEl.addEventListener("transitionstart", () => {
|
|
31
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
32
|
-
? component.onBeforeOpen()
|
|
33
|
-
: component.onBeforeClose();
|
|
34
|
-
}, { once: true });
|
|
35
|
-
component.transitionEl.addEventListener("transitionend", () => {
|
|
36
|
-
(nonOpenCloseComponent ? component[component.transitionProp] : component.open)
|
|
37
|
-
? component.onOpen()
|
|
38
|
-
: component.onClose();
|
|
39
|
-
}, { once: true });
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export { onToggleOpenCloseComponent as o };
|