@adyen/bento-vue2 1.65.0 → 1.67.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 (229) hide show
  1. package/dist/@types/index.d.ts +473 -253
  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-with-menu.css +1 -1
  7. package/dist/assets/button-actions.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/copy.css +1 -1
  10. package/dist/assets/data-grid-template.css +1 -1
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/date-range-picker.css +1 -1
  13. package/dist/assets/date.css +1 -1
  14. package/dist/assets/dialog-page.css +1 -1
  15. package/dist/assets/dropdown-default-textbox.css +1 -1
  16. package/dist/assets/dropdown.css +1 -1
  17. package/dist/assets/file-uploader.css +1 -1
  18. package/dist/assets/filter-bar.css +1 -1
  19. package/dist/assets/footer-actions.css +1 -1
  20. package/dist/assets/header-with-views.css +1 -1
  21. package/dist/assets/header.css +1 -1
  22. package/dist/assets/info-icon.css +1 -1
  23. package/dist/assets/input-field-password.css +1 -1
  24. package/dist/assets/input-field.css +1 -1
  25. package/dist/assets/inspector.css +1 -1
  26. package/dist/assets/menu.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/pagination.css +1 -1
  29. package/dist/assets/popover.css +1 -1
  30. package/dist/assets/sidepanel.css +1 -1
  31. package/dist/assets/step.css +1 -1
  32. package/dist/assets/summary-grid.css +1 -1
  33. package/dist/assets/tab.css +1 -0
  34. package/dist/assets/textarea.css +1 -1
  35. package/dist/assets/use-cached-selected-values.css +1 -1
  36. package/dist/button.js +1 -1
  37. package/dist/card.js +1 -1
  38. package/dist/checkbox.js +2 -2
  39. package/dist/chunks/{action-bar.DHdrZtmW.js → action-bar.BxX3I27_.js} +31 -31
  40. package/dist/chunks/action-bar.BxX3I27_.js.map +1 -0
  41. package/dist/chunks/{base-modal.3OptY7u_.js → base-modal.QGDM_kjG.js} +2 -2
  42. package/dist/chunks/{base-modal.3OptY7u_.js.map → base-modal.QGDM_kjG.js.map} +1 -1
  43. package/dist/chunks/button-actions-with-menu.itkbcqzk.js +83 -0
  44. package/dist/chunks/button-actions-with-menu.itkbcqzk.js.map +1 -0
  45. package/dist/chunks/{button-actions._OIvTdKt.js → button-actions.BKdI_ooV.js} +2 -2
  46. package/dist/chunks/button-actions.BKdI_ooV.js.map +1 -0
  47. package/dist/chunks/calendar.DvIQEYwN.js +2086 -0
  48. package/dist/chunks/calendar.DvIQEYwN.js.map +1 -0
  49. package/dist/chunks/{card.CypgT0Ji.js → card.BktfAMv5.js} +2 -2
  50. package/dist/chunks/{card.CypgT0Ji.js.map → card.BktfAMv5.js.map} +1 -1
  51. package/dist/chunks/{checkbox-group.DVX0GFm9.js → checkbox-group.BVMGnokj.js} +4 -4
  52. package/dist/chunks/{checkbox-group.DVX0GFm9.js.map → checkbox-group.BVMGnokj.js.map} +1 -1
  53. package/dist/chunks/{checkbox.nHrvoKfp.js → checkbox.Bg5FM5Oa.js} +2 -2
  54. package/dist/chunks/{checkbox.nHrvoKfp.js.map → checkbox.Bg5FM5Oa.js.map} +1 -1
  55. package/dist/chunks/{code-snippet.W8Zp0zQP.js → code-snippet.DDiQ9R3o.js} +4 -4
  56. package/dist/chunks/{code-snippet.W8Zp0zQP.js.map → code-snippet.DDiQ9R3o.js.map} +1 -1
  57. package/dist/chunks/{controls-group.BWAmz7Tg.js → controls-group.CccuLkgP.js} +2 -2
  58. package/dist/chunks/{controls-group.BWAmz7Tg.js.map → controls-group.CccuLkgP.js.map} +1 -1
  59. package/dist/chunks/copy.CF8Fzu2Y.js +96 -0
  60. package/dist/chunks/copy.CF8Fzu2Y.js.map +1 -0
  61. package/dist/chunks/{dashboard-section.Bz54Z6Hh.js → dashboard-section.Beep1lY8.js} +3 -3
  62. package/dist/chunks/{dashboard-section.Bz54Z6Hh.js.map → dashboard-section.Beep1lY8.js.map} +1 -1
  63. package/dist/chunks/{dashed-underline.CEaAmjDa.js → dashed-underline.BQwLgzz6.js} +2 -2
  64. package/dist/chunks/{dashed-underline.CEaAmjDa.js.map → dashed-underline.BQwLgzz6.js.map} +1 -1
  65. package/dist/chunks/{data-grid-template.DtFRjaR8.js → data-grid-template.nkx0pCMA.js} +16 -14
  66. package/dist/chunks/data-grid-template.nkx0pCMA.js.map +1 -0
  67. package/dist/chunks/{data-grid.D4oeTUhn.js → data-grid.CkwZVy3a.js} +190 -188
  68. package/dist/chunks/data-grid.CkwZVy3a.js.map +1 -0
  69. package/dist/chunks/{date-picker.k0g6anfy.js → date-picker.BLBXaDHv.js} +8 -9
  70. package/dist/chunks/{date-picker.k0g6anfy.js.map → date-picker.BLBXaDHv.js.map} +1 -1
  71. package/dist/chunks/{date-range-picker.D9lyIoO-.js → date-range-picker.am63DgMj.js} +409 -393
  72. package/dist/chunks/date-range-picker.am63DgMj.js.map +1 -0
  73. package/dist/chunks/date.BfyWX2PY.js +160 -0
  74. package/dist/chunks/date.BfyWX2PY.js.map +1 -0
  75. package/dist/chunks/{dropdown-default-textbox.BNuuA4ES.js → dropdown-default-textbox.94q6opSD.js} +3 -3
  76. package/dist/chunks/dropdown-default-textbox.94q6opSD.js.map +1 -0
  77. package/dist/chunks/{dropdown-tag.DKhxBV52.js → dropdown-tag.DYIkCBa6.js} +2 -2
  78. package/dist/chunks/{dropdown-tag.DKhxBV52.js.map → dropdown-tag.DYIkCBa6.js.map} +1 -1
  79. package/dist/chunks/{dropdown.DV7uhHNP.js → dropdown.HA6ISg2h.js} +265 -270
  80. package/dist/chunks/{dropdown.DV7uhHNP.js.map → dropdown.HA6ISg2h.js.map} +1 -1
  81. package/dist/chunks/{error-message.1Em7Lis3.js → error-message.BgxnwPLF.js} +2 -2
  82. package/dist/chunks/{error-message.1Em7Lis3.js.map → error-message.BgxnwPLF.js.map} +1 -1
  83. package/dist/chunks/es6.n1ewaW31.js.map +1 -1
  84. package/dist/chunks/{file-uploader.DyjdNLOa.js → file-uploader.BPslxGI8.js} +323 -323
  85. package/dist/chunks/file-uploader.BPslxGI8.js.map +1 -0
  86. package/dist/chunks/{filter-bar.BxDEplt3.js → filter-bar.DbqsoAI1.js} +667 -652
  87. package/dist/chunks/{filter-bar.BxDEplt3.js.map → filter-bar.DbqsoAI1.js.map} +1 -1
  88. package/dist/chunks/{footer-actions.DyuSTjC5.js → footer-actions.BUfQFz7J.js} +2 -2
  89. package/dist/chunks/{footer-actions.DyuSTjC5.js.map → footer-actions.BUfQFz7J.js.map} +1 -1
  90. package/dist/chunks/{get-date-locale.BN8xEjY0.js → get-date-locale.CAyOIbcp.js} +288 -649
  91. package/dist/chunks/get-date-locale.CAyOIbcp.js.map +1 -0
  92. package/dist/chunks/{header-with-views.Ds9mcwmp.js → header-with-views.JllLR2nW.js} +341 -327
  93. package/dist/chunks/header-with-views.JllLR2nW.js.map +1 -0
  94. package/dist/chunks/{header.Cb644uAi.js → header.04Y0unpy.js} +27 -26
  95. package/dist/chunks/{header.Cb644uAi.js.map → header.04Y0unpy.js.map} +1 -1
  96. package/dist/chunks/index.BrH1t1iu.js +407 -0
  97. package/dist/chunks/index.BrH1t1iu.js.map +1 -0
  98. package/dist/chunks/{info-icon-with-popover.COq40yTq.js → info-icon-with-popover.B1DnkW4B.js} +2 -2
  99. package/dist/chunks/{info-icon-with-popover.COq40yTq.js.map → info-icon-with-popover.B1DnkW4B.js.map} +1 -1
  100. package/dist/chunks/info-icon.CYOXx8CL.js +37 -0
  101. package/dist/chunks/info-icon.CYOXx8CL.js.map +1 -0
  102. package/dist/chunks/{input-field-password.Bloa-rqx.js → input-field-password.BtOdV0gF.js} +124 -123
  103. package/dist/chunks/input-field-password.BtOdV0gF.js.map +1 -0
  104. package/dist/chunks/{input-field-phone-number.B3qzZKuP.js → input-field-phone-number.Dq-LnGag.js} +3 -3
  105. package/dist/chunks/{input-field-phone-number.B3qzZKuP.js.map → input-field-phone-number.Dq-LnGag.js.map} +1 -1
  106. package/dist/chunks/input-field.Bg77qHT2.js +157 -0
  107. package/dist/chunks/input-field.Bg77qHT2.js.map +1 -0
  108. package/dist/chunks/{menu.BCD4FW54.js → menu.EgYjFAku.js} +2 -2
  109. package/dist/chunks/{menu.BCD4FW54.js.map → menu.EgYjFAku.js.map} +1 -1
  110. package/dist/chunks/{modal-fullscreen.1OdCgyca.js → modal-fullscreen.BNTUOC7o.js} +2 -2
  111. package/dist/chunks/{modal-fullscreen.1OdCgyca.js.map → modal-fullscreen.BNTUOC7o.js.map} +1 -1
  112. package/dist/chunks/{modal.xY5aFhAO.js → modal.OvB4kEGR.js} +4 -4
  113. package/dist/chunks/{modal.xY5aFhAO.js.map → modal.OvB4kEGR.js.map} +1 -1
  114. package/dist/chunks/{pagination.Cl7SzoId.js → pagination.Dw153NzQ.js} +115 -115
  115. package/dist/chunks/pagination.Dw153NzQ.js.map +1 -0
  116. package/dist/chunks/{popover.B05xkQ4e.js → popover.BGHbPUOr.js} +2 -2
  117. package/dist/chunks/{popover.B05xkQ4e.js.map → popover.BGHbPUOr.js.map} +1 -1
  118. package/dist/chunks/promo-banner.Bbc2U3S3.js.map +1 -1
  119. package/dist/chunks/{radio-group.CtPG_iiI.js → radio-group.4_KKjvAm.js} +3 -3
  120. package/dist/chunks/{radio-group.CtPG_iiI.js.map → radio-group.4_KKjvAm.js.map} +1 -1
  121. package/dist/chunks/{rich-text-editor.CLxVaskq.js → rich-text-editor.CRJRvfJn.js} +5 -7
  122. package/dist/chunks/{rich-text-editor.CLxVaskq.js.map → rich-text-editor.CRJRvfJn.js.map} +1 -1
  123. package/dist/chunks/{search-bar.CadVBoj0.js → search-bar.BTZSePJh.js} +3 -3
  124. package/dist/chunks/{search-bar.CadVBoj0.js.map → search-bar.BTZSePJh.js.map} +1 -1
  125. package/dist/chunks/{secondary-nav.OwimHNCb.js → secondary-nav.BBhSBNn7.js} +2 -2
  126. package/dist/chunks/{secondary-nav.OwimHNCb.js.map → secondary-nav.BBhSBNn7.js.map} +1 -1
  127. package/dist/chunks/{selection-card-group.CoqBRUT8.js → selection-card-group.0o5T4tab.js} +3 -3
  128. package/dist/chunks/{selection-card-group.CoqBRUT8.js.map → selection-card-group.0o5T4tab.js.map} +1 -1
  129. package/dist/chunks/{sidepanel.CI8fu1Q3.js → sidepanel.Dt-BnFzN.js} +2 -2
  130. package/dist/chunks/{sidepanel.CI8fu1Q3.js.map → sidepanel.Dt-BnFzN.js.map} +1 -1
  131. package/dist/chunks/step.DMMofD4B.js +217 -0
  132. package/dist/chunks/step.DMMofD4B.js.map +1 -0
  133. package/dist/chunks/{structured-list-item.tox2Kcb6.js → structured-list-item.Bnn6-Z3q.js} +3 -3
  134. package/dist/chunks/{structured-list-item.tox2Kcb6.js.map → structured-list-item.Bnn6-Z3q.js.map} +1 -1
  135. package/dist/chunks/summary-grid.types.DsvtLg3D.js +337 -0
  136. package/dist/chunks/summary-grid.types.DsvtLg3D.js.map +1 -0
  137. package/dist/chunks/tab.BhWPBxcB.js +192 -0
  138. package/dist/chunks/tab.BhWPBxcB.js.map +1 -0
  139. package/dist/chunks/{tabs.keys.Bc2pSKRw.js → tabs.keys.Cb4Vw5Jh.js} +3 -3
  140. package/dist/chunks/{tabs.keys.Bc2pSKRw.js.map → tabs.keys.Cb4Vw5Jh.js.map} +1 -1
  141. package/dist/chunks/{textarea.BPeDUAPL.js → textarea.RAU710Uw.js} +83 -80
  142. package/dist/chunks/textarea.RAU710Uw.js.map +1 -0
  143. package/dist/chunks/{timeline-item.CS9ZDOsm.js → timeline-item.Dz66luo5.js} +11 -12
  144. package/dist/chunks/timeline-item.Dz66luo5.js.map +1 -0
  145. package/dist/chunks/{tutorial.DJ_Cwp9i.js → tutorial.DAKO-fKz.js} +4 -4
  146. package/dist/chunks/{tutorial.DJ_Cwp9i.js.map → tutorial.DAKO-fKz.js.map} +1 -1
  147. package/dist/chunks/{use-cached-selected-values.DNOmzQVy.js → use-cached-selected-values.DQPABFfG.js} +538 -498
  148. package/dist/chunks/use-cached-selected-values.DQPABFfG.js.map +1 -0
  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/date.js +1 -1
  157. package/dist/dropdown.js +4 -4
  158. package/dist/file-uploader.js +1 -1
  159. package/dist/filter-bar.js +1 -1
  160. package/dist/header-with-views.js +1 -1
  161. package/dist/header.js +1 -1
  162. package/dist/index.js +45 -45
  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/internal.js +8 -8
  168. package/dist/menu.js +1 -1
  169. package/dist/modal-fullscreen.js +1 -1
  170. package/dist/modal.js +2 -2
  171. package/dist/pagination.js +1 -1
  172. package/dist/popover.js +1 -1
  173. package/dist/radio-group.js +1 -1
  174. package/dist/rich-text-editor.js +1 -1
  175. package/dist/search-bar.js +2 -2
  176. package/dist/secondary-nav.js +1 -1
  177. package/dist/selection-card.js +1 -1
  178. package/dist/sidepanel.js +1 -1
  179. package/dist/stepper.js +1 -1
  180. package/dist/structured-list.js +1 -1
  181. package/dist/styles/bento-dark.css +1 -0
  182. package/dist/styles/bento-light.css +1 -0
  183. package/dist/styles/bento.css +1 -0
  184. package/dist/styles/legacy.css +1 -0
  185. package/dist/styles/styleguide.css +1 -0
  186. package/dist/summary-grid.js +1 -1
  187. package/dist/tabs.js +1 -1
  188. package/dist/textarea.js +1 -1
  189. package/dist/timeline.js +1 -1
  190. package/dist/tutorial.js +1 -1
  191. package/dist/web-types.json +261 -81
  192. package/package.json +6 -6
  193. package/dist/assets/tabs.css +0 -1
  194. package/dist/chunks/action-bar.DHdrZtmW.js.map +0 -1
  195. package/dist/chunks/button-actions-with-menu.CYkEoiee.js +0 -166
  196. package/dist/chunks/button-actions-with-menu.CYkEoiee.js.map +0 -1
  197. package/dist/chunks/button-actions._OIvTdKt.js.map +0 -1
  198. package/dist/chunks/calendar.DbTC35rM.js +0 -1167
  199. package/dist/chunks/calendar.DbTC35rM.js.map +0 -1
  200. package/dist/chunks/copy.CXeLbvUP.js +0 -129
  201. package/dist/chunks/copy.CXeLbvUP.js.map +0 -1
  202. package/dist/chunks/data-grid-template.DtFRjaR8.js.map +0 -1
  203. package/dist/chunks/data-grid.D4oeTUhn.js.map +0 -1
  204. package/dist/chunks/date-range-picker.D9lyIoO-.js.map +0 -1
  205. package/dist/chunks/date.dYFFEunA.js +0 -987
  206. package/dist/chunks/date.dYFFEunA.js.map +0 -1
  207. package/dist/chunks/dropdown-default-textbox.BNuuA4ES.js.map +0 -1
  208. package/dist/chunks/file-uploader.DyjdNLOa.js.map +0 -1
  209. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +0 -1
  210. package/dist/chunks/header-with-views.Ds9mcwmp.js.map +0 -1
  211. package/dist/chunks/index.BDuTpjD8.js +0 -40
  212. package/dist/chunks/index.BDuTpjD8.js.map +0 -1
  213. package/dist/chunks/index.DD7TppDb.js +0 -10
  214. package/dist/chunks/index.DD7TppDb.js.map +0 -1
  215. package/dist/chunks/info-icon.B9aTl1nU.js +0 -41
  216. package/dist/chunks/info-icon.B9aTl1nU.js.map +0 -1
  217. package/dist/chunks/input-field-password.Bloa-rqx.js.map +0 -1
  218. package/dist/chunks/input-field.B_3nZFYz.js +0 -152
  219. package/dist/chunks/input-field.B_3nZFYz.js.map +0 -1
  220. package/dist/chunks/pagination.Cl7SzoId.js.map +0 -1
  221. package/dist/chunks/step.dNTg2rtW.js +0 -217
  222. package/dist/chunks/step.dNTg2rtW.js.map +0 -1
  223. package/dist/chunks/summary-grid.types.CkUIw703.js +0 -301
  224. package/dist/chunks/summary-grid.types.CkUIw703.js.map +0 -1
  225. package/dist/chunks/tabs.Dx6teJGW.js +0 -205
  226. package/dist/chunks/tabs.Dx6teJGW.js.map +0 -1
  227. package/dist/chunks/textarea.BPeDUAPL.js.map +0 -1
  228. package/dist/chunks/timeline-item.CS9ZDOsm.js.map +0 -1
  229. package/dist/chunks/use-cached-selected-values.DNOmzQVy.js.map +0 -1
@@ -1,73 +1,73 @@
1
- import { defineComponent as W, ref as h, onUnmounted as Ma, onMounted as wa, computed as r, watch as ta, reactive as ea, toRef as ia, nextTick as Da } from "vue";
1
+ import { defineComponent as W, ref as h, onUnmounted as Da, onMounted as ya, computed as c, watch as ta, reactive as ea, toRef as ia, nextTick as Va } from "vue";
2
2
  /* empty css */
3
3
  import { n as g } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
- import { W as ya } from "./warning-filled.tWOyLUQT.js";
5
- import { B as Va } from "./alert.c1rhDDrU.js";
6
- import { B as na, d as Ba } from "./typography.J1v_SPG3.js";
4
+ import { W as Ca } from "./warning-filled.tWOyLUQT.js";
5
+ import { B as Ba } from "./alert.c1rhDDrU.js";
6
+ import { B as na, d as Oa } from "./typography.J1v_SPG3.js";
7
7
  import { u as G } from "./i18n.BQkEbtPM.js";
8
8
  import { g as w } from "./generate-uid.NJ8tVoha.js";
9
- import { i as Ca } from "./index.Cl4_42j5.js";
10
- import { B as Oa } from "./bin.DLXkAVvw.js";
11
- import { C as Ha } from "./checkmark-circle-fill.BttTCjrM.js";
12
- import { C as qa } from "./cross.CC_B-vG-.js";
13
- import { R as Ua } from "./refresh.arF7jP-l.js";
14
- import { B as Aa } from "./button.hF-nD1Og.js";
15
- import { B as Za } from "./link.CXy_LoFI.js";
16
- import { B as Pa } from "./loading-indicator.z8COalOc.js";
17
- import { B as Na } from "./tooltip.wQsyAwkC.js";
18
- import { F as Wa, E as Ga } from "./error-message.1Em7Lis3.js";
9
+ import { i as ka } from "./index.Cl4_42j5.js";
10
+ import { B as Ha } from "./bin.DLXkAVvw.js";
11
+ import { C as qa } from "./checkmark-circle-fill.BttTCjrM.js";
12
+ import { C as Ua } from "./cross.CC_B-vG-.js";
13
+ import { R as Aa } from "./refresh.arF7jP-l.js";
14
+ import { B as Za } from "./button.hF-nD1Og.js";
15
+ import { B as Pa } from "./link.CXy_LoFI.js";
16
+ import { B as Na } from "./loading-indicator.z8COalOc.js";
17
+ import { B as Wa } from "./tooltip.wQsyAwkC.js";
18
+ import { F as Ga, E as Ya } from "./error-message.BgxnwPLF.js";
19
19
  import "../assets/file-uploader.css";
20
- let ra = 0;
21
- const Ya = {
20
+ let da = 0;
21
+ const Xa = {
22
22
  beforeCreate() {
23
- this.uuid = ra.toString(), ra += 1;
23
+ this.uuid = da.toString(), da += 1;
24
24
  }
25
25
  };
26
- var Xa = function() {
26
+ var Ja = function() {
27
27
  var a = this, t = a._self._c;
28
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: "#001222", 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: "#001222", 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,
29
+ }, Ka = [], Qa = /* @__PURE__ */ g(
31
30
  Xa,
32
31
  Ja,
32
+ Ka,
33
33
  !1,
34
34
  null,
35
35
  null
36
36
  );
37
- const Qa = Ka.exports, ai = /* @__PURE__ */ W({
37
+ const ai = Qa.exports, ii = /* @__PURE__ */ W({
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: Ca };
44
+ return { __sfc: !0, isVue2: ka };
45
45
  }
46
46
  });
47
- var ii = function() {
47
+ var ti = function() {
48
48
  var a = this, t = a._self._c, i = a._self._setupProxy;
49
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,
50
+ }, ei = [], ni = /* @__PURE__ */ g(
52
51
  ii,
53
52
  ti,
53
+ ei,
54
54
  !1,
55
55
  null,
56
56
  null
57
57
  );
58
- const ni = ei.exports;
59
- function oi(e, a) {
58
+ const oi = ni.exports;
59
+ function pi(e, a) {
60
60
  const t = h(!1);
61
61
  let i;
62
- function p() {
62
+ function o() {
63
63
  i && i.disconnect();
64
64
  }
65
- return Ma(() => {
66
- p();
67
- }), wa(() => {
68
- p(), i = new IntersectionObserver(
69
- (o) => {
70
- t.value = !o[0].isIntersecting;
65
+ return Da(() => {
66
+ o();
67
+ }), ya(() => {
68
+ o(), i = new IntersectionObserver(
69
+ (p) => {
70
+ t.value = !p[0].isIntersecting;
71
71
  },
72
72
  {
73
73
  root: a.value,
@@ -76,23 +76,23 @@ function oi(e, a) {
76
76
  ), i.observe(e.value.$el);
77
77
  }), t;
78
78
  }
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));
79
+ const ma = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
80
+ function Ra(e, a) {
81
+ const t = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), ma.length - 1));
82
82
  return Intl.NumberFormat(e, {
83
83
  style: "unit",
84
- unit: da[t]
84
+ unit: ma[t]
85
85
  }).format(a / 1024 ** t);
86
86
  }
87
- var y = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(y || {}), 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 || {}), N = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(N || {}), 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 = [
87
+ var y = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(y || {}), 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 || {}), N = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(N || {}), r = /* @__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))(r || {});
88
+ const li = [
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
- ], li = [
95
+ ], si = [
96
96
  "application/vnd.ms-excel",
97
97
  // .xls
98
98
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -105,14 +105,14 @@ const pi = [
105
105
  // .numbers
106
106
  "text/csv"
107
107
  // .csv
108
- ], si = [
108
+ ], ci = [
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
- ], ci = [
115
+ ], ri = [
116
116
  "application/zip",
117
117
  // .zip
118
118
  "application/vnd.rar",
@@ -134,10 +134,10 @@ const pi = [
134
134
  "application/vnd.ms-cab-compressed"
135
135
  // .cab
136
136
  ];
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;
137
+ function di(e) {
138
+ return si.includes(e.type) ? r.TABLE : e.type.startsWith("text/") || li.includes(e.type) ? r.TEXT : e.type.startsWith("image/") ? r.IMAGE : e.type.startsWith("video/") ? r.VIDEO : e.type.startsWith("audio/") ? r.AUDIO : e.type === "application/pdf" ? r.PDF : ci.includes(e.type) ? r.SLIDES : ri.includes(e.type) ? r.COMPRESSED : r.GENERIC;
139
139
  }
140
- function di(e, a) {
140
+ function mi(e, a) {
141
141
  if (!a)
142
142
  return !0;
143
143
  const t = a.split(",").map((i) => i.trim());
@@ -146,226 +146,226 @@ function di(e, a) {
146
146
  if (e.name.endsWith(i))
147
147
  return !0;
148
148
  } else if (i.endsWith("/*")) {
149
- const p = i.split("/")[0];
150
- if (e.type.startsWith(p))
149
+ const o = i.split("/")[0];
150
+ if (e.type.startsWith(o))
151
151
  return !0;
152
152
  } else if (e.type === i)
153
153
  return !0;
154
154
  return !1;
155
155
  }
156
- function mi(e, a, t) {
157
- const i = new FileReader(), p = e;
158
- if (!di(p.data, a)) {
159
- p.state = y.ERROR, p.errors.push(x.ERROR_TYPE);
156
+ function ui(e, a, t) {
157
+ const i = new FileReader(), o = e;
158
+ if (!mi(o.data, a)) {
159
+ o.state = y.ERROR, o.errors.push(x.ERROR_TYPE);
160
160
  return;
161
161
  }
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 = y.ERROR, p.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
167
- }, c.onerror = function() {
162
+ i.onload = (p) => {
163
+ if (t && o.type === r.IMAGE) {
164
+ const f = new Blob([p.target.result], { type: o.data.type }), s = URL.createObjectURL(f), d = new Image();
165
+ d.onload = function() {
166
+ (d.width > t.width || d.height > t.height) && (o.state = y.ERROR, o.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
167
+ }, d.onerror = function() {
168
168
  URL.revokeObjectURL(s);
169
- }, c.src = s;
169
+ }, d.src = s;
170
170
  }
171
- }, i.onprogress = (o) => {
172
- o.lengthComputable && (p.progress = o.loaded / o.total * 100);
171
+ }, i.onprogress = (p) => {
172
+ p.lengthComputable && (o.progress = p.loaded / p.total * 100);
173
173
  }, i.onloadend = () => {
174
- p.state !== y.ERROR && (p.state = y.SUCCESS), p.progress = null;
174
+ o.state !== y.ERROR && (o.state = y.SUCCESS), o.progress = null;
175
175
  }, i.onerror = () => {
176
- p.state = y.ERROR, p.errors.push(x.ERROR_LOAD), p.progress = null;
177
- }, i.readAsArrayBuffer(p.data);
176
+ o.state = y.ERROR, o.errors.push(x.ERROR_LOAD), o.progress = null;
177
+ }, i.readAsArrayBuffer(o.data);
178
178
  }
179
- let ma = 0;
180
- const ui = {
179
+ let ua = 0;
180
+ const vi = {
181
181
  beforeCreate() {
182
- this.uuid = ma.toString(), ma += 1;
182
+ this.uuid = ua.toString(), ua += 1;
183
183
  }
184
184
  };
185
- var vi = function() {
185
+ var fi = function() {
186
186
  var a = this, t = a._self._c;
187
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: "#001222", 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(
189
- ui,
188
+ }, xi = [], gi = /* @__PURE__ */ g(
190
189
  vi,
191
190
  fi,
191
+ xi,
192
192
  !1,
193
193
  null,
194
194
  null
195
195
  );
196
- const gi = xi.exports;
197
- let ua = 0;
198
- const hi = {
196
+ const hi = gi.exports;
197
+ let va = 0;
198
+ const bi = {
199
199
  beforeCreate() {
200
- this.uuid = ua.toString(), ua += 1;
200
+ this.uuid = va.toString(), va += 1;
201
201
  }
202
202
  };
203
- var bi = function() {
203
+ var _i = function() {
204
204
  var a = this, t = a._self._c;
205
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: "#001222", d: "M13.75 9.58159C14.3412 9.30073 14.75 8.6981 14.75 8V2C14.75 1.0335 13.9665 0.25 13 0.25H3C2.0335 0.25 1.25 1.0335 1.25 2V8C1.25 8.6981 1.65876 9.30073 2.25 9.58159V11C2.25 11.4641 2.43438 11.9092 2.76256 12.2374C2.90555 12.3804 3.07072 12.4961 3.25 12.5811V14C3.25 14.4641 3.43438 14.9092 3.76256 15.2374C4.09075 15.5656 4.53587 15.75 5 15.75H11C11.4641 15.75 11.9092 15.5656 12.2374 15.2374C12.5656 14.9092 12.75 14.4641 12.75 14V12.5811C12.9293 12.4961 13.0945 12.3804 13.2374 12.2374C13.5656 11.9092 13.75 11.4641 13.75 11V9.58159ZM3 1.75H13C13.1381 1.75 13.25 1.86193 13.25 2V8C13.25 8.13807 13.1381 8.25 13 8.25H3C2.86193 8.25 2.75 8.13807 2.75 8V2C2.75 1.86193 2.86193 1.75 3 1.75ZM12.25 9.75V11C12.25 11.0663 12.2237 11.1299 12.1768 11.1768C12.1299 11.2237 12.0663 11.25 12 11.25H4C3.9337 11.25 3.87011 11.2237 3.82322 11.1768C3.77634 11.1299 3.75 11.0663 3.75 11V9.75H12.25ZM11.25 12.75V14C11.25 14.0663 11.2237 14.1299 11.1768 14.1768C11.1299 14.2237 11.0663 14.25 11 14.25H5C4.9337 14.25 4.87011 14.2237 4.82322 14.1768C4.77634 14.1299 4.75 14.0663 4.75 14V12.75H11.25Z" } })]);
206
- }, _i = [], wi = /* @__PURE__ */ g(
207
- hi,
206
+ }, wi = [], yi = /* @__PURE__ */ g(
208
207
  bi,
209
208
  _i,
209
+ wi,
210
210
  !1,
211
211
  null,
212
212
  null
213
213
  );
214
- const yi = wi.exports;
215
- let va = 0;
216
- const Ci = {
214
+ const Ci = yi.exports;
215
+ let fa = 0;
216
+ const ki = {
217
217
  beforeCreate() {
218
- this.uuid = va.toString(), va += 1;
218
+ this.uuid = fa.toString(), fa += 1;
219
219
  }
220
220
  };
221
- var ki = function() {
221
+ var Ri = function() {
222
222
  var a = this, t = a._self._c;
223
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: "#001222", d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z" } })]);
224
- }, Ri = [], Ei = /* @__PURE__ */ g(
225
- Ci,
224
+ }, Ei = [], ji = /* @__PURE__ */ g(
226
225
  ki,
227
226
  Ri,
227
+ Ei,
228
228
  !1,
229
229
  null,
230
230
  null
231
231
  );
232
- const ji = Ei.exports;
233
- let fa = 0;
234
- const zi = {
232
+ const zi = ji.exports;
233
+ let xa = 0;
234
+ const Ii = {
235
235
  beforeCreate() {
236
- this.uuid = fa.toString(), fa += 1;
236
+ this.uuid = xa.toString(), xa += 1;
237
237
  }
238
238
  };
239
- var Ii = function() {
239
+ var $i = function() {
240
240
  var a = this, t = a._self._c;
241
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: "#001222", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), t("path", { attrs: { fill: "#001222", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), t("path", { attrs: { fill: "#001222", 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
- }, $i = [], Fi = /* @__PURE__ */ g(
243
- zi,
242
+ }, Fi = [], Ti = /* @__PURE__ */ g(
244
243
  Ii,
245
244
  $i,
245
+ Fi,
246
246
  !1,
247
247
  null,
248
248
  null
249
249
  );
250
- const Ti = Fi.exports;
251
- let xa = 0;
252
- const Li = {
250
+ const Li = Ti.exports;
251
+ let ga = 0;
252
+ const Si = {
253
253
  beforeCreate() {
254
- this.uuid = xa.toString(), xa += 1;
254
+ this.uuid = ga.toString(), ga += 1;
255
255
  }
256
256
  };
257
- var Si = function() {
257
+ var Mi = function() {
258
258
  var a = this, t = a._self._c;
259
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: "#001222", 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,
260
+ }, Di = [], Vi = /* @__PURE__ */ g(
262
261
  Si,
263
262
  Mi,
263
+ Di,
264
264
  !1,
265
265
  null,
266
266
  null
267
267
  );
268
- const Vi = Di.exports;
269
- let ga = 0;
270
- const Bi = {
268
+ const Bi = Vi.exports;
269
+ let ha = 0;
270
+ const Oi = {
271
271
  beforeCreate() {
272
- this.uuid = ga.toString(), ga += 1;
272
+ this.uuid = ha.toString(), ha += 1;
273
273
  }
274
274
  };
275
- var Oi = function() {
275
+ var Hi = function() {
276
276
  var a = this, t = a._self._c;
277
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: "#001222", 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: "#001222", 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,
278
+ }, qi = [], Ui = /* @__PURE__ */ g(
280
279
  Oi,
281
280
  Hi,
281
+ qi,
282
282
  !1,
283
283
  null,
284
284
  null
285
285
  );
286
- const Ui = qi.exports;
287
- let ha = 0;
288
- const Ai = {
286
+ const Ai = Ui.exports;
287
+ let ba = 0;
288
+ const Zi = {
289
289
  beforeCreate() {
290
- this.uuid = ha.toString(), ha += 1;
290
+ this.uuid = ba.toString(), ba += 1;
291
291
  }
292
292
  };
293
- var Zi = function() {
293
+ var Pi = function() {
294
294
  var a = this, t = a._self._c;
295
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: "#001222", "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(
297
- Ai,
296
+ }, Ni = [], Wi = /* @__PURE__ */ g(
298
297
  Zi,
299
298
  Pi,
299
+ Ni,
300
300
  !1,
301
301
  null,
302
302
  null
303
303
  );
304
- const Wi = Ni.exports;
305
- let ba = 0;
306
- const Gi = {
304
+ const Gi = Wi.exports;
305
+ let _a = 0;
306
+ const Yi = {
307
307
  beforeCreate() {
308
- this.uuid = ba.toString(), ba += 1;
308
+ this.uuid = _a.toString(), _a += 1;
309
309
  }
310
310
  };
311
- var Yi = function() {
311
+ var Xi = function() {
312
312
  var a = this, t = a._self._c;
313
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: "#001222", 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: "#001222", 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: "#001222", 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,
314
+ }, Ji = [], Ki = /* @__PURE__ */ g(
316
315
  Yi,
317
316
  Xi,
317
+ Ji,
318
318
  !1,
319
319
  null,
320
320
  null
321
321
  );
322
- const Ki = Ji.exports;
323
- let _a = 0;
324
- const Qi = {
322
+ const Qi = Ki.exports;
323
+ let wa = 0;
324
+ const at = {
325
325
  beforeCreate() {
326
- this.uuid = _a.toString(), _a += 1;
326
+ this.uuid = wa.toString(), wa += 1;
327
327
  }
328
328
  };
329
- var at = function() {
329
+ var it = function() {
330
330
  var a = this, t = a._self._c;
331
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: "#001222", 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,
332
+ }, tt = [], et = /* @__PURE__ */ g(
334
333
  at,
335
334
  it,
335
+ tt,
336
336
  !1,
337
337
  null,
338
338
  null
339
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
340
+ const nt = et.exports, ot = {
341
+ [r.AUDIO]: Qi,
342
+ [r.COMPRESSED]: Bi,
343
+ [r.GENERIC]: hi,
344
+ [r.IMAGE]: Ai,
345
+ [r.PDF]: zi,
346
+ [r.SLIDES]: Ci,
347
+ [r.TABLE]: nt,
348
+ [r.TEXT]: Li,
349
+ [r.VIDEO]: Gi
350
350
  };
351
- function ot(e) {
352
- return nt[e.type];
353
- }
354
351
  function pt(e) {
352
+ return ot[e.type];
353
+ }
354
+ function lt(e) {
355
355
  switch (e.type) {
356
- case d.COMPRESSED:
357
- case d.GENERIC:
356
+ case r.COMPRESSED:
357
+ case r.GENERIC:
358
358
  return "grey";
359
- case d.PDF:
360
- case d.SLIDES:
359
+ case r.PDF:
360
+ case r.SLIDES:
361
361
  return "orange";
362
- case d.TEXT:
362
+ case r.TEXT:
363
363
  return "blue";
364
364
  default:
365
365
  return "green";
366
366
  }
367
367
  }
368
- const lt = {
368
+ const st = {
369
369
  "en-US": {
370
370
  cancel: "Cancel",
371
371
  fileExceedsSizeLimit: "File exceeds size limit",
@@ -384,76 +384,76 @@ const lt = {
384
384
  remove: "Remover",
385
385
  retry: "Tentar novamente"
386
386
  }
387
- }, st = {
387
+ }, ct = {
388
388
  name: "file-uploader-file-card",
389
- i18n: { messages: lt }
390
- }, ct = /* @__PURE__ */ W({
391
- ...st,
389
+ i18n: { messages: st }
390
+ }, rt = /* @__PURE__ */ W({
391
+ ...ct,
392
392
  props: {
393
393
  file: null,
394
394
  supportedFileTypes: { default: null }
395
395
  },
396
396
  emits: ["cancel", "remove", "retry"],
397
397
  setup(e, { expose: a, emit: t }) {
398
- const i = e, p = 1200, { t: o, locale: f } = G(), s = h(null), c = h(null), u = h(null), k = w("file-errors-section"), D = w("cancel-file-button"), m = w("remove-file-button"), T = w("retry-file-button"), C = h(i.file.state === y.SUCCESS), V = r(() => URL.createObjectURL(i.file.data)), I = r(() => i.file.state === y.ERROR), Y = r(() => i.file.errors.includes(x.ERROR_LOAD)), X = r(() => i.file.errors.includes(x.ERROR_SIZE)), L = r(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), R = r(() => i.file.errors.includes(x.ERROR_TYPE)), E = r(() => i.file.state === y.LOADING), B = r(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), J = r(() => ka(f.value, i.file.data.size)), j = h(), O = h(), S = oi(j, O), K = r(() => ({
399
- "b-file-uploader-file-card--error": I.value
400
- })), H = r(() => ({
401
- [`b-file-uploader-file-card__icon--${pt(i.file)}`]: C.value,
402
- "b-file-uploader-file-card__icon--error": I.value
403
- })), Q = r(() => E.value ? Pa : I.value ? ya : C.value ? ot(i.file) : Ha);
398
+ const i = e, o = 1200, { t: p, locale: f } = G(), s = h(null), d = h(null), m = h(null), C = w("file-errors-section"), I = w("cancel-file-button"), V = w("remove-file-button"), u = w("retry-file-button"), k = h(i.file.state === y.SUCCESS), $ = c(() => URL.createObjectURL(i.file.data)), E = c(() => i.file.state === y.ERROR), Y = c(() => i.file.errors.includes(x.ERROR_LOAD)), X = c(() => i.file.errors.includes(x.ERROR_SIZE)), J = c(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), L = c(() => i.file.errors.includes(x.ERROR_TYPE)), R = c(() => i.file.state === y.LOADING), F = c(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), B = c(() => Ra(f.value, i.file.data.size)), O = h(), j = h(), K = pi(O, j), S = c(() => ({
399
+ "b-file-uploader-file-card--error": E.value
400
+ })), Q = c(() => ({
401
+ [`b-file-uploader-file-card__icon--${lt(i.file)}`]: k.value,
402
+ "b-file-uploader-file-card__icon--error": E.value
403
+ })), H = c(() => R.value ? Na : E.value ? Ca : k.value ? pt(i.file) : qa);
404
404
  ta(
405
405
  () => i.file.state,
406
- (q) => {
407
- if (q === y.SUCCESS && !C.value) {
406
+ (M) => {
407
+ if (M === y.SUCCESS && !k.value) {
408
408
  const U = setTimeout(() => {
409
- C.value = !0, clearTimeout(U);
410
- }, p);
409
+ k.value = !0, clearTimeout(U);
410
+ }, o);
411
411
  }
412
412
  }
413
413
  );
414
- function $() {
415
- if (u.value) {
416
- u.value.$el.focus();
414
+ function q() {
415
+ if (m.value) {
416
+ m.value.$el.focus();
417
417
  return;
418
418
  }
419
419
  if (s.value) {
420
420
  s.value.$el.focus();
421
421
  return;
422
422
  }
423
- if (c.value) {
424
- c.value.$el.focus();
423
+ if (d.value) {
424
+ d.value.$el.focus();
425
425
  return;
426
426
  }
427
427
  }
428
428
  return a({
429
- focus: $
430
- }), { __sfc: !0, ICON_TIMER: p, props: i, emit: t, t: o, locale: f, removeFileButtonRef: s, cancelFileButtonRef: c, retryFileButtonRef: u, fileErrorsSectionId: k, cancelFileButtonId: D, removeFileButtonId: m, retryFileButtonId: T, showFileIcon: C, downloadUrl: V, hasError: I, hasLoadError: Y, hasSizeError: X, hasDimensionsError: L, hasTypeError: R, isLoading: E, progressLabel: B, sizeLabel: J, fileNameRef: j, fileNameContainerRef: O, isFileNameTruncated: S, conditionalClasses: K, conditionalIconClasses: H, fileUploaderIcon: Q, focus: $, isVue2: Ca, FileUploaderFileCardAnimation: ni, BinIcon: Oa, CrossIcon: qa, RefreshIcon: Ua, vBentoTooltipDirective: Na, BentoButton: Aa, BentoLink: Za, BentoTypography: na };
429
+ focus: q
430
+ }), { __sfc: !0, ICON_TIMER: o, props: i, emit: t, t: p, locale: f, removeFileButtonRef: s, cancelFileButtonRef: d, retryFileButtonRef: m, fileErrorsSectionId: C, cancelFileButtonId: I, removeFileButtonId: V, retryFileButtonId: u, showFileIcon: k, downloadUrl: $, hasError: E, hasLoadError: Y, hasSizeError: X, hasDimensionsError: J, hasTypeError: L, isLoading: R, progressLabel: F, sizeLabel: B, fileNameRef: O, fileNameContainerRef: j, isFileNameTruncated: K, conditionalClasses: S, conditionalIconClasses: Q, fileUploaderIcon: H, focus: q, isVue2: ka, FileUploaderFileCardAnimation: oi, BinIcon: Ha, CrossIcon: Ua, RefreshIcon: Aa, vBentoTooltipDirective: Wa, BentoButton: Za, BentoLink: Pa, BentoTypography: na };
431
431
  }
432
432
  });
433
- var rt = function() {
433
+ var dt = function() {
434
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) {
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(o) {
436
436
  return i.emit("retry");
437
437
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
438
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) {
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(o) {
440
440
  return i.emit("cancel");
441
441
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
442
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) {
443
+ }, proxy: !0 }], null, !1, 1610167681) }) : t(i.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
444
444
  return i.emit("remove");
445
445
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
446
446
  return [t(i.BinIcon, { attrs: { id: i.removeFileButtonId, "svg-title": `${i.t("remove")} - ${a.file.data.name}` } })];
447
447
  }, proxy: !0 }]) })], 1)]);
448
- }, dt = [], mt = /* @__PURE__ */ g(
449
- ct,
448
+ }, mt = [], ut = /* @__PURE__ */ g(
450
449
  rt,
451
450
  dt,
451
+ mt,
452
452
  !1,
453
453
  null,
454
454
  "f3f8a80e"
455
455
  );
456
- const ut = mt.exports, vt = {
456
+ const vt = ut.exports, ft = {
457
457
  "en-US": {
458
458
  maxFileSize: "Max file size: {size}",
459
459
  maxImageDimensions: "Max image dimensions: {width} × {height}px",
@@ -462,10 +462,10 @@ const ut = mt.exports, vt = {
462
462
  maxUpload: "Max upload: {count} file | Max upload: {count} files",
463
463
  supportedFileTypes: "Supported file types: {list}"
464
464
  }
465
- }, ft = {
466
- i18n: { messages: vt }
467
- }, xt = /* @__PURE__ */ W({
468
- ...ft,
465
+ }, xt = {
466
+ i18n: { messages: ft }
467
+ }, gt = /* @__PURE__ */ W({
468
+ ...xt,
469
469
  __name: "file-uploader-restrictions",
470
470
  props: {
471
471
  condensed: { default: null },
@@ -476,38 +476,38 @@ const ut = mt.exports, vt = {
476
476
  supportedFileTypes: { default: null }
477
477
  },
478
478
  setup(e) {
479
- const a = e, { t, tc: i, locale: p } = G(), o = r(() => ({
479
+ const a = e, { t, tc: i, n: o, locale: p } = G(), f = c(() => ({
480
480
  "b-file-uploader-restrictions--condensed": a.condensed,
481
481
  "b-file-uploader-restrictions--disabled": a.disabled
482
482
  }));
483
- function f(c) {
483
+ function s(m) {
484
484
  return {
485
- "b-file-uploader-restrictions--error": c
485
+ "b-file-uploader-restrictions--error": m
486
486
  };
487
487
  }
488
- const s = r(() => {
488
+ const d = c(() => {
489
489
  if (!a.maxDimensions)
490
490
  return null;
491
491
  const {
492
- value: { width: c, height: u }
492
+ value: { width: m, height: C }
493
493
  } = a.maxDimensions;
494
- return c && u ? t("maxImageDimensions", { width: c, height: u }) : c ? t("maxImageWidth", { width: c }) : u ? t("maxImageHeight", { height: u }) : null;
494
+ return m && C ? t("maxImageDimensions", { width: o(m), height: o(C) }) : m ? t("maxImageWidth", { width: o(m) }) : C ? t("maxImageHeight", { height: o(C) }) : null;
495
495
  });
496
- return { __sfc: !0, props: a, t, tc: i, locale: p, conditionalClasses: o, setRestrictionErrorClass: f, maxDimensionsLabel: s, BentoTypography: na, formatFileSize: ka };
496
+ return { __sfc: !0, props: a, t, tc: i, n: o, locale: p, conditionalClasses: f, setRestrictionErrorClass: s, maxDimensionsLabel: d, BentoTypography: na, formatFileSize: Ra };
497
497
  }
498
498
  });
499
- var gt = function() {
499
+ var ht = function() {
500
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,
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, { count: i.n(a.maxCount.value) })) + " ")]) : a._e()], 1);
502
+ }, bt = [], _t = /* @__PURE__ */ g(
504
503
  gt,
505
504
  ht,
505
+ bt,
506
506
  !1,
507
507
  null,
508
- "3c1d05d1"
508
+ "c49d2e15"
509
509
  );
510
- const _t = bt.exports, Ra = {
510
+ const wt = _t.exports, Ea = {
511
511
  "application/prs.cww": ["cww"],
512
512
  "application/prs.xsf+xml": ["xsf"],
513
513
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1206,8 +1206,8 @@ const _t = bt.exports, Ra = {
1206
1206
  "video/x-smv": ["smv"],
1207
1207
  "x-conference/x-cooltalk": ["ice"]
1208
1208
  };
1209
- Object.freeze(Ra);
1210
- const Ea = {
1209
+ Object.freeze(Ea);
1210
+ const ja = {
1211
1211
  "application/andrew-inset": ["ez"],
1212
1212
  "application/appinstaller": ["appinstaller"],
1213
1213
  "application/applixware": ["aw"],
@@ -1559,31 +1559,31 @@ const Ea = {
1559
1559
  "video/quicktime": ["qt", "mov"],
1560
1560
  "video/webm": ["webm"]
1561
1561
  };
1562
- Object.freeze(Ea);
1562
+ Object.freeze(ja);
1563
1563
  var _ = function(e, a, t, i) {
1564
1564
  if (t === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
1565
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
1566
  return t === "m" ? i : t === "a" ? i.call(e) : i ? i.value : a.get(e);
1567
- }, F, M, z;
1568
- class wt {
1567
+ }, T, D, z;
1568
+ class yt {
1569
1569
  constructor(...a) {
1570
- F.set(this, /* @__PURE__ */ new Map()), M.set(this, /* @__PURE__ */ new Map()), z.set(this, /* @__PURE__ */ new Map());
1570
+ T.set(this, /* @__PURE__ */ new Map()), D.set(this, /* @__PURE__ */ new Map()), z.set(this, /* @__PURE__ */ new Map());
1571
1571
  for (const t of a)
1572
1572
  this.define(t);
1573
1573
  }
1574
1574
  define(a, t = !1) {
1575
- for (let [i, p] of Object.entries(a)) {
1576
- i = i.toLowerCase(), p = p.map((s) => s.toLowerCase()), _(this, z, "f").has(i) || _(this, z, "f").set(i, /* @__PURE__ */ new Set());
1577
- const o = _(this, z, "f").get(i);
1575
+ for (let [i, o] of Object.entries(a)) {
1576
+ i = i.toLowerCase(), o = o.map((s) => s.toLowerCase()), _(this, z, "f").has(i) || _(this, z, "f").set(i, /* @__PURE__ */ new Set());
1577
+ const p = _(this, z, "f").get(i);
1578
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 && _(this, M, "f").set(i, s), f = !1, c)
1579
+ for (let s of o) {
1580
+ const d = s.startsWith("*");
1581
+ if (s = d ? s.slice(1) : s, p == null || p.add(s), f && _(this, D, "f").set(i, s), f = !1, d)
1582
1582
  continue;
1583
- const u = _(this, F, "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
- _(this, F, "f").set(s, i);
1583
+ const m = _(this, T, "f").get(s);
1584
+ if (m && m != i && !t)
1585
+ throw new Error(`"${i} -> ${s}" conflicts with "${m} -> ${s}". Pass \`force=true\` to override this definition.`);
1586
+ _(this, T, "f").set(s, i);
1587
1587
  }
1588
1588
  }
1589
1589
  return this;
@@ -1591,12 +1591,12 @@ class wt {
1591
1591
  getType(a) {
1592
1592
  if (typeof a != "string")
1593
1593
  return 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 : _(this, F, "f").get(i) ?? null;
1594
+ const t = a.replace(/^.*[/\\]/, "").toLowerCase(), i = t.replace(/^.*\./, "").toLowerCase(), o = t.length < a.length;
1595
+ return !(i.length < t.length - 1) && o ? null : _(this, T, "f").get(i) ?? null;
1596
1596
  }
1597
1597
  getExtension(a) {
1598
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 && _(this, M, "f").get(a.trim().toLowerCase())) ?? null);
1599
+ return typeof a != "string" ? null : (a = (t = a == null ? void 0 : a.split) == null ? void 0 : t.call(a, ";")[0], (a && _(this, D, "f").get(a.trim().toLowerCase())) ?? null);
1600
1600
  }
1601
1601
  getAllExtensions(a) {
1602
1602
  return typeof a != "string" ? null : _(this, z, "f").get(a.toLowerCase()) ?? null;
@@ -1611,23 +1611,23 @@ class wt {
1611
1611
  }
1612
1612
  _getTestState() {
1613
1613
  return {
1614
- types: _(this, F, "f"),
1615
- extensions: _(this, M, "f")
1614
+ types: _(this, T, "f"),
1615
+ extensions: _(this, D, "f")
1616
1616
  };
1617
1617
  }
1618
1618
  }
1619
- F = /* @__PURE__ */ new WeakMap(), M = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap();
1620
- const ja = new wt(Ea, Ra)._freeze();
1621
- function yt(e) {
1622
- return e.includes("/") ? `.${ja.getExtension(e).toUpperCase()}` : e.toUpperCase();
1623
- }
1619
+ T = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap();
1620
+ const za = new yt(ja, Ea)._freeze();
1624
1621
  function Ct(e) {
1622
+ return e.includes("/") ? `.${za.getExtension(e).toUpperCase()}` : e.toUpperCase();
1623
+ }
1624
+ function kt(e) {
1625
1625
  const { locale: a, t } = G();
1626
- return { supportedFileTypeList: r(() => {
1627
- const p = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1628
- return e != null && e.value ? p.format(
1629
- e.value.split(",").map((o) => {
1630
- switch (o.trim()) {
1626
+ return { supportedFileTypeList: c(() => {
1627
+ const o = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1628
+ return e != null && e.value ? o.format(
1629
+ e.value.split(",").map((p) => {
1630
+ switch (p.trim()) {
1631
1631
  case "audio/*":
1632
1632
  return t("audioFiles");
1633
1633
  case "image/*":
@@ -1635,13 +1635,13 @@ function Ct(e) {
1635
1635
  case "video/*":
1636
1636
  return t("videoFiles");
1637
1637
  default:
1638
- return yt(o);
1638
+ return Ct(p);
1639
1639
  }
1640
1640
  })
1641
1641
  ) : null;
1642
1642
  }) };
1643
1643
  }
1644
- const kt = {
1644
+ const Rt = {
1645
1645
  "en-US": {
1646
1646
  audioFiles: "audio files",
1647
1647
  browseFiles: "Browse files",
@@ -1654,10 +1654,10 @@ const kt = {
1654
1654
  youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1655
1655
  }
1656
1656
  };
1657
- function Rt(e) {
1658
- return ja.getType(e) ?? e;
1657
+ function Et(e) {
1658
+ return za.getType(e) ?? e;
1659
1659
  }
1660
- function Et({ maxCount: e, accept: a }) {
1660
+ function jt({ maxCount: e, accept: a }) {
1661
1661
  const t = ea({
1662
1662
  invalidTypes: !1,
1663
1663
  partiallyInvalidTypes: !1,
@@ -1665,34 +1665,34 @@ function Et({ maxCount: e, accept: a }) {
1665
1665
  }), i = ea({
1666
1666
  dragging: !1,
1667
1667
  error: !1
1668
- }), p = r(() => a.value ? a.value.split(",").map((c) => Rt(c.trim().toLocaleLowerCase())) : void 0);
1669
- function o() {
1668
+ }), o = c(() => a.value ? a.value.split(",").map((d) => Et(d.trim().toLocaleLowerCase())) : void 0);
1669
+ function p() {
1670
1670
  i.dragging = !1, i.error = !1, t.invalidTypes = !1, t.partiallyInvalidTypes = !1, t.maxCountOverflow = !1;
1671
1671
  }
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)
1672
+ function f(s, d) {
1673
+ if (i.dragging = !0, (!d.dataTransfer.types.includes("Files") || s > e.value) && (t.maxCountOverflow = !0, i.error = !0), !o.value)
1674
1674
  return;
1675
- let u = 0;
1676
- for (const k of c.dataTransfer.items)
1677
- p.value.includes(k.type) && u++;
1678
- if (u === 0) {
1675
+ let m = 0;
1676
+ for (const C of d.dataTransfer.items)
1677
+ o.value.includes(C.type) && m++;
1678
+ if (m === 0) {
1679
1679
  i.error = !0, t.invalidTypes = !0;
1680
1680
  return;
1681
1681
  }
1682
- !t.invalidTypes && u !== c.dataTransfer.items.length && (i.error = !0, t.partiallyInvalidTypes = !0);
1682
+ !t.invalidTypes && m !== d.dataTransfer.items.length && (i.error = !0, t.partiallyInvalidTypes = !0);
1683
1683
  }
1684
1684
  return {
1685
1685
  dragState: i,
1686
1686
  dragErrors: t,
1687
- resetDragState: o,
1687
+ resetDragState: p,
1688
1688
  onDragEnterValidations: f
1689
1689
  };
1690
1690
  }
1691
- const jt = {
1691
+ const zt = {
1692
1692
  model: { prop: "modelValue" },
1693
- i18n: { messages: kt }
1694
- }, zt = /* @__PURE__ */ W({
1695
- ...jt,
1693
+ i18n: { messages: Rt }
1694
+ }, It = /* @__PURE__ */ W({
1695
+ ...zt,
1696
1696
  __name: "file-uploader",
1697
1697
  props: {
1698
1698
  accept: { default: null },
@@ -1711,87 +1711,87 @@ const jt = {
1711
1711
  },
1712
1712
  emits: ["change", "input", "update:modelValue", "error:upload"],
1713
1713
  setup(e, { emit: a }) {
1714
- const t = e, { t: i, tc: p } = G();
1715
- function o(n) {
1714
+ const t = e, { t: i, tc: o, n: p } = G();
1715
+ function f(n) {
1716
1716
  return !!n && typeof n.length == "number" && typeof n.item == "function";
1717
1717
  }
1718
- wa(() => {
1719
- o(t.modelValue) || Ba(
1718
+ ya(() => {
1719
+ f(t.modelValue) || Oa(
1720
1720
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1721
1721
  "Use FileList instead.",
1722
1722
  "2.0.0"
1723
1723
  );
1724
1724
  });
1725
- const { supportedFileTypeList: f } = Ct(ia(t, "accept")), s = w("browse-button"), c = w("custom-text"), u = w("drop-files-text"), k = w("comma-text"), D = w("file-uploader-restrictions"), m = h(null), T = h([]), C = h(null), V = h(null), I = w("input"), Y = w("input-error"), X = r(() => {
1726
- const n = t.condensed ? "" : `${u} ${k}`, l = t.description ? `${c} ${k}` : "", v = `${D} ${k}`;
1727
- return `${n} ${l} ${v} ${s}`;
1728
- }), { dragState: L, dragErrors: R, resetDragState: E, onDragEnterValidations: B } = Et({
1725
+ const { supportedFileTypeList: s } = kt(ia(t, "accept")), d = w("browse-button"), m = w("custom-text"), C = w("drop-files-text"), I = w("comma-text"), V = w("file-uploader-restrictions"), u = h(null), k = h([]), $ = h(null), E = h(null), Y = w("input"), X = w("input-error"), J = c(() => {
1726
+ const n = t.condensed ? "" : `${C} ${I}`, l = t.description ? `${m} ${I}` : "", v = `${V} ${I}`;
1727
+ return `${n} ${l} ${v} ${d}`;
1728
+ }), { dragState: L, dragErrors: R, resetDragState: F, onDragEnterValidations: B } = jt({
1729
1729
  accept: ia(t, "accept"),
1730
1730
  maxCount: ia(t, "maxCount")
1731
- }), J = r(() => {
1731
+ }), O = c(() => {
1732
1732
  var n, l, v;
1733
1733
  return {
1734
1734
  condensed: t.condensed,
1735
1735
  disabled: t.disabled,
1736
1736
  maxCount: S.value ? {
1737
1737
  value: t.maxCount,
1738
- error: R.maxCountOverflow || U.value
1738
+ error: R.maxCountOverflow || oa.value
1739
1739
  } : null,
1740
1740
  maxDimensions: t.maxDimensions ? {
1741
1741
  value: t.maxDimensions,
1742
- error: (n = m.value) == null ? void 0 : n.some((b) => b.errors.includes(x.ERROR_DIMENSIONS))
1742
+ error: (n = u.value) == null ? void 0 : n.some((b) => b.errors.includes(x.ERROR_DIMENSIONS))
1743
1743
  } : null,
1744
1744
  maxSize: t.maxSize ? {
1745
1745
  value: t.maxSize,
1746
- error: (l = m.value) == null ? void 0 : l.some((b) => b.errors.includes(x.ERROR_SIZE))
1746
+ error: (l = u.value) == null ? void 0 : l.some((b) => b.errors.includes(x.ERROR_SIZE))
1747
1747
  } : null,
1748
- supportedFileTypes: f.value ? {
1749
- value: f.value,
1750
- error: R.invalidTypes || R.partiallyInvalidTypes || ((v = m.value) == null ? void 0 : v.some((b) => b.errors.includes(x.ERROR_TYPE)))
1748
+ supportedFileTypes: s.value ? {
1749
+ value: s.value,
1750
+ error: R.invalidTypes || R.partiallyInvalidTypes || ((v = u.value) == null ? void 0 : v.some((b) => b.errors.includes(x.ERROR_TYPE)))
1751
1751
  } : null
1752
1752
  };
1753
- }), j = h(), O = r(() => ({
1753
+ }), j = h(), K = c(() => ({
1754
1754
  [`b-file-uploader--${N.DISABLED}`]: t.disabled,
1755
1755
  [`b-file-uploader--${N.DRAG_OVER}`]: L.dragging,
1756
- [`b-file-uploader--${N.ERROR}`]: q.value,
1756
+ [`b-file-uploader--${N.ERROR}`]: U.value,
1757
1757
  "b-file-uploader--condensed": t.condensed
1758
- })), S = r(() => t.maxCount > 1), K = r(() => {
1758
+ })), S = c(() => t.maxCount > 1), Q = c(() => {
1759
1759
  var n;
1760
- return t.maxCount && ((n = m.value) == null ? void 0 : n.length) >= t.maxCount;
1761
- }), H = r(() => {
1760
+ return t.maxCount && ((n = u.value) == null ? void 0 : n.length) >= t.maxCount;
1761
+ }), H = c(() => {
1762
1762
  var n;
1763
- return (n = m.value) == null ? void 0 : n.some((l) => l.state === "loading");
1764
- }), Q = (n) => (l) => {
1765
- T.value[n] = l;
1763
+ return (n = u.value) == null ? void 0 : n.some((l) => l.state === "loading");
1764
+ }), q = (n) => (l) => {
1765
+ k.value[n] = l;
1766
1766
  };
1767
- function $(n) {
1767
+ function M(n) {
1768
1768
  if (n) {
1769
- la(n), sa(n);
1770
- const l = ca(n);
1769
+ sa(n), ca(n);
1770
+ const l = ra(n);
1771
1771
  a("change", l), a("update:modelValue", l), a("input", l);
1772
1772
  } else
1773
1773
  a("change"), a("update:modelValue"), a("input");
1774
1774
  }
1775
- const q = r(() => !!t.errorMessage || L.error), U = r(() => {
1775
+ const U = c(() => !!t.errorMessage || L.error), oa = c(() => {
1776
1776
  var n;
1777
- return ((n = m.value) == null ? void 0 : n.length) > t.maxCount;
1778
- }), oa = h(!1), pa = r(() => {
1777
+ return ((n = u.value) == null ? void 0 : n.length) > t.maxCount;
1778
+ }), pa = h(!1), la = c(() => {
1779
1779
  var n;
1780
- return (n = m.value) == null ? void 0 : n.some((l) => l.state === "error");
1780
+ return (n = u.value) == null ? void 0 : n.some((l) => l.state === "error");
1781
1781
  });
1782
- ta(pa, (n) => {
1782
+ ta(la, (n) => {
1783
1783
  H.value || a("error:upload", n);
1784
1784
  });
1785
1785
  async function A() {
1786
1786
  var n;
1787
- if (await Da(), m.value.length === t.maxCount) {
1788
- (n = T.value[0]) == null || n.focus();
1787
+ if (await Va(), u.value.length === t.maxCount) {
1788
+ (n = k.value[0]) == null || n.focus();
1789
1789
  return;
1790
1790
  }
1791
- V.value.focus();
1791
+ E.value.focus();
1792
1792
  }
1793
- async function za(n) {
1794
- m.value = m.value.filter(({ id: l }) => l !== n.id), await A(), $(m.value);
1793
+ async function Ia(n) {
1794
+ u.value = u.value.filter(({ id: l }) => l !== n.id), await A(), M(u.value);
1795
1795
  }
1796
1796
  function Z(n) {
1797
1797
  const l = ea({
@@ -1800,114 +1800,114 @@ const jt = {
1800
1800
  errors: [],
1801
1801
  progress: null,
1802
1802
  state: y.LOADING,
1803
- type: ri(n)
1803
+ type: di(n)
1804
1804
  });
1805
- return mi(l, t.accept, t.maxDimensions), l;
1805
+ return ui(l, t.accept, t.maxDimensions), l;
1806
1806
  }
1807
- function Ia(n) {
1807
+ function $a(n) {
1808
1808
  var l;
1809
- ((l = m.value) == null ? void 0 : l.length) === t.maxCount && n.preventDefault();
1809
+ ((l = u.value) == null ? void 0 : l.length) === t.maxCount && n.preventDefault();
1810
1810
  }
1811
1811
  async function aa(n) {
1812
1812
  if (t.maxCount === 1 && n.length > t.maxCount) {
1813
- P(), E();
1813
+ P(), F();
1814
1814
  return;
1815
1815
  }
1816
- S.value ? m.value = [...m.value || [], ...Array.from(n).map((l) => Z(l))] : (m.value = [Z(n[0])], await A()), $(m.value);
1816
+ S.value ? u.value = [...u.value || [], ...Array.from(n).map((l) => Z(l))] : (u.value = [Z(n[0])], await A()), M(u.value);
1817
1817
  }
1818
- function $a(n) {
1818
+ function Fa(n) {
1819
1819
  var v, b;
1820
1820
  if (t.disabled)
1821
1821
  return;
1822
1822
  j.value = n.target;
1823
- const l = (((v = n.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((b = m.value) == null ? void 0 : b.length) ?? 0);
1823
+ const l = (((v = n.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((b = u.value) == null ? void 0 : b.length) ?? 0);
1824
1824
  B(l, n);
1825
1825
  }
1826
1826
  function P() {
1827
1827
  j.value = null;
1828
1828
  }
1829
- function Fa(n) {
1830
- j.value === n.target && (P(), E());
1831
- }
1832
1829
  function Ta(n) {
1830
+ j.value === n.target && (P(), F());
1831
+ }
1832
+ function La(n) {
1833
1833
  n.preventDefault(), t.disabled && (n.dataTransfer.dropEffect = "none");
1834
1834
  }
1835
- async function La(n) {
1835
+ async function Sa(n) {
1836
1836
  var l;
1837
- t.disabled || (!R.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && aa(n.dataTransfer.files), P(), E());
1837
+ t.disabled || (!R.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && aa(n.dataTransfer.files), P(), F());
1838
1838
  }
1839
- async function Sa() {
1839
+ async function Ma() {
1840
1840
  var n;
1841
- (n = C.value.files) != null && n.length && aa(C.value.files), C.value.value = "", await A();
1841
+ (n = $.value.files) != null && n.length && aa($.value.files), $.value.value = "", await A();
1842
1842
  }
1843
1843
  ta(
1844
1844
  () => t.modelValue,
1845
1845
  (n) => {
1846
- if (n && o(n)) {
1846
+ if (n && f(n)) {
1847
1847
  const l = n, v = Array.from(l);
1848
- m.value = v.map((b) => Z(b));
1848
+ u.value = v.map((b) => Z(b));
1849
1849
  }
1850
1850
  },
1851
1851
  { immediate: !0 }
1852
1852
  );
1853
- function la(n) {
1853
+ function sa(n) {
1854
1854
  const l = t.maxCount && n.length <= t.maxCount;
1855
- oa.value = !l;
1855
+ pa.value = !l;
1856
1856
  }
1857
- function sa(n) {
1857
+ function ca(n) {
1858
1858
  t.maxSize && n.forEach((l) => {
1859
1859
  const v = l;
1860
1860
  v.data.size > t.maxSize && (v.state = y.ERROR, v.errors.push(x.ERROR_SIZE));
1861
1861
  });
1862
1862
  }
1863
- function ca(n) {
1863
+ function ra(n) {
1864
1864
  const l = n.filter(
1865
1865
  ({ errors: v }) => !v.includes(x.ERROR_LOAD) && !v.includes(x.ERROR_SIZE)
1866
1866
  );
1867
1867
  if (l.length) {
1868
1868
  const v = new DataTransfer();
1869
- return l.forEach(({ data: b, id: Tt }) => {
1869
+ return l.forEach(({ data: b, id: Lt }) => {
1870
1870
  v.items.add(b);
1871
1871
  }), v.files;
1872
1872
  }
1873
1873
  }
1874
- return { __sfc: !0, t: i, tc: p, emit: a, props: t, isFileList: o, supportedFileTypeList: f, browseFilesButtonId: s, customTextId: c, dropFilesTextId: u, commaTextId: k, fileUploaderRestrictionsId: D, files: m, fileCardRefs: T, inputRef: C, dropAreaRef: V, inputFieldId: I, errorId: Y, fileUploadAriaLabelledBy: X, dragState: L, dragErrors: R, resetDragState: E, onDragEnterValidations: B, fileUploadRestrictionsProps: J, enterTarget: j, conditionalClasses: O, isMultiple: S, hideArea: K, loadingStateExists: H, registerFileCardRef: Q, emitUpdate: $, hasError: q, maxFileCountError: U, maxFileError: oa, hasRestrictionError: pa, resetFocus: A, removeFile: za, processFile: Z, onInputClick: Ia, onFileInput: aa, onDragEnter: $a, resetEnterTarget: P, onDragLeave: Fa, 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 };
1874
+ return { __sfc: !0, t: i, tc: o, n: p, emit: a, props: t, isFileList: f, supportedFileTypeList: s, browseFilesButtonId: d, customTextId: m, dropFilesTextId: C, commaTextId: I, fileUploaderRestrictionsId: V, files: u, fileCardRefs: k, inputRef: $, dropAreaRef: E, inputFieldId: Y, errorId: X, fileUploadAriaLabelledBy: J, dragState: L, dragErrors: R, resetDragState: F, onDragEnterValidations: B, fileUploadRestrictionsProps: O, enterTarget: j, conditionalClasses: K, isMultiple: S, hideArea: Q, loadingStateExists: H, registerFileCardRef: q, emitUpdate: M, hasError: U, maxFileCountError: oa, maxFileError: pa, hasRestrictionError: la, resetFocus: A, removeFile: Ia, processFile: Z, onInputClick: $a, onFileInput: aa, onDragEnter: Fa, resetEnterTarget: P, onDragLeave: Ta, onDragOver: La, onDrop: Sa, onInputChange: Ma, verifyFileCount: sa, verifyFileSize: ca, convertToFileList: ra, UploadIcon: ai, WarningFilledIcon: Ca, BentoAlert: Ba, BentoTypography: na, ErrorMessage: Ya, FieldLabel: Ga, FileUploaderFileCard: vt, FileUploaderRestrictions: wt };
1875
1875
  }
1876
1876
  });
1877
- var It = function() {
1878
- var p;
1877
+ var $t = function() {
1878
+ var o;
1879
1879
  var a = this, t = a._self._c, i = a._self._setupProxy;
1880
- 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) {
1880
+ 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(p) {
1881
1881
  return i.inputRef.click();
1882
- }, dragenter: function(o) {
1883
- return o.stopPropagation(), o.preventDefault(), i.onDragEnter.apply(null, arguments);
1884
- }, dragleave: function(o) {
1885
- return o.stopPropagation(), o.preventDefault(), i.onDragLeave.apply(null, arguments);
1886
- }, drop: function(o) {
1887
- return o.stopPropagation(), o.preventDefault(), i.onDrop.apply(null, arguments);
1888
- }, dragover: i.onDragOver, "!keydown": [function(o) {
1889
- return !o.type.indexOf("key") && a._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : (o.preventDefault(), i.inputRef.click());
1890
- }, function(o) {
1891
- return !o.type.indexOf("key") && a._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), i.inputRef.click());
1882
+ }, dragenter: function(p) {
1883
+ return p.stopPropagation(), p.preventDefault(), i.onDragEnter.apply(null, arguments);
1884
+ }, dragleave: function(p) {
1885
+ return p.stopPropagation(), p.preventDefault(), i.onDragLeave.apply(null, arguments);
1886
+ }, drop: function(p) {
1887
+ return p.stopPropagation(), p.preventDefault(), i.onDrop.apply(null, arguments);
1888
+ }, dragover: i.onDragOver, "!keydown": [function(p) {
1889
+ return !p.type.indexOf("key") && a._k(p.keyCode, "enter", 13, p.key, "Enter") ? null : (p.preventDefault(), i.inputRef.click());
1890
+ }, function(p) {
1891
+ return !p.type.indexOf("key") && a._k(p.keyCode, "space", 32, p.key, [" ", "Spacebar"]) ? null : (p.preventDefault(), i.inputRef.click());
1892
1892
  }] } }, [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() {
1893
- return [a._v(" " + a._s(i.t("youHaveExceededTheMaximum", { count: i.props.maxCount })) + " ")];
1894
- }, 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) {
1895
- 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) {
1896
- return i.removeFile(o);
1893
+ return [a._v(" " + a._s(i.t("youHaveExceededTheMaximum", { count: i.n(i.props.maxCount) })) + " ")];
1894
+ }, proxy: !0 }], null, !1, 2252760379) }, [a._v(" " + a._s(i.t("tooManyFiles")) + " ")]) : a._e(), t("div", { directives: [{ name: "show", rawName: "v-show", value: (o = i.files) == null ? void 0 : o.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(i.files, function(p, f) {
1895
+ return t(i.FileUploaderFileCard, { key: p.id, ref: i.registerFileCardRef(f), refInFor: !0, attrs: { file: p, "supported-file-types": i.supportedFileTypeList }, on: { cancel: function(s) {
1896
+ return i.removeFile(p);
1897
1897
  }, remove: function(s) {
1898
- return i.removeFile(o);
1898
+ return i.removeFile(p);
1899
1899
  } } });
1900
1900
  }), 1)], 1);
1901
- }, $t = [], Ft = /* @__PURE__ */ g(
1902
- zt,
1901
+ }, Ft = [], Tt = /* @__PURE__ */ g(
1903
1902
  It,
1904
1903
  $t,
1904
+ Ft,
1905
1905
  !1,
1906
1906
  null,
1907
- "84ad7516"
1907
+ "c4d4fb22"
1908
1908
  );
1909
- const Jt = Ft.exports;
1909
+ const Kt = Tt.exports;
1910
1910
  export {
1911
- Jt as f
1911
+ Kt as f
1912
1912
  };
1913
- //# sourceMappingURL=file-uploader.DyjdNLOa.js.map
1913
+ //# sourceMappingURL=file-uploader.BPslxGI8.js.map