@esri/calcite-components 2.4.0 → 2.4.1-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.storybook/placeholderImage.js +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00b33d27.js +7 -0
- package/dist/calcite/p-01223da5.entry.js +7 -0
- package/dist/calcite/p-01ce6c82.entry.js +7 -0
- package/dist/calcite/p-0294cb32.entry.js +7 -0
- package/dist/calcite/p-041acb71.js +7 -0
- package/dist/calcite/p-082040be.js +7 -0
- package/dist/calcite/p-086954cf.entry.js +7 -0
- package/dist/calcite/p-0944eb43.entry.js +7 -0
- package/dist/calcite/p-0d04e387.js +7 -0
- package/dist/calcite/p-0f7d03d1.js +7 -0
- package/dist/calcite/p-10acb648.js +7 -0
- package/dist/calcite/p-11d4c82a.js +7 -0
- package/dist/calcite/p-128a6263.js +7 -0
- package/dist/calcite/p-15ec4f27.js +7 -0
- package/dist/calcite/p-15fd0b18.js +7 -0
- package/dist/calcite/p-1e1fed0c.entry.js +7 -0
- package/dist/calcite/p-1e1fed0c.entry.js.map +1 -0
- package/dist/calcite/p-20db39dc.js +7 -0
- package/dist/calcite/p-21d84e50.js +7 -0
- package/dist/calcite/p-264f4332.entry.js +7 -0
- package/dist/calcite/p-26cd3c63.js +7 -0
- package/dist/calcite/p-26f7f362.js +7 -0
- package/dist/calcite/p-299b2dc4.entry.js +7 -0
- package/dist/calcite/p-299b2dc4.entry.js.map +1 -0
- package/dist/calcite/p-2b1358dd.entry.js +7 -0
- package/dist/calcite/p-2e3e6934.js +7 -0
- package/dist/calcite/p-2e8e9118.entry.js +7 -0
- package/dist/calcite/p-30bc9f81.entry.js +7 -0
- package/dist/calcite/p-319afb8e.js +7 -0
- package/dist/calcite/p-31fd105d.entry.js +7 -0
- package/dist/calcite/p-32f0d2e4.entry.js +7 -0
- package/dist/calcite/p-3328f5ba.js +7 -0
- package/dist/calcite/p-3341a34a.js +7 -0
- package/dist/calcite/p-341f5dd5.js +7 -0
- package/dist/calcite/p-34a71bdb.js +7 -0
- package/dist/calcite/p-34feb62c.entry.js +7 -0
- package/dist/calcite/p-351ef8bc.js +7 -0
- package/dist/calcite/p-385fabe6.entry.js +7 -0
- package/dist/calcite/p-39613b4f.js +7 -0
- package/dist/calcite/p-39d8f5e0.entry.js +7 -0
- package/dist/calcite/p-39e3cd7c.js +7 -0
- package/dist/calcite/p-3a38726f.js +7 -0
- package/dist/calcite/p-3c663b9d.entry.js +7 -0
- package/dist/calcite/p-3e9ca753.js +7 -0
- package/dist/calcite/p-401ec473.entry.js +7 -0
- package/dist/calcite/p-41c6c9db.entry.js +7 -0
- package/dist/calcite/p-4598dc66.entry.js +7 -0
- package/dist/calcite/p-471d1acf.js +7 -0
- package/dist/calcite/p-48b5b678.js +7 -0
- package/dist/calcite/p-49586b62.js +7 -0
- package/dist/calcite/p-499adfac.entry.js +7 -0
- package/dist/calcite/p-4ca318c0.entry.js +7 -0
- package/dist/calcite/p-4dd08f5c.entry.js +7 -0
- package/dist/calcite/p-4e27599d.js +7 -0
- package/dist/calcite/p-50fae575.js +7 -0
- package/dist/calcite/p-51bb034f.entry.js +7 -0
- package/dist/calcite/p-51bb034f.entry.js.map +1 -0
- package/dist/calcite/p-541ed8e8.js +7 -0
- package/dist/calcite/p-55202d8e.entry.js +7 -0
- package/dist/calcite/p-566745a9.js +7 -0
- package/dist/calcite/p-5723d5de.entry.js +7 -0
- package/dist/calcite/p-582b93a0.js +7 -0
- package/dist/calcite/p-5886e529.entry.js +7 -0
- package/dist/calcite/p-58d1332e.js +7 -0
- package/dist/calcite/p-5b0d5824.js +7 -0
- package/dist/calcite/p-5b9f1e26.entry.js +7 -0
- package/dist/calcite/p-5bacd0a4.entry.js +7 -0
- package/dist/calcite/p-5bacd0a4.entry.js.map +1 -0
- package/dist/calcite/p-619f6b40.entry.js +7 -0
- package/dist/calcite/p-636cae83.entry.js +7 -0
- package/dist/calcite/p-65704e9c.js +7 -0
- package/dist/calcite/p-6635e3a5.js +7 -0
- package/dist/calcite/p-69628498.entry.js +7 -0
- package/dist/calcite/p-6b48fd8f.js +7 -0
- package/dist/calcite/p-6ca4af5b.js +7 -0
- package/dist/calcite/p-72484322.js +7 -0
- package/dist/calcite/p-73e108be.js +7 -0
- package/dist/calcite/p-7ab6ded4.entry.js +7 -0
- package/dist/calcite/p-7bcfca23.js +7 -0
- package/dist/calcite/p-7bd1de8b.js +7 -0
- package/dist/calcite/p-7c6b37cb.js +7 -0
- package/dist/calcite/p-7c9b1cff.js +7 -0
- package/dist/calcite/p-7d4b1849.entry.js +7 -0
- package/dist/calcite/p-7d650111.js +7 -0
- package/dist/calcite/p-7dfa77d1.js +7 -0
- package/dist/calcite/p-7f5e15af.entry.js +7 -0
- package/dist/calcite/p-810b69a9.entry.js +7 -0
- package/dist/calcite/p-812d4433.js +7 -0
- package/dist/calcite/p-85355ac3.js +7 -0
- package/dist/calcite/p-88b0202c.js +7 -0
- package/dist/calcite/p-88eda241.js +7 -0
- package/dist/calcite/p-8dcbfce8.js +7 -0
- package/dist/calcite/p-9223fe05.js +7 -0
- package/dist/calcite/p-92816b80.entry.js +7 -0
- package/dist/calcite/p-9395c02e.js +11 -0
- package/dist/calcite/p-958e9564.entry.js +7 -0
- package/dist/calcite/p-9868153c.entry.js +7 -0
- package/dist/calcite/p-99a20f25.entry.js +7 -0
- package/dist/calcite/p-9b44500a.entry.js +7 -0
- package/dist/calcite/p-9b4aed37.js +7 -0
- package/dist/calcite/p-9b565b18.js +7 -0
- package/dist/calcite/p-9bd3b0b6.js +7 -0
- package/dist/calcite/p-9bf3339b.entry.js +7 -0
- package/dist/calcite/p-9e347276.js +7 -0
- package/dist/calcite/p-9f076d48.js +7 -0
- package/dist/calcite/p-9fe87a22.entry.js +7 -0
- package/dist/calcite/p-a07af675.entry.js +7 -0
- package/dist/calcite/p-a0ca104b.js +7 -0
- package/dist/calcite/p-a5ff208a.js +7 -0
- package/dist/calcite/p-a63dbb17.entry.js +7 -0
- package/dist/calcite/p-a6687bbe.js +7 -0
- package/dist/calcite/p-a6739f55.js +7 -0
- package/dist/calcite/p-aa0e172f.js +7 -0
- package/dist/calcite/p-aa0e172f.js.map +1 -0
- package/dist/calcite/p-abbb8e20.js +7 -0
- package/dist/calcite/p-abc5ea47.entry.js +7 -0
- package/dist/calcite/p-aff88591.js +7 -0
- package/dist/calcite/p-b04460b0.js +7 -0
- package/dist/calcite/p-b06765b5.js +7 -0
- package/dist/calcite/p-b1aeb283.entry.js +7 -0
- package/dist/calcite/p-b1c541ce.js +7 -0
- package/dist/calcite/p-b3e72f62.js +7 -0
- package/dist/calcite/p-b4957e5a.js +7 -0
- package/dist/calcite/p-ba29ffe7.entry.js +7 -0
- package/dist/calcite/p-ba4c20f7.js +7 -0
- package/dist/calcite/p-bb9a7c14.entry.js +7 -0
- package/dist/calcite/p-bb9a7c14.entry.js.map +1 -0
- package/dist/calcite/p-be3588ed.entry.js +7 -0
- package/dist/calcite/p-bf3d56f4.entry.js +7 -0
- package/dist/calcite/p-bf3d56f4.entry.js.map +1 -0
- package/dist/calcite/p-c1905124.js +7 -0
- package/dist/calcite/p-c1f13ffc.entry.js +7 -0
- package/dist/calcite/p-c233af9a.js +7 -0
- package/dist/calcite/p-c5a8df34.js +7 -0
- package/dist/calcite/p-c6fd9a15.entry.js +7 -0
- package/dist/calcite/p-c827bdff.js +7 -0
- package/dist/calcite/p-cbabb3e9.entry.js +7 -0
- package/dist/calcite/p-cf6c103a.js +8 -0
- package/dist/calcite/p-d3aa19a3.js +7 -0
- package/dist/calcite/p-d4392514.entry.js +7 -0
- package/dist/calcite/p-d55685ca.entry.js +7 -0
- package/dist/calcite/p-d5d23c62.js +7 -0
- package/dist/calcite/p-d6e4ab3a.js +12 -0
- package/dist/calcite/p-d746164d.js +7 -0
- package/dist/calcite/p-dc0027ba.entry.js +7 -0
- package/dist/calcite/p-dc8fb8e4.entry.js +7 -0
- package/dist/calcite/p-e2c60ff0.entry.js +7 -0
- package/dist/calcite/p-e4186f47.js +7 -0
- package/dist/calcite/p-e4298c9a.entry.js +7 -0
- package/dist/calcite/p-e4736736.js +7 -0
- package/dist/calcite/p-e47b629f.entry.js +7 -0
- package/dist/calcite/p-e585713f.entry.js +7 -0
- package/dist/calcite/p-e589b26a.entry.js +7 -0
- package/dist/calcite/p-e6f9f5c1.js +7 -0
- package/dist/calcite/p-eb367998.entry.js +7 -0
- package/dist/calcite/p-ee9909cb.entry.js +7 -0
- package/dist/calcite/p-f148f25b.js +7 -0
- package/dist/calcite/p-f23ed287.entry.js +7 -0
- package/dist/calcite/p-f320c3b0.entry.js +7 -0
- package/dist/calcite/p-f42f46c0.js +7 -0
- package/dist/calcite/p-f60dd8b1.js +7 -0
- package/dist/calcite/p-f75bd725.entry.js +7 -0
- package/dist/calcite/p-f9c43b7f.entry.js +7 -0
- package/dist/calcite/p-f9c43b7f.entry.js.map +1 -0
- package/dist/calcite/p-f9d57a45.entry.js +7 -0
- package/dist/calcite/p-fa8aa680.js +7 -0
- package/dist/calcite/p-fd880023.entry.js +7 -0
- package/dist/calcite/p-fe4db0fa.js +13 -0
- package/dist/calcite-preset.js +1 -1
- package/dist/cjs/ExpandToggle-9521cee5.js +110 -0
- package/dist/cjs/ExpandToggle-9521cee5.js.map +1 -0
- package/dist/cjs/FloatingArrow-5525a51e.js +49 -0
- package/dist/cjs/FloatingArrow-5525a51e.js.map +1 -0
- package/dist/cjs/Heading-8294d389.js +22 -0
- package/dist/cjs/Heading-8294d389.js.map +1 -0
- package/dist/cjs/Validation-e5075693.js +18 -0
- package/dist/cjs/Validation-e5075693.js.map +1 -0
- package/dist/cjs/app-globals-b8263335.js +61 -0
- package/dist/cjs/app-globals-b8263335.js.map +1 -0
- package/dist/cjs/ar-ce7a2383.js +106 -0
- package/dist/cjs/ar-ce7a2383.js.map +1 -0
- package/dist/cjs/array-bfc7639a.js +14 -0
- package/dist/cjs/array-bfc7639a.js.map +1 -0
- package/dist/cjs/bg-d0860d48.js +84 -0
- package/dist/cjs/bg-d0860d48.js.map +1 -0
- package/dist/cjs/browser-ee8f4c43.js +20 -0
- package/dist/cjs/browser-ee8f4c43.js.map +1 -0
- package/dist/cjs/bs-89e33cf2.js +53 -0
- package/dist/cjs/bs-89e33cf2.js.map +1 -0
- package/dist/cjs/ca-91e0cc2c.js +73 -0
- package/dist/cjs/ca-91e0cc2c.js.map +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +13 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -15
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -14
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -22
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-handle.cjs.entry.js +12 -12
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js +2918 -0
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-71073227.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +7 -7
- package/dist/cjs/calcite-link.cjs.entry.js +8 -8
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +17 -17
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +9 -9
- package/dist/cjs/calcite-split-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table.cjs.entry.js +11 -11
- package/dist/cjs/calcite-text-area.cjs.entry.js +18 -18
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/component-031364d5.js +30 -0
- package/dist/cjs/component-031364d5.js.map +1 -0
- package/dist/cjs/conditionalSlot-a14208bb.js +60 -0
- package/dist/cjs/conditionalSlot-a14208bb.js.map +1 -0
- package/dist/cjs/cs-83a82bf0.js +149 -0
- package/dist/cjs/cs-83a82bf0.js.map +1 -0
- package/dist/cjs/da-55c03ccb.js +68 -0
- package/dist/cjs/da-55c03ccb.js.map +1 -0
- package/dist/cjs/de-at-2eff8fd4.js +92 -0
- package/dist/cjs/de-at-2eff8fd4.js.map +1 -0
- package/dist/cjs/de-ch-e6790116.js +92 -0
- package/dist/cjs/de-ch-e6790116.js.map +1 -0
- package/dist/cjs/de-eb7d5bc8.js +93 -0
- package/dist/cjs/de-eb7d5bc8.js.map +1 -0
- package/dist/cjs/debounce-47d0a428.js +498 -0
- package/dist/cjs/debounce-47d0a428.js.map +1 -0
- package/dist/cjs/dom-8a99a8f4.js +1084 -0
- package/dist/cjs/dom-8a99a8f4.js.map +1 -0
- package/dist/cjs/el-efe35c19.js +68 -0
- package/dist/cjs/el-efe35c19.js.map +1 -0
- package/dist/cjs/en-au-f06421f5.js +68 -0
- package/dist/cjs/en-au-f06421f5.js.map +1 -0
- package/dist/cjs/en-ca-8eaf5515.js +67 -0
- package/dist/cjs/en-ca-8eaf5515.js.map +1 -0
- package/dist/cjs/en-gb-96b411c0.js +71 -0
- package/dist/cjs/en-gb-96b411c0.js.map +1 -0
- package/dist/cjs/es-3d63f266.js +68 -0
- package/dist/cjs/es-3d63f266.js.map +1 -0
- package/dist/cjs/es-mx-d81c53b9.js +67 -0
- package/dist/cjs/es-mx-d81c53b9.js.map +1 -0
- package/dist/cjs/et-ec23d267.js +94 -0
- package/dist/cjs/et-ec23d267.js.map +1 -0
- package/dist/cjs/fi-5276d29d.js +117 -0
- package/dist/cjs/fi-5276d29d.js.map +1 -0
- package/dist/cjs/filter-a1f78854.js +762 -0
- package/dist/cjs/filter-a1f78854.js.map +1 -0
- package/dist/cjs/floating-ui-d49e931c.js +1965 -0
- package/dist/cjs/floating-ui-d49e931c.js.map +1 -0
- package/dist/cjs/focusTrapComponent-bab8f4fe.js +1020 -0
- package/dist/cjs/focusTrapComponent-bab8f4fe.js.map +1 -0
- package/dist/cjs/form-4234381c.js +333 -0
- package/dist/cjs/form-4234381c.js.map +1 -0
- package/dist/cjs/fr-2b67725c.js +70 -0
- package/dist/cjs/fr-2b67725c.js.map +1 -0
- package/dist/cjs/fr-ch-a5ad7198.js +68 -0
- package/dist/cjs/fr-ch-a5ad7198.js.map +1 -0
- package/dist/cjs/guid-f89b696d.js +23 -0
- package/dist/cjs/guid-f89b696d.js.map +1 -0
- package/dist/cjs/he-9f0588ed.js +107 -0
- package/dist/cjs/he-9f0588ed.js.map +1 -0
- package/dist/cjs/hi-0c6c9c73.js +67 -0
- package/dist/cjs/hi-0c6c9c73.js.map +1 -0
- package/dist/cjs/hr-e9527c1e.js +82 -0
- package/dist/cjs/hr-e9527c1e.js.map +1 -0
- package/dist/cjs/hu-de46526b.js +90 -0
- package/dist/cjs/hu-de46526b.js.map +1 -0
- package/dist/cjs/id-33482348.js +68 -0
- package/dist/cjs/id-33482348.js.map +1 -0
- package/dist/cjs/index-0adb367e.js +208 -0
- package/dist/cjs/index-0adb367e.js.map +1 -0
- package/dist/cjs/index-20993df4.js +75 -0
- package/dist/cjs/index-20993df4.js.map +1 -0
- package/dist/cjs/index-315596ec.js +2655 -0
- package/dist/cjs/index-315596ec.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/interactive-1c587add.js +141 -0
- package/dist/cjs/interactive-1c587add.js.map +1 -0
- package/dist/cjs/it-8337d997.js +68 -0
- package/dist/cjs/it-8337d997.js.map +1 -0
- package/dist/cjs/it-ch-723d4507.js +68 -0
- package/dist/cjs/it-ch-723d4507.js.map +1 -0
- package/dist/cjs/ja-ebafccaf.js +74 -0
- package/dist/cjs/ja-ebafccaf.js.map +1 -0
- package/dist/cjs/key-ce27460f.js +16 -0
- package/dist/cjs/key-ce27460f.js.map +1 -0
- package/dist/cjs/ko-d9a9ed6f.js +74 -0
- package/dist/cjs/ko-d9a9ed6f.js.map +1 -0
- package/dist/cjs/label-c0757b28.js +183 -0
- package/dist/cjs/label-c0757b28.js.map +1 -0
- package/dist/cjs/loadable-583ec821.js +91 -0
- package/dist/cjs/loadable-583ec821.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-62430b46.js +576 -0
- package/dist/cjs/locale-62430b46.js.map +1 -0
- package/dist/cjs/lt-547ce7f8.js +99 -0
- package/dist/cjs/lt-547ce7f8.js.map +1 -0
- package/dist/cjs/lv-e3ab0dd4.js +68 -0
- package/dist/cjs/lv-e3ab0dd4.js.map +1 -0
- package/dist/cjs/math-687d3bf5.js +57 -0
- package/dist/cjs/math-687d3bf5.js.map +1 -0
- package/dist/cjs/mk-ac39e9ba.js +68 -0
- package/dist/cjs/mk-ac39e9ba.js.map +1 -0
- package/dist/cjs/nb-3862ed2b.js +69 -0
- package/dist/cjs/nb-3862ed2b.js.map +1 -0
- package/dist/cjs/nl-f26a536c.js +69 -0
- package/dist/cjs/nl-f26a536c.js.map +1 -0
- package/dist/cjs/observers-bd89a170.js +50 -0
- package/dist/cjs/observers-bd89a170.js.map +1 -0
- package/dist/cjs/openCloseComponent-7009664d.js +89 -0
- package/dist/cjs/openCloseComponent-7009664d.js.map +1 -0
- package/dist/cjs/pl-5604e39c.js +116 -0
- package/dist/cjs/pl-5604e39c.js.map +1 -0
- package/dist/cjs/pt-a96a7649.js +69 -0
- package/dist/cjs/pt-a96a7649.js.map +1 -0
- package/dist/cjs/pt-br-609918e6.js +67 -0
- package/dist/cjs/pt-br-609918e6.js.map +1 -0
- package/dist/cjs/resources-666c6581.js +29 -0
- package/dist/cjs/resources-666c6581.js.map +1 -0
- package/dist/cjs/resources-669bed34.js +17 -0
- package/dist/cjs/resources-669bed34.js.map +1 -0
- package/dist/cjs/resources-6e141ab6.js +26 -0
- package/dist/cjs/resources-6e141ab6.js.map +1 -0
- package/dist/cjs/resources-832813b8.js +23 -0
- package/dist/cjs/resources-832813b8.js.map +1 -0
- package/dist/cjs/resources-a1c3da44.js +26 -0
- package/dist/cjs/resources-a1c3da44.js.map +1 -0
- package/dist/cjs/resources-e461c8a7.js +49 -0
- package/dist/cjs/resources-e461c8a7.js.map +1 -0
- package/dist/cjs/resources-febc620c.js +414 -0
- package/dist/cjs/resources-febc620c.js.map +1 -0
- package/dist/cjs/ro-725fe836.js +68 -0
- package/dist/cjs/ro-725fe836.js.map +1 -0
- package/dist/cjs/ru-a37f21cf.js +128 -0
- package/dist/cjs/ru-a37f21cf.js.map +1 -0
- package/dist/cjs/sk-e114c05c.js +150 -0
- package/dist/cjs/sk-e114c05c.js.map +1 -0
- package/dist/cjs/sl-283645a8.js +170 -0
- package/dist/cjs/sl-283645a8.js.map +1 -0
- package/dist/cjs/sortableComponent-22945d97.js +2739 -0
- package/dist/cjs/sortableComponent-22945d97.js.map +1 -0
- package/dist/cjs/sr-d3eabb60.js +103 -0
- package/dist/cjs/sr-d3eabb60.js.map +1 -0
- package/dist/cjs/sv-e46ad4d6.js +73 -0
- package/dist/cjs/sv-e46ad4d6.js.map +1 -0
- package/dist/cjs/t9n-2471b90f.js +97 -0
- package/dist/cjs/t9n-2471b90f.js.map +1 -0
- package/dist/cjs/th-4253024f.js +67 -0
- package/dist/cjs/th-4253024f.js.map +1 -0
- package/dist/cjs/throttle-03ef5077.js +77 -0
- package/dist/cjs/throttle-03ef5077.js.map +1 -0
- package/dist/cjs/tr-f5fb29cd.js +68 -0
- package/dist/cjs/tr-f5fb29cd.js.map +1 -0
- package/dist/cjs/uk-97721767.js +106 -0
- package/dist/cjs/uk-97721767.js.map +1 -0
- package/dist/cjs/utils-81b10422.js +218 -0
- package/dist/cjs/utils-81b10422.js.map +1 -0
- package/dist/cjs/utils-ab09fa69.js +307 -0
- package/dist/cjs/utils-ab09fa69.js.map +1 -0
- package/dist/cjs/vi-2e04fc1f.js +72 -0
- package/dist/cjs/vi-2e04fc1f.js.map +1 -0
- package/dist/cjs/zh-cn-d75e1b83.js +96 -0
- package/dist/cjs/zh-cn-d75e1b83.js.map +1 -0
- package/dist/cjs/zh-hk-603ff2dc.js +73 -0
- package/dist/cjs/zh-hk-603ff2dc.js.map +1 -0
- package/dist/cjs/zh-tw-f769c4a6.js +94 -0
- package/dist/cjs/zh-tw-f769c4a6.js.map +1 -0
- package/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/collection/components/accordion/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/collection/components/accordion-item/accordion-item.e2e.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +5 -5
- package/dist/collection/components/action/action.e2e.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/collection/components/action-bar/action-bar.e2e.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/collection/components/action-group/action-group.e2e.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/collection/components/action-menu/action-menu.e2e.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/collection/components/action-pad/action-pad.e2e.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -5
- package/dist/collection/components/alert/alert.e2e.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/collection/components/avatar/avatar.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.spec.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +5 -5
- package/dist/collection/components/block/block.e2e.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/collection/components/block-section/block-section.e2e.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +5 -5
- package/dist/collection/components/button/button.e2e.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +5 -5
- package/dist/collection/components/card/card.e2e.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +5 -5
- package/dist/collection/components/chip/chip.e2e.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/collection/components/chip-group/chip-group.e2e.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/collection/components/color-picker/color-picker.e2e.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker/utils.spec.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.e2e.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.e2e.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/collection/components/combobox/combobox.e2e.js +2 -2
- package/dist/collection/components/combobox/combobox.e2e.js.map +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/collection/components/combobox-item/combobox-item.e2e.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker/utils.spec.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/collection/components/date-picker-day/date-picker-day.e2e.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.e2e.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/collection/components/dropdown-group/dropdown-group.e2e.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/collection/components/dropdown-item/dropdown-item.e2e.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.css +5 -5
- package/dist/collection/components/fab/fab.e2e.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +5 -5
- package/dist/collection/components/filter/filter.e2e.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.css +5 -5
- package/dist/collection/components/flow/flow.e2e.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/collection/components/flow-item/flow-item.e2e.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/Heading.spec.js +1 -1
- package/dist/collection/components/functional/Validation.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.css +5 -5
- package/dist/collection/components/graph/graph.e2e.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +5 -5
- package/dist/collection/components/handle/handle.e2e.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +5 -5
- package/dist/collection/components/icon/icon.e2e.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/icon/utils.spec.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/collection/components/inline-editable/inline-editable.e2e.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/common/tests.js +1 -1
- package/dist/collection/components/input/input.css +5 -5
- package/dist/collection/components/input/input.e2e.js +2 -1
- package/dist/collection/components/input/input.e2e.js.map +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js +2 -2
- package/dist/collection/components/input-date-picker/input-date-picker.e2e.js.map +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-date-picker/util.spec.js +1 -1
- package/dist/collection/components/input-date-picker/utils.js +1 -1
- package/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/collection/components/input-message/input-message.e2e.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/collection/components/input-number/input-number.e2e.js +3 -2
- package/dist/collection/components/input-number/input-number.e2e.js.map +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/collection/components/input-text/input-text.e2e.js +2 -2
- package/dist/collection/components/input-text/input-text.e2e.js.map +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js +7 -2
- package/dist/collection/components/input-time-picker/input-time-picker.e2e.js.map +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/collection/components/input-time-zone/input-time-zone.e2e.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.css +5 -5
- package/dist/collection/components/label/label.e2e.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +5 -5
- package/dist/collection/components/link/link.e2e.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.css +5 -5
- package/dist/collection/components/list/list.e2e.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/collection/components/list-item/list-item.e2e.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/collection/components/list-item-group/list-item-group.e2e.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +5 -5
- package/dist/collection/components/loader/loader.e2e.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.css +5 -5
- package/dist/collection/components/menu/menu.e2e.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/collection/components/menu-item/menu-item.e2e.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/meter/meter.css +5 -5
- package/dist/collection/components/meter/meter.e2e.js +1 -1
- package/dist/collection/components/meter/meter.js +1 -1
- package/dist/collection/components/meter/resources.js +1 -1
- package/dist/collection/components/modal/modal.css +6 -6
- package/dist/collection/components/modal/modal.e2e.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/collection/components/navigation/navigation.e2e.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/collection/components/navigation-logo/navigation-logo.e2e.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/collection/components/navigation-user/navigation-user.e2e.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +5 -5
- package/dist/collection/components/notice/notice.e2e.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.css +5 -5
- package/dist/collection/components/option/option.e2e.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/collection/components/option-group/option-group.e2e.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/collection/components/pagination/pagination.e2e.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +5 -5
- package/dist/collection/components/panel/panel.e2e.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/collection/components/pick-list/pick-list.e2e.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list/shared-list-tests.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/collection/components/pick-list-group/pick-list-group.e2e.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/collection/components/pick-list-item/pick-list-item.e2e.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -5
- package/dist/collection/components/popover/popover.e2e.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.css +5 -5
- package/dist/collection/components/progress/progress.e2e.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/collection/components/radio-button/radio-button.e2e.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/collection/components/radio-button-group/radio-button-group.e2e.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/resources.js +1 -1
- package/dist/collection/components/rating/functional/star.js +1 -1
- package/dist/collection/components/rating/rating.css +5 -5
- package/dist/collection/components/rating/rating.e2e.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/collection/components/scrim/scrim.e2e.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/resources.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/collection/components/segmented-control/segmented-control.e2e.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/collection/components/segmented-control-item/segmented-control-item.e2e.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +5 -5
- package/dist/collection/components/select/select.e2e.js +3 -2
- package/dist/collection/components/select/select.e2e.js.map +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/sheet/resources.js +1 -1
- package/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/collection/components/sheet/sheet.e2e.js +1 -1
- package/dist/collection/components/sheet/sheet.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +5 -5
- package/dist/collection/components/shell/shell.e2e.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/collection/components/shell-center-row/shell-center-row.e2e.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/collection/components/shell-panel/shell-panel.e2e.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +5 -5
- package/dist/collection/components/slider/slider.e2e.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/collection/components/sortable-list/sortable-list.e2e.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/collection/components/split-button/split-button.e2e.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.css +5 -5
- package/dist/collection/components/stack/stack.e2e.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/functional/step-bar.js +1 -1
- package/dist/collection/components/stepper/resources.js +1 -1
- package/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/collection/components/stepper/stepper.e2e.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/resources.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/collection/components/stepper-item/stepper-item.e2e.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.css +5 -5
- package/dist/collection/components/switch/switch.e2e.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/resources.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -5
- package/dist/collection/components/tab/tab.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/resources.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/collection/components/tab-nav/tab-nav.e2e.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/collection/components/tab-title/tab-title.e2e.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/table/resources.js +1 -1
- package/dist/collection/components/table/table.css +5 -5
- package/dist/collection/components/table/table.e2e.js +1 -1
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/table-cell/resources.js +1 -1
- package/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/collection/components/table-cell/table-cell.js +1 -1
- package/dist/collection/components/table-header/resources.js +1 -1
- package/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/collection/components/table-header/table-header.js +1 -1
- package/dist/collection/components/table-row/resources.js +1 -1
- package/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/collection/components/table-row/table-row.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/collection/components/tabs/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/collection/components/text-area/text-area.e2e.js +2 -1
- package/dist/collection/components/text-area/text-area.e2e.js.map +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -5
- package/dist/collection/components/tile/tile.e2e.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/collection/components/tile-select/tile-select.e2e.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/collection/components/tile-select-group/tile-select-group.e2e.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/collection/components/time-picker/time-picker.e2e.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +5 -5
- package/dist/collection/components/tip/tip.e2e.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/collection/components/tip-group/tip-group.e2e.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/collection/components/tip-manager/tip-manager.e2e.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.spec.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/collection/components/tooltip/tooltip.e2e.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.css +5 -5
- package/dist/collection/components/tree/tree.e2e.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/collection/components/tree-item/tree-item.e2e.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/collection/components/value-list/value-list.e2e.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/collection/components/value-list-item/value-list-item.e2e.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/tests/commonTests.js +85 -6
- package/dist/collection/tests/commonTests.js.map +1 -1
- package/dist/collection/tests/utils.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/component.js +1 -1
- package/dist/collection/utils/component.spec.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/config.spec.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/date.spec.js +1 -1
- package/dist/collection/utils/dom.e2e.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/dom.spec.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/floating-ui.spec.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/focusTrapComponent.spec.js +1 -1
- package/dist/collection/utils/form.js +29 -9
- package/dist/collection/utils/form.js.map +1 -1
- package/dist/collection/utils/form.spec.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/guid.spec.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/interactive.spec.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/label.spec.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/loadable.spec.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/locale.spec.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/math.spec.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/number.spec.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/responsive.js +1 -1
- package/dist/collection/utils/responsive.spec.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/collection/utils/time.spec.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +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 +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-modal.js +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-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-table-cell.js +1 -1
- package/dist/components/calcite-table-header.js +1 -1
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +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 +2 -2
- package/dist/components/combobox.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +29 -9
- package/dist/components/form.js.map +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/input-message.js +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 +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/radio-button.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/ExpandToggle-3810effb.js +102 -0
- package/dist/esm/ExpandToggle-3810effb.js.map +1 -0
- package/dist/esm/FloatingArrow-e53a2129.js +47 -0
- package/dist/esm/FloatingArrow-e53a2129.js.map +1 -0
- package/dist/esm/Heading-11b44426.js +19 -0
- package/dist/esm/Heading-11b44426.js.map +1 -0
- package/dist/esm/Validation-67e15e5c.js +16 -0
- package/dist/esm/Validation-67e15e5c.js.map +1 -0
- package/dist/esm/app-globals-4152c05e.js +59 -0
- package/dist/esm/app-globals-4152c05e.js.map +1 -0
- package/dist/esm/ar-55bf6805.js +104 -0
- package/dist/esm/ar-55bf6805.js.map +1 -0
- package/dist/esm/array-1c5e5140.js +12 -0
- package/dist/esm/array-1c5e5140.js.map +1 -0
- package/dist/esm/bg-dd3894db.js +82 -0
- package/dist/esm/bg-dd3894db.js.map +1 -0
- package/dist/esm/browser-df09b947.js +18 -0
- package/dist/esm/browser-df09b947.js.map +1 -0
- package/dist/esm/bs-ea2c718f.js +51 -0
- package/dist/esm/bs-ea2c718f.js.map +1 -0
- package/dist/esm/ca-e09992d8.js +71 -0
- package/dist/esm/ca-e09992d8.js.map +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +13 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +15 -15
- package/dist/esm/calcite-button.entry.js +15 -15
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +12 -12
- package/dist/esm/calcite-chip-group.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +14 -14
- package/dist/esm/calcite-color-picker_3.entry.js +16 -16
- package/dist/esm/calcite-combobox_3.entry.js +22 -22
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -1
- package/dist/esm/calcite-date-picker_4.entry.js +15 -15
- package/dist/esm/calcite-dropdown_3.entry.js +14 -14
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +13 -13
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-handle.entry.js +12 -12
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -14
- package/dist/esm/calcite-input-date-picker.entry.js +21 -21
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js +2914 -0
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-08c42c53.js.map +1 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +17 -17
- package/dist/esm/calcite-input.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +7 -7
- package/dist/esm/calcite-link.entry.js +8 -8
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js.map +1 -1
- package/dist/esm/calcite-panel.entry.js +15 -15
- package/dist/esm/calcite-pick-list_3.entry.js +17 -17
- package/dist/esm/calcite-popover.entry.js +17 -17
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +15 -15
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +9 -9
- package/dist/esm/calcite-split-button.entry.js +5 -5
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -12
- package/dist/esm/calcite-switch.entry.js +12 -12
- package/dist/esm/calcite-tab_4.entry.js +12 -12
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +9 -9
- package/dist/esm/calcite-table.entry.js +11 -11
- package/dist/esm/calcite-text-area.entry.js +18 -18
- package/dist/esm/calcite-tile-select_2.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/calcite-value-list_2.entry.js +17 -17
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/component-0539431e.js +27 -0
- package/dist/esm/component-0539431e.js.map +1 -0
- package/dist/esm/conditionalSlot-5f792007.js +57 -0
- package/dist/esm/conditionalSlot-5f792007.js.map +1 -0
- package/dist/esm/cs-a0e885ec.js +147 -0
- package/dist/esm/cs-a0e885ec.js.map +1 -0
- package/dist/esm/da-a4ec6339.js +66 -0
- package/dist/esm/da-a4ec6339.js.map +1 -0
- package/dist/esm/de-6eb42a98.js +91 -0
- package/dist/esm/de-6eb42a98.js.map +1 -0
- package/dist/esm/de-at-80e16904.js +90 -0
- package/dist/esm/de-at-80e16904.js.map +1 -0
- package/dist/esm/de-ch-c9f3a5f4.js +90 -0
- package/dist/esm/de-ch-c9f3a5f4.js.map +1 -0
- package/dist/esm/debounce-6853b96e.js +489 -0
- package/dist/esm/debounce-6853b96e.js.map +1 -0
- package/dist/esm/dom-e5f64712.js +1053 -0
- package/dist/esm/dom-e5f64712.js.map +1 -0
- package/dist/esm/el-c5b18675.js +66 -0
- package/dist/esm/el-c5b18675.js.map +1 -0
- package/dist/esm/en-au-8f1484e5.js +66 -0
- package/dist/esm/en-au-8f1484e5.js.map +1 -0
- package/dist/esm/en-ca-fce90580.js +65 -0
- package/dist/esm/en-ca-fce90580.js.map +1 -0
- package/dist/esm/en-gb-2b14b424.js +69 -0
- package/dist/esm/en-gb-2b14b424.js.map +1 -0
- package/dist/esm/es-403a9263.js +66 -0
- package/dist/esm/es-403a9263.js.map +1 -0
- package/dist/esm/es-mx-5b6fc56e.js +65 -0
- package/dist/esm/es-mx-5b6fc56e.js.map +1 -0
- package/dist/esm/et-030ba87f.js +92 -0
- package/dist/esm/et-030ba87f.js.map +1 -0
- package/dist/esm/fi-b0ab1580.js +115 -0
- package/dist/esm/fi-b0ab1580.js.map +1 -0
- package/dist/esm/filter-4633a870.js +760 -0
- package/dist/esm/filter-4633a870.js.map +1 -0
- package/dist/esm/floating-ui-101f0321.js +1957 -0
- package/dist/esm/floating-ui-101f0321.js.map +1 -0
- package/dist/esm/focusTrapComponent-d262d8ea.js +1015 -0
- package/dist/esm/focusTrapComponent-d262d8ea.js.map +1 -0
- package/dist/esm/form-e6d220a2.js +324 -0
- package/dist/esm/form-e6d220a2.js.map +1 -0
- package/dist/esm/fr-1a492056.js +68 -0
- package/dist/esm/fr-1a492056.js.map +1 -0
- package/dist/esm/fr-ch-8c47e261.js +66 -0
- package/dist/esm/fr-ch-8c47e261.js.map +1 -0
- package/dist/esm/guid-4f87cd10.js +21 -0
- package/dist/esm/guid-4f87cd10.js.map +1 -0
- package/dist/esm/he-b791bfeb.js +105 -0
- package/dist/esm/he-b791bfeb.js.map +1 -0
- package/dist/esm/hi-f90e5520.js +65 -0
- package/dist/esm/hi-f90e5520.js.map +1 -0
- package/dist/esm/hr-11494043.js +80 -0
- package/dist/esm/hr-11494043.js.map +1 -0
- package/dist/esm/hu-36dfc8eb.js +88 -0
- package/dist/esm/hu-36dfc8eb.js.map +1 -0
- package/dist/esm/id-ae4b2c05.js +66 -0
- package/dist/esm/id-ae4b2c05.js.map +1 -0
- package/dist/esm/index-54140c30.js +2620 -0
- package/dist/esm/index-54140c30.js.map +1 -0
- package/dist/esm/index-b5cf267b.js +206 -0
- package/dist/esm/index-b5cf267b.js.map +1 -0
- package/dist/esm/index-d9046c8f.js +73 -0
- package/dist/esm/index-d9046c8f.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/interactive-9254dd1a.js +136 -0
- package/dist/esm/interactive-9254dd1a.js.map +1 -0
- package/dist/esm/it-b4d84efc.js +66 -0
- package/dist/esm/it-b4d84efc.js.map +1 -0
- package/dist/esm/it-ch-0bba1334.js +66 -0
- package/dist/esm/it-ch-0bba1334.js.map +1 -0
- package/dist/esm/ja-cf5b848e.js +72 -0
- package/dist/esm/ja-cf5b848e.js.map +1 -0
- package/dist/esm/key-c5a2dce5.js +13 -0
- package/dist/esm/key-c5a2dce5.js.map +1 -0
- package/dist/esm/ko-18ae91c3.js +72 -0
- package/dist/esm/ko-18ae91c3.js.map +1 -0
- package/dist/esm/label-4f7be475.js +176 -0
- package/dist/esm/label-4f7be475.js.map +1 -0
- package/dist/esm/loadable-703938ac.js +86 -0
- package/dist/esm/loadable-703938ac.js.map +1 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-b3dd17dc.js +563 -0
- package/dist/esm/locale-b3dd17dc.js.map +1 -0
- package/dist/esm/lt-566c53d5.js +97 -0
- package/dist/esm/lt-566c53d5.js.map +1 -0
- package/dist/esm/lv-2d686712.js +66 -0
- package/dist/esm/lv-2d686712.js.map +1 -0
- package/dist/esm/math-9204a56d.js +51 -0
- package/dist/esm/math-9204a56d.js.map +1 -0
- package/dist/esm/mk-0261f9fe.js +66 -0
- package/dist/esm/mk-0261f9fe.js.map +1 -0
- package/dist/esm/nb-5dcf8d83.js +67 -0
- package/dist/esm/nb-5dcf8d83.js.map +1 -0
- package/dist/esm/nl-bc7f280a.js +67 -0
- package/dist/esm/nl-bc7f280a.js.map +1 -0
- package/dist/esm/observers-339a84bb.js +48 -0
- package/dist/esm/observers-339a84bb.js.map +1 -0
- package/dist/esm/openCloseComponent-de30d208.js +87 -0
- package/dist/esm/openCloseComponent-de30d208.js.map +1 -0
- package/dist/esm/pl-516c0130.js +114 -0
- package/dist/esm/pl-516c0130.js.map +1 -0
- package/dist/esm/pt-38801a89.js +67 -0
- package/dist/esm/pt-38801a89.js.map +1 -0
- package/dist/esm/pt-br-58c13c23.js +65 -0
- package/dist/esm/pt-br-58c13c23.js.map +1 -0
- package/dist/esm/resources-3f0f4ee9.js +387 -0
- package/dist/esm/resources-3f0f4ee9.js.map +1 -0
- package/dist/esm/resources-47bad8e2.js +45 -0
- package/dist/esm/resources-47bad8e2.js.map +1 -0
- package/dist/esm/resources-605689f9.js +23 -0
- package/dist/esm/resources-605689f9.js.map +1 -0
- package/dist/esm/resources-c5611de1.js +25 -0
- package/dist/esm/resources-c5611de1.js.map +1 -0
- package/dist/esm/resources-cea160f3.js +19 -0
- package/dist/esm/resources-cea160f3.js.map +1 -0
- package/dist/esm/resources-da6536ba.js +17 -0
- package/dist/esm/resources-da6536ba.js.map +1 -0
- package/dist/esm/resources-e92e3f84.js +21 -0
- package/dist/esm/resources-e92e3f84.js.map +1 -0
- package/dist/esm/ro-7d401b18.js +66 -0
- package/dist/esm/ro-7d401b18.js.map +1 -0
- package/dist/esm/ru-f76a0c11.js +126 -0
- package/dist/esm/ru-f76a0c11.js.map +1 -0
- package/dist/esm/sk-2e7ba2e0.js +148 -0
- package/dist/esm/sk-2e7ba2e0.js.map +1 -0
- package/dist/esm/sl-baddf04f.js +168 -0
- package/dist/esm/sl-baddf04f.js.map +1 -0
- package/dist/esm/sortableComponent-a920089c.js +2735 -0
- package/dist/esm/sortableComponent-a920089c.js.map +1 -0
- package/dist/esm/sr-32f8aa4d.js +101 -0
- package/dist/esm/sr-32f8aa4d.js.map +1 -0
- package/dist/esm/sv-1c5d7c6d.js +71 -0
- package/dist/esm/sv-1c5d7c6d.js.map +1 -0
- package/dist/esm/t9n-416f93ba.js +92 -0
- package/dist/esm/t9n-416f93ba.js.map +1 -0
- package/dist/esm/th-fa1bc6b6.js +65 -0
- package/dist/esm/th-fa1bc6b6.js.map +1 -0
- package/dist/esm/throttle-c180a249.js +75 -0
- package/dist/esm/throttle-c180a249.js.map +1 -0
- package/dist/esm/tr-2775ebd9.js +66 -0
- package/dist/esm/tr-2775ebd9.js.map +1 -0
- package/dist/esm/uk-731884a9.js +104 -0
- package/dist/esm/uk-731884a9.js.map +1 -0
- package/dist/esm/utils-35e399d8.js +200 -0
- package/dist/esm/utils-35e399d8.js.map +1 -0
- package/dist/esm/utils-7c1d6125.js +289 -0
- package/dist/esm/utils-7c1d6125.js.map +1 -0
- package/dist/esm/vi-86d98c11.js +70 -0
- package/dist/esm/vi-86d98c11.js.map +1 -0
- package/dist/esm/zh-cn-d2fef501.js +94 -0
- package/dist/esm/zh-cn-d2fef501.js.map +1 -0
- package/dist/esm/zh-hk-7f540d06.js +71 -0
- package/dist/esm/zh-hk-7f540d06.js.map +1 -0
- package/dist/esm/zh-tw-0b96e532.js +92 -0
- package/dist/esm/zh-tw-0b96e532.js.map +1 -0
- 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/stencil.config.js +1 -1
- package/dist/support/formatting.js +1 -1
- package/dist/support/preact.js +1 -1
- package/dist/tailwind.config.js +1 -1
- package/dist/types/tests/commonTests.d.ts +9 -1
- package/dist/types/utils/form.d.ts +12 -1
- package/hydrate/index.js +31 -11
- package/package.json +4 -5
- package/dist/calcite/p-028cc79f.entry.js +0 -7
- package/dist/calcite/p-066a2b4c.js +0 -7
- package/dist/calcite/p-067d7f21.js +0 -7
- package/dist/calcite/p-07b06f4f.js +0 -7
- package/dist/calcite/p-0861f6a0.js +0 -7
- package/dist/calcite/p-08f2b94a.js +0 -7
- package/dist/calcite/p-0a8b097d.entry.js +0 -7
- package/dist/calcite/p-0acac88b.entry.js +0 -7
- package/dist/calcite/p-0c3ad3bf.js +0 -7
- package/dist/calcite/p-0fd7f8d6.entry.js +0 -7
- package/dist/calcite/p-11f4d427.entry.js +0 -7
- package/dist/calcite/p-136151fc.entry.js +0 -7
- package/dist/calcite/p-13a7f18d.entry.js +0 -7
- package/dist/calcite/p-1531e928.entry.js +0 -7
- package/dist/calcite/p-1b304cfd.js +0 -7
- package/dist/calcite/p-1c200535.entry.js +0 -7
- package/dist/calcite/p-1e0c845c.entry.js +0 -7
- package/dist/calcite/p-1e3da260.js +0 -7
- package/dist/calcite/p-20f3a254.entry.js +0 -7
- package/dist/calcite/p-21a5e355.entry.js +0 -7
- package/dist/calcite/p-21b5f1ec.entry.js +0 -7
- package/dist/calcite/p-22a02be1.js +0 -7
- package/dist/calcite/p-24cf5d6d.js +0 -7
- package/dist/calcite/p-263b31c9.js +0 -7
- package/dist/calcite/p-2a205e6a.js +0 -7
- package/dist/calcite/p-2a4244de.entry.js +0 -7
- package/dist/calcite/p-2efade48.entry.js +0 -7
- package/dist/calcite/p-2fa45363.entry.js +0 -7
- package/dist/calcite/p-306cfee8.js +0 -7
- package/dist/calcite/p-30a40f99.js +0 -7
- package/dist/calcite/p-31824784.entry.js +0 -7
- package/dist/calcite/p-31824784.entry.js.map +0 -1
- package/dist/calcite/p-318b2766.js +0 -7
- package/dist/calcite/p-31d5878e.js +0 -7
- package/dist/calcite/p-33eec4ca.js +0 -7
- package/dist/calcite/p-3676419a.entry.js +0 -7
- package/dist/calcite/p-36bb99a2.entry.js +0 -7
- package/dist/calcite/p-380f2764.js +0 -7
- package/dist/calcite/p-39a96f9b.js +0 -7
- package/dist/calcite/p-3a89f085.js +0 -7
- package/dist/calcite/p-3a89f085.js.map +0 -1
- package/dist/calcite/p-3b15f6a3.js +0 -7
- package/dist/calcite/p-3b8f7914.js +0 -13
- package/dist/calcite/p-3bc74481.js +0 -7
- package/dist/calcite/p-3c391c77.js +0 -7
- package/dist/calcite/p-3ceff320.entry.js +0 -7
- package/dist/calcite/p-3ceff320.entry.js.map +0 -1
- package/dist/calcite/p-3de4ef19.js +0 -7
- package/dist/calcite/p-4114c95c.js +0 -7
- package/dist/calcite/p-4519b42b.js +0 -7
- package/dist/calcite/p-4543b62c.js +0 -7
- package/dist/calcite/p-46463fec.js +0 -7
- package/dist/calcite/p-47254835.js +0 -7
- package/dist/calcite/p-4a278a68.entry.js +0 -7
- package/dist/calcite/p-4e473efb.entry.js +0 -7
- package/dist/calcite/p-4fd2d616.entry.js +0 -7
- package/dist/calcite/p-50c7eed2.js +0 -7
- package/dist/calcite/p-537703c3.entry.js +0 -7
- package/dist/calcite/p-54ff1b97.entry.js +0 -7
- package/dist/calcite/p-55775302.js +0 -7
- package/dist/calcite/p-5735d697.entry.js +0 -7
- package/dist/calcite/p-5735d697.entry.js.map +0 -1
- package/dist/calcite/p-59aec9fe.js +0 -7
- package/dist/calcite/p-5b887f88.js +0 -7
- package/dist/calcite/p-5c99eac2.entry.js +0 -7
- package/dist/calcite/p-5d025baa.js +0 -7
- package/dist/calcite/p-5df29b60.js +0 -7
- package/dist/calcite/p-5e4861b9.js +0 -7
- package/dist/calcite/p-5ef2c3f1.entry.js +0 -7
- package/dist/calcite/p-670f1847.entry.js +0 -7
- package/dist/calcite/p-68999c52.js +0 -7
- package/dist/calcite/p-6afbcef7.entry.js +0 -7
- package/dist/calcite/p-6afbcef7.entry.js.map +0 -1
- package/dist/calcite/p-6c101058.js +0 -7
- package/dist/calcite/p-6c74536c.entry.js +0 -7
- package/dist/calcite/p-6cb3d749.js +0 -7
- package/dist/calcite/p-6e50580d.js +0 -7
- package/dist/calcite/p-71f06577.entry.js +0 -7
- package/dist/calcite/p-725269df.entry.js +0 -7
- package/dist/calcite/p-746edf84.js +0 -7
- package/dist/calcite/p-75a38266.js +0 -7
- package/dist/calcite/p-7926f90b.entry.js +0 -7
- package/dist/calcite/p-7998a7c4.js +0 -7
- package/dist/calcite/p-7c6d4df4.js +0 -7
- package/dist/calcite/p-822d46e9.entry.js +0 -7
- package/dist/calcite/p-83d1d82c.entry.js +0 -7
- package/dist/calcite/p-847fc584.js +0 -7
- package/dist/calcite/p-88a5eb0b.js +0 -7
- package/dist/calcite/p-8aaeb14e.entry.js +0 -7
- package/dist/calcite/p-8aaeb14e.entry.js.map +0 -1
- package/dist/calcite/p-8ac588b3.js +0 -7
- package/dist/calcite/p-8ceabb26.js +0 -11
- package/dist/calcite/p-8f83f9e2.entry.js +0 -7
- package/dist/calcite/p-91322c7d.entry.js +0 -7
- package/dist/calcite/p-91c42279.entry.js +0 -7
- package/dist/calcite/p-92001827.js +0 -7
- package/dist/calcite/p-941cbee0.js +0 -7
- package/dist/calcite/p-96d1ff13.js +0 -7
- package/dist/calcite/p-97e5479c.entry.js +0 -7
- package/dist/calcite/p-99fa5a7a.entry.js +0 -7
- package/dist/calcite/p-9bef7e9b.js +0 -7
- package/dist/calcite/p-9c4afd56.js +0 -7
- package/dist/calcite/p-a3d52285.entry.js +0 -7
- package/dist/calcite/p-a74baa51.entry.js +0 -7
- package/dist/calcite/p-a7cbe6df.entry.js +0 -7
- package/dist/calcite/p-a99eefda.entry.js +0 -7
- package/dist/calcite/p-accfb8c4.entry.js +0 -7
- package/dist/calcite/p-accfb8c4.entry.js.map +0 -1
- package/dist/calcite/p-ad66842e.js +0 -7
- package/dist/calcite/p-add4f1bb.js +0 -7
- package/dist/calcite/p-aef754b4.js +0 -7
- package/dist/calcite/p-af1d986f.js +0 -7
- package/dist/calcite/p-b02fd6a4.js +0 -7
- package/dist/calcite/p-b05bb8ad.js +0 -7
- package/dist/calcite/p-b130cc78.entry.js +0 -7
- package/dist/calcite/p-b2734b45.js +0 -7
- package/dist/calcite/p-b2c9a699.entry.js +0 -7
- package/dist/calcite/p-b3d3311f.js +0 -7
- package/dist/calcite/p-b423e703.entry.js +0 -7
- package/dist/calcite/p-b423e703.entry.js.map +0 -1
- package/dist/calcite/p-b4248c54.js +0 -7
- package/dist/calcite/p-b7074071.entry.js +0 -7
- package/dist/calcite/p-b7727ed9.js +0 -7
- package/dist/calcite/p-b79af268.js +0 -7
- package/dist/calcite/p-b82ea8d0.entry.js +0 -7
- package/dist/calcite/p-bb6939a4.js +0 -7
- package/dist/calcite/p-bd3afab4.js +0 -7
- package/dist/calcite/p-c02a4518.entry.js +0 -7
- package/dist/calcite/p-c0390de4.js +0 -7
- package/dist/calcite/p-c05c75b1.js +0 -7
- package/dist/calcite/p-c1da76f9.js +0 -7
- package/dist/calcite/p-c1ee3829.entry.js +0 -7
- package/dist/calcite/p-c38c0c3f.js +0 -7
- package/dist/calcite/p-c6ec8cb8.entry.js +0 -7
- package/dist/calcite/p-c8549743.js +0 -7
- package/dist/calcite/p-ca3d1a8c.js +0 -7
- package/dist/calcite/p-cb147cc9.js +0 -7
- package/dist/calcite/p-cd1fb2cb.entry.js +0 -7
- package/dist/calcite/p-cd98bd18.js +0 -7
- package/dist/calcite/p-cfb8da3d.js +0 -7
- package/dist/calcite/p-d27020a0.entry.js +0 -7
- package/dist/calcite/p-d2c7b585.js +0 -7
- package/dist/calcite/p-d37edb73.js +0 -7
- package/dist/calcite/p-dab09d19.entry.js +0 -7
- package/dist/calcite/p-df0ff22d.entry.js +0 -7
- package/dist/calcite/p-dfad2eba.js +0 -7
- package/dist/calcite/p-e0d99da6.js +0 -7
- package/dist/calcite/p-e149724a.entry.js +0 -7
- package/dist/calcite/p-e22d9984.js +0 -7
- package/dist/calcite/p-e77eda84.entry.js +0 -7
- package/dist/calcite/p-e8cdb629.entry.js +0 -7
- package/dist/calcite/p-eb2b0537.entry.js +0 -7
- package/dist/calcite/p-eb5fd4ea.js +0 -7
- package/dist/calcite/p-ebdcde60.entry.js +0 -7
- package/dist/calcite/p-ebed5aa1.entry.js +0 -7
- package/dist/calcite/p-ed15e6ea.js +0 -12
- package/dist/calcite/p-ef743c99.js +0 -7
- package/dist/calcite/p-f3fec07c.js +0 -7
- package/dist/calcite/p-f4367c3c.js +0 -7
- package/dist/calcite/p-f4a4649e.entry.js +0 -7
- package/dist/calcite/p-f575a18c.entry.js +0 -7
- package/dist/calcite/p-f679867c.entry.js +0 -7
- package/dist/calcite/p-f8204b4c.entry.js +0 -7
- package/dist/calcite/p-fa9c179a.js +0 -7
- package/dist/calcite/p-fb6a152b.entry.js +0 -7
- package/dist/calcite/p-fbfddd97.js +0 -8
- package/dist/calcite/p-fd087336.js +0 -7
- package/dist/calcite/p-fe9596bb.entry.js +0 -7
- package/dist/cjs/ExpandToggle-0ad6156a.js +0 -110
- package/dist/cjs/ExpandToggle-0ad6156a.js.map +0 -1
- package/dist/cjs/FloatingArrow-1ec84fe9.js +0 -49
- package/dist/cjs/FloatingArrow-1ec84fe9.js.map +0 -1
- package/dist/cjs/Heading-c1c6b6a9.js +0 -22
- package/dist/cjs/Heading-c1c6b6a9.js.map +0 -1
- package/dist/cjs/Validation-b197cd1c.js +0 -18
- package/dist/cjs/Validation-b197cd1c.js.map +0 -1
- package/dist/cjs/app-globals-aa3b34af.js +0 -61
- package/dist/cjs/app-globals-aa3b34af.js.map +0 -1
- package/dist/cjs/ar-9698693c.js +0 -106
- package/dist/cjs/ar-9698693c.js.map +0 -1
- package/dist/cjs/array-667f63ee.js +0 -14
- package/dist/cjs/array-667f63ee.js.map +0 -1
- package/dist/cjs/bg-954e59a9.js +0 -84
- package/dist/cjs/bg-954e59a9.js.map +0 -1
- package/dist/cjs/browser-ad107666.js +0 -20
- package/dist/cjs/browser-ad107666.js.map +0 -1
- package/dist/cjs/bs-5d2a374c.js +0 -53
- package/dist/cjs/bs-5d2a374c.js.map +0 -1
- package/dist/cjs/ca-3fd90b33.js +0 -73
- package/dist/cjs/ca-3fd90b33.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-ee97d1e1.js +0 -2918
- package/dist/cjs/calcite-input-time-picker.calcite-time-picker-ee97d1e1.js.map +0 -1
- package/dist/cjs/component-b7748675.js +0 -30
- package/dist/cjs/component-b7748675.js.map +0 -1
- package/dist/cjs/conditionalSlot-34a75813.js +0 -60
- package/dist/cjs/conditionalSlot-34a75813.js.map +0 -1
- package/dist/cjs/cs-41fdf003.js +0 -149
- package/dist/cjs/cs-41fdf003.js.map +0 -1
- package/dist/cjs/da-7e525794.js +0 -68
- package/dist/cjs/da-7e525794.js.map +0 -1
- package/dist/cjs/de-at-41302891.js +0 -92
- package/dist/cjs/de-at-41302891.js.map +0 -1
- package/dist/cjs/de-c33641af.js +0 -93
- package/dist/cjs/de-c33641af.js.map +0 -1
- package/dist/cjs/de-ch-0ab4d3a2.js +0 -92
- package/dist/cjs/de-ch-0ab4d3a2.js.map +0 -1
- package/dist/cjs/debounce-d71c9b76.js +0 -498
- package/dist/cjs/debounce-d71c9b76.js.map +0 -1
- package/dist/cjs/dom-126a0394.js +0 -1084
- package/dist/cjs/dom-126a0394.js.map +0 -1
- package/dist/cjs/el-8746505d.js +0 -68
- package/dist/cjs/el-8746505d.js.map +0 -1
- package/dist/cjs/en-au-6afc689a.js +0 -68
- package/dist/cjs/en-au-6afc689a.js.map +0 -1
- package/dist/cjs/en-ca-f4da2f6e.js +0 -67
- package/dist/cjs/en-ca-f4da2f6e.js.map +0 -1
- package/dist/cjs/en-gb-7c0e7fd9.js +0 -71
- package/dist/cjs/en-gb-7c0e7fd9.js.map +0 -1
- package/dist/cjs/es-b879f4a2.js +0 -68
- package/dist/cjs/es-b879f4a2.js.map +0 -1
- package/dist/cjs/es-mx-02886958.js +0 -67
- package/dist/cjs/es-mx-02886958.js.map +0 -1
- package/dist/cjs/et-735b84e5.js +0 -94
- package/dist/cjs/et-735b84e5.js.map +0 -1
- package/dist/cjs/fi-29cb377a.js +0 -117
- package/dist/cjs/fi-29cb377a.js.map +0 -1
- package/dist/cjs/filter-1f0ac770.js +0 -762
- package/dist/cjs/filter-1f0ac770.js.map +0 -1
- package/dist/cjs/floating-ui-950261a5.js +0 -1965
- package/dist/cjs/floating-ui-950261a5.js.map +0 -1
- package/dist/cjs/focusTrapComponent-785bc360.js +0 -1020
- package/dist/cjs/focusTrapComponent-785bc360.js.map +0 -1
- package/dist/cjs/form-d3e87808.js +0 -313
- package/dist/cjs/form-d3e87808.js.map +0 -1
- package/dist/cjs/fr-ch-9c479e88.js +0 -68
- package/dist/cjs/fr-ch-9c479e88.js.map +0 -1
- package/dist/cjs/fr-f2fb0ddf.js +0 -70
- package/dist/cjs/fr-f2fb0ddf.js.map +0 -1
- package/dist/cjs/guid-1a028869.js +0 -23
- package/dist/cjs/guid-1a028869.js.map +0 -1
- package/dist/cjs/he-6ab74f73.js +0 -107
- package/dist/cjs/he-6ab74f73.js.map +0 -1
- package/dist/cjs/hi-db2c117b.js +0 -67
- package/dist/cjs/hi-db2c117b.js.map +0 -1
- package/dist/cjs/hr-8e030f26.js +0 -82
- package/dist/cjs/hr-8e030f26.js.map +0 -1
- package/dist/cjs/hu-56e7cb43.js +0 -90
- package/dist/cjs/hu-56e7cb43.js.map +0 -1
- package/dist/cjs/id-d3ba5bdd.js +0 -68
- package/dist/cjs/id-d3ba5bdd.js.map +0 -1
- package/dist/cjs/index-59f48516.js +0 -75
- package/dist/cjs/index-59f48516.js.map +0 -1
- package/dist/cjs/index-dc2985f6.js +0 -208
- package/dist/cjs/index-dc2985f6.js.map +0 -1
- package/dist/cjs/index-f46fafb3.js +0 -2655
- package/dist/cjs/index-f46fafb3.js.map +0 -1
- package/dist/cjs/interactive-f673262e.js +0 -141
- package/dist/cjs/interactive-f673262e.js.map +0 -1
- package/dist/cjs/it-ch-fbeafde9.js +0 -68
- package/dist/cjs/it-ch-fbeafde9.js.map +0 -1
- package/dist/cjs/it-d69f8e3d.js +0 -68
- package/dist/cjs/it-d69f8e3d.js.map +0 -1
- package/dist/cjs/ja-56605f23.js +0 -74
- package/dist/cjs/ja-56605f23.js.map +0 -1
- package/dist/cjs/key-744435da.js +0 -16
- package/dist/cjs/key-744435da.js.map +0 -1
- package/dist/cjs/ko-3a9d2f17.js +0 -74
- package/dist/cjs/ko-3a9d2f17.js.map +0 -1
- package/dist/cjs/label-ee8c8ca9.js +0 -183
- package/dist/cjs/label-ee8c8ca9.js.map +0 -1
- package/dist/cjs/loadable-c22eb606.js +0 -91
- package/dist/cjs/loadable-c22eb606.js.map +0 -1
- package/dist/cjs/locale-30f42ef5.js +0 -576
- package/dist/cjs/locale-30f42ef5.js.map +0 -1
- package/dist/cjs/lt-8bcd716d.js +0 -99
- package/dist/cjs/lt-8bcd716d.js.map +0 -1
- package/dist/cjs/lv-55798224.js +0 -68
- package/dist/cjs/lv-55798224.js.map +0 -1
- package/dist/cjs/math-d937e346.js +0 -57
- package/dist/cjs/math-d937e346.js.map +0 -1
- package/dist/cjs/mk-8626cb06.js +0 -68
- package/dist/cjs/mk-8626cb06.js.map +0 -1
- package/dist/cjs/nb-f7bac58d.js +0 -69
- package/dist/cjs/nb-f7bac58d.js.map +0 -1
- package/dist/cjs/nl-b1880b27.js +0 -69
- package/dist/cjs/nl-b1880b27.js.map +0 -1
- package/dist/cjs/observers-a6a546ef.js +0 -50
- package/dist/cjs/observers-a6a546ef.js.map +0 -1
- package/dist/cjs/openCloseComponent-2d5e2244.js +0 -89
- package/dist/cjs/openCloseComponent-2d5e2244.js.map +0 -1
- package/dist/cjs/pl-8ec36427.js +0 -116
- package/dist/cjs/pl-8ec36427.js.map +0 -1
- package/dist/cjs/pt-2462df4a.js +0 -69
- package/dist/cjs/pt-2462df4a.js.map +0 -1
- package/dist/cjs/pt-br-31068774.js +0 -67
- package/dist/cjs/pt-br-31068774.js.map +0 -1
- package/dist/cjs/resources-135fa426.js +0 -49
- package/dist/cjs/resources-135fa426.js.map +0 -1
- package/dist/cjs/resources-8fabb9ae.js +0 -17
- package/dist/cjs/resources-8fabb9ae.js.map +0 -1
- package/dist/cjs/resources-9083f79c.js +0 -23
- package/dist/cjs/resources-9083f79c.js.map +0 -1
- package/dist/cjs/resources-c1a9f7ab.js +0 -29
- package/dist/cjs/resources-c1a9f7ab.js.map +0 -1
- package/dist/cjs/resources-e71e4f7e.js +0 -26
- package/dist/cjs/resources-e71e4f7e.js.map +0 -1
- package/dist/cjs/resources-e7e56c8b.js +0 -26
- package/dist/cjs/resources-e7e56c8b.js.map +0 -1
- package/dist/cjs/resources-f17278e4.js +0 -414
- package/dist/cjs/resources-f17278e4.js.map +0 -1
- package/dist/cjs/ro-2805d52c.js +0 -68
- package/dist/cjs/ro-2805d52c.js.map +0 -1
- package/dist/cjs/ru-bf3541dc.js +0 -128
- package/dist/cjs/ru-bf3541dc.js.map +0 -1
- package/dist/cjs/sk-f892dab9.js +0 -150
- package/dist/cjs/sk-f892dab9.js.map +0 -1
- package/dist/cjs/sl-6e167bc2.js +0 -170
- package/dist/cjs/sl-6e167bc2.js.map +0 -1
- package/dist/cjs/sortableComponent-599eff74.js +0 -2739
- package/dist/cjs/sortableComponent-599eff74.js.map +0 -1
- package/dist/cjs/sr-e4bc3898.js +0 -103
- package/dist/cjs/sr-e4bc3898.js.map +0 -1
- package/dist/cjs/sv-7815446b.js +0 -73
- package/dist/cjs/sv-7815446b.js.map +0 -1
- package/dist/cjs/t9n-7132dfc3.js +0 -97
- package/dist/cjs/t9n-7132dfc3.js.map +0 -1
- package/dist/cjs/th-0c0df6d8.js +0 -67
- package/dist/cjs/th-0c0df6d8.js.map +0 -1
- package/dist/cjs/throttle-c94f779a.js +0 -77
- package/dist/cjs/throttle-c94f779a.js.map +0 -1
- package/dist/cjs/tr-f2f9535c.js +0 -68
- package/dist/cjs/tr-f2f9535c.js.map +0 -1
- package/dist/cjs/uk-7f9abcba.js +0 -106
- package/dist/cjs/uk-7f9abcba.js.map +0 -1
- package/dist/cjs/utils-0e3ff4bf.js +0 -307
- package/dist/cjs/utils-0e3ff4bf.js.map +0 -1
- package/dist/cjs/utils-81bd8746.js +0 -218
- package/dist/cjs/utils-81bd8746.js.map +0 -1
- package/dist/cjs/vi-9246a2c0.js +0 -72
- package/dist/cjs/vi-9246a2c0.js.map +0 -1
- package/dist/cjs/zh-cn-39ca17e3.js +0 -96
- package/dist/cjs/zh-cn-39ca17e3.js.map +0 -1
- package/dist/cjs/zh-hk-53a43264.js +0 -73
- package/dist/cjs/zh-hk-53a43264.js.map +0 -1
- package/dist/cjs/zh-tw-6d1d39a4.js +0 -94
- package/dist/cjs/zh-tw-6d1d39a4.js.map +0 -1
- package/dist/collection/utils/form.e2e.js +0 -237
- package/dist/collection/utils/form.e2e.js.map +0 -1
- package/dist/esm/ExpandToggle-9a988bbc.js +0 -102
- package/dist/esm/ExpandToggle-9a988bbc.js.map +0 -1
- package/dist/esm/FloatingArrow-618b271b.js +0 -47
- package/dist/esm/FloatingArrow-618b271b.js.map +0 -1
- package/dist/esm/Heading-bbda62ef.js +0 -19
- package/dist/esm/Heading-bbda62ef.js.map +0 -1
- package/dist/esm/Validation-751c8bf0.js +0 -16
- package/dist/esm/Validation-751c8bf0.js.map +0 -1
- package/dist/esm/app-globals-5b727ec9.js +0 -59
- package/dist/esm/app-globals-5b727ec9.js.map +0 -1
- package/dist/esm/ar-79141e15.js +0 -104
- package/dist/esm/ar-79141e15.js.map +0 -1
- package/dist/esm/array-4cc3ff84.js +0 -12
- package/dist/esm/array-4cc3ff84.js.map +0 -1
- package/dist/esm/bg-b694ff20.js +0 -82
- package/dist/esm/bg-b694ff20.js.map +0 -1
- package/dist/esm/browser-d7d72131.js +0 -18
- package/dist/esm/browser-d7d72131.js.map +0 -1
- package/dist/esm/bs-c1298399.js +0 -51
- package/dist/esm/bs-c1298399.js.map +0 -1
- package/dist/esm/ca-580c2e14.js +0 -71
- package/dist/esm/ca-580c2e14.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1f2e19f3.js +0 -2914
- package/dist/esm/calcite-input-time-picker.calcite-time-picker-1f2e19f3.js.map +0 -1
- package/dist/esm/component-3d8129e7.js +0 -27
- package/dist/esm/component-3d8129e7.js.map +0 -1
- package/dist/esm/conditionalSlot-6e7dd079.js +0 -57
- package/dist/esm/conditionalSlot-6e7dd079.js.map +0 -1
- package/dist/esm/cs-69e462ec.js +0 -147
- package/dist/esm/cs-69e462ec.js.map +0 -1
- package/dist/esm/da-ef6b5f04.js +0 -66
- package/dist/esm/da-ef6b5f04.js.map +0 -1
- package/dist/esm/de-81531bbd.js +0 -91
- package/dist/esm/de-81531bbd.js.map +0 -1
- package/dist/esm/de-at-5ca28d53.js +0 -90
- package/dist/esm/de-at-5ca28d53.js.map +0 -1
- package/dist/esm/de-ch-328de192.js +0 -90
- package/dist/esm/de-ch-328de192.js.map +0 -1
- package/dist/esm/debounce-8699ed47.js +0 -489
- package/dist/esm/debounce-8699ed47.js.map +0 -1
- package/dist/esm/dom-6326e86a.js +0 -1053
- package/dist/esm/dom-6326e86a.js.map +0 -1
- package/dist/esm/el-5da49d2b.js +0 -66
- package/dist/esm/el-5da49d2b.js.map +0 -1
- package/dist/esm/en-au-c29f1931.js +0 -66
- package/dist/esm/en-au-c29f1931.js.map +0 -1
- package/dist/esm/en-ca-f01ea153.js +0 -65
- package/dist/esm/en-ca-f01ea153.js.map +0 -1
- package/dist/esm/en-gb-c3c87f59.js +0 -69
- package/dist/esm/en-gb-c3c87f59.js.map +0 -1
- package/dist/esm/es-3271d933.js +0 -66
- package/dist/esm/es-3271d933.js.map +0 -1
- package/dist/esm/es-mx-70c49e0b.js +0 -65
- package/dist/esm/es-mx-70c49e0b.js.map +0 -1
- package/dist/esm/et-1383845d.js +0 -92
- package/dist/esm/et-1383845d.js.map +0 -1
- package/dist/esm/fi-8b33a8ec.js +0 -115
- package/dist/esm/fi-8b33a8ec.js.map +0 -1
- package/dist/esm/filter-a3b6f544.js +0 -760
- package/dist/esm/filter-a3b6f544.js.map +0 -1
- package/dist/esm/floating-ui-56cb31f2.js +0 -1957
- package/dist/esm/floating-ui-56cb31f2.js.map +0 -1
- package/dist/esm/focusTrapComponent-c49639e3.js +0 -1015
- package/dist/esm/focusTrapComponent-c49639e3.js.map +0 -1
- package/dist/esm/form-71db3798.js +0 -304
- package/dist/esm/form-71db3798.js.map +0 -1
- package/dist/esm/fr-83846367.js +0 -68
- package/dist/esm/fr-83846367.js.map +0 -1
- package/dist/esm/fr-ch-4fc8224e.js +0 -66
- package/dist/esm/fr-ch-4fc8224e.js.map +0 -1
- package/dist/esm/guid-37cd2f20.js +0 -21
- package/dist/esm/guid-37cd2f20.js.map +0 -1
- package/dist/esm/he-af598193.js +0 -105
- package/dist/esm/he-af598193.js.map +0 -1
- package/dist/esm/hi-05dc9068.js +0 -65
- package/dist/esm/hi-05dc9068.js.map +0 -1
- package/dist/esm/hr-f26732b9.js +0 -80
- package/dist/esm/hr-f26732b9.js.map +0 -1
- package/dist/esm/hu-0d127589.js +0 -88
- package/dist/esm/hu-0d127589.js.map +0 -1
- package/dist/esm/id-17654080.js +0 -66
- package/dist/esm/id-17654080.js.map +0 -1
- package/dist/esm/index-2d65a295.js +0 -206
- package/dist/esm/index-2d65a295.js.map +0 -1
- package/dist/esm/index-b0eb4fce.js +0 -73
- package/dist/esm/index-b0eb4fce.js.map +0 -1
- package/dist/esm/index-dbc0520d.js +0 -2620
- package/dist/esm/index-dbc0520d.js.map +0 -1
- package/dist/esm/interactive-660c276f.js +0 -136
- package/dist/esm/interactive-660c276f.js.map +0 -1
- package/dist/esm/it-48b2de4c.js +0 -66
- package/dist/esm/it-48b2de4c.js.map +0 -1
- package/dist/esm/it-ch-6be0877d.js +0 -66
- package/dist/esm/it-ch-6be0877d.js.map +0 -1
- package/dist/esm/ja-323c34a3.js +0 -72
- package/dist/esm/ja-323c34a3.js.map +0 -1
- package/dist/esm/key-fabbd17f.js +0 -13
- package/dist/esm/key-fabbd17f.js.map +0 -1
- package/dist/esm/ko-2e8789c9.js +0 -72
- package/dist/esm/ko-2e8789c9.js.map +0 -1
- package/dist/esm/label-d9e977d0.js +0 -176
- package/dist/esm/label-d9e977d0.js.map +0 -1
- package/dist/esm/loadable-56b71380.js +0 -86
- package/dist/esm/loadable-56b71380.js.map +0 -1
- package/dist/esm/locale-722a1f1c.js +0 -563
- package/dist/esm/locale-722a1f1c.js.map +0 -1
- package/dist/esm/lt-b16d6124.js +0 -97
- package/dist/esm/lt-b16d6124.js.map +0 -1
- package/dist/esm/lv-f23d9a36.js +0 -66
- package/dist/esm/lv-f23d9a36.js.map +0 -1
- package/dist/esm/math-1eaaee15.js +0 -51
- package/dist/esm/math-1eaaee15.js.map +0 -1
- package/dist/esm/mk-bf77a1a8.js +0 -66
- package/dist/esm/mk-bf77a1a8.js.map +0 -1
- package/dist/esm/nb-7b00c4f2.js +0 -67
- package/dist/esm/nb-7b00c4f2.js.map +0 -1
- package/dist/esm/nl-846322f4.js +0 -67
- package/dist/esm/nl-846322f4.js.map +0 -1
- package/dist/esm/observers-406e8a09.js +0 -48
- package/dist/esm/observers-406e8a09.js.map +0 -1
- package/dist/esm/openCloseComponent-293d1ed4.js +0 -87
- package/dist/esm/openCloseComponent-293d1ed4.js.map +0 -1
- package/dist/esm/pl-3200d6dc.js +0 -114
- package/dist/esm/pl-3200d6dc.js.map +0 -1
- package/dist/esm/pt-540f1384.js +0 -67
- package/dist/esm/pt-540f1384.js.map +0 -1
- package/dist/esm/pt-br-0050b18c.js +0 -65
- package/dist/esm/pt-br-0050b18c.js.map +0 -1
- package/dist/esm/resources-159934f5.js +0 -23
- package/dist/esm/resources-159934f5.js.map +0 -1
- package/dist/esm/resources-39e243d1.js +0 -387
- package/dist/esm/resources-39e243d1.js.map +0 -1
- package/dist/esm/resources-57d35a67.js +0 -45
- package/dist/esm/resources-57d35a67.js.map +0 -1
- package/dist/esm/resources-73d5bb18.js +0 -21
- package/dist/esm/resources-73d5bb18.js.map +0 -1
- package/dist/esm/resources-8216b1ff.js +0 -17
- package/dist/esm/resources-8216b1ff.js.map +0 -1
- package/dist/esm/resources-82af8523.js +0 -25
- package/dist/esm/resources-82af8523.js.map +0 -1
- package/dist/esm/resources-86793667.js +0 -19
- package/dist/esm/resources-86793667.js.map +0 -1
- package/dist/esm/ro-c3fc95d1.js +0 -66
- package/dist/esm/ro-c3fc95d1.js.map +0 -1
- package/dist/esm/ru-a9966bdd.js +0 -126
- package/dist/esm/ru-a9966bdd.js.map +0 -1
- package/dist/esm/sk-83632c8a.js +0 -148
- package/dist/esm/sk-83632c8a.js.map +0 -1
- package/dist/esm/sl-24d21256.js +0 -168
- package/dist/esm/sl-24d21256.js.map +0 -1
- package/dist/esm/sortableComponent-8f288558.js +0 -2735
- package/dist/esm/sortableComponent-8f288558.js.map +0 -1
- package/dist/esm/sr-9805ba91.js +0 -101
- package/dist/esm/sr-9805ba91.js.map +0 -1
- package/dist/esm/sv-f0c05b51.js +0 -71
- package/dist/esm/sv-f0c05b51.js.map +0 -1
- package/dist/esm/t9n-48d740fe.js +0 -92
- package/dist/esm/t9n-48d740fe.js.map +0 -1
- package/dist/esm/th-168dea06.js +0 -65
- package/dist/esm/th-168dea06.js.map +0 -1
- package/dist/esm/throttle-ae8cbcc1.js +0 -75
- package/dist/esm/throttle-ae8cbcc1.js.map +0 -1
- package/dist/esm/tr-6d82816d.js +0 -66
- package/dist/esm/tr-6d82816d.js.map +0 -1
- package/dist/esm/uk-ccca8bef.js +0 -104
- package/dist/esm/uk-ccca8bef.js.map +0 -1
- package/dist/esm/utils-3d8b9d07.js +0 -200
- package/dist/esm/utils-3d8b9d07.js.map +0 -1
- package/dist/esm/utils-dca81eb1.js +0 -289
- package/dist/esm/utils-dca81eb1.js.map +0 -1
- package/dist/esm/vi-6062d292.js +0 -70
- package/dist/esm/vi-6062d292.js.map +0 -1
- package/dist/esm/zh-cn-9ae6473d.js +0 -94
- package/dist/esm/zh-cn-9ae6473d.js.map +0 -1
- package/dist/esm/zh-hk-7a7c9485.js +0 -71
- package/dist/esm/zh-hk-7a7c9485.js.map +0 -1
- package/dist/esm/zh-tw-aa216ba3.js +0 -92
- package/dist/esm/zh-tw-aa216ba3.js.map +0 -1
- package/dist/extras/vscode-data.json +0 -6882
- /package/dist/calcite/{p-9c4afd56.js.map → p-00b33d27.js.map} +0 -0
- /package/dist/calcite/{p-725269df.entry.js.map → p-01223da5.entry.js.map} +0 -0
- /package/dist/calcite/{p-eb2b0537.entry.js.map → p-01ce6c82.entry.js.map} +0 -0
- /package/dist/calcite/{p-028cc79f.entry.js.map → p-0294cb32.entry.js.map} +0 -0
- /package/dist/calcite/{p-5d025baa.js.map → p-041acb71.js.map} +0 -0
- /package/dist/calcite/{p-33eec4ca.js.map → p-082040be.js.map} +0 -0
- /package/dist/calcite/{p-20f3a254.entry.js.map → p-086954cf.entry.js.map} +0 -0
- /package/dist/calcite/{p-1e0c845c.entry.js.map → p-0944eb43.entry.js.map} +0 -0
- /package/dist/calcite/{p-dfad2eba.js.map → p-0d04e387.js.map} +0 -0
- /package/dist/calcite/{p-5e4861b9.js.map → p-0f7d03d1.js.map} +0 -0
- /package/dist/calcite/{p-eb5fd4ea.js.map → p-10acb648.js.map} +0 -0
- /package/dist/calcite/{p-e22d9984.js.map → p-11d4c82a.js.map} +0 -0
- /package/dist/calcite/{p-7998a7c4.js.map → p-128a6263.js.map} +0 -0
- /package/dist/calcite/{p-6c101058.js.map → p-15ec4f27.js.map} +0 -0
- /package/dist/calcite/{p-6cb3d749.js.map → p-15fd0b18.js.map} +0 -0
- /package/dist/calcite/{p-68999c52.js.map → p-20db39dc.js.map} +0 -0
- /package/dist/calcite/{p-cb147cc9.js.map → p-21d84e50.js.map} +0 -0
- /package/dist/calcite/{p-0acac88b.entry.js.map → p-264f4332.entry.js.map} +0 -0
- /package/dist/calcite/{p-c0390de4.js.map → p-26cd3c63.js.map} +0 -0
- /package/dist/calcite/{p-941cbee0.js.map → p-26f7f362.js.map} +0 -0
- /package/dist/calcite/{p-83d1d82c.entry.js.map → p-2b1358dd.entry.js.map} +0 -0
- /package/dist/calcite/{p-1e3da260.js.map → p-2e3e6934.js.map} +0 -0
- /package/dist/calcite/{p-11f4d427.entry.js.map → p-2e8e9118.entry.js.map} +0 -0
- /package/dist/calcite/{p-ebed5aa1.entry.js.map → p-30bc9f81.entry.js.map} +0 -0
- /package/dist/calcite/{p-cfb8da3d.js.map → p-319afb8e.js.map} +0 -0
- /package/dist/calcite/{p-7926f90b.entry.js.map → p-31fd105d.entry.js.map} +0 -0
- /package/dist/calcite/{p-4a278a68.entry.js.map → p-32f0d2e4.entry.js.map} +0 -0
- /package/dist/calcite/{p-847fc584.js.map → p-3328f5ba.js.map} +0 -0
- /package/dist/calcite/{p-b2734b45.js.map → p-3341a34a.js.map} +0 -0
- /package/dist/calcite/{p-d37edb73.js.map → p-341f5dd5.js.map} +0 -0
- /package/dist/calcite/{p-08f2b94a.js.map → p-34a71bdb.js.map} +0 -0
- /package/dist/calcite/{p-2efade48.entry.js.map → p-34feb62c.entry.js.map} +0 -0
- /package/dist/calcite/{p-e0d99da6.js.map → p-351ef8bc.js.map} +0 -0
- /package/dist/calcite/{p-a74baa51.entry.js.map → p-385fabe6.entry.js.map} +0 -0
- /package/dist/calcite/{p-d2c7b585.js.map → p-39613b4f.js.map} +0 -0
- /package/dist/calcite/{p-a99eefda.entry.js.map → p-39d8f5e0.entry.js.map} +0 -0
- /package/dist/calcite/{p-066a2b4c.js.map → p-39e3cd7c.js.map} +0 -0
- /package/dist/calcite/{p-fd087336.js.map → p-3a38726f.js.map} +0 -0
- /package/dist/calcite/{p-21b5f1ec.entry.js.map → p-3c663b9d.entry.js.map} +0 -0
- /package/dist/calcite/{p-ef743c99.js.map → p-3e9ca753.js.map} +0 -0
- /package/dist/calcite/{p-2a4244de.entry.js.map → p-401ec473.entry.js.map} +0 -0
- /package/dist/calcite/{p-e149724a.entry.js.map → p-41c6c9db.entry.js.map} +0 -0
- /package/dist/calcite/{p-537703c3.entry.js.map → p-4598dc66.entry.js.map} +0 -0
- /package/dist/calcite/{p-9bef7e9b.js.map → p-471d1acf.js.map} +0 -0
- /package/dist/calcite/{p-aef754b4.js.map → p-48b5b678.js.map} +0 -0
- /package/dist/calcite/{p-746edf84.js.map → p-49586b62.js.map} +0 -0
- /package/dist/calcite/{p-2fa45363.entry.js.map → p-499adfac.entry.js.map} +0 -0
- /package/dist/calcite/{p-8f83f9e2.entry.js.map → p-4ca318c0.entry.js.map} +0 -0
- /package/dist/calcite/{p-a3d52285.entry.js.map → p-4dd08f5c.entry.js.map} +0 -0
- /package/dist/calcite/{p-30a40f99.js.map → p-4e27599d.js.map} +0 -0
- /package/dist/calcite/{p-31d5878e.js.map → p-50fae575.js.map} +0 -0
- /package/dist/calcite/{p-c1da76f9.js.map → p-541ed8e8.js.map} +0 -0
- /package/dist/calcite/{p-21a5e355.entry.js.map → p-55202d8e.entry.js.map} +0 -0
- /package/dist/calcite/{p-3b15f6a3.js.map → p-566745a9.js.map} +0 -0
- /package/dist/calcite/{p-6c74536c.entry.js.map → p-5723d5de.entry.js.map} +0 -0
- /package/dist/calcite/{p-07b06f4f.js.map → p-582b93a0.js.map} +0 -0
- /package/dist/calcite/{p-f575a18c.entry.js.map → p-5886e529.entry.js.map} +0 -0
- /package/dist/calcite/{p-3de4ef19.js.map → p-58d1332e.js.map} +0 -0
- /package/dist/calcite/{p-4114c95c.js.map → p-5b0d5824.js.map} +0 -0
- /package/dist/calcite/{p-b82ea8d0.entry.js.map → p-5b9f1e26.entry.js.map} +0 -0
- /package/dist/calcite/{p-f679867c.entry.js.map → p-619f6b40.entry.js.map} +0 -0
- /package/dist/calcite/{p-c6ec8cb8.entry.js.map → p-636cae83.entry.js.map} +0 -0
- /package/dist/calcite/{p-c05c75b1.js.map → p-65704e9c.js.map} +0 -0
- /package/dist/calcite/{p-7c6d4df4.js.map → p-6635e3a5.js.map} +0 -0
- /package/dist/calcite/{p-36bb99a2.entry.js.map → p-69628498.entry.js.map} +0 -0
- /package/dist/calcite/{p-b79af268.js.map → p-6b48fd8f.js.map} +0 -0
- /package/dist/calcite/{p-22a02be1.js.map → p-6ca4af5b.js.map} +0 -0
- /package/dist/calcite/{p-4543b62c.js.map → p-72484322.js.map} +0 -0
- /package/dist/calcite/{p-ad66842e.js.map → p-73e108be.js.map} +0 -0
- /package/dist/calcite/{p-d27020a0.entry.js.map → p-7ab6ded4.entry.js.map} +0 -0
- /package/dist/calcite/{p-263b31c9.js.map → p-7bcfca23.js.map} +0 -0
- /package/dist/calcite/{p-bb6939a4.js.map → p-7bd1de8b.js.map} +0 -0
- /package/dist/calcite/{p-cd98bd18.js.map → p-7c6b37cb.js.map} +0 -0
- /package/dist/calcite/{p-8ac588b3.js.map → p-7c9b1cff.js.map} +0 -0
- /package/dist/calcite/{p-df0ff22d.entry.js.map → p-7d4b1849.entry.js.map} +0 -0
- /package/dist/calcite/{p-c38c0c3f.js.map → p-7d650111.js.map} +0 -0
- /package/dist/calcite/{p-4519b42b.js.map → p-7dfa77d1.js.map} +0 -0
- /package/dist/calcite/{p-b130cc78.entry.js.map → p-7f5e15af.entry.js.map} +0 -0
- /package/dist/calcite/{p-822d46e9.entry.js.map → p-810b69a9.entry.js.map} +0 -0
- /package/dist/calcite/{p-50c7eed2.js.map → p-812d4433.js.map} +0 -0
- /package/dist/calcite/{p-fa9c179a.js.map → p-85355ac3.js.map} +0 -0
- /package/dist/calcite/{p-75a38266.js.map → p-88b0202c.js.map} +0 -0
- /package/dist/calcite/{p-55775302.js.map → p-88eda241.js.map} +0 -0
- /package/dist/calcite/{p-c8549743.js.map → p-8dcbfce8.js.map} +0 -0
- /package/dist/calcite/{p-1b304cfd.js.map → p-9223fe05.js.map} +0 -0
- /package/dist/calcite/{p-4fd2d616.entry.js.map → p-92816b80.entry.js.map} +0 -0
- /package/dist/calcite/{p-8ceabb26.js.map → p-9395c02e.js.map} +0 -0
- /package/dist/calcite/{p-e77eda84.entry.js.map → p-958e9564.entry.js.map} +0 -0
- /package/dist/calcite/{p-136151fc.entry.js.map → p-9868153c.entry.js.map} +0 -0
- /package/dist/calcite/{p-13a7f18d.entry.js.map → p-99a20f25.entry.js.map} +0 -0
- /package/dist/calcite/{p-1c200535.entry.js.map → p-9b44500a.entry.js.map} +0 -0
- /package/dist/calcite/{p-59aec9fe.js.map → p-9b4aed37.js.map} +0 -0
- /package/dist/calcite/{p-f3fec07c.js.map → p-9b565b18.js.map} +0 -0
- /package/dist/calcite/{p-067d7f21.js.map → p-9bd3b0b6.js.map} +0 -0
- /package/dist/calcite/{p-670f1847.entry.js.map → p-9bf3339b.entry.js.map} +0 -0
- /package/dist/calcite/{p-318b2766.js.map → p-9e347276.js.map} +0 -0
- /package/dist/calcite/{p-0861f6a0.js.map → p-9f076d48.js.map} +0 -0
- /package/dist/calcite/{p-cd1fb2cb.entry.js.map → p-9fe87a22.entry.js.map} +0 -0
- /package/dist/calcite/{p-fb6a152b.entry.js.map → p-a07af675.entry.js.map} +0 -0
- /package/dist/calcite/{p-f4367c3c.js.map → p-a0ca104b.js.map} +0 -0
- /package/dist/calcite/{p-39a96f9b.js.map → p-a5ff208a.js.map} +0 -0
- /package/dist/calcite/{p-e8cdb629.entry.js.map → p-a63dbb17.entry.js.map} +0 -0
- /package/dist/calcite/{p-2a205e6a.js.map → p-a6687bbe.js.map} +0 -0
- /package/dist/calcite/{p-92001827.js.map → p-a6739f55.js.map} +0 -0
- /package/dist/calcite/{p-b02fd6a4.js.map → p-abbb8e20.js.map} +0 -0
- /package/dist/calcite/{p-1531e928.entry.js.map → p-abc5ea47.entry.js.map} +0 -0
- /package/dist/calcite/{p-5b887f88.js.map → p-aff88591.js.map} +0 -0
- /package/dist/calcite/{p-47254835.js.map → p-b04460b0.js.map} +0 -0
- /package/dist/calcite/{p-b05bb8ad.js.map → p-b06765b5.js.map} +0 -0
- /package/dist/calcite/{p-ebdcde60.entry.js.map → p-b1aeb283.entry.js.map} +0 -0
- /package/dist/calcite/{p-24cf5d6d.js.map → p-b1c541ce.js.map} +0 -0
- /package/dist/calcite/{p-380f2764.js.map → p-b3e72f62.js.map} +0 -0
- /package/dist/calcite/{p-b3d3311f.js.map → p-b4957e5a.js.map} +0 -0
- /package/dist/calcite/{p-c02a4518.entry.js.map → p-ba29ffe7.entry.js.map} +0 -0
- /package/dist/calcite/{p-46463fec.js.map → p-ba4c20f7.js.map} +0 -0
- /package/dist/calcite/{p-b2c9a699.entry.js.map → p-be3588ed.entry.js.map} +0 -0
- /package/dist/calcite/{p-0c3ad3bf.js.map → p-c1905124.js.map} +0 -0
- /package/dist/calcite/{p-f4a4649e.entry.js.map → p-c1f13ffc.entry.js.map} +0 -0
- /package/dist/calcite/{p-add4f1bb.js.map → p-c233af9a.js.map} +0 -0
- /package/dist/calcite/{p-6e50580d.js.map → p-c5a8df34.js.map} +0 -0
- /package/dist/calcite/{p-99fa5a7a.entry.js.map → p-c6fd9a15.entry.js.map} +0 -0
- /package/dist/calcite/{p-3bc74481.js.map → p-c827bdff.js.map} +0 -0
- /package/dist/calcite/{p-dab09d19.entry.js.map → p-cbabb3e9.entry.js.map} +0 -0
- /package/dist/calcite/{p-fbfddd97.js.map → p-cf6c103a.js.map} +0 -0
- /package/dist/calcite/{p-b7727ed9.js.map → p-d3aa19a3.js.map} +0 -0
- /package/dist/calcite/{p-c1ee3829.entry.js.map → p-d4392514.entry.js.map} +0 -0
- /package/dist/calcite/{p-0a8b097d.entry.js.map → p-d55685ca.entry.js.map} +0 -0
- /package/dist/calcite/{p-306cfee8.js.map → p-d5d23c62.js.map} +0 -0
- /package/dist/calcite/{p-ed15e6ea.js.map → p-d6e4ab3a.js.map} +0 -0
- /package/dist/calcite/{p-af1d986f.js.map → p-d746164d.js.map} +0 -0
- /package/dist/calcite/{p-5ef2c3f1.entry.js.map → p-dc0027ba.entry.js.map} +0 -0
- /package/dist/calcite/{p-4e473efb.entry.js.map → p-dc8fb8e4.entry.js.map} +0 -0
- /package/dist/calcite/{p-a7cbe6df.entry.js.map → p-e2c60ff0.entry.js.map} +0 -0
- /package/dist/calcite/{p-b4248c54.js.map → p-e4186f47.js.map} +0 -0
- /package/dist/calcite/{p-3676419a.entry.js.map → p-e4298c9a.entry.js.map} +0 -0
- /package/dist/calcite/{p-bd3afab4.js.map → p-e4736736.js.map} +0 -0
- /package/dist/calcite/{p-0fd7f8d6.entry.js.map → p-e47b629f.entry.js.map} +0 -0
- /package/dist/calcite/{p-5c99eac2.entry.js.map → p-e585713f.entry.js.map} +0 -0
- /package/dist/calcite/{p-97e5479c.entry.js.map → p-e589b26a.entry.js.map} +0 -0
- /package/dist/calcite/{p-88a5eb0b.js.map → p-e6f9f5c1.js.map} +0 -0
- /package/dist/calcite/{p-f8204b4c.entry.js.map → p-eb367998.entry.js.map} +0 -0
- /package/dist/calcite/{p-fe9596bb.entry.js.map → p-ee9909cb.entry.js.map} +0 -0
- /package/dist/calcite/{p-3c391c77.js.map → p-f148f25b.js.map} +0 -0
- /package/dist/calcite/{p-54ff1b97.entry.js.map → p-f23ed287.entry.js.map} +0 -0
- /package/dist/calcite/{p-b7074071.entry.js.map → p-f320c3b0.entry.js.map} +0 -0
- /package/dist/calcite/{p-5df29b60.js.map → p-f42f46c0.js.map} +0 -0
- /package/dist/calcite/{p-ca3d1a8c.js.map → p-f60dd8b1.js.map} +0 -0
- /package/dist/calcite/{p-71f06577.entry.js.map → p-f75bd725.entry.js.map} +0 -0
- /package/dist/calcite/{p-91322c7d.entry.js.map → p-f9d57a45.entry.js.map} +0 -0
- /package/dist/calcite/{p-96d1ff13.js.map → p-fa8aa680.js.map} +0 -0
- /package/dist/calcite/{p-91c42279.entry.js.map → p-fd880023.entry.js.map} +0 -0
- /package/dist/calcite/{p-3b8f7914.js.map → p-fe4db0fa.js.map} +0 -0
|
@@ -0,0 +1,1965 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
+
* v2.4.1-next.0
|
|
5
|
+
*/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
const dom = require('./dom-8a99a8f4.js');
|
|
9
|
+
const debounce = require('./debounce-47d0a428.js');
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Custom positioning reference element.
|
|
13
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
const sides = ['top', 'right', 'bottom', 'left'];
|
|
17
|
+
const alignments = ['start', 'end'];
|
|
18
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
19
|
+
const min = Math.min;
|
|
20
|
+
const max = Math.max;
|
|
21
|
+
const round = Math.round;
|
|
22
|
+
const floor = Math.floor;
|
|
23
|
+
const createCoords = v => ({
|
|
24
|
+
x: v,
|
|
25
|
+
y: v
|
|
26
|
+
});
|
|
27
|
+
const oppositeSideMap = {
|
|
28
|
+
left: 'right',
|
|
29
|
+
right: 'left',
|
|
30
|
+
bottom: 'top',
|
|
31
|
+
top: 'bottom'
|
|
32
|
+
};
|
|
33
|
+
const oppositeAlignmentMap = {
|
|
34
|
+
start: 'end',
|
|
35
|
+
end: 'start'
|
|
36
|
+
};
|
|
37
|
+
function clamp(start, value, end) {
|
|
38
|
+
return max(start, min(value, end));
|
|
39
|
+
}
|
|
40
|
+
function evaluate(value, param) {
|
|
41
|
+
return typeof value === 'function' ? value(param) : value;
|
|
42
|
+
}
|
|
43
|
+
function getSide(placement) {
|
|
44
|
+
return placement.split('-')[0];
|
|
45
|
+
}
|
|
46
|
+
function getAlignment(placement) {
|
|
47
|
+
return placement.split('-')[1];
|
|
48
|
+
}
|
|
49
|
+
function getOppositeAxis(axis) {
|
|
50
|
+
return axis === 'x' ? 'y' : 'x';
|
|
51
|
+
}
|
|
52
|
+
function getAxisLength(axis) {
|
|
53
|
+
return axis === 'y' ? 'height' : 'width';
|
|
54
|
+
}
|
|
55
|
+
function getSideAxis(placement) {
|
|
56
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
57
|
+
}
|
|
58
|
+
function getAlignmentAxis(placement) {
|
|
59
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
60
|
+
}
|
|
61
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
62
|
+
if (rtl === void 0) {
|
|
63
|
+
rtl = false;
|
|
64
|
+
}
|
|
65
|
+
const alignment = getAlignment(placement);
|
|
66
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
67
|
+
const length = getAxisLength(alignmentAxis);
|
|
68
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
69
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
70
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
71
|
+
}
|
|
72
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
73
|
+
}
|
|
74
|
+
function getExpandedPlacements(placement) {
|
|
75
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
76
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
77
|
+
}
|
|
78
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
79
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
80
|
+
}
|
|
81
|
+
function getSideList(side, isStart, rtl) {
|
|
82
|
+
const lr = ['left', 'right'];
|
|
83
|
+
const rl = ['right', 'left'];
|
|
84
|
+
const tb = ['top', 'bottom'];
|
|
85
|
+
const bt = ['bottom', 'top'];
|
|
86
|
+
switch (side) {
|
|
87
|
+
case 'top':
|
|
88
|
+
case 'bottom':
|
|
89
|
+
if (rtl) return isStart ? rl : lr;
|
|
90
|
+
return isStart ? lr : rl;
|
|
91
|
+
case 'left':
|
|
92
|
+
case 'right':
|
|
93
|
+
return isStart ? tb : bt;
|
|
94
|
+
default:
|
|
95
|
+
return [];
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
99
|
+
const alignment = getAlignment(placement);
|
|
100
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
101
|
+
if (alignment) {
|
|
102
|
+
list = list.map(side => side + "-" + alignment);
|
|
103
|
+
if (flipAlignment) {
|
|
104
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return list;
|
|
108
|
+
}
|
|
109
|
+
function getOppositePlacement(placement) {
|
|
110
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
111
|
+
}
|
|
112
|
+
function expandPaddingObject(padding) {
|
|
113
|
+
return {
|
|
114
|
+
top: 0,
|
|
115
|
+
right: 0,
|
|
116
|
+
bottom: 0,
|
|
117
|
+
left: 0,
|
|
118
|
+
...padding
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function getPaddingObject(padding) {
|
|
122
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
123
|
+
top: padding,
|
|
124
|
+
right: padding,
|
|
125
|
+
bottom: padding,
|
|
126
|
+
left: padding
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
function rectToClientRect(rect) {
|
|
130
|
+
return {
|
|
131
|
+
...rect,
|
|
132
|
+
top: rect.y,
|
|
133
|
+
left: rect.x,
|
|
134
|
+
right: rect.x + rect.width,
|
|
135
|
+
bottom: rect.y + rect.height
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
140
|
+
let {
|
|
141
|
+
reference,
|
|
142
|
+
floating
|
|
143
|
+
} = _ref;
|
|
144
|
+
const sideAxis = getSideAxis(placement);
|
|
145
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
146
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
147
|
+
const side = getSide(placement);
|
|
148
|
+
const isVertical = sideAxis === 'y';
|
|
149
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
150
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
151
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
152
|
+
let coords;
|
|
153
|
+
switch (side) {
|
|
154
|
+
case 'top':
|
|
155
|
+
coords = {
|
|
156
|
+
x: commonX,
|
|
157
|
+
y: reference.y - floating.height
|
|
158
|
+
};
|
|
159
|
+
break;
|
|
160
|
+
case 'bottom':
|
|
161
|
+
coords = {
|
|
162
|
+
x: commonX,
|
|
163
|
+
y: reference.y + reference.height
|
|
164
|
+
};
|
|
165
|
+
break;
|
|
166
|
+
case 'right':
|
|
167
|
+
coords = {
|
|
168
|
+
x: reference.x + reference.width,
|
|
169
|
+
y: commonY
|
|
170
|
+
};
|
|
171
|
+
break;
|
|
172
|
+
case 'left':
|
|
173
|
+
coords = {
|
|
174
|
+
x: reference.x - floating.width,
|
|
175
|
+
y: commonY
|
|
176
|
+
};
|
|
177
|
+
break;
|
|
178
|
+
default:
|
|
179
|
+
coords = {
|
|
180
|
+
x: reference.x,
|
|
181
|
+
y: reference.y
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
switch (getAlignment(placement)) {
|
|
185
|
+
case 'start':
|
|
186
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
187
|
+
break;
|
|
188
|
+
case 'end':
|
|
189
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
return coords;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
197
|
+
* next to a given reference element.
|
|
198
|
+
*
|
|
199
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
200
|
+
* write one for the platform you are using Floating UI with.
|
|
201
|
+
*/
|
|
202
|
+
const computePosition$1 = async (reference, floating, config) => {
|
|
203
|
+
const {
|
|
204
|
+
placement = 'bottom',
|
|
205
|
+
strategy = 'absolute',
|
|
206
|
+
middleware = [],
|
|
207
|
+
platform
|
|
208
|
+
} = config;
|
|
209
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
210
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
211
|
+
let rects = await platform.getElementRects({
|
|
212
|
+
reference,
|
|
213
|
+
floating,
|
|
214
|
+
strategy
|
|
215
|
+
});
|
|
216
|
+
let {
|
|
217
|
+
x,
|
|
218
|
+
y
|
|
219
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
220
|
+
let statefulPlacement = placement;
|
|
221
|
+
let middlewareData = {};
|
|
222
|
+
let resetCount = 0;
|
|
223
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
224
|
+
const {
|
|
225
|
+
name,
|
|
226
|
+
fn
|
|
227
|
+
} = validMiddleware[i];
|
|
228
|
+
const {
|
|
229
|
+
x: nextX,
|
|
230
|
+
y: nextY,
|
|
231
|
+
data,
|
|
232
|
+
reset
|
|
233
|
+
} = await fn({
|
|
234
|
+
x,
|
|
235
|
+
y,
|
|
236
|
+
initialPlacement: placement,
|
|
237
|
+
placement: statefulPlacement,
|
|
238
|
+
strategy,
|
|
239
|
+
middlewareData,
|
|
240
|
+
rects,
|
|
241
|
+
platform,
|
|
242
|
+
elements: {
|
|
243
|
+
reference,
|
|
244
|
+
floating
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
x = nextX != null ? nextX : x;
|
|
248
|
+
y = nextY != null ? nextY : y;
|
|
249
|
+
middlewareData = {
|
|
250
|
+
...middlewareData,
|
|
251
|
+
[name]: {
|
|
252
|
+
...middlewareData[name],
|
|
253
|
+
...data
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
if (reset && resetCount <= 50) {
|
|
257
|
+
resetCount++;
|
|
258
|
+
if (typeof reset === 'object') {
|
|
259
|
+
if (reset.placement) {
|
|
260
|
+
statefulPlacement = reset.placement;
|
|
261
|
+
}
|
|
262
|
+
if (reset.rects) {
|
|
263
|
+
rects = reset.rects === true ? await platform.getElementRects({
|
|
264
|
+
reference,
|
|
265
|
+
floating,
|
|
266
|
+
strategy
|
|
267
|
+
}) : reset.rects;
|
|
268
|
+
}
|
|
269
|
+
({
|
|
270
|
+
x,
|
|
271
|
+
y
|
|
272
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
273
|
+
}
|
|
274
|
+
i = -1;
|
|
275
|
+
continue;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
return {
|
|
279
|
+
x,
|
|
280
|
+
y,
|
|
281
|
+
placement: statefulPlacement,
|
|
282
|
+
strategy,
|
|
283
|
+
middlewareData
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
289
|
+
* element is overflowing a given clipping boundary on each side.
|
|
290
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
291
|
+
* - negative = how many pixels left before it will overflow
|
|
292
|
+
* - 0 = lies flush with the boundary
|
|
293
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
294
|
+
*/
|
|
295
|
+
async function detectOverflow(state, options) {
|
|
296
|
+
var _await$platform$isEle;
|
|
297
|
+
if (options === void 0) {
|
|
298
|
+
options = {};
|
|
299
|
+
}
|
|
300
|
+
const {
|
|
301
|
+
x,
|
|
302
|
+
y,
|
|
303
|
+
platform,
|
|
304
|
+
rects,
|
|
305
|
+
elements,
|
|
306
|
+
strategy
|
|
307
|
+
} = state;
|
|
308
|
+
const {
|
|
309
|
+
boundary = 'clippingAncestors',
|
|
310
|
+
rootBoundary = 'viewport',
|
|
311
|
+
elementContext = 'floating',
|
|
312
|
+
altBoundary = false,
|
|
313
|
+
padding = 0
|
|
314
|
+
} = evaluate(options, state);
|
|
315
|
+
const paddingObject = getPaddingObject(padding);
|
|
316
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
317
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
318
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
319
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
320
|
+
boundary,
|
|
321
|
+
rootBoundary,
|
|
322
|
+
strategy
|
|
323
|
+
}));
|
|
324
|
+
const rect = elementContext === 'floating' ? {
|
|
325
|
+
...rects.floating,
|
|
326
|
+
x,
|
|
327
|
+
y
|
|
328
|
+
} : rects.reference;
|
|
329
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
330
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
331
|
+
x: 1,
|
|
332
|
+
y: 1
|
|
333
|
+
} : {
|
|
334
|
+
x: 1,
|
|
335
|
+
y: 1
|
|
336
|
+
};
|
|
337
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
338
|
+
rect,
|
|
339
|
+
offsetParent,
|
|
340
|
+
strategy
|
|
341
|
+
}) : rect);
|
|
342
|
+
return {
|
|
343
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
344
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
345
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
346
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Provides data to position an inner element of the floating element so that it
|
|
352
|
+
* appears centered to the reference element.
|
|
353
|
+
* @see https://floating-ui.com/docs/arrow
|
|
354
|
+
*/
|
|
355
|
+
const arrow$1 = options => ({
|
|
356
|
+
name: 'arrow',
|
|
357
|
+
options,
|
|
358
|
+
async fn(state) {
|
|
359
|
+
const {
|
|
360
|
+
x,
|
|
361
|
+
y,
|
|
362
|
+
placement,
|
|
363
|
+
rects,
|
|
364
|
+
platform,
|
|
365
|
+
elements,
|
|
366
|
+
middlewareData
|
|
367
|
+
} = state;
|
|
368
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
369
|
+
const {
|
|
370
|
+
element,
|
|
371
|
+
padding = 0
|
|
372
|
+
} = evaluate(options, state) || {};
|
|
373
|
+
if (element == null) {
|
|
374
|
+
return {};
|
|
375
|
+
}
|
|
376
|
+
const paddingObject = getPaddingObject(padding);
|
|
377
|
+
const coords = {
|
|
378
|
+
x,
|
|
379
|
+
y
|
|
380
|
+
};
|
|
381
|
+
const axis = getAlignmentAxis(placement);
|
|
382
|
+
const length = getAxisLength(axis);
|
|
383
|
+
const arrowDimensions = await platform.getDimensions(element);
|
|
384
|
+
const isYAxis = axis === 'y';
|
|
385
|
+
const minProp = isYAxis ? 'top' : 'left';
|
|
386
|
+
const maxProp = isYAxis ? 'bottom' : 'right';
|
|
387
|
+
const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
|
|
388
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
389
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
390
|
+
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
391
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
392
|
+
|
|
393
|
+
// DOM platform can return `window` as the `offsetParent`.
|
|
394
|
+
if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
|
|
395
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
396
|
+
}
|
|
397
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
398
|
+
|
|
399
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
400
|
+
// centered, modify the padding so that it is centered.
|
|
401
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
402
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
403
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
404
|
+
|
|
405
|
+
// Make sure the arrow doesn't overflow the floating element if the center
|
|
406
|
+
// point is outside the floating element's bounds.
|
|
407
|
+
const min$1 = minPadding;
|
|
408
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
409
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
410
|
+
const offset = clamp(min$1, center, max);
|
|
411
|
+
|
|
412
|
+
// If the reference is small enough that the arrow's padding causes it to
|
|
413
|
+
// to point to nothing for an aligned placement, adjust the offset of the
|
|
414
|
+
// floating element itself. To ensure `shift()` continues to take action,
|
|
415
|
+
// a single reset is performed when this is true.
|
|
416
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
417
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
|
418
|
+
return {
|
|
419
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
420
|
+
data: {
|
|
421
|
+
[axis]: offset,
|
|
422
|
+
centerOffset: center - offset - alignmentOffset,
|
|
423
|
+
...(shouldAddOffset && {
|
|
424
|
+
alignmentOffset
|
|
425
|
+
})
|
|
426
|
+
},
|
|
427
|
+
reset: shouldAddOffset
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
|
|
432
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
|
433
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
|
434
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
|
435
|
+
if (alignment) {
|
|
436
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
|
437
|
+
}
|
|
438
|
+
return true;
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
|
443
|
+
* that has the most space available automatically, without needing to specify a
|
|
444
|
+
* preferred placement. Alternative to `flip`.
|
|
445
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
446
|
+
*/
|
|
447
|
+
const autoPlacement$1 = function (options) {
|
|
448
|
+
if (options === void 0) {
|
|
449
|
+
options = {};
|
|
450
|
+
}
|
|
451
|
+
return {
|
|
452
|
+
name: 'autoPlacement',
|
|
453
|
+
options,
|
|
454
|
+
async fn(state) {
|
|
455
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
|
456
|
+
const {
|
|
457
|
+
rects,
|
|
458
|
+
middlewareData,
|
|
459
|
+
placement,
|
|
460
|
+
platform,
|
|
461
|
+
elements
|
|
462
|
+
} = state;
|
|
463
|
+
const {
|
|
464
|
+
crossAxis = false,
|
|
465
|
+
alignment,
|
|
466
|
+
allowedPlacements = placements,
|
|
467
|
+
autoAlignment = true,
|
|
468
|
+
...detectOverflowOptions
|
|
469
|
+
} = evaluate(options, state);
|
|
470
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
|
471
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
472
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
|
473
|
+
const currentPlacement = placements$1[currentIndex];
|
|
474
|
+
if (currentPlacement == null) {
|
|
475
|
+
return {};
|
|
476
|
+
}
|
|
477
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
|
478
|
+
|
|
479
|
+
// Make `computeCoords` start from the right place.
|
|
480
|
+
if (placement !== currentPlacement) {
|
|
481
|
+
return {
|
|
482
|
+
reset: {
|
|
483
|
+
placement: placements$1[0]
|
|
484
|
+
}
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
|
488
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
|
489
|
+
placement: currentPlacement,
|
|
490
|
+
overflows: currentOverflows
|
|
491
|
+
}];
|
|
492
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
|
493
|
+
|
|
494
|
+
// There are more placements to check.
|
|
495
|
+
if (nextPlacement) {
|
|
496
|
+
return {
|
|
497
|
+
data: {
|
|
498
|
+
index: currentIndex + 1,
|
|
499
|
+
overflows: allOverflows
|
|
500
|
+
},
|
|
501
|
+
reset: {
|
|
502
|
+
placement: nextPlacement
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
|
507
|
+
const alignment = getAlignment(d.placement);
|
|
508
|
+
return [d.placement, alignment && crossAxis ?
|
|
509
|
+
// Check along the mainAxis and main crossAxis side.
|
|
510
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
|
511
|
+
// Check only the mainAxis.
|
|
512
|
+
d.overflows[0], d.overflows];
|
|
513
|
+
}).sort((a, b) => a[1] - b[1]);
|
|
514
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
|
515
|
+
// Aligned placements should not check their opposite crossAxis
|
|
516
|
+
// side.
|
|
517
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
|
518
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
|
519
|
+
if (resetPlacement !== placement) {
|
|
520
|
+
return {
|
|
521
|
+
data: {
|
|
522
|
+
index: currentIndex + 1,
|
|
523
|
+
overflows: allOverflows
|
|
524
|
+
},
|
|
525
|
+
reset: {
|
|
526
|
+
placement: resetPlacement
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
return {};
|
|
531
|
+
}
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
537
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
538
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
539
|
+
* @see https://floating-ui.com/docs/flip
|
|
540
|
+
*/
|
|
541
|
+
const flip$1 = function (options) {
|
|
542
|
+
if (options === void 0) {
|
|
543
|
+
options = {};
|
|
544
|
+
}
|
|
545
|
+
return {
|
|
546
|
+
name: 'flip',
|
|
547
|
+
options,
|
|
548
|
+
async fn(state) {
|
|
549
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
550
|
+
const {
|
|
551
|
+
placement,
|
|
552
|
+
middlewareData,
|
|
553
|
+
rects,
|
|
554
|
+
initialPlacement,
|
|
555
|
+
platform,
|
|
556
|
+
elements
|
|
557
|
+
} = state;
|
|
558
|
+
const {
|
|
559
|
+
mainAxis: checkMainAxis = true,
|
|
560
|
+
crossAxis: checkCrossAxis = true,
|
|
561
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
562
|
+
fallbackStrategy = 'bestFit',
|
|
563
|
+
fallbackAxisSideDirection = 'none',
|
|
564
|
+
flipAlignment = true,
|
|
565
|
+
...detectOverflowOptions
|
|
566
|
+
} = evaluate(options, state);
|
|
567
|
+
|
|
568
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
569
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
570
|
+
// work.
|
|
571
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
572
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
573
|
+
return {};
|
|
574
|
+
}
|
|
575
|
+
const side = getSide(placement);
|
|
576
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
577
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
578
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
579
|
+
if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
|
|
580
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
581
|
+
}
|
|
582
|
+
const placements = [initialPlacement, ...fallbackPlacements];
|
|
583
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
584
|
+
const overflows = [];
|
|
585
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
586
|
+
if (checkMainAxis) {
|
|
587
|
+
overflows.push(overflow[side]);
|
|
588
|
+
}
|
|
589
|
+
if (checkCrossAxis) {
|
|
590
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
591
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
592
|
+
}
|
|
593
|
+
overflowsData = [...overflowsData, {
|
|
594
|
+
placement,
|
|
595
|
+
overflows
|
|
596
|
+
}];
|
|
597
|
+
|
|
598
|
+
// One or more sides is overflowing.
|
|
599
|
+
if (!overflows.every(side => side <= 0)) {
|
|
600
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
601
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
602
|
+
const nextPlacement = placements[nextIndex];
|
|
603
|
+
if (nextPlacement) {
|
|
604
|
+
// Try next placement and re-run the lifecycle.
|
|
605
|
+
return {
|
|
606
|
+
data: {
|
|
607
|
+
index: nextIndex,
|
|
608
|
+
overflows: overflowsData
|
|
609
|
+
},
|
|
610
|
+
reset: {
|
|
611
|
+
placement: nextPlacement
|
|
612
|
+
}
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
617
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
618
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
619
|
+
|
|
620
|
+
// Otherwise fallback.
|
|
621
|
+
if (!resetPlacement) {
|
|
622
|
+
switch (fallbackStrategy) {
|
|
623
|
+
case 'bestFit':
|
|
624
|
+
{
|
|
625
|
+
var _overflowsData$map$so;
|
|
626
|
+
const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
|
|
627
|
+
if (placement) {
|
|
628
|
+
resetPlacement = placement;
|
|
629
|
+
}
|
|
630
|
+
break;
|
|
631
|
+
}
|
|
632
|
+
case 'initialPlacement':
|
|
633
|
+
resetPlacement = initialPlacement;
|
|
634
|
+
break;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
if (placement !== resetPlacement) {
|
|
638
|
+
return {
|
|
639
|
+
reset: {
|
|
640
|
+
placement: resetPlacement
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
return {};
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
function getSideOffsets(overflow, rect) {
|
|
651
|
+
return {
|
|
652
|
+
top: overflow.top - rect.height,
|
|
653
|
+
right: overflow.right - rect.width,
|
|
654
|
+
bottom: overflow.bottom - rect.height,
|
|
655
|
+
left: overflow.left - rect.width
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
function isAnySideFullyClipped(overflow) {
|
|
659
|
+
return sides.some(side => overflow[side] >= 0);
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
663
|
+
* when it is not in the same clipping context as the reference element.
|
|
664
|
+
* @see https://floating-ui.com/docs/hide
|
|
665
|
+
*/
|
|
666
|
+
const hide$1 = function (options) {
|
|
667
|
+
if (options === void 0) {
|
|
668
|
+
options = {};
|
|
669
|
+
}
|
|
670
|
+
return {
|
|
671
|
+
name: 'hide',
|
|
672
|
+
options,
|
|
673
|
+
async fn(state) {
|
|
674
|
+
const {
|
|
675
|
+
rects
|
|
676
|
+
} = state;
|
|
677
|
+
const {
|
|
678
|
+
strategy = 'referenceHidden',
|
|
679
|
+
...detectOverflowOptions
|
|
680
|
+
} = evaluate(options, state);
|
|
681
|
+
switch (strategy) {
|
|
682
|
+
case 'referenceHidden':
|
|
683
|
+
{
|
|
684
|
+
const overflow = await detectOverflow(state, {
|
|
685
|
+
...detectOverflowOptions,
|
|
686
|
+
elementContext: 'reference'
|
|
687
|
+
});
|
|
688
|
+
const offsets = getSideOffsets(overflow, rects.reference);
|
|
689
|
+
return {
|
|
690
|
+
data: {
|
|
691
|
+
referenceHiddenOffsets: offsets,
|
|
692
|
+
referenceHidden: isAnySideFullyClipped(offsets)
|
|
693
|
+
}
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
case 'escaped':
|
|
697
|
+
{
|
|
698
|
+
const overflow = await detectOverflow(state, {
|
|
699
|
+
...detectOverflowOptions,
|
|
700
|
+
altBoundary: true
|
|
701
|
+
});
|
|
702
|
+
const offsets = getSideOffsets(overflow, rects.floating);
|
|
703
|
+
return {
|
|
704
|
+
data: {
|
|
705
|
+
escapedOffsets: offsets,
|
|
706
|
+
escaped: isAnySideFullyClipped(offsets)
|
|
707
|
+
}
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
default:
|
|
711
|
+
{
|
|
712
|
+
return {};
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
720
|
+
// Derivable.
|
|
721
|
+
|
|
722
|
+
async function convertValueToCoords(state, options) {
|
|
723
|
+
const {
|
|
724
|
+
placement,
|
|
725
|
+
platform,
|
|
726
|
+
elements
|
|
727
|
+
} = state;
|
|
728
|
+
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
729
|
+
const side = getSide(placement);
|
|
730
|
+
const alignment = getAlignment(placement);
|
|
731
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
732
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
733
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
734
|
+
const rawValue = evaluate(options, state);
|
|
735
|
+
|
|
736
|
+
// eslint-disable-next-line prefer-const
|
|
737
|
+
let {
|
|
738
|
+
mainAxis,
|
|
739
|
+
crossAxis,
|
|
740
|
+
alignmentAxis
|
|
741
|
+
} = typeof rawValue === 'number' ? {
|
|
742
|
+
mainAxis: rawValue,
|
|
743
|
+
crossAxis: 0,
|
|
744
|
+
alignmentAxis: null
|
|
745
|
+
} : {
|
|
746
|
+
mainAxis: 0,
|
|
747
|
+
crossAxis: 0,
|
|
748
|
+
alignmentAxis: null,
|
|
749
|
+
...rawValue
|
|
750
|
+
};
|
|
751
|
+
if (alignment && typeof alignmentAxis === 'number') {
|
|
752
|
+
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
753
|
+
}
|
|
754
|
+
return isVertical ? {
|
|
755
|
+
x: crossAxis * crossAxisMulti,
|
|
756
|
+
y: mainAxis * mainAxisMulti
|
|
757
|
+
} : {
|
|
758
|
+
x: mainAxis * mainAxisMulti,
|
|
759
|
+
y: crossAxis * crossAxisMulti
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Modifies the placement by translating the floating element along the
|
|
765
|
+
* specified axes.
|
|
766
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
767
|
+
* object may be passed.
|
|
768
|
+
* @see https://floating-ui.com/docs/offset
|
|
769
|
+
*/
|
|
770
|
+
const offset = function (options) {
|
|
771
|
+
if (options === void 0) {
|
|
772
|
+
options = 0;
|
|
773
|
+
}
|
|
774
|
+
return {
|
|
775
|
+
name: 'offset',
|
|
776
|
+
options,
|
|
777
|
+
async fn(state) {
|
|
778
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
779
|
+
const {
|
|
780
|
+
x,
|
|
781
|
+
y,
|
|
782
|
+
placement,
|
|
783
|
+
middlewareData
|
|
784
|
+
} = state;
|
|
785
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
786
|
+
|
|
787
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
788
|
+
// then we don't need to change the positioning coordinates.
|
|
789
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
790
|
+
return {};
|
|
791
|
+
}
|
|
792
|
+
return {
|
|
793
|
+
x: x + diffCoords.x,
|
|
794
|
+
y: y + diffCoords.y,
|
|
795
|
+
data: {
|
|
796
|
+
...diffCoords,
|
|
797
|
+
placement
|
|
798
|
+
}
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
806
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
807
|
+
* @see https://floating-ui.com/docs/shift
|
|
808
|
+
*/
|
|
809
|
+
const shift$1 = function (options) {
|
|
810
|
+
if (options === void 0) {
|
|
811
|
+
options = {};
|
|
812
|
+
}
|
|
813
|
+
return {
|
|
814
|
+
name: 'shift',
|
|
815
|
+
options,
|
|
816
|
+
async fn(state) {
|
|
817
|
+
const {
|
|
818
|
+
x,
|
|
819
|
+
y,
|
|
820
|
+
placement
|
|
821
|
+
} = state;
|
|
822
|
+
const {
|
|
823
|
+
mainAxis: checkMainAxis = true,
|
|
824
|
+
crossAxis: checkCrossAxis = false,
|
|
825
|
+
limiter = {
|
|
826
|
+
fn: _ref => {
|
|
827
|
+
let {
|
|
828
|
+
x,
|
|
829
|
+
y
|
|
830
|
+
} = _ref;
|
|
831
|
+
return {
|
|
832
|
+
x,
|
|
833
|
+
y
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
...detectOverflowOptions
|
|
838
|
+
} = evaluate(options, state);
|
|
839
|
+
const coords = {
|
|
840
|
+
x,
|
|
841
|
+
y
|
|
842
|
+
};
|
|
843
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
844
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
845
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
846
|
+
let mainAxisCoord = coords[mainAxis];
|
|
847
|
+
let crossAxisCoord = coords[crossAxis];
|
|
848
|
+
if (checkMainAxis) {
|
|
849
|
+
const minSide = mainAxis === 'y' ? 'top' : 'left';
|
|
850
|
+
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
851
|
+
const min = mainAxisCoord + overflow[minSide];
|
|
852
|
+
const max = mainAxisCoord - overflow[maxSide];
|
|
853
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
854
|
+
}
|
|
855
|
+
if (checkCrossAxis) {
|
|
856
|
+
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
857
|
+
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
858
|
+
const min = crossAxisCoord + overflow[minSide];
|
|
859
|
+
const max = crossAxisCoord - overflow[maxSide];
|
|
860
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
861
|
+
}
|
|
862
|
+
const limitedCoords = limiter.fn({
|
|
863
|
+
...state,
|
|
864
|
+
[mainAxis]: mainAxisCoord,
|
|
865
|
+
[crossAxis]: crossAxisCoord
|
|
866
|
+
});
|
|
867
|
+
return {
|
|
868
|
+
...limitedCoords,
|
|
869
|
+
data: {
|
|
870
|
+
x: limitedCoords.x - x,
|
|
871
|
+
y: limitedCoords.y - y
|
|
872
|
+
}
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
function getNodeName(node) {
|
|
879
|
+
if (isNode(node)) {
|
|
880
|
+
return (node.nodeName || '').toLowerCase();
|
|
881
|
+
}
|
|
882
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
883
|
+
// returning `#document` an infinite loop won't occur.
|
|
884
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
885
|
+
return '#document';
|
|
886
|
+
}
|
|
887
|
+
function getWindow(node) {
|
|
888
|
+
var _node$ownerDocument;
|
|
889
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
890
|
+
}
|
|
891
|
+
function getDocumentElement(node) {
|
|
892
|
+
var _ref;
|
|
893
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
894
|
+
}
|
|
895
|
+
function isNode(value) {
|
|
896
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
897
|
+
}
|
|
898
|
+
function isElement(value) {
|
|
899
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
900
|
+
}
|
|
901
|
+
function isHTMLElement(value) {
|
|
902
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
903
|
+
}
|
|
904
|
+
function isShadowRoot(value) {
|
|
905
|
+
// Browsers without `ShadowRoot` support.
|
|
906
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
907
|
+
return false;
|
|
908
|
+
}
|
|
909
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
910
|
+
}
|
|
911
|
+
function isOverflowElement(element) {
|
|
912
|
+
const {
|
|
913
|
+
overflow,
|
|
914
|
+
overflowX,
|
|
915
|
+
overflowY,
|
|
916
|
+
display
|
|
917
|
+
} = getComputedStyle$1(element);
|
|
918
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
919
|
+
}
|
|
920
|
+
function isTableElement(element) {
|
|
921
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
922
|
+
}
|
|
923
|
+
function isContainingBlock(element) {
|
|
924
|
+
const webkit = isWebKit();
|
|
925
|
+
const css = getComputedStyle$1(element);
|
|
926
|
+
|
|
927
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
928
|
+
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
929
|
+
}
|
|
930
|
+
function getContainingBlock(element) {
|
|
931
|
+
let currentNode = getParentNode(element);
|
|
932
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
933
|
+
if (isContainingBlock(currentNode)) {
|
|
934
|
+
return currentNode;
|
|
935
|
+
} else {
|
|
936
|
+
currentNode = getParentNode(currentNode);
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
return null;
|
|
940
|
+
}
|
|
941
|
+
function isWebKit() {
|
|
942
|
+
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
943
|
+
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
944
|
+
}
|
|
945
|
+
function isLastTraversableNode(node) {
|
|
946
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
947
|
+
}
|
|
948
|
+
function getComputedStyle$1(element) {
|
|
949
|
+
return getWindow(element).getComputedStyle(element);
|
|
950
|
+
}
|
|
951
|
+
function getNodeScroll(element) {
|
|
952
|
+
if (isElement(element)) {
|
|
953
|
+
return {
|
|
954
|
+
scrollLeft: element.scrollLeft,
|
|
955
|
+
scrollTop: element.scrollTop
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
return {
|
|
959
|
+
scrollLeft: element.pageXOffset,
|
|
960
|
+
scrollTop: element.pageYOffset
|
|
961
|
+
};
|
|
962
|
+
}
|
|
963
|
+
function getParentNode(node) {
|
|
964
|
+
if (getNodeName(node) === 'html') {
|
|
965
|
+
return node;
|
|
966
|
+
}
|
|
967
|
+
const result =
|
|
968
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
969
|
+
node.assignedSlot ||
|
|
970
|
+
// DOM Element detected.
|
|
971
|
+
node.parentNode ||
|
|
972
|
+
// ShadowRoot detected.
|
|
973
|
+
isShadowRoot(node) && node.host ||
|
|
974
|
+
// Fallback.
|
|
975
|
+
getDocumentElement(node);
|
|
976
|
+
return isShadowRoot(result) ? result.host : result;
|
|
977
|
+
}
|
|
978
|
+
function getNearestOverflowAncestor(node) {
|
|
979
|
+
const parentNode = getParentNode(node);
|
|
980
|
+
if (isLastTraversableNode(parentNode)) {
|
|
981
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
982
|
+
}
|
|
983
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
984
|
+
return parentNode;
|
|
985
|
+
}
|
|
986
|
+
return getNearestOverflowAncestor(parentNode);
|
|
987
|
+
}
|
|
988
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
989
|
+
var _node$ownerDocument2;
|
|
990
|
+
if (list === void 0) {
|
|
991
|
+
list = [];
|
|
992
|
+
}
|
|
993
|
+
if (traverseIframes === void 0) {
|
|
994
|
+
traverseIframes = true;
|
|
995
|
+
}
|
|
996
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
997
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
998
|
+
const win = getWindow(scrollableAncestor);
|
|
999
|
+
if (isBody) {
|
|
1000
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
1001
|
+
}
|
|
1002
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
function getCssDimensions(element) {
|
|
1006
|
+
const css = getComputedStyle$1(element);
|
|
1007
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
1008
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
1009
|
+
let width = parseFloat(css.width) || 0;
|
|
1010
|
+
let height = parseFloat(css.height) || 0;
|
|
1011
|
+
const hasOffset = isHTMLElement(element);
|
|
1012
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
1013
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
1014
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
1015
|
+
if (shouldFallback) {
|
|
1016
|
+
width = offsetWidth;
|
|
1017
|
+
height = offsetHeight;
|
|
1018
|
+
}
|
|
1019
|
+
return {
|
|
1020
|
+
width,
|
|
1021
|
+
height,
|
|
1022
|
+
$: shouldFallback
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
function unwrapElement(element) {
|
|
1027
|
+
return !isElement(element) ? element.contextElement : element;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
function getScale(element) {
|
|
1031
|
+
const domElement = unwrapElement(element);
|
|
1032
|
+
if (!isHTMLElement(domElement)) {
|
|
1033
|
+
return createCoords(1);
|
|
1034
|
+
}
|
|
1035
|
+
const rect = domElement.getBoundingClientRect();
|
|
1036
|
+
const {
|
|
1037
|
+
width,
|
|
1038
|
+
height,
|
|
1039
|
+
$
|
|
1040
|
+
} = getCssDimensions(domElement);
|
|
1041
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
1042
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
1043
|
+
|
|
1044
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
1045
|
+
|
|
1046
|
+
if (!x || !Number.isFinite(x)) {
|
|
1047
|
+
x = 1;
|
|
1048
|
+
}
|
|
1049
|
+
if (!y || !Number.isFinite(y)) {
|
|
1050
|
+
y = 1;
|
|
1051
|
+
}
|
|
1052
|
+
return {
|
|
1053
|
+
x,
|
|
1054
|
+
y
|
|
1055
|
+
};
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
const noOffsets = /*#__PURE__*/createCoords(0);
|
|
1059
|
+
function getVisualOffsets(element) {
|
|
1060
|
+
const win = getWindow(element);
|
|
1061
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
1062
|
+
return noOffsets;
|
|
1063
|
+
}
|
|
1064
|
+
return {
|
|
1065
|
+
x: win.visualViewport.offsetLeft,
|
|
1066
|
+
y: win.visualViewport.offsetTop
|
|
1067
|
+
};
|
|
1068
|
+
}
|
|
1069
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
1070
|
+
if (isFixed === void 0) {
|
|
1071
|
+
isFixed = false;
|
|
1072
|
+
}
|
|
1073
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
1074
|
+
return false;
|
|
1075
|
+
}
|
|
1076
|
+
return isFixed;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
1080
|
+
if (includeScale === void 0) {
|
|
1081
|
+
includeScale = false;
|
|
1082
|
+
}
|
|
1083
|
+
if (isFixedStrategy === void 0) {
|
|
1084
|
+
isFixedStrategy = false;
|
|
1085
|
+
}
|
|
1086
|
+
const clientRect = element.getBoundingClientRect();
|
|
1087
|
+
const domElement = unwrapElement(element);
|
|
1088
|
+
let scale = createCoords(1);
|
|
1089
|
+
if (includeScale) {
|
|
1090
|
+
if (offsetParent) {
|
|
1091
|
+
if (isElement(offsetParent)) {
|
|
1092
|
+
scale = getScale(offsetParent);
|
|
1093
|
+
}
|
|
1094
|
+
} else {
|
|
1095
|
+
scale = getScale(element);
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
1099
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
1100
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1101
|
+
let width = clientRect.width / scale.x;
|
|
1102
|
+
let height = clientRect.height / scale.y;
|
|
1103
|
+
if (domElement) {
|
|
1104
|
+
const win = getWindow(domElement);
|
|
1105
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1106
|
+
let currentIFrame = win.frameElement;
|
|
1107
|
+
while (currentIFrame && offsetParent && offsetWin !== win) {
|
|
1108
|
+
const iframeScale = getScale(currentIFrame);
|
|
1109
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1110
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1111
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1112
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1113
|
+
x *= iframeScale.x;
|
|
1114
|
+
y *= iframeScale.y;
|
|
1115
|
+
width *= iframeScale.x;
|
|
1116
|
+
height *= iframeScale.y;
|
|
1117
|
+
x += left;
|
|
1118
|
+
y += top;
|
|
1119
|
+
currentIFrame = getWindow(currentIFrame).frameElement;
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
return rectToClientRect({
|
|
1123
|
+
width,
|
|
1124
|
+
height,
|
|
1125
|
+
x,
|
|
1126
|
+
y
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1131
|
+
let {
|
|
1132
|
+
rect,
|
|
1133
|
+
offsetParent,
|
|
1134
|
+
strategy
|
|
1135
|
+
} = _ref;
|
|
1136
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1137
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1138
|
+
if (offsetParent === documentElement) {
|
|
1139
|
+
return rect;
|
|
1140
|
+
}
|
|
1141
|
+
let scroll = {
|
|
1142
|
+
scrollLeft: 0,
|
|
1143
|
+
scrollTop: 0
|
|
1144
|
+
};
|
|
1145
|
+
let scale = createCoords(1);
|
|
1146
|
+
const offsets = createCoords(0);
|
|
1147
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && strategy !== 'fixed') {
|
|
1148
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1149
|
+
scroll = getNodeScroll(offsetParent);
|
|
1150
|
+
}
|
|
1151
|
+
if (isHTMLElement(offsetParent)) {
|
|
1152
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1153
|
+
scale = getScale(offsetParent);
|
|
1154
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1155
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
return {
|
|
1159
|
+
width: rect.width * scale.x,
|
|
1160
|
+
height: rect.height * scale.y,
|
|
1161
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x,
|
|
1162
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y
|
|
1163
|
+
};
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
function getClientRects(element) {
|
|
1167
|
+
return Array.from(element.getClientRects());
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
function getWindowScrollBarX(element) {
|
|
1171
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
1172
|
+
// incorrect for RTL.
|
|
1173
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getNodeScroll(element).scrollLeft;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
1177
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1178
|
+
function getDocumentRect(element) {
|
|
1179
|
+
const html = getDocumentElement(element);
|
|
1180
|
+
const scroll = getNodeScroll(element);
|
|
1181
|
+
const body = element.ownerDocument.body;
|
|
1182
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1183
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1184
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1185
|
+
const y = -scroll.scrollTop;
|
|
1186
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1187
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1188
|
+
}
|
|
1189
|
+
return {
|
|
1190
|
+
width,
|
|
1191
|
+
height,
|
|
1192
|
+
x,
|
|
1193
|
+
y
|
|
1194
|
+
};
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
function getViewportRect(element, strategy) {
|
|
1198
|
+
const win = getWindow(element);
|
|
1199
|
+
const html = getDocumentElement(element);
|
|
1200
|
+
const visualViewport = win.visualViewport;
|
|
1201
|
+
let width = html.clientWidth;
|
|
1202
|
+
let height = html.clientHeight;
|
|
1203
|
+
let x = 0;
|
|
1204
|
+
let y = 0;
|
|
1205
|
+
if (visualViewport) {
|
|
1206
|
+
width = visualViewport.width;
|
|
1207
|
+
height = visualViewport.height;
|
|
1208
|
+
const visualViewportBased = isWebKit();
|
|
1209
|
+
if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
|
|
1210
|
+
x = visualViewport.offsetLeft;
|
|
1211
|
+
y = visualViewport.offsetTop;
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
return {
|
|
1215
|
+
width,
|
|
1216
|
+
height,
|
|
1217
|
+
x,
|
|
1218
|
+
y
|
|
1219
|
+
};
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
1223
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1224
|
+
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1225
|
+
const top = clientRect.top + element.clientTop;
|
|
1226
|
+
const left = clientRect.left + element.clientLeft;
|
|
1227
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1228
|
+
const width = element.clientWidth * scale.x;
|
|
1229
|
+
const height = element.clientHeight * scale.y;
|
|
1230
|
+
const x = left * scale.x;
|
|
1231
|
+
const y = top * scale.y;
|
|
1232
|
+
return {
|
|
1233
|
+
width,
|
|
1234
|
+
height,
|
|
1235
|
+
x,
|
|
1236
|
+
y
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1240
|
+
let rect;
|
|
1241
|
+
if (clippingAncestor === 'viewport') {
|
|
1242
|
+
rect = getViewportRect(element, strategy);
|
|
1243
|
+
} else if (clippingAncestor === 'document') {
|
|
1244
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1245
|
+
} else if (isElement(clippingAncestor)) {
|
|
1246
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1247
|
+
} else {
|
|
1248
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1249
|
+
rect = {
|
|
1250
|
+
...clippingAncestor,
|
|
1251
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1252
|
+
y: clippingAncestor.y - visualOffsets.y
|
|
1253
|
+
};
|
|
1254
|
+
}
|
|
1255
|
+
return rectToClientRect(rect);
|
|
1256
|
+
}
|
|
1257
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1258
|
+
const parentNode = getParentNode(element);
|
|
1259
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1260
|
+
return false;
|
|
1261
|
+
}
|
|
1262
|
+
return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1266
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
1267
|
+
// of the given element up the tree.
|
|
1268
|
+
function getClippingElementAncestors(element, cache) {
|
|
1269
|
+
const cachedResult = cache.get(element);
|
|
1270
|
+
if (cachedResult) {
|
|
1271
|
+
return cachedResult;
|
|
1272
|
+
}
|
|
1273
|
+
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1274
|
+
let currentContainingBlockComputedStyle = null;
|
|
1275
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1276
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1277
|
+
|
|
1278
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1279
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1280
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1281
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1282
|
+
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
1283
|
+
currentContainingBlockComputedStyle = null;
|
|
1284
|
+
}
|
|
1285
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1286
|
+
if (shouldDropCurrentNode) {
|
|
1287
|
+
// Drop non-containing blocks.
|
|
1288
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1289
|
+
} else {
|
|
1290
|
+
// Record last containing block for next iteration.
|
|
1291
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1292
|
+
}
|
|
1293
|
+
currentNode = getParentNode(currentNode);
|
|
1294
|
+
}
|
|
1295
|
+
cache.set(element, result);
|
|
1296
|
+
return result;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
1300
|
+
// clipping ancestors.
|
|
1301
|
+
function getClippingRect(_ref) {
|
|
1302
|
+
let {
|
|
1303
|
+
element,
|
|
1304
|
+
boundary,
|
|
1305
|
+
rootBoundary,
|
|
1306
|
+
strategy
|
|
1307
|
+
} = _ref;
|
|
1308
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1309
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1310
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1311
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1312
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1313
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1314
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1315
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1316
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1317
|
+
return accRect;
|
|
1318
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1319
|
+
return {
|
|
1320
|
+
width: clippingRect.right - clippingRect.left,
|
|
1321
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1322
|
+
x: clippingRect.left,
|
|
1323
|
+
y: clippingRect.top
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
function getDimensions(element) {
|
|
1328
|
+
const {
|
|
1329
|
+
width,
|
|
1330
|
+
height
|
|
1331
|
+
} = getCssDimensions(element);
|
|
1332
|
+
return {
|
|
1333
|
+
width,
|
|
1334
|
+
height
|
|
1335
|
+
};
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1339
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1340
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1341
|
+
const isFixed = strategy === 'fixed';
|
|
1342
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1343
|
+
let scroll = {
|
|
1344
|
+
scrollLeft: 0,
|
|
1345
|
+
scrollTop: 0
|
|
1346
|
+
};
|
|
1347
|
+
const offsets = createCoords(0);
|
|
1348
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1349
|
+
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1350
|
+
scroll = getNodeScroll(offsetParent);
|
|
1351
|
+
}
|
|
1352
|
+
if (isOffsetParentAnElement) {
|
|
1353
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1354
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1355
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1356
|
+
} else if (documentElement) {
|
|
1357
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
return {
|
|
1361
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
1362
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
|
1363
|
+
width: rect.width,
|
|
1364
|
+
height: rect.height
|
|
1365
|
+
};
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1369
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1370
|
+
return null;
|
|
1371
|
+
}
|
|
1372
|
+
if (polyfill) {
|
|
1373
|
+
return polyfill(element);
|
|
1374
|
+
}
|
|
1375
|
+
return element.offsetParent;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
1379
|
+
// such as table ancestors and cross browser bugs.
|
|
1380
|
+
function getOffsetParent(element, polyfill) {
|
|
1381
|
+
const window = getWindow(element);
|
|
1382
|
+
if (!isHTMLElement(element)) {
|
|
1383
|
+
return window;
|
|
1384
|
+
}
|
|
1385
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1386
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
1387
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1388
|
+
}
|
|
1389
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
|
|
1390
|
+
return window;
|
|
1391
|
+
}
|
|
1392
|
+
return offsetParent || getContainingBlock(element) || window;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
const getElementRects = async function (_ref) {
|
|
1396
|
+
let {
|
|
1397
|
+
reference,
|
|
1398
|
+
floating,
|
|
1399
|
+
strategy
|
|
1400
|
+
} = _ref;
|
|
1401
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1402
|
+
const getDimensionsFn = this.getDimensions;
|
|
1403
|
+
return {
|
|
1404
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1405
|
+
floating: {
|
|
1406
|
+
x: 0,
|
|
1407
|
+
y: 0,
|
|
1408
|
+
...(await getDimensionsFn(floating))
|
|
1409
|
+
}
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
function isRTL(element) {
|
|
1414
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
const platform = {
|
|
1418
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1419
|
+
getDocumentElement,
|
|
1420
|
+
getClippingRect,
|
|
1421
|
+
getOffsetParent,
|
|
1422
|
+
getElementRects,
|
|
1423
|
+
getClientRects,
|
|
1424
|
+
getDimensions,
|
|
1425
|
+
getScale,
|
|
1426
|
+
isElement,
|
|
1427
|
+
isRTL
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
// https://samthor.au/2021/observing-dom/
|
|
1431
|
+
function observeMove(element, onMove) {
|
|
1432
|
+
let io = null;
|
|
1433
|
+
let timeoutId;
|
|
1434
|
+
const root = getDocumentElement(element);
|
|
1435
|
+
function cleanup() {
|
|
1436
|
+
clearTimeout(timeoutId);
|
|
1437
|
+
io && io.disconnect();
|
|
1438
|
+
io = null;
|
|
1439
|
+
}
|
|
1440
|
+
function refresh(skip, threshold) {
|
|
1441
|
+
if (skip === void 0) {
|
|
1442
|
+
skip = false;
|
|
1443
|
+
}
|
|
1444
|
+
if (threshold === void 0) {
|
|
1445
|
+
threshold = 1;
|
|
1446
|
+
}
|
|
1447
|
+
cleanup();
|
|
1448
|
+
const {
|
|
1449
|
+
left,
|
|
1450
|
+
top,
|
|
1451
|
+
width,
|
|
1452
|
+
height
|
|
1453
|
+
} = element.getBoundingClientRect();
|
|
1454
|
+
if (!skip) {
|
|
1455
|
+
onMove();
|
|
1456
|
+
}
|
|
1457
|
+
if (!width || !height) {
|
|
1458
|
+
return;
|
|
1459
|
+
}
|
|
1460
|
+
const insetTop = floor(top);
|
|
1461
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1462
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1463
|
+
const insetLeft = floor(left);
|
|
1464
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1465
|
+
const options = {
|
|
1466
|
+
rootMargin,
|
|
1467
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1468
|
+
};
|
|
1469
|
+
let isFirstUpdate = true;
|
|
1470
|
+
function handleObserve(entries) {
|
|
1471
|
+
const ratio = entries[0].intersectionRatio;
|
|
1472
|
+
if (ratio !== threshold) {
|
|
1473
|
+
if (!isFirstUpdate) {
|
|
1474
|
+
return refresh();
|
|
1475
|
+
}
|
|
1476
|
+
if (!ratio) {
|
|
1477
|
+
timeoutId = setTimeout(() => {
|
|
1478
|
+
refresh(false, 1e-7);
|
|
1479
|
+
}, 100);
|
|
1480
|
+
} else {
|
|
1481
|
+
refresh(false, ratio);
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
isFirstUpdate = false;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
1488
|
+
// error.
|
|
1489
|
+
try {
|
|
1490
|
+
io = new IntersectionObserver(handleObserve, {
|
|
1491
|
+
...options,
|
|
1492
|
+
// Handle <iframe>s
|
|
1493
|
+
root: root.ownerDocument
|
|
1494
|
+
});
|
|
1495
|
+
} catch (e) {
|
|
1496
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1497
|
+
}
|
|
1498
|
+
io.observe(element);
|
|
1499
|
+
}
|
|
1500
|
+
refresh(true);
|
|
1501
|
+
return cleanup;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Automatically updates the position of the floating element when necessary.
|
|
1506
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
1507
|
+
* visible on the screen.
|
|
1508
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
1509
|
+
* removed from the DOM or hidden from the screen.
|
|
1510
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
1511
|
+
*/
|
|
1512
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1513
|
+
if (options === void 0) {
|
|
1514
|
+
options = {};
|
|
1515
|
+
}
|
|
1516
|
+
const {
|
|
1517
|
+
ancestorScroll = true,
|
|
1518
|
+
ancestorResize = true,
|
|
1519
|
+
elementResize = typeof ResizeObserver === 'function',
|
|
1520
|
+
layoutShift = typeof IntersectionObserver === 'function',
|
|
1521
|
+
animationFrame = false
|
|
1522
|
+
} = options;
|
|
1523
|
+
const referenceEl = unwrapElement(reference);
|
|
1524
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1525
|
+
ancestors.forEach(ancestor => {
|
|
1526
|
+
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1527
|
+
passive: true
|
|
1528
|
+
});
|
|
1529
|
+
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1530
|
+
});
|
|
1531
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1532
|
+
let reobserveFrame = -1;
|
|
1533
|
+
let resizeObserver = null;
|
|
1534
|
+
if (elementResize) {
|
|
1535
|
+
resizeObserver = new ResizeObserver(_ref => {
|
|
1536
|
+
let [firstEntry] = _ref;
|
|
1537
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1538
|
+
// Prevent update loops when using the `size` middleware.
|
|
1539
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1540
|
+
resizeObserver.unobserve(floating);
|
|
1541
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1542
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1543
|
+
resizeObserver && resizeObserver.observe(floating);
|
|
1544
|
+
});
|
|
1545
|
+
}
|
|
1546
|
+
update();
|
|
1547
|
+
});
|
|
1548
|
+
if (referenceEl && !animationFrame) {
|
|
1549
|
+
resizeObserver.observe(referenceEl);
|
|
1550
|
+
}
|
|
1551
|
+
resizeObserver.observe(floating);
|
|
1552
|
+
}
|
|
1553
|
+
let frameId;
|
|
1554
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1555
|
+
if (animationFrame) {
|
|
1556
|
+
frameLoop();
|
|
1557
|
+
}
|
|
1558
|
+
function frameLoop() {
|
|
1559
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1560
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1561
|
+
update();
|
|
1562
|
+
}
|
|
1563
|
+
prevRefRect = nextRefRect;
|
|
1564
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1565
|
+
}
|
|
1566
|
+
update();
|
|
1567
|
+
return () => {
|
|
1568
|
+
ancestors.forEach(ancestor => {
|
|
1569
|
+
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
1570
|
+
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
1571
|
+
});
|
|
1572
|
+
cleanupIo && cleanupIo();
|
|
1573
|
+
resizeObserver && resizeObserver.disconnect();
|
|
1574
|
+
resizeObserver = null;
|
|
1575
|
+
if (animationFrame) {
|
|
1576
|
+
cancelAnimationFrame(frameId);
|
|
1577
|
+
}
|
|
1578
|
+
};
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
|
1583
|
+
* that has the most space available automatically, without needing to specify a
|
|
1584
|
+
* preferred placement. Alternative to `flip`.
|
|
1585
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
|
1586
|
+
*/
|
|
1587
|
+
const autoPlacement = autoPlacement$1;
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
1591
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
1592
|
+
* @see https://floating-ui.com/docs/shift
|
|
1593
|
+
*/
|
|
1594
|
+
const shift = shift$1;
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
1598
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
1599
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
1600
|
+
* @see https://floating-ui.com/docs/flip
|
|
1601
|
+
*/
|
|
1602
|
+
const flip = flip$1;
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
1606
|
+
* when it is not in the same clipping context as the reference element.
|
|
1607
|
+
* @see https://floating-ui.com/docs/hide
|
|
1608
|
+
*/
|
|
1609
|
+
const hide = hide$1;
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* Provides data to position an inner element of the floating element so that it
|
|
1613
|
+
* appears centered to the reference element.
|
|
1614
|
+
* @see https://floating-ui.com/docs/arrow
|
|
1615
|
+
*/
|
|
1616
|
+
const arrow = arrow$1;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
1620
|
+
* next to a given reference element.
|
|
1621
|
+
*/
|
|
1622
|
+
const computePosition = (reference, floating, options) => {
|
|
1623
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
1624
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1625
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
1626
|
+
const cache = new Map();
|
|
1627
|
+
const mergedOptions = {
|
|
1628
|
+
platform,
|
|
1629
|
+
...options
|
|
1630
|
+
};
|
|
1631
|
+
const platformWithCache = {
|
|
1632
|
+
...mergedOptions.platform,
|
|
1633
|
+
_c: cache
|
|
1634
|
+
};
|
|
1635
|
+
return computePosition$1(reference, floating, {
|
|
1636
|
+
...mergedOptions,
|
|
1637
|
+
platform: platformWithCache
|
|
1638
|
+
});
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
1642
|
+
function offsetParent(element) {
|
|
1643
|
+
return offsetParentPolyfill(element);
|
|
1644
|
+
}
|
|
1645
|
+
function flatTreeParent(element) {
|
|
1646
|
+
if (element.assignedSlot) {
|
|
1647
|
+
return element.assignedSlot;
|
|
1648
|
+
}
|
|
1649
|
+
if (element.parentNode instanceof ShadowRoot) {
|
|
1650
|
+
return element.parentNode.host;
|
|
1651
|
+
}
|
|
1652
|
+
return element.parentNode;
|
|
1653
|
+
}
|
|
1654
|
+
function offsetParentPolyfill(element) {
|
|
1655
|
+
// Do an initial walk to check for display:none ancestors.
|
|
1656
|
+
for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1657
|
+
if (!(ancestor instanceof Element)) {
|
|
1658
|
+
continue;
|
|
1659
|
+
}
|
|
1660
|
+
if (getComputedStyle(ancestor).display === 'none') {
|
|
1661
|
+
return null;
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {
|
|
1665
|
+
if (!(ancestor instanceof Element)) {
|
|
1666
|
+
continue;
|
|
1667
|
+
}
|
|
1668
|
+
const style = getComputedStyle(ancestor);
|
|
1669
|
+
// Display:contents nodes aren't in the layout tree so they should be skipped.
|
|
1670
|
+
if (style.display === 'contents') {
|
|
1671
|
+
continue;
|
|
1672
|
+
}
|
|
1673
|
+
if (style.position !== 'static' || style.filter !== 'none') {
|
|
1674
|
+
return ancestor;
|
|
1675
|
+
}
|
|
1676
|
+
if (ancestor.tagName === 'BODY') {
|
|
1677
|
+
return ancestor;
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
return null;
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
(function setUpFloatingUiForShadowDomPositioning() {
|
|
1684
|
+
{
|
|
1685
|
+
const originalGetOffsetParent = platform.getOffsetParent;
|
|
1686
|
+
platform.getOffsetParent = (element) => originalGetOffsetParent(element, offsetParent);
|
|
1687
|
+
}
|
|
1688
|
+
})();
|
|
1689
|
+
function roundByDPR(value) {
|
|
1690
|
+
const dpr = window.devicePixelRatio || 1;
|
|
1691
|
+
return Math.round(value * dpr) / dpr;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* Positions the floating element relative to the reference element.
|
|
1695
|
+
*
|
|
1696
|
+
* **Note:** exported for testing purposes only
|
|
1697
|
+
*
|
|
1698
|
+
* @param root0
|
|
1699
|
+
* @param root0.referenceEl
|
|
1700
|
+
* @param root0.floatingEl
|
|
1701
|
+
* @param root0.overlayPositioning
|
|
1702
|
+
* @param root0.placement
|
|
1703
|
+
* @param root0.flipDisabled
|
|
1704
|
+
* @param root0.flipPlacements
|
|
1705
|
+
* @param root0.offsetDistance
|
|
1706
|
+
* @param root0.offsetSkidding
|
|
1707
|
+
* @param root0.arrowEl
|
|
1708
|
+
* @param root0.type
|
|
1709
|
+
* @param component
|
|
1710
|
+
* @param root0.referenceEl.referenceEl
|
|
1711
|
+
* @param root0.referenceEl.floatingEl
|
|
1712
|
+
* @param root0.referenceEl.overlayPositioning
|
|
1713
|
+
* @param root0.referenceEl.placement
|
|
1714
|
+
* @param root0.referenceEl.flipDisabled
|
|
1715
|
+
* @param root0.referenceEl.flipPlacements
|
|
1716
|
+
* @param root0.referenceEl.offsetDistance
|
|
1717
|
+
* @param root0.referenceEl.offsetSkidding
|
|
1718
|
+
* @param root0.referenceEl.arrowEl
|
|
1719
|
+
* @param root0.referenceEl.type
|
|
1720
|
+
* @param component.referenceEl
|
|
1721
|
+
* @param component.floatingEl
|
|
1722
|
+
* @param component.overlayPositioning
|
|
1723
|
+
* @param component.placement
|
|
1724
|
+
* @param component.flipDisabled
|
|
1725
|
+
* @param component.flipPlacements
|
|
1726
|
+
* @param component.offsetDistance
|
|
1727
|
+
* @param component.offsetSkidding
|
|
1728
|
+
* @param component.arrowEl
|
|
1729
|
+
* @param component.type
|
|
1730
|
+
*/
|
|
1731
|
+
const positionFloatingUI =
|
|
1732
|
+
/* we export arrow function to allow us to spy on it during testing */
|
|
1733
|
+
async (component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) => {
|
|
1734
|
+
if (!referenceEl || !floatingEl) {
|
|
1735
|
+
return null;
|
|
1736
|
+
}
|
|
1737
|
+
const { x, y, placement: effectivePlacement, strategy: position, middlewareData, } = await computePosition(referenceEl, floatingEl, {
|
|
1738
|
+
strategy: overlayPositioning,
|
|
1739
|
+
placement: placement === "auto" || placement === "auto-start" || placement === "auto-end"
|
|
1740
|
+
? undefined
|
|
1741
|
+
: getEffectivePlacement(floatingEl, placement),
|
|
1742
|
+
middleware: getMiddleware({
|
|
1743
|
+
placement,
|
|
1744
|
+
flipDisabled,
|
|
1745
|
+
flipPlacements,
|
|
1746
|
+
offsetDistance,
|
|
1747
|
+
offsetSkidding,
|
|
1748
|
+
arrowEl,
|
|
1749
|
+
type,
|
|
1750
|
+
}),
|
|
1751
|
+
});
|
|
1752
|
+
if (arrowEl && middlewareData.arrow) {
|
|
1753
|
+
const { x, y } = middlewareData.arrow;
|
|
1754
|
+
const side = effectivePlacement.split("-")[0];
|
|
1755
|
+
const alignment = x != null ? "left" : "top";
|
|
1756
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
1757
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
1758
|
+
if ("floatingLayout" in component) {
|
|
1759
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
1760
|
+
}
|
|
1761
|
+
Object.assign(arrowEl.style, {
|
|
1762
|
+
...reset,
|
|
1763
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
1764
|
+
[side]: "100%",
|
|
1765
|
+
transform,
|
|
1766
|
+
});
|
|
1767
|
+
}
|
|
1768
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
1769
|
+
const visibility = referenceHidden ? "hidden" : null;
|
|
1770
|
+
const pointerEvents = visibility ? "none" : null;
|
|
1771
|
+
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
1772
|
+
const { open } = component;
|
|
1773
|
+
Object.assign(floatingEl.style, {
|
|
1774
|
+
visibility,
|
|
1775
|
+
pointerEvents,
|
|
1776
|
+
position,
|
|
1777
|
+
transform: open ? `translate(${roundByDPR(x)}px,${roundByDPR(y)}px)` : "",
|
|
1778
|
+
top: 0,
|
|
1779
|
+
left: 0,
|
|
1780
|
+
});
|
|
1781
|
+
};
|
|
1782
|
+
/**
|
|
1783
|
+
* Exported for testing purposes only
|
|
1784
|
+
*/
|
|
1785
|
+
const placementDataAttribute = "data-placement";
|
|
1786
|
+
/**
|
|
1787
|
+
* Exported for testing purposes only
|
|
1788
|
+
*/
|
|
1789
|
+
const repositionDebounceTimeout = 100;
|
|
1790
|
+
const effectivePlacements = [
|
|
1791
|
+
"top",
|
|
1792
|
+
"bottom",
|
|
1793
|
+
"right",
|
|
1794
|
+
"left",
|
|
1795
|
+
"top-start",
|
|
1796
|
+
"top-end",
|
|
1797
|
+
"bottom-start",
|
|
1798
|
+
"bottom-end",
|
|
1799
|
+
"right-start",
|
|
1800
|
+
"right-end",
|
|
1801
|
+
"left-start",
|
|
1802
|
+
"left-end",
|
|
1803
|
+
];
|
|
1804
|
+
const defaultMenuPlacement = "bottom-start";
|
|
1805
|
+
const FloatingCSS = {
|
|
1806
|
+
animation: "calcite-floating-ui-anim",
|
|
1807
|
+
animationActive: "calcite-floating-ui-anim--active",
|
|
1808
|
+
};
|
|
1809
|
+
function getMiddleware({ placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type, }) {
|
|
1810
|
+
const defaultMiddleware = [shift(), hide()];
|
|
1811
|
+
if (type === "menu") {
|
|
1812
|
+
return [
|
|
1813
|
+
...defaultMiddleware,
|
|
1814
|
+
flip({
|
|
1815
|
+
fallbackPlacements: flipPlacements || ["top-start", "top", "top-end", "bottom-start", "bottom", "bottom-end"],
|
|
1816
|
+
}),
|
|
1817
|
+
];
|
|
1818
|
+
}
|
|
1819
|
+
if (type === "popover" || type === "tooltip") {
|
|
1820
|
+
const middleware = [
|
|
1821
|
+
...defaultMiddleware,
|
|
1822
|
+
offset({
|
|
1823
|
+
mainAxis: typeof offsetDistance === "number" ? offsetDistance : 0,
|
|
1824
|
+
crossAxis: typeof offsetSkidding === "number" ? offsetSkidding : 0,
|
|
1825
|
+
}),
|
|
1826
|
+
];
|
|
1827
|
+
if (placement === "auto" || placement === "auto-start" || placement === "auto-end") {
|
|
1828
|
+
middleware.push(autoPlacement({ alignment: placement === "auto-start" ? "start" : placement === "auto-end" ? "end" : null }));
|
|
1829
|
+
}
|
|
1830
|
+
else if (!flipDisabled) {
|
|
1831
|
+
middleware.push(flip(flipPlacements ? { fallbackPlacements: flipPlacements } : {}));
|
|
1832
|
+
}
|
|
1833
|
+
if (arrowEl) {
|
|
1834
|
+
middleware.push(arrow({
|
|
1835
|
+
element: arrowEl,
|
|
1836
|
+
}));
|
|
1837
|
+
}
|
|
1838
|
+
return middleware;
|
|
1839
|
+
}
|
|
1840
|
+
return [];
|
|
1841
|
+
}
|
|
1842
|
+
function filterComputedPlacements(placements, el) {
|
|
1843
|
+
const filteredPlacements = placements.filter((placement) => effectivePlacements.includes(placement));
|
|
1844
|
+
if (filteredPlacements.length !== placements.length) {
|
|
1845
|
+
console.warn(`${el.tagName}: Invalid value found in: flipPlacements. Try any of these: ${effectivePlacements
|
|
1846
|
+
.map((placement) => `"${placement}"`)
|
|
1847
|
+
.join(", ")
|
|
1848
|
+
.trim()}`, { el });
|
|
1849
|
+
}
|
|
1850
|
+
return filteredPlacements;
|
|
1851
|
+
}
|
|
1852
|
+
function getEffectivePlacement(floatingEl, placement) {
|
|
1853
|
+
const placements = ["left", "right"];
|
|
1854
|
+
if (dom.getElementDir(floatingEl) === "rtl") {
|
|
1855
|
+
placements.reverse();
|
|
1856
|
+
}
|
|
1857
|
+
return placement.replace(/leading/gi, placements[0]).replace(/trailing/gi, placements[1]);
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* Convenience function to manage `reposition` calls for FloatingUIComponents that use `positionFloatingUI.
|
|
1861
|
+
*
|
|
1862
|
+
* Note: this is not needed for components that use `calcite-popover`.
|
|
1863
|
+
*
|
|
1864
|
+
* @param component - A floating-ui component.
|
|
1865
|
+
* @param options - Reposition parameters.
|
|
1866
|
+
* @param options.referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1867
|
+
* @param options.floatingEl - The `floatingElement` containing the floating ui.
|
|
1868
|
+
* @param options.overlayPositioning - type of positioning to use for the overlaid content.
|
|
1869
|
+
* @param options.placement - Determines where the component will be positioned relative to the `referenceElement`.
|
|
1870
|
+
* @param options.flipDisabled - Prevents flipping the component's placement when overlapping its `referenceElement`.
|
|
1871
|
+
* @param options.flipPlacements - Defines the available placements that can be used when a flip occurs.
|
|
1872
|
+
* @param options.offsetDistance - Offsets the position of the popover away from the `referenceElement`.
|
|
1873
|
+
* @param options.offsetSkidding - Offsets the position of the component along the `referenceElement`.
|
|
1874
|
+
* @param options.arrowEl - A customizable arrow element.
|
|
1875
|
+
* @param options.type - The type of floating UI.
|
|
1876
|
+
* @param delayed - Reposition the component after a delay.
|
|
1877
|
+
* @returns {Promise<void>}
|
|
1878
|
+
*/
|
|
1879
|
+
async function reposition(component, options, delayed = false) {
|
|
1880
|
+
if (!component.open) {
|
|
1881
|
+
return;
|
|
1882
|
+
}
|
|
1883
|
+
const positionFunction = delayed ? getDebouncedReposition(component) : positionFloatingUI;
|
|
1884
|
+
return positionFunction(component, options);
|
|
1885
|
+
}
|
|
1886
|
+
function getDebouncedReposition(component) {
|
|
1887
|
+
let debounced = componentToDebouncedRepositionMap.get(component);
|
|
1888
|
+
if (debounced) {
|
|
1889
|
+
return debounced;
|
|
1890
|
+
}
|
|
1891
|
+
debounced = debounce.debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
1892
|
+
leading: true,
|
|
1893
|
+
maxWait: repositionDebounceTimeout,
|
|
1894
|
+
});
|
|
1895
|
+
componentToDebouncedRepositionMap.set(component, debounced);
|
|
1896
|
+
return debounced;
|
|
1897
|
+
}
|
|
1898
|
+
const ARROW_CSS_TRANSFORM = {
|
|
1899
|
+
top: "",
|
|
1900
|
+
left: "rotate(-90deg)",
|
|
1901
|
+
bottom: "rotate(180deg)",
|
|
1902
|
+
right: "rotate(90deg)",
|
|
1903
|
+
};
|
|
1904
|
+
/**
|
|
1905
|
+
* Exported for testing purposes only
|
|
1906
|
+
*
|
|
1907
|
+
* @internal
|
|
1908
|
+
*/
|
|
1909
|
+
const cleanupMap = new WeakMap();
|
|
1910
|
+
const componentToDebouncedRepositionMap = new WeakMap();
|
|
1911
|
+
/**
|
|
1912
|
+
* Helper to set up floating element interactions on connectedCallback.
|
|
1913
|
+
*
|
|
1914
|
+
* @param component - A floating-ui component.
|
|
1915
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1916
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1917
|
+
*/
|
|
1918
|
+
function connectFloatingUI(component, referenceEl, floatingEl) {
|
|
1919
|
+
if (!floatingEl || !referenceEl) {
|
|
1920
|
+
return;
|
|
1921
|
+
}
|
|
1922
|
+
disconnectFloatingUI(component, referenceEl, floatingEl);
|
|
1923
|
+
Object.assign(floatingEl.style, {
|
|
1924
|
+
visibility: "hidden",
|
|
1925
|
+
pointerEvents: "none",
|
|
1926
|
+
// initial positioning based on https://floating-ui.com/docs/computePosition#initial-layout
|
|
1927
|
+
position: component.overlayPositioning,
|
|
1928
|
+
});
|
|
1929
|
+
const runAutoUpdate = autoUpdate
|
|
1930
|
+
;
|
|
1931
|
+
cleanupMap.set(component, runAutoUpdate(referenceEl, floatingEl, () => component.reposition()));
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* Helper to tear down floating element interactions on disconnectedCallback.
|
|
1935
|
+
*
|
|
1936
|
+
* @param component - A floating-ui component.
|
|
1937
|
+
* @param referenceEl - The `referenceElement` used to position the component according to its `placement` value.
|
|
1938
|
+
* @param floatingEl - The `floatingElement` containing the floating ui.
|
|
1939
|
+
*/
|
|
1940
|
+
function disconnectFloatingUI(component, referenceEl, floatingEl) {
|
|
1941
|
+
if (!floatingEl || !referenceEl) {
|
|
1942
|
+
return;
|
|
1943
|
+
}
|
|
1944
|
+
cleanupMap.get(component)?.();
|
|
1945
|
+
cleanupMap.delete(component);
|
|
1946
|
+
componentToDebouncedRepositionMap.get(component)?.cancel();
|
|
1947
|
+
componentToDebouncedRepositionMap.delete(component);
|
|
1948
|
+
}
|
|
1949
|
+
const visiblePointerSize = 4;
|
|
1950
|
+
/**
|
|
1951
|
+
* Default offset the position of the floating element away from the reference element.
|
|
1952
|
+
*
|
|
1953
|
+
* @default 6
|
|
1954
|
+
*/
|
|
1955
|
+
const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePointerSize));
|
|
1956
|
+
|
|
1957
|
+
exports.FloatingCSS = FloatingCSS;
|
|
1958
|
+
exports.connectFloatingUI = connectFloatingUI;
|
|
1959
|
+
exports.defaultMenuPlacement = defaultMenuPlacement;
|
|
1960
|
+
exports.defaultOffsetDistance = defaultOffsetDistance;
|
|
1961
|
+
exports.disconnectFloatingUI = disconnectFloatingUI;
|
|
1962
|
+
exports.filterComputedPlacements = filterComputedPlacements;
|
|
1963
|
+
exports.reposition = reposition;
|
|
1964
|
+
|
|
1965
|
+
//# sourceMappingURL=floating-ui-d49e931c.js.map
|