@adyen/bento-vue2 1.52.0 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +2104 -2027
  3. package/dist/action-bar.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/button-actions.css +1 -1
  8. package/dist/assets/calendar.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/checkbox.css +1 -1
  11. package/dist/assets/dashed-underline.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/dropdown.css +1 -1
  15. package/dist/assets/file-uploader.css +1 -1
  16. package/dist/assets/filter-bar.css +1 -1
  17. package/dist/assets/header-with-views.css +1 -0
  18. package/dist/assets/input-field-password.css +1 -1
  19. package/dist/assets/inspector.css +1 -1
  20. package/dist/assets/link.css +1 -1
  21. package/dist/assets/menu.css +1 -1
  22. package/dist/assets/modal-fullscreen.css +1 -1
  23. package/dist/assets/pagination.css +1 -1
  24. package/dist/assets/payment-method.css +1 -1
  25. package/dist/assets/popover.css +1 -1
  26. package/dist/assets/sidepanel.css +1 -1
  27. package/dist/assets/summary-grid.css +1 -0
  28. package/dist/assets/tabs.css +1 -1
  29. package/dist/assets/textarea.css +1 -1
  30. package/dist/assets/use-cached-selected-values.css +1 -1
  31. package/dist/button.js +1 -1
  32. package/dist/card.js +1 -1
  33. package/dist/checkbox.js +2 -2
  34. package/dist/chunks/{action-bar.DuJkjAt1.js → action-bar.CH1Mswou.js} +5 -5
  35. package/dist/chunks/{action-bar.DuJkjAt1.js.map → action-bar.CH1Mswou.js.map} +1 -1
  36. package/dist/chunks/{base-modal.CiTysydg.js → base-modal.kHzGyWf6.js} +4 -4
  37. package/dist/chunks/{base-modal.CiTysydg.js.map → base-modal.kHzGyWf6.js.map} +1 -1
  38. package/dist/chunks/bin.DuebwJYu.js +24 -0
  39. package/dist/chunks/bin.DuebwJYu.js.map +1 -0
  40. package/dist/chunks/{button-actions-with-menu.B9oXYIgo.js → button-actions-with-menu.mqNecwDb.js} +5 -5
  41. package/dist/chunks/{button-actions-with-menu.B9oXYIgo.js.map → button-actions-with-menu.mqNecwDb.js.map} +1 -1
  42. package/dist/chunks/{button-actions.DAvSJtOB.js → button-actions.XlUhz42n.js} +42 -100
  43. package/dist/chunks/{button-actions.DAvSJtOB.js.map → button-actions.XlUhz42n.js.map} +1 -1
  44. package/dist/chunks/{calendar.Bq67h02Z.js → calendar.D4dMXwc0.js} +4 -4
  45. package/dist/chunks/{calendar.Bq67h02Z.js.map → calendar.D4dMXwc0.js.map} +1 -1
  46. package/dist/chunks/{card.AQO_BjGb.js → card.BT04hjvV.js} +2 -2
  47. package/dist/chunks/{card.AQO_BjGb.js.map → card.BT04hjvV.js.map} +1 -1
  48. package/dist/chunks/{checkbox-group.CqSIn-lG.js → checkbox-group.DZF4UIym.js} +4 -4
  49. package/dist/chunks/{checkbox-group.CqSIn-lG.js.map → checkbox-group.DZF4UIym.js.map} +1 -1
  50. package/dist/chunks/{checkbox.BeYtbfPv.js → checkbox.DloQJI-K.js} +57 -51
  51. package/dist/chunks/checkbox.DloQJI-K.js.map +1 -0
  52. package/dist/chunks/{click-outside.DSszkIvs.js → click-outside.C1Ud8AA2.js} +2 -2
  53. package/dist/chunks/{click-outside.DSszkIvs.js.map → click-outside.C1Ud8AA2.js.map} +1 -1
  54. package/dist/chunks/{code-snippet.CW42FdpP.js → code-snippet.B3GhZo7r.js} +5 -5
  55. package/dist/chunks/{code-snippet.CW42FdpP.js.map → code-snippet.B3GhZo7r.js.map} +1 -1
  56. package/dist/chunks/{controls-group.D0_cJaFF.js → controls-group.C-HKhH1m.js} +2 -2
  57. package/dist/chunks/{controls-group.D0_cJaFF.js.map → controls-group.C-HKhH1m.js.map} +1 -1
  58. package/dist/chunks/{copy.2iD8aI5a.js → copy.k18tXmP1.js} +3 -3
  59. package/dist/chunks/{copy.2iD8aI5a.js.map → copy.k18tXmP1.js.map} +1 -1
  60. package/dist/chunks/{dashboard-section.Cmulh6WM.js → dashboard-section.DlIwNKkx.js} +4 -4
  61. package/dist/chunks/{dashboard-section.Cmulh6WM.js.map → dashboard-section.DlIwNKkx.js.map} +1 -1
  62. package/dist/chunks/{dashed-underline.eMF75SuT.js → dashed-underline.BbQIbZfu.js} +8 -8
  63. package/dist/chunks/{dashed-underline.eMF75SuT.js.map → dashed-underline.BbQIbZfu.js.map} +1 -1
  64. package/dist/chunks/{data-grid-template.CdHnPE1-.js → data-grid-template.BJTWe6Ty.js} +3 -3
  65. package/dist/chunks/{data-grid-template.CdHnPE1-.js.map → data-grid-template.BJTWe6Ty.js.map} +1 -1
  66. package/dist/chunks/{data-grid.DedjAz4_.js → data-grid.BjtvKzyw.js} +213 -203
  67. package/dist/chunks/data-grid.BjtvKzyw.js.map +1 -0
  68. package/dist/chunks/{date-picker.BdMr3Sn2.js → date-picker.Dy0k-7_1.js} +16 -16
  69. package/dist/chunks/{date-picker.BdMr3Sn2.js.map → date-picker.Dy0k-7_1.js.map} +1 -1
  70. package/dist/chunks/{date-range-picker.BHfvD0GK.js → date-range-picker.B_uiZRMc.js} +25 -25
  71. package/dist/chunks/{date-range-picker.BHfvD0GK.js.map → date-range-picker.B_uiZRMc.js.map} +1 -1
  72. package/dist/chunks/{directive.O3yEdalv.js → directive.Cbdox5VL.js} +2 -2
  73. package/dist/chunks/{directive.O3yEdalv.js.map → directive.Cbdox5VL.js.map} +1 -1
  74. package/dist/chunks/{dropdown-tag.CvZ1jckk.js → dropdown-tag.D3py85f0.js} +4 -4
  75. package/dist/chunks/{dropdown-tag.CvZ1jckk.js.map → dropdown-tag.D3py85f0.js.map} +1 -1
  76. package/dist/chunks/{dropdown.CcHoKbLz.js → dropdown.CI6ccgJJ.js} +89 -82
  77. package/dist/chunks/dropdown.CI6ccgJJ.js.map +1 -0
  78. package/dist/chunks/{error-message.B1-ekAMa.js → error-message.qHRfH-8Y.js} +2 -2
  79. package/dist/chunks/{error-message.B1-ekAMa.js.map → error-message.qHRfH-8Y.js.map} +1 -1
  80. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  81. package/dist/chunks/{file-uploader.Dlfzh5QQ.js → file-uploader.BOWE87dN.js} +473 -452
  82. package/dist/chunks/file-uploader.BOWE87dN.js.map +1 -0
  83. package/dist/chunks/{filter-bar.CwqoJGiK.js → filter-bar.pVpO62X3.js} +620 -613
  84. package/dist/chunks/filter-bar.pVpO62X3.js.map +1 -0
  85. package/dist/chunks/{focus-trap.CWlKh48z.js → focus-trap.V3Q8H_5C.js} +2 -2
  86. package/dist/chunks/{focus-trap.CWlKh48z.js.map → focus-trap.V3Q8H_5C.js.map} +1 -1
  87. package/dist/chunks/{footer-actions.BkHpWa7A.js → footer-actions.DYi_MR9I.js} +2 -2
  88. package/dist/chunks/{footer-actions.BkHpWa7A.js.map → footer-actions.DYi_MR9I.js.map} +1 -1
  89. package/dist/chunks/header-with-views.CLSMOYua.js +1536 -0
  90. package/dist/chunks/header-with-views.CLSMOYua.js.map +1 -0
  91. package/dist/chunks/{header.BAKjEGmH.js → header.DWx6s2nt.js} +4 -4
  92. package/dist/chunks/{header.BAKjEGmH.js.map → header.DWx6s2nt.js.map} +1 -1
  93. package/dist/chunks/index.48Mn1OCp.js +387 -0
  94. package/dist/chunks/{index.-wO_BQCb.js.map → index.48Mn1OCp.js.map} +1 -1
  95. package/dist/chunks/{info-icon-with-popover.CxXWP4TR.js → info-icon-with-popover.B4wYDzGz.js} +2 -2
  96. package/dist/chunks/{info-icon-with-popover.CxXWP4TR.js.map → info-icon-with-popover.B4wYDzGz.js.map} +1 -1
  97. package/dist/chunks/{info-icon.D3neDWqH.js → info-icon.J62KXp9I.js} +3 -3
  98. package/dist/chunks/{info-icon.D3neDWqH.js.map → info-icon.J62KXp9I.js.map} +1 -1
  99. package/dist/chunks/input-field-password.D6lhO8b2.js +228 -0
  100. package/dist/chunks/input-field-password.D6lhO8b2.js.map +1 -0
  101. package/dist/chunks/{input-field-phone-number.TXnK0dch.js → input-field-phone-number.CYRNWZL8.js} +3 -3
  102. package/dist/chunks/{input-field-phone-number.TXnK0dch.js.map → input-field-phone-number.CYRNWZL8.js.map} +1 -1
  103. package/dist/chunks/{input-field.De4sp76g.js → input-field.CsnMZceM.js} +3 -3
  104. package/dist/chunks/{input-field.De4sp76g.js.map → input-field.CsnMZceM.js.map} +1 -1
  105. package/dist/chunks/inspector.types.Cmq6sdCz.js +105 -0
  106. package/dist/chunks/inspector.types.Cmq6sdCz.js.map +1 -0
  107. package/dist/chunks/{layout-row.dh2VyGoD.js → layout-row.DWRoI0dm.js} +2 -2
  108. package/dist/chunks/{layout-row.dh2VyGoD.js.map → layout-row.DWRoI0dm.js.map} +1 -1
  109. package/dist/chunks/{listbox-option-tag.xGQr3Su1.js → listbox-option-tag.BHI-8rRX.js} +2 -2
  110. package/dist/chunks/{listbox-option-tag.xGQr3Su1.js.map → listbox-option-tag.BHI-8rRX.js.map} +1 -1
  111. package/dist/chunks/{menu.li3Kg9Uq.js → menu.BoxhffPs.js} +84 -83
  112. package/dist/chunks/{menu.li3Kg9Uq.js.map → menu.BoxhffPs.js.map} +1 -1
  113. package/dist/chunks/{modal-fullscreen.C4eL63TC.js → modal-fullscreen.E7e13pW9.js} +3 -3
  114. package/dist/chunks/{modal-fullscreen.C4eL63TC.js.map → modal-fullscreen.E7e13pW9.js.map} +1 -1
  115. package/dist/chunks/{modal.BpDz0Dhc.js → modal.BUPJIcb6.js} +4 -4
  116. package/dist/chunks/{modal.BpDz0Dhc.js.map → modal.BUPJIcb6.js.map} +1 -1
  117. package/dist/chunks/{on-click-outside.MUWbmGDn.js → on-click-outside.D9aY9g8G.js} +3 -2
  118. package/dist/chunks/{on-click-outside.MUWbmGDn.js.map → on-click-outside.D9aY9g8G.js.map} +1 -1
  119. package/dist/chunks/{pagination.FuELftBG.js → pagination.FBlW1fUz.js} +3 -3
  120. package/dist/chunks/{pagination.FuELftBG.js.map → pagination.FBlW1fUz.js.map} +1 -1
  121. package/dist/chunks/{payment-method.NZKiNOmM.js → payment-method.Cx4nPDtE.js} +6 -6
  122. package/dist/chunks/payment-method.Cx4nPDtE.js.map +1 -0
  123. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  124. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  125. package/dist/chunks/{popover.Cb6utVhS.js → popover.C4PNSrnW.js} +3 -3
  126. package/dist/chunks/{popover.Cb6utVhS.js.map → popover.C4PNSrnW.js.map} +1 -1
  127. package/dist/chunks/{popper-container.CiEkF7eb.js → popper-container.DWY19wS0.js} +2 -2
  128. package/dist/chunks/{popper-container.CiEkF7eb.js.map → popper-container.DWY19wS0.js.map} +1 -1
  129. package/dist/chunks/{promo-banner.PnHud5Wi.js → promo-banner.DgCKKp6o.js} +6 -6
  130. package/dist/chunks/{promo-banner.PnHud5Wi.js.map → promo-banner.DgCKKp6o.js.map} +1 -1
  131. package/dist/chunks/{radio-group._8PsjPCZ.js → radio-group.WbbrQhEO.js} +4 -4
  132. package/dist/chunks/{radio-group._8PsjPCZ.js.map → radio-group.WbbrQhEO.js.map} +1 -1
  133. package/dist/chunks/{search-bar.CVY2e8_B.js → search-bar.CFKWbNeA.js} +3 -3
  134. package/dist/chunks/{search-bar.CVY2e8_B.js.map → search-bar.CFKWbNeA.js.map} +1 -1
  135. package/dist/chunks/{secondary-nav.LxcuTR16.js → secondary-nav.C0gPD0MR.js} +3 -3
  136. package/dist/chunks/{secondary-nav.LxcuTR16.js.map → secondary-nav.C0gPD0MR.js.map} +1 -1
  137. package/dist/chunks/{segmented-control.D69WXQGh.js → segmented-control.DGNMY2BP.js} +2 -2
  138. package/dist/chunks/{segmented-control.D69WXQGh.js.map → segmented-control.DGNMY2BP.js.map} +1 -1
  139. package/dist/chunks/{selection-card-group.MTKkCBeK.js → selection-card-group.BmKUEuny.js} +4 -4
  140. package/dist/chunks/{selection-card-group.MTKkCBeK.js.map → selection-card-group.BmKUEuny.js.map} +1 -1
  141. package/dist/chunks/{sidepanel.BStCbRqN.js → sidepanel.CyhG1nQR.js} +4 -4
  142. package/dist/chunks/{sidepanel.BStCbRqN.js.map → sidepanel.CyhG1nQR.js.map} +1 -1
  143. package/dist/chunks/{structured-list-item.CeosjL40.js → structured-list-item.Co5P9bFC.js} +4 -4
  144. package/dist/chunks/{structured-list-item.CeosjL40.js.map → structured-list-item.Co5P9bFC.js.map} +1 -1
  145. package/dist/chunks/summary-grid.types.egM7irBt.js +295 -0
  146. package/dist/chunks/summary-grid.types.egM7irBt.js.map +1 -0
  147. package/dist/chunks/tabs.C8CgvNt4.js +214 -0
  148. package/dist/chunks/tabs.C8CgvNt4.js.map +1 -0
  149. package/dist/chunks/{tag.OgtZ3-ql.js → tag.CyspYb1E.js} +2 -2
  150. package/dist/chunks/{tag.OgtZ3-ql.js.map → tag.CyspYb1E.js.map} +1 -1
  151. package/dist/chunks/{teleport.B5fwsT5y.js → teleport.BHfrns33.js} +2 -2
  152. package/dist/chunks/{teleport.B5fwsT5y.js.map → teleport.BHfrns33.js.map} +1 -1
  153. package/dist/chunks/{textarea.BEISPJua.js → textarea.CC8esIW6.js} +75 -71
  154. package/dist/chunks/textarea.CC8esIW6.js.map +1 -0
  155. package/dist/chunks/{timeline-item.BeWMuM8A.js → timeline-item.Byorbxmc.js} +5 -5
  156. package/dist/chunks/{timeline-item.BeWMuM8A.js.map → timeline-item.Byorbxmc.js.map} +1 -1
  157. package/dist/chunks/{tooltip.RPURZd36.js → tooltip.DOvci5lX.js} +2 -2
  158. package/dist/chunks/{tooltip.RPURZd36.js.map → tooltip.DOvci5lX.js.map} +1 -1
  159. package/dist/chunks/{tutorial.Ba8PTa0x.js → tutorial.QwHbq1FO.js} +5 -5
  160. package/dist/chunks/{tutorial.Ba8PTa0x.js.map → tutorial.QwHbq1FO.js.map} +1 -1
  161. package/dist/chunks/{use-cached-selected-values.CxlYYUbd.js → use-cached-selected-values.DHpjo2tV.js} +36 -32
  162. package/dist/chunks/{use-cached-selected-values.CxlYYUbd.js.map → use-cached-selected-values.DHpjo2tV.js.map} +1 -1
  163. package/dist/click-outside.js +1 -1
  164. package/dist/code-snippet.js +1 -1
  165. package/dist/dashboard-template.js +1 -1
  166. package/dist/dashed-underline.js +2 -2
  167. package/dist/data-grid-template.js +1 -1
  168. package/dist/data-grid.js +1 -1
  169. package/dist/date-picker.js +2 -2
  170. package/dist/date-range-picker.js +2 -2
  171. package/dist/dropdown.js +3 -3
  172. package/dist/file-uploader.js +1 -1
  173. package/dist/filter-bar.js +1 -1
  174. package/dist/focus-trap.js +1 -1
  175. package/dist/header-with-views.js +5 -0
  176. package/dist/header-with-views.js.map +1 -0
  177. package/dist/header.js +1 -1
  178. package/dist/index.js +196 -194
  179. package/dist/index.js.map +1 -1
  180. package/dist/info-icon.js +1 -1
  181. package/dist/input-field-password.js +1 -1
  182. package/dist/input-field-phone-number.js +1 -1
  183. package/dist/input-field.js +1 -1
  184. package/dist/inspector.js +1 -1
  185. package/dist/internal.js +11 -11
  186. package/dist/layout.js +1 -1
  187. package/dist/menu.js +1 -1
  188. package/dist/modal-fullscreen.js +1 -1
  189. package/dist/modal.js +2 -2
  190. package/dist/pagination.js +1 -1
  191. package/dist/payment-method.js +2 -2
  192. package/dist/popover.js +1 -1
  193. package/dist/popper-container.js +1 -1
  194. package/dist/promo-banner.js +1 -1
  195. package/dist/radio-group.js +1 -1
  196. package/dist/search-bar.js +2 -2
  197. package/dist/secondary-nav.js +1 -1
  198. package/dist/segmented-control.js +1 -1
  199. package/dist/selection-card.js +1 -1
  200. package/dist/sidepanel.js +1 -1
  201. package/dist/structured-list.js +1 -1
  202. package/dist/styles/bento-dark.css +89 -17
  203. package/dist/styles/bento-light.css +89 -17
  204. package/dist/styles/bento.css +89 -17
  205. package/dist/styles/legacy.css +77 -5
  206. package/dist/styles/styleguide.css +89 -17
  207. package/dist/summary-grid.js +1 -1
  208. package/dist/tabs.js +1 -1
  209. package/dist/tag.js +1 -1
  210. package/dist/textarea.js +1 -1
  211. package/dist/timeline.js +1 -1
  212. package/dist/tutorial.js +1 -1
  213. package/dist/use-form-v4.js +8300 -0
  214. package/dist/use-form-v4.js.map +1 -0
  215. package/dist/web-types.json +4514 -3895
  216. package/package.json +8 -7
  217. package/dist/assets/summary-grid-item-custom.css +0 -1
  218. package/dist/chunks/checkbox.BeYtbfPv.js.map +0 -1
  219. package/dist/chunks/data-grid.DedjAz4_.js.map +0 -1
  220. package/dist/chunks/dropdown.CcHoKbLz.js.map +0 -1
  221. package/dist/chunks/file-uploader.Dlfzh5QQ.js.map +0 -1
  222. package/dist/chunks/filter-bar.CwqoJGiK.js.map +0 -1
  223. package/dist/chunks/index.-wO_BQCb.js +0 -370
  224. package/dist/chunks/input-field-password.CO0lAgMh.js +0 -194
  225. package/dist/chunks/input-field-password.CO0lAgMh.js.map +0 -1
  226. package/dist/chunks/inspector.types.ClnPOYmb.js +0 -101
  227. package/dist/chunks/inspector.types.ClnPOYmb.js.map +0 -1
  228. package/dist/chunks/payment-method.NZKiNOmM.js.map +0 -1
  229. package/dist/chunks/payment-method.types.CJKfZQN5.js +0 -5
  230. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +0 -1
  231. package/dist/chunks/summary-grid-item-custom.CF_TS7oA.js +0 -578
  232. package/dist/chunks/summary-grid-item-custom.CF_TS7oA.js.map +0 -1
  233. package/dist/chunks/tabs.UFoTqvew.js +0 -154
  234. package/dist/chunks/tabs.UFoTqvew.js.map +0 -1
  235. package/dist/chunks/textarea.BEISPJua.js.map +0 -1
@@ -1,115 +1,98 @@
1
- import { defineComponent as H, ref as b, onUnmounted as ka, onMounted as Ra, computed as m, watch as N, reactive as W, toRef as A } from "vue";
1
+ import { defineComponent as G, ref as h, onUnmounted as Ma, onMounted as wa, computed as r, watch as N, reactive as ea, toRef as ta, nextTick as Da } from "vue";
2
2
  /* empty css */
3
- import { n as f } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
- import { W as ra } from "./warning-filled.Cd0kVWwa.js";
5
- import { B as ja } from "./alert.BkMKX9wD.js";
6
- import { B as da } from "./button.D-3uUhuG.js";
7
- import { B as G } from "./typography.J1v_SPG3.js";
8
- import { u as O } from "./i18n.BQkEbtPM.js";
9
- import { g as P } from "./generate-uid.NJ8tVoha.js";
10
- import { i as ma } from "./index.Cl4_42j5.js";
11
- import { C as za } from "./checkmark-circle-fill.DZBl7CeY.js";
12
- import { C as Ea } from "./cross.CJ5EEL2c.js";
13
- import { R as $a } from "./refresh.Bc9FzGjJ.js";
14
- import { B as La } from "./link.BH3eB_7E.js";
15
- import { B as Ia } from "./loading-indicator.z8COalOc.js";
16
- import { B as Ta } from "./tooltip.RPURZd36.js";
17
- import { F as Fa, E as Ma } from "./error-message.B1-ekAMa.js";
3
+ import { n as g } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
+ import { W as ya } from "./warning-filled.Cd0kVWwa.js";
5
+ import { B as Va } from "./alert.BkMKX9wD.js";
6
+ import { B as na, d as Ba } from "./typography.J1v_SPG3.js";
7
+ import { u as Y } from "./i18n.BQkEbtPM.js";
8
+ import { g as _ } from "./generate-uid.NJ8tVoha.js";
9
+ import { i as Ca } from "./index.Cl4_42j5.js";
10
+ import { B as Oa } from "./bin.DuebwJYu.js";
11
+ import { C as Ha } from "./checkmark-circle-fill.DZBl7CeY.js";
12
+ import { C as qa } from "./cross.CJ5EEL2c.js";
13
+ import { R as Ua } from "./refresh.Bc9FzGjJ.js";
14
+ import { B as Aa } from "./button.D-3uUhuG.js";
15
+ import { B as Za } from "./link.BH3eB_7E.js";
16
+ import { B as Pa } from "./loading-indicator.z8COalOc.js";
17
+ import { B as Na } from "./tooltip.DOvci5lX.js";
18
+ import { F as Wa, E as Ga } from "./error-message.qHRfH-8Y.js";
18
19
  import "../assets/file-uploader.css";
19
- let K = 0;
20
- const Sa = {
20
+ let ra = 0;
21
+ const Ya = {
21
22
  beforeCreate() {
22
- this.uuid = K.toString(), K += 1;
23
+ this.uuid = ra.toString(), ra += 1;
23
24
  }
24
25
  };
25
- var Va = function() {
26
- var a = this, i = a._self._c;
27
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M8.00011 0.939453L12.0608 5.00011L11.0001 6.06077L8.75 3.81066V11.75H7.25V3.81089L5.00011 6.06077L3.93945 5.00011L8.00011 0.939453Z" } }), i("path", { attrs: { fill: "#00112C", d: "M2.75 12.5V10.25H1.25V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V10.25H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5Z" } })]);
28
- }, Da = [], Ha = /* @__PURE__ */ f(
29
- Sa,
30
- Va,
31
- Da,
26
+ var Xa = function() {
27
+ var a = this, t = a._self._c;
28
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M8.00011 0.939453L12.0608 5.00011L11.0001 6.06077L8.75 3.81066V11.75H7.25V3.81089L5.00011 6.06077L3.93945 5.00011L8.00011 0.939453Z" } }), t("path", { attrs: { fill: "#00112C", d: "M2.75 12.5V10.25H1.25V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V10.25H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5Z" } })]);
29
+ }, Ja = [], Ka = /* @__PURE__ */ g(
30
+ Ya,
31
+ Xa,
32
+ Ja,
32
33
  !1,
33
34
  null,
34
35
  null
35
36
  );
36
- const Oa = Ha.exports, Ba = /* @__PURE__ */ H({
37
+ const Qa = Ka.exports, ai = /* @__PURE__ */ G({
37
38
  __name: "file-uploader-file-card-animation",
38
39
  props: {
39
40
  name: null,
40
41
  showFileIcon: { type: Boolean }
41
42
  },
42
43
  setup(e) {
43
- return { __sfc: !0, isVue2: ma };
44
+ return { __sfc: !0, isVue2: Ca };
44
45
  }
45
46
  });
46
- var qa = function() {
47
- var a = this, i = a._self._c, t = a._self._setupProxy;
48
- return t.isVue2 ? i("Transition", { attrs: { name: a.name, mode: "out-in", css: a.showFileIcon } }, [a._t("default")], 2) : i("TransitionGroup", { attrs: { name: a.name, css: a.showFileIcon } }, [a._t("default")], 2);
49
- }, Za = [], Ua = /* @__PURE__ */ f(
50
- Ba,
51
- qa,
52
- Za,
47
+ var ii = function() {
48
+ var a = this, t = a._self._c, i = a._self._setupProxy;
49
+ return i.isVue2 ? t("Transition", { attrs: { name: a.name, mode: "out-in", css: a.showFileIcon } }, [a._t("default")], 2) : t("TransitionGroup", { attrs: { name: a.name, css: a.showFileIcon } }, [a._t("default")], 2);
50
+ }, ti = [], ei = /* @__PURE__ */ g(
51
+ ai,
52
+ ii,
53
+ ti,
53
54
  !1,
54
55
  null,
55
56
  null
56
57
  );
57
- const Aa = Ua.exports;
58
- let Q = 0;
59
- const Pa = {
60
- beforeCreate() {
61
- this.uuid = Q.toString(), Q += 1;
62
- }
63
- };
64
- var Na = function() {
65
- var a = this, i = a._self._c;
66
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M7.25 6.25H5.75V12.75H7.25V6.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M8.75 6.25H10.25V12.75H8.75V6.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M14.75 3.24999H12.54L12.05 1.74999C11.9 1.29999 11.61 0.92999 11.22 0.64999C10.83 0.37999 10.34 0.24999 9.92 0.23999H6.09C5.64 0.23999 5.17 0.37999 4.78 0.64999C4.39 0.91999 4.11 1.29999 3.95 1.75999L3.46 3.23999H1.25V4.73999H2.32L3.14 13.7C3.19 14.26 3.45 14.78 3.86 15.16C4.27 15.54 4.81 15.75 5.37 15.75H10.64C11.2 15.75 11.74 15.54 12.15 15.16C12.57 14.78 12.82 14.26 12.87 13.7L13.69 4.73999H14.76V3.23999L14.75 3.24999ZM5.37 2.24999C5.42 2.09999 5.52 1.97999 5.64 1.88999C5.77 1.79999 5.92 1.74999 6.08 1.75999H9.93C10.08 1.75999 10.23 1.80999 10.35 1.88999C10.48 1.97999 10.57 2.09999 10.62 2.23999L10.95 3.25999H5.02L5.35 2.25999L5.37 2.24999ZM11.37 13.58C11.35 13.77 11.27 13.94 11.13 14.06C10.99 14.19 10.81 14.25 10.63 14.25H5.36C5.17 14.25 5 14.18 4.86 14.06C4.72 13.93 4.64 13.76 4.62 13.57L3.81 4.74999H12.17L11.36 13.57L11.37 13.58Z" } })]);
67
- }, Wa = [], Ga = /* @__PURE__ */ f(
68
- Pa,
69
- Na,
70
- Wa,
71
- !1,
72
- null,
73
- null
74
- );
75
- const Ya = Ga.exports;
76
- function Xa(e, a) {
77
- const i = b(!1);
78
- let t;
58
+ const ni = ei.exports;
59
+ function oi(e, a) {
60
+ const t = h(!1);
61
+ let i;
79
62
  function p() {
80
- t && t.disconnect();
63
+ i && i.disconnect();
81
64
  }
82
- return ka(() => {
65
+ return Ma(() => {
83
66
  p();
84
- }), Ra(() => {
85
- p(), t = new IntersectionObserver(
67
+ }), wa(() => {
68
+ p(), i = new IntersectionObserver(
86
69
  (o) => {
87
- i.value = !o[0].isIntersecting;
70
+ t.value = !o[0].isIntersecting;
88
71
  },
89
72
  {
90
73
  root: a.value,
91
74
  threshold: 1
92
75
  }
93
- ), t.observe(e.value.$el);
94
- }), i;
76
+ ), i.observe(e.value.$el);
77
+ }), t;
95
78
  }
96
- const aa = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
97
- function va(e, a) {
98
- const i = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), aa.length - 1));
79
+ const da = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
80
+ function ka(e, a) {
81
+ const t = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), da.length - 1));
99
82
  return Intl.NumberFormat(e, {
100
83
  style: "unit",
101
- unit: aa[i]
102
- }).format(a / 1024 ** i);
84
+ unit: da[t]
85
+ }).format(a / 1024 ** t);
103
86
  }
104
- var h = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(h || {}), x = /* @__PURE__ */ ((e) => (e.ERROR_SIZE = "error-size", e.ERROR_LOAD = "error-load", e.ERROR_DIMENSIONS = "error-dimensions", e.ERROR_TYPE = "error-type", e))(x || {}), D = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(D || {}), d = /* @__PURE__ */ ((e) => (e.TABLE = "table", e.IMAGE = "image", e.VIDEO = "video", e.AUDIO = "audio", e.TEXT = "text", e.PDF = "pdf", e.SLIDES = "slides", e.COMPRESSED = "compressed", e.GENERIC = "generic", e))(d || {});
105
- const Ja = [
87
+ var w = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(w || {}), x = /* @__PURE__ */ ((e) => (e.ERROR_SIZE = "error-size", e.ERROR_LOAD = "error-load", e.ERROR_DIMENSIONS = "error-dimensions", e.ERROR_TYPE = "error-type", e))(x || {}), W = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(W || {}), d = /* @__PURE__ */ ((e) => (e.TABLE = "table", e.IMAGE = "image", e.VIDEO = "video", e.AUDIO = "audio", e.TEXT = "text", e.PDF = "pdf", e.SLIDES = "slides", e.COMPRESSED = "compressed", e.GENERIC = "generic", e))(d || {});
88
+ const pi = [
106
89
  "application/msword",
107
90
  // .doc
108
91
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
109
92
  // .docx
110
93
  "application/rtf"
111
94
  // .rtf
112
- ], Ka = [
95
+ ], li = [
113
96
  "application/vnd.ms-excel",
114
97
  // .xls
115
98
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -122,14 +105,14 @@ const Ja = [
122
105
  // .numbers
123
106
  "text/csv"
124
107
  // .csv
125
- ], Qa = [
108
+ ], si = [
126
109
  "application/vnd.ms-powerpoint",
127
110
  // .ppt
128
111
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
129
112
  // .pptx
130
113
  "application/vnd.oasis.opendocument.presentation"
131
114
  // .odp
132
- ], ai = [
115
+ ], ci = [
133
116
  "application/zip",
134
117
  // .zip
135
118
  "application/vnd.rar",
@@ -151,224 +134,224 @@ const Ja = [
151
134
  "application/vnd.ms-cab-compressed"
152
135
  // .cab
153
136
  ];
154
- function ii(e) {
155
- return Ka.includes(e.type) ? d.TABLE : e.type.startsWith("text/") || Ja.includes(e.type) ? d.TEXT : e.type.startsWith("image/") ? d.IMAGE : e.type.startsWith("video/") ? d.VIDEO : e.type.startsWith("audio/") ? d.AUDIO : e.type === "application/pdf" ? d.PDF : Qa.includes(e.type) ? d.SLIDES : ai.includes(e.type) ? d.COMPRESSED : d.GENERIC;
137
+ function ri(e) {
138
+ return li.includes(e.type) ? d.TABLE : e.type.startsWith("text/") || pi.includes(e.type) ? d.TEXT : e.type.startsWith("image/") ? d.IMAGE : e.type.startsWith("video/") ? d.VIDEO : e.type.startsWith("audio/") ? d.AUDIO : e.type === "application/pdf" ? d.PDF : si.includes(e.type) ? d.SLIDES : ci.includes(e.type) ? d.COMPRESSED : d.GENERIC;
156
139
  }
157
- function ti(e, a) {
140
+ function di(e, a) {
158
141
  if (!a)
159
142
  return !0;
160
- const i = a.split(",").map((t) => t.trim());
161
- for (const t of i)
162
- if (t.startsWith(".")) {
163
- if (e.name.endsWith(t))
143
+ const t = a.split(",").map((i) => i.trim());
144
+ for (const i of t)
145
+ if (i.startsWith(".")) {
146
+ if (e.name.endsWith(i))
164
147
  return !0;
165
- } else if (t.endsWith("/*")) {
166
- const p = t.split("/")[0];
148
+ } else if (i.endsWith("/*")) {
149
+ const p = i.split("/")[0];
167
150
  if (e.type.startsWith(p))
168
151
  return !0;
169
- } else if (e.type === t)
152
+ } else if (e.type === i)
170
153
  return !0;
171
154
  return !1;
172
155
  }
173
- function ei(e, a, i) {
174
- const t = new FileReader(), p = e;
175
- if (!ti(p.data, a)) {
176
- p.state = h.ERROR, p.errors.push(x.ERROR_TYPE);
156
+ function mi(e, a, t) {
157
+ const i = new FileReader(), p = e;
158
+ if (!di(p.data, a)) {
159
+ p.state = w.ERROR, p.errors.push(x.ERROR_TYPE);
177
160
  return;
178
161
  }
179
- t.onload = (o) => {
180
- if (i && p.type === d.IMAGE) {
181
- const l = new Blob([o.target.result], { type: p.data.type }), c = URL.createObjectURL(l), r = new Image();
182
- r.onload = function() {
183
- (r.width > i.width || r.height > i.height) && (p.state = h.ERROR, p.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(c);
184
- }, r.onerror = function() {
185
- URL.revokeObjectURL(c);
186
- }, r.src = c;
162
+ i.onload = (o) => {
163
+ if (t && p.type === d.IMAGE) {
164
+ const f = new Blob([o.target.result], { type: p.data.type }), s = URL.createObjectURL(f), c = new Image();
165
+ c.onload = function() {
166
+ (c.width > t.width || c.height > t.height) && (p.state = w.ERROR, p.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
167
+ }, c.onerror = function() {
168
+ URL.revokeObjectURL(s);
169
+ }, c.src = s;
187
170
  }
188
- }, t.onprogress = (o) => {
171
+ }, i.onprogress = (o) => {
189
172
  o.lengthComputable && (p.progress = o.loaded / o.total * 100);
190
- }, t.onloadend = () => {
191
- p.state !== h.ERROR && (p.state = h.SUCCESS), p.progress = null;
192
- }, t.onerror = () => {
193
- p.state = h.ERROR, p.errors.push(x.ERROR_LOAD), p.progress = null;
194
- }, t.readAsArrayBuffer(p.data);
173
+ }, i.onloadend = () => {
174
+ p.state !== w.ERROR && (p.state = w.SUCCESS), p.progress = null;
175
+ }, i.onerror = () => {
176
+ p.state = w.ERROR, p.errors.push(x.ERROR_LOAD), p.progress = null;
177
+ }, i.readAsArrayBuffer(p.data);
195
178
  }
196
- let ia = 0;
197
- const ni = {
198
- beforeCreate() {
199
- this.uuid = ia.toString(), ia += 1;
200
- }
201
- };
202
- var oi = function() {
203
- var a = this, i = a._self._c;
204
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")" } }, [i("path", { attrs: { fill: "#00112C", d: "M12.866 4.09026C11.5689 2.79315 9.4638 2.79315 8.1667 4.09026L2.7267 9.53026C1.95959 10.2974 1.95959 11.5425 2.7267 12.3096C3.49381 13.0767 4.73893 13.0767 5.50604 12.3096L10.946 6.8696C11.1831 6.63249 11.1831 6.24737 10.946 6.01026C10.7089 5.77316 10.3238 5.77316 10.0867 6.01026L4.75637 11.3406L3.69571 10.2799L9.02604 4.9496C9.84893 4.12671 11.1838 4.12671 12.0067 4.9496C12.8296 5.7725 12.8296 7.10737 12.0067 7.93026L6.5667 13.3703C5.2138 14.7232 3.01893 14.7232 1.66604 13.3703C0.313144 12.0174 0.313144 9.82249 1.66604 8.4696L7.10604 3.0296C8.98893 1.14671 12.0438 1.14671 13.9267 3.0296C15.8096 4.91249 15.8096 7.96737 13.9267 9.85026L11.1564 12.6206L10.0957 11.5599L12.866 8.7896C14.1631 7.49249 14.1631 5.38737 12.866 4.09026Z" } })]), i("defs", [i("clipPath", { attrs: { id: "uia-ui-assets/icons-16-attachment__a" + a.uuid } }, [i("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
205
- }, pi = [], li = /* @__PURE__ */ f(
206
- ni,
207
- oi,
208
- pi,
209
- !1,
210
- null,
211
- null
212
- );
213
- const si = li.exports;
214
- let ta = 0;
215
- const ci = {
216
- beforeCreate() {
217
- this.uuid = ta.toString(), ta += 1;
218
- }
219
- };
220
- var ri = function() {
221
- var a = this, i = a._self._c;
222
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M13.75 9.58159C14.3412 9.30073 14.75 8.6981 14.75 8V2C14.75 1.0335 13.9665 0.25 13 0.25H3C2.0335 0.25 1.25 1.0335 1.25 2V8C1.25 8.6981 1.65876 9.30073 2.25 9.58159V11C2.25 11.4641 2.43438 11.9092 2.76256 12.2374C2.90555 12.3804 3.07072 12.4961 3.25 12.5811V14C3.25 14.4641 3.43438 14.9092 3.76256 15.2374C4.09075 15.5656 4.53587 15.75 5 15.75H11C11.4641 15.75 11.9092 15.5656 12.2374 15.2374C12.5656 14.9092 12.75 14.4641 12.75 14V12.5811C12.9293 12.4961 13.0945 12.3804 13.2374 12.2374C13.5656 11.9092 13.75 11.4641 13.75 11V9.58159ZM3 1.75H13C13.1381 1.75 13.25 1.86193 13.25 2V8C13.25 8.13807 13.1381 8.25 13 8.25H3C2.86193 8.25 2.75 8.13807 2.75 8V2C2.75 1.86193 2.86193 1.75 3 1.75ZM12.25 9.75V11C12.25 11.0663 12.2237 11.1299 12.1768 11.1768C12.1299 11.2237 12.0663 11.25 12 11.25H4C3.9337 11.25 3.87011 11.2237 3.82322 11.1768C3.77634 11.1299 3.75 11.0663 3.75 11V9.75H12.25ZM11.25 12.75V14C11.25 14.0663 11.2237 14.1299 11.1768 14.1768C11.1299 14.2237 11.0663 14.25 11 14.25H5C4.9337 14.25 4.87011 14.2237 4.82322 14.1768C4.77634 14.1299 4.75 14.0663 4.75 14V12.75H11.25Z" } })]);
223
- }, di = [], mi = /* @__PURE__ */ f(
224
- ci,
225
- ri,
226
- di,
227
- !1,
228
- null,
229
- null
230
- );
231
- const vi = mi.exports;
232
- let ea = 0;
179
+ let ma = 0;
233
180
  const ui = {
234
181
  beforeCreate() {
235
- this.uuid = ea.toString(), ea += 1;
182
+ this.uuid = ma.toString(), ma += 1;
236
183
  }
237
184
  };
238
- var fi = function() {
239
- var a = this, i = a._self._c;
240
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z" } })]);
241
- }, xi = [], gi = /* @__PURE__ */ f(
185
+ var vi = function() {
186
+ var a = this, t = a._self._c;
187
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")" } }, [t("path", { attrs: { fill: "#00112C", d: "M12.866 4.09026C11.5689 2.79315 9.4638 2.79315 8.1667 4.09026L2.7267 9.53026C1.95959 10.2974 1.95959 11.5425 2.7267 12.3096C3.49381 13.0767 4.73893 13.0767 5.50604 12.3096L10.946 6.8696C11.1831 6.63249 11.1831 6.24737 10.946 6.01026C10.7089 5.77316 10.3238 5.77316 10.0867 6.01026L4.75637 11.3406L3.69571 10.2799L9.02604 4.9496C9.84893 4.12671 11.1838 4.12671 12.0067 4.9496C12.8296 5.7725 12.8296 7.10737 12.0067 7.93026L6.5667 13.3703C5.2138 14.7232 3.01893 14.7232 1.66604 13.3703C0.313144 12.0174 0.313144 9.82249 1.66604 8.4696L7.10604 3.0296C8.98893 1.14671 12.0438 1.14671 13.9267 3.0296C15.8096 4.91249 15.8096 7.96737 13.9267 9.85026L11.1564 12.6206L10.0957 11.5599L12.866 8.7896C14.1631 7.49249 14.1631 5.38737 12.866 4.09026Z" } })]), t("defs", [t("clipPath", { attrs: { id: "uia-ui-assets/icons-16-attachment__a" + a.uuid } }, [t("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
188
+ }, fi = [], xi = /* @__PURE__ */ g(
242
189
  ui,
190
+ vi,
243
191
  fi,
244
- xi,
245
192
  !1,
246
193
  null,
247
194
  null
248
195
  );
249
- const hi = gi.exports;
250
- let na = 0;
251
- const _i = {
196
+ const gi = xi.exports;
197
+ let ua = 0;
198
+ const hi = {
252
199
  beforeCreate() {
253
- this.uuid = na.toString(), na += 1;
200
+ this.uuid = ua.toString(), ua += 1;
254
201
  }
255
202
  };
256
203
  var bi = function() {
257
- var a = this, i = a._self._c;
258
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M2.24609 0.25V15.75H13.7461V4.68934L9.30675 0.25H2.24609ZM7.24609 1.75V6.75H12.2461V14.25H3.74609V1.75H7.24609ZM12.1854 5.25H8.74609V1.81066L12.1854 5.25Z" } })]);
259
- }, wi = [], Ci = /* @__PURE__ */ f(
260
- _i,
204
+ var a = this, t = a._self._c;
205
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M13.75 9.58159C14.3412 9.30073 14.75 8.6981 14.75 8V2C14.75 1.0335 13.9665 0.25 13 0.25H3C2.0335 0.25 1.25 1.0335 1.25 2V8C1.25 8.6981 1.65876 9.30073 2.25 9.58159V11C2.25 11.4641 2.43438 11.9092 2.76256 12.2374C2.90555 12.3804 3.07072 12.4961 3.25 12.5811V14C3.25 14.4641 3.43438 14.9092 3.76256 15.2374C4.09075 15.5656 4.53587 15.75 5 15.75H11C11.4641 15.75 11.9092 15.5656 12.2374 15.2374C12.5656 14.9092 12.75 14.4641 12.75 14V12.5811C12.9293 12.4961 13.0945 12.3804 13.2374 12.2374C13.5656 11.9092 13.75 11.4641 13.75 11V9.58159ZM3 1.75H13C13.1381 1.75 13.25 1.86193 13.25 2V8C13.25 8.13807 13.1381 8.25 13 8.25H3C2.86193 8.25 2.75 8.13807 2.75 8V2C2.75 1.86193 2.86193 1.75 3 1.75ZM12.25 9.75V11C12.25 11.0663 12.2237 11.1299 12.1768 11.1768C12.1299 11.2237 12.0663 11.25 12 11.25H4C3.9337 11.25 3.87011 11.2237 3.82322 11.1768C3.77634 11.1299 3.75 11.0663 3.75 11V9.75H12.25ZM11.25 12.75V14C11.25 14.0663 11.2237 14.1299 11.1768 14.1768C11.1299 14.2237 11.0663 14.25 11 14.25H5C4.9337 14.25 4.87011 14.2237 4.82322 14.1768C4.77634 14.1299 4.75 14.0663 4.75 14V12.75H11.25Z" } })]);
206
+ }, _i = [], wi = /* @__PURE__ */ g(
207
+ hi,
261
208
  bi,
262
- wi,
209
+ _i,
263
210
  !1,
264
211
  null,
265
212
  null
266
213
  );
267
- const yi = Ci.exports;
268
- let oa = 0;
269
- const ki = {
214
+ const yi = wi.exports;
215
+ let va = 0;
216
+ const Ci = {
270
217
  beforeCreate() {
271
- this.uuid = oa.toString(), oa += 1;
218
+ this.uuid = va.toString(), va += 1;
272
219
  }
273
220
  };
274
- var Ri = function() {
275
- var a = this, i = a._self._c;
276
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M1.24609 4.5C1.24609 3.25579 2.25188 2.25 3.49609 2.25H6.37609C6.97727 2.25 7.54738 2.49062 7.96642 2.90967L10.0864 5.02967C10.2274 5.17062 10.4173 5.25 10.6161 5.25H12.4961C13.7403 5.25 14.7461 6.25579 14.7461 7.5V12.5C14.7461 13.7442 13.7403 14.75 12.4961 14.75H3.49609C2.25188 14.75 1.24609 13.7442 1.24609 12.5V4.5ZM3.49609 3.75C3.08031 3.75 2.74609 4.08421 2.74609 4.5V12.5C2.74609 12.9158 3.08031 13.25 3.49609 13.25H12.4961C12.9119 13.25 13.2461 12.9158 13.2461 12.5V7.5C13.2461 7.08421 12.9119 6.75 12.4961 6.75H10.6161C10.0149 6.75 9.44481 6.50938 9.02576 6.09033L6.90576 3.97033C6.76481 3.82938 6.57492 3.75 6.37609 3.75H3.49609Z" } })]);
277
- }, ji = [], zi = /* @__PURE__ */ f(
221
+ var ki = function() {
222
+ var a = this, t = a._self._c;
223
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z" } })]);
224
+ }, Ri = [], Ei = /* @__PURE__ */ g(
225
+ Ci,
278
226
  ki,
279
227
  Ri,
280
- ji,
281
228
  !1,
282
229
  null,
283
230
  null
284
231
  );
285
- const Ei = zi.exports;
286
- let pa = 0;
287
- const $i = {
232
+ const ji = Ei.exports;
233
+ let fa = 0;
234
+ const zi = {
288
235
  beforeCreate() {
289
- this.uuid = pa.toString(), pa += 1;
236
+ this.uuid = fa.toString(), fa += 1;
290
237
  }
291
238
  };
292
- var Li = function() {
293
- var a = this, i = a._self._c;
294
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M9.99609 3.24805C8.47731 3.24805 7.24609 4.47926 7.24609 5.99805C7.24609 7.51683 8.47731 8.74805 9.99609 8.74805C11.5149 8.74805 12.7461 7.51683 12.7461 5.99805C12.7461 4.47926 11.5149 3.24805 9.99609 3.24805ZM8.74609 5.99805C8.74609 5.30769 9.30574 4.74805 9.99609 4.74805C10.6865 4.74805 11.2461 5.30769 11.2461 5.99805C11.2461 6.6884 10.6865 7.24805 9.99609 7.24805C9.30574 7.24805 8.74609 6.6884 8.74609 5.99805Z" } }), i("path", { attrs: { fill: "#00112C", d: "M1.24609 3.49805C1.24609 2.25541 2.25345 1.24805 3.49609 1.24805H12.4961C13.7387 1.24805 14.7461 2.25541 14.7461 3.49805V12.498C14.7461 13.7407 13.7387 14.748 12.4961 14.748H3.49609C2.25345 14.748 1.24609 13.7407 1.24609 12.498V3.49805ZM3.49609 2.74805C3.08188 2.74805 2.74609 3.08383 2.74609 3.49805V6.68756L3.99615 5.4375L11.8067 13.248H12.4961C12.9103 13.248 13.2461 12.9123 13.2461 12.498V3.49805C13.2461 3.08383 12.9103 2.74805 12.4961 2.74805H3.49609ZM2.74609 12.498C2.74609 12.9123 3.08188 13.248 3.49609 13.248H9.68538L3.99615 7.55882L2.74609 8.80888V12.498Z" } })]);
295
- }, Ii = [], Ti = /* @__PURE__ */ f(
296
- $i,
297
- Li,
239
+ var Ii = function() {
240
+ var a = this, t = a._self._c;
241
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), t("path", { attrs: { fill: "#00112C", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), t("path", { attrs: { fill: "#00112C", d: "M2.24609 0.25V15.75H13.7461V4.68934L9.30675 0.25H2.24609ZM7.24609 1.75V6.75H12.2461V14.25H3.74609V1.75H7.24609ZM12.1854 5.25H8.74609V1.81066L12.1854 5.25Z" } })]);
242
+ }, Fi = [], $i = /* @__PURE__ */ g(
243
+ zi,
298
244
  Ii,
245
+ Fi,
299
246
  !1,
300
247
  null,
301
248
  null
302
249
  );
303
- const Fi = Ti.exports;
304
- let la = 0;
305
- const Mi = {
250
+ const Ti = $i.exports;
251
+ let xa = 0;
252
+ const Li = {
306
253
  beforeCreate() {
307
- this.uuid = la.toString(), la += 1;
254
+ this.uuid = xa.toString(), xa += 1;
308
255
  }
309
256
  };
310
257
  var Si = function() {
311
- var a = this, i = a._self._c;
312
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")" } }, [i("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), i("path", { attrs: { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" } })]), i("defs", [i("clipPath", { attrs: { id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid } }, [i("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
313
- }, Vi = [], Di = /* @__PURE__ */ f(
314
- Mi,
258
+ var a = this, t = a._self._c;
259
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M1.24609 4.5C1.24609 3.25579 2.25188 2.25 3.49609 2.25H6.37609C6.97727 2.25 7.54738 2.49062 7.96642 2.90967L10.0864 5.02967C10.2274 5.17062 10.4173 5.25 10.6161 5.25H12.4961C13.7403 5.25 14.7461 6.25579 14.7461 7.5V12.5C14.7461 13.7442 13.7403 14.75 12.4961 14.75H3.49609C2.25188 14.75 1.24609 13.7442 1.24609 12.5V4.5ZM3.49609 3.75C3.08031 3.75 2.74609 4.08421 2.74609 4.5V12.5C2.74609 12.9158 3.08031 13.25 3.49609 13.25H12.4961C12.9119 13.25 13.2461 12.9158 13.2461 12.5V7.5C13.2461 7.08421 12.9119 6.75 12.4961 6.75H10.6161C10.0149 6.75 9.44481 6.50938 9.02576 6.09033L6.90576 3.97033C6.76481 3.82938 6.57492 3.75 6.37609 3.75H3.49609Z" } })]);
260
+ }, Mi = [], Di = /* @__PURE__ */ g(
261
+ Li,
315
262
  Si,
316
- Vi,
263
+ Mi,
317
264
  !1,
318
265
  null,
319
266
  null
320
267
  );
321
- const Hi = Di.exports;
322
- let sa = 0;
323
- const Oi = {
268
+ const Vi = Di.exports;
269
+ let ga = 0;
270
+ const Bi = {
324
271
  beforeCreate() {
325
- this.uuid = sa.toString(), sa += 1;
272
+ this.uuid = ga.toString(), ga += 1;
326
273
  }
327
274
  };
328
- var Bi = function() {
329
- var a = this, i = a._self._c;
330
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z" } }), i("path", { attrs: { fill: "#00112C", d: "M13.0111 4.99174C12.2099 4.19982 11.1294 3.75 10 3.75V2.25C11.53 2.25 12.9888 2.85964 14.0675 3.92684L14.0703 3.92966C15.1527 5.01199 15.75 6.47347 15.75 8C15.75 9.52995 15.1404 10.9888 14.0732 12.0675L14.0703 12.0703C12.988 13.1527 11.5265 13.75 10 13.75V12.25C11.1328 12.25 12.2107 11.8079 13.0082 11.0111C13.8002 10.21 14.25 9.1294 14.25 8C14.25 6.8672 13.8079 5.78927 13.0111 4.99174Z" } }), i("path", { attrs: { fill: "#00112C", d: "M10 6.75V5.25C10.7257 5.25 11.4295 5.53694 11.9438 6.06319C12.4593 6.58041 12.75 7.26849 12.75 8C12.75 8.72573 12.4631 9.42951 11.9368 9.94383C11.4196 10.4593 10.7315 10.75 10 10.75V9.25C10.3268 9.25 10.6373 9.12206 10.8797 8.87967L10.8868 8.87265C11.1182 8.64727 11.25 8.33261 11.25 8C11.25 7.67317 11.1221 7.36272 10.8797 7.12033L10.8726 7.11321C10.6473 6.88175 10.3326 6.75 10 6.75Z" } })]);
331
- }, qi = [], Zi = /* @__PURE__ */ f(
332
- Oi,
275
+ var Oi = function() {
276
+ var a = this, t = a._self._c;
277
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M9.99609 3.24805C8.47731 3.24805 7.24609 4.47926 7.24609 5.99805C7.24609 7.51683 8.47731 8.74805 9.99609 8.74805C11.5149 8.74805 12.7461 7.51683 12.7461 5.99805C12.7461 4.47926 11.5149 3.24805 9.99609 3.24805ZM8.74609 5.99805C8.74609 5.30769 9.30574 4.74805 9.99609 4.74805C10.6865 4.74805 11.2461 5.30769 11.2461 5.99805C11.2461 6.6884 10.6865 7.24805 9.99609 7.24805C9.30574 7.24805 8.74609 6.6884 8.74609 5.99805Z" } }), t("path", { attrs: { fill: "#00112C", d: "M1.24609 3.49805C1.24609 2.25541 2.25345 1.24805 3.49609 1.24805H12.4961C13.7387 1.24805 14.7461 2.25541 14.7461 3.49805V12.498C14.7461 13.7407 13.7387 14.748 12.4961 14.748H3.49609C2.25345 14.748 1.24609 13.7407 1.24609 12.498V3.49805ZM3.49609 2.74805C3.08188 2.74805 2.74609 3.08383 2.74609 3.49805V6.68756L3.99615 5.4375L11.8067 13.248H12.4961C12.9103 13.248 13.2461 12.9123 13.2461 12.498V3.49805C13.2461 3.08383 12.9103 2.74805 12.4961 2.74805H3.49609ZM2.74609 12.498C2.74609 12.9123 3.08188 13.248 3.49609 13.248H9.68538L3.99615 7.55882L2.74609 8.80888V12.498Z" } })]);
278
+ }, Hi = [], qi = /* @__PURE__ */ g(
333
279
  Bi,
334
- qi,
280
+ Oi,
281
+ Hi,
335
282
  !1,
336
283
  null,
337
284
  null
338
285
  );
339
- const Ui = Zi.exports;
340
- let ca = 0;
286
+ const Ui = qi.exports;
287
+ let ha = 0;
341
288
  const Ai = {
342
289
  beforeCreate() {
343
- this.uuid = ca.toString(), ca += 1;
290
+ this.uuid = ha.toString(), ha += 1;
344
291
  }
345
292
  };
346
- var Pi = function() {
347
- var a = this, i = a._self._c;
348
- return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M3.5 1.25L3.49505 1.25002C2.90084 1.25394 2.33208 1.49173 1.91191 1.91191C1.49173 2.33208 1.25392 2.90084 1.25 3.49505V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V3.5C14.75 2.90326 14.5129 2.33097 14.091 1.90901C13.669 1.48705 13.0967 1.25 12.5 1.25H3.5ZM5.25 2.75V5.25H2.75V3.5029C2.75185 3.30382 2.83175 3.11338 2.97257 2.97257C3.11338 2.83175 3.30382 2.75185 3.5029 2.75H5.25ZM5.25 6.75V9.25H2.75V6.75H5.25ZM6.75 9.25V6.75H13.25V9.25H6.75ZM5.25 10.75V13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5V10.75H5.25ZM6.75 13.25V10.75H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H6.75ZM6.75 5.25V2.75H12.5C12.6989 2.75 12.8897 2.82902 13.0303 2.96967C13.171 3.11032 13.25 3.30109 13.25 3.5V5.25H6.75Z" } })]);
349
- }, Ni = [], Wi = /* @__PURE__ */ f(
293
+ var Zi = function() {
294
+ var a = this, t = a._self._c;
295
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")" } }, [t("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), t("path", { attrs: { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" } })]), t("defs", [t("clipPath", { attrs: { id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid } }, [t("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
296
+ }, Pi = [], Ni = /* @__PURE__ */ g(
350
297
  Ai,
298
+ Zi,
351
299
  Pi,
352
- Ni,
353
300
  !1,
354
301
  null,
355
302
  null
356
303
  );
357
- const Gi = Wi.exports, Yi = {
358
- [d.AUDIO]: Ui,
359
- [d.COMPRESSED]: Ei,
360
- [d.GENERIC]: si,
361
- [d.IMAGE]: Fi,
362
- [d.PDF]: hi,
363
- [d.SLIDES]: vi,
364
- [d.TABLE]: Gi,
365
- [d.TEXT]: yi,
366
- [d.VIDEO]: Hi
304
+ const Wi = Ni.exports;
305
+ let ba = 0;
306
+ const Gi = {
307
+ beforeCreate() {
308
+ this.uuid = ba.toString(), ba += 1;
309
+ }
367
310
  };
368
- function Xi(e) {
369
- return Yi[e.type];
311
+ var Yi = function() {
312
+ var a = this, t = a._self._c;
313
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z" } }), t("path", { attrs: { fill: "#00112C", d: "M13.0111 4.99174C12.2099 4.19982 11.1294 3.75 10 3.75V2.25C11.53 2.25 12.9888 2.85964 14.0675 3.92684L14.0703 3.92966C15.1527 5.01199 15.75 6.47347 15.75 8C15.75 9.52995 15.1404 10.9888 14.0732 12.0675L14.0703 12.0703C12.988 13.1527 11.5265 13.75 10 13.75V12.25C11.1328 12.25 12.2107 11.8079 13.0082 11.0111C13.8002 10.21 14.25 9.1294 14.25 8C14.25 6.8672 13.8079 5.78927 13.0111 4.99174Z" } }), t("path", { attrs: { fill: "#00112C", d: "M10 6.75V5.25C10.7257 5.25 11.4295 5.53694 11.9438 6.06319C12.4593 6.58041 12.75 7.26849 12.75 8C12.75 8.72573 12.4631 9.42951 11.9368 9.94383C11.4196 10.4593 10.7315 10.75 10 10.75V9.25C10.3268 9.25 10.6373 9.12206 10.8797 8.87967L10.8868 8.87265C11.1182 8.64727 11.25 8.33261 11.25 8C11.25 7.67317 11.1221 7.36272 10.8797 7.12033L10.8726 7.11321C10.6473 6.88175 10.3326 6.75 10 6.75Z" } })]);
314
+ }, Xi = [], Ji = /* @__PURE__ */ g(
315
+ Gi,
316
+ Yi,
317
+ Xi,
318
+ !1,
319
+ null,
320
+ null
321
+ );
322
+ const Ki = Ji.exports;
323
+ let _a = 0;
324
+ const Qi = {
325
+ beforeCreate() {
326
+ this.uuid = _a.toString(), _a += 1;
327
+ }
328
+ };
329
+ var at = function() {
330
+ var a = this, t = a._self._c;
331
+ return t("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? t("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), t("path", { attrs: { fill: "#00112C", d: "M3.5 1.25L3.49505 1.25002C2.90084 1.25394 2.33208 1.49173 1.91191 1.91191C1.49173 2.33208 1.25392 2.90084 1.25 3.49505V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V3.5C14.75 2.90326 14.5129 2.33097 14.091 1.90901C13.669 1.48705 13.0967 1.25 12.5 1.25H3.5ZM5.25 2.75V5.25H2.75V3.5029C2.75185 3.30382 2.83175 3.11338 2.97257 2.97257C3.11338 2.83175 3.30382 2.75185 3.5029 2.75H5.25ZM5.25 6.75V9.25H2.75V6.75H5.25ZM6.75 9.25V6.75H13.25V9.25H6.75ZM5.25 10.75V13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5V10.75H5.25ZM6.75 13.25V10.75H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H6.75ZM6.75 5.25V2.75H12.5C12.6989 2.75 12.8897 2.82902 13.0303 2.96967C13.171 3.11032 13.25 3.30109 13.25 3.5V5.25H6.75Z" } })]);
332
+ }, it = [], tt = /* @__PURE__ */ g(
333
+ Qi,
334
+ at,
335
+ it,
336
+ !1,
337
+ null,
338
+ null
339
+ );
340
+ const et = tt.exports, nt = {
341
+ [d.AUDIO]: Ki,
342
+ [d.COMPRESSED]: Vi,
343
+ [d.GENERIC]: gi,
344
+ [d.IMAGE]: Ui,
345
+ [d.PDF]: ji,
346
+ [d.SLIDES]: yi,
347
+ [d.TABLE]: et,
348
+ [d.TEXT]: Ti,
349
+ [d.VIDEO]: Wi
350
+ };
351
+ function ot(e) {
352
+ return nt[e.type];
370
353
  }
371
- function Ji(e) {
354
+ function pt(e) {
372
355
  switch (e.type) {
373
356
  case d.COMPRESSED:
374
357
  case d.GENERIC:
@@ -382,7 +365,7 @@ function Ji(e) {
382
365
  return "green";
383
366
  }
384
367
  }
385
- const Ki = {
368
+ const lt = {
386
369
  "en-US": {
387
370
  cancel: "Cancel",
388
371
  fileExceedsSizeLimit: "File exceeds size limit",
@@ -401,59 +384,76 @@ const Ki = {
401
384
  remove: "Remover",
402
385
  retry: "Tentar novamente"
403
386
  }
404
- }, Qi = {
387
+ }, st = {
405
388
  name: "file-uploader-file-card",
406
- i18n: { messages: Ki }
407
- }, at = /* @__PURE__ */ H({
408
- ...Qi,
389
+ i18n: { messages: lt }
390
+ }, ct = /* @__PURE__ */ G({
391
+ ...st,
409
392
  props: {
410
393
  file: null,
411
394
  supportedFileTypes: { default: null }
412
395
  },
413
396
  emits: ["cancel", "remove", "retry"],
414
- setup(e, { emit: a }) {
415
- const i = e, t = 1200, { t: p, locale: o } = O(), l = b(i.file.state === h.SUCCESS), c = m(() => URL.createObjectURL(i.file.data)), r = m(() => i.file.state === h.ERROR), v = m(() => i.file.errors.includes(x.ERROR_LOAD)), w = m(() => i.file.errors.includes(x.ERROR_SIZE)), C = m(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), k = m(() => i.file.errors.includes(x.ERROR_TYPE)), E = m(() => i.file.state === h.LOADING), B = m(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), R = m(() => va(o.value, i.file.data.size)), L = b(), j = b(), q = Xa(L, j), I = m(() => ({
416
- "b-file-uploader-file-card--error": r.value
417
- })), T = m(() => ({
418
- [`b-file-uploader-file-card__icon--${Ji(i.file)}`]: l.value,
419
- "b-file-uploader-file-card__icon--error": r.value
420
- })), F = m(() => E.value ? Ia : r.value ? ra : l.value ? Xi(i.file) : za);
421
- return N(
397
+ setup(e, { expose: a, emit: t }) {
398
+ const i = e, p = 1200, { t: o, locale: f } = Y(), s = h(null), c = h(null), u = h(null), z = _("file-errors-section"), I = _("cancel-file-button"), D = _("remove-file-button"), m = _("retry-file-button"), C = h(i.file.state === w.SUCCESS), F = r(() => URL.createObjectURL(i.file.data)), R = r(() => i.file.state === w.ERROR), X = r(() => i.file.errors.includes(x.ERROR_LOAD)), J = r(() => i.file.errors.includes(x.ERROR_SIZE)), K = r(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), L = r(() => i.file.errors.includes(x.ERROR_TYPE)), k = r(() => i.file.state === w.LOADING), $ = r(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), V = r(() => ka(f.value, i.file.data.size)), B = h(), E = h(), Q = oi(B, E), S = r(() => ({
399
+ "b-file-uploader-file-card--error": R.value
400
+ })), aa = r(() => ({
401
+ [`b-file-uploader-file-card__icon--${pt(i.file)}`]: C.value,
402
+ "b-file-uploader-file-card__icon--error": R.value
403
+ })), O = r(() => k.value ? Pa : R.value ? ya : C.value ? ot(i.file) : Ha);
404
+ N(
422
405
  () => i.file.state,
423
- (M) => {
424
- if (M === h.SUCCESS && !l.value) {
425
- const S = setTimeout(() => {
426
- l.value = !0, clearTimeout(S);
427
- }, t);
406
+ (q) => {
407
+ if (q === w.SUCCESS && !C.value) {
408
+ const U = setTimeout(() => {
409
+ C.value = !0, clearTimeout(U);
410
+ }, p);
428
411
  }
429
412
  }
430
- ), { __sfc: !0, ICON_TIMER: t, props: i, emit: a, t: p, locale: o, showFileIcon: l, downloadUrl: c, hasError: r, hasLoadError: v, hasSizeError: w, hasDimensionsError: C, hasTypeError: k, isLoading: E, progressLabel: B, sizeLabel: R, fileNameRef: L, fileNameContainerRef: j, isFileNameTruncated: q, conditionalClasses: I, conditionalIconClasses: T, fileUploaderIcon: F, isVue2: ma, FileUploaderFileCardAnimation: Aa, BinIcon: Ya, CrossIcon: Ea, RefreshIcon: $a, vBentoTooltipDirective: Ta, BentoButton: da, BentoLink: La, BentoTypography: G };
413
+ );
414
+ function H() {
415
+ if (u.value) {
416
+ u.value.$el.focus();
417
+ return;
418
+ }
419
+ if (s.value) {
420
+ s.value.$el.focus();
421
+ return;
422
+ }
423
+ if (c.value) {
424
+ c.value.$el.focus();
425
+ return;
426
+ }
427
+ }
428
+ return a({
429
+ focus: H
430
+ }), { __sfc: !0, ICON_TIMER: p, props: i, emit: t, t: o, locale: f, removeFileButtonRef: s, cancelFileButtonRef: c, retryFileButtonRef: u, fileErrorsSectionId: z, cancelFileButtonId: I, removeFileButtonId: D, retryFileButtonId: m, showFileIcon: C, downloadUrl: F, hasError: R, hasLoadError: X, hasSizeError: J, hasDimensionsError: K, hasTypeError: L, isLoading: k, progressLabel: $, sizeLabel: V, fileNameRef: B, fileNameContainerRef: E, isFileNameTruncated: Q, conditionalClasses: S, conditionalIconClasses: aa, fileUploaderIcon: O, focus: H, isVue2: Ca, FileUploaderFileCardAnimation: ni, BinIcon: Oa, CrossIcon: qa, RefreshIcon: Ua, vBentoTooltipDirective: Na, BentoButton: Aa, BentoLink: Za, BentoTypography: na };
431
431
  }
432
432
  });
433
- var it = function() {
434
- var a = this, i = a._self._c, t = a._self._setupProxy;
435
- return i("div", { staticClass: "b-file-uploader-file-card", class: t.conditionalClasses }, [i("div", { staticClass: "b-file-uploader-file-card__details" }, [i("div", { staticClass: "b-file-uploader-file-card__info" }, [i(t.FileUploaderFileCardAnimation, { attrs: { name: t.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": t.showFileIcon } }, [i(t.fileUploaderIcon, { key: JSON.stringify(t.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: t.conditionalIconClasses, attrs: { small: "", "data-testid": "file-uploader-item-icon" } })], 1), i("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [i(t.BentoLink, { attrs: { download: a.file.data.name, to: t.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [i(t.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: t.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? i(t.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(t.progressLabel))]) : a.file.data.size ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { el: "span" } }, [a._v(a._s(t.sizeLabel))]) : a._e()], 1), t.hasSizeError ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("fileExceedsSizeLimit")) + " ")]) : a._e(), t.hasDimensionsError ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), t.hasTypeError && a.supportedFileTypes ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1), i("div", { staticClass: "b-file-uploader-file-card__actions" }, [t.hasLoadError ? i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(p) {
436
- return t.emit("retry");
433
+ var rt = function() {
434
+ var a = this, t = a._self._c, i = a._self._setupProxy;
435
+ return t("div", { staticClass: "b-file-uploader-file-card", class: i.conditionalClasses }, [t("div", { staticClass: "b-file-uploader-file-card__details" }, [t("div", { staticClass: "b-file-uploader-file-card__info" }, [t(i.FileUploaderFileCardAnimation, { attrs: { name: i.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": i.showFileIcon } }, [t(i.fileUploaderIcon, { key: JSON.stringify(i.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: i.conditionalIconClasses, attrs: { small: "", "aria-hidden": "true", "data-testid": "file-uploader-item-icon" } })], 1), t("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [t(i.BentoLink, { attrs: { "aria-hidden": "true", tabindex: "-1", download: a.file.data.name, to: i.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [t(i.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: i.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? t(i.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(i.progressLabel))]) : a.file.data.size ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(i.sizeLabel) + " ")]) : a._e()], 1), i.hasSizeError || i.hasDimensionsError || i.hasTypeError && a.supportedFileTypes ? t("div", { attrs: { id: i.fileErrorsSectionId, role: "alert" } }, [i.hasSizeError ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileExceedsSizeLimit")) + " ")]) : a._e(), i.hasDimensionsError ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), i.hasTypeError && a.supportedFileTypes ? t(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1) : a._e()]), t("div", { staticClass: "b-file-uploader-file-card__actions" }, [i.hasLoadError ? t(i.BentoButton, { ref: "retryFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.retryFileButtonId}`, variant: "tertiary" }, on: { click: function(p) {
436
+ return i.emit("retry");
437
437
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
438
- return [i(t.RefreshIcon, { attrs: { "svg-title": t.t("retry") } })];
439
- }, proxy: !0 }], null, !1, 3564309296) }, [a._v(" " + a._s(t.t("retry")) + " ")]) : a._e(), t.isLoading || t.hasError ? i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(p) {
440
- return t.emit("cancel");
438
+ return [t(i.RefreshIcon, { attrs: { id: i.retryFileButtonId, "svg-title": `${i.t("retry")} - ${a.file.data.name} ` } })];
439
+ }, proxy: !0 }], null, !1, 4044719554) }, [a._v(" " + a._s(i.t("retry")) + " ")]) : a._e(), i.isLoading || i.hasError ? t(i.BentoButton, { ref: "cancelFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.cancelFileButtonId}`, variant: "tertiary" }, on: { click: function(p) {
440
+ return i.emit("cancel");
441
441
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
442
- return [i(t.CrossIcon, { attrs: { "svg-title": t.t("cancel") } })];
443
- }, proxy: !0 }], null, !1, 1692450141) }) : i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(p) {
444
- return t.emit("remove");
442
+ return [t(i.CrossIcon, { attrs: { id: i.cancelFileButtonId, "svg-title": `${i.t("cancel")} - ${a.file.data.name}` } })];
443
+ }, proxy: !0 }], null, !1, 1610167681) }) : t(i.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(p) {
444
+ return i.emit("remove");
445
445
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
446
- return [i(t.BinIcon, { attrs: { "svg-title": t.t("remove") } })];
446
+ return [t(i.BinIcon, { attrs: { id: i.removeFileButtonId, "svg-title": `${i.t("remove")} - ${a.file.data.name}` } })];
447
447
  }, proxy: !0 }]) })], 1)]);
448
- }, tt = [], et = /* @__PURE__ */ f(
449
- at,
450
- it,
451
- tt,
448
+ }, dt = [], mt = /* @__PURE__ */ g(
449
+ ct,
450
+ rt,
451
+ dt,
452
452
  !1,
453
453
  null,
454
- "56f32ebc"
454
+ "f3f8a80e"
455
455
  );
456
- const nt = et.exports, ot = {
456
+ const ut = mt.exports, vt = {
457
457
  "en-US": {
458
458
  maxFileSize: "Max file size: {size}",
459
459
  maxImageDimensions: "Max image dimensions: {width} × {height}px",
@@ -462,10 +462,10 @@ const nt = et.exports, ot = {
462
462
  maxUpload: "Max upload: {count} file | Max upload: {count} files",
463
463
  supportedFileTypes: "Supported file types: {list}"
464
464
  }
465
- }, pt = {
466
- i18n: { messages: ot }
467
- }, lt = /* @__PURE__ */ H({
468
- ...pt,
465
+ }, ft = {
466
+ i18n: { messages: vt }
467
+ }, xt = /* @__PURE__ */ G({
468
+ ...ft,
469
469
  __name: "file-uploader-restrictions",
470
470
  props: {
471
471
  condensed: { default: null },
@@ -476,38 +476,38 @@ const nt = et.exports, ot = {
476
476
  supportedFileTypes: { default: null }
477
477
  },
478
478
  setup(e) {
479
- const a = e, { t: i, tc: t, locale: p } = O(), o = m(() => ({
479
+ const a = e, { t, tc: i, locale: p } = Y(), o = r(() => ({
480
480
  "b-file-uploader-restrictions--condensed": a.condensed,
481
481
  "b-file-uploader-restrictions--disabled": a.disabled
482
482
  }));
483
- function l(r) {
483
+ function f(c) {
484
484
  return {
485
- "b-file-uploader-restrictions--error": r
485
+ "b-file-uploader-restrictions--error": c
486
486
  };
487
487
  }
488
- const c = m(() => {
488
+ const s = r(() => {
489
489
  if (!a.maxDimensions)
490
490
  return null;
491
491
  const {
492
- value: { width: r, height: v }
492
+ value: { width: c, height: u }
493
493
  } = a.maxDimensions;
494
- return r && v ? i("maxImageDimensions", { width: r, height: v }) : r ? i("maxImageWidth", { width: r }) : v ? i("maxImageHeight", { height: v }) : null;
494
+ return c && u ? t("maxImageDimensions", { width: c, height: u }) : c ? t("maxImageWidth", { width: c }) : u ? t("maxImageHeight", { height: u }) : null;
495
495
  });
496
- return { __sfc: !0, props: a, t: i, tc: t, locale: p, conditionalClasses: o, setRestrictionErrorClass: l, maxDimensionsLabel: c, BentoTypography: G, formatFileSize: va };
496
+ return { __sfc: !0, props: a, t, tc: i, locale: p, conditionalClasses: o, setRestrictionErrorClass: f, maxDimensionsLabel: s, BentoTypography: na, formatFileSize: ka };
497
497
  }
498
498
  });
499
- var st = function() {
500
- var a = this, i = a._self._c, t = a._self._setupProxy;
501
- return i("div", { staticClass: "b-file-uploader-restrictions", class: t.conditionalClasses }, [a.supportedFileTypes ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.supportedFileTypes.error) }, [a._v(" " + a._s(t.t("supportedFileTypes", { list: a.supportedFileTypes.value })) + " ")]) : a._e(), a.maxSize ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(t.t("maxFileSize", { size: t.formatFileSize(t.locale, a.maxSize.value) })) + " ")]) : a._e(), a.maxDimensions ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(t.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(t.tc("maxUpload", a.maxCount.value)) + " ")]) : a._e()], 1);
502
- }, ct = [], rt = /* @__PURE__ */ f(
503
- lt,
504
- st,
505
- ct,
499
+ var gt = function() {
500
+ var a = this, t = a._self._c, i = a._self._setupProxy;
501
+ return t("div", { staticClass: "b-file-uploader-restrictions", class: i.conditionalClasses }, [a.supportedFileTypes ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.supportedFileTypes.error) }, [a._v(" " + a._s(i.t("supportedFileTypes", { list: a.supportedFileTypes.value })) + " ")]) : a._e(), a.maxSize ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(i.t("maxFileSize", { size: i.formatFileSize(i.locale, a.maxSize.value) })) + " ")]) : a._e(), a.maxDimensions ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(i.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? t(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(i.tc("maxUpload", a.maxCount.value)) + " ")]) : a._e()], 1);
502
+ }, ht = [], bt = /* @__PURE__ */ g(
503
+ xt,
504
+ gt,
505
+ ht,
506
506
  !1,
507
507
  null,
508
508
  "3c1d05d1"
509
509
  );
510
- const dt = rt.exports, ua = {
510
+ const _t = bt.exports, Ra = {
511
511
  "application/prs.cww": ["cww"],
512
512
  "application/prs.xsf+xml": ["xsf"],
513
513
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1206,8 +1206,8 @@ const dt = rt.exports, ua = {
1206
1206
  "video/x-smv": ["smv"],
1207
1207
  "x-conference/x-cooltalk": ["ice"]
1208
1208
  };
1209
- Object.freeze(ua);
1210
- const fa = {
1209
+ Object.freeze(Ra);
1210
+ const Ea = {
1211
1211
  "application/andrew-inset": ["ez"],
1212
1212
  "application/appinstaller": ["appinstaller"],
1213
1213
  "application/applixware": ["aw"],
@@ -1559,31 +1559,31 @@ const fa = {
1559
1559
  "video/quicktime": ["qt", "mov"],
1560
1560
  "video/webm": ["webm"]
1561
1561
  };
1562
- Object.freeze(fa);
1563
- var g = function(e, a, i, t) {
1564
- if (i === "a" && !t) throw new TypeError("Private accessor was defined without a getter");
1565
- if (typeof a == "function" ? e !== a || !t : !a.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1566
- return i === "m" ? t : i === "a" ? t.call(e) : t ? t.value : a.get(e);
1567
- }, z, $, y;
1568
- class mt {
1562
+ Object.freeze(Ea);
1563
+ var b = function(e, a, t, i) {
1564
+ if (t === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
1565
+ if (typeof a == "function" ? e !== a || !i : !a.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1566
+ return t === "m" ? i : t === "a" ? i.call(e) : i ? i.value : a.get(e);
1567
+ }, T, M, j;
1568
+ class wt {
1569
1569
  constructor(...a) {
1570
- z.set(this, /* @__PURE__ */ new Map()), $.set(this, /* @__PURE__ */ new Map()), y.set(this, /* @__PURE__ */ new Map());
1571
- for (const i of a)
1572
- this.define(i);
1570
+ T.set(this, /* @__PURE__ */ new Map()), M.set(this, /* @__PURE__ */ new Map()), j.set(this, /* @__PURE__ */ new Map());
1571
+ for (const t of a)
1572
+ this.define(t);
1573
1573
  }
1574
- define(a, i = !1) {
1575
- for (let [t, p] of Object.entries(a)) {
1576
- t = t.toLowerCase(), p = p.map((c) => c.toLowerCase()), g(this, y, "f").has(t) || g(this, y, "f").set(t, /* @__PURE__ */ new Set());
1577
- const o = g(this, y, "f").get(t);
1578
- let l = !0;
1579
- for (let c of p) {
1580
- const r = c.startsWith("*");
1581
- if (c = r ? c.slice(1) : c, o == null || o.add(c), l && g(this, $, "f").set(t, c), l = !1, r)
1574
+ define(a, t = !1) {
1575
+ for (let [i, p] of Object.entries(a)) {
1576
+ i = i.toLowerCase(), p = p.map((s) => s.toLowerCase()), b(this, j, "f").has(i) || b(this, j, "f").set(i, /* @__PURE__ */ new Set());
1577
+ const o = b(this, j, "f").get(i);
1578
+ let f = !0;
1579
+ for (let s of p) {
1580
+ const c = s.startsWith("*");
1581
+ if (s = c ? s.slice(1) : s, o == null || o.add(s), f && b(this, M, "f").set(i, s), f = !1, c)
1582
1582
  continue;
1583
- const v = g(this, z, "f").get(c);
1584
- if (v && v != t && !i)
1585
- throw new Error(`"${t} -> ${c}" conflicts with "${v} -> ${c}". Pass \`force=true\` to override this definition.`);
1586
- g(this, z, "f").set(c, t);
1583
+ const u = b(this, T, "f").get(s);
1584
+ if (u && u != i && !t)
1585
+ throw new Error(`"${i} -> ${s}" conflicts with "${u} -> ${s}". Pass \`force=true\` to override this definition.`);
1586
+ b(this, T, "f").set(s, i);
1587
1587
  }
1588
1588
  }
1589
1589
  return this;
@@ -1591,57 +1591,57 @@ class mt {
1591
1591
  getType(a) {
1592
1592
  if (typeof a != "string")
1593
1593
  return null;
1594
- const i = a.replace(/^.*[/\\]/, "").toLowerCase(), t = i.replace(/^.*\./, "").toLowerCase(), p = i.length < a.length;
1595
- return !(t.length < i.length - 1) && p ? null : g(this, z, "f").get(t) ?? null;
1594
+ const t = a.replace(/^.*[/\\]/, "").toLowerCase(), i = t.replace(/^.*\./, "").toLowerCase(), p = t.length < a.length;
1595
+ return !(i.length < t.length - 1) && p ? null : b(this, T, "f").get(i) ?? null;
1596
1596
  }
1597
1597
  getExtension(a) {
1598
- var i;
1599
- return typeof a != "string" ? null : (a = (i = a == null ? void 0 : a.split) == null ? void 0 : i.call(a, ";")[0], (a && g(this, $, "f").get(a.trim().toLowerCase())) ?? null);
1598
+ var t;
1599
+ return typeof a != "string" ? null : (a = (t = a == null ? void 0 : a.split) == null ? void 0 : t.call(a, ";")[0], (a && b(this, M, "f").get(a.trim().toLowerCase())) ?? null);
1600
1600
  }
1601
1601
  getAllExtensions(a) {
1602
- return typeof a != "string" ? null : g(this, y, "f").get(a.toLowerCase()) ?? null;
1602
+ return typeof a != "string" ? null : b(this, j, "f").get(a.toLowerCase()) ?? null;
1603
1603
  }
1604
1604
  _freeze() {
1605
1605
  this.define = () => {
1606
1606
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1607
1607
  }, Object.freeze(this);
1608
- for (const a of g(this, y, "f").values())
1608
+ for (const a of b(this, j, "f").values())
1609
1609
  Object.freeze(a);
1610
1610
  return this;
1611
1611
  }
1612
1612
  _getTestState() {
1613
1613
  return {
1614
- types: g(this, z, "f"),
1615
- extensions: g(this, $, "f")
1614
+ types: b(this, T, "f"),
1615
+ extensions: b(this, M, "f")
1616
1616
  };
1617
1617
  }
1618
1618
  }
1619
- z = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap();
1620
- const xa = new mt(fa, ua)._freeze();
1621
- function vt(e) {
1622
- return e.includes("/") ? `.${xa.getExtension(e).toUpperCase()}` : e.toUpperCase();
1619
+ T = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), j = /* @__PURE__ */ new WeakMap();
1620
+ const ja = new wt(Ea, Ra)._freeze();
1621
+ function yt(e) {
1622
+ return e.includes("/") ? `.${ja.getExtension(e).toUpperCase()}` : e.toUpperCase();
1623
1623
  }
1624
- function ut(e) {
1625
- const { locale: a, t: i } = O();
1626
- return { supportedFileTypeList: m(() => {
1624
+ function Ct(e) {
1625
+ const { locale: a, t } = Y();
1626
+ return { supportedFileTypeList: r(() => {
1627
1627
  const p = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1628
1628
  return e != null && e.value ? p.format(
1629
1629
  e.value.split(",").map((o) => {
1630
1630
  switch (o.trim()) {
1631
1631
  case "audio/*":
1632
- return i("audioFiles");
1632
+ return t("audioFiles");
1633
1633
  case "image/*":
1634
- return i("imageFiles");
1634
+ return t("imageFiles");
1635
1635
  case "video/*":
1636
- return i("videoFiles");
1636
+ return t("videoFiles");
1637
1637
  default:
1638
- return vt(o);
1638
+ return yt(o);
1639
1639
  }
1640
1640
  })
1641
1641
  ) : null;
1642
1642
  }) };
1643
1643
  }
1644
- const ft = {
1644
+ const kt = {
1645
1645
  "en-US": {
1646
1646
  audioFiles: "audio files",
1647
1647
  browseFiles: "Browse files",
@@ -1650,59 +1650,49 @@ const ft = {
1650
1650
  fileExceedsSizeLimit: "File exceeds size limit",
1651
1651
  imageFiles: "image files",
1652
1652
  tooManyFiles: "Too many files",
1653
- upload: "Upload",
1654
1653
  videoFiles: "video files",
1655
- warning: "Warning",
1656
1654
  youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1657
- },
1658
- "ja-JP": {
1659
- upload: "アップロード",
1660
- warning: "警告"
1661
- },
1662
- "pt-BR": {
1663
- upload: "Carregar",
1664
- warning: "Aviso"
1665
1655
  }
1666
1656
  };
1667
- function xt(e) {
1668
- return xa.getType(e) ?? e;
1657
+ function Rt(e) {
1658
+ return ja.getType(e) ?? e;
1669
1659
  }
1670
- function gt({ maxCount: e, accept: a }) {
1671
- const i = W({
1660
+ function Et({ maxCount: e, accept: a }) {
1661
+ const t = ea({
1672
1662
  invalidTypes: !1,
1673
1663
  partiallyInvalidTypes: !1,
1674
1664
  maxCountOverflow: !1
1675
- }), t = W({
1665
+ }), i = ea({
1676
1666
  dragging: !1,
1677
1667
  error: !1
1678
- }), p = m(() => a.value ? a.value.split(",").map((r) => xt(r.trim().toLocaleLowerCase())) : void 0);
1668
+ }), p = r(() => a.value ? a.value.split(",").map((c) => Rt(c.trim().toLocaleLowerCase())) : void 0);
1679
1669
  function o() {
1680
- t.dragging = !1, t.error = !1, i.invalidTypes = !1, i.partiallyInvalidTypes = !1, i.maxCountOverflow = !1;
1670
+ i.dragging = !1, i.error = !1, t.invalidTypes = !1, t.partiallyInvalidTypes = !1, t.maxCountOverflow = !1;
1681
1671
  }
1682
- function l(c, r) {
1683
- if (t.dragging = !0, (!r.dataTransfer.types.includes("Files") || c > e.value) && (i.maxCountOverflow = !0, t.error = !0), !p.value)
1672
+ function f(s, c) {
1673
+ if (i.dragging = !0, (!c.dataTransfer.types.includes("Files") || s > e.value) && (t.maxCountOverflow = !0, i.error = !0), !p.value)
1684
1674
  return;
1685
- let v = 0;
1686
- for (const w of r.dataTransfer.items)
1687
- p.value.includes(w.type) && v++;
1688
- if (v === 0) {
1689
- t.error = !0, i.invalidTypes = !0;
1675
+ let u = 0;
1676
+ for (const z of c.dataTransfer.items)
1677
+ p.value.includes(z.type) && u++;
1678
+ if (u === 0) {
1679
+ i.error = !0, t.invalidTypes = !0;
1690
1680
  return;
1691
1681
  }
1692
- !i.invalidTypes && v !== r.dataTransfer.items.length && (t.error = !0, i.partiallyInvalidTypes = !0);
1682
+ !t.invalidTypes && u !== c.dataTransfer.items.length && (i.error = !0, t.partiallyInvalidTypes = !0);
1693
1683
  }
1694
1684
  return {
1695
- dragState: t,
1696
- dragErrors: i,
1685
+ dragState: i,
1686
+ dragErrors: t,
1697
1687
  resetDragState: o,
1698
- onDragEnterValidations: l
1688
+ onDragEnterValidations: f
1699
1689
  };
1700
1690
  }
1701
- const ht = {
1691
+ const jt = {
1702
1692
  model: { prop: "modelValue" },
1703
- i18n: { messages: ft }
1704
- }, _t = /* @__PURE__ */ H({
1705
- ...ht,
1693
+ i18n: { messages: kt }
1694
+ }, zt = /* @__PURE__ */ G({
1695
+ ...jt,
1706
1696
  __name: "file-uploader",
1707
1697
  props: {
1708
1698
  accept: { default: null },
@@ -1721,165 +1711,196 @@ const ht = {
1721
1711
  },
1722
1712
  emits: ["change", "update:modelValue", "error:upload"],
1723
1713
  setup(e, { emit: a }) {
1724
- const i = e, { t, tc: p } = O(), { supportedFileTypeList: o } = ut(A(i, "accept")), l = b(null), c = b(null), r = P("input"), v = P("input-error"), { dragState: w, dragErrors: C, resetDragState: k, onDragEnterValidations: E } = gt({
1725
- accept: A(i, "accept"),
1726
- maxCount: A(i, "maxCount")
1727
- }), B = m(() => {
1728
- var n, s, u;
1714
+ const t = e, { t: i, tc: p } = Y(), o = (n) => !!n && typeof (n == null ? void 0 : n.length) == "number" && typeof (n == null ? void 0 : n.item) == "function" || n instanceof FileList, f = r(() => o(t.modelValue));
1715
+ wa(() => {
1716
+ f.value || Ba(
1717
+ "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1718
+ "Use FileList instead.",
1719
+ "2.0.0"
1720
+ );
1721
+ });
1722
+ const { supportedFileTypeList: s } = Ct(ta(t, "accept")), c = _("browse-button"), u = _("custom-text"), z = _("drop-files-text"), I = _("comma-text"), D = _("file-uploader-restrictions"), m = h(null), C = h([]), F = h(null), R = h(null), X = _("input"), J = _("input-error"), K = r(() => {
1723
+ const n = t.condensed ? "" : `${z} ${I}`, l = t.description ? `${u} ${I}` : "", v = `${D} ${I}`;
1724
+ return `${n} ${l} ${v} ${c}`;
1725
+ }), { dragState: L, dragErrors: k, resetDragState: $, onDragEnterValidations: V } = Et({
1726
+ accept: ta(t, "accept"),
1727
+ maxCount: ta(t, "maxCount")
1728
+ }), B = r(() => {
1729
+ var n, l, v;
1729
1730
  return {
1730
- condensed: i.condensed,
1731
- disabled: i.disabled,
1732
- maxCount: j.value ? {
1733
- value: i.maxCount,
1734
- error: C.maxCountOverflow || F.value
1731
+ condensed: t.condensed,
1732
+ disabled: t.disabled,
1733
+ maxCount: S.value ? {
1734
+ value: t.maxCount,
1735
+ error: k.maxCountOverflow || U.value
1735
1736
  } : null,
1736
- maxDimensions: i.maxDimensions ? {
1737
- value: i.maxDimensions,
1738
- error: (n = l.value) == null ? void 0 : n.some((_) => _.errors.includes(x.ERROR_DIMENSIONS))
1737
+ maxDimensions: t.maxDimensions ? {
1738
+ value: t.maxDimensions,
1739
+ error: (n = m.value) == null ? void 0 : n.some((y) => y.errors.includes(x.ERROR_DIMENSIONS))
1739
1740
  } : null,
1740
- maxSize: i.maxSize ? {
1741
- value: i.maxSize,
1742
- error: (s = l.value) == null ? void 0 : s.some((_) => _.errors.includes(x.ERROR_SIZE))
1741
+ maxSize: t.maxSize ? {
1742
+ value: t.maxSize,
1743
+ error: (l = m.value) == null ? void 0 : l.some((y) => y.errors.includes(x.ERROR_SIZE))
1743
1744
  } : null,
1744
- supportedFileTypes: o.value ? {
1745
- value: o.value,
1746
- error: C.invalidTypes || C.partiallyInvalidTypes || ((u = l.value) == null ? void 0 : u.some((_) => _.errors.includes(x.ERROR_TYPE)))
1745
+ supportedFileTypes: s.value ? {
1746
+ value: s.value,
1747
+ error: k.invalidTypes || k.partiallyInvalidTypes || ((v = m.value) == null ? void 0 : v.some((y) => y.errors.includes(x.ERROR_TYPE)))
1747
1748
  } : null
1748
1749
  };
1749
- }), R = b(), L = m(() => ({
1750
- [`b-file-uploader--${D.DISABLED}`]: i.disabled,
1751
- [`b-file-uploader--${D.DRAG_OVER}`]: w.dragging,
1752
- [`b-file-uploader--${D.ERROR}`]: T.value,
1753
- "b-file-uploader--condensed": i.condensed
1754
- })), j = m(() => i.maxCount > 1), q = m(() => {
1750
+ }), E = h(), Q = r(() => ({
1751
+ [`b-file-uploader--${W.DISABLED}`]: t.disabled,
1752
+ [`b-file-uploader--${W.DRAG_OVER}`]: L.dragging,
1753
+ [`b-file-uploader--${W.ERROR}`]: q.value,
1754
+ "b-file-uploader--condensed": t.condensed
1755
+ })), S = r(() => t.maxCount > 1), aa = r(() => {
1755
1756
  var n;
1756
- return i.maxCount && ((n = l.value) == null ? void 0 : n.length) >= i.maxCount;
1757
- }), I = m(() => {
1757
+ return t.maxCount && ((n = m.value) == null ? void 0 : n.length) >= t.maxCount;
1758
+ }), O = r(() => {
1758
1759
  var n;
1759
- return (n = l.value) == null ? void 0 : n.some((s) => s.state === "loading");
1760
- }), T = m(() => !!i.errorMessage || w.error), F = m(() => {
1760
+ return (n = m.value) == null ? void 0 : n.some((l) => l.state === "loading");
1761
+ }), H = (n) => (l) => {
1762
+ C.value[n] = l;
1763
+ }, q = r(() => !!t.errorMessage || L.error), U = r(() => {
1761
1764
  var n;
1762
- return ((n = l.value) == null ? void 0 : n.length) > i.maxCount;
1763
- }), M = b(!1), S = m(() => {
1765
+ return ((n = m.value) == null ? void 0 : n.length) > t.maxCount;
1766
+ }), oa = h(!1), pa = r(() => {
1764
1767
  var n;
1765
- return (n = l.value) == null ? void 0 : n.some((s) => s.state === "error");
1768
+ return (n = m.value) == null ? void 0 : n.some((l) => l.state === "error");
1766
1769
  });
1767
- N(S, (n) => {
1768
- I.value || a("error:upload", n);
1770
+ N(pa, (n) => {
1771
+ O.value || a("error:upload", n);
1769
1772
  });
1770
- function ga(n) {
1771
- l.value = l.value.filter(({ id: s }) => s !== n.id);
1773
+ async function A() {
1774
+ var n;
1775
+ if (await Da(), m.value.length === t.maxCount) {
1776
+ (n = C.value[0]) == null || n.focus();
1777
+ return;
1778
+ }
1779
+ R.value.focus();
1780
+ }
1781
+ async function za(n) {
1782
+ m.value = m.value.filter(({ id: l }) => l !== n.id), await A();
1772
1783
  }
1773
1784
  function Z(n) {
1774
- const s = W({
1775
- id: P("file"),
1785
+ const l = ea({
1786
+ id: _("file"),
1776
1787
  data: n,
1777
1788
  errors: [],
1778
1789
  progress: null,
1779
- state: h.LOADING,
1780
- type: ii(n)
1790
+ state: w.LOADING,
1791
+ type: ri(n)
1781
1792
  });
1782
- return ei(s, i.accept, i.maxDimensions), s;
1793
+ return mi(l, t.accept, t.maxDimensions), l;
1783
1794
  }
1784
- function ha(n) {
1785
- var s;
1786
- ((s = l.value) == null ? void 0 : s.length) === i.maxCount && n.preventDefault();
1795
+ function Ia(n) {
1796
+ var l;
1797
+ ((l = m.value) == null ? void 0 : l.length) === t.maxCount && n.preventDefault();
1787
1798
  }
1788
- function U(n) {
1789
- if (i.maxCount === 1 && n.length > i.maxCount) {
1790
- V(), k();
1799
+ async function ia(n) {
1800
+ if (t.maxCount === 1 && n.length > t.maxCount) {
1801
+ P(), $();
1791
1802
  return;
1792
1803
  }
1793
- j.value ? l.value = [...l.value || [], ...Array.from(n).map((s) => Z(s))] : l.value = [Z(n[0])];
1804
+ S.value ? m.value = [...m.value || [], ...Array.from(n).map((l) => Z(l))] : (m.value = [Z(n[0])], await A());
1794
1805
  }
1795
- function _a(n) {
1796
- var u, _;
1797
- if (i.disabled)
1806
+ function Fa(n) {
1807
+ var v, y;
1808
+ if (t.disabled)
1798
1809
  return;
1799
- R.value = n.target;
1800
- const s = (((u = n.dataTransfer.items) == null ? void 0 : u.length) ?? 0) + (((_ = l.value) == null ? void 0 : _.length) ?? 0);
1801
- E(s, n);
1810
+ E.value = n.target;
1811
+ const l = (((v = n.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((y = m.value) == null ? void 0 : y.length) ?? 0);
1812
+ V(l, n);
1802
1813
  }
1803
- function V() {
1804
- R.value = null;
1814
+ function P() {
1815
+ E.value = null;
1805
1816
  }
1806
- function ba(n) {
1807
- R.value === n.target && (V(), k());
1817
+ function $a(n) {
1818
+ E.value === n.target && (P(), $());
1808
1819
  }
1809
- function wa(n) {
1810
- n.preventDefault(), i.disabled && (n.dataTransfer.dropEffect = "none");
1820
+ function Ta(n) {
1821
+ n.preventDefault(), t.disabled && (n.dataTransfer.dropEffect = "none");
1811
1822
  }
1812
- function Ca(n) {
1813
- var s;
1814
- i.disabled || (!C.invalidTypes && ((s = n.dataTransfer.files) != null && s.length) && U(n.dataTransfer.files), V(), k());
1823
+ async function La(n) {
1824
+ var l;
1825
+ t.disabled || (!k.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && ia(n.dataTransfer.files), P(), $());
1815
1826
  }
1816
- function ya() {
1827
+ async function Sa() {
1817
1828
  var n;
1818
- (n = c.value.files) != null && n.length && U(c.value.files), c.value.value = "";
1829
+ (n = F.value.files) != null && n.length && ia(F.value.files), F.value.value = "", await A();
1819
1830
  }
1820
- function Y(n) {
1821
- const s = i.maxCount && n.length <= i.maxCount;
1822
- M.value = !s;
1831
+ N(
1832
+ () => t.modelValue,
1833
+ (n) => {
1834
+ if (n && o(n)) {
1835
+ const l = Array.from(n);
1836
+ m.value = l.map((v) => Z(v));
1837
+ }
1838
+ },
1839
+ { immediate: !0 }
1840
+ );
1841
+ function la(n) {
1842
+ const l = t.maxCount && n.length <= t.maxCount;
1843
+ oa.value = !l;
1823
1844
  }
1824
- function X(n) {
1825
- i.maxSize && n.forEach((s) => {
1826
- const u = s;
1827
- u.data.size > i.maxSize && (u.state = h.ERROR, u.errors.push(x.ERROR_SIZE));
1845
+ function sa(n) {
1846
+ t.maxSize && n.forEach((l) => {
1847
+ const v = l;
1848
+ v.data.size > t.maxSize && (v.state = w.ERROR, v.errors.push(x.ERROR_SIZE));
1828
1849
  });
1829
1850
  }
1830
- function J(n) {
1831
- const s = n.filter(
1832
- ({ errors: u }) => !u.includes(x.ERROR_LOAD) && !u.includes(x.ERROR_SIZE)
1851
+ function ca(n) {
1852
+ const l = n.filter(
1853
+ ({ errors: v }) => !v.includes(x.ERROR_LOAD) && !v.includes(x.ERROR_SIZE)
1833
1854
  );
1834
- if (s.length) {
1835
- const u = new DataTransfer();
1836
- return s.forEach(({ data: _ }) => u.items.add(_)), u.files;
1855
+ if (l.length) {
1856
+ const v = new DataTransfer();
1857
+ return l.forEach(({ data: y }) => v.items.add(y)), v.files;
1837
1858
  }
1838
1859
  }
1839
- return N(l, (n) => {
1860
+ return N(m, (n) => {
1840
1861
  if (n) {
1841
- Y(n), X(n);
1842
- const s = J(n);
1843
- a("change", s), a("update:modelValue", s);
1862
+ la(n), sa(n);
1863
+ const l = ca(n);
1864
+ a("change", l), a("update:modelValue", l);
1844
1865
  } else
1845
1866
  a("change"), a("update:modelValue");
1846
- }), { __sfc: !0, t, tc: p, emit: a, props: i, supportedFileTypeList: o, files: l, inputRef: c, inputFieldId: r, errorId: v, dragState: w, dragErrors: C, resetDragState: k, onDragEnterValidations: E, fileUploadRestrictionsProps: B, enterTarget: R, conditionalClasses: L, isMultiple: j, hideArea: q, loadingStateExists: I, hasError: T, maxFileCountError: F, maxFileError: M, hasRestrictionError: S, removeFile: ga, processFile: Z, onInputClick: ha, onFileInput: U, onDragEnter: _a, resetEnterTarget: V, onDragLeave: ba, onDragOver: wa, onDrop: Ca, onInputChange: ya, verifyFileCount: Y, verifyFileSize: X, convertToFileList: J, UploadIcon: Oa, WarningFilledIcon: ra, BentoAlert: ja, BentoButton: da, BentoTypography: G, ErrorMessage: Ma, FieldLabel: Fa, FileUploaderFileCard: nt, FileUploaderRestrictions: dt };
1867
+ }), { __sfc: !0, t: i, tc: p, emit: a, props: t, isFileListLike: o, isFileList: f, supportedFileTypeList: s, browseFilesButtonId: c, customTextId: u, dropFilesTextId: z, commaTextId: I, fileUploaderRestrictionsId: D, files: m, fileCardRefs: C, inputRef: F, dropAreaRef: R, inputFieldId: X, errorId: J, fileUploadAriaLabelledBy: K, dragState: L, dragErrors: k, resetDragState: $, onDragEnterValidations: V, fileUploadRestrictionsProps: B, enterTarget: E, conditionalClasses: Q, isMultiple: S, hideArea: aa, loadingStateExists: O, registerFileCardRef: H, hasError: q, maxFileCountError: U, maxFileError: oa, hasRestrictionError: pa, resetFocus: A, removeFile: za, processFile: Z, onInputClick: Ia, onFileInput: ia, onDragEnter: Fa, resetEnterTarget: P, onDragLeave: $a, onDragOver: Ta, onDrop: La, onInputChange: Sa, verifyFileCount: la, verifyFileSize: sa, convertToFileList: ca, UploadIcon: Qa, WarningFilledIcon: ya, BentoAlert: Va, BentoTypography: na, ErrorMessage: Ga, FieldLabel: Wa, FileUploaderFileCard: ut, FileUploaderRestrictions: _t };
1847
1868
  }
1848
1869
  });
1849
- var bt = function() {
1870
+ var It = function() {
1850
1871
  var p;
1851
- var a = this, i = a._self._c, t = a._self._setupProxy;
1852
- return i("div", { staticClass: "b-file-uploader", class: t.conditionalClasses }, [i(t.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { for: t.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), i("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: t.inputFieldId, type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: t.isMultiple }, on: { change: t.onInputChange, click: t.onInputClick } }), t.hideArea ? a._e() : i("div", { staticClass: "b-file-uploader__area", attrs: { "aria-label": t.t("dropArea"), tabindex: a.disabled ? -1 : 0 }, on: { click: function(o) {
1853
- return t.inputRef.click();
1872
+ var a = this, t = a._self._c, i = a._self._setupProxy;
1873
+ return t("div", { staticClass: "b-file-uploader", class: i.conditionalClasses }, [t(i.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { for: i.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), t("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: i.inputFieldId, "aria-hidden": "true", type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: i.isMultiple }, on: { change: i.onInputChange, click: i.onInputClick } }), t("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: i.commaTextId, "aria-hidden": "true" } }, [a._v(" , ")]), i.hideArea ? a._e() : t("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": i.fileUploadAriaLabelledBy, role: "button", tabindex: a.disabled ? -1 : 0 }, on: { click: function(o) {
1874
+ return i.inputRef.click();
1854
1875
  }, dragenter: function(o) {
1855
- return o.stopPropagation(), o.preventDefault(), t.onDragEnter.apply(null, arguments);
1876
+ return o.stopPropagation(), o.preventDefault(), i.onDragEnter.apply(null, arguments);
1856
1877
  }, dragleave: function(o) {
1857
- return o.stopPropagation(), o.preventDefault(), t.onDragLeave.apply(null, arguments);
1878
+ return o.stopPropagation(), o.preventDefault(), i.onDragLeave.apply(null, arguments);
1858
1879
  }, drop: function(o) {
1859
- return o.stopPropagation(), o.preventDefault(), t.onDrop.apply(null, arguments);
1860
- }, dragover: t.onDragOver, "!keydown": [function(o) {
1861
- return !o.type.indexOf("key") && a._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : (o.preventDefault(), t.inputRef.click());
1880
+ return o.stopPropagation(), o.preventDefault(), i.onDrop.apply(null, arguments);
1881
+ }, dragover: i.onDragOver, "!keydown": [function(o) {
1882
+ return !o.type.indexOf("key") && a._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : (o.preventDefault(), i.inputRef.click());
1862
1883
  }, function(o) {
1863
- return !o.type.indexOf("key") && a._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), t.inputRef.click());
1864
- }] } }, [i("div", { staticClass: "b-file-uploader__icon" }, [t.hasError ? i(t.WarningFilledIcon, { attrs: { "svg-title": t.t("warning") } }) : i(t.UploadIcon, { attrs: { "svg-title": t.t("upload") } })], 1), a.condensed ? a._e() : [i(t.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { el: "span", strongest: "" } }, [a._v(" " + a._s(t.tc("dropFiles", a.maxCount)) + " ")]), a.description ? i(t.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), i(t.FileUploaderRestrictions, a._b({}, "file-uploader-restrictions", t.fileUploadRestrictionsProps, !1))], i(t.BentoButton, { staticClass: "b-file-uploader__button", attrs: { disabled: a.disabled, variant: a.condensed ? "tertiary" : "secondary", condensed: "", tabindex: "-1" } }, [a._v(" " + a._s(t.t("browseFiles")) + " ")])], 2), t.hasError && a.errorMessage ? i(t.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: t.errorId, "error-message": a.errorMessage } }) : a._e(), a.condensed && a.description ? i(t.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), a.condensed ? i(t.FileUploaderRestrictions, a._b({}, "file-uploader-restrictions", t.fileUploadRestrictionsProps, !1)) : a._e(), t.maxFileCountError ? i(t.BentoAlert, { attrs: { type: "critical" }, scopedSlots: a._u([{ key: "description", fn: function() {
1865
- return [a._v(" " + a._s(t.t("youHaveExceededTheMaximum", { count: t.props.maxCount })) + " ")];
1866
- }, proxy: !0 }], null, !1, 239749076) }, [a._v(" " + a._s(t.t("tooManyFiles")) + " ")]) : a._e(), i("div", { directives: [{ name: "show", rawName: "v-show", value: (p = t.files) == null ? void 0 : p.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(t.files, function(o) {
1867
- return i(t.FileUploaderFileCard, { key: o.id, attrs: { file: o, "supported-file-types": t.supportedFileTypeList }, on: { cancel: function(l) {
1868
- return t.removeFile(o);
1869
- }, remove: function(l) {
1870
- return t.removeFile(o);
1884
+ return !o.type.indexOf("key") && a._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), i.inputRef.click());
1885
+ }] } }, [t("div", { staticClass: "b-file-uploader__icon", attrs: { "aria-hidden": "true" } }, [i.hasError ? t(i.WarningFilledIcon) : t(i.UploadIcon)], 1), a.condensed ? a._e() : [t(i.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { id: i.dropFilesTextId, el: "span", strongest: "" } }, [a._v(" " + a._s(i.tc("dropFiles", a.maxCount)) + " ")]), a.description ? t(i.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { id: i.customTextId, el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), t(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1))], t(i.BentoTypography, { staticClass: "b-file-uploader__button", attrs: { id: i.browseFilesButtonId, stronger: "" } }, [a._v(" " + a._s(i.t("browseFiles")) + " ")])], 2), i.hasError && a.errorMessage ? t(i.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: i.errorId, "error-message": a.errorMessage } }) : a._e(), a.condensed && a.description ? t(i.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { id: i.customTextId, "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), a.condensed ? t(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1)) : a._e(), i.maxFileCountError ? t(i.BentoAlert, { attrs: { type: "critical" }, scopedSlots: a._u([{ key: "description", fn: function() {
1886
+ return [a._v(" " + a._s(i.t("youHaveExceededTheMaximum", { count: i.props.maxCount })) + " ")];
1887
+ }, proxy: !0 }], null, !1, 239749076) }, [a._v(" " + a._s(i.t("tooManyFiles")) + " ")]) : a._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: (p = i.files) == null ? void 0 : p.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(i.files, function(o, f) {
1888
+ return t(i.FileUploaderFileCard, { key: o.id, ref: i.registerFileCardRef(f), refInFor: !0, attrs: { file: o, "supported-file-types": i.supportedFileTypeList }, on: { cancel: function(s) {
1889
+ return i.removeFile(o);
1890
+ }, remove: function(s) {
1891
+ return i.removeFile(o);
1871
1892
  } } });
1872
1893
  }), 1)], 1);
1873
- }, wt = [], Ct = /* @__PURE__ */ f(
1874
- _t,
1875
- bt,
1876
- wt,
1894
+ }, Ft = [], $t = /* @__PURE__ */ g(
1895
+ zt,
1896
+ It,
1897
+ Ft,
1877
1898
  !1,
1878
1899
  null,
1879
- "83f464d9"
1900
+ "33412898"
1880
1901
  );
1881
- const Bt = Ct.exports;
1902
+ const Xt = $t.exports;
1882
1903
  export {
1883
- Bt as f
1904
+ Xt as f
1884
1905
  };
1885
- //# sourceMappingURL=file-uploader.Dlfzh5QQ.js.map
1906
+ //# sourceMappingURL=file-uploader.BOWE87dN.js.map