@adyen/bento-vue2 1.53.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 (214) hide show
  1. package/dist/@types/index.d.ts +1832 -2154
  2. package/dist/action-bar.js +1 -1
  3. package/dist/assets/accordion-item.css +1 -1
  4. package/dist/assets/action-bar.css +1 -1
  5. package/dist/assets/base-modal.css +1 -1
  6. package/dist/assets/button-actions.css +1 -1
  7. package/dist/assets/calendar.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/checkbox.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/dialog-page.css +1 -1
  12. package/dist/assets/dropdown.css +1 -1
  13. package/dist/assets/file-uploader.css +1 -1
  14. package/dist/assets/filter-bar.css +1 -1
  15. package/dist/assets/input-field-password.css +1 -1
  16. package/dist/assets/inspector.css +1 -1
  17. package/dist/assets/link.css +1 -1
  18. package/dist/assets/menu.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/pagination.css +1 -1
  21. package/dist/assets/payment-method.css +1 -1
  22. package/dist/assets/popover.css +1 -1
  23. package/dist/assets/sidepanel.css +1 -1
  24. package/dist/assets/summary-grid.css +1 -0
  25. package/dist/assets/tabs.css +1 -1
  26. package/dist/assets/textarea.css +1 -1
  27. package/dist/button.js +1 -1
  28. package/dist/card.js +1 -1
  29. package/dist/checkbox.js +2 -2
  30. package/dist/chunks/{action-bar.Cuktzrp5.js → action-bar.CH1Mswou.js} +5 -5
  31. package/dist/chunks/{action-bar.Cuktzrp5.js.map → action-bar.CH1Mswou.js.map} +1 -1
  32. package/dist/chunks/{base-modal.DnaWOvaM.js → base-modal.kHzGyWf6.js} +3 -3
  33. package/dist/chunks/{base-modal.DnaWOvaM.js.map → base-modal.kHzGyWf6.js.map} +1 -1
  34. package/dist/chunks/{button-actions-with-menu.twMFsb82.js → button-actions-with-menu.mqNecwDb.js} +5 -5
  35. package/dist/chunks/{button-actions-with-menu.twMFsb82.js.map → button-actions-with-menu.mqNecwDb.js.map} +1 -1
  36. package/dist/chunks/{button-actions.DAvSJtOB.js → button-actions.XlUhz42n.js} +42 -100
  37. package/dist/chunks/{button-actions.DAvSJtOB.js.map → button-actions.XlUhz42n.js.map} +1 -1
  38. package/dist/chunks/{calendar.CJToU_uI.js → calendar.D4dMXwc0.js} +4 -4
  39. package/dist/chunks/{calendar.CJToU_uI.js.map → calendar.D4dMXwc0.js.map} +1 -1
  40. package/dist/chunks/{card.AQO_BjGb.js → card.BT04hjvV.js} +2 -2
  41. package/dist/chunks/{card.AQO_BjGb.js.map → card.BT04hjvV.js.map} +1 -1
  42. package/dist/chunks/{checkbox-group.DkM6n3JR.js → checkbox-group.DZF4UIym.js} +4 -4
  43. package/dist/chunks/{checkbox-group.DkM6n3JR.js.map → checkbox-group.DZF4UIym.js.map} +1 -1
  44. package/dist/chunks/{checkbox.l7h6GYew.js → checkbox.DloQJI-K.js} +40 -40
  45. package/dist/chunks/checkbox.DloQJI-K.js.map +1 -0
  46. package/dist/chunks/{code-snippet.BsEe6nml.js → code-snippet.B3GhZo7r.js} +5 -5
  47. package/dist/chunks/{code-snippet.BsEe6nml.js.map → code-snippet.B3GhZo7r.js.map} +1 -1
  48. package/dist/chunks/{controls-group.vFyThDMU.js → controls-group.C-HKhH1m.js} +2 -2
  49. package/dist/chunks/{controls-group.vFyThDMU.js.map → controls-group.C-HKhH1m.js.map} +1 -1
  50. package/dist/chunks/{copy.DD_Yfyn_.js → copy.k18tXmP1.js} +3 -3
  51. package/dist/chunks/{copy.DD_Yfyn_.js.map → copy.k18tXmP1.js.map} +1 -1
  52. package/dist/chunks/{dashboard-section.z-Rnv5E-.js → dashboard-section.DlIwNKkx.js} +4 -4
  53. package/dist/chunks/{dashboard-section.z-Rnv5E-.js.map → dashboard-section.DlIwNKkx.js.map} +1 -1
  54. package/dist/chunks/{dashed-underline.CfQuYKV9.js → dashed-underline.BbQIbZfu.js} +3 -3
  55. package/dist/chunks/{dashed-underline.CfQuYKV9.js.map → dashed-underline.BbQIbZfu.js.map} +1 -1
  56. package/dist/chunks/{data-grid-template.73mazFER.js → data-grid-template.BJTWe6Ty.js} +3 -3
  57. package/dist/chunks/{data-grid-template.73mazFER.js.map → data-grid-template.BJTWe6Ty.js.map} +1 -1
  58. package/dist/chunks/{data-grid.C_Xoz-GC.js → data-grid.BjtvKzyw.js} +199 -199
  59. package/dist/chunks/data-grid.BjtvKzyw.js.map +1 -0
  60. package/dist/chunks/{date-picker.bgk9aymW.js → date-picker.Dy0k-7_1.js} +15 -15
  61. package/dist/chunks/{date-picker.bgk9aymW.js.map → date-picker.Dy0k-7_1.js.map} +1 -1
  62. package/dist/chunks/{date-range-picker.-s05jOQA.js → date-range-picker.B_uiZRMc.js} +24 -24
  63. package/dist/chunks/{date-range-picker.-s05jOQA.js.map → date-range-picker.B_uiZRMc.js.map} +1 -1
  64. package/dist/chunks/{dropdown-tag.8qh8J-NE.js → dropdown-tag.D3py85f0.js} +4 -4
  65. package/dist/chunks/{dropdown-tag.8qh8J-NE.js.map → dropdown-tag.D3py85f0.js.map} +1 -1
  66. package/dist/chunks/{dropdown.DzWXcJyF.js → dropdown.CI6ccgJJ.js} +52 -53
  67. package/dist/chunks/{dropdown.DzWXcJyF.js.map → dropdown.CI6ccgJJ.js.map} +1 -1
  68. package/dist/chunks/{error-message.CzQf7YOD.js → error-message.qHRfH-8Y.js} +2 -2
  69. package/dist/chunks/{error-message.CzQf7YOD.js.map → error-message.qHRfH-8Y.js.map} +1 -1
  70. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  71. package/dist/chunks/{file-uploader.CcZPr-jD.js → file-uploader.BOWE87dN.js} +469 -449
  72. package/dist/chunks/file-uploader.BOWE87dN.js.map +1 -0
  73. package/dist/chunks/{filter-bar.BdGtQC7p.js → filter-bar.pVpO62X3.js} +633 -627
  74. package/dist/chunks/filter-bar.pVpO62X3.js.map +1 -0
  75. package/dist/chunks/{focus-trap.CIUzScHc.js → focus-trap.V3Q8H_5C.js} +2 -2
  76. package/dist/chunks/{focus-trap.CIUzScHc.js.map → focus-trap.V3Q8H_5C.js.map} +1 -1
  77. package/dist/chunks/{footer-actions.BkHpWa7A.js → footer-actions.DYi_MR9I.js} +2 -2
  78. package/dist/chunks/{footer-actions.BkHpWa7A.js.map → footer-actions.DYi_MR9I.js.map} +1 -1
  79. package/dist/chunks/{header-with-views.ChEgH2tn.js → header-with-views.CLSMOYua.js} +11 -11
  80. package/dist/chunks/{header-with-views.ChEgH2tn.js.map → header-with-views.CLSMOYua.js.map} +1 -1
  81. package/dist/chunks/{header.0hX8OYwM.js → header.DWx6s2nt.js} +4 -4
  82. package/dist/chunks/{header.0hX8OYwM.js.map → header.DWx6s2nt.js.map} +1 -1
  83. package/dist/chunks/{index.BCUiAdb6.js → index.48Mn1OCp.js} +3 -3
  84. package/dist/chunks/{index.BCUiAdb6.js.map → index.48Mn1OCp.js.map} +1 -1
  85. package/dist/chunks/{info-icon-with-popover.w6MpKOWh.js → info-icon-with-popover.B4wYDzGz.js} +2 -2
  86. package/dist/chunks/{info-icon-with-popover.w6MpKOWh.js.map → info-icon-with-popover.B4wYDzGz.js.map} +1 -1
  87. package/dist/chunks/{info-icon.C1ReXurF.js → info-icon.J62KXp9I.js} +3 -3
  88. package/dist/chunks/{info-icon.C1ReXurF.js.map → info-icon.J62KXp9I.js.map} +1 -1
  89. package/dist/chunks/input-field-password.D6lhO8b2.js +228 -0
  90. package/dist/chunks/input-field-password.D6lhO8b2.js.map +1 -0
  91. package/dist/chunks/{input-field-phone-number.C8WTJ1W-.js → input-field-phone-number.CYRNWZL8.js} +3 -3
  92. package/dist/chunks/{input-field-phone-number.C8WTJ1W-.js.map → input-field-phone-number.CYRNWZL8.js.map} +1 -1
  93. package/dist/chunks/{input-field.tP3Eupoo.js → input-field.CsnMZceM.js} +3 -3
  94. package/dist/chunks/{input-field.tP3Eupoo.js.map → input-field.CsnMZceM.js.map} +1 -1
  95. package/dist/chunks/inspector.types.Cmq6sdCz.js +105 -0
  96. package/dist/chunks/inspector.types.Cmq6sdCz.js.map +1 -0
  97. package/dist/chunks/{layout-row.BgBazwnM.js → layout-row.DWRoI0dm.js} +2 -2
  98. package/dist/chunks/{layout-row.BgBazwnM.js.map → layout-row.DWRoI0dm.js.map} +1 -1
  99. package/dist/chunks/{listbox-option-tag.T9cfTst7.js → listbox-option-tag.BHI-8rRX.js} +2 -2
  100. package/dist/chunks/{listbox-option-tag.T9cfTst7.js.map → listbox-option-tag.BHI-8rRX.js.map} +1 -1
  101. package/dist/chunks/{menu.CY7ceslP.js → menu.BoxhffPs.js} +2 -2
  102. package/dist/chunks/{menu.CY7ceslP.js.map → menu.BoxhffPs.js.map} +1 -1
  103. package/dist/chunks/{modal-fullscreen.Dz5w250z.js → modal-fullscreen.E7e13pW9.js} +3 -3
  104. package/dist/chunks/{modal-fullscreen.Dz5w250z.js.map → modal-fullscreen.E7e13pW9.js.map} +1 -1
  105. package/dist/chunks/{modal.CnmRkXZM.js → modal.BUPJIcb6.js} +4 -4
  106. package/dist/chunks/{modal.CnmRkXZM.js.map → modal.BUPJIcb6.js.map} +1 -1
  107. package/dist/chunks/{pagination.CvGOUwd8.js → pagination.FBlW1fUz.js} +3 -3
  108. package/dist/chunks/{pagination.CvGOUwd8.js.map → pagination.FBlW1fUz.js.map} +1 -1
  109. package/dist/chunks/{payment-method.NZKiNOmM.js → payment-method.Cx4nPDtE.js} +6 -6
  110. package/dist/chunks/payment-method.Cx4nPDtE.js.map +1 -0
  111. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  112. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  113. package/dist/chunks/{popover.BvsqsZQ1.js → popover.C4PNSrnW.js} +3 -3
  114. package/dist/chunks/{popover.BvsqsZQ1.js.map → popover.C4PNSrnW.js.map} +1 -1
  115. package/dist/chunks/{popper-container.LRQgzjRf.js → popper-container.DWY19wS0.js} +2 -2
  116. package/dist/chunks/{popper-container.LRQgzjRf.js.map → popper-container.DWY19wS0.js.map} +1 -1
  117. package/dist/chunks/{promo-banner.DDnJwMDC.js → promo-banner.DgCKKp6o.js} +6 -6
  118. package/dist/chunks/{promo-banner.DDnJwMDC.js.map → promo-banner.DgCKKp6o.js.map} +1 -1
  119. package/dist/chunks/{radio-group.BvswbJa8.js → radio-group.WbbrQhEO.js} +4 -4
  120. package/dist/chunks/{radio-group.BvswbJa8.js.map → radio-group.WbbrQhEO.js.map} +1 -1
  121. package/dist/chunks/{search-bar.kKLreEXo.js → search-bar.CFKWbNeA.js} +3 -3
  122. package/dist/chunks/{search-bar.kKLreEXo.js.map → search-bar.CFKWbNeA.js.map} +1 -1
  123. package/dist/chunks/{secondary-nav.C6bfsK2p.js → secondary-nav.C0gPD0MR.js} +3 -3
  124. package/dist/chunks/{secondary-nav.C6bfsK2p.js.map → secondary-nav.C0gPD0MR.js.map} +1 -1
  125. package/dist/chunks/{segmented-control.BywW3ont.js → segmented-control.DGNMY2BP.js} +2 -2
  126. package/dist/chunks/{segmented-control.BywW3ont.js.map → segmented-control.DGNMY2BP.js.map} +1 -1
  127. package/dist/chunks/{selection-card-group.Ca4G00h5.js → selection-card-group.BmKUEuny.js} +11 -11
  128. package/dist/chunks/{selection-card-group.Ca4G00h5.js.map → selection-card-group.BmKUEuny.js.map} +1 -1
  129. package/dist/chunks/{sidepanel.D4H3Vu0m.js → sidepanel.CyhG1nQR.js} +3 -3
  130. package/dist/chunks/{sidepanel.D4H3Vu0m.js.map → sidepanel.CyhG1nQR.js.map} +1 -1
  131. package/dist/chunks/{structured-list-item.Bv8reTz2.js → structured-list-item.Co5P9bFC.js} +4 -4
  132. package/dist/chunks/{structured-list-item.Bv8reTz2.js.map → structured-list-item.Co5P9bFC.js.map} +1 -1
  133. package/dist/chunks/summary-grid.types.egM7irBt.js +295 -0
  134. package/dist/chunks/summary-grid.types.egM7irBt.js.map +1 -0
  135. package/dist/chunks/tabs.C8CgvNt4.js +214 -0
  136. package/dist/chunks/tabs.C8CgvNt4.js.map +1 -0
  137. package/dist/chunks/{tag.IyMxowGc.js → tag.CyspYb1E.js} +2 -2
  138. package/dist/chunks/{tag.IyMxowGc.js.map → tag.CyspYb1E.js.map} +1 -1
  139. package/dist/chunks/{textarea.B9HjT5LH.js → textarea.CC8esIW6.js} +75 -71
  140. package/dist/chunks/textarea.CC8esIW6.js.map +1 -0
  141. package/dist/chunks/{timeline-item.BIwk0vqM.js → timeline-item.Byorbxmc.js} +5 -5
  142. package/dist/chunks/{timeline-item.BIwk0vqM.js.map → timeline-item.Byorbxmc.js.map} +1 -1
  143. package/dist/chunks/{tooltip.DShIiBiY.js → tooltip.DOvci5lX.js} +2 -2
  144. package/dist/chunks/{tooltip.DShIiBiY.js.map → tooltip.DOvci5lX.js.map} +1 -1
  145. package/dist/chunks/{tutorial.DDlXTjAO.js → tutorial.QwHbq1FO.js} +5 -5
  146. package/dist/chunks/{tutorial.DDlXTjAO.js.map → tutorial.QwHbq1FO.js.map} +1 -1
  147. package/dist/chunks/{use-cached-selected-values.LVldNial.js → use-cached-selected-values.DHpjo2tV.js} +26 -26
  148. package/dist/chunks/{use-cached-selected-values.LVldNial.js.map → use-cached-selected-values.DHpjo2tV.js.map} +1 -1
  149. package/dist/code-snippet.js +1 -1
  150. package/dist/dashboard-template.js +1 -1
  151. package/dist/dashed-underline.js +1 -1
  152. package/dist/data-grid-template.js +1 -1
  153. package/dist/data-grid.js +1 -1
  154. package/dist/date-picker.js +2 -2
  155. package/dist/date-range-picker.js +2 -2
  156. package/dist/dropdown.js +3 -3
  157. package/dist/file-uploader.js +1 -1
  158. package/dist/filter-bar.js +1 -1
  159. package/dist/focus-trap.js +1 -1
  160. package/dist/header-with-views.js +1 -1
  161. package/dist/header.js +1 -1
  162. package/dist/index.js +49 -49
  163. package/dist/info-icon.js +1 -1
  164. package/dist/input-field-password.js +1 -1
  165. package/dist/input-field-phone-number.js +1 -1
  166. package/dist/input-field.js +1 -1
  167. package/dist/inspector.js +1 -1
  168. package/dist/internal.js +10 -10
  169. package/dist/layout.js +1 -1
  170. package/dist/menu.js +1 -1
  171. package/dist/modal-fullscreen.js +1 -1
  172. package/dist/modal.js +2 -2
  173. package/dist/pagination.js +1 -1
  174. package/dist/payment-method.js +2 -2
  175. package/dist/popover.js +1 -1
  176. package/dist/popper-container.js +1 -1
  177. package/dist/promo-banner.js +1 -1
  178. package/dist/radio-group.js +1 -1
  179. package/dist/search-bar.js +2 -2
  180. package/dist/secondary-nav.js +1 -1
  181. package/dist/segmented-control.js +1 -1
  182. package/dist/selection-card.js +1 -1
  183. package/dist/sidepanel.js +1 -1
  184. package/dist/structured-list.js +1 -1
  185. package/dist/styles/bento-dark.css +42 -16
  186. package/dist/styles/bento-light.css +42 -16
  187. package/dist/styles/bento.css +42 -16
  188. package/dist/styles/legacy.css +30 -4
  189. package/dist/styles/styleguide.css +42 -16
  190. package/dist/summary-grid.js +1 -1
  191. package/dist/tabs.js +1 -1
  192. package/dist/tag.js +1 -1
  193. package/dist/textarea.js +1 -1
  194. package/dist/timeline.js +1 -1
  195. package/dist/tutorial.js +1 -1
  196. package/dist/web-types.json +5535 -5431
  197. package/package.json +5 -5
  198. package/dist/assets/summary-grid-item-custom.css +0 -1
  199. package/dist/chunks/checkbox.l7h6GYew.js.map +0 -1
  200. package/dist/chunks/data-grid.C_Xoz-GC.js.map +0 -1
  201. package/dist/chunks/file-uploader.CcZPr-jD.js.map +0 -1
  202. package/dist/chunks/filter-bar.BdGtQC7p.js.map +0 -1
  203. package/dist/chunks/input-field-password.CZn4kW8v.js +0 -198
  204. package/dist/chunks/input-field-password.CZn4kW8v.js.map +0 -1
  205. package/dist/chunks/inspector.types.A0b4jNO3.js +0 -101
  206. package/dist/chunks/inspector.types.A0b4jNO3.js.map +0 -1
  207. package/dist/chunks/payment-method.NZKiNOmM.js.map +0 -1
  208. package/dist/chunks/payment-method.types.CJKfZQN5.js +0 -5
  209. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +0 -1
  210. package/dist/chunks/summary-grid-item-custom.Bbdie4EL.js +0 -631
  211. package/dist/chunks/summary-grid-item-custom.Bbdie4EL.js.map +0 -1
  212. package/dist/chunks/tabs.UFoTqvew.js +0 -154
  213. package/dist/chunks/tabs.UFoTqvew.js.map +0 -1
  214. package/dist/chunks/textarea.B9HjT5LH.js.map +0 -1
@@ -1,98 +1,98 @@
1
- import { defineComponent as H, ref as w, onUnmounted as ja, onMounted as da, computed as r, watch as D, reactive as W, toRef as P } 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 x } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
- import { W as ma } from "./warning-filled.Cd0kVWwa.js";
5
- import { B as za } from "./alert.BkMKX9wD.js";
6
- import { B as va } from "./button.D-3uUhuG.js";
7
- import { B as G, d as Ea } from "./typography.J1v_SPG3.js";
8
- import { u as B } from "./i18n.BQkEbtPM.js";
9
- import { g as N } from "./generate-uid.NJ8tVoha.js";
10
- import { i as ua } from "./index.Cl4_42j5.js";
11
- import { B as La } from "./bin.DuebwJYu.js";
12
- import { C as Fa } from "./checkmark-circle-fill.DZBl7CeY.js";
13
- import { C as $a } from "./cross.CJ5EEL2c.js";
14
- import { R as Ia } from "./refresh.Bc9FzGjJ.js";
15
- import { B as Ta } from "./link.BH3eB_7E.js";
16
- import { B as Ma } from "./loading-indicator.z8COalOc.js";
17
- import { B as Sa } from "./tooltip.DShIiBiY.js";
18
- import { F as Va, E as Da } from "./error-message.CzQf7YOD.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";
19
19
  import "../assets/file-uploader.css";
20
- let aa = 0;
21
- const Oa = {
20
+ let ra = 0;
21
+ const Ya = {
22
22
  beforeCreate() {
23
- this.uuid = aa.toString(), aa += 1;
23
+ this.uuid = ra.toString(), ra += 1;
24
24
  }
25
25
  };
26
- var Ha = function() {
27
- var a = this, i = a._self._c;
28
- 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" } })]);
29
- }, Ba = [], qa = /* @__PURE__ */ x(
30
- Oa,
31
- Ha,
32
- Ba,
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,
33
33
  !1,
34
34
  null,
35
35
  null
36
36
  );
37
- const Aa = qa.exports, Ua = /* @__PURE__ */ H({
37
+ const Qa = Ka.exports, ai = /* @__PURE__ */ G({
38
38
  __name: "file-uploader-file-card-animation",
39
39
  props: {
40
40
  name: null,
41
41
  showFileIcon: { type: Boolean }
42
42
  },
43
43
  setup(e) {
44
- return { __sfc: !0, isVue2: ua };
44
+ return { __sfc: !0, isVue2: Ca };
45
45
  }
46
46
  });
47
- var Za = function() {
48
- var a = this, i = a._self._c, t = a._self._setupProxy;
49
- 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);
50
- }, Pa = [], Na = /* @__PURE__ */ x(
51
- Ua,
52
- Za,
53
- Pa,
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,
54
54
  !1,
55
55
  null,
56
56
  null
57
57
  );
58
- const Wa = Na.exports;
59
- function Ga(e, a) {
60
- const i = w(!1);
61
- let t;
62
- function l() {
63
- t && t.disconnect();
58
+ const ni = ei.exports;
59
+ function oi(e, a) {
60
+ const t = h(!1);
61
+ let i;
62
+ function p() {
63
+ i && i.disconnect();
64
64
  }
65
- return ja(() => {
66
- l();
67
- }), da(() => {
68
- l(), t = new IntersectionObserver(
65
+ return Ma(() => {
66
+ p();
67
+ }), wa(() => {
68
+ p(), i = new IntersectionObserver(
69
69
  (o) => {
70
- i.value = !o[0].isIntersecting;
70
+ t.value = !o[0].isIntersecting;
71
71
  },
72
72
  {
73
73
  root: a.value,
74
74
  threshold: 1
75
75
  }
76
- ), t.observe(e.value.$el);
77
- }), i;
76
+ ), i.observe(e.value.$el);
77
+ }), t;
78
78
  }
79
- const ia = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
80
- function fa(e, a) {
81
- const i = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), ia.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));
82
82
  return Intl.NumberFormat(e, {
83
83
  style: "unit",
84
- unit: ia[i]
85
- }).format(a / 1024 ** i);
84
+ unit: da[t]
85
+ }).format(a / 1024 ** t);
86
86
  }
87
- var b = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(b || {}), f = /* @__PURE__ */ ((e) => (e.ERROR_SIZE = "error-size", e.ERROR_LOAD = "error-load", e.ERROR_DIMENSIONS = "error-dimensions", e.ERROR_TYPE = "error-type", e))(f || {}), O = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(O || {}), 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 Ya = [
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 = [
89
89
  "application/msword",
90
90
  // .doc
91
91
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
92
92
  // .docx
93
93
  "application/rtf"
94
94
  // .rtf
95
- ], Xa = [
95
+ ], li = [
96
96
  "application/vnd.ms-excel",
97
97
  // .xls
98
98
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -105,14 +105,14 @@ const Ya = [
105
105
  // .numbers
106
106
  "text/csv"
107
107
  // .csv
108
- ], Ja = [
108
+ ], si = [
109
109
  "application/vnd.ms-powerpoint",
110
110
  // .ppt
111
111
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
112
112
  // .pptx
113
113
  "application/vnd.oasis.opendocument.presentation"
114
114
  // .odp
115
- ], Ka = [
115
+ ], ci = [
116
116
  "application/zip",
117
117
  // .zip
118
118
  "application/vnd.rar",
@@ -134,224 +134,224 @@ const Ya = [
134
134
  "application/vnd.ms-cab-compressed"
135
135
  // .cab
136
136
  ];
137
- function Qa(e) {
138
- return Xa.includes(e.type) ? d.TABLE : e.type.startsWith("text/") || Ya.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 : Ja.includes(e.type) ? d.SLIDES : Ka.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;
139
139
  }
140
- function ai(e, a) {
140
+ function di(e, a) {
141
141
  if (!a)
142
142
  return !0;
143
- const i = a.split(",").map((t) => t.trim());
144
- for (const t of i)
145
- if (t.startsWith(".")) {
146
- 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))
147
147
  return !0;
148
- } else if (t.endsWith("/*")) {
149
- const l = t.split("/")[0];
150
- if (e.type.startsWith(l))
148
+ } else if (i.endsWith("/*")) {
149
+ const p = i.split("/")[0];
150
+ if (e.type.startsWith(p))
151
151
  return !0;
152
- } else if (e.type === t)
152
+ } else if (e.type === i)
153
153
  return !0;
154
154
  return !1;
155
155
  }
156
- function ii(e, a, i) {
157
- const t = new FileReader(), l = e;
158
- if (!ai(l.data, a)) {
159
- l.state = b.ERROR, l.errors.push(f.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);
160
160
  return;
161
161
  }
162
- t.onload = (o) => {
163
- if (i && l.type === d.IMAGE) {
164
- const m = new Blob([o.target.result], { type: l.data.type }), c = URL.createObjectURL(m), p = new Image();
165
- p.onload = function() {
166
- (p.width > i.width || p.height > i.height) && (l.state = b.ERROR, l.errors.push(f.ERROR_DIMENSIONS)), URL.revokeObjectURL(c);
167
- }, p.onerror = function() {
168
- URL.revokeObjectURL(c);
169
- }, p.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;
170
170
  }
171
- }, t.onprogress = (o) => {
172
- o.lengthComputable && (l.progress = o.loaded / o.total * 100);
173
- }, t.onloadend = () => {
174
- l.state !== b.ERROR && (l.state = b.SUCCESS), l.progress = null;
175
- }, t.onerror = () => {
176
- l.state = b.ERROR, l.errors.push(f.ERROR_LOAD), l.progress = null;
177
- }, t.readAsArrayBuffer(l.data);
171
+ }, i.onprogress = (o) => {
172
+ o.lengthComputable && (p.progress = o.loaded / o.total * 100);
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);
178
178
  }
179
- let ta = 0;
180
- const ti = {
181
- beforeCreate() {
182
- this.uuid = ta.toString(), ta += 1;
183
- }
184
- };
185
- var ei = function() {
186
- var a = this, i = a._self._c;
187
- 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" } })])])]);
188
- }, ni = [], oi = /* @__PURE__ */ x(
189
- ti,
190
- ei,
191
- ni,
192
- !1,
193
- null,
194
- null
195
- );
196
- const pi = oi.exports;
197
- let ea = 0;
198
- const li = {
199
- beforeCreate() {
200
- this.uuid = ea.toString(), ea += 1;
201
- }
202
- };
203
- var si = function() {
204
- var a = this, i = a._self._c;
205
- 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" } })]);
206
- }, ci = [], ri = /* @__PURE__ */ x(
207
- li,
208
- si,
209
- ci,
210
- !1,
211
- null,
212
- null
213
- );
214
- const di = ri.exports;
215
- let na = 0;
216
- const mi = {
179
+ let ma = 0;
180
+ const ui = {
217
181
  beforeCreate() {
218
- this.uuid = na.toString(), na += 1;
182
+ this.uuid = ma.toString(), ma += 1;
219
183
  }
220
184
  };
221
185
  var vi = function() {
222
- var a = this, i = a._self._c;
223
- 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" } })]);
224
- }, ui = [], fi = /* @__PURE__ */ x(
225
- mi,
226
- vi,
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(
227
189
  ui,
190
+ vi,
191
+ fi,
228
192
  !1,
229
193
  null,
230
194
  null
231
195
  );
232
- const xi = fi.exports;
233
- let oa = 0;
234
- const gi = {
196
+ const gi = xi.exports;
197
+ let ua = 0;
198
+ const hi = {
235
199
  beforeCreate() {
236
- this.uuid = oa.toString(), oa += 1;
200
+ this.uuid = ua.toString(), ua += 1;
237
201
  }
238
202
  };
239
- var hi = function() {
240
- var a = this, i = a._self._c;
241
- 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" } })]);
242
- }, bi = [], _i = /* @__PURE__ */ x(
243
- gi,
203
+ var bi = function() {
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(
244
207
  hi,
245
208
  bi,
209
+ _i,
246
210
  !1,
247
211
  null,
248
212
  null
249
213
  );
250
- const wi = _i.exports;
251
- let pa = 0;
252
- const yi = {
214
+ const yi = wi.exports;
215
+ let va = 0;
216
+ const Ci = {
253
217
  beforeCreate() {
254
- this.uuid = pa.toString(), pa += 1;
218
+ this.uuid = va.toString(), va += 1;
255
219
  }
256
220
  };
257
- var Ci = function() {
258
- var a = this, i = a._self._c;
259
- 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" } })]);
260
- }, ki = [], Ri = /* @__PURE__ */ x(
261
- yi,
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(
262
225
  Ci,
263
226
  ki,
227
+ Ri,
264
228
  !1,
265
229
  null,
266
230
  null
267
231
  );
268
- const ji = Ri.exports;
269
- let la = 0;
232
+ const ji = Ei.exports;
233
+ let fa = 0;
270
234
  const zi = {
271
235
  beforeCreate() {
272
- this.uuid = la.toString(), la += 1;
236
+ this.uuid = fa.toString(), fa += 1;
273
237
  }
274
238
  };
275
- var Ei = function() {
276
- var a = this, i = a._self._c;
277
- 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" } })]);
278
- }, Li = [], Fi = /* @__PURE__ */ x(
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(
279
243
  zi,
280
- Ei,
281
- Li,
244
+ Ii,
245
+ Fi,
282
246
  !1,
283
247
  null,
284
248
  null
285
249
  );
286
- const $i = Fi.exports;
287
- let sa = 0;
288
- const Ii = {
250
+ const Ti = $i.exports;
251
+ let xa = 0;
252
+ const Li = {
289
253
  beforeCreate() {
290
- this.uuid = sa.toString(), sa += 1;
254
+ this.uuid = xa.toString(), xa += 1;
291
255
  }
292
256
  };
293
- var Ti = function() {
294
- var a = this, i = a._self._c;
295
- 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" } })])])]);
296
- }, Mi = [], Si = /* @__PURE__ */ x(
297
- Ii,
298
- Ti,
257
+ var Si = function() {
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,
262
+ Si,
299
263
  Mi,
300
264
  !1,
301
265
  null,
302
266
  null
303
267
  );
304
- const Vi = Si.exports;
305
- let ca = 0;
306
- const Di = {
268
+ const Vi = Di.exports;
269
+ let ga = 0;
270
+ const Bi = {
307
271
  beforeCreate() {
308
- this.uuid = ca.toString(), ca += 1;
272
+ this.uuid = ga.toString(), ga += 1;
309
273
  }
310
274
  };
311
275
  var Oi = function() {
312
- var a = this, i = a._self._c;
313
- 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" } })]);
314
- }, Hi = [], Bi = /* @__PURE__ */ x(
315
- Di,
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(
279
+ Bi,
316
280
  Oi,
317
281
  Hi,
318
282
  !1,
319
283
  null,
320
284
  null
321
285
  );
322
- const qi = Bi.exports;
323
- let ra = 0;
286
+ const Ui = qi.exports;
287
+ let ha = 0;
324
288
  const Ai = {
325
289
  beforeCreate() {
326
- this.uuid = ra.toString(), ra += 1;
290
+ this.uuid = ha.toString(), ha += 1;
327
291
  }
328
292
  };
329
- var Ui = function() {
330
- var a = this, i = a._self._c;
331
- 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" } })]);
332
- }, Zi = [], Pi = /* @__PURE__ */ x(
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(
333
297
  Ai,
334
- Ui,
335
298
  Zi,
299
+ Pi,
336
300
  !1,
337
301
  null,
338
302
  null
339
303
  );
340
- const Ni = Pi.exports, Wi = {
341
- [d.AUDIO]: qi,
342
- [d.COMPRESSED]: ji,
343
- [d.GENERIC]: pi,
344
- [d.IMAGE]: $i,
345
- [d.PDF]: xi,
346
- [d.SLIDES]: di,
347
- [d.TABLE]: Ni,
348
- [d.TEXT]: wi,
349
- [d.VIDEO]: Vi
304
+ const Wi = Ni.exports;
305
+ let ba = 0;
306
+ const Gi = {
307
+ beforeCreate() {
308
+ this.uuid = ba.toString(), ba += 1;
309
+ }
310
+ };
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
+ }
350
328
  };
351
- function Gi(e) {
352
- return Wi[e.type];
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];
353
353
  }
354
- function Yi(e) {
354
+ function pt(e) {
355
355
  switch (e.type) {
356
356
  case d.COMPRESSED:
357
357
  case d.GENERIC:
@@ -365,7 +365,7 @@ function Yi(e) {
365
365
  return "green";
366
366
  }
367
367
  }
368
- const Xi = {
368
+ const lt = {
369
369
  "en-US": {
370
370
  cancel: "Cancel",
371
371
  fileExceedsSizeLimit: "File exceeds size limit",
@@ -384,59 +384,76 @@ const Xi = {
384
384
  remove: "Remover",
385
385
  retry: "Tentar novamente"
386
386
  }
387
- }, Ji = {
387
+ }, st = {
388
388
  name: "file-uploader-file-card",
389
- i18n: { messages: Xi }
390
- }, Ki = /* @__PURE__ */ H({
391
- ...Ji,
389
+ i18n: { messages: lt }
390
+ }, ct = /* @__PURE__ */ G({
391
+ ...st,
392
392
  props: {
393
393
  file: null,
394
394
  supportedFileTypes: { default: null }
395
395
  },
396
396
  emits: ["cancel", "remove", "retry"],
397
- setup(e, { emit: a }) {
398
- const i = e, t = 1200, { t: l, locale: o } = B(), m = w(i.file.state === b.SUCCESS), c = r(() => URL.createObjectURL(i.file.data)), p = r(() => i.file.state === b.ERROR), v = r(() => i.file.errors.includes(f.ERROR_LOAD)), j = r(() => i.file.errors.includes(f.ERROR_SIZE)), q = r(() => i.file.errors.includes(f.ERROR_DIMENSIONS)), z = r(() => i.file.errors.includes(f.ERROR_TYPE)), _ = r(() => i.file.state === b.LOADING), k = r(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), F = r(() => fa(o.value, i.file.data.size)), $ = w(), y = w(), A = Ga($, y), E = r(() => ({
399
- "b-file-uploader-file-card--error": p.value
400
- })), U = r(() => ({
401
- [`b-file-uploader-file-card__icon--${Yi(i.file)}`]: m.value,
402
- "b-file-uploader-file-card__icon--error": p.value
403
- })), I = r(() => _.value ? Ma : p.value ? ma : m.value ? Gi(i.file) : Fa);
404
- return D(
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(
405
405
  () => i.file.state,
406
- (T) => {
407
- if (T === b.SUCCESS && !m.value) {
408
- const M = setTimeout(() => {
409
- m.value = !0, clearTimeout(M);
410
- }, t);
406
+ (q) => {
407
+ if (q === w.SUCCESS && !C.value) {
408
+ const U = setTimeout(() => {
409
+ C.value = !0, clearTimeout(U);
410
+ }, p);
411
411
  }
412
412
  }
413
- ), { __sfc: !0, ICON_TIMER: t, props: i, emit: a, t: l, locale: o, showFileIcon: m, downloadUrl: c, hasError: p, hasLoadError: v, hasSizeError: j, hasDimensionsError: q, hasTypeError: z, isLoading: _, progressLabel: k, sizeLabel: F, fileNameRef: $, fileNameContainerRef: y, isFileNameTruncated: A, conditionalClasses: E, conditionalIconClasses: U, fileUploaderIcon: I, isVue2: ua, FileUploaderFileCardAnimation: Wa, BinIcon: La, CrossIcon: $a, RefreshIcon: Ia, vBentoTooltipDirective: Sa, BentoButton: va, BentoLink: Ta, 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 };
414
431
  }
415
432
  });
416
- var Qi = function() {
417
- var a = this, i = a._self._c, t = a._self._setupProxy;
418
- 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(l) {
419
- 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");
420
437
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
421
- return [i(t.RefreshIcon, { attrs: { "svg-title": t.t("retry") } })];
422
- }, 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(l) {
423
- 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");
424
441
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
425
- return [i(t.CrossIcon, { attrs: { "svg-title": t.t("cancel") } })];
426
- }, proxy: !0 }], null, !1, 1692450141) }) : i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(l) {
427
- 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");
428
445
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
429
- 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}` } })];
430
447
  }, proxy: !0 }]) })], 1)]);
431
- }, at = [], it = /* @__PURE__ */ x(
432
- Ki,
433
- Qi,
434
- at,
448
+ }, dt = [], mt = /* @__PURE__ */ g(
449
+ ct,
450
+ rt,
451
+ dt,
435
452
  !1,
436
453
  null,
437
- "56f32ebc"
454
+ "f3f8a80e"
438
455
  );
439
- const tt = it.exports, et = {
456
+ const ut = mt.exports, vt = {
440
457
  "en-US": {
441
458
  maxFileSize: "Max file size: {size}",
442
459
  maxImageDimensions: "Max image dimensions: {width} × {height}px",
@@ -445,10 +462,10 @@ const tt = it.exports, et = {
445
462
  maxUpload: "Max upload: {count} file | Max upload: {count} files",
446
463
  supportedFileTypes: "Supported file types: {list}"
447
464
  }
448
- }, nt = {
449
- i18n: { messages: et }
450
- }, ot = /* @__PURE__ */ H({
451
- ...nt,
465
+ }, ft = {
466
+ i18n: { messages: vt }
467
+ }, xt = /* @__PURE__ */ G({
468
+ ...ft,
452
469
  __name: "file-uploader-restrictions",
453
470
  props: {
454
471
  condensed: { default: null },
@@ -459,38 +476,38 @@ const tt = it.exports, et = {
459
476
  supportedFileTypes: { default: null }
460
477
  },
461
478
  setup(e) {
462
- const a = e, { t: i, tc: t, locale: l } = B(), o = r(() => ({
479
+ const a = e, { t, tc: i, locale: p } = Y(), o = r(() => ({
463
480
  "b-file-uploader-restrictions--condensed": a.condensed,
464
481
  "b-file-uploader-restrictions--disabled": a.disabled
465
482
  }));
466
- function m(p) {
483
+ function f(c) {
467
484
  return {
468
- "b-file-uploader-restrictions--error": p
485
+ "b-file-uploader-restrictions--error": c
469
486
  };
470
487
  }
471
- const c = r(() => {
488
+ const s = r(() => {
472
489
  if (!a.maxDimensions)
473
490
  return null;
474
491
  const {
475
- value: { width: p, height: v }
492
+ value: { width: c, height: u }
476
493
  } = a.maxDimensions;
477
- return p && v ? i("maxImageDimensions", { width: p, height: v }) : p ? i("maxImageWidth", { width: p }) : 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;
478
495
  });
479
- return { __sfc: !0, props: a, t: i, tc: t, locale: l, conditionalClasses: o, setRestrictionErrorClass: m, maxDimensionsLabel: c, BentoTypography: G, formatFileSize: fa };
496
+ return { __sfc: !0, props: a, t, tc: i, locale: p, conditionalClasses: o, setRestrictionErrorClass: f, maxDimensionsLabel: s, BentoTypography: na, formatFileSize: ka };
480
497
  }
481
498
  });
482
- var pt = function() {
483
- var a = this, i = a._self._c, t = a._self._setupProxy;
484
- 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);
485
- }, lt = [], st = /* @__PURE__ */ x(
486
- ot,
487
- pt,
488
- lt,
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,
489
506
  !1,
490
507
  null,
491
508
  "3c1d05d1"
492
509
  );
493
- const ct = st.exports, xa = {
510
+ const _t = bt.exports, Ra = {
494
511
  "application/prs.cww": ["cww"],
495
512
  "application/prs.xsf+xml": ["xsf"],
496
513
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1189,8 +1206,8 @@ const ct = st.exports, xa = {
1189
1206
  "video/x-smv": ["smv"],
1190
1207
  "x-conference/x-cooltalk": ["ice"]
1191
1208
  };
1192
- Object.freeze(xa);
1193
- const ga = {
1209
+ Object.freeze(Ra);
1210
+ const Ea = {
1194
1211
  "application/andrew-inset": ["ez"],
1195
1212
  "application/appinstaller": ["appinstaller"],
1196
1213
  "application/applixware": ["aw"],
@@ -1542,31 +1559,31 @@ const ga = {
1542
1559
  "video/quicktime": ["qt", "mov"],
1543
1560
  "video/webm": ["webm"]
1544
1561
  };
1545
- Object.freeze(ga);
1546
- var h = function(e, a, i, t) {
1547
- if (i === "a" && !t) throw new TypeError("Private accessor was defined without a getter");
1548
- 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");
1549
- return i === "m" ? t : i === "a" ? t.call(e) : t ? t.value : a.get(e);
1550
- }, R, L, C;
1551
- class rt {
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 {
1552
1569
  constructor(...a) {
1553
- R.set(this, /* @__PURE__ */ new Map()), L.set(this, /* @__PURE__ */ new Map()), C.set(this, /* @__PURE__ */ new Map());
1554
- for (const i of a)
1555
- 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);
1556
1573
  }
1557
- define(a, i = !1) {
1558
- for (let [t, l] of Object.entries(a)) {
1559
- t = t.toLowerCase(), l = l.map((c) => c.toLowerCase()), h(this, C, "f").has(t) || h(this, C, "f").set(t, /* @__PURE__ */ new Set());
1560
- const o = h(this, C, "f").get(t);
1561
- let m = !0;
1562
- for (let c of l) {
1563
- const p = c.startsWith("*");
1564
- if (c = p ? c.slice(1) : c, o == null || o.add(c), m && h(this, L, "f").set(t, c), m = !1, p)
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)
1565
1582
  continue;
1566
- const v = h(this, R, "f").get(c);
1567
- if (v && v != t && !i)
1568
- throw new Error(`"${t} -> ${c}" conflicts with "${v} -> ${c}". Pass \`force=true\` to override this definition.`);
1569
- h(this, R, "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);
1570
1587
  }
1571
1588
  }
1572
1589
  return this;
@@ -1574,57 +1591,57 @@ class rt {
1574
1591
  getType(a) {
1575
1592
  if (typeof a != "string")
1576
1593
  return null;
1577
- const i = a.replace(/^.*[/\\]/, "").toLowerCase(), t = i.replace(/^.*\./, "").toLowerCase(), l = i.length < a.length;
1578
- return !(t.length < i.length - 1) && l ? null : h(this, R, "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;
1579
1596
  }
1580
1597
  getExtension(a) {
1581
- var i;
1582
- return typeof a != "string" ? null : (a = (i = a == null ? void 0 : a.split) == null ? void 0 : i.call(a, ";")[0], (a && h(this, L, "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);
1583
1600
  }
1584
1601
  getAllExtensions(a) {
1585
- return typeof a != "string" ? null : h(this, C, "f").get(a.toLowerCase()) ?? null;
1602
+ return typeof a != "string" ? null : b(this, j, "f").get(a.toLowerCase()) ?? null;
1586
1603
  }
1587
1604
  _freeze() {
1588
1605
  this.define = () => {
1589
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");
1590
1607
  }, Object.freeze(this);
1591
- for (const a of h(this, C, "f").values())
1608
+ for (const a of b(this, j, "f").values())
1592
1609
  Object.freeze(a);
1593
1610
  return this;
1594
1611
  }
1595
1612
  _getTestState() {
1596
1613
  return {
1597
- types: h(this, R, "f"),
1598
- extensions: h(this, L, "f")
1614
+ types: b(this, T, "f"),
1615
+ extensions: b(this, M, "f")
1599
1616
  };
1600
1617
  }
1601
1618
  }
1602
- R = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), C = /* @__PURE__ */ new WeakMap();
1603
- const ha = new rt(ga, xa)._freeze();
1604
- function dt(e) {
1605
- return e.includes("/") ? `.${ha.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();
1606
1623
  }
1607
- function mt(e) {
1608
- const { locale: a, t: i } = B();
1624
+ function Ct(e) {
1625
+ const { locale: a, t } = Y();
1609
1626
  return { supportedFileTypeList: r(() => {
1610
- const l = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1611
- return e != null && e.value ? l.format(
1627
+ const p = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1628
+ return e != null && e.value ? p.format(
1612
1629
  e.value.split(",").map((o) => {
1613
1630
  switch (o.trim()) {
1614
1631
  case "audio/*":
1615
- return i("audioFiles");
1632
+ return t("audioFiles");
1616
1633
  case "image/*":
1617
- return i("imageFiles");
1634
+ return t("imageFiles");
1618
1635
  case "video/*":
1619
- return i("videoFiles");
1636
+ return t("videoFiles");
1620
1637
  default:
1621
- return dt(o);
1638
+ return yt(o);
1622
1639
  }
1623
1640
  })
1624
1641
  ) : null;
1625
1642
  }) };
1626
1643
  }
1627
- const vt = {
1644
+ const kt = {
1628
1645
  "en-US": {
1629
1646
  audioFiles: "audio files",
1630
1647
  browseFiles: "Browse files",
@@ -1633,59 +1650,49 @@ const vt = {
1633
1650
  fileExceedsSizeLimit: "File exceeds size limit",
1634
1651
  imageFiles: "image files",
1635
1652
  tooManyFiles: "Too many files",
1636
- upload: "Upload",
1637
1653
  videoFiles: "video files",
1638
- warning: "Warning",
1639
1654
  youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1640
- },
1641
- "ja-JP": {
1642
- upload: "アップロード",
1643
- warning: "警告"
1644
- },
1645
- "pt-BR": {
1646
- upload: "Carregar",
1647
- warning: "Aviso"
1648
1655
  }
1649
1656
  };
1650
- function ut(e) {
1651
- return ha.getType(e) ?? e;
1657
+ function Rt(e) {
1658
+ return ja.getType(e) ?? e;
1652
1659
  }
1653
- function ft({ maxCount: e, accept: a }) {
1654
- const i = W({
1660
+ function Et({ maxCount: e, accept: a }) {
1661
+ const t = ea({
1655
1662
  invalidTypes: !1,
1656
1663
  partiallyInvalidTypes: !1,
1657
1664
  maxCountOverflow: !1
1658
- }), t = W({
1665
+ }), i = ea({
1659
1666
  dragging: !1,
1660
1667
  error: !1
1661
- }), l = r(() => a.value ? a.value.split(",").map((p) => ut(p.trim().toLocaleLowerCase())) : void 0);
1668
+ }), p = r(() => a.value ? a.value.split(",").map((c) => Rt(c.trim().toLocaleLowerCase())) : void 0);
1662
1669
  function o() {
1663
- 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;
1664
1671
  }
1665
- function m(c, p) {
1666
- if (t.dragging = !0, (!p.dataTransfer.types.includes("Files") || c > e.value) && (i.maxCountOverflow = !0, t.error = !0), !l.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)
1667
1674
  return;
1668
- let v = 0;
1669
- for (const j of p.dataTransfer.items)
1670
- l.value.includes(j.type) && v++;
1671
- if (v === 0) {
1672
- 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;
1673
1680
  return;
1674
1681
  }
1675
- !i.invalidTypes && v !== p.dataTransfer.items.length && (t.error = !0, i.partiallyInvalidTypes = !0);
1682
+ !t.invalidTypes && u !== c.dataTransfer.items.length && (i.error = !0, t.partiallyInvalidTypes = !0);
1676
1683
  }
1677
1684
  return {
1678
- dragState: t,
1679
- dragErrors: i,
1685
+ dragState: i,
1686
+ dragErrors: t,
1680
1687
  resetDragState: o,
1681
- onDragEnterValidations: m
1688
+ onDragEnterValidations: f
1682
1689
  };
1683
1690
  }
1684
- const xt = {
1691
+ const jt = {
1685
1692
  model: { prop: "modelValue" },
1686
- i18n: { messages: vt }
1687
- }, gt = /* @__PURE__ */ H({
1688
- ...xt,
1693
+ i18n: { messages: kt }
1694
+ }, zt = /* @__PURE__ */ G({
1695
+ ...jt,
1689
1696
  __name: "file-uploader",
1690
1697
  props: {
1691
1698
  accept: { default: null },
@@ -1704,183 +1711,196 @@ const xt = {
1704
1711
  },
1705
1712
  emits: ["change", "update:modelValue", "error:upload"],
1706
1713
  setup(e, { emit: a }) {
1707
- const i = e, { t, tc: l } = B(), o = (n) => !!n && typeof n.length == "number" && typeof n.item == "function", m = r(() => o(i.modelValue) || i.modelValue instanceof FileList);
1708
- da(() => {
1709
- m.value || Ea(
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(
1710
1717
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1711
1718
  "Use FileList instead.",
1712
1719
  "2.0.0"
1713
1720
  );
1714
1721
  });
1715
- const { supportedFileTypeList: c } = mt(P(i, "accept")), p = w(null), v = w(null), j = N("input"), q = N("input-error"), { dragState: z, dragErrors: _, resetDragState: k, onDragEnterValidations: F } = ft({
1716
- accept: P(i, "accept"),
1717
- maxCount: P(i, "maxCount")
1718
- }), $ = r(() => {
1719
- var n, s, u;
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;
1720
1730
  return {
1721
- condensed: i.condensed,
1722
- disabled: i.disabled,
1723
- maxCount: E.value ? {
1724
- value: i.maxCount,
1725
- error: _.maxCountOverflow || M.value
1731
+ condensed: t.condensed,
1732
+ disabled: t.disabled,
1733
+ maxCount: S.value ? {
1734
+ value: t.maxCount,
1735
+ error: k.maxCountOverflow || U.value
1726
1736
  } : null,
1727
- maxDimensions: i.maxDimensions ? {
1728
- value: i.maxDimensions,
1729
- error: (n = p.value) == null ? void 0 : n.some((g) => g.errors.includes(f.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))
1730
1740
  } : null,
1731
- maxSize: i.maxSize ? {
1732
- value: i.maxSize,
1733
- error: (s = p.value) == null ? void 0 : s.some((g) => g.errors.includes(f.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))
1734
1744
  } : null,
1735
- supportedFileTypes: c.value ? {
1736
- value: c.value,
1737
- error: _.invalidTypes || _.partiallyInvalidTypes || ((u = p.value) == null ? void 0 : u.some((g) => g.errors.includes(f.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)))
1738
1748
  } : null
1739
1749
  };
1740
- }), y = w(), A = r(() => ({
1741
- [`b-file-uploader--${O.DISABLED}`]: i.disabled,
1742
- [`b-file-uploader--${O.DRAG_OVER}`]: z.dragging,
1743
- [`b-file-uploader--${O.ERROR}`]: T.value,
1744
- "b-file-uploader--condensed": i.condensed
1745
- })), E = r(() => i.maxCount > 1), U = r(() => {
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(() => {
1746
1756
  var n;
1747
- return i.maxCount && ((n = p.value) == null ? void 0 : n.length) >= i.maxCount;
1748
- }), I = r(() => {
1757
+ return t.maxCount && ((n = m.value) == null ? void 0 : n.length) >= t.maxCount;
1758
+ }), O = r(() => {
1749
1759
  var n;
1750
- return (n = p.value) == null ? void 0 : n.some((s) => s.state === "loading");
1751
- }), T = r(() => !!i.errorMessage || z.error), M = r(() => {
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(() => {
1752
1764
  var n;
1753
- return ((n = p.value) == null ? void 0 : n.length) > i.maxCount;
1754
- }), Y = w(!1), X = r(() => {
1765
+ return ((n = m.value) == null ? void 0 : n.length) > t.maxCount;
1766
+ }), oa = h(!1), pa = r(() => {
1755
1767
  var n;
1756
- return (n = p.value) == null ? void 0 : n.some((s) => s.state === "error");
1768
+ return (n = m.value) == null ? void 0 : n.some((l) => l.state === "error");
1757
1769
  });
1758
- D(X, (n) => {
1759
- I.value || a("error:upload", n);
1770
+ N(pa, (n) => {
1771
+ O.value || a("error:upload", n);
1760
1772
  });
1761
- function ba(n) {
1762
- p.value = p.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();
1763
1783
  }
1764
- function S(n) {
1765
- const s = W({
1766
- id: N("file"),
1784
+ function Z(n) {
1785
+ const l = ea({
1786
+ id: _("file"),
1767
1787
  data: n,
1768
1788
  errors: [],
1769
1789
  progress: null,
1770
- state: b.LOADING,
1771
- type: Qa(n)
1790
+ state: w.LOADING,
1791
+ type: ri(n)
1772
1792
  });
1773
- return ii(s, i.accept, i.maxDimensions), s;
1793
+ return mi(l, t.accept, t.maxDimensions), l;
1774
1794
  }
1775
- function _a(n) {
1776
- var s;
1777
- ((s = p.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();
1778
1798
  }
1779
- function Z(n) {
1780
- if (i.maxCount === 1 && n.length > i.maxCount) {
1781
- V(), k();
1799
+ async function ia(n) {
1800
+ if (t.maxCount === 1 && n.length > t.maxCount) {
1801
+ P(), $();
1782
1802
  return;
1783
1803
  }
1784
- E.value ? p.value = [...p.value || [], ...Array.from(n).map((s) => S(s))] : p.value = [S(n[0])];
1804
+ S.value ? m.value = [...m.value || [], ...Array.from(n).map((l) => Z(l))] : (m.value = [Z(n[0])], await A());
1785
1805
  }
1786
- function wa(n) {
1787
- var u, g;
1788
- if (i.disabled)
1806
+ function Fa(n) {
1807
+ var v, y;
1808
+ if (t.disabled)
1789
1809
  return;
1790
- y.value = n.target;
1791
- const s = (((u = n.dataTransfer.items) == null ? void 0 : u.length) ?? 0) + (((g = p.value) == null ? void 0 : g.length) ?? 0);
1792
- F(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);
1793
1813
  }
1794
- function V() {
1795
- y.value = null;
1814
+ function P() {
1815
+ E.value = null;
1796
1816
  }
1797
- function ya(n) {
1798
- y.value === n.target && (V(), k());
1817
+ function $a(n) {
1818
+ E.value === n.target && (P(), $());
1799
1819
  }
1800
- function Ca(n) {
1801
- n.preventDefault(), i.disabled && (n.dataTransfer.dropEffect = "none");
1820
+ function Ta(n) {
1821
+ n.preventDefault(), t.disabled && (n.dataTransfer.dropEffect = "none");
1802
1822
  }
1803
- function ka(n) {
1804
- var s;
1805
- i.disabled || (!_.invalidTypes && ((s = n.dataTransfer.files) != null && s.length) && Z(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(), $());
1806
1826
  }
1807
- function Ra() {
1827
+ async function Sa() {
1808
1828
  var n;
1809
- (n = v.value.files) != null && n.length && Z(v.value.files), v.value.value = "";
1829
+ (n = F.value.files) != null && n.length && ia(F.value.files), F.value.value = "", await A();
1810
1830
  }
1811
- D(
1812
- () => i.modelValue,
1831
+ N(
1832
+ () => t.modelValue,
1813
1833
  (n) => {
1814
- if (n && m.value) {
1815
- const s = n, u = Array.from(s);
1816
- p.value = u.map((g) => S(g));
1834
+ if (n && o(n)) {
1835
+ const l = Array.from(n);
1836
+ m.value = l.map((v) => Z(v));
1817
1837
  }
1818
1838
  },
1819
1839
  { immediate: !0 }
1820
1840
  );
1821
- function J(n) {
1822
- const s = i.maxCount && n.length <= i.maxCount;
1823
- Y.value = !s;
1841
+ function la(n) {
1842
+ const l = t.maxCount && n.length <= t.maxCount;
1843
+ oa.value = !l;
1824
1844
  }
1825
- function K(n) {
1826
- i.maxSize && n.forEach((s) => {
1827
- const u = s;
1828
- u.data.size > i.maxSize && (u.state = b.ERROR, u.errors.push(f.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));
1829
1849
  });
1830
1850
  }
1831
- function Q(n) {
1832
- const s = n.filter(
1833
- ({ errors: u }) => !u.includes(f.ERROR_LOAD) && !u.includes(f.ERROR_SIZE)
1851
+ function ca(n) {
1852
+ const l = n.filter(
1853
+ ({ errors: v }) => !v.includes(x.ERROR_LOAD) && !v.includes(x.ERROR_SIZE)
1834
1854
  );
1835
- if (s.length) {
1836
- const u = new DataTransfer();
1837
- return s.forEach(({ data: g }) => u.items.add(g)), u.files;
1855
+ if (l.length) {
1856
+ const v = new DataTransfer();
1857
+ return l.forEach(({ data: y }) => v.items.add(y)), v.files;
1838
1858
  }
1839
1859
  }
1840
- return D(p, (n) => {
1860
+ return N(m, (n) => {
1841
1861
  if (n) {
1842
- J(n), K(n);
1843
- const s = Q(n);
1844
- 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);
1845
1865
  } else
1846
1866
  a("change"), a("update:modelValue");
1847
- }), { __sfc: !0, t, tc: l, emit: a, props: i, isFileListLike: o, isFileList: m, supportedFileTypeList: c, files: p, inputRef: v, inputFieldId: j, errorId: q, dragState: z, dragErrors: _, resetDragState: k, onDragEnterValidations: F, fileUploadRestrictionsProps: $, enterTarget: y, conditionalClasses: A, isMultiple: E, hideArea: U, loadingStateExists: I, hasError: T, maxFileCountError: M, maxFileError: Y, hasRestrictionError: X, removeFile: ba, processFile: S, onInputClick: _a, onFileInput: Z, onDragEnter: wa, resetEnterTarget: V, onDragLeave: ya, onDragOver: Ca, onDrop: ka, onInputChange: Ra, verifyFileCount: J, verifyFileSize: K, convertToFileList: Q, UploadIcon: Aa, WarningFilledIcon: ma, BentoAlert: za, BentoButton: va, BentoTypography: G, ErrorMessage: Da, FieldLabel: Va, FileUploaderFileCard: tt, FileUploaderRestrictions: ct };
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 };
1848
1868
  }
1849
1869
  });
1850
- var ht = function() {
1851
- var l;
1852
- var a = this, i = a._self._c, t = a._self._setupProxy;
1853
- 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) {
1854
- return t.inputRef.click();
1870
+ var It = function() {
1871
+ var p;
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();
1855
1875
  }, dragenter: function(o) {
1856
- return o.stopPropagation(), o.preventDefault(), t.onDragEnter.apply(null, arguments);
1876
+ return o.stopPropagation(), o.preventDefault(), i.onDragEnter.apply(null, arguments);
1857
1877
  }, dragleave: function(o) {
1858
- return o.stopPropagation(), o.preventDefault(), t.onDragLeave.apply(null, arguments);
1878
+ return o.stopPropagation(), o.preventDefault(), i.onDragLeave.apply(null, arguments);
1859
1879
  }, drop: function(o) {
1860
- return o.stopPropagation(), o.preventDefault(), t.onDrop.apply(null, arguments);
1861
- }, dragover: t.onDragOver, "!keydown": [function(o) {
1862
- 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());
1863
1883
  }, function(o) {
1864
- return !o.type.indexOf("key") && a._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), t.inputRef.click());
1865
- }] } }, [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() {
1866
- return [a._v(" " + a._s(t.t("youHaveExceededTheMaximum", { count: t.props.maxCount })) + " ")];
1867
- }, proxy: !0 }], null, !1, 239749076) }, [a._v(" " + a._s(t.t("tooManyFiles")) + " ")]) : a._e(), i("div", { directives: [{ name: "show", rawName: "v-show", value: (l = t.files) == null ? void 0 : l.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(t.files, function(o) {
1868
- return i(t.FileUploaderFileCard, { key: o.id, attrs: { file: o, "supported-file-types": t.supportedFileTypeList }, on: { cancel: function(m) {
1869
- return t.removeFile(o);
1870
- }, remove: function(m) {
1871
- 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);
1872
1892
  } } });
1873
1893
  }), 1)], 1);
1874
- }, bt = [], _t = /* @__PURE__ */ x(
1875
- gt,
1876
- ht,
1877
- bt,
1894
+ }, Ft = [], $t = /* @__PURE__ */ g(
1895
+ zt,
1896
+ It,
1897
+ Ft,
1878
1898
  !1,
1879
1899
  null,
1880
- "137d5f82"
1900
+ "33412898"
1881
1901
  );
1882
- const Ht = _t.exports;
1902
+ const Xt = $t.exports;
1883
1903
  export {
1884
- Ht as f
1904
+ Xt as f
1885
1905
  };
1886
- //# sourceMappingURL=file-uploader.CcZPr-jD.js.map
1906
+ //# sourceMappingURL=file-uploader.BOWE87dN.js.map