@getflip/swirl-components-react 0.0.0-beta-20260114160010

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 (460) hide show
  1. package/README.md +4 -0
  2. package/dist/FileSaver.min-DISpcNDq.9430eab9.js +79 -0
  3. package/dist/a11y-dialog.esm-DyxMdBpZ.05195d89.js +99 -0
  4. package/dist/bodyScrollLock.esm-B0kNlhKL.c7a66a82.js +93 -0
  5. package/dist/file-manager.entry.9324d1f2.js +57 -0
  6. package/dist/floating-ui.dom.browser.min-BtsCuEVE.45e9e353.js +407 -0
  7. package/dist/focus-trap.esm-DIdMBZfn.c41dd5d8.js +568 -0
  8. package/dist/index-D3UoejeY.7db8c51e.js +7494 -0
  9. package/dist/index-orsBiyT_.fc4357c3.js +47 -0
  10. package/dist/index.a571673c.js +4538 -0
  11. package/dist/index.d.ts +1 -0
  12. package/dist/media-query.service-BZg4zbFx.7454a4f3.js +17 -0
  13. package/dist/sortable.esm-CMrz6687.dac971cd.js +1240 -0
  14. package/dist/stencil-generated/index.d.ts +474 -0
  15. package/dist/stencil-generated/react-component-lib/createComponent.d.ts +10 -0
  16. package/dist/stencil-generated/react-component-lib/createOverlayComponent.d.ts +21 -0
  17. package/dist/stencil-generated/react-component-lib/index.d.ts +2 -0
  18. package/dist/stencil-generated/react-component-lib/interfaces.d.ts +29 -0
  19. package/dist/stencil-generated/react-component-lib/utils/attachProps.d.ts +16 -0
  20. package/dist/stencil-generated/react-component-lib/utils/case.d.ts +2 -0
  21. package/dist/stencil-generated/react-component-lib/utils/index.d.ts +10 -0
  22. package/dist/swirl-accordion-item.entry.31fbf5c5.js +38 -0
  23. package/dist/swirl-accordion.entry.cfd20983.js +36 -0
  24. package/dist/swirl-action-list-section.entry.b7c81227.js +15 -0
  25. package/dist/swirl-action-list_2.entry.223fbd83.js +94 -0
  26. package/dist/swirl-app-bar.entry.37b95506.js +49 -0
  27. package/dist/swirl-app-icon.entry.6f0989a4.js +30 -0
  28. package/dist/swirl-app-layout_5.entry.20f3bb24.js +482 -0
  29. package/dist/swirl-autocomplete.entry.9ebda2cc.js +115 -0
  30. package/dist/swirl-avatar-group.entry.74269f75.js +37 -0
  31. package/dist/swirl-avatar.entry.e7c15705.js +71 -0
  32. package/dist/swirl-badge.entry.58aa8dbc.js +19 -0
  33. package/dist/swirl-banner.entry.4fcc4c7d.js +51 -0
  34. package/dist/swirl-box.entry.1b222cd9.js +78 -0
  35. package/dist/swirl-button-group.entry.bcc8068f.js +19 -0
  36. package/dist/swirl-button.entry.95db14c8.js +66 -0
  37. package/dist/swirl-card.entry.04b2829f.js +55 -0
  38. package/dist/swirl-carousel-slide.entry.af4c744d.js +23 -0
  39. package/dist/swirl-carousel.entry.be08f959.js +99 -0
  40. package/dist/swirl-checkbox.entry.1b75bf7c.js +30 -0
  41. package/dist/swirl-chip.entry.e44a0ab3.js +42 -0
  42. package/dist/swirl-color-input.entry.20a36e97.js +270 -0
  43. package/dist/swirl-columns.entry.48d14ddb.js +18 -0
  44. package/dist/swirl-components-react.js +478 -0
  45. package/dist/swirl-components-react.umd.cjs +707 -0
  46. package/dist/swirl-console-layout.entry.b09d278c.js +99 -0
  47. package/dist/swirl-data-cell-stack.entry.34d1281b.js +27 -0
  48. package/dist/swirl-data-cell.entry.5626b905.js +25 -0
  49. package/dist/swirl-date-input.entry.8157a0d6.js +142 -0
  50. package/dist/swirl-date-picker_2.entry.d7f6d860.js +47 -0
  51. package/dist/swirl-description-list-item.entry.791e4702.js +24 -0
  52. package/dist/swirl-description-list.entry.bfbeb9f7.js +15 -0
  53. package/dist/swirl-dialog.entry.a7ced35a.js +47 -0
  54. package/dist/swirl-emoji-clap.entry.bf934cb3.js +17 -0
  55. package/dist/swirl-emoji-happy.entry.c0906888.js +17 -0
  56. package/dist/swirl-emoji-idea.entry.d7e3e745.js +17 -0
  57. package/dist/swirl-emoji-love.entry.6e1bac94.js +17 -0
  58. package/dist/swirl-emoji-sad.entry.d643653a.js +17 -0
  59. package/dist/swirl-emoji-thumbs-up.entry.9ab2cf9d.js +17 -0
  60. package/dist/swirl-emoji.entry.583c2f57.js +16 -0
  61. package/dist/swirl-file-chip.entry.b4cef1ea.js +57 -0
  62. package/dist/swirl-file-uploader.entry.d5817238.js +31 -0
  63. package/dist/swirl-file-viewer_8.entry.8b2b3825.js +18733 -0
  64. package/dist/swirl-form-control.entry.629ecdc9.js +102 -0
  65. package/dist/swirl-form-group.entry.cf1e2b90.js +17 -0
  66. package/dist/swirl-heading.entry.de4bcccf.js +26 -0
  67. package/dist/swirl-icon-add-moderator.entry.5d132121.js +19 -0
  68. package/dist/swirl-icon-add-photo.entry.f347873b.js +19 -0
  69. package/dist/swirl-icon-add-reaction.entry.45b74b14.js +19 -0
  70. package/dist/swirl-icon-add_6.entry.0d135c71.js +84 -0
  71. package/dist/swirl-icon-admin-panel-settings.entry.53a4acd1.js +19 -0
  72. package/dist/swirl-icon-ai-filled.entry.94219699.js +19 -0
  73. package/dist/swirl-icon-ai.entry.aec5f959.js +19 -0
  74. package/dist/swirl-icon-apps.entry.98af7691.js +19 -0
  75. package/dist/swirl-icon-arrow-back_5.entry.470cc5c3.js +71 -0
  76. package/dist/swirl-icon-arrow-downward_2.entry.0481ca15.js +32 -0
  77. package/dist/swirl-icon-arrow-left_4.entry.7f95b0bf.js +59 -0
  78. package/dist/swirl-icon-arrow-right-small.entry.f56a9208.js +19 -0
  79. package/dist/swirl-icon-aspect-ratio.entry.7242c53a.js +19 -0
  80. package/dist/swirl-icon-attachment_6.entry.db8e96d0.js +84 -0
  81. package/dist/swirl-icon-autorenew.entry.f93bdac5.js +19 -0
  82. package/dist/swirl-icon-bar-chart.entry.ce837874.js +19 -0
  83. package/dist/swirl-icon-beach-access-filled.entry.4487e775.js +19 -0
  84. package/dist/swirl-icon-beach-access.entry.a7817d07.js +19 -0
  85. package/dist/swirl-icon-block.entry.1e248eb7.js +19 -0
  86. package/dist/swirl-icon-bookmark-filled.entry.760cc04c.js +19 -0
  87. package/dist/swirl-icon-bookmark.entry.4e3cec92.js +19 -0
  88. package/dist/swirl-icon-calendar-add-on-filled.entry.15e61a59.js +19 -0
  89. package/dist/swirl-icon-calendar-respond.entry.385706f6.js +19 -0
  90. package/dist/swirl-icon-calendar-today.entry.580617b5.js +19 -0
  91. package/dist/swirl-icon-call-end.entry.ba24d100.js +19 -0
  92. package/dist/swirl-icon-call.entry.30cb76cb.js +19 -0
  93. package/dist/swirl-icon-cancel-filled.entry.c0669dc0.js +19 -0
  94. package/dist/swirl-icon-cancel-outline.entry.9b6cd6af.js +19 -0
  95. package/dist/swirl-icon-cancel_4.entry.0f12fe5d.js +58 -0
  96. package/dist/swirl-icon-chat-bubble.entry.9d30b9e7.js +19 -0
  97. package/dist/swirl-icon-chats-filled.entry.923ab51c.js +19 -0
  98. package/dist/swirl-icon-chats.entry.9732dfbf.js +19 -0
  99. package/dist/swirl-icon-check-circle-filled.entry.2b6ef8f9.js +19 -0
  100. package/dist/swirl-icon-check-circle_2.entry.321ddcb8.js +32 -0
  101. package/dist/swirl-icon-check-small_3.entry.265cd869.js +45 -0
  102. package/dist/swirl-icon-check.entry.26756ff1.js +19 -0
  103. package/dist/swirl-icon-checkbox-filled.entry.c03b691f.js +19 -0
  104. package/dist/swirl-icon-chevron-left.entry.b4e39cb3.js +19 -0
  105. package/dist/swirl-icon-chevron-right.entry.62384158.js +19 -0
  106. package/dist/swirl-icon-close-fullscreen.entry.b6bdec6d.js +19 -0
  107. package/dist/swirl-icon-close-small.entry.e4328d58.js +19 -0
  108. package/dist/swirl-icon-close.entry.f4a5ab8a.js +19 -0
  109. package/dist/swirl-icon-cloud-upload.entry.8ac8a3ec.js +19 -0
  110. package/dist/swirl-icon-column.entry.7206b282.js +19 -0
  111. package/dist/swirl-icon-comment.entry.06794b41.js +19 -0
  112. package/dist/swirl-icon-contrast.entry.7d685a11.js +19 -0
  113. package/dist/swirl-icon-copy.entry.09fa5029.js +19 -0
  114. package/dist/swirl-icon-crop.entry.2f79f6b9.js +19 -0
  115. package/dist/swirl-icon-dark-mode.entry.837b3751.js +19 -0
  116. package/dist/swirl-icon-date-range.entry.d7069a91.js +19 -0
  117. package/dist/swirl-icon-delete.entry.65e85f8b.js +19 -0
  118. package/dist/swirl-icon-deployed-code.entry.8bd3655e.js +19 -0
  119. package/dist/swirl-icon-description.entry.f6a3484a.js +19 -0
  120. package/dist/swirl-icon-desktop.entry.746ad477.js +19 -0
  121. package/dist/swirl-icon-directory-filled.entry.73501145.js +19 -0
  122. package/dist/swirl-icon-directory.entry.3f400073.js +19 -0
  123. package/dist/swirl-icon-discover.entry.7caa9191.js +19 -0
  124. package/dist/swirl-icon-dock-left.entry.8d1206ba.js +19 -0
  125. package/dist/swirl-icon-door-open.entry.110188f8.js +19 -0
  126. package/dist/swirl-icon-dot.entry.36b2b4c1.js +19 -0
  127. package/dist/swirl-icon-double-arrow-right.entry.7f3d1d6a.js +19 -0
  128. package/dist/swirl-icon-download.entry.0905afd1.js +19 -0
  129. package/dist/swirl-icon-edit-note.entry.cbc8e96f.js +19 -0
  130. package/dist/swirl-icon-edit.entry.d1971f53.js +19 -0
  131. package/dist/swirl-icon-emoji-mood.entry.cb732a8e.js +19 -0
  132. package/dist/swirl-icon-emoji-satisfied.entry.6ab31ac0.js +19 -0
  133. package/dist/swirl-icon-emoji-symbols.entry.aa7f65ae.js +19 -0
  134. package/dist/swirl-icon-error_3.entry.a68cc1ce.js +59 -0
  135. package/dist/swirl-icon-expand-more.entry.abd7b9f9.js +19 -0
  136. package/dist/swirl-icon-experiment.entry.3796deb4.js +19 -0
  137. package/dist/swirl-icon-file.entry.a3b46a14.js +19 -0
  138. package/dist/swirl-icon-filter.entry.680660c0.js +19 -0
  139. package/dist/swirl-icon-format-h-one.entry.144610d2.js +19 -0
  140. package/dist/swirl-icon-format-list-bulleted.entry.931716c0.js +19 -0
  141. package/dist/swirl-icon-forward.entry.e22fcd0a.js +19 -0
  142. package/dist/swirl-icon-gif.entry.3bf5c061.js +19 -0
  143. package/dist/swirl-icon-group-add.entry.8955b53b.js +19 -0
  144. package/dist/swirl-icon-group-assign.entry.3babab99.js +19 -0
  145. package/dist/swirl-icon-groups-filled.entry.835ea7dc.js +19 -0
  146. package/dist/swirl-icon-groups.entry.7bcbc5f8.js +19 -0
  147. package/dist/swirl-icon-hamburger-menu.entry.f1393962.js +19 -0
  148. package/dist/swirl-icon-health-and-safety.entry.9ee990bf.js +19 -0
  149. package/dist/swirl-icon-help-filled.entry.6710be90.js +19 -0
  150. package/dist/swirl-icon-help.entry.1d7b617a.js +19 -0
  151. package/dist/swirl-icon-highlight.entry.552d6123.js +19 -0
  152. package/dist/swirl-icon-history.entry.0c15188f.js +19 -0
  153. package/dist/swirl-icon-home-filled.entry.628bd980.js +19 -0
  154. package/dist/swirl-icon-home.entry.810b36dc.js +19 -0
  155. package/dist/swirl-icon-hr-resting.entry.00f0b993.js +19 -0
  156. package/dist/swirl-icon-improve-text.entry.1446114d.js +19 -0
  157. package/dist/swirl-icon-info.entry.73d6a040.js +19 -0
  158. package/dist/swirl-icon-insert-below.entry.2b152638.js +19 -0
  159. package/dist/swirl-icon-insert-chart.entry.c633da44.js +19 -0
  160. package/dist/swirl-icon-insert-on-top.entry.215d4894.js +19 -0
  161. package/dist/swirl-icon-inventory-off.entry.ef9ceabd.js +19 -0
  162. package/dist/swirl-icon-inventory.entry.ce6112ff.js +19 -0
  163. package/dist/swirl-icon-iphone.entry.0ef61fb2.js +19 -0
  164. package/dist/swirl-icon-key.entry.ff87d058.js +19 -0
  165. package/dist/swirl-icon-keyboard-hide.entry.066f8268.js +19 -0
  166. package/dist/swirl-icon-keyboard.entry.249bdec8.js +19 -0
  167. package/dist/swirl-icon-language.entry.1045270f.js +19 -0
  168. package/dist/swirl-icon-light-mode.entry.f8d3a255.js +19 -0
  169. package/dist/swirl-icon-like.entry.353ed1f7.js +19 -0
  170. package/dist/swirl-icon-link.entry.df6e1fbc.js +19 -0
  171. package/dist/swirl-icon-live.entry.e892f81c.js +19 -0
  172. package/dist/swirl-icon-load.entry.16cf0e40.js +19 -0
  173. package/dist/swirl-icon-location-on.entry.914beede.js +19 -0
  174. package/dist/swirl-icon-lock-open.entry.8874358a.js +19 -0
  175. package/dist/swirl-icon-lock-person.entry.3bb90e74.js +19 -0
  176. package/dist/swirl-icon-lock.entry.1efadbea.js +19 -0
  177. package/dist/swirl-icon-login.entry.175a09c2.js +19 -0
  178. package/dist/swirl-icon-logout.entry.90be77c5.js +19 -0
  179. package/dist/swirl-icon-long-text.entry.4ea376da.js +19 -0
  180. package/dist/swirl-icon-mail.entry.ac087e15.js +19 -0
  181. package/dist/swirl-icon-manage-accounts.entry.4d5823c9.js +19 -0
  182. package/dist/swirl-icon-mark-chat-read.entry.33a626d9.js +19 -0
  183. package/dist/swirl-icon-mark-chat-unread.entry.34b80392.js +19 -0
  184. package/dist/swirl-icon-mention.entry.22d9b84f.js +19 -0
  185. package/dist/swirl-icon-menu-book-filled.entry.ee2e70e2.js +19 -0
  186. package/dist/swirl-icon-menu-filled.entry.fadcb691.js +19 -0
  187. package/dist/swirl-icon-menu.entry.140041f4.js +19 -0
  188. package/dist/swirl-icon-message.entry.ff7ef7e9.js +19 -0
  189. package/dist/swirl-icon-mic-off.entry.92b32a4e.js +19 -0
  190. package/dist/swirl-icon-mic.entry.f4bf233c.js +19 -0
  191. package/dist/swirl-icon-more-horizontal.entry.4dd60270.js +19 -0
  192. package/dist/swirl-icon-news-filled.entry.c53f19ba.js +19 -0
  193. package/dist/swirl-icon-news-off.entry.044fba74.js +19 -0
  194. package/dist/swirl-icon-news.entry.5aed544b.js +19 -0
  195. package/dist/swirl-icon-next-plan.entry.09aa5a1c.js +19 -0
  196. package/dist/swirl-icon-note-stack-filled.entry.e87d4207.js +19 -0
  197. package/dist/swirl-icon-note-stack.entry.e395bf3b.js +19 -0
  198. package/dist/swirl-icon-notifications-active.entry.f8125d36.js +19 -0
  199. package/dist/swirl-icon-notifications-off.entry.261c6453.js +19 -0
  200. package/dist/swirl-icon-notifications.entry.576f6b90.js +19 -0
  201. package/dist/swirl-icon-open-in-full.entry.7dba26df.js +19 -0
  202. package/dist/swirl-icon-open-in-new.entry.496dd714.js +19 -0
  203. package/dist/swirl-icon-patient-list.entry.90dd4279.js +19 -0
  204. package/dist/swirl-icon-pause-circle.entry.ee714f97.js +19 -0
  205. package/dist/swirl-icon-pause.entry.5c69d425.js +19 -0
  206. package/dist/swirl-icon-people-alt.entry.a3ac5b7e.js +19 -0
  207. package/dist/swirl-icon-person-check.entry.f6928b7a.js +19 -0
  208. package/dist/swirl-icon-person-off.entry.aeea6661.js +19 -0
  209. package/dist/swirl-icon-person.entry.7acec6a3.js +19 -0
  210. package/dist/swirl-icon-phone.entry.9e647bcb.js +19 -0
  211. package/dist/swirl-icon-photo-camera.entry.0d2eac7f.js +19 -0
  212. package/dist/swirl-icon-picture-in-picture.entry.a2319d7d.js +19 -0
  213. package/dist/swirl-icon-pin-off.entry.4e9eb23d.js +19 -0
  214. package/dist/swirl-icon-pin.entry.573cd18b.js +19 -0
  215. package/dist/swirl-icon-place.entry.d8100d2d.js +19 -0
  216. package/dist/swirl-icon-play-arrow.entry.e3797e9c.js +19 -0
  217. package/dist/swirl-icon-poll.entry.83f7e410.js +19 -0
  218. package/dist/swirl-icon-post-approval.entry.6eafcd9b.js +19 -0
  219. package/dist/swirl-icon-present.entry.21f73969.js +19 -0
  220. package/dist/swirl-icon-preview.entry.99895edc.js +19 -0
  221. package/dist/swirl-icon-print.entry.7ffe5753.js +19 -0
  222. package/dist/swirl-icon-public-off.entry.8475e9e2.js +19 -0
  223. package/dist/swirl-icon-public.entry.0dfbc126.js +19 -0
  224. package/dist/swirl-icon-published-with-changes.entry.d4ea6c16.js +19 -0
  225. package/dist/swirl-icon-ratio-four-to-three.entry.ef80cf13.js +19 -0
  226. package/dist/swirl-icon-ratio-freeform.entry.a577e929.js +19 -0
  227. package/dist/swirl-icon-ratio-sixteen-to-nine.entry.d6adb40c.js +19 -0
  228. package/dist/swirl-icon-ratio-square.entry.eee3cdb1.js +19 -0
  229. package/dist/swirl-icon-ratio-three-to-four.entry.4dca6581.js +19 -0
  230. package/dist/swirl-icon-ratio-three-to-two.entry.f63c60b2.js +19 -0
  231. package/dist/swirl-icon-recieved.entry.c8f4b02e.js +19 -0
  232. package/dist/swirl-icon-refresh.entry.1b47a8ff.js +19 -0
  233. package/dist/swirl-icon-remove-circle.entry.6b7aeeb4.js +19 -0
  234. package/dist/swirl-icon-remove-moderator.entry.ebbd7ff8.js +19 -0
  235. package/dist/swirl-icon-reply.entry.58f69283.js +19 -0
  236. package/dist/swirl-icon-report.entry.03edc588.js +19 -0
  237. package/dist/swirl-icon-roadmap.entry.b42676ac.js +19 -0
  238. package/dist/swirl-icon-rotate-left.entry.dc8b47bc.js +19 -0
  239. package/dist/swirl-icon-rotate-right.entry.03a95967.js +19 -0
  240. package/dist/swirl-icon-screenshare-off.entry.fa2ec867.js +19 -0
  241. package/dist/swirl-icon-screenshare.entry.1e89cb9e.js +19 -0
  242. package/dist/swirl-icon-search-strong.entry.ba6ee0ff.js +19 -0
  243. package/dist/swirl-icon-search.entry.3325d362.js +19 -0
  244. package/dist/swirl-icon-section.entry.61f6a798.js +19 -0
  245. package/dist/swirl-icon-secure.entry.061942fb.js +19 -0
  246. package/dist/swirl-icon-send.entry.3d07096d.js +19 -0
  247. package/dist/swirl-icon-settings.entry.856f9aba.js +19 -0
  248. package/dist/swirl-icon-short-text.entry.2c55d673.js +19 -0
  249. package/dist/swirl-icon-simplify.entry.c544ad0a.js +19 -0
  250. package/dist/swirl-icon-spellcheck.entry.8eb5a827.js +19 -0
  251. package/dist/swirl-icon-stars.entry.70798fc6.js +19 -0
  252. package/dist/swirl-icon-sticky-note.entry.3b6b0753.js +19 -0
  253. package/dist/swirl-icon-stop-circle.entry.c7f79119.js +19 -0
  254. package/dist/swirl-icon-stop.entry.03b7ff1c.js +19 -0
  255. package/dist/swirl-icon-sunny.entry.4764e8ed.js +19 -0
  256. package/dist/swirl-icon-sync.entry.0862f9cb.js +19 -0
  257. package/dist/swirl-icon-tasks-filled.entry.4c3f7848.js +19 -0
  258. package/dist/swirl-icon-tasks.entry.1195149d.js +19 -0
  259. package/dist/swirl-icon-terminal.entry.f60e9430.js +19 -0
  260. package/dist/swirl-icon-time-filled.entry.4149ca87.js +19 -0
  261. package/dist/swirl-icon-time.entry.43039614.js +19 -0
  262. package/dist/swirl-icon-today-filled.entry.0bb06e31.js +19 -0
  263. package/dist/swirl-icon-translate.entry.5dce14b1.js +19 -0
  264. package/dist/swirl-icon-tree-structure.entry.a871a32f.js +19 -0
  265. package/dist/swirl-icon-undo.entry.77393e5f.js +19 -0
  266. package/dist/swirl-icon-unlock-person.entry.d8099b34.js +19 -0
  267. package/dist/swirl-icon-upload.entry.3c3d69e1.js +19 -0
  268. package/dist/swirl-icon-user-add.entry.85817a39.js +19 -0
  269. package/dist/swirl-icon-user-assign.entry.80bdec60.js +19 -0
  270. package/dist/swirl-icon-video-camera-off.entry.428856ea.js +19 -0
  271. package/dist/swirl-icon-video-camera.entry.74ab1a01.js +19 -0
  272. package/dist/swirl-icon-video-library.entry.5769a1d2.js +19 -0
  273. package/dist/swirl-icon-view-agenda.entry.beb59374.js +19 -0
  274. package/dist/swirl-icon-voice.entry.dedd8d18.js +19 -0
  275. package/dist/swirl-icon-volume-up.entry.ae055de7.js +19 -0
  276. package/dist/swirl-icon-web-asset-off.entry.43fc4e7b.js +19 -0
  277. package/dist/swirl-icon-web-asset.entry.06166dbc.js +19 -0
  278. package/dist/swirl-icon-work.entry.31304b32.js +19 -0
  279. package/dist/swirl-icon.entry.274c5e1a.js +16 -0
  280. package/dist/swirl-image-grid-item.entry.8ff213c9.js +90 -0
  281. package/dist/swirl-image-grid.entry.79fca64d.js +53 -0
  282. package/dist/swirl-inline-notification.entry.05f8fe19.js +17 -0
  283. package/dist/swirl-inline-status.entry.d88da209.js +37 -0
  284. package/dist/swirl-lightbox.entry.348d64eb.js +179 -0
  285. package/dist/swirl-link.entry.d04d4ffa.js +17 -0
  286. package/dist/swirl-list.entry.52e5900e.js +18 -0
  287. package/dist/swirl-menu-item.entry.badc4108.js +84 -0
  288. package/dist/swirl-menu.entry.d50bea1b.js +179 -0
  289. package/dist/swirl-modal-shell.entry.5f7081c0.js +51 -0
  290. package/dist/swirl-modal.entry.6a68d800.js +368 -0
  291. package/dist/swirl-option-list-section.entry.d378b076.js +15 -0
  292. package/dist/swirl-option-list_2.entry.d4aa249d.js +290 -0
  293. package/dist/swirl-pagination.entry.a160db64.js +38 -0
  294. package/dist/swirl-pdf-reader.entry.423f5880.js +111 -0
  295. package/dist/swirl-popover_2.entry.558bbb91.js +261 -0
  296. package/dist/swirl-progress-indicator.entry.0c057aaa.js +17 -0
  297. package/dist/swirl-radio-group.entry.d76ac6d8.js +35 -0
  298. package/dist/swirl-radio.entry.9a7b9f6f.js +29 -0
  299. package/dist/swirl-resource-list-file-item.entry.d37e845c.js +39 -0
  300. package/dist/swirl-resource-list-section.entry.8c95a93c.js +19 -0
  301. package/dist/swirl-search.entry.061cae00.js +51 -0
  302. package/dist/swirl-select.entry.0075c6f1.js +92 -0
  303. package/dist/swirl-separator.entry.baf7955e.js +29 -0
  304. package/dist/swirl-shell-layout.entry.d3a131c5.js +117 -0
  305. package/dist/swirl-shell-navigation-item.entry.52958a3e.js +409 -0
  306. package/dist/swirl-skeleton-box.entry.e238ed83.js +31 -0
  307. package/dist/swirl-skeleton-text.entry.83ad90d0.js +38 -0
  308. package/dist/swirl-stack.entry.d9ca97c3.js +21 -0
  309. package/dist/swirl-status-indicator.entry.081dd7f8.js +17 -0
  310. package/dist/swirl-switch.entry.acde5be2.js +31 -0
  311. package/dist/swirl-symbol-ac-unit.entry.aa240106.js +17 -0
  312. package/dist/swirl-symbol-account-circle.entry.06a36fe5.js +17 -0
  313. package/dist/swirl-symbol-alternate-email.entry.e2129c31.js +17 -0
  314. package/dist/swirl-symbol-android.entry.201a4125.js +17 -0
  315. package/dist/swirl-symbol-announcement.entry.a94db356.js +17 -0
  316. package/dist/swirl-symbol-autorenew.entry.b72a66a4.js +17 -0
  317. package/dist/swirl-symbol-backup.entry.98b5954d.js +17 -0
  318. package/dist/swirl-symbol-badge.entry.2f308a88.js +17 -0
  319. package/dist/swirl-symbol-barcode-reader.entry.0cdf79a2.js +17 -0
  320. package/dist/swirl-symbol-barcode-scanner.entry.d1e2f921.js +17 -0
  321. package/dist/swirl-symbol-battery-horiz.entry.057428e3.js +17 -0
  322. package/dist/swirl-symbol-beach-access.entry.bf383d07.js +17 -0
  323. package/dist/swirl-symbol-bolt.entry.0842d31e.js +17 -0
  324. package/dist/swirl-symbol-bookmark.entry.1e9efe7c.js +17 -0
  325. package/dist/swirl-symbol-calendar.entry.a5c5358a.js +17 -0
  326. package/dist/swirl-symbol-campaign.entry.01f8f033.js +17 -0
  327. package/dist/swirl-symbol-cards-star.entry.315fe6be.js +17 -0
  328. package/dist/swirl-symbol-cloud.entry.827135e1.js +17 -0
  329. package/dist/swirl-symbol-construction.entry.14840079.js +17 -0
  330. package/dist/swirl-symbol-contacts.entry.6d8a49b8.js +17 -0
  331. package/dist/swirl-symbol-coronavirus.entry.739efc77.js +17 -0
  332. package/dist/swirl-symbol-design-services.entry.c865fbd1.js +17 -0
  333. package/dist/swirl-symbol-desktop-windows.entry.8fb44c31.js +17 -0
  334. package/dist/swirl-symbol-directions-car-filled.entry.4de9317f.js +17 -0
  335. package/dist/swirl-symbol-diversity.entry.239adaee.js +17 -0
  336. package/dist/swirl-symbol-draw.entry.bde78762.js +17 -0
  337. package/dist/swirl-symbol-edit-calendar.entry.e14027d3.js +17 -0
  338. package/dist/swirl-symbol-email.entry.9f3230fd.js +17 -0
  339. package/dist/swirl-symbol-emergency.entry.3f41fed5.js +17 -0
  340. package/dist/swirl-symbol-emoji-food-beverage.entry.252da904.js +17 -0
  341. package/dist/swirl-symbol-engineering.entry.f36c9a37.js +17 -0
  342. package/dist/swirl-symbol-event-menu.entry.5582f902.js +17 -0
  343. package/dist/swirl-symbol-explore.entry.1618017e.js +17 -0
  344. package/dist/swirl-symbol-extension.entry.53cf475a.js +17 -0
  345. package/dist/swirl-symbol-facebook.entry.8acb7f2d.js +17 -0
  346. package/dist/swirl-symbol-favorite.entry.3a98846f.js +17 -0
  347. package/dist/swirl-symbol-fitness-center.entry.befeaa82.js +17 -0
  348. package/dist/swirl-symbol-flag.entry.cab3bdf3.js +17 -0
  349. package/dist/swirl-symbol-flight.entry.6a0a6b76.js +17 -0
  350. package/dist/swirl-symbol-folder.entry.c760184a.js +17 -0
  351. package/dist/swirl-symbol-globe.entry.aedb2d66.js +17 -0
  352. package/dist/swirl-symbol-groups.entry.bc6edbec.js +17 -0
  353. package/dist/swirl-symbol-healing.entry.59b79e8c.js +17 -0
  354. package/dist/swirl-symbol-health-and-safety.entry.d9f91491.js +17 -0
  355. package/dist/swirl-symbol-help.entry.4ab2e6d2.js +17 -0
  356. package/dist/swirl-symbol-home-repair-service.entry.897c1abb.js +17 -0
  357. package/dist/swirl-symbol-home-storage.entry.ba3a8d7b.js +17 -0
  358. package/dist/swirl-symbol-id-card.entry.c50576f5.js +17 -0
  359. package/dist/swirl-symbol-image.entry.3f4b22cd.js +17 -0
  360. package/dist/swirl-symbol-info-menu.entry.7e13220a.js +17 -0
  361. package/dist/swirl-symbol-instagram.entry.e4919079.js +17 -0
  362. package/dist/swirl-symbol-inventory-2.entry.1db5045b.js +17 -0
  363. package/dist/swirl-symbol-inventory.entry.fc2614aa.js +17 -0
  364. package/dist/swirl-symbol-ios.entry.879a05fa.js +17 -0
  365. package/dist/swirl-symbol-key.entry.ad7551f0.js +17 -0
  366. package/dist/swirl-symbol-language.entry.06c49248.js +17 -0
  367. package/dist/swirl-symbol-leaderboard.entry.362e5c51.js +17 -0
  368. package/dist/swirl-symbol-lightbulb.entry.dfea74d1.js +17 -0
  369. package/dist/swirl-symbol-linkedin.entry.fa0c9612.js +17 -0
  370. package/dist/swirl-symbol-local-shipping.entry.22dc603e.js +17 -0
  371. package/dist/swirl-symbol-location-on.entry.bb0e12b8.js +17 -0
  372. package/dist/swirl-symbol-loyalty.entry.94833379.js +17 -0
  373. package/dist/swirl-symbol-map.entry.2cddee2e.js +17 -0
  374. package/dist/swirl-symbol-maps-home-work.entry.e79d025f.js +17 -0
  375. package/dist/swirl-symbol-menu-book.entry.2ecafa8a.js +17 -0
  376. package/dist/swirl-symbol-mop.entry.2cc0d0c5.js +17 -0
  377. package/dist/swirl-symbol-nest-eco-leaf.entry.288d13f5.js +17 -0
  378. package/dist/swirl-symbol-notifications.entry.e323e8b2.js +17 -0
  379. package/dist/swirl-symbol-open-in-new.entry.9c854372.js +17 -0
  380. package/dist/swirl-symbol-orders.entry.9075fd8c.js +17 -0
  381. package/dist/swirl-symbol-package.entry.260e1ae7.js +17 -0
  382. package/dist/swirl-symbol-palette.entry.e764bcf2.js +17 -0
  383. package/dist/swirl-symbol-partly-cloudy-day.entry.ac98103f.js +17 -0
  384. package/dist/swirl-symbol-pedal-bike.entry.93f40ced.js +17 -0
  385. package/dist/swirl-symbol-percent-discount.entry.40ab2efd.js +17 -0
  386. package/dist/swirl-symbol-pets.entry.1f416f74.js +17 -0
  387. package/dist/swirl-symbol-pinterest.entry.fd044141.js +17 -0
  388. package/dist/swirl-symbol-point-of-sale.entry.9b91edb7.js +17 -0
  389. package/dist/swirl-symbol-policy.entry.6dd67ced.js +17 -0
  390. package/dist/swirl-symbol-precision-manufacturing.entry.80f9476e.js +17 -0
  391. package/dist/swirl-symbol-print.entry.745580ea.js +17 -0
  392. package/dist/swirl-symbol-push-pin.entry.bc021c6f.js +17 -0
  393. package/dist/swirl-symbol-recycling.entry.6f6d272e.js +17 -0
  394. package/dist/swirl-symbol-redeem.entry.ab06c285.js +17 -0
  395. package/dist/swirl-symbol-report-problem.entry.3675250f.js +17 -0
  396. package/dist/swirl-symbol-restaurant.entry.b824fa8d.js +17 -0
  397. package/dist/swirl-symbol-roadmap.entry.b79855ba.js +17 -0
  398. package/dist/swirl-symbol-rocket-launch.entry.b45f1d7e.js +17 -0
  399. package/dist/swirl-symbol-room.entry.9ab68f8c.js +17 -0
  400. package/dist/swirl-symbol-savings.entry.a19214fa.js +17 -0
  401. package/dist/swirl-symbol-school.entry.8e0f8f07.js +17 -0
  402. package/dist/swirl-symbol-sell.entry.350f4b8b.js +17 -0
  403. package/dist/swirl-symbol-settings-voice.entry.164b581a.js +17 -0
  404. package/dist/swirl-symbol-shopping-bag.entry.59659a50.js +17 -0
  405. package/dist/swirl-symbol-shopping-cart.entry.b8ebf585.js +17 -0
  406. package/dist/swirl-symbol-smartphone.entry.6fea3fcd.js +17 -0
  407. package/dist/swirl-symbol-spa.entry.1e9c5fd9.js +17 -0
  408. package/dist/swirl-symbol-sports-soccer.entry.c2de63d8.js +17 -0
  409. package/dist/swirl-symbol-star.entry.61a898bd.js +17 -0
  410. package/dist/swirl-symbol-supervisor-account.entry.56e20c53.js +17 -0
  411. package/dist/swirl-symbol-task.entry.089f6717.js +17 -0
  412. package/dist/swirl-symbol-tasks.entry.8c924a80.js +17 -0
  413. package/dist/swirl-symbol-thumbs-up-down.entry.9ab7bd6d.js +17 -0
  414. package/dist/swirl-symbol-timer.entry.fe7e0b61.js +17 -0
  415. package/dist/swirl-symbol-tools-power-drill.entry.c63a6eb5.js +17 -0
  416. package/dist/swirl-symbol-train.entry.36222f5c.js +17 -0
  417. package/dist/swirl-symbol-trophy.entry.02bb0222.js +17 -0
  418. package/dist/swirl-symbol-twitter.entry.2cb4541b.js +17 -0
  419. package/dist/swirl-symbol-video.entry.cebc615e.js +17 -0
  420. package/dist/swirl-symbol-warehouse.entry.7fc3ed70.js +17 -0
  421. package/dist/swirl-symbol-water-drop.entry.9322f16a.js +17 -0
  422. package/dist/swirl-symbol-wb-sunny.entry.c124ab0f.js +17 -0
  423. package/dist/swirl-symbol-wechat.entry.48296722.js +17 -0
  424. package/dist/swirl-symbol-weibo.entry.ada934f3.js +17 -0
  425. package/dist/swirl-symbol-wifi.entry.0b10e3db.js +17 -0
  426. package/dist/swirl-symbol-work.entry.f97b5495.js +17 -0
  427. package/dist/swirl-symbol-xing.entry.bd28357d.js +17 -0
  428. package/dist/swirl-symbol-youtube.entry.045c17c1.js +17 -0
  429. package/dist/swirl-symbol.entry.bd734ef6.js +16 -0
  430. package/dist/swirl-tab-bar.entry.c23ed52a.js +66 -0
  431. package/dist/swirl-tab.entry.a1c1d81d.js +17 -0
  432. package/dist/swirl-table-cell.entry.3a090768.js +15 -0
  433. package/dist/swirl-table-column.entry.22f305af.js +34 -0
  434. package/dist/swirl-table-row-group.entry.03db15eb.js +35 -0
  435. package/dist/swirl-table-row.entry.6a61773f.js +27 -0
  436. package/dist/swirl-table.entry.e235b6e6.js +337 -0
  437. package/dist/swirl-tabs.entry.73fbccf3.js +63 -0
  438. package/dist/swirl-tag.entry.676c088f.js +40 -0
  439. package/dist/swirl-text-input.entry.d1dde70c.js +91 -0
  440. package/dist/swirl-text.entry.76733e09.js +299 -0
  441. package/dist/swirl-theme-provider.entry.b3ada014.js +94 -0
  442. package/dist/swirl-time-input.entry.cf56cc64.js +136 -0
  443. package/dist/swirl-toast-provider.entry.338257fa.js +36 -0
  444. package/dist/swirl-toast.entry.05b92ac1.js +51 -0
  445. package/dist/swirl-toggle-button.entry.fca8a98c.js +21 -0
  446. package/dist/swirl-toggle-group.entry.40eb7ded.js +60 -0
  447. package/dist/swirl-toolbar.entry.61a6f0ae.js +56 -0
  448. package/dist/swirl-tooltip.entry.91b9760f.js +113 -0
  449. package/dist/swirl-tree-navigation-item.entry.83de59ac.js +71 -0
  450. package/dist/swirl-tree-navigation.entry.c2169a90.js +15 -0
  451. package/dist/swirl-tree-view-item.entry.f9792cf2.js +203 -0
  452. package/dist/swirl-tree-view.config-BkSXzL50.94f4a648.js +24 -0
  453. package/dist/swirl-tree-view.entry.9a915ba7.js +220 -0
  454. package/dist/swirl-video-thumbnail.entry.d06c364a.js +88 -0
  455. package/dist/swirl-visually-hidden.entry.2bbc675c.js +15 -0
  456. package/dist/utils-wi_3Z3FQ.29a3aebe.js +119 -0
  457. package/dist/v4-DD3477fe.2624487e.js +27 -0
  458. package/dist/vite-env.d.ts +1 -0
  459. package/dist/wc-datepicker.entry.cfc78e40.js +370 -0
  460. package/package.json +38 -0
@@ -0,0 +1,299 @@
1
+ import { r as lt, h as Z, H as ct, g as ht } from "./index.a571673c.js";
2
+ import { c as dt, g as ft } from "./index-orsBiyT_.fc4357c3.js";
3
+ import "react";
4
+ import "react-dom";
5
+ var K = { exports: {} }, ut = K.exports, st;
6
+ function xt() {
7
+ return st || (st = 1, function(o) {
8
+ (function(l, a) {
9
+ o.exports ? o.exports = a() : l.balanceText = a();
10
+ })(ut, () => {
11
+ let l, a, r;
12
+ const c = {
13
+ sel: [],
14
+ el: []
15
+ };
16
+ let f = !1, v = !1;
17
+ function z() {
18
+ }
19
+ function g(t, e) {
20
+ Array.prototype.forEach.call(t, e);
21
+ }
22
+ function B(t) {
23
+ document.readyState !== "loading" ? t() : document.addEventListener ? document.addEventListener("DOMContentLoaded", t) : document.attachEvent("onreadystatechange", () => {
24
+ document.readyState !== "loading" && t();
25
+ });
26
+ }
27
+ function D(t, e, n, ...i) {
28
+ let s;
29
+ return function() {
30
+ const h = this;
31
+ function S() {
32
+ t.apply(h, i), s = null;
33
+ }
34
+ s && clearTimeout(s), s = setTimeout(S, 100);
35
+ };
36
+ }
37
+ function I() {
38
+ if (typeof window > "u")
39
+ return !1;
40
+ const { style: t } = document.documentElement;
41
+ return t.textWrap || t.WebkitTextWrap || t.MozTextWrap || t.MsTextWrap;
42
+ }
43
+ function C() {
44
+ this.reset();
45
+ }
46
+ C.prototype.reset = function() {
47
+ this.index = 0, this.width = 0;
48
+ };
49
+ function m(t) {
50
+ return a.some((e) => e.start < t && t < e.end);
51
+ }
52
+ function L(t, e) {
53
+ if (t.nodeType === t.ELEMENT_NODE)
54
+ if (window.getComputedStyle(t).whiteSpace === "nowrap") {
55
+ const i = t.outerHTML.length;
56
+ a.push({ start: r, end: r + i }), r += i;
57
+ } else
58
+ g(t.childNodes, (i) => {
59
+ L(i, !0);
60
+ }), e && (r += t.outerHTML.length - t.innerHTML.length);
61
+ else
62
+ t.nodeType === t.COMMENT_NODE ? r += t.length + 7 : t.nodeType === t.PROCESSING_INSTRUCTION_NODE ? r += t.length + 2 : r += t.length;
63
+ }
64
+ function k(t, e, n) {
65
+ if (n === 0)
66
+ t.style.whiteSpace = e, r = 0, a = [], L(t, !1), t.style.whiteSpace = "nowrap";
67
+ else {
68
+ const i = [];
69
+ a.forEach((s) => {
70
+ s.start > n && i.push({ start: s.start - n, end: s.end - n });
71
+ }), a = i;
72
+ }
73
+ }
74
+ function Q(t) {
75
+ let e = t.querySelectorAll('br[data-owner="balance-text-hyphen"]');
76
+ g(e, (i) => {
77
+ i.outerHTML = "";
78
+ }), e = t.querySelectorAll('br[data-owner="balance-text"]'), g(e, (i) => {
79
+ i.outerHTML = " ";
80
+ });
81
+ let n = t.querySelectorAll('span[data-owner="balance-text-softhyphen"]');
82
+ if (n.length > 0 && g(n, (i) => {
83
+ const s = document.createTextNode("\xAD");
84
+ i.parentNode.insertBefore(s, i), i.parentNode.removeChild(i);
85
+ }), n = t.querySelectorAll('span[data-owner="balance-text-justify"]'), n.length > 0) {
86
+ let i = "";
87
+ g(n, (s) => {
88
+ i += s.textContent, s.parentNode.removeChild(s);
89
+ }), t.innerHTML = i;
90
+ }
91
+ }
92
+ const _ = function(t) {
93
+ return (t.currentStyle || window.getComputedStyle(t, null)).textAlign === "justify";
94
+ };
95
+ function d(t, e, n) {
96
+ e = e.trim();
97
+ const i = e.split(" ").length;
98
+ if (e = `${e} `, i < 2)
99
+ return e;
100
+ const s = document.createElement("span");
101
+ s.innerHTML = e, t.appendChild(s);
102
+ const h = s.offsetWidth;
103
+ s.parentNode.removeChild(s);
104
+ const S = Math.floor((n - h) / (i - 1));
105
+ s.style.wordSpacing = `${S}px`, s.setAttribute("data-owner", "balance-text-justify");
106
+ const p = document.createElement("div");
107
+ return p.appendChild(s), p.innerHTML;
108
+ }
109
+ function x(t, e) {
110
+ const n = /([^\S\u00a0]|-|\u2014|\u2013|\u00ad)(?![^<]*>)/g;
111
+ let i;
112
+ if (!l)
113
+ for (l = [], i = n.exec(t); i !== null; )
114
+ m(i.index) || l.push(i.index), i = n.exec(t);
115
+ return l.indexOf(e) !== -1;
116
+ }
117
+ function X(t, e) {
118
+ return e === 0 || e === t.length || x(t, e - 1) && !x(t, e);
119
+ }
120
+ function b(t, e, n, i, s, h, S) {
121
+ let p;
122
+ if (e && typeof e == "string")
123
+ for (; ; ) {
124
+ for (; !X(e, h); )
125
+ h += s;
126
+ if (t.innerHTML = e.substr(0, h), p = t.offsetWidth, s < 0) {
127
+ if (p <= i || p <= 0 || h === 0)
128
+ break;
129
+ } else if (i <= p || n <= p || h === e.length)
130
+ break;
131
+ h += s;
132
+ }
133
+ S.index = h, S.width = p;
134
+ }
135
+ function R(t, e) {
136
+ const n = document.createElement("div");
137
+ n.style.display = "block", n.style.position = "absolute", n.style.bottom = 0, n.style.right = 0, n.style.width = 0, n.style.height = 0, n.style.margin = 0, n.style.padding = 0, n.style.visibility = "hidden", n.style.overflow = "hidden";
138
+ const i = document.createElement("span");
139
+ i.style.fontSize = "2000px", i.innerHTML = "&nbsp;", n.appendChild(i), t.appendChild(n);
140
+ const s = i.getBoundingClientRect();
141
+ n.parentNode.removeChild(n);
142
+ const h = s.height / s.width;
143
+ return e / h;
144
+ }
145
+ function u(t) {
146
+ return t ? typeof t == "string" ? document.querySelectorAll(t) : t.tagName && t.querySelectorAll ? [t] : t : [];
147
+ }
148
+ function O(t) {
149
+ g(u(t), (e) => {
150
+ Q(e);
151
+ const i = e.style.whiteSpace, s = e.style.float, h = e.style.display, S = e.style.position, p = e.style.lineHeight;
152
+ e.style.lineHeight = "normal";
153
+ const E = e.offsetWidth, ot = e.offsetHeight;
154
+ e.style.whiteSpace = "nowrap", e.style.float = "none", e.style.display = "inline", e.style.position = "static";
155
+ let U = e.offsetWidth;
156
+ const P = e.offsetHeight, tt = i === "pre-wrap" ? 0 : R(e, P);
157
+ if (E > 0 && U > E && U < 5e3) {
158
+ let w = e.innerHTML, q = "", N = "";
159
+ const et = _(e);
160
+ let V = Math.round(ot / P), it = 0, W, A, y, H, j, nt, Y;
161
+ for (; V > 1; )
162
+ l = null, k(e, i, it), W = Math.round((U + tt) / V - tt), A = Math.round((w.length + 1) / V) - 1, y = new C(), b(e, w, E, W, -1, A, y), H = new C(), A = y.index, b(e, w, E, W, 1, A, H), y.reset(), A = H.index, b(e, w, E, W, -1, A, y), y.index === 0 ? j = H.index : E < H.width || y.index === H.index ? j = y.index : j = Math.abs(W - y.width) < Math.abs(H.width - W) ? y.index : H.index, N = w.substr(0, j).replace(/\s$/, ""), Y = Boolean(N.match(/\u00ad$/)), Y && (N = N.replace(/\u00ad$/, '<span data-owner="balance-text-softhyphen">-</span>')), et ? q += d(e, N, E) : (q += N, nt = Y || Boolean(N.match(/(-|\u2014|\u2013)$/)), q += nt ? '<br data-owner="balance-text-hyphen" />' : '<br data-owner="balance-text" aria-hidden="true" />'), w = w.substr(j), it = j, V--, e.innerHTML = w, U = e.offsetWidth;
163
+ et ? e.innerHTML = q + d(e, w, E) : e.innerHTML = q + w;
164
+ }
165
+ e.style.whiteSpace = i, e.style.float = s, e.style.display = h, e.style.position = S, e.style.lineHeight = p;
166
+ });
167
+ }
168
+ function T() {
169
+ const t = c.sel.join(","), e = u(t), n = Array.prototype.concat.apply(c.el, e);
170
+ O(n);
171
+ }
172
+ function F() {
173
+ f || (B(T), window.addEventListener("load", T), window.addEventListener("resize", D(T)), f = !0);
174
+ }
175
+ function M(t) {
176
+ typeof t == "string" ? c.sel.push(t) : g(u(t), (e) => {
177
+ c.el.push(e);
178
+ }), F(), T();
179
+ }
180
+ function J(t) {
181
+ typeof t == "string" ? c.sel = c.sel.filter((e) => e !== t) : (t = u(t), c.el = c.el.filter((e) => t.indexOf(e) === -1));
182
+ }
183
+ function G() {
184
+ v || (c.sel.push(".balance-text"), F(), v = !0);
185
+ }
186
+ function $(t, e) {
187
+ t ? e && e.watch === !0 ? M(t) : e && e.watch === !1 ? J(t) : O(t) : G();
188
+ }
189
+ return $.updateWatched = T, I() ? (z.updateWatched = z, z) : $;
190
+ });
191
+ }(K)), K.exports;
192
+ }
193
+ var pt = xt(), gt = /* @__PURE__ */ ft(pt);
194
+ /**
195
+ shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
196
+ @version v5.0.2
197
+ @link https://github.com/yowainwright/shave#readme
198
+ @author Jeff Wainwright <yowainwright@gmail.com> (jeffry.in)
199
+ @license MIT
200
+ **/
201
+ function rt(o, l) {
202
+ var a = typeof Symbol == "function" && o[Symbol.iterator];
203
+ if (!a)
204
+ return o;
205
+ var r = a.call(o), c, f = [], v;
206
+ try {
207
+ for (; !(c = r.next()).done; )
208
+ f.push(c.value);
209
+ } catch (z) {
210
+ v = { error: z };
211
+ } finally {
212
+ try {
213
+ c && !c.done && (a = r.return) && a.call(r);
214
+ } finally {
215
+ if (v)
216
+ throw v.error;
217
+ }
218
+ }
219
+ return f;
220
+ }
221
+ function at(o, l, a) {
222
+ if (arguments.length === 2)
223
+ for (var r = 0, c = l.length, f; r < c; r++)
224
+ (f || !(r in l)) && (f || (f = Array.prototype.slice.call(l, 0, r)), f[r] = l[r]);
225
+ return o.concat(f || Array.prototype.slice.call(l));
226
+ }
227
+ function wt(o) {
228
+ return typeof o == "string" ? at([], rt(document.querySelectorAll(o)), !1) : "length" in o ? at([], rt(o), !1) : [o];
229
+ }
230
+ function yt(o, l, a) {
231
+ if (a === void 0 && (a = {}), typeof l > "u" || isNaN(l))
232
+ throw Error("maxHeight is required");
233
+ var r = wt(o);
234
+ if (!!r.length)
235
+ for (var c = a.character, f = c === void 0 ? "\u2026" : c, v = a.classname, z = v === void 0 ? "js-shave" : v, g = a.spaces, B = g === void 0 ? !0 : g, D = a.charclassname, I = D === void 0 ? "js-shave-char" : D, C = a.link, m = C === void 0 ? {} : C, L = typeof B == "boolean" ? B : !0, k = m && JSON.stringify(m) !== "{}" && m.href, Q = k ? "a" : "span", _ = 0; _ < r.length; _ += 1) {
236
+ var d = r[_], x = d.style, X = d.querySelector("." + z), b = d.textContent === void 0 ? "innerText" : "textContent";
237
+ X && (d.removeChild(d.querySelector("." + I)), d[b] = d[b]);
238
+ var R = d[b], u = L ? R.split(" ") : R;
239
+ if (!(u.length < 2)) {
240
+ var O = x.height;
241
+ x.height = "auto";
242
+ var T = x.maxHeight;
243
+ if (x.maxHeight = "none", d.offsetHeight <= l) {
244
+ x.height = O, x.maxHeight = T;
245
+ continue;
246
+ }
247
+ var F = k && m.textContent ? m.textContent : f, M = document.createElement(Q), J = {
248
+ className: I,
249
+ textContent: F
250
+ };
251
+ for (var G in J)
252
+ M[G] = J[G], M.textContent = f;
253
+ if (k)
254
+ for (var $ in m)
255
+ M[$] = m[$];
256
+ for (var t = u.length - 1, e = 0, n = void 0; e < t; )
257
+ n = e + t + 1 >> 1, d[b] = L ? u.slice(0, n).join(" ") : u.slice(0, n), d.insertAdjacentElement("beforeend", M), d.offsetHeight > l ? t = n - 1 : e = n;
258
+ d[b] = L ? u.slice(0, t).join(" ") : u.slice(0, t), d.insertAdjacentElement("beforeend", M);
259
+ var i = L ? " ".concat(u.slice(t).join(" ")) : u.slice(t), s = document.createTextNode(i), h = document.createElement("span");
260
+ h.classList.add(z), h.style.display = "none", h.appendChild(s), d.insertAdjacentElement("beforeend", h), x.height = O, x.maxHeight = T;
261
+ }
262
+ }
263
+ }
264
+ const vt = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-disabled.sc-swirl-text{color:var(--s-text-disabled)}.text--color-highlight.sc-swirl-text{color:var(--s-text-highlight)}.text--color-on-action-primary.sc-swirl-text{color:var(--s-text-on-action-primary)}.text--color-on-image.sc-swirl-text{color:var(--s-text-on-image)}.text--color-on-status.sc-swirl-text{color:var(--s-text-on-status)}.text--color-on-surface-highlight.sc-swirl-text{color:var(--s-text-on-surface-highlight)}.text--color-on-surface-highlight-subdued.sc-swirl-text{color:var(--s-text-on-surface-highlight-subdued)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-xs.sc-swirl-text{font-size:var(--s-font-size-xs);line-height:var(--s-line-height-xs)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.text--responsive.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.text--responsive.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text--truncate-direction-start.sc-swirl-text{direction:rtl;text-align:left}", mt = class {
265
+ constructor(o) {
266
+ lt(this, o), this.align = "start", this.as = "p", this.color = "default", this.fontFamily = "text", this.fontStyle = "normal", this.responsive = !0, this.size = "base", this.truncateDirection = "end", this.weight = "normal", this.whiteSpace = "normal";
267
+ }
268
+ componentDidRender() {
269
+ this.rebalance(), this.handleTruncation();
270
+ }
271
+ onWindowResize() {
272
+ this.rebalance(), this.handleTruncation();
273
+ }
274
+ handleTruncation() {
275
+ if (!this.truncate || !Boolean(this.lines) || this.lines === 1)
276
+ return;
277
+ const o = +window.getComputedStyle(this.textEl, null).getPropertyValue("line-height").replace("px", "");
278
+ o > 0 && yt(this.textEl, o * this.lines);
279
+ }
280
+ rebalance() {
281
+ !this.balance || !Boolean(this.textEl) || gt(this.textEl);
282
+ }
283
+ render() {
284
+ const o = this.as, l = this.truncate && (!Boolean(this.lines) || this.lines === 1), a = dt("text", `text--align-${this.align}`, `text--color-${this.color}`, `text--font-family-${this.fontFamily}`, `text--font-style-${this.fontStyle}`, `text--size-${this.size}`, `text--truncate-direction-${this.truncateDirection}`, `text--weight-${this.weight}`, {
285
+ "text--truncate": l,
286
+ "text--responsive": this.responsive
287
+ }), r = {
288
+ whiteSpace: l ? "nowrap" : this.whiteSpace
289
+ };
290
+ return Z(ct, { key: "56f7218ef3a537fec98997d1b14ca35c2c479676" }, Z(o, { key: "b921b87fd42122292d4db0368a5aba72e0975f7a", class: a, ref: (c) => this.textEl = c, style: r }, Z("slot", { key: "7e8f3315ebe21dc4e598c375d300143a519b697e" })));
291
+ }
292
+ get el() {
293
+ return ht(this);
294
+ }
295
+ };
296
+ mt.style = vt;
297
+ export {
298
+ mt as swirl_text
299
+ };
@@ -0,0 +1,94 @@
1
+ import { r as m, c as a, h as o, H as d } from "./index.a571673c.js";
2
+ import "react";
3
+ import "react-dom";
4
+ const l = ".sc-swirl-theme-provider-h{display:unset}", i = "swirl-preferred-theme", c = class {
5
+ constructor(e) {
6
+ m(this, e), this.appThemeUpdated = a(this, "appThemeUpdated", 7), this.themeChange = a(this, "themeChange", 7), this.darkThemeMediaQuery = window.matchMedia("(prefers-color-scheme: dark)"), this.setDesignTokens = [], this.osThemeChangeHandler = (t) => {
7
+ this.osTheme = t.matches ? "dark" : "light", this.updateAppTheme();
8
+ };
9
+ }
10
+ componentWillLoad() {
11
+ this.resolveConfig(), this.determineOSTheme(), this.updateAppTheme();
12
+ }
13
+ disconnectedCallback() {
14
+ this.darkThemeMediaQuery.removeEventListener("change", this.osThemeChangeHandler);
15
+ }
16
+ watchConfig() {
17
+ this.resolveConfig(), this.determineOSTheme(), this.updateAppTheme();
18
+ }
19
+ async getActiveOSTheme() {
20
+ return this.appOSTheme;
21
+ }
22
+ async getPreferredOSTheme() {
23
+ if (!!Boolean(this.resolvedConfig.storage))
24
+ return this.resolvedConfig.storage.getItem(i);
25
+ }
26
+ async setPreferredOSTheme(e) {
27
+ !Boolean(this.resolvedConfig.storage) || !this.resolvedConfig.enabledThemes.includes(e) || (this.resolvedConfig.storage.setItem(i, e), this.updateAppTheme());
28
+ }
29
+ async resetPreferredOSTheme() {
30
+ !Boolean(this.resolvedConfig.storage) || (this.resolvedConfig.storage.removeItem(i), this.updateAppTheme());
31
+ }
32
+ resolveConfig() {
33
+ var e, t, s;
34
+ if (this.resolvedConfig = {
35
+ ...this.config || {},
36
+ enabledThemes: ((e = this.config) == null ? void 0 : e.enabledThemes) || ["light", "dark"],
37
+ rootElement: ((t = this.config) == null ? void 0 : t.rootElement) || document.documentElement,
38
+ storage: ((s = this.config) == null ? void 0 : s.storage) || (window == null ? void 0 : window.localStorage)
39
+ }, !this.resolvedConfig.enabledThemes.includes("light"))
40
+ throw new Error("[Swirl Theme Provider] Light theme must be enabled.");
41
+ }
42
+ determineOSTheme() {
43
+ if (!Boolean(window.matchMedia)) {
44
+ this.osTheme = "light";
45
+ return;
46
+ }
47
+ this.osTheme = this.darkThemeMediaQuery.matches ? "dark" : "light", this.darkThemeMediaQuery.removeEventListener("change", this.osThemeChangeHandler), this.darkThemeMediaQuery.addEventListener("change", this.osThemeChangeHandler);
48
+ }
49
+ async updateAppTheme() {
50
+ const e = await this.getPreferredOSTheme() || this.osTheme;
51
+ this.resolvedConfig.enabledThemes.includes(e) ? this.appOSTheme = e : this.appOSTheme = "light", this.appOSTheme === "dark" ? (document.documentElement.classList.remove("theme-light"), document.documentElement.classList.add("theme-dark")) : (document.documentElement.classList.remove("theme-dark"), document.documentElement.classList.add("theme-light")), this.updateTenantVariables(), this.updateTenantAssets();
52
+ const t = {
53
+ activeTheme: await this.getActiveOSTheme(),
54
+ preferredTheme: await this.getPreferredOSTheme()
55
+ };
56
+ (!Boolean(this.recentOSThemeChangeEventData) || t.activeTheme !== this.recentOSThemeChangeEventData.activeTheme || t.preferredTheme !== this.recentOSThemeChangeEventData.preferredTheme) && (this.recentOSThemeChangeEventData = t, this.themeChange.emit(this.recentOSThemeChangeEventData)), this.appThemeUpdated.emit();
57
+ }
58
+ updateTenantAssets() {
59
+ var t, s, h;
60
+ const e = (s = (t = this.resolvedConfig) == null ? void 0 : t.themes) == null ? void 0 : s[this.appOSTheme];
61
+ !Boolean(e) || (h = document.head.querySelector('link[rel="icon"]')) == null || h.setAttribute("href", e.favicon.link);
62
+ }
63
+ updateTenantVariables() {
64
+ var s, h;
65
+ const e = (h = (s = this.resolvedConfig) == null ? void 0 : s.themes) == null ? void 0 : h[this.appOSTheme];
66
+ if (!Boolean(e)) {
67
+ this.resetTenantVariables();
68
+ return;
69
+ }
70
+ const t = this.resolvedConfig.rootElement;
71
+ this.setDesignTokens = [], e.design_tokens.forEach((r) => {
72
+ const n = `--s-${r.id}`;
73
+ t.style.setProperty(n, `rgba(${r.color.r}, ${r.color.g}, ${r.color.b}, ${r.color.a})`), this.setDesignTokens.push(n);
74
+ });
75
+ }
76
+ resetTenantVariables() {
77
+ const e = this.resolvedConfig.rootElement;
78
+ this.setDesignTokens.forEach((t) => {
79
+ e.style.removeProperty(t);
80
+ }), this.setDesignTokens = [];
81
+ }
82
+ render() {
83
+ return o(d, { key: "82a875743f80083b26b6cf797d61921685fb3a60" }, o("slot", { key: "ecc92c5131777200571c7f03095ccf906bfa3457" }));
84
+ }
85
+ static get watchers() {
86
+ return {
87
+ config: ["watchConfig"]
88
+ };
89
+ }
90
+ };
91
+ c.style = l;
92
+ export {
93
+ c as swirl_theme_provider
94
+ };
@@ -0,0 +1,136 @@
1
+ import { r as h, c as m, h as n, H as d, g as p } from "./index.a571673c.js";
2
+ import { c as f } from "./index-orsBiyT_.fc4357c3.js";
3
+ import { p as r, i as o, f as l, I as a } from "./index-D3UoejeY.7db8c51e.js";
4
+ import { D as g } from "./media-query.service-BZg4zbFx.7454a4f3.js";
5
+ import "react";
6
+ import "react-dom";
7
+ import "./utils-wi_3Z3FQ.29a3aebe.js";
8
+ const b = ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h *.sc-swirl-time-input{box-sizing:border-box}.time-input.sc-swirl-time-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);line-height:var(--s-line-height-sm)}.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:0}}.time-input__input.sc-swirl-time-input{display:inline-flex;width:calc(100% - 1.25rem - var(--s-space-8));margin:0;padding:0;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.time-input__input.sc-swirl-time-input:focus{outline:none}.time-input__input.sc-swirl-time-input:disabled{color:var(--s-text-disabled);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__input.sc-swirl-time-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.time-input__icon.sc-swirl-time-input{position:absolute;top:calc(-1 * var(--s-space-12));right:0;display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__icon.sc-swirl-time-input{top:-0.625rem}}", u = "HH:mm:ss", w = class {
9
+ constructor(t) {
10
+ h(this, t), this.inputBlur = m(this, "inputBlur", 7), this.inputFocus = m(this, "inputFocus", 7), this.valueChange = m(this, "valueChange", 7), this.format = "HH:mm", this.placeholder = "hh:mm", this.iconSize = 24, this.mediaQueryUnsubscribe = () => {
11
+ }, this.onBlur = (e) => {
12
+ this.inputBlur.emit(e);
13
+ }, this.onClick = (e) => {
14
+ e.preventDefault();
15
+ }, this.onFocus = (e) => {
16
+ this.inputFocus.emit(e), this.handleAutoSelect(e);
17
+ };
18
+ }
19
+ componentWillLoad() {
20
+ const t = Array.from(document.querySelectorAll("swirl-time-input")).indexOf(this.el);
21
+ this.id = `swirl-time-input-${t}`;
22
+ }
23
+ componentDidLoad() {
24
+ this.setupMask(), this.mediaQueryUnsubscribe = g.subscribe((t) => {
25
+ this.updateIconSize(t);
26
+ }), this.autoFocus && setTimeout(() => {
27
+ this.inputEl.focus();
28
+ });
29
+ }
30
+ disconnectedCallback() {
31
+ var t;
32
+ (t = this.mask) == null || t.destroy(), this.mediaQueryUnsubscribe();
33
+ }
34
+ watchFormat() {
35
+ this.setupMask();
36
+ }
37
+ watchValue(t, e) {
38
+ if (t !== e)
39
+ if (this.valueChange.emit(t), this.mask && t) {
40
+ const i = this.getPattern();
41
+ let s = r(t, u, new Date());
42
+ if (o(s) || (s = r(t, i, new Date())), o(s)) {
43
+ const c = l(s, i);
44
+ this.mask.value = c;
45
+ }
46
+ } else
47
+ this.mask && !t && (this.mask.value = "");
48
+ }
49
+ updateIconSize(t) {
50
+ this.iconSize = t ? 20 : 24;
51
+ }
52
+ getPattern() {
53
+ return this.format.replace(new RegExp("(?<!H)H(?!H)", "g"), "HH").replace(new RegExp("(?<!h)h(?!h)", "g"), "hh").replace(new RegExp("(?<!m)m(?!m)", "g"), "mm").replace(new RegExp("(?<!s)s(?!s)", "g"), "ss").replace(new RegExp("(?<!a)a(?!a)", "g"), "aa");
54
+ }
55
+ handleAutoSelect(t) {
56
+ if (!this.autoSelect) {
57
+ setTimeout(() => {
58
+ t.target && t.target instanceof HTMLInputElement && t.target.setSelectionRange && t.target.setSelectionRange(0, 0);
59
+ });
60
+ return;
61
+ }
62
+ t.target && t.target instanceof HTMLInputElement && t.target.select();
63
+ }
64
+ setupMask() {
65
+ var e;
66
+ (e = this.mask) == null || e.destroy();
67
+ const t = this.getPattern();
68
+ if (this.mask = a(this.inputEl, {
69
+ mask: Date,
70
+ pattern: t.replace(/([^A-Za-z0-9])/g, "$1`"),
71
+ autofix: "pad",
72
+ lazy: !0,
73
+ overwrite: !0,
74
+ eager: "append",
75
+ prepareChar: (i) => i.toUpperCase(),
76
+ blocks: {
77
+ HH: {
78
+ mask: a.MaskedRange,
79
+ from: 0,
80
+ to: 23,
81
+ maxLength: 2
82
+ },
83
+ hh: {
84
+ mask: a.MaskedRange,
85
+ from: 1,
86
+ to: 12,
87
+ maxLength: 2
88
+ },
89
+ mm: {
90
+ mask: a.MaskedRange,
91
+ from: 0,
92
+ to: 59,
93
+ maxLength: 2
94
+ },
95
+ ss: {
96
+ mask: a.MaskedRange,
97
+ from: 0,
98
+ to: 59,
99
+ maxLength: 2
100
+ },
101
+ aa: {
102
+ mask: a.MaskedEnum,
103
+ enum: ["AM", "PM"],
104
+ maxLength: 2
105
+ }
106
+ },
107
+ format: (i) => o(i) ? (this.value = l(i, u), l(i, t)) : "",
108
+ parse: (i) => r(i, t, new Date())
109
+ }), this.value) {
110
+ const i = r(this.value, u, new Date());
111
+ if (o(i)) {
112
+ const s = l(i, t);
113
+ this.mask.value = s;
114
+ }
115
+ }
116
+ }
117
+ render() {
118
+ const t = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, e = f("time-input", {
119
+ "time-input--inline": this.inline
120
+ });
121
+ return n(d, { key: "09972a3546f1144173141cc64ad1077d3d8530c0" }, n("div", { key: "53644015094e8d119dc83b897dcebedb60aeb719", class: e }, n("input", { key: "9180a1549021d0ebe9995e6b97fe421065a3a1a3", "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-invalid": t, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, placeholder: this.placeholder, ref: (i) => this.inputEl = i, required: this.required, type: "text", readonly: this.readonly }), n("span", { key: "4ceada668af6967d5f120aedf77fa83a829c2f1d", class: "time-input__icon" }, n("swirl-icon-time-outlined", { key: "7efc3da310329b1589ed9d1206a0cb907612076a", size: this.iconSize }))));
122
+ }
123
+ get el() {
124
+ return p(this);
125
+ }
126
+ static get watchers() {
127
+ return {
128
+ format: ["watchFormat"],
129
+ value: ["watchValue"]
130
+ };
131
+ }
132
+ };
133
+ w.style = b;
134
+ export {
135
+ w as swirl_time_input
136
+ };
@@ -0,0 +1,36 @@
1
+ import { r as o, h as i, H as r } from "./index.a571673c.js";
2
+ import "react";
3
+ import "react-dom";
4
+ const c = class {
5
+ constructor(t) {
6
+ o(this, t), this.toasts = [], this.onDismiss = (s) => {
7
+ this.toasts = [...this.toasts].filter((a) => a.toastId !== s.detail);
8
+ };
9
+ }
10
+ async clearAll() {
11
+ this.toasts = [];
12
+ }
13
+ async dismiss(t) {
14
+ this.toasts = [...this.toasts].filter((s) => s.toastId !== t);
15
+ }
16
+ async toast(t) {
17
+ if (this.toasts.some((a) => a.toastId === t.toastId))
18
+ return;
19
+ const s = {
20
+ ...t,
21
+ createdAt: new Date(),
22
+ duration: t.duration || this.globalDuration || void 0,
23
+ toastId: t.toastId || String(Math.round(Math.random() * 1e4))
24
+ };
25
+ return this.toasts = [...this.toasts, s], s;
26
+ }
27
+ render() {
28
+ return i(r, { key: "ed46f2145bfb6a36b7d7e66206f92aa048b0b0ff", role: "status" }, i("swirl-stack", { key: "d3302dba7a8f2cd47b77adacb1d6ee51d32b4b85", spacing: "12" }, this.toasts.map((t) => {
29
+ const s = { ...t, content: void 0 };
30
+ return i("swirl-toast", { key: t.toastId, onDismiss: this.onDismiss, ...s }, t.content);
31
+ })));
32
+ }
33
+ };
34
+ export {
35
+ c as swirl_toast_provider
36
+ };
@@ -0,0 +1,51 @@
1
+ import { r as o, c as r, h as i, H as n } from "./index.a571673c.js";
2
+ import { c } from "./index-orsBiyT_.fc4357c3.js";
3
+ import { D as d } from "./media-query.service-BZg4zbFx.7454a4f3.js";
4
+ import "react";
5
+ import "react-dom";
6
+ import "./utils-wi_3Z3FQ.29a3aebe.js";
7
+ const h = ":host{display:flex}:host *{box-sizing:border-box}.toast{display:flex;width:100%;max-width:28rem;padding:var(--s-space-16);border-radius:var(--s-border-radius-sm);color:var(--s-text-on-status);background-color:var(--s-surface-neutral-default);box-shadow:var(--s-shadow-level-2)}.toast--intent-critical{background-color:var(--s-surface-critical-default)}.toast--intent-success{background-color:var(--s-surface-success-default)}.toast__icon{display:inline-flex;width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-right:0.625rem;flex-shrink:0}.toast__icon ::part(icon){color:var(--s-icon-on-status)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__icon{width:1.25rem;height:1.25rem;margin-top:0}}.toast__content{flex-grow:1;line-height:var(--s-line-height-base);text-align:left;align-self:flex-start}.toast__content ::part(link){color:var(--text-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.toast__content{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.toast__dismiss-button{display:inline-flex;min-width:1.5rem;height:1.5rem;margin-top:calc(-1 * var(--s-space-2));margin-left:var(--s-space-16);padding:0;flex-shrink:0;justify-content:center;align-items:center;border:none;color:var(--s-text-on-status);background-color:transparent;font:inherit;font-weight:var(--s-font-weight-semibold);cursor:pointer}.toast__dismiss-button ::part(icon){color:var(--s-icon-on-status)}", l = class {
8
+ constructor(t) {
9
+ o(this, t), this.dismiss = r(this, "dismiss", 7), this.accessibleDismissLabel = "Dismiss", this.intent = "default", this.mediaQueryUnsubscribe = () => {
10
+ }, this.onDismiss = () => {
11
+ this.dismiss.emit(this.toastId);
12
+ };
13
+ }
14
+ watchDuration() {
15
+ this.startTimer();
16
+ }
17
+ componentDidLoad() {
18
+ this.startTimer(), this.mediaQueryUnsubscribe = d.subscribe((t) => {
19
+ this.forceIconProps(t);
20
+ });
21
+ }
22
+ disconnectedCallback() {
23
+ this.mediaQueryUnsubscribe();
24
+ }
25
+ forceIconProps(t) {
26
+ var a;
27
+ const s = (a = this.iconEl) == null ? void 0 : a.children[0], e = this.dismissIconEl;
28
+ s == null || s.setAttribute("size", t ? "20" : "24"), e == null || e.setAttribute("size", t ? "20" : "24");
29
+ }
30
+ startTimer() {
31
+ this.clearTimer(), !(this.duration === void 0 || this.duration === 1 / 0) && (this.timeout = setTimeout(() => {
32
+ this.dismiss.emit(this.toastId);
33
+ }, this.duration));
34
+ }
35
+ clearTimer() {
36
+ !Boolean(this.timeout) || (clearTimeout(this.timeout), this.timeout = void 0);
37
+ }
38
+ render() {
39
+ const t = c("toast", `toast--intent-${this.intent}`);
40
+ return i(n, { key: "7fea68476343a3a1036bcf9f7594a6e1a79cff8d" }, i("div", { key: "fbffb818800e9a1a09d152b304247d2d4f142011", class: t }, this.icon && i("span", { key: "3dd08af863ab3e470b04382280e48898b1855df5", class: "toast__icon", innerHTML: this.icon, part: "toast__icon", ref: (s) => this.iconEl = s }), i("span", { key: "cb7f747663e9abac62571814a39d4295e33cba5c", class: "toast__content", innerHTML: this.content, part: "toast__content" }, i("slot", { key: "fe656f4eb9dc33af885d7b41f8a1b846bc1e5649" })), i("button", { key: "974e2f354db147b74fd5e88e4fb17a8b611f1fa9", "aria-label": this.dismissLabel || this.accessibleDismissLabel, class: "toast__dismiss-button", onClick: this.onDismiss, type: "button" }, this.dismissLabel, !Boolean(this.dismissLabel) && i("swirl-icon-close", { key: "26d3e2c61a864953c15e1ca071a00cb33bdc412b", ref: (s) => this.dismissIconEl = s }))));
41
+ }
42
+ static get watchers() {
43
+ return {
44
+ duration: ["watchDuration"]
45
+ };
46
+ }
47
+ };
48
+ l.style = h;
49
+ export {
50
+ l as swirl_toast
51
+ };
@@ -0,0 +1,21 @@
1
+ import { r as s, h as t } from "./index.a571673c.js";
2
+ import { c as o } from "./index-orsBiyT_.fc4357c3.js";
3
+ import "react";
4
+ import "react-dom";
5
+ const i = ":host{display:inline-block}:host *{box-sizing:border-box}.button{display:inline-flex;gap:var(--s-space-8);width:100%;padding:0.375rem var(--s-space-8);justify-content:center;align-items:center;border:none;border-radius:0.375rem;color:var(--s-text-default);background-color:var(--s-surface-sunken-default);font:inherit;font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-lg);text-decoration:none;cursor:pointer}.button:hover{background-color:var(--s-surface-sunken-hovered)}.button:active{background-color:var(--s-surface-sunken-pressed)}.button:focus:not(:focus-visible){outline:none}.button:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}.button.button--pressed{background-color:var(--s-surface-default);color:var(--s-text-highlight);box-shadow:var(--s-shadow-level-1)}.button.button--pressed .button__icon{color:var(--s-icon-highlight)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.button{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);gap:var(--s-space-4)}}.button__label{overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis}.button__icon{width:1.5rem;height:1.5rem;color:var(--s-icon-default)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.button__icon{width:1.25rem;height:1.25rem}}", n = class {
6
+ constructor(e) {
7
+ s(this, e), this.isPressed = !1, this.onClick = () => {
8
+ this.isPressed = !0;
9
+ };
10
+ }
11
+ render() {
12
+ const e = o("button", {
13
+ "button--pressed": this.isPressed
14
+ });
15
+ return t("button", { key: "a11cd118821a3402a9179f7613685491ac9106cf", class: e, type: "button", "aria-pressed": this.isPressed ? "true" : "false", onClick: this.onClick }, this.icon && t("swirl-icon", { key: "50dad24f24365565e8d8403cad9fc6cf0b9c49de", class: "button__icon", glyph: this.icon }), t("span", { key: "afcf90645c669c81e47c67eb22f3eaa29f1d7d99", class: "button__label" }, this.label));
16
+ }
17
+ };
18
+ n.style = i;
19
+ export {
20
+ n as swirl_toggle_button
21
+ };