@getflip/swirl-components-react 0.48.1 → 0.49.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.
Files changed (175) hide show
  1. package/dist/{file-manager.entry.f0c50da6.js → file-manager.entry.0d895eac.js} +1 -1
  2. package/dist/floating-ui.dom.esm-ac7cc24e.79b318e4.js +780 -0
  3. package/dist/{index.952ab411.js → index.ef906f23.js} +119 -117
  4. package/dist/stencil-generated/index.d.ts +2 -0
  5. package/dist/{swirl-action-list-section.entry.9fb78884.js → swirl-action-list-section.entry.c7b1d282.js} +1 -1
  6. package/dist/{swirl-action-list_3.entry.c6909be1.js → swirl-action-list_3.entry.25e62e8e.js} +1 -1
  7. package/dist/{swirl-app-bar.entry.e29fba2a.js → swirl-app-bar.entry.63d87158.js} +1 -1
  8. package/dist/{swirl-app-icon.entry.1f247559.js → swirl-app-icon.entry.d1056bb5.js} +1 -1
  9. package/dist/{swirl-app-layout_7.entry.91452c3b.js → swirl-app-layout_7.entry.12a1dd0f.js} +1 -1
  10. package/dist/{swirl-autocomplete.entry.7df2a2ae.js → swirl-autocomplete.entry.a67a444f.js} +2 -2
  11. package/dist/{swirl-avatar-group.entry.d122ee19.js → swirl-avatar-group.entry.37cd61af.js} +1 -1
  12. package/dist/{swirl-avatar.entry.d661402a.js → swirl-avatar.entry.2d3386d9.js} +1 -1
  13. package/dist/{swirl-badge.entry.f83e538b.js → swirl-badge.entry.af72bbfc.js} +1 -1
  14. package/dist/{swirl-banner.entry.03abcb6c.js → swirl-banner.entry.741b2791.js} +1 -1
  15. package/dist/{swirl-button-group.entry.f005eb76.js → swirl-button-group.entry.a28db650.js} +1 -1
  16. package/dist/{swirl-button.entry.028e7965.js → swirl-button.entry.c5595e19.js} +1 -1
  17. package/dist/{swirl-card.entry.684be4f9.js → swirl-card.entry.bb91c4fc.js} +9 -9
  18. package/dist/{swirl-carousel-slide.entry.ea7440a8.js → swirl-carousel-slide.entry.3b42c01f.js} +1 -1
  19. package/dist/{swirl-carousel.entry.7f26d439.js → swirl-carousel.entry.9ea1da10.js} +1 -1
  20. package/dist/{swirl-checkbox.entry.ef455c36.js → swirl-checkbox.entry.06510b7e.js} +1 -1
  21. package/dist/{swirl-chip.entry.d9580c0c.js → swirl-chip.entry.5765913c.js} +1 -1
  22. package/dist/{swirl-columns.entry.1f8add73.js → swirl-columns.entry.7c77f808.js} +1 -1
  23. package/dist/swirl-components-react.js +99 -97
  24. package/dist/swirl-components-react.umd.cjs +45 -45
  25. package/dist/{swirl-console-layout.entry.9f6d67be.js → swirl-console-layout.entry.a1054b2b.js} +1 -1
  26. package/dist/{swirl-date-input.entry.55549456.js → swirl-date-input.entry.da2a4cde.js} +1 -1
  27. package/dist/{swirl-date-picker_2.entry.6b78b32f.js → swirl-date-picker_2.entry.56aa66dc.js} +1 -1
  28. package/dist/{swirl-description-list-item.entry.90038859.js → swirl-description-list-item.entry.9b93e3b0.js} +1 -1
  29. package/dist/{swirl-description-list.entry.afe1ac97.js → swirl-description-list.entry.645f0d49.js} +1 -1
  30. package/dist/{swirl-dialog.entry.8839f8f4.js → swirl-dialog.entry.eefc72a6.js} +2 -2
  31. package/dist/{swirl-file-uploader.entry.ac46fef7.js → swirl-file-uploader.entry.68bb2239.js} +1 -1
  32. package/dist/{swirl-file-viewer_7.entry.03c1565b.js → swirl-file-viewer_7.entry.f43b381f.js} +1 -1
  33. package/dist/{swirl-form-control.entry.c61c9ee0.js → swirl-form-control.entry.c370d695.js} +1 -1
  34. package/dist/{swirl-form-group.entry.e76daf5d.js → swirl-form-group.entry.eccb124d.js} +1 -1
  35. package/dist/{swirl-heading.entry.eaa83d4e.js → swirl-heading.entry.78239498.js} +1 -1
  36. package/dist/{swirl-icon-add-photo.entry.2f6dbee1.js → swirl-icon-add-photo.entry.337fa99d.js} +1 -1
  37. package/dist/{swirl-icon-add_6.entry.e997d0b6.js → swirl-icon-add_6.entry.e01332dc.js} +1 -1
  38. package/dist/{swirl-icon-admin-panel-settings.entry.79a50ae4.js → swirl-icon-admin-panel-settings.entry.e110ca2e.js} +1 -1
  39. package/dist/{swirl-icon-ai.entry.f44a37bd.js → swirl-icon-ai.entry.c1db0c75.js} +1 -1
  40. package/dist/{swirl-icon-arrow-back.entry.08e7c80f.js → swirl-icon-arrow-back.entry.9770f66c.js} +1 -1
  41. package/dist/{swirl-icon-arrow-downward_2.entry.22a32cf9.js → swirl-icon-arrow-downward_2.entry.2dd89a44.js} +1 -1
  42. package/dist/{swirl-icon-arrow-forward.entry.1bddd848.js → swirl-icon-arrow-forward.entry.53d35d8d.js} +1 -1
  43. package/dist/{swirl-icon-arrow-left_4.entry.667f2063.js → swirl-icon-arrow-left_4.entry.552ebaa3.js} +1 -1
  44. package/dist/{swirl-icon-arrow-right-small.entry.aeb440d0.js → swirl-icon-arrow-right-small.entry.b46b7f75.js} +1 -1
  45. package/dist/{swirl-icon-attachment.entry.47793e81.js → swirl-icon-attachment.entry.63a4162e.js} +1 -1
  46. package/dist/{swirl-icon-block.entry.9b8ac3a1.js → swirl-icon-block.entry.70c0a692.js} +1 -1
  47. package/dist/{swirl-icon-bookmark.entry.60007284.js → swirl-icon-bookmark.entry.177823cd.js} +1 -1
  48. package/dist/{swirl-icon-cancel_4.entry.2fb2564f.js → swirl-icon-cancel_4.entry.cea00a45.js} +1 -1
  49. package/dist/{swirl-icon-chat-bubble.entry.cdcb0d8a.js → swirl-icon-chat-bubble.entry.cf7d41a4.js} +1 -1
  50. package/dist/{swirl-icon-chats-filled.entry.ce53cd57.js → swirl-icon-chats-filled.entry.efa0f878.js} +1 -1
  51. package/dist/{swirl-icon-chats-outlined.entry.a34623c7.js → swirl-icon-chats-outlined.entry.b9d223c6.js} +1 -1
  52. package/dist/{swirl-icon-check-circle_3.entry.dc2e5ec6.js → swirl-icon-check-circle_3.entry.66e2384d.js} +1 -1
  53. package/dist/{swirl-icon-check-small_4.entry.fcd124d5.js → swirl-icon-check-small_4.entry.effff16a.js} +1 -1
  54. package/dist/{swirl-icon-check-strong.entry.5fa2aeff.js → swirl-icon-check-strong.entry.5b2caa97.js} +1 -1
  55. package/dist/{swirl-icon-check.entry.7001de79.js → swirl-icon-check.entry.cb2e7be0.js} +1 -1
  56. package/dist/{swirl-icon-chevron-left.entry.496f6aa7.js → swirl-icon-chevron-left.entry.57331d76.js} +1 -1
  57. package/dist/{swirl-icon-chevron-right.entry.690d3f9a.js → swirl-icon-chevron-right.entry.b30b78e6.js} +1 -1
  58. package/dist/{swirl-icon-close-small.entry.8d7b1de3.js → swirl-icon-close-small.entry.9e889531.js} +1 -1
  59. package/dist/{swirl-icon-close.entry.924ff43b.js → swirl-icon-close.entry.8ff3a89d.js} +1 -1
  60. package/dist/{swirl-icon-cloud-upload.entry.ef69dc74.js → swirl-icon-cloud-upload.entry.d3b4d1fe.js} +1 -1
  61. package/dist/{swirl-icon-column.entry.57906a08.js → swirl-icon-column.entry.7d325348.js} +1 -1
  62. package/dist/{swirl-icon-comment.entry.3f579cb4.js → swirl-icon-comment.entry.0c77b0e5.js} +1 -1
  63. package/dist/{swirl-icon-copy.entry.bebf3d4c.js → swirl-icon-copy.entry.3d2d57e0.js} +1 -1
  64. package/dist/{swirl-icon-date-range.entry.66d7efaa.js → swirl-icon-date-range.entry.cffe5b27.js} +1 -1
  65. package/dist/{swirl-icon-delete.entry.0122d6b0.js → swirl-icon-delete.entry.a2c572f0.js} +1 -1
  66. package/dist/{swirl-icon-description.entry.15da430c.js → swirl-icon-description.entry.7705d643.js} +1 -1
  67. package/dist/{swirl-icon-double-arrow-left.entry.37d1653f.js → swirl-icon-double-arrow-left.entry.b0efbe52.js} +1 -1
  68. package/dist/{swirl-icon-double-arrow-right.entry.5f73ce2c.js → swirl-icon-double-arrow-right.entry.ad1b5721.js} +1 -1
  69. package/dist/{swirl-icon-download.entry.c50f479c.js → swirl-icon-download.entry.2934b61b.js} +1 -1
  70. package/dist/{swirl-icon-edit.entry.1545eee8.js → swirl-icon-edit.entry.01d09073.js} +1 -1
  71. package/dist/{swirl-icon-emoji-mood.entry.b12b1d3c.js → swirl-icon-emoji-mood.entry.5e814936.js} +1 -1
  72. package/dist/{swirl-icon-emoji-satisfied.entry.3b903445.js → swirl-icon-emoji-satisfied.entry.ce5b53b6.js} +1 -1
  73. package/dist/{swirl-icon-error_3.entry.027fe771.js → swirl-icon-error_3.entry.8825ec94.js} +1 -1
  74. package/dist/{swirl-icon-expand-more.entry.f1943b40.js → swirl-icon-expand-more.entry.406ad9bb.js} +1 -1
  75. package/dist/{swirl-icon-filter.entry.ac8201b2.js → swirl-icon-filter.entry.518d0808.js} +1 -1
  76. package/dist/{swirl-icon-folder.entry.c1036635.js → swirl-icon-folder.entry.809903fd.js} +1 -1
  77. package/dist/{swirl-icon-group-assign.entry.8430f485.js → swirl-icon-group-assign.entry.f93c91c5.js} +1 -1
  78. package/dist/{swirl-icon-groups-custom.entry.53d13830.js → swirl-icon-groups-custom.entry.491c11f1.js} +1 -1
  79. package/dist/{swirl-icon-groups-filled.entry.882ff403.js → swirl-icon-groups-filled.entry.83249532.js} +1 -1
  80. package/dist/{swirl-icon-groups-outlined.entry.d714b2b6.js → swirl-icon-groups-outlined.entry.9410ed3a.js} +1 -1
  81. package/dist/{swirl-icon-groups.entry.a2f61833.js → swirl-icon-groups.entry.776e5282.js} +1 -1
  82. package/dist/{swirl-icon-help.entry.8cd68d1e.js → swirl-icon-help.entry.c9e67f44.js} +1 -1
  83. package/dist/{swirl-icon-image.entry.b1a08879.js → swirl-icon-image.entry.bf82ca32.js} +1 -1
  84. package/dist/{swirl-icon-improve-text.entry.27064a87.js → swirl-icon-improve-text.entry.39c2bc8c.js} +1 -1
  85. package/dist/{swirl-icon-insert-below.entry.bf25b8a3.js → swirl-icon-insert-below.entry.abcf51d6.js} +1 -1
  86. package/dist/{swirl-icon-insert-on-top.entry.61c1b1ea.js → swirl-icon-insert-on-top.entry.88dde4ab.js} +1 -1
  87. package/dist/{swirl-icon-inventory.entry.c8400788.js → swirl-icon-inventory.entry.7bc46de6.js} +1 -1
  88. package/dist/{swirl-icon-like.entry.f7a016fa.js → swirl-icon-like.entry.b039d5cd.js} +1 -1
  89. package/dist/{swirl-icon-link.entry.34e9dfc1.js → swirl-icon-link.entry.506c2dd0.js} +1 -1
  90. package/dist/swirl-icon-lock-person.entry.b75725b1.js +17 -0
  91. package/dist/{swirl-icon-lock.entry.c29f3ea2.js → swirl-icon-lock.entry.4c2604d8.js} +1 -1
  92. package/dist/{swirl-icon-logout.entry.98f05580.js → swirl-icon-logout.entry.0cd52ba1.js} +1 -1
  93. package/dist/{swirl-icon-long-text.entry.1094ba7d.js → swirl-icon-long-text.entry.8ae50c47.js} +1 -1
  94. package/dist/{swirl-icon-mail.entry.341598fd.js → swirl-icon-mail.entry.e536d358.js} +1 -1
  95. package/dist/{swirl-icon-manage-accounts.entry.f834b719.js → swirl-icon-manage-accounts.entry.3081c77a.js} +1 -1
  96. package/dist/{swirl-icon-mention.entry.3b03d45b.js → swirl-icon-mention.entry.44b6025e.js} +1 -1
  97. package/dist/{swirl-icon-menu-filled.entry.cba4ac42.js → swirl-icon-menu-filled.entry.7f743b8f.js} +1 -1
  98. package/dist/{swirl-icon-menu-outlined.entry.14530326.js → swirl-icon-menu-outlined.entry.bcc270d2.js} +1 -1
  99. package/dist/{swirl-icon-menu.entry.d9322a3a.js → swirl-icon-menu.entry.cd69b5b5.js} +1 -1
  100. package/dist/{swirl-icon-message.entry.06cd751c.js → swirl-icon-message.entry.f0dff2c3.js} +1 -1
  101. package/dist/{swirl-icon-more-horizontal.entry.b71fa052.js → swirl-icon-more-horizontal.entry.c484c7aa.js} +1 -1
  102. package/dist/{swirl-icon-news-filled.entry.0c0d9033.js → swirl-icon-news-filled.entry.f5ac293c.js} +1 -1
  103. package/dist/{swirl-icon-news-outlined.entry.b356431d.js → swirl-icon-news-outlined.entry.c55fdedf.js} +1 -1
  104. package/dist/{swirl-icon-notifications-active.entry.026eda78.js → swirl-icon-notifications-active.entry.9289adeb.js} +1 -1
  105. package/dist/{swirl-icon-notifications-off.entry.c240b2b3.js → swirl-icon-notifications-off.entry.18ed22b5.js} +1 -1
  106. package/dist/{swirl-icon-notifications.entry.cb39ae89.js → swirl-icon-notifications.entry.10977fd5.js} +1 -1
  107. package/dist/{swirl-icon-open-in-new.entry.ef5b0f6e.js → swirl-icon-open-in-new.entry.9a3daa9d.js} +1 -1
  108. package/dist/{swirl-icon-people-alt.entry.1c95839f.js → swirl-icon-people-alt.entry.eeab9a22.js} +1 -1
  109. package/dist/{swirl-icon-person-off.entry.210b2017.js → swirl-icon-person-off.entry.ad0cf73f.js} +1 -1
  110. package/dist/{swirl-icon-person.entry.8c627a84.js → swirl-icon-person.entry.cb610416.js} +1 -1
  111. package/dist/{swirl-icon-phone.entry.7b9912ff.js → swirl-icon-phone.entry.52c21a27.js} +1 -1
  112. package/dist/{swirl-icon-poll.entry.8cee137a.js → swirl-icon-poll.entry.a4775563.js} +1 -1
  113. package/dist/{swirl-icon-print.entry.b397d9cd.js → swirl-icon-print.entry.5be401a3.js} +1 -1
  114. package/dist/{swirl-icon-recieved.entry.e3f30cdd.js → swirl-icon-recieved.entry.da273aa3.js} +1 -1
  115. package/dist/{swirl-icon-search-strong.entry.7fedab48.js → swirl-icon-search-strong.entry.36caee98.js} +1 -1
  116. package/dist/{swirl-icon-search.entry.428f00db.js → swirl-icon-search.entry.95d38d98.js} +1 -1
  117. package/dist/{swirl-icon-send.entry.d72b43c5.js → swirl-icon-send.entry.2abe7294.js} +1 -1
  118. package/dist/{swirl-icon-settings.entry.c9b3ec2d.js → swirl-icon-settings.entry.a69909d9.js} +1 -1
  119. package/dist/{swirl-icon-short-text.entry.2648b8f8.js → swirl-icon-short-text.entry.53062f5e.js} +1 -1
  120. package/dist/{swirl-icon-simplify.entry.d5e0e49a.js → swirl-icon-simplify.entry.741a4d02.js} +1 -1
  121. package/dist/{swirl-icon-spellcheck.entry.fef821ad.js → swirl-icon-spellcheck.entry.18dcbd3e.js} +1 -1
  122. package/dist/{swirl-icon-sync.entry.608b6e60.js → swirl-icon-sync.entry.1bcdbdf7.js} +1 -1
  123. package/dist/{swirl-icon-tasks-filled.entry.7cd4edc2.js → swirl-icon-tasks-filled.entry.99ad7749.js} +1 -1
  124. package/dist/{swirl-icon-tasks-outlined.entry.62075a69.js → swirl-icon-tasks-outlined.entry.b09662cd.js} +1 -1
  125. package/dist/{swirl-icon-time-filled.entry.bfa49cd7.js → swirl-icon-time-filled.entry.d5bca2cf.js} +1 -1
  126. package/dist/{swirl-icon-time-outlined.entry.300829a7.js → swirl-icon-time-outlined.entry.bad73581.js} +1 -1
  127. package/dist/{swirl-icon-undo.entry.636e1abb.js → swirl-icon-undo.entry.d95312fd.js} +1 -1
  128. package/dist/swirl-icon-unlock-person.entry.eaadb2e0.js +17 -0
  129. package/dist/{swirl-icon-user-assign.entry.d0dc3079.js → swirl-icon-user-assign.entry.d5cfbb83.js} +1 -1
  130. package/dist/{swirl-icon-video-camera.entry.7ebc56c3.js → swirl-icon-video-camera.entry.65e9a259.js} +1 -1
  131. package/dist/{swirl-icon-voice.entry.4bda8967.js → swirl-icon-voice.entry.828f7cd6.js} +1 -1
  132. package/dist/{swirl-icon.entry.acdcc970.js → swirl-icon.entry.ec2c94ba.js} +1 -1
  133. package/dist/{swirl-inline-notification.entry.f8e34ed1.js → swirl-inline-notification.entry.e26bece4.js} +1 -1
  134. package/dist/{swirl-lightbox.entry.420be727.js → swirl-lightbox.entry.6dffb41b.js} +1 -1
  135. package/dist/{swirl-link.entry.e60c45b9.js → swirl-link.entry.b3b3250b.js} +1 -1
  136. package/dist/{swirl-list.entry.aa2bad6e.js → swirl-list.entry.8ec0e7ad.js} +1 -1
  137. package/dist/{swirl-modal.entry.3e14023b.js → swirl-modal.entry.3348a1de.js} +2 -2
  138. package/dist/{swirl-option-list-section.entry.580f59f0.js → swirl-option-list-section.entry.a48bc1a3.js} +1 -1
  139. package/dist/{swirl-pagination.entry.a9600ff5.js → swirl-pagination.entry.8ca4d5f9.js} +1 -1
  140. package/dist/{swirl-pdf-reader.entry.e3029c15.js → swirl-pdf-reader.entry.e4723b24.js} +1 -1
  141. package/dist/{swirl-popover.entry.8be256ba.js → swirl-popover.entry.5e421df2.js} +2 -2
  142. package/dist/{swirl-progress-indicator.entry.ca35b7a7.js → swirl-progress-indicator.entry.a5269580.js} +1 -1
  143. package/dist/{swirl-radio-group.entry.2ae68d6f.js → swirl-radio-group.entry.6d06cf2b.js} +1 -1
  144. package/dist/{swirl-radio.entry.02b51462.js → swirl-radio.entry.d184f150.js} +1 -1
  145. package/dist/{swirl-resource-list-file-item.entry.363886ad.js → swirl-resource-list-file-item.entry.a94affda.js} +1 -1
  146. package/dist/{swirl-search.entry.206ad82e.js → swirl-search.entry.0d6caf0e.js} +1 -1
  147. package/dist/{swirl-select.entry.6b90a164.js → swirl-select.entry.b72a862f.js} +1 -1
  148. package/dist/{swirl-shell-layout.entry.17091fe6.js → swirl-shell-layout.entry.9dc32ec1.js} +1 -1
  149. package/dist/{swirl-shell-navigation-item.entry.b1006ea9.js → swirl-shell-navigation-item.entry.243e161a.js} +1 -1
  150. package/dist/{swirl-skeleton-box.entry.88f3892e.js → swirl-skeleton-box.entry.260785d9.js} +1 -1
  151. package/dist/{swirl-skeleton-text.entry.f46fc41b.js → swirl-skeleton-text.entry.a5ee155c.js} +1 -1
  152. package/dist/{swirl-stack.entry.a5044175.js → swirl-stack.entry.b7091dd3.js} +1 -1
  153. package/dist/{swirl-switch.entry.db053149.js → swirl-switch.entry.2419612c.js} +1 -1
  154. package/dist/{swirl-tab-bar.entry.4cd6a4ad.js → swirl-tab-bar.entry.31850c4a.js} +1 -1
  155. package/dist/{swirl-tab.entry.56ab9d8e.js → swirl-tab.entry.21b43cb8.js} +1 -1
  156. package/dist/{swirl-table-cell.entry.f7b16055.js → swirl-table-cell.entry.d896c50e.js} +1 -1
  157. package/dist/{swirl-table-column.entry.b16fc3b2.js → swirl-table-column.entry.480401f8.js} +1 -1
  158. package/dist/{swirl-table-row-group.entry.bb3868af.js → swirl-table-row-group.entry.fd4390f0.js} +1 -1
  159. package/dist/{swirl-table-row.entry.86493fed.js → swirl-table-row.entry.82d783f0.js} +1 -1
  160. package/dist/{swirl-table.entry.3755e864.js → swirl-table.entry.64ea09e5.js} +1 -1
  161. package/dist/{swirl-tabs.entry.b16a34d1.js → swirl-tabs.entry.cf974ff1.js} +1 -1
  162. package/dist/{swirl-tag.entry.f7089724.js → swirl-tag.entry.3778d605.js} +1 -1
  163. package/dist/{swirl-text-input.entry.6920a530.js → swirl-text-input.entry.b077ec61.js} +1 -1
  164. package/dist/{swirl-text.entry.e4fa536b.js → swirl-text.entry.84d06a02.js} +1 -1
  165. package/dist/{swirl-theme-provider.entry.5589e5a0.js → swirl-theme-provider.entry.a83a7642.js} +1 -1
  166. package/dist/{swirl-toast-provider.entry.48b4c01c.js → swirl-toast-provider.entry.3d72f542.js} +1 -1
  167. package/dist/{swirl-toast.entry.093bbd70.js → swirl-toast.entry.9a5d816e.js} +1 -1
  168. package/dist/{swirl-tooltip.entry.238caa83.js → swirl-tooltip.entry.0af96072.js} +2 -2
  169. package/dist/swirl-tree-navigation-item.entry.3c67189c.js +25 -0
  170. package/dist/{swirl-video-thumbnail.entry.5deee1ad.js → swirl-video-thumbnail.entry.2dddfc1d.js} +1 -1
  171. package/dist/{swirl-visually-hidden.entry.95595f3f.js → swirl-visually-hidden.entry.9ee4387b.js} +1 -1
  172. package/dist/{wc-datepicker.entry.86b6db89.js → wc-datepicker.entry.ce833f43.js} +1 -1
  173. package/package.json +2 -2
  174. package/dist/floating-ui.dom.esm-b9f28f6d.15013ef7.js +0 -752
  175. package/dist/swirl-tree-navigation-item.entry.2c5dffaf.js +0 -25
@@ -1,752 +0,0 @@
1
- function k(t) {
2
- return t.split("-")[0];
3
- }
4
- function I(t) {
5
- return t.split("-")[1];
6
- }
7
- function _(t) {
8
- return ["top", "bottom"].includes(k(t)) ? "x" : "y";
9
- }
10
- function ot(t) {
11
- return t === "y" ? "height" : "width";
12
- }
13
- function J(t, e, n) {
14
- let {
15
- reference: o,
16
- floating: i
17
- } = t;
18
- const c = o.x + o.width / 2 - i.width / 2, r = o.y + o.height / 2 - i.height / 2, s = _(e), l = ot(s), f = o[l] / 2 - i[l] / 2, h = k(e), a = s === "x";
19
- let u;
20
- switch (h) {
21
- case "top":
22
- u = {
23
- x: c,
24
- y: o.y - i.height
25
- };
26
- break;
27
- case "bottom":
28
- u = {
29
- x: c,
30
- y: o.y + o.height
31
- };
32
- break;
33
- case "right":
34
- u = {
35
- x: o.x + o.width,
36
- y: r
37
- };
38
- break;
39
- case "left":
40
- u = {
41
- x: o.x - i.width,
42
- y: r
43
- };
44
- break;
45
- default:
46
- u = {
47
- x: o.x,
48
- y: o.y
49
- };
50
- }
51
- switch (I(e)) {
52
- case "start":
53
- u[s] -= f * (n && a ? -1 : 1);
54
- break;
55
- case "end":
56
- u[s] += f * (n && a ? -1 : 1);
57
- break;
58
- }
59
- return u;
60
- }
61
- const ht = async (t, e, n) => {
62
- const {
63
- placement: o = "bottom",
64
- strategy: i = "absolute",
65
- middleware: c = [],
66
- platform: r
67
- } = n, s = await (r.isRTL == null ? void 0 : r.isRTL(e));
68
- let l = await r.getElementRects({
69
- reference: t,
70
- floating: e,
71
- strategy: i
72
- }), {
73
- x: f,
74
- y: h
75
- } = J(l, o, s), a = o, u = {}, m = 0;
76
- for (let g = 0; g < c.length; g++) {
77
- const {
78
- name: d,
79
- fn: p
80
- } = c[g], {
81
- x: w,
82
- y: x,
83
- data: A,
84
- reset: y
85
- } = await p({
86
- x: f,
87
- y: h,
88
- initialPlacement: o,
89
- placement: a,
90
- strategy: i,
91
- middlewareData: u,
92
- rects: l,
93
- platform: r,
94
- elements: {
95
- reference: t,
96
- floating: e
97
- }
98
- });
99
- if (f = w != null ? w : f, h = x != null ? x : h, u = {
100
- ...u,
101
- [d]: {
102
- ...u[d],
103
- ...A
104
- }
105
- }, y && m <= 50) {
106
- m++, typeof y == "object" && (y.placement && (a = y.placement), y.rects && (l = y.rects === !0 ? await r.getElementRects({
107
- reference: t,
108
- floating: e,
109
- strategy: i
110
- }) : y.rects), {
111
- x: f,
112
- y: h
113
- } = J(l, a, s)), g = -1;
114
- continue;
115
- }
116
- }
117
- return {
118
- x: f,
119
- y: h,
120
- placement: a,
121
- strategy: i,
122
- middlewareData: u
123
- };
124
- };
125
- function mt(t) {
126
- return {
127
- top: 0,
128
- right: 0,
129
- bottom: 0,
130
- left: 0,
131
- ...t
132
- };
133
- }
134
- function gt(t) {
135
- return typeof t != "number" ? mt(t) : {
136
- top: t,
137
- right: t,
138
- bottom: t,
139
- left: t
140
- };
141
- }
142
- function B(t) {
143
- return {
144
- ...t,
145
- top: t.y,
146
- left: t.x,
147
- right: t.x + t.width,
148
- bottom: t.y + t.height
149
- };
150
- }
151
- async function it(t, e) {
152
- var n;
153
- e === void 0 && (e = {});
154
- const {
155
- x: o,
156
- y: i,
157
- platform: c,
158
- rects: r,
159
- elements: s,
160
- strategy: l
161
- } = t, {
162
- boundary: f = "clippingAncestors",
163
- rootBoundary: h = "viewport",
164
- elementContext: a = "floating",
165
- altBoundary: u = !1,
166
- padding: m = 0
167
- } = e, g = gt(m), p = s[u ? a === "floating" ? "reference" : "floating" : a], w = B(await c.getClippingRect({
168
- element: (n = await (c.isElement == null ? void 0 : c.isElement(p))) == null || n ? p : p.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(s.floating)),
169
- boundary: f,
170
- rootBoundary: h,
171
- strategy: l
172
- })), x = B(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
173
- rect: a === "floating" ? {
174
- ...r.floating,
175
- x: o,
176
- y: i
177
- } : r.reference,
178
- offsetParent: await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(s.floating)),
179
- strategy: l
180
- }) : r[a]);
181
- return {
182
- top: w.top - x.top + g.top,
183
- bottom: x.bottom - w.bottom + g.bottom,
184
- left: w.left - x.left + g.left,
185
- right: x.right - w.right + g.right
186
- };
187
- }
188
- const pt = Math.min, wt = Math.max;
189
- function K(t, e, n) {
190
- return wt(t, pt(e, n));
191
- }
192
- const xt = {
193
- left: "right",
194
- right: "left",
195
- bottom: "top",
196
- top: "bottom"
197
- };
198
- function M(t) {
199
- return t.replace(/left|right|bottom|top/g, (e) => xt[e]);
200
- }
201
- function yt(t, e, n) {
202
- n === void 0 && (n = !1);
203
- const o = I(t), i = _(t), c = ot(i);
204
- let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
205
- return e.reference[c] > e.floating[c] && (r = M(r)), {
206
- main: r,
207
- cross: M(r)
208
- };
209
- }
210
- const vt = {
211
- start: "end",
212
- end: "start"
213
- };
214
- function Q(t) {
215
- return t.replace(/start|end/g, (e) => vt[e]);
216
- }
217
- function bt(t) {
218
- const e = M(t);
219
- return [Q(t), e, Q(e)];
220
- }
221
- const Mt = function(t) {
222
- return t === void 0 && (t = {}), {
223
- name: "flip",
224
- options: t,
225
- async fn(e) {
226
- var n;
227
- const {
228
- placement: o,
229
- middlewareData: i,
230
- rects: c,
231
- initialPlacement: r,
232
- platform: s,
233
- elements: l
234
- } = e, {
235
- mainAxis: f = !0,
236
- crossAxis: h = !0,
237
- fallbackPlacements: a,
238
- fallbackStrategy: u = "bestFit",
239
- flipAlignment: m = !0,
240
- ...g
241
- } = t, d = k(o), w = a || (d === r || !m ? [M(r)] : bt(r)), x = [r, ...w], A = await it(e, g), y = [];
242
- let D = ((n = i.flip) == null ? void 0 : n.overflows) || [];
243
- if (f && y.push(A[d]), h) {
244
- const {
245
- main: P,
246
- cross: N
247
- } = yt(o, c, await (s.isRTL == null ? void 0 : s.isRTL(l.floating)));
248
- y.push(A[P], A[N]);
249
- }
250
- if (D = [...D, {
251
- placement: o,
252
- overflows: y
253
- }], !y.every((P) => P <= 0)) {
254
- var Y, U;
255
- const P = ((Y = (U = i.flip) == null ? void 0 : U.index) != null ? Y : 0) + 1, N = x[P];
256
- if (N)
257
- return {
258
- data: {
259
- index: P,
260
- overflows: D
261
- },
262
- reset: {
263
- placement: N
264
- }
265
- };
266
- let W = "bottom";
267
- switch (u) {
268
- case "bestFit": {
269
- var q;
270
- const G = (q = D.map((H) => [H, H.overflows.filter((S) => S > 0).reduce((S, dt) => S + dt, 0)]).sort((H, S) => H[1] - S[1])[0]) == null ? void 0 : q[0].placement;
271
- G && (W = G);
272
- break;
273
- }
274
- case "initialPlacement":
275
- W = r;
276
- break;
277
- }
278
- if (o !== W)
279
- return {
280
- reset: {
281
- placement: W
282
- }
283
- };
284
- }
285
- return {};
286
- }
287
- };
288
- };
289
- async function At(t, e) {
290
- const {
291
- placement: n,
292
- platform: o,
293
- elements: i
294
- } = t, c = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = k(n), s = I(n), l = _(n) === "x", f = ["left", "top"].includes(r) ? -1 : 1, h = c && l ? -1 : 1, a = typeof e == "function" ? e(t) : e;
295
- let {
296
- mainAxis: u,
297
- crossAxis: m,
298
- alignmentAxis: g
299
- } = typeof a == "number" ? {
300
- mainAxis: a,
301
- crossAxis: 0,
302
- alignmentAxis: null
303
- } : {
304
- mainAxis: 0,
305
- crossAxis: 0,
306
- alignmentAxis: null,
307
- ...a
308
- };
309
- return s && typeof g == "number" && (m = s === "end" ? g * -1 : g), l ? {
310
- x: m * h,
311
- y: u * f
312
- } : {
313
- x: u * f,
314
- y: m * h
315
- };
316
- }
317
- const Ft = function(t) {
318
- return t === void 0 && (t = 0), {
319
- name: "offset",
320
- options: t,
321
- async fn(e) {
322
- const {
323
- x: n,
324
- y: o
325
- } = e, i = await At(e, t);
326
- return {
327
- x: n + i.x,
328
- y: o + i.y,
329
- data: i
330
- };
331
- }
332
- };
333
- };
334
- function Rt(t) {
335
- return t === "x" ? "y" : "x";
336
- }
337
- const $t = function(t) {
338
- return t === void 0 && (t = {}), {
339
- name: "shift",
340
- options: t,
341
- async fn(e) {
342
- const {
343
- x: n,
344
- y: o,
345
- placement: i
346
- } = e, {
347
- mainAxis: c = !0,
348
- crossAxis: r = !1,
349
- limiter: s = {
350
- fn: (p) => {
351
- let {
352
- x: w,
353
- y: x
354
- } = p;
355
- return {
356
- x: w,
357
- y: x
358
- };
359
- }
360
- },
361
- ...l
362
- } = t, f = {
363
- x: n,
364
- y: o
365
- }, h = await it(e, l), a = _(k(i)), u = Rt(a);
366
- let m = f[a], g = f[u];
367
- if (c) {
368
- const p = a === "y" ? "top" : "left", w = a === "y" ? "bottom" : "right", x = m + h[p], A = m - h[w];
369
- m = K(x, m, A);
370
- }
371
- if (r) {
372
- const p = u === "y" ? "top" : "left", w = u === "y" ? "bottom" : "right", x = g + h[p], A = g - h[w];
373
- g = K(x, g, A);
374
- }
375
- const d = s.fn({
376
- ...e,
377
- [a]: m,
378
- [u]: g
379
- });
380
- return {
381
- ...d,
382
- data: {
383
- x: d.x - n,
384
- y: d.y - o
385
- }
386
- };
387
- }
388
- };
389
- };
390
- function st(t) {
391
- return t && t.document && t.location && t.alert && t.setInterval;
392
- }
393
- function E(t) {
394
- if (t == null)
395
- return window;
396
- if (!st(t)) {
397
- const e = t.ownerDocument;
398
- return e && e.defaultView || window;
399
- }
400
- return t;
401
- }
402
- function v(t) {
403
- return E(t).getComputedStyle(t);
404
- }
405
- function R(t) {
406
- return st(t) ? "" : t ? (t.nodeName || "").toLowerCase() : "";
407
- }
408
- function rt() {
409
- const t = navigator.userAgentData;
410
- return t != null && t.brands ? t.brands.map((e) => e.brand + "/" + e.version).join(" ") : navigator.userAgent;
411
- }
412
- function b(t) {
413
- return t instanceof E(t).HTMLElement;
414
- }
415
- function L(t) {
416
- return t instanceof E(t).Element;
417
- }
418
- function Ct(t) {
419
- return t instanceof E(t).Node;
420
- }
421
- function T(t) {
422
- if (typeof ShadowRoot > "u")
423
- return !1;
424
- const e = E(t).ShadowRoot;
425
- return t instanceof e || t instanceof ShadowRoot;
426
- }
427
- function z(t) {
428
- const {
429
- overflow: e,
430
- overflowX: n,
431
- overflowY: o
432
- } = v(t);
433
- return /auto|scroll|overlay|hidden/.test(e + o + n);
434
- }
435
- function Et(t) {
436
- return ["table", "td", "th"].includes(R(t));
437
- }
438
- function ct(t) {
439
- const e = /firefox/i.test(rt()), n = v(t);
440
- return n.transform !== "none" || n.perspective !== "none" || n.contain === "paint" || ["transform", "perspective"].includes(n.willChange) || e && n.willChange === "filter" || e && (n.filter ? n.filter !== "none" : !1);
441
- }
442
- function lt() {
443
- return !/^((?!chrome|android).)*safari/i.test(rt());
444
- }
445
- const Z = Math.min, V = Math.max, F = Math.round;
446
- function C(t, e, n) {
447
- var o, i, c, r;
448
- e === void 0 && (e = !1), n === void 0 && (n = !1);
449
- const s = t.getBoundingClientRect();
450
- let l = 1, f = 1;
451
- e && b(t) && (l = t.offsetWidth > 0 && F(s.width) / t.offsetWidth || 1, f = t.offsetHeight > 0 && F(s.height) / t.offsetHeight || 1);
452
- const h = L(t) ? E(t) : window, a = !lt() && n, u = (s.left + (a && (o = (i = h.visualViewport) == null ? void 0 : i.offsetLeft) != null ? o : 0)) / l, m = (s.top + (a && (c = (r = h.visualViewport) == null ? void 0 : r.offsetTop) != null ? c : 0)) / f, g = s.width / l, d = s.height / f;
453
- return {
454
- width: g,
455
- height: d,
456
- top: m,
457
- right: u + g,
458
- bottom: m + d,
459
- left: u,
460
- x: u,
461
- y: m
462
- };
463
- }
464
- function O(t) {
465
- return ((Ct(t) ? t.ownerDocument : t.document) || window.document).documentElement;
466
- }
467
- function X(t) {
468
- return L(t) ? {
469
- scrollLeft: t.scrollLeft,
470
- scrollTop: t.scrollTop
471
- } : {
472
- scrollLeft: t.pageXOffset,
473
- scrollTop: t.pageYOffset
474
- };
475
- }
476
- function ft(t) {
477
- return C(O(t)).left + X(t).scrollLeft;
478
- }
479
- function Lt(t) {
480
- const e = C(t);
481
- return F(e.width) !== t.offsetWidth || F(e.height) !== t.offsetHeight;
482
- }
483
- function Ot(t, e, n) {
484
- const o = b(e), i = O(e), c = C(
485
- t,
486
- o && Lt(e),
487
- n === "fixed"
488
- );
489
- let r = {
490
- scrollLeft: 0,
491
- scrollTop: 0
492
- };
493
- const s = {
494
- x: 0,
495
- y: 0
496
- };
497
- if (o || !o && n !== "fixed")
498
- if ((R(e) !== "body" || z(i)) && (r = X(e)), b(e)) {
499
- const l = C(e, !0);
500
- s.x = l.x + e.clientLeft, s.y = l.y + e.clientTop;
501
- } else
502
- i && (s.x = ft(i));
503
- return {
504
- x: c.left + r.scrollLeft - s.x,
505
- y: c.top + r.scrollTop - s.y,
506
- width: c.width,
507
- height: c.height
508
- };
509
- }
510
- function at(t) {
511
- return R(t) === "html" ? t : t.assignedSlot || t.parentNode || (T(t) ? t.host : null) || O(t);
512
- }
513
- function tt(t) {
514
- return !b(t) || v(t).position === "fixed" ? null : Pt(t);
515
- }
516
- function Pt(t) {
517
- let {
518
- offsetParent: e
519
- } = t, n = t, o = !1;
520
- for (; n && n !== e; ) {
521
- const {
522
- assignedSlot: i
523
- } = n;
524
- if (i) {
525
- let c = i.offsetParent;
526
- if (v(i).display === "contents") {
527
- const r = i.hasAttribute("style"), s = i.style.display;
528
- i.style.display = v(n).display, c = i.offsetParent, i.style.display = s, r || i.removeAttribute("style");
529
- }
530
- n = i, e !== c && (e = c, o = !0);
531
- } else if (T(n) && n.host && o)
532
- break;
533
- n = T(n) && n.host || n.parentNode;
534
- }
535
- return e;
536
- }
537
- function Tt(t) {
538
- let e = at(t);
539
- for (T(e) && (e = e.host); b(e) && !["html", "body"].includes(R(e)); ) {
540
- if (ct(e))
541
- return e;
542
- {
543
- const n = e.parentNode;
544
- e = T(n) ? n.host : n;
545
- }
546
- }
547
- return null;
548
- }
549
- function j(t) {
550
- const e = E(t);
551
- let n = tt(t);
552
- for (; n && Et(n) && v(n).position === "static"; )
553
- n = tt(n);
554
- return n && (R(n) === "html" || R(n) === "body" && v(n).position === "static" && !ct(n)) ? e : n || Tt(t) || e;
555
- }
556
- function et(t) {
557
- if (b(t))
558
- return {
559
- width: t.offsetWidth,
560
- height: t.offsetHeight
561
- };
562
- const e = C(t);
563
- return {
564
- width: e.width,
565
- height: e.height
566
- };
567
- }
568
- function St(t) {
569
- let {
570
- rect: e,
571
- offsetParent: n,
572
- strategy: o
573
- } = t;
574
- const i = b(n), c = O(n);
575
- if (n === c)
576
- return e;
577
- let r = {
578
- scrollLeft: 0,
579
- scrollTop: 0
580
- };
581
- const s = {
582
- x: 0,
583
- y: 0
584
- };
585
- if ((i || !i && o !== "fixed") && ((R(n) !== "body" || z(c)) && (r = X(n)), b(n))) {
586
- const l = C(n, !0);
587
- s.x = l.x + n.clientLeft, s.y = l.y + n.clientTop;
588
- }
589
- return {
590
- ...e,
591
- x: e.x - r.scrollLeft + s.x,
592
- y: e.y - r.scrollTop + s.y
593
- };
594
- }
595
- function Vt(t, e) {
596
- const n = E(t), o = O(t), i = n.visualViewport;
597
- let c = o.clientWidth, r = o.clientHeight, s = 0, l = 0;
598
- if (i) {
599
- c = i.width, r = i.height;
600
- const f = lt();
601
- (f || !f && e === "fixed") && (s = i.offsetLeft, l = i.offsetTop);
602
- }
603
- return {
604
- width: c,
605
- height: r,
606
- x: s,
607
- y: l
608
- };
609
- }
610
- function kt(t) {
611
- var e;
612
- const n = O(t), o = X(t), i = (e = t.ownerDocument) == null ? void 0 : e.body, c = V(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), r = V(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0);
613
- let s = -o.scrollLeft + ft(t);
614
- const l = -o.scrollTop;
615
- return v(i || n).direction === "rtl" && (s += V(n.clientWidth, i ? i.clientWidth : 0) - c), {
616
- width: c,
617
- height: r,
618
- x: s,
619
- y: l
620
- };
621
- }
622
- function ut(t) {
623
- const e = at(t);
624
- return ["html", "body", "#document"].includes(R(e)) ? t.ownerDocument.body : b(e) && z(e) ? e : ut(e);
625
- }
626
- function $(t, e) {
627
- var n;
628
- e === void 0 && (e = []);
629
- const o = ut(t), i = o === ((n = t.ownerDocument) == null ? void 0 : n.body), c = E(o), r = i ? [c].concat(c.visualViewport || [], z(o) ? o : []) : o, s = e.concat(r);
630
- return i ? s : s.concat($(r));
631
- }
632
- function Dt(t, e) {
633
- const n = e.getRootNode == null ? void 0 : e.getRootNode();
634
- if (t.contains(e))
635
- return !0;
636
- if (n && T(n)) {
637
- let o = e;
638
- do {
639
- if (o && t === o)
640
- return !0;
641
- o = o.parentNode || o.host;
642
- } while (o);
643
- }
644
- return !1;
645
- }
646
- function Nt(t, e) {
647
- const n = C(t, !1, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft;
648
- return {
649
- top: o,
650
- left: i,
651
- x: i,
652
- y: o,
653
- right: i + t.clientWidth,
654
- bottom: o + t.clientHeight,
655
- width: t.clientWidth,
656
- height: t.clientHeight
657
- };
658
- }
659
- function nt(t, e, n) {
660
- return e === "viewport" ? B(Vt(t, n)) : L(e) ? Nt(e, n) : B(kt(O(t)));
661
- }
662
- function Wt(t) {
663
- const e = $(t), o = ["absolute", "fixed"].includes(v(t).position) && b(t) ? j(t) : t;
664
- return L(o) ? e.filter((i) => L(i) && Dt(i, o) && R(i) !== "body") : [];
665
- }
666
- function Ht(t) {
667
- let {
668
- element: e,
669
- boundary: n,
670
- rootBoundary: o,
671
- strategy: i
672
- } = t;
673
- const r = [...n === "clippingAncestors" ? Wt(e) : [].concat(n), o], s = r[0], l = r.reduce((f, h) => {
674
- const a = nt(e, h, i);
675
- return f.top = V(a.top, f.top), f.right = Z(a.right, f.right), f.bottom = Z(a.bottom, f.bottom), f.left = V(a.left, f.left), f;
676
- }, nt(e, s, i));
677
- return {
678
- width: l.right - l.left,
679
- height: l.bottom - l.top,
680
- x: l.left,
681
- y: l.top
682
- };
683
- }
684
- const Bt = {
685
- getClippingRect: Ht,
686
- convertOffsetParentRelativeRectToViewportRelativeRect: St,
687
- isElement: L,
688
- getDimensions: et,
689
- getOffsetParent: j,
690
- getDocumentElement: O,
691
- getElementRects: (t) => {
692
- let {
693
- reference: e,
694
- floating: n,
695
- strategy: o
696
- } = t;
697
- return {
698
- reference: Ot(e, j(n), o),
699
- floating: {
700
- ...et(n),
701
- x: 0,
702
- y: 0
703
- }
704
- };
705
- },
706
- getClientRects: (t) => Array.from(t.getClientRects()),
707
- isRTL: (t) => v(t).direction === "rtl"
708
- };
709
- function _t(t, e, n, o) {
710
- o === void 0 && (o = {});
711
- const {
712
- ancestorScroll: i = !0,
713
- ancestorResize: c = !0,
714
- elementResize: r = !0,
715
- animationFrame: s = !1
716
- } = o, l = i && !s, f = c && !s, h = l || f ? [...L(t) ? $(t) : [], ...$(e)] : [];
717
- h.forEach((d) => {
718
- l && d.addEventListener("scroll", n, {
719
- passive: !0
720
- }), f && d.addEventListener("resize", n);
721
- });
722
- let a = null;
723
- if (r) {
724
- let d = !0;
725
- a = new ResizeObserver(() => {
726
- d || n(), d = !1;
727
- }), L(t) && !s && a.observe(t), a.observe(e);
728
- }
729
- let u, m = s ? C(t) : null;
730
- s && g();
731
- function g() {
732
- const d = C(t);
733
- m && (d.x !== m.x || d.y !== m.y || d.width !== m.width || d.height !== m.height) && n(), m = d, u = requestAnimationFrame(g);
734
- }
735
- return n(), () => {
736
- var d;
737
- h.forEach((p) => {
738
- l && p.removeEventListener("scroll", n), f && p.removeEventListener("resize", n);
739
- }), (d = a) == null || d.disconnect(), a = null, s && cancelAnimationFrame(u);
740
- };
741
- }
742
- const zt = (t, e, n) => ht(t, e, {
743
- platform: Bt,
744
- ...n
745
- });
746
- export {
747
- _t as a,
748
- zt as c,
749
- Mt as f,
750
- Ft as o,
751
- $t as s
752
- };