@getflip/swirl-components-react 0.534.0 → 0.534.2-beta-20261116102019

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 (1033) hide show
  1. package/dist/index.d232e9ab.js +5107 -0
  2. package/dist/swirl-accordion-item.entry.900e26e8.js +37 -0
  3. package/dist/swirl-accordion.entry.5afc0aae.js +42 -0
  4. package/dist/swirl-action-list-section.entry.9228d077.js +15 -0
  5. package/dist/swirl-action-list_2.entry.5f6f1581.js +113 -0
  6. package/dist/swirl-app-bar.entry.6c51a700.js +49 -0
  7. package/dist/swirl-app-icon.entry.fd1217df.js +30 -0
  8. package/dist/swirl-app-layout.entry.0f4652ce.js +212 -0
  9. package/dist/swirl-autocomplete.entry.b1c6d8ac.js +117 -0
  10. package/dist/swirl-avatar-group.entry.1700a18e.js +41 -0
  11. package/dist/swirl-avatar.entry.8b6428cd.js +72 -0
  12. package/dist/swirl-badge.entry.6ece9885.js +19 -0
  13. package/dist/swirl-banner.entry.5e5ec121.js +51 -0
  14. package/dist/swirl-box.entry.e7151a53.js +118 -0
  15. package/dist/swirl-button-group.entry.f8560d0b.js +19 -0
  16. package/dist/swirl-button.entry.44deb38a.js +61 -0
  17. package/dist/swirl-card.entry.df205c6e.js +50 -0
  18. package/dist/swirl-carousel-slide.entry.ce29502d.js +23 -0
  19. package/dist/swirl-carousel.entry.150f45ea.js +91 -0
  20. package/dist/swirl-checkbox.entry.50f12caf.js +28 -0
  21. package/dist/swirl-chip.entry.a5d204b2.js +40 -0
  22. package/dist/swirl-color-input.entry.74cec0ff.js +271 -0
  23. package/dist/swirl-columns.entry.a9eaf7b1.js +18 -0
  24. package/dist/swirl-components-react.js +1 -1
  25. package/dist/swirl-components-react.umd.cjs +17 -17
  26. package/dist/swirl-console-layout.entry.c9fb41ff.js +93 -0
  27. package/dist/swirl-data-cell-stack.entry.9143899b.js +24 -0
  28. package/dist/swirl-data-cell.entry.2cb72cb9.js +34 -0
  29. package/dist/swirl-date-input.entry.a7dd69ca.js +147 -0
  30. package/dist/swirl-date-picker_2.entry.d1cd0565.js +48 -0
  31. package/dist/swirl-description-list-item.entry.0781b4b2.js +24 -0
  32. package/dist/swirl-description-list.entry.2843dc3e.js +15 -0
  33. package/dist/swirl-dialog.entry.aba4e9ac.js +80 -0
  34. package/dist/swirl-emoji-clap.entry.8e97c0a8.js +17 -0
  35. package/dist/swirl-emoji-happy.entry.ef5c984b.js +17 -0
  36. package/dist/swirl-emoji-idea.entry.155ba77f.js +17 -0
  37. package/dist/swirl-emoji-love.entry.6165d79c.js +17 -0
  38. package/dist/swirl-emoji-sad.entry.4f5c0858.js +17 -0
  39. package/dist/swirl-emoji-thumbs-up.entry.2458639f.js +17 -0
  40. package/dist/swirl-emoji.entry.765bf039.js +16 -0
  41. package/dist/swirl-empty-state.entry.4b277ff2.js +23 -0
  42. package/dist/swirl-file-chip.entry.2bb11587.js +67 -0
  43. package/dist/swirl-file-uploader.entry.19f93b80.js +31 -0
  44. package/dist/swirl-file-viewer-audio_7.entry.47035220.js +18871 -0
  45. package/dist/swirl-file-viewer_7.entry.29f9a789.js +115 -0
  46. package/dist/swirl-form-control.entry.041e647a.js +124 -0
  47. package/dist/swirl-form-group.entry.5310d4aa.js +17 -0
  48. package/dist/swirl-heading.entry.c77e837e.js +26 -0
  49. package/dist/swirl-icon-add-box.entry.16a450e1.js +19 -0
  50. package/dist/swirl-icon-add-moderator.entry.d0d673ca.js +19 -0
  51. package/dist/swirl-icon-add-photo.entry.50f60a6e.js +19 -0
  52. package/dist/swirl-icon-add-reaction.entry.dc2daf2e.js +19 -0
  53. package/dist/swirl-icon-admin-panel-settings.entry.5137ac51.js +19 -0
  54. package/dist/swirl-icon-ai-filled.entry.723a5ff2.js +19 -0
  55. package/dist/swirl-icon-ai.entry.b44edced.js +19 -0
  56. package/dist/swirl-icon-api.entry.92028348.js +19 -0
  57. package/dist/swirl-icon-apparel.entry.4a5144ad.js +19 -0
  58. package/dist/swirl-icon-apps.entry.f1290657.js +19 -0
  59. package/dist/swirl-icon-arrow-back_5.entry.fc60a96d.js +71 -0
  60. package/dist/swirl-icon-arrow-downward_2.entry.99fe9047.js +32 -0
  61. package/dist/swirl-icon-arrow-left_3.entry.8945401b.js +45 -0
  62. package/dist/swirl-icon-arrow-right-small.entry.d2877f67.js +19 -0
  63. package/dist/swirl-icon-aspect-ratio.entry.e0602463.js +19 -0
  64. package/dist/swirl-icon-attachment_6.entry.29e02102.js +84 -0
  65. package/dist/swirl-icon-autorenew.entry.c3ea1788.js +19 -0
  66. package/dist/swirl-icon-bar-chart.entry.9d5bddf0.js +19 -0
  67. package/dist/swirl-icon-beach-access-filled.entry.2493efd3.js +19 -0
  68. package/dist/swirl-icon-beach-access.entry.2eec0757.js +19 -0
  69. package/dist/swirl-icon-block.entry.34d1dd5c.js +19 -0
  70. package/dist/swirl-icon-bold.entry.6517aed7.js +19 -0
  71. package/dist/swirl-icon-bookmark-filled.entry.3ca07d93.js +19 -0
  72. package/dist/swirl-icon-bookmark.entry.629af808.js +19 -0
  73. package/dist/swirl-icon-calendar-add-on-filled.entry.e26f8108.js +19 -0
  74. package/dist/swirl-icon-calendar-respond.entry.ef89acda.js +19 -0
  75. package/dist/swirl-icon-calendar-today.entry.2aea3bae.js +19 -0
  76. package/dist/swirl-icon-call-end.entry.b9bda135.js +19 -0
  77. package/dist/swirl-icon-call.entry.8a310036.js +19 -0
  78. package/dist/swirl-icon-cancel-filled.entry.3009127d.js +19 -0
  79. package/dist/swirl-icon-cancel-outline.entry.8c8e4add.js +19 -0
  80. package/dist/swirl-icon-cancel_4.entry.1bc5e146.js +58 -0
  81. package/dist/swirl-icon-chat-bubble.entry.4682a9b9.js +19 -0
  82. package/dist/swirl-icon-chats-filled.entry.68e39520.js +19 -0
  83. package/dist/swirl-icon-chats.entry.3d605546.js +19 -0
  84. package/dist/swirl-icon-check-circle-filled.entry.888295b9.js +19 -0
  85. package/dist/swirl-icon-check-circle_2.entry.79cd1160.js +32 -0
  86. package/dist/swirl-icon-check-small_3.entry.86dfd2b1.js +78 -0
  87. package/dist/swirl-icon-check-strong.entry.7405a815.js +19 -0
  88. package/dist/swirl-icon-check.entry.a7ddad94.js +19 -0
  89. package/dist/swirl-icon-checkbox-filled.entry.69865b2b.js +19 -0
  90. package/dist/swirl-icon-chevron-left.entry.acbc72a4.js +19 -0
  91. package/dist/swirl-icon-chevron-right_2.entry.93732e18.js +32 -0
  92. package/dist/swirl-icon-close-fullscreen.entry.be98c7e6.js +19 -0
  93. package/dist/swirl-icon-close-small.entry.47c67957.js +19 -0
  94. package/dist/swirl-icon-close.entry.f43c80b8.js +19 -0
  95. package/dist/swirl-icon-cloud-upload.entry.d7f40f71.js +19 -0
  96. package/dist/swirl-icon-co-present.entry.b661f9d1.js +19 -0
  97. package/dist/swirl-icon-code.entry.59dc22f5.js +19 -0
  98. package/dist/swirl-icon-column.entry.9cb0eed7.js +19 -0
  99. package/dist/swirl-icon-comment.entry.53f69fc9.js +19 -0
  100. package/dist/swirl-icon-contract-edit.entry.8fda57fd.js +19 -0
  101. package/dist/swirl-icon-contrast.entry.eaa938bc.js +19 -0
  102. package/dist/swirl-icon-copy.entry.0f08fd97.js +19 -0
  103. package/dist/swirl-icon-crop.entry.8df648c9.js +19 -0
  104. package/dist/swirl-icon-dark-mode.entry.3b3c6332.js +19 -0
  105. package/dist/swirl-icon-data-object.entry.7ebabc92.js +19 -0
  106. package/dist/swirl-icon-date-range.entry.97c7b6b6.js +19 -0
  107. package/dist/swirl-icon-delete.entry.e5344e07.js +19 -0
  108. package/dist/swirl-icon-deployed-code.entry.dedba05e.js +19 -0
  109. package/dist/swirl-icon-description.entry.d55a2ea7.js +19 -0
  110. package/dist/swirl-icon-desktop.entry.34f0789a.js +19 -0
  111. package/dist/swirl-icon-destruction.entry.7c204538.js +19 -0
  112. package/dist/swirl-icon-directory-filled.entry.1b32248b.js +19 -0
  113. package/dist/swirl-icon-directory.entry.0183590a.js +19 -0
  114. package/dist/swirl-icon-discover.entry.5baaff9e.js +19 -0
  115. package/dist/swirl-icon-dock-left.entry.837d81ae.js +19 -0
  116. package/dist/swirl-icon-door-open.entry.fece5826.js +19 -0
  117. package/dist/swirl-icon-dot.entry.9b558f62.js +19 -0
  118. package/dist/swirl-icon-double-arrow-right.entry.657b5c7d.js +19 -0
  119. package/dist/swirl-icon-edit-note.entry.46aa2e0a.js +19 -0
  120. package/dist/swirl-icon-edit.entry.9639f5bb.js +19 -0
  121. package/dist/swirl-icon-emoji-mood.entry.4ff69f43.js +19 -0
  122. package/dist/swirl-icon-emoji-satisfied.entry.40e12cc5.js +19 -0
  123. package/dist/swirl-icon-emoji-symbols.entry.f5f75426.js +19 -0
  124. package/dist/swirl-icon-end-series.entry.3f87b6c3.js +19 -0
  125. package/dist/swirl-icon-error_3.entry.4ffe495d.js +59 -0
  126. package/dist/swirl-icon-expand-more.entry.69d6627b.js +19 -0
  127. package/dist/swirl-icon-experiment.entry.f0a69c59.js +19 -0
  128. package/dist/swirl-icon-fact-check.entry.b680a410.js +19 -0
  129. package/dist/swirl-icon-file.entry.18058802.js +19 -0
  130. package/dist/swirl-icon-filter.entry.97caac77.js +19 -0
  131. package/dist/swirl-icon-folder-shared.entry.fdf09c27.js +19 -0
  132. package/dist/swirl-icon-format-h-one.entry.7ef6618f.js +19 -0
  133. package/dist/swirl-icon-format-list-bulleted.entry.5607a45b.js +19 -0
  134. package/dist/swirl-icon-format-list-numbered.entry.a65c6dd0.js +19 -0
  135. package/dist/swirl-icon-forward.entry.f33f75d5.js +19 -0
  136. package/dist/swirl-icon-front-hand.entry.42c89229.js +19 -0
  137. package/dist/swirl-icon-gif.entry.359b1941.js +19 -0
  138. package/dist/swirl-icon-group-add.entry.6bd3552a.js +19 -0
  139. package/dist/swirl-icon-group-assign.entry.98092ad0.js +19 -0
  140. package/dist/swirl-icon-groups-filled.entry.610b892f.js +19 -0
  141. package/dist/swirl-icon-groups.entry.6a5b46b7.js +19 -0
  142. package/dist/swirl-icon-hamburger-menu.entry.e7641834.js +19 -0
  143. package/dist/swirl-icon-health-and-safety.entry.241ed066.js +19 -0
  144. package/dist/swirl-icon-help-filled.entry.7e567bd2.js +19 -0
  145. package/dist/swirl-icon-help.entry.4f694b57.js +19 -0
  146. package/dist/swirl-icon-highlight.entry.aec00164.js +19 -0
  147. package/dist/swirl-icon-history.entry.1c26ea75.js +19 -0
  148. package/dist/swirl-icon-home-filled.entry.9a20a281.js +19 -0
  149. package/dist/swirl-icon-home.entry.7e3b9dcb.js +19 -0
  150. package/dist/swirl-icon-hr-resting.entry.f2d56572.js +19 -0
  151. package/dist/swirl-icon-improve-text.entry.6c6e4031.js +19 -0
  152. package/dist/swirl-icon-info.entry.e776e05d.js +19 -0
  153. package/dist/swirl-icon-insert-below.entry.e3f058b8.js +19 -0
  154. package/dist/swirl-icon-insert-chart.entry.d1bb0a2c.js +19 -0
  155. package/dist/swirl-icon-insert-on-top.entry.6475c1ec.js +19 -0
  156. package/dist/swirl-icon-inventory-off.entry.48578a28.js +19 -0
  157. package/dist/swirl-icon-inventory.entry.47eca2e8.js +19 -0
  158. package/dist/swirl-icon-iphone.entry.a5a23849.js +19 -0
  159. package/dist/swirl-icon-italic.entry.57a88572.js +19 -0
  160. package/dist/swirl-icon-key.entry.c45e0d31.js +19 -0
  161. package/dist/swirl-icon-keyboard-hide.entry.f7a31ba5.js +19 -0
  162. package/dist/swirl-icon-keyboard.entry.7b1203e9.js +19 -0
  163. package/dist/swirl-icon-language.entry.71fa6793.js +19 -0
  164. package/dist/swirl-icon-light-mode.entry.b4464723.js +19 -0
  165. package/dist/swirl-icon-like.entry.f316ae78.js +19 -0
  166. package/dist/swirl-icon-link.entry.84edd819.js +19 -0
  167. package/dist/swirl-icon-list-alt-check.entry.cc33bbb2.js +19 -0
  168. package/dist/swirl-icon-live.entry.e70cf553.js +19 -0
  169. package/dist/swirl-icon-load.entry.4dd4fd9d.js +19 -0
  170. package/dist/swirl-icon-location-on.entry.a9b45a88.js +19 -0
  171. package/dist/swirl-icon-lock-open.entry.5a48d74e.js +19 -0
  172. package/dist/swirl-icon-lock-person.entry.f66e0ee7.js +19 -0
  173. package/dist/swirl-icon-lock.entry.2d2a4932.js +19 -0
  174. package/dist/swirl-icon-login.entry.229062e4.js +19 -0
  175. package/dist/swirl-icon-logout.entry.084c9aad.js +19 -0
  176. package/dist/swirl-icon-long-text.entry.8d2bce59.js +19 -0
  177. package/dist/swirl-icon-mail.entry.381aa92e.js +19 -0
  178. package/dist/swirl-icon-manage-accounts.entry.c88ae13e.js +19 -0
  179. package/dist/swirl-icon-mark-chat-read.entry.28157f1f.js +19 -0
  180. package/dist/swirl-icon-mark-chat-unread.entry.4d288b14.js +19 -0
  181. package/dist/swirl-icon-mark-email-read.entry.a45e07e1.js +19 -0
  182. package/dist/swirl-icon-mention.entry.8fa7f03c.js +19 -0
  183. package/dist/swirl-icon-menu-book-filled.entry.15a0521c.js +19 -0
  184. package/dist/swirl-icon-menu-filled.entry.19196255.js +19 -0
  185. package/dist/swirl-icon-menu.entry.be9fdfda.js +19 -0
  186. package/dist/swirl-icon-message.entry.98f4fc12.js +19 -0
  187. package/dist/swirl-icon-mic-off.entry.a8eb6da5.js +19 -0
  188. package/dist/swirl-icon-mic.entry.fa40ddb5.js +19 -0
  189. package/dist/swirl-icon-mobile-theft.entry.337ebf47.js +19 -0
  190. package/dist/swirl-icon-more-horizontal_2.entry.e647597a.js +41 -0
  191. package/dist/swirl-icon-more-vertikal.entry.63c04545.js +19 -0
  192. package/dist/swirl-icon-news-filled.entry.b09c227d.js +19 -0
  193. package/dist/swirl-icon-news-off.entry.4411fa6c.js +19 -0
  194. package/dist/swirl-icon-news.entry.5a9354d1.js +19 -0
  195. package/dist/swirl-icon-next-plan.entry.d3573bb2.js +19 -0
  196. package/dist/swirl-icon-note-stack-filled.entry.c558e700.js +19 -0
  197. package/dist/swirl-icon-note-stack.entry.6f798ebe.js +19 -0
  198. package/dist/swirl-icon-notifications-active.entry.9d0800cd.js +19 -0
  199. package/dist/swirl-icon-notifications-off.entry.60441ada.js +19 -0
  200. package/dist/swirl-icon-notifications.entry.b7e23569.js +19 -0
  201. package/dist/swirl-icon-open-in-full.entry.c7af5f73.js +19 -0
  202. package/dist/swirl-icon-passkey.entry.580579c1.js +19 -0
  203. package/dist/swirl-icon-password.entry.7d6b48e4.js +19 -0
  204. package/dist/swirl-icon-patient-list.entry.a3b27f1c.js +19 -0
  205. package/dist/swirl-icon-pause-circle.entry.dc9c04bc.js +19 -0
  206. package/dist/swirl-icon-pause.entry.933d5652.js +19 -0
  207. package/dist/swirl-icon-people-alt.entry.9ed3e3a7.js +19 -0
  208. package/dist/swirl-icon-person-check.entry.16b96003.js +19 -0
  209. package/dist/swirl-icon-person-off.entry.7e854d40.js +19 -0
  210. package/dist/swirl-icon-person-raised-hand.entry.0df1f45b.js +19 -0
  211. package/dist/swirl-icon-person.entry.bc305570.js +19 -0
  212. package/dist/swirl-icon-phone.entry.e193fbed.js +19 -0
  213. package/dist/swirl-icon-photo-camera.entry.57dc42b4.js +19 -0
  214. package/dist/swirl-icon-picture-in-picture.entry.d1d809d5.js +19 -0
  215. package/dist/swirl-icon-pin-off.entry.f97d4100.js +19 -0
  216. package/dist/swirl-icon-pin.entry.e71bb9b2.js +19 -0
  217. package/dist/swirl-icon-place.entry.1b035494.js +19 -0
  218. package/dist/swirl-icon-play-arrow.entry.326f9753.js +19 -0
  219. package/dist/swirl-icon-poll.entry.5ffc9a5c.js +19 -0
  220. package/dist/swirl-icon-post-approval.entry.cd910cdc.js +19 -0
  221. package/dist/swirl-icon-present.entry.98aff19c.js +19 -0
  222. package/dist/swirl-icon-preview.entry.1caa554b.js +19 -0
  223. package/dist/swirl-icon-print.entry.21dc1828.js +19 -0
  224. package/dist/swirl-icon-public-off.entry.385decf9.js +19 -0
  225. package/dist/swirl-icon-public.entry.a5ccba51.js +19 -0
  226. package/dist/swirl-icon-published-with-changes.entry.c5275304.js +19 -0
  227. package/dist/swirl-icon-qr-code-scanner.entry.6793be2e.js +19 -0
  228. package/dist/swirl-icon-ratio-four-to-three.entry.50f8864c.js +19 -0
  229. package/dist/swirl-icon-ratio-freeform.entry.1a908d2a.js +19 -0
  230. package/dist/swirl-icon-ratio-sixteen-to-nine.entry.94f8de00.js +19 -0
  231. package/dist/swirl-icon-ratio-square.entry.e27084fa.js +19 -0
  232. package/dist/swirl-icon-ratio-three-to-four.entry.2409806a.js +19 -0
  233. package/dist/swirl-icon-ratio-three-to-two.entry.6be78f80.js +19 -0
  234. package/dist/swirl-icon-recieved.entry.256f0a98.js +19 -0
  235. package/dist/swirl-icon-redo.entry.66f1655c.js +19 -0
  236. package/dist/swirl-icon-refresh.entry.a29cff3e.js +19 -0
  237. package/dist/swirl-icon-remove-circle.entry.8e52f1b8.js +19 -0
  238. package/dist/swirl-icon-remove-moderator.entry.bd54312b.js +19 -0
  239. package/dist/swirl-icon-repeat.entry.5c8d0949.js +19 -0
  240. package/dist/swirl-icon-reply.entry.c476a591.js +19 -0
  241. package/dist/swirl-icon-report.entry.cd815190.js +19 -0
  242. package/dist/swirl-icon-roadmap.entry.f46099c7.js +19 -0
  243. package/dist/swirl-icon-rocket-launch.entry.0cadfff9.js +19 -0
  244. package/dist/swirl-icon-rotate-left.entry.b1158141.js +19 -0
  245. package/dist/swirl-icon-rotate-right.entry.f944b200.js +19 -0
  246. package/dist/swirl-icon-school.entry.0a1fd9be.js +19 -0
  247. package/dist/swirl-icon-screenshare-off.entry.4a9a0bd2.js +19 -0
  248. package/dist/swirl-icon-screenshare.entry.80c195ae.js +19 -0
  249. package/dist/swirl-icon-search-strong.entry.6931397c.js +19 -0
  250. package/dist/swirl-icon-search.entry.aebf6e3b.js +19 -0
  251. package/dist/swirl-icon-section.entry.3440e29f.js +19 -0
  252. package/dist/swirl-icon-secure.entry.4dd6baba.js +19 -0
  253. package/dist/swirl-icon-security-check.entry.c541d6ed.js +19 -0
  254. package/dist/swirl-icon-security-warning.entry.a702a528.js +19 -0
  255. package/dist/swirl-icon-security.entry.b10a2fa9.js +19 -0
  256. package/dist/swirl-icon-select-edit.entry.981c5bea.js +19 -0
  257. package/dist/swirl-icon-select.entry.847fcf91.js +19 -0
  258. package/dist/swirl-icon-sell.entry.1eed0f52.js +19 -0
  259. package/dist/swirl-icon-send.entry.0279f7d0.js +19 -0
  260. package/dist/swirl-icon-settings.entry.0bb9b0cd.js +19 -0
  261. package/dist/swirl-icon-short-text.entry.64a2914f.js +19 -0
  262. package/dist/swirl-icon-simplify.entry.0f03b3ce.js +19 -0
  263. package/dist/swirl-icon-spellcheck.entry.36e4fbb6.js +19 -0
  264. package/dist/swirl-icon-stars.entry.c30621f8.js +19 -0
  265. package/dist/swirl-icon-sticky-note.entry.bec89aca.js +19 -0
  266. package/dist/swirl-icon-stop-circle.entry.453f75e5.js +19 -0
  267. package/dist/swirl-icon-stop.entry.a54c815e.js +19 -0
  268. package/dist/swirl-icon-strikethrough.entry.25b76beb.js +19 -0
  269. package/dist/swirl-icon-sunny.entry.df03bc32.js +19 -0
  270. package/dist/swirl-icon-swap-vert.entry.bcd62af6.js +19 -0
  271. package/dist/swirl-icon-sync.entry.86666757.js +19 -0
  272. package/dist/swirl-icon-tab-move.entry.3c8bf6b4.js +19 -0
  273. package/dist/swirl-icon-tasks-filled.entry.0b17660a.js +19 -0
  274. package/dist/swirl-icon-tasks.entry.1e086889.js +19 -0
  275. package/dist/swirl-icon-terminal.entry.a4cccaed.js +19 -0
  276. package/dist/swirl-icon-time-filled.entry.a0bf1944.js +19 -0
  277. package/dist/swirl-icon-time.entry.e495ee4e.js +19 -0
  278. package/dist/swirl-icon-today-filled.entry.819128eb.js +19 -0
  279. package/dist/swirl-icon-translate.entry.fc12efa1.js +19 -0
  280. package/dist/swirl-icon-tree-structure.entry.3fdd3415.js +19 -0
  281. package/dist/swirl-icon-underlined.entry.cbd96a8b.js +19 -0
  282. package/dist/swirl-icon-undo.entry.63f3d761.js +19 -0
  283. package/dist/swirl-icon-unlock-person.entry.4c48b315.js +19 -0
  284. package/dist/swirl-icon-upload.entry.20b58e9b.js +19 -0
  285. package/dist/swirl-icon-user-add.entry.40275ba7.js +19 -0
  286. package/dist/swirl-icon-user-assign.entry.8a90aa17.js +19 -0
  287. package/dist/swirl-icon-verified-user.entry.6a97f18c.js +19 -0
  288. package/dist/swirl-icon-video-camera-off.entry.ffdfbb26.js +19 -0
  289. package/dist/swirl-icon-video-camera.entry.3bf368cd.js +19 -0
  290. package/dist/swirl-icon-video-library.entry.d615213a.js +19 -0
  291. package/dist/swirl-icon-view-agenda.entry.36e7fd46.js +19 -0
  292. package/dist/swirl-icon-voice.entry.5463ce98.js +19 -0
  293. package/dist/swirl-icon-volume-off.entry.e0b78fb5.js +19 -0
  294. package/dist/swirl-icon-volume-up.entry.af91d1d8.js +19 -0
  295. package/dist/swirl-icon-waving-hand.entry.94e8caf1.js +19 -0
  296. package/dist/swirl-icon-web-asset-off.entry.02902d3a.js +19 -0
  297. package/dist/swirl-icon-web-asset.entry.2cbeac9e.js +19 -0
  298. package/dist/swirl-icon-work.entry.fb293ad9.js +19 -0
  299. package/dist/swirl-icon-workspace-premium.entry.81da9ab8.js +19 -0
  300. package/dist/swirl-icon-zoom-in.entry.dccc1972.js +19 -0
  301. package/dist/swirl-icon-zoom-out.entry.da6ff2b4.js +19 -0
  302. package/dist/swirl-icon.entry.3d48d818.js +17 -0
  303. package/dist/swirl-illustration-absence.entry.30dad437.js +15 -0
  304. package/dist/swirl-illustration-bookmarks.entry.ec687c5d.js +15 -0
  305. package/dist/swirl-illustration-calendar.entry.b0bafd28.js +15 -0
  306. package/dist/swirl-illustration-celebrate.entry.d9eea89a.js +15 -0
  307. package/dist/swirl-illustration-chat-messages.entry.84f96c4b.js +15 -0
  308. package/dist/swirl-illustration-chat-security.entry.bc193fae.js +15 -0
  309. package/dist/swirl-illustration-completed-task.entry.4c1fb635.js +15 -0
  310. package/dist/swirl-illustration-construction.entry.452e363c.js +15 -0
  311. package/dist/swirl-illustration-contrast.entry.901f402c.js +15 -0
  312. package/dist/swirl-illustration-directory.entry.d0c76174.js +15 -0
  313. package/dist/swirl-illustration-door.entry.8e26f3ff.js +15 -0
  314. package/dist/swirl-illustration-empty-folder.entry.0150399d.js +15 -0
  315. package/dist/swirl-illustration-invites-declined.entry.3d10fcb9.js +15 -0
  316. package/dist/swirl-illustration-invites.entry.d58173cd.js +15 -0
  317. package/dist/swirl-illustration-key.entry.ca778bb1.js +15 -0
  318. package/dist/swirl-illustration-keyboard.entry.6832b5cc.js +15 -0
  319. package/dist/swirl-illustration-light.entry.7185515e.js +15 -0
  320. package/dist/swirl-illustration-mail.entry.39e5ec39.js +15 -0
  321. package/dist/swirl-illustration-maintenance.entry.0c0492ba.js +15 -0
  322. package/dist/swirl-illustration-meteor.entry.923ca0a1.js +15 -0
  323. package/dist/swirl-illustration-moon.entry.85b4f493.js +15 -0
  324. package/dist/swirl-illustration-news.entry.6268bcab.js +15 -0
  325. package/dist/swirl-illustration-no-notifications.entry.f11328e1.js +15 -0
  326. package/dist/swirl-illustration-notification.entry.1b250371.js +15 -0
  327. package/dist/swirl-illustration-paper-roll.entry.ac49fda4.js +15 -0
  328. package/dist/swirl-illustration-pending.entry.903d3c2d.js +15 -0
  329. package/dist/swirl-illustration-profile.entry.a1b743fc.js +15 -0
  330. package/dist/swirl-illustration-root.entry.1aa13007.js +15 -0
  331. package/dist/swirl-illustration-search.entry.5ca376d6.js +15 -0
  332. package/dist/swirl-illustration-shifts.entry.ade38b2a.js +15 -0
  333. package/dist/swirl-illustration-sorry.entry.7b610821.js +15 -0
  334. package/dist/swirl-illustration-start.entry.5f37b4b9.js +15 -0
  335. package/dist/swirl-illustration-tasks.entry.beac4b80.js +15 -0
  336. package/dist/swirl-illustration-warning-sign.entry.e866bba2.js +15 -0
  337. package/dist/swirl-illustration-wave.entry.112efa76.js +15 -0
  338. package/dist/swirl-illustration.entry.ad158304.js +16 -0
  339. package/dist/swirl-image-grid-item.entry.1c307383.js +95 -0
  340. package/dist/swirl-image-grid.entry.09dc2747.js +51 -0
  341. package/dist/swirl-inline-notification.entry.4f087e80.js +17 -0
  342. package/dist/swirl-inline-status.entry.26d79bca.js +37 -0
  343. package/dist/swirl-lightbox.entry.f9023538.js +155 -0
  344. package/dist/swirl-link.entry.84f4e22a.js +17 -0
  345. package/dist/swirl-list.entry.8f920d47.js +18 -0
  346. package/dist/swirl-menu-item.entry.af2c9873.js +86 -0
  347. package/dist/swirl-menu.entry.aa3aa558.js +184 -0
  348. package/dist/swirl-modal-shell.entry.00fa6391.js +45 -0
  349. package/dist/swirl-modal.entry.4bfbd590.js +186 -0
  350. package/dist/swirl-option-list-section.entry.03ac2fee.js +15 -0
  351. package/dist/swirl-option-list.entry.dbac3d96.js +264 -0
  352. package/dist/swirl-pagination.entry.534f6016.js +38 -0
  353. package/dist/swirl-pdf-reader.entry.50726247.js +120 -0
  354. package/dist/swirl-popover_2.entry.4edc713e.js +336 -0
  355. package/dist/swirl-radio-group.entry.55d3be6d.js +50 -0
  356. package/dist/swirl-radio.entry.c0a92708.js +27 -0
  357. package/dist/swirl-resource-list-file-item.entry.a8fac9bd.js +39 -0
  358. package/dist/swirl-resource-list-item.entry.fb0211d2.js +99 -0
  359. package/dist/swirl-resource-list-section.entry.09fcfc7b.js +19 -0
  360. package/dist/swirl-resource-list.entry.962035b1.js +161 -0
  361. package/dist/swirl-search.entry.94b868aa.js +51 -0
  362. package/dist/swirl-select.entry.33f5daa6.js +145 -0
  363. package/dist/swirl-separator.entry.9d78dea8.js +29 -0
  364. package/dist/swirl-shell-layout.entry.e5b09a5f.js +686 -0
  365. package/dist/swirl-shell-navigation-item.entry.5d0d5b00.js +46 -0
  366. package/dist/swirl-skeleton-box.entry.50808485.js +24 -0
  367. package/dist/swirl-skeleton-text.entry.7d7a523b.js +17 -0
  368. package/dist/swirl-stack.entry.e8d62be6.js +21 -0
  369. package/dist/swirl-status-indicator.entry.e6375bf7.js +17 -0
  370. package/dist/swirl-switch.entry.537928c6.js +30 -0
  371. package/dist/swirl-symbol-ac-unit.entry.6ed57e21.js +17 -0
  372. package/dist/swirl-symbol-account-circle.entry.696b456e.js +17 -0
  373. package/dist/swirl-symbol-alternate-email.entry.3d596158.js +17 -0
  374. package/dist/swirl-symbol-android.entry.c308f13f.js +17 -0
  375. package/dist/swirl-symbol-announcement.entry.aa949c90.js +17 -0
  376. package/dist/swirl-symbol-autorenew.entry.4c799ada.js +17 -0
  377. package/dist/swirl-symbol-backup.entry.22315ae0.js +17 -0
  378. package/dist/swirl-symbol-badge.entry.9b2c4dcd.js +17 -0
  379. package/dist/swirl-symbol-barcode-reader.entry.ce3bfec8.js +17 -0
  380. package/dist/swirl-symbol-barcode-scanner.entry.4427f08d.js +17 -0
  381. package/dist/swirl-symbol-battery-horiz.entry.914abcbb.js +17 -0
  382. package/dist/swirl-symbol-beach-access.entry.31423387.js +17 -0
  383. package/dist/swirl-symbol-bolt.entry.6c4d7446.js +17 -0
  384. package/dist/swirl-symbol-bookmark.entry.0f87e716.js +17 -0
  385. package/dist/swirl-symbol-calendar.entry.fcd760e1.js +17 -0
  386. package/dist/swirl-symbol-campaign.entry.5215c515.js +17 -0
  387. package/dist/swirl-symbol-cards-star.entry.1b69664c.js +17 -0
  388. package/dist/swirl-symbol-cloud.entry.c1bfff6b.js +17 -0
  389. package/dist/swirl-symbol-construction.entry.70209853.js +17 -0
  390. package/dist/swirl-symbol-contacts.entry.bceda374.js +17 -0
  391. package/dist/swirl-symbol-coronavirus.entry.fe1f1c20.js +17 -0
  392. package/dist/swirl-symbol-design-services.entry.e78af95e.js +17 -0
  393. package/dist/swirl-symbol-desktop-windows.entry.62a906a1.js +17 -0
  394. package/dist/swirl-symbol-directions-car-filled.entry.7f0559fd.js +17 -0
  395. package/dist/swirl-symbol-diversity.entry.03841012.js +17 -0
  396. package/dist/swirl-symbol-draw.entry.8c1a25bb.js +17 -0
  397. package/dist/swirl-symbol-edit-calendar.entry.0a9dce2a.js +17 -0
  398. package/dist/swirl-symbol-email.entry.5ccaa1fd.js +17 -0
  399. package/dist/swirl-symbol-emergency.entry.1ebdfd63.js +17 -0
  400. package/dist/swirl-symbol-emoji-food-beverage.entry.ff57c472.js +17 -0
  401. package/dist/swirl-symbol-engineering.entry.cbf08a1a.js +17 -0
  402. package/dist/swirl-symbol-event-menu.entry.2666facd.js +17 -0
  403. package/dist/swirl-symbol-explore.entry.315ba753.js +17 -0
  404. package/dist/swirl-symbol-extension.entry.21f08469.js +17 -0
  405. package/dist/swirl-symbol-facebook.entry.9e369b41.js +17 -0
  406. package/dist/swirl-symbol-favorite.entry.95b010a6.js +17 -0
  407. package/dist/swirl-symbol-fitness-center.entry.6960b744.js +17 -0
  408. package/dist/swirl-symbol-flag.entry.7af3f645.js +17 -0
  409. package/dist/swirl-symbol-flight.entry.ef4f5916.js +17 -0
  410. package/dist/swirl-symbol-folder.entry.355c989d.js +17 -0
  411. package/dist/swirl-symbol-globe.entry.98b01634.js +17 -0
  412. package/dist/swirl-symbol-groups.entry.7d8d2a23.js +17 -0
  413. package/dist/swirl-symbol-healing.entry.40adb43c.js +17 -0
  414. package/dist/swirl-symbol-health-and-safety.entry.e993b397.js +17 -0
  415. package/dist/swirl-symbol-help.entry.5da75b4d.js +17 -0
  416. package/dist/swirl-symbol-home-repair-service.entry.e4e86588.js +17 -0
  417. package/dist/swirl-symbol-home-storage.entry.9211e333.js +17 -0
  418. package/dist/swirl-symbol-id-card.entry.f6f7fe3b.js +17 -0
  419. package/dist/swirl-symbol-image.entry.af9bee63.js +17 -0
  420. package/dist/swirl-symbol-info-menu.entry.f9d135ff.js +17 -0
  421. package/dist/swirl-symbol-instagram.entry.109fafe6.js +17 -0
  422. package/dist/swirl-symbol-inventory-2.entry.95ad4921.js +17 -0
  423. package/dist/swirl-symbol-inventory.entry.11ac331a.js +17 -0
  424. package/dist/swirl-symbol-ios.entry.274227d7.js +17 -0
  425. package/dist/swirl-symbol-key.entry.04b8c6ed.js +17 -0
  426. package/dist/swirl-symbol-language.entry.02cbc971.js +17 -0
  427. package/dist/swirl-symbol-leaderboard.entry.196e0412.js +17 -0
  428. package/dist/swirl-symbol-lightbulb.entry.308b84ad.js +17 -0
  429. package/dist/swirl-symbol-linkedin.entry.96a21f40.js +17 -0
  430. package/dist/swirl-symbol-local-shipping.entry.8b90395f.js +17 -0
  431. package/dist/swirl-symbol-location-on.entry.9a6d538f.js +17 -0
  432. package/dist/swirl-symbol-loyalty.entry.92413a9a.js +17 -0
  433. package/dist/swirl-symbol-map.entry.702bc3c6.js +17 -0
  434. package/dist/swirl-symbol-maps-home-work.entry.06d01762.js +17 -0
  435. package/dist/swirl-symbol-menu-book.entry.e9542423.js +17 -0
  436. package/dist/swirl-symbol-mop.entry.1e1ef749.js +17 -0
  437. package/dist/swirl-symbol-nest-eco-leaf.entry.00e2f319.js +17 -0
  438. package/dist/swirl-symbol-notifications.entry.19b58f6f.js +17 -0
  439. package/dist/swirl-symbol-open-in-new.entry.992820a2.js +17 -0
  440. package/dist/swirl-symbol-orders.entry.ec35cc1b.js +17 -0
  441. package/dist/swirl-symbol-package.entry.39a0a26f.js +17 -0
  442. package/dist/swirl-symbol-palette.entry.f1040dbe.js +17 -0
  443. package/dist/swirl-symbol-partly-cloudy-day.entry.37c3e7d9.js +17 -0
  444. package/dist/swirl-symbol-pedal-bike.entry.127c8558.js +17 -0
  445. package/dist/swirl-symbol-percent-discount.entry.2b5c2271.js +17 -0
  446. package/dist/swirl-symbol-pets.entry.cee1d70e.js +17 -0
  447. package/dist/swirl-symbol-pinterest.entry.4f3cf67a.js +17 -0
  448. package/dist/swirl-symbol-point-of-sale.entry.a2653e2d.js +17 -0
  449. package/dist/swirl-symbol-policy.entry.17336236.js +17 -0
  450. package/dist/swirl-symbol-precision-manufacturing.entry.985026c8.js +17 -0
  451. package/dist/swirl-symbol-print.entry.dd19b04d.js +17 -0
  452. package/dist/swirl-symbol-push-pin.entry.09a49552.js +17 -0
  453. package/dist/swirl-symbol-qr-code-scanner.entry.4228fb24.js +17 -0
  454. package/dist/swirl-symbol-recycling.entry.e48d5c16.js +17 -0
  455. package/dist/swirl-symbol-redeem.entry.79d8c038.js +17 -0
  456. package/dist/swirl-symbol-report-problem.entry.c0593db1.js +17 -0
  457. package/dist/swirl-symbol-restaurant.entry.e9e1156a.js +17 -0
  458. package/dist/swirl-symbol-roadmap.entry.6910e469.js +17 -0
  459. package/dist/swirl-symbol-rocket-launch.entry.8b603379.js +17 -0
  460. package/dist/swirl-symbol-room.entry.f4cbf519.js +17 -0
  461. package/dist/swirl-symbol-savings.entry.11419786.js +17 -0
  462. package/dist/swirl-symbol-school.entry.e516861a.js +17 -0
  463. package/dist/swirl-symbol-sell.entry.29f3054b.js +17 -0
  464. package/dist/swirl-symbol-settings-voice.entry.947933f9.js +17 -0
  465. package/dist/swirl-symbol-shopping-bag.entry.465ea688.js +17 -0
  466. package/dist/swirl-symbol-shopping-cart.entry.fad0e0da.js +17 -0
  467. package/dist/swirl-symbol-smartphone.entry.af13cb6c.js +17 -0
  468. package/dist/swirl-symbol-spa.entry.a39c5bcb.js +17 -0
  469. package/dist/swirl-symbol-sports-soccer.entry.5bad4edf.js +17 -0
  470. package/dist/swirl-symbol-star.entry.230c0f2b.js +17 -0
  471. package/dist/swirl-symbol-supervisor-account.entry.add10e2a.js +17 -0
  472. package/dist/swirl-symbol-task.entry.f406d00a.js +17 -0
  473. package/dist/swirl-symbol-tasks.entry.55202985.js +17 -0
  474. package/dist/swirl-symbol-thumbs-up-down.entry.b630d61c.js +17 -0
  475. package/dist/swirl-symbol-timer.entry.7e796740.js +17 -0
  476. package/dist/swirl-symbol-tools-power-drill.entry.29cd119a.js +17 -0
  477. package/dist/swirl-symbol-train.entry.74737591.js +17 -0
  478. package/dist/swirl-symbol-trophy.entry.1ffa7db8.js +17 -0
  479. package/dist/swirl-symbol-twitter.entry.1009c912.js +17 -0
  480. package/dist/swirl-symbol-video.entry.6bc42483.js +17 -0
  481. package/dist/swirl-symbol-warehouse.entry.3ef6cc54.js +17 -0
  482. package/dist/swirl-symbol-water-drop.entry.77441ad0.js +17 -0
  483. package/dist/swirl-symbol-wb-sunny.entry.c72f832e.js +17 -0
  484. package/dist/swirl-symbol-wechat.entry.7dba0523.js +17 -0
  485. package/dist/swirl-symbol-weibo.entry.51568e26.js +17 -0
  486. package/dist/swirl-symbol-wifi.entry.f0a05208.js +17 -0
  487. package/dist/swirl-symbol-work.entry.e77f8fdc.js +17 -0
  488. package/dist/swirl-symbol-xing.entry.cab5f1bc.js +17 -0
  489. package/dist/swirl-symbol-youtube.entry.7964cf8b.js +17 -0
  490. package/dist/swirl-symbol.entry.2ce6757a.js +16 -0
  491. package/dist/swirl-tab-bar.entry.e6a38499.js +67 -0
  492. package/dist/swirl-tab.entry.f1524ab9.js +17 -0
  493. package/dist/swirl-table-cell.entry.480d0a95.js +15 -0
  494. package/dist/swirl-table-column.entry.f5b6a603.js +34 -0
  495. package/dist/swirl-table-row-group.entry.6ecec12d.js +35 -0
  496. package/dist/swirl-table-row.entry.a2b59d8c.js +27 -0
  497. package/dist/swirl-table.entry.ed6bccd1.js +1751 -0
  498. package/dist/swirl-tabs.entry.583a2403.js +65 -0
  499. package/dist/swirl-tag.entry.a7bc2507.js +45 -0
  500. package/dist/swirl-text-input.entry.543657d0.js +93 -0
  501. package/dist/swirl-text.entry.176c876e.js +299 -0
  502. package/dist/swirl-theme-provider.entry.b46b13f8.js +96 -0
  503. package/dist/swirl-thumbnail.entry.daedf941.js +45 -0
  504. package/dist/swirl-time-input.entry.d5295e89.js +140 -0
  505. package/dist/swirl-toast-provider.entry.2b1dd935.js +82 -0
  506. package/dist/swirl-toast.entry.1f4f0ff8.js +67 -0
  507. package/dist/swirl-toggle-button.entry.fbddbb4b.js +21 -0
  508. package/dist/swirl-toggle-group.entry.7d4b6791.js +62 -0
  509. package/dist/swirl-toolbar.entry.53623a87.js +56 -0
  510. package/dist/swirl-tooltip.entry.838c3416.js +118 -0
  511. package/dist/swirl-tree-navigation-item.entry.7dedfeeb.js +73 -0
  512. package/dist/swirl-tree-navigation.entry.57049ac1.js +15 -0
  513. package/dist/swirl-tree-view-item.entry.971cfeee.js +205 -0
  514. package/dist/swirl-tree-view.entry.bb96e82d.js +222 -0
  515. package/dist/swirl-video-thumbnail.entry.ab9d566b.js +15 -0
  516. package/dist/swirl-visually-hidden.entry.af4bba6b.js +15 -0
  517. package/dist/wc-datepicker.entry.1b438632.js +380 -0
  518. package/package.json +3 -3
  519. package/dist/index.40f84ddd.js +0 -5107
  520. package/dist/swirl-accordion-item.entry.080b6017.js +0 -37
  521. package/dist/swirl-accordion.entry.ccc8d30b.js +0 -42
  522. package/dist/swirl-action-list-section.entry.66d7ac8a.js +0 -15
  523. package/dist/swirl-action-list_2.entry.98b2525e.js +0 -113
  524. package/dist/swirl-app-bar.entry.cba1450d.js +0 -49
  525. package/dist/swirl-app-icon.entry.cca94b67.js +0 -30
  526. package/dist/swirl-app-layout.entry.ca8eccfa.js +0 -212
  527. package/dist/swirl-autocomplete.entry.e523e30d.js +0 -117
  528. package/dist/swirl-avatar-group.entry.6d394790.js +0 -41
  529. package/dist/swirl-avatar.entry.6f163a36.js +0 -72
  530. package/dist/swirl-badge.entry.7d901d54.js +0 -19
  531. package/dist/swirl-banner.entry.524d599a.js +0 -51
  532. package/dist/swirl-box.entry.15d8a828.js +0 -118
  533. package/dist/swirl-button-group.entry.3ed6401f.js +0 -19
  534. package/dist/swirl-button.entry.1494cdbf.js +0 -61
  535. package/dist/swirl-card.entry.c27ac0f5.js +0 -50
  536. package/dist/swirl-carousel-slide.entry.7ddfcfd0.js +0 -23
  537. package/dist/swirl-carousel.entry.87cc38fb.js +0 -91
  538. package/dist/swirl-checkbox.entry.76e079e4.js +0 -28
  539. package/dist/swirl-chip.entry.651bc746.js +0 -40
  540. package/dist/swirl-color-input.entry.d1d2abf7.js +0 -271
  541. package/dist/swirl-columns.entry.8959e8de.js +0 -18
  542. package/dist/swirl-console-layout.entry.38c7fc91.js +0 -93
  543. package/dist/swirl-data-cell-stack.entry.6bf3c8d9.js +0 -24
  544. package/dist/swirl-data-cell.entry.178f9caa.js +0 -34
  545. package/dist/swirl-date-input.entry.c4f7fa01.js +0 -147
  546. package/dist/swirl-date-picker_2.entry.b5ed1200.js +0 -48
  547. package/dist/swirl-description-list-item.entry.f6a5e18f.js +0 -24
  548. package/dist/swirl-description-list.entry.519f3c5d.js +0 -15
  549. package/dist/swirl-dialog.entry.f20b42cd.js +0 -80
  550. package/dist/swirl-emoji-clap.entry.54e5d4da.js +0 -17
  551. package/dist/swirl-emoji-happy.entry.09d07f8b.js +0 -17
  552. package/dist/swirl-emoji-idea.entry.7ed87e47.js +0 -17
  553. package/dist/swirl-emoji-love.entry.117c72d0.js +0 -17
  554. package/dist/swirl-emoji-sad.entry.258f018c.js +0 -17
  555. package/dist/swirl-emoji-thumbs-up.entry.e3c3b068.js +0 -17
  556. package/dist/swirl-emoji.entry.ea77d2b8.js +0 -16
  557. package/dist/swirl-empty-state.entry.5ce33c74.js +0 -23
  558. package/dist/swirl-file-chip.entry.63d8a8c6.js +0 -67
  559. package/dist/swirl-file-uploader.entry.7879ad3a.js +0 -31
  560. package/dist/swirl-file-viewer-audio_7.entry.b244dcab.js +0 -18871
  561. package/dist/swirl-file-viewer_7.entry.ee356e87.js +0 -115
  562. package/dist/swirl-form-control.entry.95f754fe.js +0 -124
  563. package/dist/swirl-form-group.entry.4c282e66.js +0 -17
  564. package/dist/swirl-heading.entry.094e707f.js +0 -26
  565. package/dist/swirl-icon-add-box.entry.c690a1b7.js +0 -19
  566. package/dist/swirl-icon-add-moderator.entry.89d28ae8.js +0 -19
  567. package/dist/swirl-icon-add-photo.entry.6a7f22ce.js +0 -19
  568. package/dist/swirl-icon-add-reaction.entry.1cd192fb.js +0 -19
  569. package/dist/swirl-icon-admin-panel-settings.entry.f7c81a1c.js +0 -19
  570. package/dist/swirl-icon-ai-filled.entry.5c9bb7b9.js +0 -19
  571. package/dist/swirl-icon-ai.entry.9d9027bb.js +0 -19
  572. package/dist/swirl-icon-api.entry.aadfc2fd.js +0 -19
  573. package/dist/swirl-icon-apparel.entry.1e905ce1.js +0 -19
  574. package/dist/swirl-icon-apps.entry.cca7b0b4.js +0 -19
  575. package/dist/swirl-icon-arrow-back_5.entry.3e98db8e.js +0 -71
  576. package/dist/swirl-icon-arrow-downward_2.entry.c6b7993e.js +0 -32
  577. package/dist/swirl-icon-arrow-left_3.entry.13ed016a.js +0 -45
  578. package/dist/swirl-icon-arrow-right-small.entry.529a172c.js +0 -19
  579. package/dist/swirl-icon-aspect-ratio.entry.1bdb6bad.js +0 -19
  580. package/dist/swirl-icon-attachment_6.entry.4fc16985.js +0 -84
  581. package/dist/swirl-icon-autorenew.entry.9a17cb1a.js +0 -19
  582. package/dist/swirl-icon-bar-chart.entry.2f36e24f.js +0 -19
  583. package/dist/swirl-icon-beach-access-filled.entry.d5d3bc1a.js +0 -19
  584. package/dist/swirl-icon-beach-access.entry.72846326.js +0 -19
  585. package/dist/swirl-icon-block.entry.8605f7d1.js +0 -19
  586. package/dist/swirl-icon-bold.entry.050ec8ba.js +0 -19
  587. package/dist/swirl-icon-bookmark-filled.entry.10a0d358.js +0 -19
  588. package/dist/swirl-icon-bookmark.entry.099adb94.js +0 -19
  589. package/dist/swirl-icon-calendar-add-on-filled.entry.81c674bb.js +0 -19
  590. package/dist/swirl-icon-calendar-respond.entry.818b5e71.js +0 -19
  591. package/dist/swirl-icon-calendar-today.entry.affb89d6.js +0 -19
  592. package/dist/swirl-icon-call-end.entry.11da0d30.js +0 -19
  593. package/dist/swirl-icon-call.entry.3a05b706.js +0 -19
  594. package/dist/swirl-icon-cancel-filled.entry.6f1390af.js +0 -19
  595. package/dist/swirl-icon-cancel-outline.entry.992f123c.js +0 -19
  596. package/dist/swirl-icon-cancel_4.entry.69970e3d.js +0 -58
  597. package/dist/swirl-icon-chat-bubble.entry.349d260a.js +0 -19
  598. package/dist/swirl-icon-chats-filled.entry.f9bd8d7d.js +0 -19
  599. package/dist/swirl-icon-chats.entry.25681e21.js +0 -19
  600. package/dist/swirl-icon-check-circle-filled.entry.e0776348.js +0 -19
  601. package/dist/swirl-icon-check-circle_2.entry.15d3440a.js +0 -32
  602. package/dist/swirl-icon-check-small_3.entry.87c31a31.js +0 -78
  603. package/dist/swirl-icon-check-strong.entry.aa2ec79f.js +0 -19
  604. package/dist/swirl-icon-check.entry.7f143eb0.js +0 -19
  605. package/dist/swirl-icon-checkbox-filled.entry.e76813d7.js +0 -19
  606. package/dist/swirl-icon-chevron-left.entry.2128a0cd.js +0 -19
  607. package/dist/swirl-icon-chevron-right_2.entry.7cf81be9.js +0 -32
  608. package/dist/swirl-icon-close-fullscreen.entry.6e1b2bb6.js +0 -19
  609. package/dist/swirl-icon-close-small.entry.8ddbb40b.js +0 -19
  610. package/dist/swirl-icon-close.entry.83413f5e.js +0 -19
  611. package/dist/swirl-icon-cloud-upload.entry.fd4c1728.js +0 -19
  612. package/dist/swirl-icon-co-present.entry.7cb202b8.js +0 -19
  613. package/dist/swirl-icon-code.entry.3e7eb739.js +0 -19
  614. package/dist/swirl-icon-column.entry.63d6cf9e.js +0 -19
  615. package/dist/swirl-icon-comment.entry.a030f428.js +0 -19
  616. package/dist/swirl-icon-contract-edit.entry.4d0a78a9.js +0 -19
  617. package/dist/swirl-icon-contrast.entry.4725d215.js +0 -19
  618. package/dist/swirl-icon-copy.entry.c94b45f8.js +0 -19
  619. package/dist/swirl-icon-crop.entry.9d5a0255.js +0 -19
  620. package/dist/swirl-icon-dark-mode.entry.148b4184.js +0 -19
  621. package/dist/swirl-icon-data-object.entry.6e8d3d83.js +0 -19
  622. package/dist/swirl-icon-date-range.entry.a3a9c8e0.js +0 -19
  623. package/dist/swirl-icon-delete.entry.fc37ccc9.js +0 -19
  624. package/dist/swirl-icon-deployed-code.entry.cdd554ed.js +0 -19
  625. package/dist/swirl-icon-description.entry.2886a699.js +0 -19
  626. package/dist/swirl-icon-desktop.entry.157bc30d.js +0 -19
  627. package/dist/swirl-icon-destruction.entry.4b42e44c.js +0 -19
  628. package/dist/swirl-icon-directory-filled.entry.50178cf7.js +0 -19
  629. package/dist/swirl-icon-directory.entry.4d4055ad.js +0 -19
  630. package/dist/swirl-icon-discover.entry.d7d445c6.js +0 -19
  631. package/dist/swirl-icon-dock-left.entry.887754d0.js +0 -19
  632. package/dist/swirl-icon-door-open.entry.2e44b1b9.js +0 -19
  633. package/dist/swirl-icon-dot.entry.7ac2dff8.js +0 -19
  634. package/dist/swirl-icon-double-arrow-right.entry.f62f6f4b.js +0 -19
  635. package/dist/swirl-icon-edit-note.entry.6e5861da.js +0 -19
  636. package/dist/swirl-icon-edit.entry.061922e8.js +0 -19
  637. package/dist/swirl-icon-emoji-mood.entry.ab0bfb16.js +0 -19
  638. package/dist/swirl-icon-emoji-satisfied.entry.6023fc9d.js +0 -19
  639. package/dist/swirl-icon-emoji-symbols.entry.0282dfda.js +0 -19
  640. package/dist/swirl-icon-end-series.entry.5ed5f970.js +0 -19
  641. package/dist/swirl-icon-error_3.entry.ed58122f.js +0 -59
  642. package/dist/swirl-icon-expand-more.entry.beac9767.js +0 -19
  643. package/dist/swirl-icon-experiment.entry.fa187768.js +0 -19
  644. package/dist/swirl-icon-fact-check.entry.e53d16b5.js +0 -19
  645. package/dist/swirl-icon-file.entry.72dcbb4b.js +0 -19
  646. package/dist/swirl-icon-filter.entry.91ec41c3.js +0 -19
  647. package/dist/swirl-icon-folder-shared.entry.fb109819.js +0 -19
  648. package/dist/swirl-icon-format-h-one.entry.5fc30825.js +0 -19
  649. package/dist/swirl-icon-format-list-bulleted.entry.299c5074.js +0 -19
  650. package/dist/swirl-icon-format-list-numbered.entry.fc8d2605.js +0 -19
  651. package/dist/swirl-icon-forward.entry.9de76939.js +0 -19
  652. package/dist/swirl-icon-front-hand.entry.1307a4e0.js +0 -19
  653. package/dist/swirl-icon-gif.entry.00eff81e.js +0 -19
  654. package/dist/swirl-icon-group-add.entry.e2b8aba1.js +0 -19
  655. package/dist/swirl-icon-group-assign.entry.0c36af65.js +0 -19
  656. package/dist/swirl-icon-groups-filled.entry.05769de1.js +0 -19
  657. package/dist/swirl-icon-groups.entry.14b194d6.js +0 -19
  658. package/dist/swirl-icon-hamburger-menu.entry.4caefbee.js +0 -19
  659. package/dist/swirl-icon-health-and-safety.entry.95463b39.js +0 -19
  660. package/dist/swirl-icon-help-filled.entry.4b7d020a.js +0 -19
  661. package/dist/swirl-icon-help.entry.e5f2c5dc.js +0 -19
  662. package/dist/swirl-icon-highlight.entry.fe00f8bc.js +0 -19
  663. package/dist/swirl-icon-history.entry.45de0848.js +0 -19
  664. package/dist/swirl-icon-home-filled.entry.84fd869f.js +0 -19
  665. package/dist/swirl-icon-home.entry.5ce8f15f.js +0 -19
  666. package/dist/swirl-icon-hr-resting.entry.99b051c7.js +0 -19
  667. package/dist/swirl-icon-improve-text.entry.df76ad94.js +0 -19
  668. package/dist/swirl-icon-info.entry.3b3c8a21.js +0 -19
  669. package/dist/swirl-icon-insert-below.entry.cf031804.js +0 -19
  670. package/dist/swirl-icon-insert-chart.entry.8a804893.js +0 -19
  671. package/dist/swirl-icon-insert-on-top.entry.a9924855.js +0 -19
  672. package/dist/swirl-icon-inventory-off.entry.b0434e3f.js +0 -19
  673. package/dist/swirl-icon-inventory.entry.1009ebda.js +0 -19
  674. package/dist/swirl-icon-iphone.entry.e30845ef.js +0 -19
  675. package/dist/swirl-icon-italic.entry.f5b590b8.js +0 -19
  676. package/dist/swirl-icon-key.entry.446007da.js +0 -19
  677. package/dist/swirl-icon-keyboard-hide.entry.9d3bbf45.js +0 -19
  678. package/dist/swirl-icon-keyboard.entry.26079326.js +0 -19
  679. package/dist/swirl-icon-language.entry.805925b0.js +0 -19
  680. package/dist/swirl-icon-light-mode.entry.cebf384d.js +0 -19
  681. package/dist/swirl-icon-like.entry.a6ccdc5b.js +0 -19
  682. package/dist/swirl-icon-link.entry.b3cba0aa.js +0 -19
  683. package/dist/swirl-icon-list-alt-check.entry.abb5a0dd.js +0 -19
  684. package/dist/swirl-icon-live.entry.2e552e45.js +0 -19
  685. package/dist/swirl-icon-load.entry.22177f67.js +0 -19
  686. package/dist/swirl-icon-location-on.entry.6894f371.js +0 -19
  687. package/dist/swirl-icon-lock-open.entry.f9f7af02.js +0 -19
  688. package/dist/swirl-icon-lock-person.entry.dc4e16bb.js +0 -19
  689. package/dist/swirl-icon-lock.entry.f8f7b99c.js +0 -19
  690. package/dist/swirl-icon-login.entry.930d646a.js +0 -19
  691. package/dist/swirl-icon-logout.entry.2715a6d8.js +0 -19
  692. package/dist/swirl-icon-long-text.entry.96987197.js +0 -19
  693. package/dist/swirl-icon-mail.entry.ec762f9d.js +0 -19
  694. package/dist/swirl-icon-manage-accounts.entry.fb4f9817.js +0 -19
  695. package/dist/swirl-icon-mark-chat-read.entry.6d2077f3.js +0 -19
  696. package/dist/swirl-icon-mark-chat-unread.entry.ff220f8f.js +0 -19
  697. package/dist/swirl-icon-mark-email-read.entry.927e865c.js +0 -19
  698. package/dist/swirl-icon-mention.entry.5e00b90a.js +0 -19
  699. package/dist/swirl-icon-menu-book-filled.entry.09c83220.js +0 -19
  700. package/dist/swirl-icon-menu-filled.entry.2ba51009.js +0 -19
  701. package/dist/swirl-icon-menu.entry.6a977ee5.js +0 -19
  702. package/dist/swirl-icon-message.entry.3ed8461f.js +0 -19
  703. package/dist/swirl-icon-mic-off.entry.f9937fb7.js +0 -19
  704. package/dist/swirl-icon-mic.entry.d61628cb.js +0 -19
  705. package/dist/swirl-icon-mobile-theft.entry.914da485.js +0 -19
  706. package/dist/swirl-icon-more-horizontal_2.entry.d5f4f19f.js +0 -41
  707. package/dist/swirl-icon-more-vertikal.entry.6be83bd8.js +0 -19
  708. package/dist/swirl-icon-news-filled.entry.72e3d7e1.js +0 -19
  709. package/dist/swirl-icon-news-off.entry.e80856d0.js +0 -19
  710. package/dist/swirl-icon-news.entry.441cc000.js +0 -19
  711. package/dist/swirl-icon-next-plan.entry.ab3c9c53.js +0 -19
  712. package/dist/swirl-icon-note-stack-filled.entry.786668a6.js +0 -19
  713. package/dist/swirl-icon-note-stack.entry.2da0b90e.js +0 -19
  714. package/dist/swirl-icon-notifications-active.entry.8bac12ce.js +0 -19
  715. package/dist/swirl-icon-notifications-off.entry.422b6b7b.js +0 -19
  716. package/dist/swirl-icon-notifications.entry.d955efbc.js +0 -19
  717. package/dist/swirl-icon-open-in-full.entry.e113acf2.js +0 -19
  718. package/dist/swirl-icon-passkey.entry.70dc6a33.js +0 -19
  719. package/dist/swirl-icon-password.entry.2dfa135d.js +0 -19
  720. package/dist/swirl-icon-patient-list.entry.91337398.js +0 -19
  721. package/dist/swirl-icon-pause-circle.entry.9ce773f2.js +0 -19
  722. package/dist/swirl-icon-pause.entry.b7148fe6.js +0 -19
  723. package/dist/swirl-icon-people-alt.entry.d3827820.js +0 -19
  724. package/dist/swirl-icon-person-check.entry.5640e63e.js +0 -19
  725. package/dist/swirl-icon-person-off.entry.d0c25996.js +0 -19
  726. package/dist/swirl-icon-person-raised-hand.entry.0d110650.js +0 -19
  727. package/dist/swirl-icon-person.entry.a6f8cb46.js +0 -19
  728. package/dist/swirl-icon-phone.entry.a0e13b81.js +0 -19
  729. package/dist/swirl-icon-photo-camera.entry.fd78e0e6.js +0 -19
  730. package/dist/swirl-icon-picture-in-picture.entry.c60681a9.js +0 -19
  731. package/dist/swirl-icon-pin-off.entry.aab72905.js +0 -19
  732. package/dist/swirl-icon-pin.entry.28b7ef18.js +0 -19
  733. package/dist/swirl-icon-place.entry.26db94aa.js +0 -19
  734. package/dist/swirl-icon-play-arrow.entry.a7f922e3.js +0 -19
  735. package/dist/swirl-icon-poll.entry.5be1695f.js +0 -19
  736. package/dist/swirl-icon-post-approval.entry.540c328e.js +0 -19
  737. package/dist/swirl-icon-present.entry.74cb9a66.js +0 -19
  738. package/dist/swirl-icon-preview.entry.8cd5f7f5.js +0 -19
  739. package/dist/swirl-icon-print.entry.9e6ff8ac.js +0 -19
  740. package/dist/swirl-icon-public-off.entry.6a682a7f.js +0 -19
  741. package/dist/swirl-icon-public.entry.a2fbbb89.js +0 -19
  742. package/dist/swirl-icon-published-with-changes.entry.e32e3dd7.js +0 -19
  743. package/dist/swirl-icon-qr-code-scanner.entry.5d3b1538.js +0 -19
  744. package/dist/swirl-icon-ratio-four-to-three.entry.1d2679c4.js +0 -19
  745. package/dist/swirl-icon-ratio-freeform.entry.e88b9544.js +0 -19
  746. package/dist/swirl-icon-ratio-sixteen-to-nine.entry.74aef0e1.js +0 -19
  747. package/dist/swirl-icon-ratio-square.entry.bf8b063d.js +0 -19
  748. package/dist/swirl-icon-ratio-three-to-four.entry.8a836d1a.js +0 -19
  749. package/dist/swirl-icon-ratio-three-to-two.entry.cc30465a.js +0 -19
  750. package/dist/swirl-icon-recieved.entry.66229776.js +0 -19
  751. package/dist/swirl-icon-redo.entry.298c680d.js +0 -19
  752. package/dist/swirl-icon-refresh.entry.c8a337f3.js +0 -19
  753. package/dist/swirl-icon-remove-circle.entry.8aeb3621.js +0 -19
  754. package/dist/swirl-icon-remove-moderator.entry.5072f958.js +0 -19
  755. package/dist/swirl-icon-repeat.entry.6c30b2fb.js +0 -19
  756. package/dist/swirl-icon-reply.entry.c17c06d5.js +0 -19
  757. package/dist/swirl-icon-report.entry.e20858f6.js +0 -19
  758. package/dist/swirl-icon-roadmap.entry.4473c986.js +0 -19
  759. package/dist/swirl-icon-rocket-launch.entry.c3b749e5.js +0 -19
  760. package/dist/swirl-icon-rotate-left.entry.ad02257c.js +0 -19
  761. package/dist/swirl-icon-rotate-right.entry.b34d476f.js +0 -19
  762. package/dist/swirl-icon-school.entry.eb01c05c.js +0 -19
  763. package/dist/swirl-icon-screenshare-off.entry.e61b3a37.js +0 -19
  764. package/dist/swirl-icon-screenshare.entry.fd476685.js +0 -19
  765. package/dist/swirl-icon-search-strong.entry.9490019e.js +0 -19
  766. package/dist/swirl-icon-search.entry.55db1125.js +0 -19
  767. package/dist/swirl-icon-section.entry.a2792977.js +0 -19
  768. package/dist/swirl-icon-secure.entry.6b082905.js +0 -19
  769. package/dist/swirl-icon-security-check.entry.5f288d05.js +0 -19
  770. package/dist/swirl-icon-security-warning.entry.c207d8d5.js +0 -19
  771. package/dist/swirl-icon-security.entry.3f427ba3.js +0 -19
  772. package/dist/swirl-icon-select-edit.entry.bd65bc1a.js +0 -19
  773. package/dist/swirl-icon-select.entry.c7415c64.js +0 -19
  774. package/dist/swirl-icon-sell.entry.84816f7a.js +0 -19
  775. package/dist/swirl-icon-send.entry.8af9b412.js +0 -19
  776. package/dist/swirl-icon-settings.entry.7bbac2e2.js +0 -19
  777. package/dist/swirl-icon-short-text.entry.a2cc9a30.js +0 -19
  778. package/dist/swirl-icon-simplify.entry.1cca1c30.js +0 -19
  779. package/dist/swirl-icon-spellcheck.entry.0642816a.js +0 -19
  780. package/dist/swirl-icon-stars.entry.1d5330a4.js +0 -19
  781. package/dist/swirl-icon-sticky-note.entry.93387b5b.js +0 -19
  782. package/dist/swirl-icon-stop-circle.entry.c6179937.js +0 -19
  783. package/dist/swirl-icon-stop.entry.a017b1ba.js +0 -19
  784. package/dist/swirl-icon-strikethrough.entry.c3348e6d.js +0 -19
  785. package/dist/swirl-icon-sunny.entry.8eea6316.js +0 -19
  786. package/dist/swirl-icon-swap-vert.entry.78d74f45.js +0 -19
  787. package/dist/swirl-icon-sync.entry.2abae331.js +0 -19
  788. package/dist/swirl-icon-tab-move.entry.9c1d3bfe.js +0 -19
  789. package/dist/swirl-icon-tasks-filled.entry.e17f1cf8.js +0 -19
  790. package/dist/swirl-icon-tasks.entry.6dc202c5.js +0 -19
  791. package/dist/swirl-icon-terminal.entry.cfd50f77.js +0 -19
  792. package/dist/swirl-icon-time-filled.entry.d6295619.js +0 -19
  793. package/dist/swirl-icon-time.entry.15444867.js +0 -19
  794. package/dist/swirl-icon-today-filled.entry.ddb5dc14.js +0 -19
  795. package/dist/swirl-icon-translate.entry.03c318a2.js +0 -19
  796. package/dist/swirl-icon-tree-structure.entry.4f4ff42a.js +0 -19
  797. package/dist/swirl-icon-underlined.entry.66ff9022.js +0 -19
  798. package/dist/swirl-icon-undo.entry.5b5e34aa.js +0 -19
  799. package/dist/swirl-icon-unlock-person.entry.b87e2892.js +0 -19
  800. package/dist/swirl-icon-upload.entry.cff1e45e.js +0 -19
  801. package/dist/swirl-icon-user-add.entry.50696b6a.js +0 -19
  802. package/dist/swirl-icon-user-assign.entry.7234a206.js +0 -19
  803. package/dist/swirl-icon-verified-user.entry.ec90a777.js +0 -19
  804. package/dist/swirl-icon-video-camera-off.entry.f82632c8.js +0 -19
  805. package/dist/swirl-icon-video-camera.entry.53657219.js +0 -19
  806. package/dist/swirl-icon-video-library.entry.5012ed2f.js +0 -19
  807. package/dist/swirl-icon-view-agenda.entry.23da5bb5.js +0 -19
  808. package/dist/swirl-icon-voice.entry.0466ce40.js +0 -19
  809. package/dist/swirl-icon-volume-off.entry.bb0ec827.js +0 -19
  810. package/dist/swirl-icon-volume-up.entry.d7f71bbd.js +0 -19
  811. package/dist/swirl-icon-waving-hand.entry.a073c432.js +0 -19
  812. package/dist/swirl-icon-web-asset-off.entry.1c2bdff5.js +0 -19
  813. package/dist/swirl-icon-web-asset.entry.a932cd2b.js +0 -19
  814. package/dist/swirl-icon-work.entry.f539f03c.js +0 -19
  815. package/dist/swirl-icon-workspace-premium.entry.2729fff5.js +0 -19
  816. package/dist/swirl-icon-zoom-in.entry.2f35dc5e.js +0 -19
  817. package/dist/swirl-icon-zoom-out.entry.64e42e90.js +0 -19
  818. package/dist/swirl-icon.entry.bd78de89.js +0 -17
  819. package/dist/swirl-illustration-absence.entry.991f6264.js +0 -15
  820. package/dist/swirl-illustration-bookmarks.entry.ece9fb49.js +0 -15
  821. package/dist/swirl-illustration-calendar.entry.188b934c.js +0 -15
  822. package/dist/swirl-illustration-celebrate.entry.c05adb6f.js +0 -15
  823. package/dist/swirl-illustration-chat-messages.entry.05843f73.js +0 -15
  824. package/dist/swirl-illustration-chat-security.entry.91e577d0.js +0 -15
  825. package/dist/swirl-illustration-completed-task.entry.c390698a.js +0 -15
  826. package/dist/swirl-illustration-construction.entry.c2b8ded0.js +0 -15
  827. package/dist/swirl-illustration-contrast.entry.5e04b113.js +0 -15
  828. package/dist/swirl-illustration-directory.entry.fc0b31a3.js +0 -15
  829. package/dist/swirl-illustration-door.entry.6381d51d.js +0 -15
  830. package/dist/swirl-illustration-empty-folder.entry.697393fd.js +0 -15
  831. package/dist/swirl-illustration-invites-declined.entry.b4e0c114.js +0 -15
  832. package/dist/swirl-illustration-invites.entry.08ff9ee0.js +0 -15
  833. package/dist/swirl-illustration-key.entry.2d5e987a.js +0 -15
  834. package/dist/swirl-illustration-keyboard.entry.da734297.js +0 -15
  835. package/dist/swirl-illustration-light.entry.109b640d.js +0 -15
  836. package/dist/swirl-illustration-mail.entry.0fdd2e55.js +0 -15
  837. package/dist/swirl-illustration-maintenance.entry.bc538b71.js +0 -15
  838. package/dist/swirl-illustration-meteor.entry.f98f94c6.js +0 -15
  839. package/dist/swirl-illustration-moon.entry.fbf04d30.js +0 -15
  840. package/dist/swirl-illustration-news.entry.15ea4e86.js +0 -15
  841. package/dist/swirl-illustration-no-notifications.entry.5baa22db.js +0 -15
  842. package/dist/swirl-illustration-notification.entry.a80439af.js +0 -15
  843. package/dist/swirl-illustration-paper-roll.entry.5ce7de19.js +0 -15
  844. package/dist/swirl-illustration-pending.entry.2c775d60.js +0 -15
  845. package/dist/swirl-illustration-profile.entry.a1b380df.js +0 -15
  846. package/dist/swirl-illustration-root.entry.3ce98abc.js +0 -15
  847. package/dist/swirl-illustration-search.entry.ad4c7b6b.js +0 -15
  848. package/dist/swirl-illustration-shifts.entry.a6d96031.js +0 -15
  849. package/dist/swirl-illustration-sorry.entry.77dabfeb.js +0 -15
  850. package/dist/swirl-illustration-start.entry.659af8dc.js +0 -15
  851. package/dist/swirl-illustration-tasks.entry.c96ba07b.js +0 -15
  852. package/dist/swirl-illustration-warning-sign.entry.2a438181.js +0 -15
  853. package/dist/swirl-illustration-wave.entry.6fb09fc6.js +0 -15
  854. package/dist/swirl-illustration.entry.9dd0c115.js +0 -16
  855. package/dist/swirl-image-grid-item.entry.9d6a6a15.js +0 -95
  856. package/dist/swirl-image-grid.entry.b09897a0.js +0 -51
  857. package/dist/swirl-inline-notification.entry.78a45dd0.js +0 -17
  858. package/dist/swirl-inline-status.entry.07e25089.js +0 -37
  859. package/dist/swirl-lightbox.entry.0f9cfdf3.js +0 -155
  860. package/dist/swirl-link.entry.a80a956a.js +0 -17
  861. package/dist/swirl-list.entry.aaeeaad3.js +0 -18
  862. package/dist/swirl-menu-item.entry.01ea0583.js +0 -86
  863. package/dist/swirl-menu.entry.0e7788b4.js +0 -184
  864. package/dist/swirl-modal-shell.entry.ef053100.js +0 -45
  865. package/dist/swirl-modal.entry.f3cbbdfc.js +0 -186
  866. package/dist/swirl-option-list-section.entry.812c135d.js +0 -15
  867. package/dist/swirl-option-list.entry.623fd5d6.js +0 -264
  868. package/dist/swirl-pagination.entry.651c9047.js +0 -38
  869. package/dist/swirl-pdf-reader.entry.28892a05.js +0 -120
  870. package/dist/swirl-popover_2.entry.d8fd863f.js +0 -336
  871. package/dist/swirl-radio-group.entry.a25b27d9.js +0 -50
  872. package/dist/swirl-radio.entry.5492dc0b.js +0 -27
  873. package/dist/swirl-resource-list-file-item.entry.c074f3b9.js +0 -39
  874. package/dist/swirl-resource-list-item.entry.8839dd5c.js +0 -99
  875. package/dist/swirl-resource-list-section.entry.d1226016.js +0 -19
  876. package/dist/swirl-resource-list.entry.4ff9a29b.js +0 -161
  877. package/dist/swirl-search.entry.e8c25dab.js +0 -51
  878. package/dist/swirl-select.entry.cb7963d9.js +0 -145
  879. package/dist/swirl-separator.entry.b376356b.js +0 -29
  880. package/dist/swirl-shell-layout.entry.01a2fdbf.js +0 -686
  881. package/dist/swirl-shell-navigation-item.entry.3cff3526.js +0 -46
  882. package/dist/swirl-skeleton-box.entry.d82623dd.js +0 -24
  883. package/dist/swirl-skeleton-text.entry.55f7e851.js +0 -17
  884. package/dist/swirl-stack.entry.87118087.js +0 -21
  885. package/dist/swirl-status-indicator.entry.74af573b.js +0 -17
  886. package/dist/swirl-switch.entry.85e281cc.js +0 -30
  887. package/dist/swirl-symbol-ac-unit.entry.8946c406.js +0 -17
  888. package/dist/swirl-symbol-account-circle.entry.1f455b12.js +0 -17
  889. package/dist/swirl-symbol-alternate-email.entry.bcc18f2f.js +0 -17
  890. package/dist/swirl-symbol-android.entry.54ee522f.js +0 -17
  891. package/dist/swirl-symbol-announcement.entry.e43eea05.js +0 -17
  892. package/dist/swirl-symbol-autorenew.entry.7cbb5bbf.js +0 -17
  893. package/dist/swirl-symbol-backup.entry.56866665.js +0 -17
  894. package/dist/swirl-symbol-badge.entry.3fd314fa.js +0 -17
  895. package/dist/swirl-symbol-barcode-reader.entry.ceae429c.js +0 -17
  896. package/dist/swirl-symbol-barcode-scanner.entry.9f4a3a2e.js +0 -17
  897. package/dist/swirl-symbol-battery-horiz.entry.01a1ecd8.js +0 -17
  898. package/dist/swirl-symbol-beach-access.entry.97d45066.js +0 -17
  899. package/dist/swirl-symbol-bolt.entry.47ff2df7.js +0 -17
  900. package/dist/swirl-symbol-bookmark.entry.26bfc3f3.js +0 -17
  901. package/dist/swirl-symbol-calendar.entry.da40f9f8.js +0 -17
  902. package/dist/swirl-symbol-campaign.entry.94740899.js +0 -17
  903. package/dist/swirl-symbol-cards-star.entry.940aabd9.js +0 -17
  904. package/dist/swirl-symbol-cloud.entry.8ffa32f3.js +0 -17
  905. package/dist/swirl-symbol-construction.entry.b75a999a.js +0 -17
  906. package/dist/swirl-symbol-contacts.entry.63a355f2.js +0 -17
  907. package/dist/swirl-symbol-coronavirus.entry.4631f634.js +0 -17
  908. package/dist/swirl-symbol-design-services.entry.8df9f805.js +0 -17
  909. package/dist/swirl-symbol-desktop-windows.entry.ba83412d.js +0 -17
  910. package/dist/swirl-symbol-directions-car-filled.entry.ef8d93db.js +0 -17
  911. package/dist/swirl-symbol-diversity.entry.38a439bc.js +0 -17
  912. package/dist/swirl-symbol-draw.entry.fba30206.js +0 -17
  913. package/dist/swirl-symbol-edit-calendar.entry.e574764d.js +0 -17
  914. package/dist/swirl-symbol-email.entry.f2a927c1.js +0 -17
  915. package/dist/swirl-symbol-emergency.entry.2b045101.js +0 -17
  916. package/dist/swirl-symbol-emoji-food-beverage.entry.b555a8aa.js +0 -17
  917. package/dist/swirl-symbol-engineering.entry.d07b8132.js +0 -17
  918. package/dist/swirl-symbol-event-menu.entry.536dfd15.js +0 -17
  919. package/dist/swirl-symbol-explore.entry.34251f37.js +0 -17
  920. package/dist/swirl-symbol-extension.entry.209a2b56.js +0 -17
  921. package/dist/swirl-symbol-facebook.entry.4bee09b8.js +0 -17
  922. package/dist/swirl-symbol-favorite.entry.5f3d2dab.js +0 -17
  923. package/dist/swirl-symbol-fitness-center.entry.b62a3570.js +0 -17
  924. package/dist/swirl-symbol-flag.entry.b7eb3be1.js +0 -17
  925. package/dist/swirl-symbol-flight.entry.8a57a621.js +0 -17
  926. package/dist/swirl-symbol-folder.entry.63269dc1.js +0 -17
  927. package/dist/swirl-symbol-globe.entry.8134344e.js +0 -17
  928. package/dist/swirl-symbol-groups.entry.5cb11edc.js +0 -17
  929. package/dist/swirl-symbol-healing.entry.b82b7a2d.js +0 -17
  930. package/dist/swirl-symbol-health-and-safety.entry.202a24a1.js +0 -17
  931. package/dist/swirl-symbol-help.entry.bab24b8d.js +0 -17
  932. package/dist/swirl-symbol-home-repair-service.entry.13c1c8be.js +0 -17
  933. package/dist/swirl-symbol-home-storage.entry.965b6b29.js +0 -17
  934. package/dist/swirl-symbol-id-card.entry.0dd99641.js +0 -17
  935. package/dist/swirl-symbol-image.entry.54138cc3.js +0 -17
  936. package/dist/swirl-symbol-info-menu.entry.a716a8c2.js +0 -17
  937. package/dist/swirl-symbol-instagram.entry.80e837a4.js +0 -17
  938. package/dist/swirl-symbol-inventory-2.entry.1f249366.js +0 -17
  939. package/dist/swirl-symbol-inventory.entry.528f9d13.js +0 -17
  940. package/dist/swirl-symbol-ios.entry.b468dbba.js +0 -17
  941. package/dist/swirl-symbol-key.entry.23680f32.js +0 -17
  942. package/dist/swirl-symbol-language.entry.22f5ff61.js +0 -17
  943. package/dist/swirl-symbol-leaderboard.entry.0cfc8bc7.js +0 -17
  944. package/dist/swirl-symbol-lightbulb.entry.52999b13.js +0 -17
  945. package/dist/swirl-symbol-linkedin.entry.140ef056.js +0 -17
  946. package/dist/swirl-symbol-local-shipping.entry.033c3699.js +0 -17
  947. package/dist/swirl-symbol-location-on.entry.1de30185.js +0 -17
  948. package/dist/swirl-symbol-loyalty.entry.0ce60432.js +0 -17
  949. package/dist/swirl-symbol-map.entry.9a8da8d6.js +0 -17
  950. package/dist/swirl-symbol-maps-home-work.entry.d4c9fcaf.js +0 -17
  951. package/dist/swirl-symbol-menu-book.entry.1cc37aab.js +0 -17
  952. package/dist/swirl-symbol-mop.entry.c0d0c592.js +0 -17
  953. package/dist/swirl-symbol-nest-eco-leaf.entry.b23ce81d.js +0 -17
  954. package/dist/swirl-symbol-notifications.entry.574dfb1c.js +0 -17
  955. package/dist/swirl-symbol-open-in-new.entry.2aadd10a.js +0 -17
  956. package/dist/swirl-symbol-orders.entry.19306c91.js +0 -17
  957. package/dist/swirl-symbol-package.entry.1690398e.js +0 -17
  958. package/dist/swirl-symbol-palette.entry.820b487c.js +0 -17
  959. package/dist/swirl-symbol-partly-cloudy-day.entry.3c7832c8.js +0 -17
  960. package/dist/swirl-symbol-pedal-bike.entry.fffb1a4f.js +0 -17
  961. package/dist/swirl-symbol-percent-discount.entry.e3777ddb.js +0 -17
  962. package/dist/swirl-symbol-pets.entry.3600f7ce.js +0 -17
  963. package/dist/swirl-symbol-pinterest.entry.aee51488.js +0 -17
  964. package/dist/swirl-symbol-point-of-sale.entry.ddc63472.js +0 -17
  965. package/dist/swirl-symbol-policy.entry.9ff153f6.js +0 -17
  966. package/dist/swirl-symbol-precision-manufacturing.entry.6a6067ed.js +0 -17
  967. package/dist/swirl-symbol-print.entry.56e1f2f1.js +0 -17
  968. package/dist/swirl-symbol-push-pin.entry.02905680.js +0 -17
  969. package/dist/swirl-symbol-qr-code-scanner.entry.059501c5.js +0 -17
  970. package/dist/swirl-symbol-recycling.entry.671395b7.js +0 -17
  971. package/dist/swirl-symbol-redeem.entry.4feb1a35.js +0 -17
  972. package/dist/swirl-symbol-report-problem.entry.509a1635.js +0 -17
  973. package/dist/swirl-symbol-restaurant.entry.46b2b855.js +0 -17
  974. package/dist/swirl-symbol-roadmap.entry.a8ca2357.js +0 -17
  975. package/dist/swirl-symbol-rocket-launch.entry.8e22e95f.js +0 -17
  976. package/dist/swirl-symbol-room.entry.2caad7aa.js +0 -17
  977. package/dist/swirl-symbol-savings.entry.9ba948cb.js +0 -17
  978. package/dist/swirl-symbol-school.entry.42661d01.js +0 -17
  979. package/dist/swirl-symbol-sell.entry.5cf28b57.js +0 -17
  980. package/dist/swirl-symbol-settings-voice.entry.968ab600.js +0 -17
  981. package/dist/swirl-symbol-shopping-bag.entry.924b859b.js +0 -17
  982. package/dist/swirl-symbol-shopping-cart.entry.5b119475.js +0 -17
  983. package/dist/swirl-symbol-smartphone.entry.630694d6.js +0 -17
  984. package/dist/swirl-symbol-spa.entry.3a160a62.js +0 -17
  985. package/dist/swirl-symbol-sports-soccer.entry.185b6ce1.js +0 -17
  986. package/dist/swirl-symbol-star.entry.9bfe3412.js +0 -17
  987. package/dist/swirl-symbol-supervisor-account.entry.d254344e.js +0 -17
  988. package/dist/swirl-symbol-task.entry.5365b269.js +0 -17
  989. package/dist/swirl-symbol-tasks.entry.04f10e04.js +0 -17
  990. package/dist/swirl-symbol-thumbs-up-down.entry.df282255.js +0 -17
  991. package/dist/swirl-symbol-timer.entry.4e958646.js +0 -17
  992. package/dist/swirl-symbol-tools-power-drill.entry.47740836.js +0 -17
  993. package/dist/swirl-symbol-train.entry.74404e2f.js +0 -17
  994. package/dist/swirl-symbol-trophy.entry.ef9abb5f.js +0 -17
  995. package/dist/swirl-symbol-twitter.entry.9d775694.js +0 -17
  996. package/dist/swirl-symbol-video.entry.812b778f.js +0 -17
  997. package/dist/swirl-symbol-warehouse.entry.d2b03c93.js +0 -17
  998. package/dist/swirl-symbol-water-drop.entry.ef3d1357.js +0 -17
  999. package/dist/swirl-symbol-wb-sunny.entry.bb6f4cca.js +0 -17
  1000. package/dist/swirl-symbol-wechat.entry.865e0132.js +0 -17
  1001. package/dist/swirl-symbol-weibo.entry.8778c7d9.js +0 -17
  1002. package/dist/swirl-symbol-wifi.entry.8e561170.js +0 -17
  1003. package/dist/swirl-symbol-work.entry.9878d5ae.js +0 -17
  1004. package/dist/swirl-symbol-xing.entry.4175d0f6.js +0 -17
  1005. package/dist/swirl-symbol-youtube.entry.47dd6cb8.js +0 -17
  1006. package/dist/swirl-symbol.entry.d2ca7c88.js +0 -16
  1007. package/dist/swirl-tab-bar.entry.651d566c.js +0 -67
  1008. package/dist/swirl-tab.entry.4f6cd464.js +0 -17
  1009. package/dist/swirl-table-cell.entry.b85a52ff.js +0 -15
  1010. package/dist/swirl-table-column.entry.452b1c3b.js +0 -34
  1011. package/dist/swirl-table-row-group.entry.2105503d.js +0 -35
  1012. package/dist/swirl-table-row.entry.19d74f45.js +0 -27
  1013. package/dist/swirl-table.entry.c12d4b28.js +0 -1754
  1014. package/dist/swirl-tabs.entry.5b561ace.js +0 -65
  1015. package/dist/swirl-tag.entry.39a47477.js +0 -45
  1016. package/dist/swirl-text-input.entry.9efd77cb.js +0 -93
  1017. package/dist/swirl-text.entry.60f53c46.js +0 -299
  1018. package/dist/swirl-theme-provider.entry.a91cad3c.js +0 -96
  1019. package/dist/swirl-thumbnail.entry.0a4dad46.js +0 -45
  1020. package/dist/swirl-time-input.entry.d41f847c.js +0 -140
  1021. package/dist/swirl-toast-provider.entry.85615b6c.js +0 -82
  1022. package/dist/swirl-toast.entry.7822014f.js +0 -67
  1023. package/dist/swirl-toggle-button.entry.51263b8f.js +0 -21
  1024. package/dist/swirl-toggle-group.entry.5288e96e.js +0 -62
  1025. package/dist/swirl-toolbar.entry.91053a5f.js +0 -56
  1026. package/dist/swirl-tooltip.entry.03a47c6e.js +0 -118
  1027. package/dist/swirl-tree-navigation-item.entry.14cab793.js +0 -73
  1028. package/dist/swirl-tree-navigation.entry.e1b179c5.js +0 -15
  1029. package/dist/swirl-tree-view-item.entry.6a2471bc.js +0 -205
  1030. package/dist/swirl-tree-view.entry.fe74d59c.js +0 -222
  1031. package/dist/swirl-video-thumbnail.entry.5213573c.js +0 -15
  1032. package/dist/swirl-visually-hidden.entry.49952ba8.js +0 -15
  1033. package/dist/wc-datepicker.entry.515f265e.js +0 -380
@@ -1,1754 +0,0 @@
1
- import { r as nt, c as $, h as O, H as ot, g as rt } from "./index.40f84ddd.js";
2
- import { c as lt, g as at } from "./index-orsBiyT_.fc4357c3.js";
3
- import { S as ht } from "./sortable.esm-CMrz6687.dac971cd.js";
4
- import { d as ct, u as U, i as K, q as dt } from "./utils-D23VxAsw.a2b1dde9.js";
5
- import "react";
6
- import "react-dom";
7
- var q, Y;
8
- function ut() {
9
- if (Y)
10
- return q;
11
- Y = 1, q = function(e) {
12
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = void 0, l = void 0, a = void 0, h = [];
13
- return function() {
14
- var u = i(s), m = new Date().getTime(), w = !r || m - r > u;
15
- r = m;
16
- for (var g = arguments.length, v = Array(g), b = 0; b < g; b++)
17
- v[b] = arguments[b];
18
- if (w && o.leading)
19
- return o.accumulate ? Promise.resolve(e.call(this, [v])).then(function(f) {
20
- return f[0];
21
- }) : Promise.resolve(e.call.apply(e, [this].concat(v)));
22
- if (l ? clearTimeout(a) : l = n(), h.push(v), a = setTimeout(c.bind(this), u), o.accumulate) {
23
- var S = h.length - 1;
24
- return l.promise.then(function(f) {
25
- return f[S];
26
- });
27
- }
28
- return l.promise;
29
- };
30
- function c() {
31
- var d = l;
32
- clearTimeout(a), Promise.resolve(o.accumulate ? e.call(this, h) : e.apply(this, h[h.length - 1])).then(d.resolve, d.reject), h = [], l = null;
33
- }
34
- };
35
- function i(t) {
36
- return typeof t == "function" ? t() : t;
37
- }
38
- function n() {
39
- var t = {};
40
- return t.promise = new Promise(function(e, s) {
41
- t.resolve = e, t.reject = s;
42
- }), t;
43
- }
44
- return q;
45
- }
46
- var ft = ut(), mt = /* @__PURE__ */ at(ft);
47
- function gt(i) {
48
- return typeof i == "object" ? i.key : i;
49
- }
50
- function pt(i, n) {
51
- const t = i.length;
52
- return new Proxy(i, {
53
- get(e, s, o) {
54
- if (typeof s == "string") {
55
- const r = s.charCodeAt(0);
56
- if (r >= 48 && r <= 57) {
57
- const l = +s;
58
- if (Number.isInteger(l) && l >= 0 && l < t) {
59
- let a = e[l];
60
- if (typeof a != "object") {
61
- const h = n[l * 2];
62
- a = e[l] = {
63
- index: l,
64
- key: a,
65
- start: h,
66
- size: n[l * 2 + 1],
67
- end: h + n[l * 2 + 1],
68
- lane: 0
69
- };
70
- }
71
- return a;
72
- }
73
- }
74
- if (s === "length")
75
- return t;
76
- }
77
- return Reflect.get(e, s, o);
78
- }
79
- });
80
- }
81
- function E(i, n, t) {
82
- var l;
83
- let e = (l = t.initialDeps) != null ? l : [], s, o = !0;
84
- function r() {
85
- const a = i();
86
- return (a.length !== e.length || a.some((c, d) => e[d] !== c)) && (e = a, s = n(...a), (t == null ? void 0 : t.onChange) && !(o && t.skipInitialOnChange) && t.onChange(s), o = !1), s;
87
- }
88
- return r.updateDeps = (a) => {
89
- e = a;
90
- }, r;
91
- }
92
- function X(i, n) {
93
- if (i === void 0)
94
- throw new Error("Unexpected undefined");
95
- return i;
96
- }
97
- const M = (i, n) => Math.abs(i - n) < 1.01, bt = (i, n, t) => {
98
- let e;
99
- return Object.assign(
100
- function(...s) {
101
- i.clearTimeout(e), e = i.setTimeout(() => n.apply(this, s), t);
102
- },
103
- {
104
- cancel: () => {
105
- i.clearTimeout(e);
106
- }
107
- }
108
- );
109
- };
110
- function vt({
111
- offset: i,
112
- isScrolling: n,
113
- elementMax: t,
114
- holdOffset: e,
115
- scrollOffset: s,
116
- pendingWrite: o,
117
- clampedMaxAtWrite: r
118
- }) {
119
- var l;
120
- return n && o === null && i === s ? "spurious" : o !== null && Math.abs(i - o.target) < 1.5 ? "readBack" : o !== null && !o.smooth && t !== null && o.target > t + e + 0.5 && Math.abs(i - (t + e)) < 1.5 || o !== null && !o.smooth && ((l = o.lowMaxes) == null ? void 0 : l.some((a) => Math.abs(i - a) < 1.5)) ? "clampedReadBack" : r !== null && Math.abs(i - r) < 1.5 ? "clampedEcho" : "external";
121
- }
122
- const yt = (i) => i === "smooth" || i === "smoothFinishing";
123
- function wt({
124
- kind: i,
125
- offset: n,
126
- command: t,
127
- target: e
128
- }) {
129
- return i !== "spurious" && i !== "readBack" && i !== "clampedReadBack" && (t == null ? void 0 : t.index) != null && t.phase !== "queued" && !yt(t.phase) && !M(n, t.lastTargetOffset) && !M(n, e()) && i !== "clampedEcho";
130
- }
131
- const j = 40;
132
- function St(i) {
133
- const n = i[i.length - 1];
134
- if (n === void 0)
135
- return !1;
136
- let t = i.length - 2;
137
- for (; t >= 0 && n.t - i[t].t < j; )
138
- t--;
139
- if (t < 0)
140
- return !1;
141
- const e = i[t];
142
- let s = t - 1;
143
- for (; s >= 0 && e.t - i[s].t < j; )
144
- s--;
145
- if (s < 0)
146
- return !1;
147
- const o = i[s], r = (n.offset - e.offset) / (n.t - e.t), l = (e.offset - o.offset) / (e.t - o.t);
148
- return r * l >= 0 && Math.abs(r) >= 2 * Math.abs(l) && Math.abs(r) - Math.abs(l) >= 0.8;
149
- }
150
- function _t(i) {
151
- const n = i[i.length - 1];
152
- if (n === void 0)
153
- return !1;
154
- let t = i.length - 2;
155
- for (; t >= 0 && n.t - i[t].t < j; )
156
- t--;
157
- if (t < 0)
158
- return !1;
159
- const e = i[t];
160
- return Math.abs(n.offset - e.offset) / (n.t - e.t) >= 0.05;
161
- }
162
- let L;
163
- const V = () => {
164
- if (L !== void 0)
165
- return L;
166
- if (typeof navigator > "u")
167
- return L = !1;
168
- if (/iP(hone|od|ad)/.test(navigator.userAgent))
169
- return L = !0;
170
- const i = navigator.maxTouchPoints;
171
- return L = navigator.platform === "MacIntel" && i !== void 0 && i > 0;
172
- };
173
- let P;
174
- const Ot = () => P !== void 0 ? P : P = V() && typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("overflow-anchor: auto"), xt = () => !V() || Ot(), I = {
175
- capture: !0,
176
- passive: !0
177
- };
178
- class Ct {
179
- constructor(n) {
180
- this.host = n, this._touch = null, this.inMotion = () => this._touch !== null && this._touch.phase !== "lateFling", this.dragging = () => {
181
- var t;
182
- return ((t = this._touch) == null ? void 0 : t.phase) === "down" && this._touch.moved;
183
- }, this.tail = () => {
184
- var t;
185
- return ((t = this._touch) == null ? void 0 : t.phase) === "tail" ? this._touch.moved ? "fling" : "tap" : null;
186
- }, this.onScroll = ({
187
- isScrolling: t,
188
- ownReadBack: e,
189
- moved: s,
190
- external: o
191
- }) => {
192
- var r, l, a;
193
- return t && ((r = this._touch) == null ? void 0 : r.phase) === "tail" ? this._openTail(this._touch.moved || !e, !1) : ((l = this._touch) == null ? void 0 : l.phase) === "lateFling" && (this.host.now() > this._touch.until ? this._touch = null : o && t && s && this._openTail(!0, !1)), !e && t && s && ((a = this._touch) == null ? void 0 : a.phase) === "down" ? (this._touch.moved = !0, !0) : !1;
194
- }, this.touchStart = () => {
195
- this.end(), this._touch = { phase: "down", moved: !1 };
196
- }, this.touchEnd = () => {
197
- var t;
198
- const e = ((t = this._touch) == null ? void 0 : t.phase) === "down" && this._touch.moved;
199
- this.end(), this._openTail(e, e);
200
- }, this.end = () => {
201
- var t;
202
- const e = this.host.getWindow();
203
- ((t = this._touch) == null ? void 0 : t.phase) === "tail" && e != null && e.clearTimeout(this._touch.timerId), this._touch = null;
204
- }, this.listen = (t) => {
205
- const e = () => this.touchStart(), s = () => this.touchEnd();
206
- return t.addEventListener("touchstart", e, I), t.addEventListener("touchend", s, I), t.addEventListener("touchcancel", s, I), () => {
207
- t.removeEventListener(
208
- "touchstart",
209
- e,
210
- I
211
- ), t.removeEventListener("touchend", s, I), t.removeEventListener(
212
- "touchcancel",
213
- s,
214
- I
215
- ), this.end();
216
- };
217
- }, this._openTail = (t, e) => {
218
- const s = this.host.getWindow();
219
- if (s == null)
220
- return;
221
- this.end();
222
- const o = {
223
- phase: "tail",
224
- moved: t,
225
- awaitingFling: e,
226
- timerId: s.setTimeout(() => {
227
- if (this.host.tailStillMoving()) {
228
- this._openTail(o.moved, o.awaitingFling);
229
- return;
230
- }
231
- this._touch = o.awaitingFling ? { phase: "lateFling", until: this.host.now() + 1e3 } : null, this.host.onTailClosed();
232
- }, 150)
233
- };
234
- this._touch = o;
235
- };
236
- }
237
- get touch() {
238
- return this._touch;
239
- }
240
- }
241
- const Q = (i) => {
242
- const { clientWidth: n, clientHeight: t } = i;
243
- return { width: n, height: t };
244
- }, Z = (i) => {
245
- const n = /* @__PURE__ */ new Set();
246
- return {
247
- schedule: (t) => {
248
- const e = i.requestAnimationFrame(() => {
249
- n.delete(e), t();
250
- });
251
- n.add(e);
252
- },
253
- cancel: () => {
254
- n.forEach((t) => i.cancelAnimationFrame(t)), n.clear();
255
- }
256
- };
257
- }, Rt = (i) => i, tt = (i) => {
258
- var r;
259
- const n = i.overscan * Math.max((r = i.lanes) != null ? r : 1, 1), t = Math.max(i.startIndex - n, 0), s = Math.min(i.endIndex + n, i.count - 1) - t + 1, o = new Array(s);
260
- for (let l = 0; l < s; l++)
261
- o[l] = t + l;
262
- return o;
263
- }, Mt = (i, n) => {
264
- const t = i.scrollElement;
265
- if (!t)
266
- return;
267
- const e = i.targetWindow;
268
- if (!e)
269
- return;
270
- const s = (l) => {
271
- const { width: a, height: h } = l;
272
- n({ width: Math.round(a), height: Math.round(h) });
273
- };
274
- if (s(Q(t)), !e.ResizeObserver)
275
- return () => {
276
- };
277
- const o = Z(e), r = new e.ResizeObserver(() => {
278
- const l = () => {
279
- s(Q(t));
280
- };
281
- i.options.useAnimationFrameWithResizeObserver ? o.schedule(l) : l();
282
- });
283
- return r.observe(t, { box: "content-box" }), () => {
284
- r.unobserve(t), o.cancel();
285
- };
286
- }, N = {
287
- passive: !0
288
- }, zt = (i, n) => {
289
- const t = i.scrollElement;
290
- if (!t)
291
- return;
292
- const e = () => {
293
- n({ width: t.innerWidth, height: t.innerHeight });
294
- };
295
- return e(), t.addEventListener("resize", e, N), () => {
296
- t.removeEventListener("resize", e);
297
- };
298
- }, Et = typeof window > "u" ? !0 : "onscrollend" in window, et = (i, n, t) => {
299
- const e = i.scrollElement;
300
- if (!e)
301
- return;
302
- const s = i.targetWindow;
303
- if (!s)
304
- return;
305
- const o = i.options.useScrollendEvent && Et;
306
- let r = 0;
307
- const l = o ? null : bt(
308
- s,
309
- () => n(t(e), !1),
310
- i.options.isScrollingResetDelay
311
- ), a = (d) => () => {
312
- r = t(e), l == null || l(), n(r, d);
313
- }, h = a(!0), c = a(!1);
314
- return e.addEventListener("scroll", h, N), o && e.addEventListener("scrollend", c, N), () => {
315
- e.removeEventListener("scroll", h), o && e.removeEventListener("scrollend", c), l == null || l.cancel();
316
- };
317
- }, It = (i, n) => et(i, n, (t) => {
318
- const { horizontal: e, isRtl: s } = i.options;
319
- return e ? t.scrollLeft * (s && -1 || 1) : t.scrollTop;
320
- }), At = (i, n) => et(
321
- i,
322
- n,
323
- (t) => i.options.horizontal ? t.scrollX : t.scrollY
324
- ), Tt = (i, n, t) => {
325
- var e;
326
- if (t.options.useCachedMeasurements) {
327
- const s = t.indexFromElement(i), o = t.options.getItemKey(s);
328
- return (e = t.itemSizeCache.get(o)) != null ? e : t.options.estimateSize(s);
329
- }
330
- if (n != null && n.borderBoxSize) {
331
- const s = n.borderBoxSize[0];
332
- if (s)
333
- return Math.round(
334
- s[t.options.horizontal ? "inlineSize" : "blockSize"]
335
- );
336
- }
337
- if (!n) {
338
- const s = t.indexFromElement(i), o = t.options.getItemKey(s), r = t.itemSizeCache.get(o);
339
- if (r !== void 0)
340
- return r;
341
- }
342
- return i[t.options.horizontal ? "offsetWidth" : "offsetHeight"];
343
- }, st = (i, {
344
- adjustments: n = 0,
345
- behavior: t
346
- }, e) => {
347
- var s, o;
348
- (o = (s = e.scrollElement) == null ? void 0 : s.scrollTo) == null || o.call(s, {
349
- [e.options.horizontal ? "left" : "top"]: i + n,
350
- behavior: t
351
- });
352
- }, kt = st, Dt = st, J = (i, n) => i === "smooth" ? n ? "smoothLanded" : "smooth" : "instant", W = (i) => (i == null ? void 0 : i.phase) === "smooth" || (i == null ? void 0 : i.phase) === "smoothLanded";
353
- function Lt(i, n, t, e) {
354
- if (n === 0)
355
- return !1;
356
- const s = e(0), o = /* @__PURE__ */ new Set();
357
- let r = 0;
358
- for (; r < i; ) {
359
- const a = t(r);
360
- if (a === s)
361
- break;
362
- o.add(a), r++;
363
- }
364
- const l = i - r;
365
- if (l === 0 || l >= n)
366
- return !1;
367
- for (let a = 0; a < l; a++)
368
- if (e(a) !== t(r + a))
369
- return !1;
370
- for (let a = l; a < n; a++)
371
- if (o.has(e(a)))
372
- return !1;
373
- return !0;
374
- }
375
- class Wt {
376
- constructor(n) {
377
- this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this._holdOffset = 0, this._reportedOverscroll = !1, this._iosGesture = new Ct({
378
- getWindow: () => this.targetWindow,
379
- now: () => this.now(),
380
- tailStillMoving: () => {
381
- var s;
382
- const t = this.scrollState;
383
- if ((t == null ? void 0 : t.phase) !== "queued" || this.pendingWrite !== null)
384
- return !1;
385
- const e = this._readElementOffset();
386
- return e === null || this._lastElementOffset === null || Math.abs(e - this._lastElementOffset) < 1 ? !1 : (this._lastElementOffset = e, t.samples = [...(s = t.samples) != null ? s : [], { t: this.now(), offset: e }], !0);
387
- },
388
- onTailClosed: () => {
389
- var e;
390
- const t = this.scrollState;
391
- (t == null ? void 0 : t.phase) === "queued" && _t((e = t.samples) != null ? e : []) && (this.scrollState = null), this._flushHoldIfReady(!0), this._writeAwaitingCommand(), this._retryClampedAdjustment();
392
- }
393
- }), this._lastElementOffset = null, this.pendingWrite = null, this._clampedAdjustment = null, this.elementsCache = /* @__PURE__ */ new Map(), this._resizeBatch = null, this.now = () => {
394
- var o;
395
- var t, e, s;
396
- return (o = (s = (e = (t = this.targetWindow) == null ? void 0 : t.performance) == null ? void 0 : e.now) == null ? void 0 : s.call(e)) != null ? o : Date.now();
397
- }, this.observer = /* @__PURE__ */ (() => {
398
- let t = null, e = null, s = !1, o = !1;
399
- const r = /* @__PURE__ */ new Set(), l = () => {
400
- if (t)
401
- return t;
402
- const h = this.targetWindow;
403
- if (!h || !h.ResizeObserver)
404
- return null;
405
- const c = e = Z(h);
406
- return t = new h.ResizeObserver((d) => {
407
- const u = () => {
408
- const m = { sync: !1 };
409
- this._resizeBatch = m;
410
- try {
411
- d.forEach(a);
412
- } finally {
413
- this._resizeBatch = null, m.notify && (this.notify(m.sync), this._noteClampMax(), this._flushHoldIfReady(!0), this._retryClampedAdjustment(), this.measureElement(null));
414
- }
415
- };
416
- if (this.options.useAnimationFrameWithResizeObserver)
417
- c.schedule(u);
418
- else {
419
- s = !0;
420
- try {
421
- u();
422
- } finally {
423
- s = !1;
424
- }
425
- }
426
- });
427
- }, a = (h) => {
428
- const c = h.target, d = this.indexFromElement(c);
429
- if (!c.isConnected) {
430
- this.observer.unobserve(c);
431
- for (const [u, m] of this.elementsCache)
432
- if (m === c) {
433
- this.elementsCache.delete(u);
434
- break;
435
- }
436
- return;
437
- }
438
- !this.isIndexInRange(d) || this.shouldMeasureDuringScroll(d) && this.resizeItem(d, this.options.measureElement(c, h, this));
439
- };
440
- return {
441
- disconnect: () => {
442
- var h;
443
- (h = l()) == null || h.disconnect(), e == null || e.cancel(), r.clear(), o = !1, t = null, e = null;
444
- },
445
- observe: (h) => {
446
- const c = l();
447
- if (!!c) {
448
- if (!s) {
449
- c.observe(h, { box: "border-box" });
450
- return;
451
- }
452
- r.add(h), o || (o = !0, e == null || e.schedule(() => {
453
- o = !1, r.forEach((d) => {
454
- d.isConnected && (t == null || t.observe(d, { box: "border-box" }));
455
- }), r.clear();
456
- }));
457
- }
458
- },
459
- unobserve: (h) => {
460
- var c;
461
- r.delete(h), (c = l()) == null || c.unobserve(h);
462
- }
463
- };
464
- })(), this.range = null, this.setOptions = (t) => {
465
- var c, d;
466
- var e;
467
- const s = {
468
- debug: !1,
469
- initialOffset: 0,
470
- overscan: 1,
471
- paddingStart: 0,
472
- paddingEnd: 0,
473
- scrollPaddingStart: 0,
474
- scrollPaddingEnd: 0,
475
- horizontal: !1,
476
- getItemKey: Rt,
477
- rangeExtractor: tt,
478
- onChange: () => {
479
- },
480
- measureElement: Tt,
481
- initialRect: { width: 0, height: 0 },
482
- scrollMargin: 0,
483
- gap: 0,
484
- indexAttribute: "data-index",
485
- initialMeasurementsCache: [],
486
- lanes: 1,
487
- anchorTo: "start",
488
- followOnAppend: !1,
489
- scrollEndThreshold: 1,
490
- isScrollingResetDelay: 150,
491
- enabled: !0,
492
- isRtl: !1,
493
- useScrollendEvent: !1,
494
- useAnimationFrameWithResizeObserver: !1,
495
- laneAssignmentMode: "estimate",
496
- useCachedMeasurements: !1
497
- };
498
- for (const u in t) {
499
- const m = t[u];
500
- m !== void 0 && (s[u] = m);
501
- }
502
- const o = this.options;
503
- let r = null, l = null, a = !1;
504
- if (o !== void 0 && o.enabled && s.enabled && s.anchorTo === "end" && this.scrollElement !== null) {
505
- const u = o.count, m = s.count, w = this.getMeasurements(), g = (c = (e = this._singleLaneMeasurements) == null ? void 0 : e.items) != null ? c : w, v = (y) => gt(g[y]), b = u > 0 ? v(0) : null, S = u > 0 ? v(u - 1) : null;
506
- if (m !== u || u > 0 && m > 0 && (s.getItemKey(0) !== b || s.getItemKey(m - 1) !== S)) {
507
- a = !0;
508
- const y = u > 0 ? (d = this.getVirtualItemForOffset(this.getScrollOffset())) != null ? d : w[0] : null;
509
- y && (r = [y.key, this.getScrollOffset() - y.start]);
510
- const _ = s.followOnAppend === !0 ? "auto" : s.followOnAppend || null;
511
- _ && m > 0 && this.isAtEnd(o.scrollEndThreshold) && (u === 0 || s.getItemKey(m - 1) !== S) && (m > u || Lt(
512
- u,
513
- m,
514
- v,
515
- s.getItemKey
516
- )) && (l = _);
517
- }
518
- }
519
- this.options = s, a && (this.pendingMin = 0, this.itemSizeCacheVersion++);
520
- let h = null;
521
- if (r && this.scrollOffset !== null && !this._awaitingCommandReadBack()) {
522
- const [u, m] = r, w = this.getMeasurements(), { count: g, getItemKey: v } = this.options;
523
- let b = 0;
524
- for (; b < g && v(b) !== u; )
525
- b++;
526
- if (b < g) {
527
- const S = w[b];
528
- if (S) {
529
- const f = Math.max(0, S.start + m);
530
- !l && f !== this.scrollOffset && (h = f - this.scrollOffset, this.scrollOffset = f);
531
- }
532
- }
533
- }
534
- l ? this.pendingScrollAnchor = { kind: "follow", behavior: l } : h !== null && (this._canWriteScroll() ? this.pendingScrollAnchor = { kind: "anchor", delta: h } : (this._holdOffset += h, this._followOffsetTarget(h)));
535
- }, this.notify = (t) => {
536
- var e, s;
537
- (s = (e = this.options).onChange) == null || s.call(e, this, t);
538
- }, this.maybeNotify = E(
539
- () => (this.calculateRange(), [
540
- this.isScrolling,
541
- this.range ? this.range.startIndex : null,
542
- this.range ? this.range.endIndex : null
543
- ]),
544
- (t) => {
545
- this.notify(t);
546
- },
547
- {
548
- key: !1,
549
- debug: () => this.options.debug,
550
- initialDeps: [
551
- this.isScrolling,
552
- this.range ? this.range.startIndex : null,
553
- this.range ? this.range.endIndex : null
554
- ]
555
- }
556
- ), this.cleanup = () => {
557
- var t;
558
- this.unsubs.filter(Boolean).forEach((e) => e()), this.unsubs = [], this.observer.disconnect(), this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null, (t = this._momentumStop) == null || t.restore(), this._momentumStop = null, this.isScrolling = !1, this.scrollDirection = null, this._holdOffset = 0, this._reportedOverscroll = !1, this._clampedAdjustment = null, this.pendingWrite = null, this.scrollElement = null, this.targetWindow = null;
559
- }, this._didMount = () => () => {
560
- this.cleanup();
561
- }, this._willUpdate = () => {
562
- var o;
563
- var t;
564
- const e = this.options.enabled ? this.options.getScrollElement() : null;
565
- if (this.scrollElement !== e) {
566
- if (this.cleanup(), !e) {
567
- this.maybeNotify();
568
- return;
569
- }
570
- this.scrollElement = e, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = (o = (t = this.scrollElement) == null ? void 0 : t.window) != null ? o : null, this.elementsCache.forEach((r) => {
571
- this.observer.observe(r);
572
- }), this.unsubs.push(
573
- this.options.observeElementRect(this, (r) => {
574
- this.scrollRect = r, this.maybeNotify();
575
- })
576
- ), this.unsubs.push(
577
- this.options.observeElementOffset(this, (r, l) => {
578
- var f;
579
- var a, h, c, d;
580
- const u = l ? this._elementMaxScrollOffset() : null, m = this._reportedOverscroll;
581
- this._reportedOverscroll = r < 0 || u !== null && r > u + 1;
582
- const w = r;
583
- this._lastElementOffset = w, r = this._toLayoutOffset(r);
584
- const g = this._classifyScrollEvent(
585
- r,
586
- l,
587
- u
588
- );
589
- if (g === "spurious")
590
- return;
591
- g === "readBack" ? r = this.pendingWrite.target : g === "clampedReadBack" && ((a = this.scrollState) == null ? void 0 : a.index) != null && r < this.getMaxScrollOffset() - 1.5 ? this.scrollState.lastTargetOffset = r : wt({
592
- kind: g,
593
- offset: r,
594
- command: this.scrollState,
595
- target: () => this.getScrollStateTarget(this.scrollState)
596
- }) && (this.scrollState = null), this.pendingWrite = null, this._clampedAdjustment !== null && Math.abs(r - this._clampedAdjustment.maxAtWrite) >= 1.5 && (this._clampedAdjustment = null);
597
- const v = this.getScrollOffset(), b = this.scrollDirection;
598
- this.scrollDirection = l ? v === r ? this.scrollDirection : v < r ? "forward" : "backward" : null, this.scrollOffset = r, this.isScrolling = l;
599
- const S = this.scrollState;
600
- if ((S == null ? void 0 : S.phase) === "queued" && g === "external" && l)
601
- if (m || this._reportedOverscroll)
602
- S.samples = [];
603
- else {
604
- const p = this.now();
605
- S.samples = [
606
- ...((f = S.samples) != null ? f : []).filter(
607
- (y) => p - y.t <= 200
608
- ),
609
- { t: p, offset: w }
610
- ], (b !== null && this.scrollDirection !== b || St(S.samples)) && (this.scrollState = null);
611
- }
612
- this._iosGesture.onScroll({
613
- isScrolling: l,
614
- ownReadBack: g === "readBack",
615
- moved: r !== v,
616
- external: g === "external" && ((h = this.scrollState) == null ? void 0 : h.phase) !== "smooth" && ((c = this.scrollState) == null ? void 0 : c.phase) !== "smoothFinishing"
617
- }) && ((d = this.scrollState) == null ? void 0 : d.phase) === "queued" && (this.scrollState = null), this._flushHoldIfReady(!0), this.scrollState && this.scheduleScrollReconcile(), this.maybeNotify();
618
- })
619
- ), "addEventListener" in this.scrollElement && this.unsubs.push(
620
- this._iosGesture.listen(this.scrollElement)
621
- ), this._scrollToOffset(this.getScrollOffset());
622
- }
623
- this._noteClampMax();
624
- const s = this.pendingScrollAnchor;
625
- this.pendingScrollAnchor = null, s && this.scrollElement && this.options.enabled && (s.kind === "anchor" ? this._canWriteScroll() ? W(this.scrollState) && !M(
626
- this.getScrollOffset() - s.delta,
627
- this.scrollState.lastTargetOffset
628
- ) || (this._followOffsetTarget(s.delta), this._scrollToOffset(this.getScrollOffset())) : (this._holdOffset += s.delta, this._followOffsetTarget(s.delta), this.notify(!1)) : this.scrollToEnd({ behavior: s.behavior })), this._flushHoldIfReady(!1), this._retryClampedAdjustment();
629
- }, this._classifyScrollEvent = (t, e, s) => {
630
- var r;
631
- var o;
632
- return vt({
633
- offset: t,
634
- isScrolling: e,
635
- elementMax: s,
636
- holdOffset: this._holdOffset,
637
- scrollOffset: this.scrollOffset,
638
- pendingWrite: this.pendingWrite,
639
- clampedMaxAtWrite: (r = (o = this._clampedAdjustment) == null ? void 0 : o.maxAtWrite) != null ? r : null
640
- });
641
- }, this._retryClampedAdjustment = () => {
642
- if (this._clampedAdjustment === null || !this.scrollElement || !this.options.enabled || !this._canWriteScroll())
643
- return;
644
- const { target: t, maxAtWrite: e } = this._clampedAdjustment, s = this.getMaxScrollOffset();
645
- s > e + 0.5 && (this._clampedAdjustment = t > s + 0.5 ? { target: t, maxAtWrite: s } : null, this._scrollToOffset(t));
646
- }, this._writeAwaitingCommand = () => {
647
- const t = this.scrollState;
648
- if (t === null || t.phase !== "queued")
649
- return;
650
- const { behavior: e } = t;
651
- this.getMeasurements();
652
- const s = this.getScrollStateTarget(t);
653
- t.lastTargetOffset = s, this._clampedAdjustment = null, t.phase = J(
654
- e,
655
- t.index != null && M(s, this.getScrollOffset())
656
- ), this._scrollToOffset(s, { behavior: e }), this.scheduleScrollReconcile();
657
- }, this._readElementOffset = () => {
658
- const t = this.scrollElement;
659
- if (t == null)
660
- return null;
661
- const { horizontal: e, isRtl: s } = this.options;
662
- return typeof t.scrollTop == "number" ? e ? t.scrollLeft * (s && -1 || 1) : t.scrollTop : typeof t.scrollY == "number" ? e ? t.scrollX : t.scrollY : null;
663
- }, this._canWriteScroll = () => !(V() && this._iosGesture.inMotion()) && !this._reportedOverscroll, this._flushHoldIfReady = (t) => {
664
- var o;
665
- var e;
666
- if (this._holdOffset === 0 || !this.scrollElement || !this.options.enabled || !this._canWriteScroll() || ((e = this.scrollState) == null ? void 0 : e.phase) === "smooth")
667
- return;
668
- this._holdOffset = 0, this.scrollOffset !== null && this.scrollOffset < 0 && (this.scrollOffset = 0), this.notify(t);
669
- const s = (o = this.getCommandWrittenOffset()) != null ? o : this.getScrollOffset();
670
- this._clampedAdjustment = this._clampedBy(s), this._scrollToOffset(s);
671
- }, this.rafId = null, this.getSize = () => {
672
- var t;
673
- return this.options.enabled ? (this.scrollRect = (t = this.scrollRect) != null ? t : this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0);
674
- }, this.getScrollOffset = () => {
675
- var t;
676
- return this.options.enabled ? (this.scrollOffset = (t = this.scrollOffset) != null ? t : typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset, this.scrollOffset) : (this.scrollOffset = null, 0);
677
- }, this.getMeasurementOptions = E(
678
- () => [
679
- this.options.count,
680
- this.options.paddingStart,
681
- this.options.scrollMargin,
682
- this.options.getItemKey,
683
- this.options.enabled,
684
- this.options.lanes,
685
- this.options.laneAssignmentMode,
686
- this.options.gap
687
- ],
688
- (t, e, s, o, r, l, a, h) => (this.prevLanes !== void 0 && this.prevLanes !== l && (this.lanesChangedFlag = !0), this.prevLanes = l, this.pendingMin = null, {
689
- count: t,
690
- paddingStart: e,
691
- scrollMargin: s,
692
- getItemKey: o,
693
- enabled: r,
694
- lanes: l,
695
- laneAssignmentMode: a,
696
- gap: h
697
- }),
698
- {
699
- key: !1
700
- }
701
- ), this.isIndexInRange = (t) => t >= 0 && t < this.options.count, this.getMeasurements = E(
702
- () => [this.getMeasurementOptions(), this.itemSizeCacheVersion],
703
- ({
704
- count: t,
705
- paddingStart: e,
706
- scrollMargin: s,
707
- getItemKey: o,
708
- enabled: r,
709
- lanes: l,
710
- laneAssignmentMode: a,
711
- gap: h
712
- }, c) => {
713
- var S;
714
- var d;
715
- const u = this.itemSizeCache;
716
- if (!r)
717
- return this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
718
- if (this.laneAssignments.size > t)
719
- for (const f of this.laneAssignments.keys())
720
- f >= t && this.laneAssignments.delete(f);
721
- this.lanesChangedFlag && (this.lanesChangedFlag = !1, this.lanesSettling = !0, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.pendingMin = null), this.measurementsCache.length === 0 && !this.lanesSettling && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((f) => {
722
- this.itemSizeCache.set(f.key, f.size);
723
- }));
724
- const m = this.lanesSettling ? 0 : (S = this.pendingMin) != null ? S : 0;
725
- if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = !1), l === 1) {
726
- const f = t * 2;
727
- let p = (d = this._singleLaneMeasurements) == null ? void 0 : d.flat;
728
- if (!p || p.length < f) {
729
- const x = new Float64Array(f);
730
- p && m > 0 && x.set(p.subarray(0, m * 2)), p = x;
731
- }
732
- const y = m === 0 ? new Array(t) : this._singleLaneMeasurements.items.slice();
733
- let _;
734
- if (m === 0)
735
- _ = e + s;
736
- else {
737
- const x = m - 1;
738
- _ = p[x * 2] + p[x * 2 + 1] + h;
739
- }
740
- for (let x = m; x < t; x++) {
741
- const A = o(x);
742
- y[x] = A;
743
- const T = u.get(A), k = typeof T == "number" ? T : this.options.estimateSize(x);
744
- p[x * 2] = _, p[x * 2 + 1] = k, _ += k + h;
745
- }
746
- this._singleLaneMeasurements = { flat: p, items: y };
747
- const C = pt(y, p);
748
- return this.measurementsCache = C, C;
749
- }
750
- const w = this.measurementsCache.slice(0, m), g = new Array(l).fill(
751
- void 0
752
- ), v = new Float64Array(l);
753
- let b = 0;
754
- for (let f = 0; f < m; f++) {
755
- const p = w[f];
756
- p && (g[p.lane] === void 0 && b++, g[p.lane] = f, v[p.lane] = p.end);
757
- }
758
- for (let f = m; f < t; f++) {
759
- const p = o(f), y = this.laneAssignments.get(f);
760
- let _, C;
761
- const x = a === "estimate" || u.has(p);
762
- if (y !== void 0 && this.options.lanes > 1) {
763
- _ = y;
764
- const D = g[_], R = D !== void 0 ? w[D] : void 0;
765
- C = R ? R.end + h : e + s;
766
- } else if (b === l) {
767
- let D = 0, R = v[0], G = g[0];
768
- for (let z = 1; z < l; z++) {
769
- const B = v[z];
770
- (B < R || B === R && g[z] < G) && (D = z, R = B, G = g[z]);
771
- }
772
- _ = D, C = R + h, x && this.laneAssignments.set(f, _);
773
- } else
774
- _ = f % this.options.lanes, C = e + s, x && this.laneAssignments.set(f, _);
775
- const A = u.get(p), T = typeof A == "number" ? A : this.options.estimateSize(f), k = C + T;
776
- w[f] = {
777
- index: f,
778
- start: C,
779
- size: T,
780
- end: k,
781
- key: p,
782
- lane: _
783
- }, g[_] === void 0 && b++, g[_] = f, v[_] = k;
784
- }
785
- return this.measurementsCache = w, w;
786
- },
787
- {
788
- key: !1,
789
- debug: () => this.options.debug
790
- }
791
- ), this.calculateRange = E(
792
- () => [
793
- this.getMeasurements(),
794
- this.getSize(),
795
- this.getScrollOffset(),
796
- this.options.lanes,
797
- this._getLayoutTotalSize() + this.options.scrollMargin
798
- ],
799
- (t, e, s, o, r) => {
800
- if (t.length === 0 || e === 0)
801
- return this.range = null, null;
802
- const l = Math.max(r - e, 0);
803
- return this.range = Vt(
804
- t,
805
- e,
806
- Math.min(s, l),
807
- o,
808
- o === 1 && this._singleLaneMeasurements !== null ? this._singleLaneMeasurements.flat : null
809
- ), this.range;
810
- },
811
- {
812
- key: !1,
813
- debug: () => this.options.debug
814
- }
815
- ), this.getVirtualIndexes = E(
816
- () => {
817
- let t = null, e = null;
818
- const s = this.calculateRange();
819
- return s && (t = s.startIndex, e = s.endIndex), this.maybeNotify.updateDeps([this.isScrolling, t, e]), [
820
- this.options.rangeExtractor,
821
- this.options.overscan,
822
- this.options.count,
823
- t,
824
- e,
825
- this.options.lanes
826
- ];
827
- },
828
- (t, e, s, o, r, l) => o === null || r === null ? [] : t({
829
- startIndex: o,
830
- endIndex: r,
831
- overscan: e,
832
- count: s,
833
- lanes: l
834
- }),
835
- {
836
- key: !1,
837
- debug: () => this.options.debug
838
- }
839
- ), this.indexFromElement = (t) => {
840
- const e = this.options.indexAttribute, s = t.getAttribute(e);
841
- return s ? parseInt(s, 10) : (console.warn(
842
- `Missing attribute name '${e}={index}' on measured element.`
843
- ), -1);
844
- }, this.shouldMeasureDuringScroll = (t) => {
845
- var o;
846
- var e;
847
- if (!W(this.scrollState))
848
- return !0;
849
- const s = (o = this.scrollState.index) != null ? o : (e = this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)) == null ? void 0 : e.index;
850
- if (s !== void 0 && this.range) {
851
- const r = Math.max(
852
- this.options.overscan,
853
- Math.ceil((this.range.endIndex - this.range.startIndex) / 2)
854
- ), l = Math.max(0, s - r), a = Math.min(
855
- this.options.count - 1,
856
- s + r
857
- );
858
- return t >= l && t <= a;
859
- }
860
- return !0;
861
- }, this.measureElement = (t) => {
862
- if (!t) {
863
- this.elementsCache.forEach((r, l) => {
864
- r.isConnected || (this.observer.unobserve(r), this.elementsCache.delete(l));
865
- });
866
- return;
867
- }
868
- const e = this.indexFromElement(t);
869
- if (!this.isIndexInRange(e))
870
- return;
871
- const s = this.options.getItemKey(e), o = this.elementsCache.get(s);
872
- o !== t && (o && this.observer.unobserve(o), this.observer.observe(t), this.elementsCache.set(s, t)), t.isConnected && (!this.isScrolling || this.scrollState) && this.shouldMeasureDuringScroll(e) && this.resizeItem(e, this.options.measureElement(t, void 0, this));
873
- }, this.resizeItem = (t, e) => {
874
- var m, w;
875
- var s, o, r;
876
- if (!this.isIndexInRange(t))
877
- return;
878
- (s = this._resizeBatch) != null && s.sync && this.getMeasurements();
879
- let l, a, h;
880
- const c = (o = this._singleLaneMeasurements) == null ? void 0 : o.flat;
881
- if (this.options.lanes === 1 && c != null)
882
- h = this.options.getItemKey(t), a = c[t * 2], l = c[t * 2 + 1];
883
- else {
884
- const g = this.measurementsCache[t];
885
- if (!g)
886
- return;
887
- h = g.key, a = g.start, l = g.size;
888
- }
889
- const d = (m = this.itemSizeCache.get(h)) != null ? m : l, u = e - d;
890
- if (u !== 0) {
891
- const g = this.options.anchorTo === "end" && !W(this.scrollState) && this.getVirtualDistanceFromEnd() <= this.options.scrollEndThreshold, v = g ? this._getLayoutTotalSize() : 0, b = this.getScrollOffset(), f = !this.itemSizeCache.has(h) ? a < b : a + d <= b && this.scrollDirection !== "backward", p = !W(this.scrollState) && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(
892
- (w = this.measurementsCache[t]) != null ? w : {
893
- index: t,
894
- key: h,
895
- start: a,
896
- size: l,
897
- end: a + l,
898
- lane: 0
899
- },
900
- u,
901
- this
902
- ) : f);
903
- (this.pendingMin === null || t < this.pendingMin) && (this.pendingMin = t), this.itemSizeCache.set(h, e), this.itemSizeCacheVersion++;
904
- let y = !1;
905
- if (this._awaitingCommandReadBack() || (g ? y = this.applyScrollAdjustment(
906
- this._getLayoutTotalSize() - v
907
- ) : p && (y = this.applyScrollAdjustment(u))), this._resizeBatch) {
908
- this._resizeBatch.notify = !0, (r = this._resizeBatch).sync || (r.sync = y);
909
- return;
910
- }
911
- this.notify(y), this._noteClampMax(), this._flushHoldIfReady(!0), this._retryClampedAdjustment();
912
- }
913
- }, this.getVirtualItems = E(
914
- () => [this.getVirtualIndexes(), this.getMeasurements(), this._holdOffset],
915
- (t, e, s) => {
916
- const o = [];
917
- for (let r = 0, l = t.length; r < l; r++) {
918
- const a = t[r], h = e[a];
919
- o.push(
920
- s === 0 ? h : {
921
- ...h,
922
- start: h.start - s,
923
- end: h.end - s
924
- }
925
- );
926
- }
927
- return o;
928
- },
929
- {
930
- key: !1,
931
- debug: () => this.options.debug
932
- }
933
- ), this.getVirtualItemForOffset = (t) => {
934
- var e;
935
- const s = this.getMeasurements();
936
- if (s.length === 0)
937
- return;
938
- const o = (e = this._singleLaneMeasurements) == null ? void 0 : e.flat, r = this.options.lanes === 1 && o != null, l = it(
939
- 0,
940
- s.length - 1,
941
- r ? (a) => o[a * 2] : (a) => X(s[a]).start,
942
- t
943
- );
944
- return X(s[l]);
945
- }, this._noteClampMax = () => {
946
- var r;
947
- if (!this._awaitingCommandReadBack())
948
- return;
949
- const t = this._elementMaxScrollOffset();
950
- if (t === null)
951
- return;
952
- const e = this.pendingWrite, s = Math.max(t, 0) + this._holdOffset;
953
- if (s >= e.target)
954
- return;
955
- const o = (r = e.lowMaxes) != null ? r : e.lowMaxes = [];
956
- o[o.length - 1] !== s && o.push(s);
957
- }, this.getMaxScrollOffset = () => {
958
- var t;
959
- return ((t = this._elementMaxScrollOffset()) != null ? t : 0) + this._holdOffset;
960
- }, this._toLayoutOffset = (t) => {
961
- var e;
962
- let s = t + this._holdOffset;
963
- return ((e = this.pendingScrollAnchor) == null ? void 0 : e.kind) === "anchor" && (s += this.pendingScrollAnchor.delta), s;
964
- }, this._elementMaxScrollOffset = () => {
965
- const t = this.scrollElement;
966
- if (t === null)
967
- return null;
968
- if ("scrollHeight" in t)
969
- return this.options.horizontal ? t.scrollWidth - t.clientWidth : t.scrollHeight - t.clientHeight;
970
- if ("document" in t) {
971
- const e = t.document.documentElement;
972
- return this.options.horizontal ? e.scrollWidth - t.innerWidth : e.scrollHeight - t.innerHeight;
973
- }
974
- return null;
975
- }, this._momentumStop = null, this._stopMomentum = (t) => {
976
- const e = this.scrollElement, s = this.targetWindow;
977
- if (e === null || s === null)
978
- return;
979
- const o = "document" in e ? e.document.scrollingElement : e;
980
- if (!(o != null && o.style))
981
- return;
982
- if (this._momentumStop) {
983
- this._momentumStop.done = t;
984
- return;
985
- }
986
- const { style: r } = o, l = this.options.horizontal ? "overflow-x" : "overflow-y", a = r.getPropertyValue(l), h = r.getPropertyPriority(l), c = () => this.options.horizontal ? o.clientHeight : o.clientWidth, d = c();
987
- if (r.setProperty(l, "hidden", "important"), c() !== d) {
988
- r.setProperty(l, a, h);
989
- return;
990
- }
991
- const u = {
992
- restore: () => r.getPropertyValue(l) !== "hidden" || r.getPropertyPriority(l) !== "important" ? !1 : (r.setProperty(l, a, h), !0),
993
- done: t
994
- };
995
- this._momentumStop = u, s.requestAnimationFrame(
996
- () => s.requestAnimationFrame(() => {
997
- this._momentumStop === u && (this._momentumStop = null, u.restore() && u.done());
998
- })
999
- );
1000
- }, this._clampedBy = (t) => {
1001
- const e = this._elementMaxScrollOffset();
1002
- if (e === null)
1003
- return null;
1004
- const s = e + this._holdOffset;
1005
- return t > s + 0.5 ? { target: t, maxAtWrite: s } : null;
1006
- }, this.getVirtualDistanceFromEnd = () => Math.max(
1007
- this._getLayoutTotalSize() + this.options.scrollMargin - this.getSize() - this.getScrollOffset(),
1008
- 0
1009
- ), this.getDistanceFromEnd = () => Math.max(this.getMaxScrollOffset() - this.getScrollOffset(), 0), this.isAtEnd = (t = this.options.scrollEndThreshold) => this.getDistanceFromEnd() <= t, this.getOffsetForAlignment = (t, e, s = 0) => {
1010
- if (!this.scrollElement)
1011
- return 0;
1012
- const o = this.getSize(), r = this.getScrollOffset();
1013
- e === "auto" && (e = t >= r + o ? "end" : "start"), e === "center" ? t += (s - o) / 2 : e === "end" && (t -= o);
1014
- const l = this.getMaxScrollOffset();
1015
- return Math.max(Math.min(l, t), 0);
1016
- }, this.getOffsetForIndex = (t, e = "auto") => {
1017
- t = Math.max(0, Math.min(t, this.options.count - 1));
1018
- const s = this.getSize(), o = this.getScrollOffset(), r = this.measurementsCache[t];
1019
- if (!r)
1020
- return;
1021
- if (e === "auto")
1022
- if (r.end >= o + s - this.options.scrollPaddingEnd)
1023
- e = "end";
1024
- else if (r.start <= o + this.options.scrollPaddingStart)
1025
- e = "start";
1026
- else
1027
- return [o, e];
1028
- if (e === "end" && t === this.options.count - 1) {
1029
- const a = this.getMaxScrollOffset(), h = a - this.options.paddingEnd + this.options.scrollPaddingEnd;
1030
- return [Math.max(Math.min(h, a), 0), e];
1031
- }
1032
- const l = e === "end" ? r.end + this.options.scrollPaddingEnd : r.start - this.options.scrollPaddingStart;
1033
- return [
1034
- this.getOffsetForAlignment(l, e, r.size),
1035
- e
1036
- ];
1037
- }, this.scrollToOffset = (t, { align: e = "start", behavior: s = "auto" } = {}) => {
1038
- this._startScroll(
1039
- { index: null, align: e },
1040
- this.getOffsetForAlignment(t, e),
1041
- s,
1042
- "absolute"
1043
- );
1044
- }, this.scrollToIndex = (t, {
1045
- align: e = "auto",
1046
- behavior: s = "auto"
1047
- } = {}) => {
1048
- t = Math.max(0, Math.min(t, this.options.count - 1));
1049
- const o = this.getOffsetForIndex(t, e);
1050
- if (!o)
1051
- return;
1052
- const [r, l] = o;
1053
- this._startScroll({ index: t, align: l }, r, s, "absolute");
1054
- }, this.scrollBy = (t, { behavior: e = "auto" } = {}) => {
1055
- var o;
1056
- const s = this.getOffsetForAlignment(
1057
- ((o = this.getCommandWrittenOffset()) != null ? o : this.getScrollOffset()) + t,
1058
- "start"
1059
- );
1060
- this._startScroll(
1061
- { index: null, align: "start" },
1062
- s,
1063
- e,
1064
- "relative"
1065
- );
1066
- }, this.scrollToEnd = ({ behavior: t = "auto" } = {}) => {
1067
- if (this.options.count > 0) {
1068
- this._startScroll(
1069
- { index: this.options.count - 1, align: "end", toEnd: !0 },
1070
- Math.max(this.getMaxScrollOffset(), 0),
1071
- t,
1072
- "absolute"
1073
- );
1074
- return;
1075
- }
1076
- this.scrollToOffset(Math.max(this.getTotalSize() - this.getSize(), 0), {
1077
- behavior: t
1078
- });
1079
- }, this.cancelScroll = () => {
1080
- this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null;
1081
- }, this.getTotalSize = () => Math.max(this._getLayoutTotalSize() - this._holdOffset, 0), this._getLayoutTotalSize = () => {
1082
- var r;
1083
- var t, e;
1084
- const s = this.getMeasurements();
1085
- let o;
1086
- if (s.length === 0)
1087
- o = this.options.paddingStart;
1088
- else if (this.options.lanes === 1) {
1089
- const l = s.length - 1, a = (t = this._singleLaneMeasurements) == null ? void 0 : t.flat;
1090
- a != null ? o = a[l * 2] + a[l * 2 + 1] : o = (r = (e = s[l]) == null ? void 0 : e.end) != null ? r : 0;
1091
- } else {
1092
- const l = Array(this.options.lanes).fill(null);
1093
- let a = s.length - 1;
1094
- for (; a >= 0 && l.some((h) => h === null); ) {
1095
- const h = s[a];
1096
- l[h.lane] === null && (l[h.lane] = h.end), a--;
1097
- }
1098
- o = Math.max(...l.filter((h) => h !== null));
1099
- }
1100
- return Math.max(
1101
- o - this.options.scrollMargin + this.options.paddingEnd,
1102
- 0
1103
- );
1104
- }, this.takeSnapshot = () => {
1105
- const t = [];
1106
- if (this.itemSizeCache.size === 0)
1107
- return t;
1108
- const e = this.getMeasurements();
1109
- for (const s of e)
1110
- s && this.itemSizeCache.has(s.key) && t.push({
1111
- index: s.index,
1112
- key: s.key,
1113
- start: s.start,
1114
- size: s.size,
1115
- end: s.end,
1116
- lane: s.lane
1117
- });
1118
- return t;
1119
- }, this._scrollToOffset = (t, {
1120
- adjustments: e,
1121
- behavior: s
1122
- } = {}) => {
1123
- const o = {
1124
- target: t + (e != null ? e : 0),
1125
- smooth: s === "smooth"
1126
- };
1127
- return this.pendingWrite = o, this.options.scrollToFn(
1128
- t - this._holdOffset,
1129
- { behavior: s, adjustments: e },
1130
- this
1131
- ), o;
1132
- }, this.getCommandWrittenOffset = () => this.scrollState !== null && this.pendingWrite !== null && !this.pendingWrite.smooth ? this.pendingWrite.target : null, this._awaitingCommandReadBack = () => {
1133
- const t = this.getCommandWrittenOffset();
1134
- return !(V() && this._iosGesture.dragging()) && t !== null && !M(t, this.getScrollOffset());
1135
- }, this._followOffsetTarget = (t) => {
1136
- this.scrollState !== null && this.scrollState.index == null && (this.scrollState.lastTargetOffset += t);
1137
- }, this.measure = () => {
1138
- this.pendingMin = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.itemSizeCacheVersion++, this.notify(!1);
1139
- }, this.setOptions(n);
1140
- }
1141
- get scrollAdjustments() {
1142
- return 0;
1143
- }
1144
- applyScrollAdjustment(n, t) {
1145
- if (n === 0)
1146
- return !1;
1147
- if (this._followOffsetTarget(n), this._canWriteScroll()) {
1148
- const e = this.getScrollOffset();
1149
- this._clampedAdjustment = this._clampedBy(e + n);
1150
- const s = this._scrollToOffset(e, {
1151
- adjustments: n,
1152
- behavior: t
1153
- });
1154
- return this.scrollOffset !== null && (this.pendingWrite === s && (this.scrollOffset += n), this.scrollOffset < 0 && (this.scrollOffset = 0)), !0;
1155
- } else
1156
- return this._holdOffset += n, this.scrollOffset !== null && (this.scrollOffset += n), !0;
1157
- }
1158
- scheduleScrollReconcile() {
1159
- if (!this.targetWindow) {
1160
- this.scrollState = null;
1161
- return;
1162
- }
1163
- this.rafId == null && (this.rafId = this.targetWindow.requestAnimationFrame(() => {
1164
- this.rafId = null, this.reconcileScroll();
1165
- }));
1166
- }
1167
- getScrollStateTarget(n) {
1168
- const t = n.toEnd ? [Math.max(this.getMaxScrollOffset(), 0)] : n.index != null ? this.getOffsetForIndex(n.index, n.align) : void 0;
1169
- return t ? t[0] : n.lastTargetOffset;
1170
- }
1171
- reconcileScroll() {
1172
- if (!this.scrollState || !this.scrollElement)
1173
- return;
1174
- const t = 5e3;
1175
- if (this.now() - this.scrollState.startedAt > t) {
1176
- this.scrollState = null;
1177
- return;
1178
- }
1179
- if (this.scrollState.phase === "queued") {
1180
- this.scheduleScrollReconcile();
1181
- return;
1182
- }
1183
- this.getMeasurements();
1184
- const e = this.getScrollStateTarget(this.scrollState), s = this.scrollState.index == null ? 1 : this.options.useAnimationFrameWithResizeObserver ? 3 : 2, o = e !== this.scrollState.lastTargetOffset;
1185
- if (!o && M(e, this.getScrollOffset())) {
1186
- if (this.scrollState.phase === "smooth" ? this.scrollState.phase = "smoothLanded" : this.scrollState.phase === "smoothFinishing" && (this.scrollState.phase = "instant"), this.scrollState.stableFrames++, this.scrollState.stableFrames >= s) {
1187
- this.getScrollOffset() !== e && this._scrollToOffset(e, { behavior: "auto" }), this.scrollState = null;
1188
- return;
1189
- }
1190
- } else if (this.scrollState.stableFrames = 0, o) {
1191
- const r = this.getSize() || 600, l = Math.abs(e - this.getScrollOffset()), a = W(this.scrollState) && l > r;
1192
- this.scrollState.lastTargetOffset = e, a ? this.scrollState.phase = "smooth" : this.scrollState.phase === "smooth" ? this.scrollState.phase = "smoothFinishing" : this.scrollState.phase === "smoothLanded" && (this.scrollState.phase = "instant"), this._scrollToOffset(e, {
1193
- behavior: a ? "smooth" : "auto"
1194
- });
1195
- }
1196
- this.scheduleScrollReconcile();
1197
- }
1198
- _startScroll(n, t, e, s) {
1199
- this.pendingScrollAnchor = null, this._clampedAdjustment = null;
1200
- const o = this._iosGesture.tail();
1201
- if (s === "absolute" && o !== null) {
1202
- if (o === "fling" && xt()) {
1203
- this._stopMomentum(() => {
1204
- const r = this.scrollState;
1205
- (r == null ? void 0 : r.phase) !== "queued" || this._iosGesture.tail() !== "fling" || this._reportedOverscroll || (this._iosGesture.end(), this._flushHoldIfReady(!0), this._writeAwaitingCommand());
1206
- }), this.scrollState = {
1207
- ...n,
1208
- startedAt: this.now(),
1209
- lastTargetOffset: t,
1210
- stableFrames: 0,
1211
- phase: "queued",
1212
- behavior: e,
1213
- samples: []
1214
- }, this.scheduleScrollReconcile();
1215
- return;
1216
- }
1217
- this._iosGesture.end();
1218
- }
1219
- this.scrollState = {
1220
- ...n,
1221
- startedAt: this.now(),
1222
- lastTargetOffset: t,
1223
- stableFrames: 0,
1224
- behavior: e,
1225
- phase: J(
1226
- e,
1227
- n.index != null && M(t, this.getScrollOffset())
1228
- )
1229
- }, this._scrollToOffset(t, { behavior: e }), this.scheduleScrollReconcile();
1230
- }
1231
- }
1232
- const it = (i, n, t, e) => {
1233
- for (; i <= n; ) {
1234
- const s = (i + n) / 2 | 0, o = t(s);
1235
- if (o < e)
1236
- i = s + 1;
1237
- else if (o > e)
1238
- n = s - 1;
1239
- else
1240
- return s;
1241
- }
1242
- return i > 0 ? i - 1 : 0;
1243
- };
1244
- function Ft(i, n, t) {
1245
- let e = 0;
1246
- for (; e <= n; ) {
1247
- const s = (e + n) / 2 | 0, o = i[s * 2];
1248
- if (o < t)
1249
- e = s + 1;
1250
- else if (o > t)
1251
- n = s - 1;
1252
- else
1253
- return s;
1254
- }
1255
- return e > 0 ? e - 1 : 0;
1256
- }
1257
- function Vt(i, n, t, e, s) {
1258
- const o = i.length - 1;
1259
- if (i.length <= e)
1260
- return { startIndex: 0, endIndex: o };
1261
- if (e === 1 && s !== null) {
1262
- const h = Ft(
1263
- s,
1264
- o,
1265
- t
1266
- );
1267
- let c = h;
1268
- const d = t + n;
1269
- for (; c < o && s[c * 2] + s[c * 2 + 1] < d; )
1270
- c++;
1271
- return { startIndex: h, endIndex: c };
1272
- }
1273
- let l = it(0, o, (h) => i[h].start, t), a = l;
1274
- if (e === 1)
1275
- for (; a < o && i[a].end < t + n; )
1276
- a++;
1277
- else if (e > 1) {
1278
- const h = Array(e).fill(0);
1279
- for (; a < o && h.some((d) => d < t + n); ) {
1280
- const d = i[a];
1281
- h[d.lane] = d.end, a++;
1282
- }
1283
- const c = Array(e).fill(t + n);
1284
- for (; l >= 0 && c.some((d) => d >= t); ) {
1285
- const d = i[l];
1286
- c[d.lane] = d.start, l--;
1287
- }
1288
- l = Math.max(0, l - l % e), a = Math.min(o, a + (e - 1 - a % e));
1289
- }
1290
- return { startIndex: l, endIndex: a };
1291
- }
1292
- class Bt {
1293
- constructor(n, t, e, s) {
1294
- this.bodyEl = n, this.scrollElement = t, this.config = e, this.onIndexesChange = s, this.measuredIndexes = /* @__PURE__ */ new WeakMap(), this.observedRows = /* @__PURE__ */ new Set(), this.resizeObserver = new ResizeObserver((o) => this.resizeRows(o.map(({ borderBoxSize: r, target: l }) => ({
1295
- row: l,
1296
- height: r[0].blockSize
1297
- })))), this.indexes = [], this.isResizingRows = !1, this.hasChangeWhileResizing = !1, this.bodyEl.style.overflowAnchor = "none", this.scrollMargin = this.measureScrollMargin(), this.virtualizer = new Wt(this.options()), this.unmount = this.virtualizer._didMount(), this.virtualizer._willUpdate(), this.update();
1298
- }
1299
- setConfig(n) {
1300
- this.config = n, this.applyOptions();
1301
- }
1302
- sync() {
1303
- this.updateScrollMargin(), this.observedRows.forEach((t) => {
1304
- t.isConnected || (this.resizeObserver.unobserve(t), this.observedRows.delete(t));
1305
- });
1306
- const n = this.getRenderedRows();
1307
- n.forEach((t) => {
1308
- this.observedRows.has(t) || (this.observedRows.add(t), this.resizeObserver.observe(t));
1309
- }), this.resizeRows(n.filter((t) => this.measuredIndexes.get(t) !== H(t)).map((t) => ({ row: t, height: t.getBoundingClientRect().height }))), this.layout();
1310
- }
1311
- destroy() {
1312
- this.unmount(), this.resizeObserver.disconnect(), this.observedRows.clear(), this.bodyEl.style.overflowAnchor = "", this.bodyEl.style.paddingTop = "", this.bodyEl.style.paddingBottom = "", this.getRenderedRows().forEach((n) => n.style.marginTop = "");
1313
- }
1314
- applyOptions() {
1315
- this.virtualizer.setOptions(this.options()), this.virtualizer._willUpdate(), this.update();
1316
- }
1317
- update() {
1318
- if (this.updateScrollMargin())
1319
- return;
1320
- const n = this.virtualizer.getVirtualItems().map(({ index: t }) => t);
1321
- qt(n, this.indexes) || (this.indexes = n, this.onIndexesChange(n)), this.layout();
1322
- }
1323
- updateScrollMargin() {
1324
- const n = this.measureScrollMargin();
1325
- return Math.abs(n - this.scrollMargin) < 1 ? !1 : (this.scrollMargin = n, this.applyOptions(), !0);
1326
- }
1327
- resizeRows(n) {
1328
- this.isResizingRows = !0;
1329
- try {
1330
- n.forEach(({ row: t, height: e }) => {
1331
- const s = H(t);
1332
- !t.isConnected || Number.isNaN(s) || e === 0 || (this.measuredIndexes.set(t, s), this.virtualizer.resizeItem(s, e));
1333
- });
1334
- } finally {
1335
- this.isResizingRows = !1;
1336
- }
1337
- this.hasChangeWhileResizing && (this.hasChangeWhileResizing = !1, this.update());
1338
- }
1339
- handleChange() {
1340
- if (this.isResizingRows) {
1341
- this.hasChangeWhileResizing = !0;
1342
- return;
1343
- }
1344
- this.update();
1345
- }
1346
- layout() {
1347
- const n = new Map(this.virtualizer.getVirtualItems().map((e) => [e.index, e]));
1348
- let t;
1349
- this.getRenderedRows().forEach((e) => {
1350
- const s = H(e), o = n.get(s);
1351
- if (!o)
1352
- return;
1353
- e.index !== s + 2 && (e.index = s + 2);
1354
- const r = o.start - this.scrollMargin;
1355
- t === void 0 ? (F(this.bodyEl, "paddingTop", r), F(e, "marginTop", 0)) : F(e, "marginTop", r - t), t = o.end - this.scrollMargin;
1356
- }), t === void 0 && F(this.bodyEl, "paddingTop", 0), F(this.bodyEl, "paddingBottom", this.virtualizer.getTotalSize() - (t != null ? t : 0));
1357
- }
1358
- getRenderedRows() {
1359
- return Array.from(this.bodyEl.querySelectorAll("swirl-table-row[data-index]"));
1360
- }
1361
- options() {
1362
- const { estimatedRowHeight: n, keptIndexes: t, overscan: e, rowCount: s } = this.config, o = this.scrollElement instanceof Window;
1363
- return {
1364
- count: s,
1365
- estimateSize: () => n,
1366
- getScrollElement: () => this.scrollElement,
1367
- initialOffset: () => this.scrollElement instanceof Window ? this.scrollElement.scrollY : this.scrollElement.scrollTop,
1368
- overscan: e,
1369
- scrollMargin: this.scrollMargin,
1370
- rangeExtractor: (r) => Kt(tt(r), t.filter((l) => Number.isInteger(l) && l >= 0 && l < s)),
1371
- observeElementRect: o ? zt : Mt,
1372
- observeElementOffset: o ? At : It,
1373
- scrollToFn: o ? kt : Dt,
1374
- onChange: () => this.handleChange()
1375
- };
1376
- }
1377
- measureScrollMargin() {
1378
- const n = this.bodyEl.getBoundingClientRect().top;
1379
- return this.scrollElement instanceof Window ? n + this.scrollElement.scrollY : n - this.scrollElement.getBoundingClientRect().top + this.scrollElement.scrollTop;
1380
- }
1381
- }
1382
- function H(i) {
1383
- return Number(i.dataset.index);
1384
- }
1385
- function Kt(i, n) {
1386
- return [.../* @__PURE__ */ new Set([...i, ...n])].sort((t, e) => t - e);
1387
- }
1388
- function qt(i, n) {
1389
- return i.length === n.length && i.every((t, e) => t === n[e]);
1390
- }
1391
- function F(i, n, t) {
1392
- const e = t > 0 ? `${t}px` : "";
1393
- i.style[n] !== e && (i.style[n] = e);
1394
- }
1395
- const Pt = () => ".sc-swirl-table-h{--swirl-table-shadow-rgba:rgba(23, 23, 23, 0.2);position:relative;display:block}.sc-swirl-table-h *.sc-swirl-table{box-sizing:border-box}html.theme-dark.sc-swirl-table-h,html.theme-dark .sc-swirl-table-h{--swirl-table-shadow-rgba:rgba(0, 0, 0, 0.2)}.table--keyboard-move.sc-swirl-table:focus-within{--swirl-table-moving-row-border:var(--s-border-width-default) solid var(--s-border-highlight)}.table--show-empty-state.sc-swirl-table .table__empty-row.sc-swirl-table{display:flex}.table__container.sc-swirl-table{position:relative;overflow:auto;width:100%}.table__container--scrolled.sc-swirl-table{--swirl-table-sticky-right-shadow:4px 0 16px -4px var(--swirl-table-shadow-rgba), 2px 0 4px -2px var(--swirl-table-shadow-rgba)}.table__container--scrollable.sc-swirl-table:not(.table__container--scrolled-to-end){--swirl-table-sticky-left-shadow:0px 4px 16px 0px var(--swirl-table-shadow-rgba), 0px 1px 4px 0px var(--swirl-table-shadow-rgba)}.table__table.sc-swirl-table{width:-moz-max-content;width:max-content;min-width:max(20rem, 100%)}.table__header.sc-swirl-table-s>*,.table__header .sc-swirl-table-s>*{display:flex}.table__empty-row.sc-swirl-table{display:none}.table__empty-row-cell.sc-swirl-table{display:flex;overflow:auto;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;background-color:var(--s-surface-default)}.table__empty-row-cell.sc-swirl-table>*.sc-swirl-table{flex-grow:1}", Ht = {
1396
- end: "Dropped. Final position in table: {position} of {rowCount}.",
1397
- initial: "Press space to move the row.",
1398
- moved: "Current position in table: {position} of {rowCount}.",
1399
- start: "Row grabbed. Current position in table: {position} of {rowCount}. Press up and down arrow keys to change position, Space to drop."
1400
- }, jt = class {
1401
- constructor(i) {
1402
- nt(this, i), this.dropRow = $(this, "dropRow", 7), this.virtualizationRowsChange = $(this, "virtualizationRowsChange", 7), this.dragDropInstructions = Ht, this.emptyStateLabel = "No results found.", this.virtualizationEstimatedRowHeight = 56, this.virtualizationOverscan = 10, this.virtualizationKeepRowsRendered = [], this.liveRegionText = "", this.triggerRerender = ct(async () => {
1403
- await this.updateLayout(), this.updateEmptyState();
1404
- }, 0, !0), this.updateLayout = mt(async () => {
1405
- this.resetCellStyles(), this.resetColumnStyles(), this.resetEmptyRowStyles(), this.resetRowGroupStyles(), this.layoutEmptyRow(), this.layoutRowGroups(), this.layOutCellsAndColumns(), this.updateScrolledState();
1406
- }, 16, { leading: !0 }), this.onScroll = () => {
1407
- this.updateScrolledState();
1408
- }, this.onFocus = (n) => {
1409
- var e;
1410
- if (this.trackFocusedRow(n.target), this.movingViaKeyboard) {
1411
- const s = this.el.querySelector(".table-row--moving");
1412
- s && this.focusDragHandleOfRow(s);
1413
- }
1414
- const t = !!((e = n.target) != null && e.closest(this.dragDropHandle));
1415
- this.liveRegionText === "" && t && this.updateLiveRegionText("initial");
1416
- }, this.onBlur = (n) => {
1417
- const t = n.relatedTarget;
1418
- this.el.contains(t) || this.trackFocusedRow(null);
1419
- const e = !!(t != null && t.closest(this.dragDropHandle));
1420
- this.el.contains(t) && e || this.liveRegionText !== "" && this.updateLiveRegionText();
1421
- }, this.onKeyDown = (n) => {
1422
- var s, o;
1423
- if (!this.enableDragDrop)
1424
- return;
1425
- const t = (s = n.target) == null ? void 0 : s.closest("swirl-table-row");
1426
- !((o = n.target) != null && o.closest(this.dragDropHandle)) || (n.code === "Space" ? (n.preventDefault(), n.stopPropagation(), this.toggleKeyboardMove(t)) : n.code === "ArrowUp" ? (n.preventDefault(), n.stopPropagation(), this.moveRow(t, "up")) : n.code === "ArrowDown" ? (n.preventDefault(), n.stopPropagation(), this.moveRow(t, "down")) : n.code === "Escape" && (n.preventDefault(), n.stopPropagation(), this.cancelKeyboardMove()));
1427
- };
1428
- }
1429
- async componentDidLoad() {
1430
- this.setupIntersectionObserver(), this.setupMutationObservers(), this.updateVirtualizer(), queueMicrotask(() => {
1431
- this.setupDragDrop();
1432
- });
1433
- }
1434
- disconnectedCallback() {
1435
- var i, n, t, e;
1436
- (i = this.intersectionObserver) == null || i.disconnect(), (n = this.columnMutationObserver) == null || n.disconnect(), (t = this.rowMutationObserver) == null || t.disconnect(), (e = this.sortable) == null || e.destroy(), this.destroyVirtualizer();
1437
- }
1438
- handleVirtualizationChange() {
1439
- this.updateVirtualizer();
1440
- }
1441
- get virtualizerConfig() {
1442
- var i, n;
1443
- if (!(!this.enableVirtualization || !this.virtualizationRowCount))
1444
- return {
1445
- estimatedRowHeight: this.virtualizationEstimatedRowHeight,
1446
- keptIndexes: this.focusedRowIndex === void 0 ? (i = this.virtualizationKeepRowsRendered) != null ? i : [] : [
1447
- ...(n = this.virtualizationKeepRowsRendered) != null ? n : [],
1448
- this.focusedRowIndex
1449
- ],
1450
- overscan: this.virtualizationOverscan,
1451
- rowCount: this.virtualizationRowCount
1452
- };
1453
- }
1454
- updateVirtualizer() {
1455
- if (!this.bodyEl)
1456
- return;
1457
- const i = this.virtualizerConfig;
1458
- if (!i) {
1459
- const n = Boolean(this.virtualizer);
1460
- this.destroyVirtualizer(), this.enableVirtualization && n && queueMicrotask(() => this.virtualizationRowsChange.emit({ indexes: [] }));
1461
- return;
1462
- }
1463
- if (this.virtualizer) {
1464
- this.virtualizer.setConfig(i), this.virtualizer.scrollElement === window && this.updateScrollParent();
1465
- return;
1466
- }
1467
- this.bodyEl.style.paddingBottom = `${i.rowCount * i.estimatedRowHeight}px`, this.virtualizer = new Bt(this.bodyEl, U(this.el), i, (n) => queueMicrotask(() => this.virtualizationRowsChange.emit({ indexes: n })));
1468
- }
1469
- destroyVirtualizer() {
1470
- var i;
1471
- (i = this.virtualizer) == null || i.destroy(), this.virtualizer = void 0;
1472
- }
1473
- handleEnableDragDropChange() {
1474
- queueMicrotask(() => {
1475
- this.setupDragDrop();
1476
- });
1477
- }
1478
- setupIntersectionObserver() {
1479
- this.intersectionObserver = new IntersectionObserver(this.onVisibilityChange.bind(this), {
1480
- threshold: 0
1481
- }), this.intersectionObserver.observe(this.container);
1482
- }
1483
- setupMutationObservers() {
1484
- this.columnMutationObserver = new MutationObserver((i) => {
1485
- i.some((t) => t.addedNodes.length || t.removedNodes.length) && this.updateLayout();
1486
- }), this.columnMutationObserver.observe(this.headerEl, {
1487
- childList: !0,
1488
- subtree: !0
1489
- }), this.rowMutationObserver = new MutationObserver((i) => {
1490
- const n = i.some((e) => e.addedNodes.length || e.removedNodes.length), t = i.some((e) => e.type === "attributes");
1491
- n && (this.updateEmptyState(), this.setupDragDrop()), (n || t) && this.syncVirtualizedRows();
1492
- }), this.startRowMutationObserver();
1493
- }
1494
- startRowMutationObserver() {
1495
- var i;
1496
- (i = this.rowMutationObserver) == null || i.observe(this.bodyEl, {
1497
- attributeFilter: ["data-index"],
1498
- childList: !0,
1499
- subtree: !0
1500
- });
1501
- }
1502
- stopRowMutationObserver() {
1503
- var i;
1504
- (i = this.rowMutationObserver) == null || i.disconnect();
1505
- }
1506
- setupDragDrop() {
1507
- if (this.sortable && (this.sortable.destroy(), this.sortable = void 0), this.enableDragDrop) {
1508
- if (!!this.el.querySelector("swirl-table-row-group")) {
1509
- console.warn('[Swirl] Drag & drop is not yet supported for swirl-tables using the "swirl-table-row-group" component.');
1510
- return;
1511
- }
1512
- if (!this.dragDropHandle) {
1513
- console.warn('[Swirl] swirl-table required the "dragDropHandle" prop to be set when drag & drop is enabled.');
1514
- return;
1515
- }
1516
- const n = this.el.querySelector('[slot="rows"]');
1517
- this.dragDropContainer = (n == null ? void 0 : n.tagName) !== "SWIRL-TABLE-ROW" ? n != null ? n : this.bodyEl : this.bodyEl, this.sortable = new ht(this.dragDropContainer, {
1518
- animation: 100,
1519
- direction: "vertical",
1520
- handle: this.dragDropHandle,
1521
- fallbackOnBody: !0,
1522
- group: `swirl-table-${Math.random().toString().substring(2)}`,
1523
- onStart: () => {
1524
- this.stopRowMutationObserver();
1525
- },
1526
- onEnd: (t) => {
1527
- var l;
1528
- t.stopPropagation();
1529
- const { to: e, newIndex: s, oldIndex: o, item: r } = t;
1530
- this.dropRow.emit({
1531
- newIndex: s,
1532
- oldIndex: o,
1533
- item: r,
1534
- itemId: (l = r.id) != null ? l : r.querySelector(":scope > swirl-table-row").id,
1535
- newNextSiblingItemId: s < e.children.length - 1 ? e.children[s + 1].id : void 0,
1536
- newPrevSiblingItemId: s > 0 ? e.children[s - 1].id : void 0
1537
- }), this.startRowMutationObserver();
1538
- }
1539
- });
1540
- }
1541
- }
1542
- async onVisibilityChange(i) {
1543
- i.some((t) => t.isIntersecting) && setTimeout(async () => {
1544
- this.updateScrollParent(), await this.updateLayout();
1545
- }, 100);
1546
- }
1547
- updateScrollParent() {
1548
- !this.virtualizer || U(this.el) === this.virtualizer.scrollElement || (this.destroyVirtualizer(), this.updateVirtualizer());
1549
- }
1550
- async componentDidRender() {
1551
- await this.updateLayout(), this.updateEmptyState();
1552
- }
1553
- async onWindowResize() {
1554
- await this.updateLayout();
1555
- }
1556
- async rerender() {
1557
- this.triggerRerender();
1558
- }
1559
- resetEmptyRowStyles() {
1560
- const i = this.el.querySelector(".table__empty-row");
1561
- !Boolean(i) || (i.style.width = "");
1562
- }
1563
- resetRowGroupStyles() {
1564
- Array.from(this.el.querySelectorAll("swirl-table-row-group")).forEach((n) => {
1565
- const t = n.shadowRoot.querySelector(".table-row-group__header-row");
1566
- !Boolean(t) || (n.shadowRoot.querySelector(".table-row-group__header-row").style.width = "");
1567
- });
1568
- }
1569
- resetColumnStyles() {
1570
- this.getColumns().forEach((n) => {
1571
- n.classList.remove("table-column--has-shadow", "table-column--is-sticky", "table-column--is-sticky-right"), n.style.right = "", n.style.left = "", n.style.position = "", n.style.zIndex = "";
1572
- });
1573
- }
1574
- resetCellStyles() {
1575
- this.getCells().forEach((n) => {
1576
- n.classList.remove("table-cell--has-shadow", "table-cell--is-sticky", "table-cell--is-sticky-right"), n.style.flex = "", n.style.left = "", n.style.right = "", n.style.position = "", n.style.zIndex = "";
1577
- });
1578
- }
1579
- updateScrolledState() {
1580
- const i = K();
1581
- if (this.container === void 0)
1582
- return;
1583
- const n = this.container.scrollWidth > this.container.clientWidth, t = this.container.scrollLeft > 0, e = Math.ceil(this.container.clientWidth + this.container.scrollLeft) >= Math.floor(this.container.scrollWidth);
1584
- n !== this.scrollable && (n && !i ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")), t !== this.scrolled && (t && !i ? this.container.classList.add("table__container--scrolled") : this.container.classList.remove("table__container--scrolled")), e !== this.scrolledToEnd && (e && !i ? this.container.classList.add("table__container--scrolled-to-end") : this.container.classList.remove("table__container--scrolled-to-end"));
1585
- }
1586
- getColumns() {
1587
- return Array.from(this.el.querySelectorAll("swirl-table-column"));
1588
- }
1589
- getCells() {
1590
- return Array.from(this.el.querySelectorAll("swirl-table-cell"));
1591
- }
1592
- layoutEmptyRow() {
1593
- const i = this.el.querySelector(".table__empty-row");
1594
- if (!Boolean(i))
1595
- return;
1596
- const n = `${this.el.querySelector(".table__container").scrollWidth}px`;
1597
- i.style.width = n;
1598
- }
1599
- layoutRowGroups() {
1600
- var t;
1601
- const i = Array.from(this.el.querySelectorAll("swirl-table-row-group")), n = `${(t = this.el.querySelector(".table__container")) == null ? void 0 : t.scrollWidth}px`;
1602
- i.forEach((e) => {
1603
- const s = e.shadowRoot.querySelector(".table-row-group__header-row");
1604
- !Boolean(s) || (e.shadowRoot.querySelector(".table-row-group__header-row").style.width = n);
1605
- });
1606
- }
1607
- layOutCellsAndColumns() {
1608
- const i = this.getColumns(), n = this.getCells();
1609
- i.forEach((t, e) => {
1610
- const s = this.getCellsForColumn(n, i, e), o = this.calculateColumnProperties(t, i, e);
1611
- s.forEach((r) => this.applyCellStyles(r, t, o)), this.applyColumnStyles(t, o);
1612
- });
1613
- }
1614
- getCellsForColumn(i, n, t) {
1615
- return i.filter((e, s) => (t - s) % n.length === 0);
1616
- }
1617
- calculateColumnProperties(i, n, t) {
1618
- const e = i.sticky ? this.getLeftOffsetForStickyColumn(n, t) : 0, s = `${i.getBoundingClientRect().width}px`, o = i.sticky && n.length === t + 1, r = i.sticky && !this.hasStickyColumnsToRight(n, t);
1619
- return {
1620
- leftOffsetForStickyColumn: e,
1621
- columnWidth: s,
1622
- isLastColumnSticky: o,
1623
- hasShadowRight: r
1624
- };
1625
- }
1626
- applyCellStyles(i, n, t) {
1627
- const { leftOffsetForStickyColumn: e, columnWidth: s, isLastColumnSticky: o, hasShadowRight: r } = t;
1628
- i.style.flex = Boolean(s) ? `0 0 ${s}` : "", !K() && (n.sticky && !o && (i.classList.add("table-cell--is-sticky"), i.style.left = e + "px", r && i.classList.add("table-cell--has-shadow-right")), o && i.classList.add("table-cell--is-sticky-right", "table-cell--has-shadow-left"));
1629
- }
1630
- applyColumnStyles(i, n) {
1631
- if (K())
1632
- return;
1633
- const { leftOffsetForStickyColumn: t, isLastColumnSticky: e, hasShadowRight: s } = n;
1634
- i.sticky && !e && (i.classList.add("table-column--is-sticky"), i.style.left = t + "px", s && i.classList.add("table-column--has-shadow-right")), e && i.classList.add("table-column--is-sticky-right", "table-column--has-shadow-left");
1635
- }
1636
- getLeftOffsetForStickyColumn(i, n) {
1637
- return i.slice(0, n).reduce((t, e) => {
1638
- if (e.sticky)
1639
- return t += e.getBoundingClientRect().width, t;
1640
- }, 0);
1641
- }
1642
- hasStickyColumnsToRight(i, n) {
1643
- return i.slice(n + 1, i.length - 1).some((t) => t.sticky);
1644
- }
1645
- updateEmptyState() {
1646
- if (this.enableVirtualization && this.virtualizationRowCount) {
1647
- this.empty = !1;
1648
- return;
1649
- }
1650
- const i = this.el.querySelector('[slot="rows"]');
1651
- this.empty = !Boolean(i) || i.children.length === 0;
1652
- }
1653
- updateLiveRegionText(i, n = {}) {
1654
- let t = i ? this.dragDropInstructions[i] : "";
1655
- for (const [e, s] of Object.entries(n != null ? n : {}))
1656
- t = t.replaceAll(`{${e}}`, String(s));
1657
- t !== this.liveRegionText && (this.liveRegionText = t);
1658
- }
1659
- toggleKeyboardMove(i) {
1660
- this.movingViaKeyboard ? this.endKeyboardMove(i) : this.startKeyboardMove(i);
1661
- }
1662
- startKeyboardMove(i) {
1663
- this.movingViaKeyboard = !0, this.positionBeforeKeyboardMove = Array.from(this.dragDropContainer.children).indexOf(i), i.classList.add("table-row--moving"), this.updateLiveRegionText("start", {
1664
- position: Array.from(this.dragDropContainer.children).indexOf(i) + 1,
1665
- rowCount: this.dragDropContainer.children.length
1666
- });
1667
- }
1668
- endKeyboardMove(i) {
1669
- this.movingViaKeyboard = !1, i.classList.remove("table-row--moving"), this.updateLiveRegionText("end", {
1670
- position: Array.from(this.dragDropContainer.children).indexOf(i) + 1,
1671
- rowCount: this.dragDropContainer.children.length
1672
- }), this.dropRow.emit({
1673
- item: i,
1674
- newIndex: Array.from(this.dragDropContainer.children).indexOf(i),
1675
- oldIndex: this.positionBeforeKeyboardMove,
1676
- itemId: i.id,
1677
- newNextSiblingItemId: Array.from(this.dragDropContainer.children).indexOf(i) < this.dragDropContainer.children.length - 1 ? this.dragDropContainer.children[Array.from(this.dragDropContainer.children).indexOf(i) + 1].id : void 0,
1678
- newPrevSiblingItemId: Array.from(this.dragDropContainer.children).indexOf(i) > 0 ? this.dragDropContainer.children[Array.from(this.dragDropContainer.children).indexOf(i) - 1].id : void 0
1679
- }), this.positionBeforeKeyboardMove = void 0;
1680
- }
1681
- cancelKeyboardMove() {
1682
- if (!this.movingViaKeyboard)
1683
- return;
1684
- const i = this.el.querySelector(".table-row--moving");
1685
- !i || (i.classList.remove("table-row--moving"), this.movingViaKeyboard = !1, this.positionBeforeKeyboardMove !== void 0 && this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[this.positionBeforeKeyboardMove]));
1686
- }
1687
- moveRow(i, n) {
1688
- if (!this.movingViaKeyboard)
1689
- return;
1690
- let t;
1691
- if (n === "up") {
1692
- const e = Array.from(this.dragDropContainer.children).indexOf(i);
1693
- t = Math.max(0, e - 1), this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[t]);
1694
- } else {
1695
- const e = Array.from(this.dragDropContainer.children).indexOf(i);
1696
- t = Math.min(this.dragDropContainer.children.length - 1, e + 1), this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[t + 1]);
1697
- }
1698
- this.updateLiveRegionText("moved", {
1699
- position: t + 1,
1700
- rowCount: this.dragDropContainer.children.length
1701
- }), this.focusDragHandleOfRow(i);
1702
- }
1703
- focusDragHandleOfRow(i) {
1704
- var t, e;
1705
- const n = (t = dt(i, this.dragDropHandle)) == null ? void 0 : t[0];
1706
- n.tagName === "BUTTON" ? n.focus() : (e = n.querySelector("button")) == null || e.focus();
1707
- }
1708
- syncVirtualizedRows() {
1709
- !this.virtualizer || (this.trackFocusedRow(this.el.querySelector("swirl-table-row[data-index]:focus-within")), this.virtualizer.sync());
1710
- }
1711
- trackFocusedRow(i) {
1712
- var e;
1713
- if (!this.enableVirtualization)
1714
- return;
1715
- const n = (e = i == null ? void 0 : i.closest("swirl-table-row[data-index]")) == null ? void 0 : e.dataset.index, t = n === void 0 ? void 0 : Number(n);
1716
- t !== this.focusedRowIndex && (this.focusedRowIndex = t, this.updateVirtualizer());
1717
- }
1718
- render() {
1719
- const i = Boolean(this.el.querySelector('[slot="empty"]')), n = lt("table", {
1720
- "table--show-empty-state": this.empty && !this.loading,
1721
- "table--keyboard-move": this.movingViaKeyboard
1722
- });
1723
- return O(ot, { key: "5fd51d538c87dce53702fa483657035e251d3507" }, O("div", { key: "7ec3b5830bcc7b0dfc5324f554b80b442b7bc290", class: n }, this.enableDragDrop && O("swirl-visually-hidden", { key: "2928eb420bb8cad6477917a1883aeeffda3260eb" }, O("span", { key: "fc615afed57d8dbfbf636f9e8feb9c6ef76ae72b", "aria-live": "assertive" }, this.liveRegionText)), O("div", { key: "4b7d5b9c4691d1828d0c24fc635d8e7c5dc48cf4", class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (t) => this.container = t, tabIndex: -1 }, O("div", { key: "9669435927eb4944290b4fdcb4083ef1473c000e", "aria-describedby": Boolean(this.caption) ? "caption" : void 0, "aria-label": this.label, "aria-rowcount": this.enableVirtualization && this.virtualizationRowCount ? this.virtualizationRowCount + 1 : void 0, role: "table", class: "table__table" }, this.caption && O("swirl-visually-hidden", { key: "6806eedf8d1aa22b3ee8f51736032ead77a502cc" }, O("div", { key: "bea8e3d31ba2e81461ff8e4d056ee3ea718707ea", id: "caption" }, this.caption)), O("div", { key: "386fa4a8c2d31471a43580b62ad1003cfbcf224d", role: "rowgroup" }, O("div", { key: "aebae228fab2eb7d4a688bb50ee069e7138001c1", class: "table__header", "aria-rowindex": this.enableVirtualization ? 1 : void 0, ref: (t) => this.headerEl = t, role: "row" }, O("slot", { key: "111dd938896772934ba589167ee254936c8bbe9d", name: "columns" }))), O("div", { key: "7a6b87e277bd50dfc8c5ff3e680aabe95384bb7f", class: "table__body", ref: (t) => this.bodyEl = t }, O("slot", { key: "a766d1ff38bf321fac0b3c52a686d57d2b4551ea", name: "rows" }), O("div", { key: "a26bec40f580546c85e3dd1007c913d53da4c18a", class: "table__empty-row", role: "row" }, O("div", { key: "cd9793a4e353a88bfb04658354f247ddfd621e20", "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, O("slot", { key: "3c79cf8327876b4be8e237e6d43c918d6f6dbda0", name: "empty" }), !i && O("swirl-text", { key: "6f2d3365cd41f0242f8dc6720aed3c5bc1edf4fb", align: "center", size: "sm" }, this.emptyStateLabel))))))));
1724
- }
1725
- get el() {
1726
- return rt(this);
1727
- }
1728
- static get watchers() {
1729
- return {
1730
- enableVirtualization: [{
1731
- handleVirtualizationChange: 0
1732
- }],
1733
- virtualizationRowCount: [{
1734
- handleVirtualizationChange: 0
1735
- }],
1736
- virtualizationEstimatedRowHeight: [{
1737
- handleVirtualizationChange: 0
1738
- }],
1739
- virtualizationOverscan: [{
1740
- handleVirtualizationChange: 0
1741
- }],
1742
- virtualizationKeepRowsRendered: [{
1743
- handleVirtualizationChange: 0
1744
- }],
1745
- enableDragDrop: [{
1746
- handleEnableDragDropChange: 0
1747
- }]
1748
- };
1749
- }
1750
- };
1751
- jt.style = Pt();
1752
- export {
1753
- jt as swirl_table
1754
- };