@adyen/bento-vue3 1.89.2 → 1.91.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 (283) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +767 -522
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/card.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-picker.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/draggable-handle.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/error-message.css +1 -1
  20. package/dist/assets/field-label.css +1 -0
  21. package/dist/assets/file-uploader.css +1 -1
  22. package/dist/assets/filter-bar.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/input-field.css +1 -1
  25. package/dist/assets/input-time.css +1 -0
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/secondary-nav.css +1 -1
  29. package/dist/assets/sidepanel.css +1 -1
  30. package/dist/assets/use-cached-selected-values.css +1 -1
  31. package/dist/button.js +1 -1
  32. package/dist/card.js +1 -1
  33. package/dist/checkbox.js +2 -2
  34. package/dist/chip.js +1 -1
  35. package/dist/chunks/accordion-item.CZIxxSsH.js +141 -0
  36. package/dist/chunks/{accordion-item.BX1KrLMl.js.map → accordion-item.CZIxxSsH.js.map} +1 -1
  37. package/dist/chunks/action-bar.BPS3wPde.js +336 -0
  38. package/dist/chunks/{action-bar.DLMaIUWW.js.map → action-bar.BPS3wPde.js.map} +1 -1
  39. package/dist/chunks/ai-tag.D7shWB_x.js +137 -0
  40. package/dist/chunks/{ai-tag.DK63ExDc.js.map → ai-tag.D7shWB_x.js.map} +1 -1
  41. package/dist/chunks/{alert.C_8-VNi_.js → alert.CFWN2E0b.js} +86 -79
  42. package/dist/chunks/{alert.C_8-VNi_.js.map → alert.CFWN2E0b.js.map} +1 -1
  43. package/dist/chunks/anchor-scroller.DSfXK6vK.js +214 -0
  44. package/dist/chunks/{anchor-scroller.NhjLDBZI.js.map → anchor-scroller.DSfXK6vK.js.map} +1 -1
  45. package/dist/chunks/{base-modal.C2-JyHC_.js → base-modal.BxcS7Pao.js} +132 -125
  46. package/dist/chunks/{base-modal.C2-JyHC_.js.map → base-modal.BxcS7Pao.js.map} +1 -1
  47. package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js → button-actions-with-menu.BKdNXYgU.js} +2 -2
  48. package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js.map → button-actions-with-menu.BKdNXYgU.js.map} +1 -1
  49. package/dist/chunks/{button-actions.cMQWyZne.js → button-actions.DLiM8KZL.js} +203 -189
  50. package/dist/chunks/{button-actions.cMQWyZne.js.map → button-actions.DLiM8KZL.js.map} +1 -1
  51. package/dist/chunks/{calendar.DcCqkSNJ.js → calendar.qm-kFNQv.js} +460 -428
  52. package/dist/chunks/calendar.qm-kFNQv.js.map +1 -0
  53. package/dist/chunks/card.BEChcEqg.js +223 -0
  54. package/dist/chunks/{card.CoxQ_L0w.js.map → card.BEChcEqg.js.map} +1 -1
  55. package/dist/chunks/{checkbox-group.96n9Cc3W.js → checkbox-group.i3W8WO-7.js} +4 -4
  56. package/dist/chunks/{checkbox-group.96n9Cc3W.js.map → checkbox-group.i3W8WO-7.js.map} +1 -1
  57. package/dist/chunks/{checkbox.C6ATh8f5.js → checkbox.BPrymcRl.js} +68 -61
  58. package/dist/chunks/{checkbox.C6ATh8f5.js.map → checkbox.BPrymcRl.js.map} +1 -1
  59. package/dist/chunks/chip.DFldnqfz.js +72 -0
  60. package/dist/chunks/{chip.CdgpQyXN.js.map → chip.DFldnqfz.js.map} +1 -1
  61. package/dist/chunks/{click-outside.BPylIosK.js → click-outside.B0whuTUU.js} +2 -2
  62. package/dist/chunks/{click-outside.BPylIosK.js.map → click-outside.B0whuTUU.js.map} +1 -1
  63. package/dist/chunks/{code-snippet.DgAuuZF5.js → code-snippet.BG5ZmCrb.js} +113 -106
  64. package/dist/chunks/{code-snippet.DgAuuZF5.js.map → code-snippet.BG5ZmCrb.js.map} +1 -1
  65. package/dist/chunks/{controls-group.C7hOE1F4.js → controls-group.DqRpF9bh.js} +2 -2
  66. package/dist/chunks/{controls-group.C7hOE1F4.js.map → controls-group.DqRpF9bh.js.map} +1 -1
  67. package/dist/chunks/copy.CL893i9-.js +114 -0
  68. package/dist/chunks/{copy.C2kQ1PbI.js.map → copy.CL893i9-.js.map} +1 -1
  69. package/dist/chunks/{country.CaGc08Ps.js → country.15m_ATbO.js} +3 -3
  70. package/dist/chunks/{country.CaGc08Ps.js.map → country.15m_ATbO.js.map} +1 -1
  71. package/dist/chunks/country.types.6a7xxZIR.js +26 -0
  72. package/dist/chunks/{country.types.DjpMGz7a.js.map → country.types.6a7xxZIR.js.map} +1 -1
  73. package/dist/chunks/{dashboard-section.UafHRkMa.js → dashboard-section.C7mfUXOl.js} +3 -3
  74. package/dist/chunks/{dashboard-section.UafHRkMa.js.map → dashboard-section.C7mfUXOl.js.map} +1 -1
  75. package/dist/chunks/{dashed-underline.CcDV2Aks.js → dashed-underline.B50DIXjK.js} +3 -3
  76. package/dist/chunks/{dashed-underline.CcDV2Aks.js.map → dashed-underline.B50DIXjK.js.map} +1 -1
  77. package/dist/chunks/{data-grid-template.CnC4TQvk.js → data-grid-template.CKdZb6EN.js} +4 -4
  78. package/dist/chunks/{data-grid-template.CnC4TQvk.js.map → data-grid-template.CKdZb6EN.js.map} +1 -1
  79. package/dist/chunks/data-grid.DvMe72LK.js +4247 -0
  80. package/dist/chunks/data-grid.DvMe72LK.js.map +1 -0
  81. package/dist/chunks/date-picker.CidHad1p.js +269 -0
  82. package/dist/chunks/date-picker.CidHad1p.js.map +1 -0
  83. package/dist/chunks/date-range-picker.c5OwESTS.js +1027 -0
  84. package/dist/chunks/date-range-picker.c5OwESTS.js.map +1 -0
  85. package/dist/chunks/dialog-page.Bh-7RAwX.js +163 -0
  86. package/dist/chunks/{dialog-page.COfKqjT-.js.map → dialog-page.Bh-7RAwX.js.map} +1 -1
  87. package/dist/chunks/{directive.Dpivxq_t.js → directive.C8kY-ZW-.js} +2 -2
  88. package/dist/chunks/{directive.Dpivxq_t.js.map → directive.C8kY-ZW-.js.map} +1 -1
  89. package/dist/chunks/draggable-handle.CySRx1tb.js +171 -0
  90. package/dist/chunks/draggable-handle.CySRx1tb.js.map +1 -0
  91. package/dist/chunks/{dropdown-tag.Ysrac5GN.js → dropdown-tag.wcJ6Mgqe.js} +5 -5
  92. package/dist/chunks/{dropdown-tag.Ysrac5GN.js.map → dropdown-tag.wcJ6Mgqe.js.map} +1 -1
  93. package/dist/chunks/dropdown.DHoL50gV.js +1214 -0
  94. package/dist/chunks/dropdown.DHoL50gV.js.map +1 -0
  95. package/dist/chunks/error-message.Dyvrw6ZB.js +55 -0
  96. package/dist/chunks/error-message.Dyvrw6ZB.js.map +1 -0
  97. package/dist/chunks/field-label.DZYFjFgr.js +111 -0
  98. package/dist/chunks/field-label.DZYFjFgr.js.map +1 -0
  99. package/dist/chunks/{file-uploader.Bfd1uUMe.js → file-uploader.Dbg3vfZ_.js} +606 -584
  100. package/dist/chunks/{file-uploader.Bfd1uUMe.js.map → file-uploader.Dbg3vfZ_.js.map} +1 -1
  101. package/dist/chunks/{filter-bar.CkAjLQol.js → filter-bar.Dt-cU3zy.js} +1559 -1471
  102. package/dist/chunks/filter-bar.Dt-cU3zy.js.map +1 -0
  103. package/dist/chunks/fixed-scroller.yVsaQzy5.js +157 -0
  104. package/dist/chunks/{fixed-scroller.DtkaGyMD.js.map → fixed-scroller.yVsaQzy5.js.map} +1 -1
  105. package/dist/chunks/{footer-actions.BcYSsoUg.js → footer-actions.CYBdKDPo.js} +2 -2
  106. package/dist/chunks/{footer-actions.BcYSsoUg.js.map → footer-actions.CYBdKDPo.js.map} +1 -1
  107. package/dist/chunks/form-layout-title.B3ePK3yi.js +253 -0
  108. package/dist/chunks/form-layout-title.B3ePK3yi.js.map +1 -0
  109. package/dist/chunks/{header-meta.Bym9AlQm.js → header-meta.COak4D8-.js} +98 -84
  110. package/dist/chunks/{header-meta.Bym9AlQm.js.map → header-meta.COak4D8-.js.map} +1 -1
  111. package/dist/chunks/{header-with-views.Djba6iol.js → header-with-views.DqioajcO.js} +1091 -1070
  112. package/dist/chunks/{header-with-views.Djba6iol.js.map → header-with-views.DqioajcO.js.map} +1 -1
  113. package/dist/chunks/{header.o-7SyHtU.js → header.C21yzWrk.js} +3 -3
  114. package/dist/chunks/{header.o-7SyHtU.js.map → header.C21yzWrk.js.map} +1 -1
  115. package/dist/chunks/{info-icon.BUala_wq.js → info-icon.B3MDsjMu.js} +2 -2
  116. package/dist/chunks/{info-icon.BUala_wq.js.map → info-icon.B3MDsjMu.js.map} +1 -1
  117. package/dist/chunks/input-field-password.DyUphhxB.js +353 -0
  118. package/dist/chunks/{input-field-password.DZytmp_p.js.map → input-field-password.DyUphhxB.js.map} +1 -1
  119. package/dist/chunks/{input-field-phone-number.CxblrmaU.js → input-field-phone-number.BXVaC5ra.js} +12 -5
  120. package/dist/chunks/{input-field-phone-number.CxblrmaU.js.map → input-field-phone-number.BXVaC5ra.js.map} +1 -1
  121. package/dist/chunks/input-field.DkUFvIWt.js +326 -0
  122. package/dist/chunks/input-field.DkUFvIWt.js.map +1 -0
  123. package/dist/chunks/input-time.WI_qdwJc.js +122 -0
  124. package/dist/chunks/input-time.WI_qdwJc.js.map +1 -0
  125. package/dist/chunks/{inspector.B9k4tJWe.js → inspector.DMhKNW1K.js} +70 -63
  126. package/dist/chunks/{inspector.B9k4tJWe.js.map → inspector.DMhKNW1K.js.map} +1 -1
  127. package/dist/chunks/{list-item.DO5uULke.js → list-item.BHvXpqaS.js} +2 -2
  128. package/dist/chunks/{list-item.DO5uULke.js.map → list-item.BHvXpqaS.js.map} +1 -1
  129. package/dist/chunks/{listbox-option-tag.Cvplth7d.js → listbox-option-tag.CVxaZqbc.js} +2 -2
  130. package/dist/chunks/{listbox-option-tag.Cvplth7d.js.map → listbox-option-tag.CVxaZqbc.js.map} +1 -1
  131. package/dist/chunks/{modal-fullscreen.CuKVyTWb.js → modal-fullscreen.c6QphYQo.js} +54 -47
  132. package/dist/chunks/{modal-fullscreen.CuKVyTWb.js.map → modal-fullscreen.c6QphYQo.js.map} +1 -1
  133. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js → modal.vue_vue_type_script_setup_true_lang.ImqHKH-g.js} +48 -41
  134. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map → modal.vue_vue_type_script_setup_true_lang.ImqHKH-g.js.map} +1 -1
  135. package/dist/chunks/on-click-outside.BgIzQ2G1.js +108 -0
  136. package/dist/chunks/on-click-outside.BgIzQ2G1.js.map +1 -0
  137. package/dist/chunks/{pagination.dpVc6Yt0.js → pagination.Cu85Lqms.js} +150 -138
  138. package/dist/chunks/{pagination.dpVc6Yt0.js.map → pagination.Cu85Lqms.js.map} +1 -1
  139. package/dist/chunks/{promo-banner.BzveHNOI.js → promo-banner.-H4r_cwj.js} +39 -32
  140. package/dist/chunks/{promo-banner.BzveHNOI.js.map → promo-banner.-H4r_cwj.js.map} +1 -1
  141. package/dist/chunks/{radio-group.Cuiq4mxy.js → radio-group.CfMr1fmW.js} +4 -4
  142. package/dist/chunks/{radio-group.Cuiq4mxy.js.map → radio-group.CfMr1fmW.js.map} +1 -1
  143. package/dist/chunks/{rich-text-editor.DLMiT4f5.js → rich-text-editor.Bf9EWzNk.js} +421 -413
  144. package/dist/chunks/{rich-text-editor.DLMiT4f5.js.map → rich-text-editor.Bf9EWzNk.js.map} +1 -1
  145. package/dist/chunks/search-bar.p6kHCCvT.js +114 -0
  146. package/dist/chunks/{search-bar.CsFyP0_I.js.map → search-bar.p6kHCCvT.js.map} +1 -1
  147. package/dist/chunks/secondary-nav.CaxiyVaO.js +285 -0
  148. package/dist/chunks/secondary-nav.CaxiyVaO.js.map +1 -0
  149. package/dist/chunks/{segmented-control.KeQ5kuR1.js → segmented-control.CQWOO1-J.js} +2 -2
  150. package/dist/chunks/{segmented-control.KeQ5kuR1.js.map → segmented-control.CQWOO1-J.js.map} +1 -1
  151. package/dist/chunks/{selection-card-group.XM11Kk-4.js → selection-card-group.58XZj_SJ.js} +3 -3
  152. package/dist/chunks/{selection-card-group.XM11Kk-4.js.map → selection-card-group.58XZj_SJ.js.map} +1 -1
  153. package/dist/chunks/{sidepanel.b2QZ1Jsx.js → sidepanel.CAVhSs-O.js} +56 -49
  154. package/dist/chunks/{sidepanel.b2QZ1Jsx.js.map → sidepanel.CAVhSs-O.js.map} +1 -1
  155. package/dist/chunks/step.AsX2jAeL.js +268 -0
  156. package/dist/chunks/{step.BlwoLfdw.js.map → step.AsX2jAeL.js.map} +1 -1
  157. package/dist/chunks/structured-list-item.CgJR_ufh.js +112 -0
  158. package/dist/chunks/{structured-list-item.e-8kRleh.js.map → structured-list-item.CgJR_ufh.js.map} +1 -1
  159. package/dist/chunks/{summary-grid.types.CcvOC03H.js → summary-grid.types.CDithi8M.js} +5 -5
  160. package/dist/chunks/{summary-grid.types.CcvOC03H.js.map → summary-grid.types.CDithi8M.js.map} +1 -1
  161. package/dist/chunks/{tab.mR5uUSdp.js → tab.9nyNZiGw.js} +2 -2
  162. package/dist/chunks/{tab.mR5uUSdp.js.map → tab.9nyNZiGw.js.map} +1 -1
  163. package/dist/chunks/{tag.DujMVFh-.js → tag.YN2r-Pp3.js} +2 -2
  164. package/dist/chunks/{tag.DujMVFh-.js.map → tag.YN2r-Pp3.js.map} +1 -1
  165. package/dist/chunks/textarea.JGXAlpx9.js +257 -0
  166. package/dist/chunks/{textarea.CHV6Z8nt.js.map → textarea.JGXAlpx9.js.map} +1 -1
  167. package/dist/chunks/timeline-item.BNFPpQz1.js +433 -0
  168. package/dist/chunks/{timeline-item.CaGcRZbt.js.map → timeline-item.BNFPpQz1.js.map} +1 -1
  169. package/dist/chunks/{toast.C2oehk9P.js → toast.De4MTkiH.js} +64 -57
  170. package/dist/chunks/{toast.C2oehk9P.js.map → toast.De4MTkiH.js.map} +1 -1
  171. package/dist/chunks/{tooltip.CbADa_4p.js → tooltip.DHfG2aRt.js} +40 -38
  172. package/dist/chunks/tooltip.DHfG2aRt.js.map +1 -0
  173. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js → tutorial.vue_vue_type_script_setup_true_lang.C1cF-adv.js} +120 -113
  174. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map → tutorial.vue_vue_type_script_setup_true_lang.C1cF-adv.js.map} +1 -1
  175. package/dist/chunks/{use-cached-selected-values.ClEJRFAd.js → use-cached-selected-values.Bx8uuky9.js} +436 -410
  176. package/dist/chunks/use-cached-selected-values.Bx8uuky9.js.map +1 -0
  177. package/dist/chunks/{use-country-items.D_3LBe2I.js → use-country-items.Dp7X1r2e.js} +3 -3
  178. package/dist/chunks/{use-country-items.D_3LBe2I.js.map → use-country-items.Dp7X1r2e.js.map} +1 -1
  179. package/dist/chunks/{use-country-phon-code.DoqTGkNr.js → use-country-phon-code.BzcawGpE.js} +107 -104
  180. package/dist/chunks/{use-country-phon-code.DoqTGkNr.js.map → use-country-phon-code.BzcawGpE.js.map} +1 -1
  181. package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js → use-date-input-formatter.BOuXpRb-.js} +2 -2
  182. package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js.map → use-date-input-formatter.BOuXpRb-.js.map} +1 -1
  183. package/dist/chunks/use-touch-device.DTqFAbXh.js +11 -0
  184. package/dist/chunks/use-touch-device.DTqFAbXh.js.map +1 -0
  185. package/dist/click-outside.js +1 -1
  186. package/dist/code-snippet.js +1 -1
  187. package/dist/country.js +3 -3
  188. package/dist/dashboard-template.js +1 -1
  189. package/dist/dashed-underline.js +1 -1
  190. package/dist/data-grid-template.js +1 -1
  191. package/dist/data-grid.js +1 -1
  192. package/dist/date-picker.js +2 -2
  193. package/dist/date-range-picker.js +2 -2
  194. package/dist/draggable.js +1383 -0
  195. package/dist/draggable.js.map +1 -0
  196. package/dist/dropdown.js +10 -11
  197. package/dist/dropdown.js.map +1 -1
  198. package/dist/file-uploader.js +1 -1
  199. package/dist/filter-bar.js +1 -1
  200. package/dist/form-layout.js +1 -1
  201. package/dist/header-with-views.js +1 -1
  202. package/dist/header.js +1 -1
  203. package/dist/index.js +284 -279
  204. package/dist/index.js.map +1 -1
  205. package/dist/info-icon.js +1 -1
  206. package/dist/input-field-password.js +1 -1
  207. package/dist/input-field-phone-number.js +1 -1
  208. package/dist/input-field.js +1 -1
  209. package/dist/input-time.js +5 -0
  210. package/dist/input-time.js.map +1 -0
  211. package/dist/inspector.js +1 -1
  212. package/dist/internal.js +26 -25
  213. package/dist/internal.js.map +1 -1
  214. package/dist/list.js +1 -1
  215. package/dist/menu.js +1 -1
  216. package/dist/modal-fullscreen.js +1 -1
  217. package/dist/modal.js +2 -2
  218. package/dist/pagination.js +1 -1
  219. package/dist/popover.js +1 -1
  220. package/dist/promo-banner.js +1 -1
  221. package/dist/radio-group.js +1 -1
  222. package/dist/rich-text-editor.js +1 -1
  223. package/dist/search-bar.js +2 -2
  224. package/dist/secondary-nav.js +1 -1
  225. package/dist/segmented-control.js +1 -1
  226. package/dist/selection-card.js +1 -1
  227. package/dist/sidepanel.js +1 -1
  228. package/dist/stepper.js +1 -1
  229. package/dist/structured-list.js +1 -1
  230. package/dist/summary-grid.js +1 -1
  231. package/dist/tabs.js +1 -1
  232. package/dist/tag.js +1 -1
  233. package/dist/textarea.js +1 -1
  234. package/dist/timeline.js +1 -1
  235. package/dist/toast.js +1 -1
  236. package/dist/tutorial.js +1 -1
  237. package/dist/web-types.json +1 -1
  238. package/package.json +7 -10
  239. package/dist/assets/dropdown-default-textbox.css +0 -1
  240. package/dist/chunks/accordion-item.BX1KrLMl.js +0 -134
  241. package/dist/chunks/action-bar.DLMaIUWW.js +0 -329
  242. package/dist/chunks/ai-tag.DK63ExDc.js +0 -130
  243. package/dist/chunks/anchor-scroller.NhjLDBZI.js +0 -207
  244. package/dist/chunks/calendar.DcCqkSNJ.js.map +0 -1
  245. package/dist/chunks/card.CoxQ_L0w.js +0 -216
  246. package/dist/chunks/chip.CdgpQyXN.js +0 -65
  247. package/dist/chunks/copy.C2kQ1PbI.js +0 -107
  248. package/dist/chunks/country.types.DjpMGz7a.js +0 -19
  249. package/dist/chunks/data-grid.BSIXLRm7.js +0 -4014
  250. package/dist/chunks/data-grid.BSIXLRm7.js.map +0 -1
  251. package/dist/chunks/date-picker.dlzZ_-5f.js +0 -231
  252. package/dist/chunks/date-picker.dlzZ_-5f.js.map +0 -1
  253. package/dist/chunks/date-range-picker.DC6CK0As.js +0 -995
  254. package/dist/chunks/date-range-picker.DC6CK0As.js.map +0 -1
  255. package/dist/chunks/debounce.DUTu11PS.js +0 -10
  256. package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
  257. package/dist/chunks/dialog-page.COfKqjT-.js +0 -156
  258. package/dist/chunks/dropdown-default-textbox.bq9AlGzJ.js +0 -408
  259. package/dist/chunks/dropdown-default-textbox.bq9AlGzJ.js.map +0 -1
  260. package/dist/chunks/dropdown.MhmX1P9o.js +0 -799
  261. package/dist/chunks/dropdown.MhmX1P9o.js.map +0 -1
  262. package/dist/chunks/error-message.DCgo8q20.js +0 -143
  263. package/dist/chunks/error-message.DCgo8q20.js.map +0 -1
  264. package/dist/chunks/filter-bar.CkAjLQol.js.map +0 -1
  265. package/dist/chunks/fixed-scroller.DtkaGyMD.js +0 -150
  266. package/dist/chunks/form-layout-title.DW5Kg1rh.js +0 -230
  267. package/dist/chunks/form-layout-title.DW5Kg1rh.js.map +0 -1
  268. package/dist/chunks/input-field-password.DZytmp_p.js +0 -346
  269. package/dist/chunks/input-field.CfU0ZKtL.js +0 -315
  270. package/dist/chunks/input-field.CfU0ZKtL.js.map +0 -1
  271. package/dist/chunks/on-click-outside.ZUMLlxE_.js +0 -90
  272. package/dist/chunks/on-click-outside.ZUMLlxE_.js.map +0 -1
  273. package/dist/chunks/search-bar.CsFyP0_I.js +0 -107
  274. package/dist/chunks/secondary-nav.CLBdq98c.js +0 -138
  275. package/dist/chunks/secondary-nav.CLBdq98c.js.map +0 -1
  276. package/dist/chunks/step.BlwoLfdw.js +0 -259
  277. package/dist/chunks/structured-list-item.e-8kRleh.js +0 -105
  278. package/dist/chunks/textarea.CHV6Z8nt.js +0 -247
  279. package/dist/chunks/timeline-item.CaGcRZbt.js +0 -419
  280. package/dist/chunks/tooltip.CbADa_4p.js.map +0 -1
  281. package/dist/chunks/use-cached-selected-values.ClEJRFAd.js.map +0 -1
  282. package/dist/draggable-handle.js +0 -155
  283. package/dist/draggable-handle.js.map +0 -1
@@ -1,114 +1,115 @@
1
- import { openBlock as s, createElementBlock as g, mergeProps as D, toDisplayString as x, createCommentVNode as u, createElementVNode as r, defineComponent as ca, unref as t, createBlock as y, Transition as di, withCtx as w, renderSlot as ja, TransitionGroup as ri, ref as F, onUnmounted as mi, onMounted as Aa, computed as f, watch as wa, normalizeClass as Z, createVNode as U, resolveDynamicComponent as ui, withDirectives as Ua, createTextVNode as $, reactive as ya, toRef as ha, withModifiers as J, withKeys as Ea, Fragment as Ra, renderList as vi, vShow as fi, nextTick as xi } from "vue";
1
+ import { openBlock as s, createElementBlock as g, mergeProps as D, toDisplayString as x, createCommentVNode as u, createElementVNode as c, defineComponent as ri, unref as t, createBlock as w, Transition as de, withCtx as y, renderSlot as $i, TransitionGroup as ce, ref as S, onUnmounted as me, onMounted as Bi, computed as f, watch as yi, normalizeClass as Z, createVNode as U, resolveDynamicComponent as ue, withDirectives as Ui, createTextVNode as C, reactive as wi, toRef as hi, withModifiers as X, withKeys as Ti, Fragment as _i, renderList as ve, vShow as fe, nextTick as xe } from "vue";
2
2
  /* empty css */
3
- import { _ as S } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
- import { W as Za } from "./warning-filled.BzyK_mMj.js";
5
- import { B as gi } from "./alert.C_8-VNi_.js";
6
- import { B as R, d as hi } from "./typography.B3J6_tYk.js";
7
- import { u as da } from "./index.B875RXHM.js";
8
- import { g as I } from "./generate-uid.DBWe4g6T.js";
9
- import { u as bi } from "./form-field.D_2g7vaP.js";
10
- import { i as Na } from "./index.CWuzEfiV.js";
11
- import { B as wi } from "./bin.Cude0fiB.js";
12
- import { C as yi } from "./checkmark-circle-fill.DugX5fbG.js";
13
- import { C as ki } from "./cross.CCHdi6v3.js";
14
- import { R as Ci } from "./refresh.C31KClfx.js";
15
- import { b as $i } from "./tooltip.CbADa_4p.js";
16
- import { B as ba } from "./button.DWF7FSIw.js";
17
- import { B as zi } from "./link.D6D6YGsN.js";
18
- import { B as _i } from "./loading-indicator.BPol9I84.js";
19
- import { F as ji, E as Ei } from "./error-message.DCgo8q20.js";
3
+ import { _ as j } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
+ import { W as Zi } from "./warning-filled.BzyK_mMj.js";
5
+ import { B as ge } from "./alert.CFWN2E0b.js";
6
+ import { B as _, d as he } from "./typography.B3J6_tYk.js";
7
+ import { u as di } from "./index.B875RXHM.js";
8
+ import { g as R } from "./generate-uid.DBWe4g6T.js";
9
+ import { u as be } from "./form-field.D_2g7vaP.js";
10
+ import { i as Ni } from "./index.CWuzEfiV.js";
11
+ import { B as ye } from "./bin.Cude0fiB.js";
12
+ import { C as we } from "./checkmark-circle-fill.DugX5fbG.js";
13
+ import { C as ke } from "./cross.CCHdi6v3.js";
14
+ import { R as ze } from "./refresh.C31KClfx.js";
15
+ import { b as Ce } from "./tooltip.DHfG2aRt.js";
16
+ import { B as bi } from "./button.DWF7FSIw.js";
17
+ import { B as Ee } from "./link.D6D6YGsN.js";
18
+ import { B as Fe } from "./loading-indicator.BPol9I84.js";
19
+ import { F as $e } from "./field-label.DZYFjFgr.js";
20
+ import { E as Te } from "./error-message.Dyvrw6ZB.js";
20
21
  import "../assets/file-uploader.css";
21
- let Ia = 0;
22
- const Ri = {
22
+ let Ri = 0;
23
+ const _e = {
23
24
  beforeCreate() {
24
- this.uuid = Ia.toString(), Ia += 1;
25
+ this.uuid = Ri.toString(), Ri += 1;
25
26
  }
26
- }, Ii = { key: 0 };
27
- function Fi(a, i, p, n, o, c) {
28
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
27
+ }, Re = { key: 0 };
28
+ function Se(i, e, l, o, n, r) {
29
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
29
30
  class: "ui-assets-icons-16",
30
31
  xmlns: "http://www.w3.org/2000/svg",
31
32
  width: "16",
32
33
  height: "16",
33
34
  fill: "none"
34
35
  }), [
35
- a.$attrs["svg-title"] ? (s(), g("title", Ii, x(a.$attrs["svg-title"]), 1)) : u("", !0),
36
- i[0] || (i[0] = r("path", {
36
+ i.$attrs["svg-title"] ? (s(), g("title", Re, x(i.$attrs["svg-title"]), 1)) : u("", !0),
37
+ e[0] || (e[0] = c("path", {
37
38
  fill: "#001222",
38
39
  d: "M2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.25H14.75V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V10.25H2.75V12Z"
39
40
  }, null, -1)),
40
- i[1] || (i[1] = r("path", {
41
+ e[1] || (e[1] = c("path", {
41
42
  fill: "#001222",
42
43
  d: "M12.0605 5L11 6.06055L8.75 3.81055V11.75H7.25V3.81055L5 6.06055L3.93945 5L8 0.939453L12.0605 5Z"
43
44
  }, null, -1))
44
45
  ], 16);
45
46
  }
46
- const Si = /* @__PURE__ */ S(Ri, [["render", Fi]]), Li = /* @__PURE__ */ ca({
47
+ const je = /* @__PURE__ */ j(_e, [["render", Se]]), Ie = /* @__PURE__ */ ri({
47
48
  __name: "file-uploader-file-card-animation",
48
49
  props: {
49
50
  name: {},
50
51
  showFileIcon: { type: Boolean }
51
52
  },
52
- setup(a) {
53
- return (i, p) => t(Na) ? (s(), y(di, {
53
+ setup(i) {
54
+ return (e, l) => t(Ni) ? (s(), w(de, {
54
55
  key: 0,
55
- name: i.name,
56
+ name: e.name,
56
57
  mode: "out-in",
57
- css: i.showFileIcon
58
+ css: e.showFileIcon
58
59
  }, {
59
- default: w(() => [
60
- ja(i.$slots, "default")
60
+ default: y(() => [
61
+ $i(e.$slots, "default")
61
62
  ]),
62
63
  _: 3
63
- }, 8, ["name", "css"])) : (s(), y(ri, {
64
+ }, 8, ["name", "css"])) : (s(), w(ce, {
64
65
  key: 1,
65
- name: i.name,
66
- css: i.showFileIcon
66
+ name: e.name,
67
+ css: e.showFileIcon
67
68
  }, {
68
- default: w(() => [
69
- ja(i.$slots, "default")
69
+ default: y(() => [
70
+ $i(e.$slots, "default")
70
71
  ]),
71
72
  _: 3
72
73
  }, 8, ["name", "css"]));
73
74
  }
74
75
  });
75
- function Ti(a, i) {
76
- const p = F(!1);
77
- let n;
78
- function o() {
79
- n && n.disconnect();
76
+ function Le(i, e) {
77
+ const l = S(!1);
78
+ let o;
79
+ function n() {
80
+ o && o.disconnect();
80
81
  }
81
- return mi(() => {
82
- o();
83
- }), Aa(() => {
84
- o(), n = new IntersectionObserver(
85
- (c) => {
86
- p.value = !c[0].isIntersecting;
82
+ return me(() => {
83
+ n();
84
+ }), Bi(() => {
85
+ n(), o = new IntersectionObserver(
86
+ (r) => {
87
+ l.value = !r[0].isIntersecting;
87
88
  },
88
89
  {
89
- root: i.value,
90
+ root: e.value,
90
91
  threshold: 1
91
92
  }
92
- ), n.observe(a.value.$el);
93
- }), p;
93
+ ), o.observe(i.value.$el);
94
+ }), l;
94
95
  }
95
- const Fa = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
96
- function ka(a, i) {
97
- const p = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), Fa.length - 1));
98
- return Intl.NumberFormat(a, {
96
+ const Si = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
97
+ function ki(i, e) {
98
+ const l = Math.max(0, Math.min(Math.floor(Math.log(e) / Math.log(1024)), Si.length - 1));
99
+ return Intl.NumberFormat(i, {
99
100
  style: "unit",
100
- unit: Fa[p]
101
- }).format(i / 1024 ** p);
101
+ unit: Si[l]
102
+ }).format(e / 1024 ** l);
102
103
  }
103
- var M = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(M || {}), E = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(E || {}), sa = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(sa || {}), k = /* @__PURE__ */ ((a) => (a.TABLE = "table", a.IMAGE = "image", a.VIDEO = "video", a.AUDIO = "audio", a.TEXT = "text", a.PDF = "pdf", a.SLIDES = "slides", a.COMPRESSED = "compressed", a.GENERIC = "generic", a))(k || {});
104
- const Mi = [
104
+ var M = /* @__PURE__ */ ((i) => (i.LOADING = "loading", i.SUCCESS = "success", i.ERROR = "error", i))(M || {}), T = /* @__PURE__ */ ((i) => (i.ERROR_SIZE = "error-size", i.ERROR_LOAD = "error-load", i.ERROR_DIMENSIONS = "error-dimensions", i.ERROR_TYPE = "error-type", i))(T || {}), si = /* @__PURE__ */ ((i) => (i.DISABLED = "disabled", i.DRAG_OVER = "drag-over", i.ERROR = "error", i.READONLY = "readonly", i))(si || {}), k = /* @__PURE__ */ ((i) => (i.TABLE = "table", i.IMAGE = "image", i.VIDEO = "video", i.AUDIO = "audio", i.TEXT = "text", i.PDF = "pdf", i.SLIDES = "slides", i.COMPRESSED = "compressed", i.GENERIC = "generic", i))(k || {});
105
+ const Me = [
105
106
  "application/msword",
106
107
  // .doc
107
108
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
108
109
  // .docx
109
110
  "application/rtf"
110
111
  // .rtf
111
- ], Di = [
112
+ ], De = [
112
113
  "application/vnd.ms-excel",
113
114
  // .xls
114
115
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -121,14 +122,14 @@ const Mi = [
121
122
  // .numbers
122
123
  "text/csv"
123
124
  // .csv
124
- ], Vi = [
125
+ ], He = [
125
126
  "application/vnd.ms-powerpoint",
126
127
  // .ppt
127
128
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
128
129
  // .pptx
129
130
  "application/vnd.oasis.opendocument.presentation"
130
131
  // .odp
131
- ], Oi = [
132
+ ], Ve = [
132
133
  "application/zip",
133
134
  // .zip
134
135
  "application/vnd.rar",
@@ -150,104 +151,104 @@ const Mi = [
150
151
  "application/vnd.ms-cab-compressed"
151
152
  // .cab
152
153
  ];
153
- function qi(a) {
154
- return Di.includes(a.type) ? k.TABLE : a.type.startsWith("text/") || Mi.includes(a.type) ? k.TEXT : a.type.startsWith("image/") ? k.IMAGE : a.type.startsWith("video/") ? k.VIDEO : a.type.startsWith("audio/") ? k.AUDIO : a.type === "application/pdf" ? k.PDF : Vi.includes(a.type) ? k.SLIDES : Oi.includes(a.type) ? k.COMPRESSED : k.GENERIC;
154
+ function qe(i) {
155
+ return De.includes(i.type) ? k.TABLE : i.type.startsWith("text/") || Me.includes(i.type) ? k.TEXT : i.type.startsWith("image/") ? k.IMAGE : i.type.startsWith("video/") ? k.VIDEO : i.type.startsWith("audio/") ? k.AUDIO : i.type === "application/pdf" ? k.PDF : He.includes(i.type) ? k.SLIDES : Ve.includes(i.type) ? k.COMPRESSED : k.GENERIC;
155
156
  }
156
- function Pa(a, i) {
157
- if (!i)
157
+ function Pi(i, e) {
158
+ if (!e)
158
159
  return !0;
159
- const p = i.split(",").map((n) => n.trim());
160
- for (const n of p)
161
- if (n.startsWith(".")) {
162
- if (a.name.endsWith(n))
160
+ const l = e.split(",").map((o) => o.trim());
161
+ for (const o of l)
162
+ if (o.startsWith(".")) {
163
+ if (i.name.endsWith(o))
163
164
  return !0;
164
- } else if (n.endsWith("/*")) {
165
- const o = n.split("/")[0];
166
- if (a.type.startsWith(o))
165
+ } else if (o.endsWith("/*")) {
166
+ const n = o.split("/")[0];
167
+ if (i.type.startsWith(n))
167
168
  return !0;
168
- } else if (n.includes("/")) {
169
- if (a.type === n)
169
+ } else if (o.includes("/")) {
170
+ if (i.type === o)
170
171
  return !0;
171
- } else if (a.name.endsWith(`.${n}`))
172
+ } else if (i.name.endsWith(`.${o}`))
172
173
  return !0;
173
174
  return !1;
174
175
  }
175
- function Hi(a, i, p) {
176
- const n = new FileReader(), o = a;
177
- if (!Pa(o.data, i)) {
178
- o.state = M.ERROR, o.errors.push(E.ERROR_TYPE);
176
+ function Ae(i, e, l) {
177
+ const o = new FileReader(), n = i;
178
+ if (!Pi(n.data, e)) {
179
+ n.state = M.ERROR, n.errors.push(T.ERROR_TYPE);
179
180
  return;
180
181
  }
181
- n.onload = (c) => {
182
- if (p && o.type === k.IMAGE) {
183
- const l = new Blob([c.target.result], { type: o.data.type }), m = URL.createObjectURL(l), h = new Image();
182
+ o.onload = (r) => {
183
+ if (l && n.type === k.IMAGE) {
184
+ const p = new Blob([r.target.result], { type: n.data.type }), m = URL.createObjectURL(p), h = new Image();
184
185
  h.onload = function() {
185
- (h.width > p.width || h.height > p.height) && (o.state = M.ERROR, o.errors.push(E.ERROR_DIMENSIONS)), URL.revokeObjectURL(m);
186
+ (h.width > l.width || h.height > l.height) && (n.state = M.ERROR, n.errors.push(T.ERROR_DIMENSIONS)), URL.revokeObjectURL(m);
186
187
  }, h.onerror = function() {
187
188
  URL.revokeObjectURL(m);
188
189
  }, h.src = m;
189
190
  }
190
- }, n.onprogress = (c) => {
191
- c.lengthComputable && (o.progress = c.loaded / c.total * 100);
192
- }, n.onloadend = () => {
193
- o.state !== M.ERROR && (o.state = M.SUCCESS), o.progress = null;
194
- }, n.onerror = () => {
195
- o.state = M.ERROR, o.errors.push(E.ERROR_LOAD), o.progress = null;
196
- }, n.readAsArrayBuffer(o.data);
191
+ }, o.onprogress = (r) => {
192
+ r.lengthComputable && (n.progress = r.loaded / r.total * 100);
193
+ }, o.onloadend = () => {
194
+ n.state !== M.ERROR && (n.state = M.SUCCESS), n.progress = null;
195
+ }, o.onerror = () => {
196
+ n.state = M.ERROR, n.errors.push(T.ERROR_LOAD), n.progress = null;
197
+ }, o.readAsArrayBuffer(n.data);
197
198
  }
198
- let Sa = 0;
199
- const Bi = {
199
+ let ji = 0;
200
+ const Oe = {
200
201
  beforeCreate() {
201
- this.uuid = Sa.toString(), Sa += 1;
202
+ this.uuid = ji.toString(), ji += 1;
202
203
  }
203
- }, Ai = { key: 0 }, Ui = ["clip-path"], Zi = ["id"];
204
- function Ni(a, i, p, n, o, c) {
205
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
204
+ }, Be = { key: 0 }, Ue = ["clip-path"], Ze = ["id"];
205
+ function Ne(i, e, l, o, n, r) {
206
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
206
207
  class: "ui-assets-icons-16",
207
208
  xmlns: "http://www.w3.org/2000/svg",
208
209
  width: "16",
209
210
  height: "16",
210
211
  fill: "none"
211
212
  }), [
212
- a.$attrs["svg-title"] ? (s(), g("title", Ai, x(a.$attrs["svg-title"]), 1)) : u("", !0),
213
- r("g", {
214
- "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")"
215
- }, i[0] || (i[0] = [
216
- r("path", {
213
+ i.$attrs["svg-title"] ? (s(), g("title", Be, x(i.$attrs["svg-title"]), 1)) : u("", !0),
214
+ c("g", {
215
+ "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + i.uuid + ")"
216
+ }, e[0] || (e[0] = [
217
+ c("path", {
217
218
  fill: "#001222",
218
219
  d: "M7.10655 3.02949C8.98948 1.14706 12.0441 1.14675 13.9269 3.02949C15.8095 4.91225 15.8093 7.96692 13.9269 9.84981L11.1564 12.6203L10.0958 11.5598L12.8663 8.78926C14.1629 7.49216 14.1631 5.38701 12.8663 4.09004C11.5694 2.79309 9.46424 2.79339 8.1671 4.09004L2.72667 9.53047C1.95976 10.2976 1.95963 11.5427 2.72667 12.3098C3.49372 13.0766 4.7389 13.0766 5.50597 12.3098L10.9464 6.86934C11.183 6.63224 11.1832 6.24693 10.9464 6.00996C10.7094 5.77301 10.3242 5.77331 10.087 6.00996L4.4962 11.6008L3.43565 10.5402L9.02647 4.94942C9.8494 4.12698 11.1842 4.12668 12.0069 4.94942C12.8296 5.77217 12.8293 7.107 12.0069 7.92989L6.56651 13.3703C5.21366 14.723 3.01896 14.723 1.66612 13.3703C0.313294 12.0175 0.313425 9.82283 1.66612 8.46992L7.10655 3.02949Z"
219
220
  }, null, -1)
220
- ]), 8, Ui),
221
- r("defs", null, [
222
- r("clipPath", {
223
- id: "uia-ui-assets/icons-16-attachment__a" + a.uuid
224
- }, i[1] || (i[1] = [
225
- r("rect", {
221
+ ]), 8, Ue),
222
+ c("defs", null, [
223
+ c("clipPath", {
224
+ id: "uia-ui-assets/icons-16-attachment__a" + i.uuid
225
+ }, e[1] || (e[1] = [
226
+ c("rect", {
226
227
  width: "16",
227
228
  height: "16",
228
229
  fill: "#fff"
229
230
  }, null, -1)
230
- ]), 8, Zi)
231
+ ]), 8, Ze)
231
232
  ])
232
233
  ], 16);
233
234
  }
234
- const Pi = /* @__PURE__ */ S(Bi, [["render", Ni]]);
235
- let La = 0;
236
- const Wi = {
235
+ const Pe = /* @__PURE__ */ j(Oe, [["render", Ne]]);
236
+ let Ii = 0;
237
+ const We = {
237
238
  beforeCreate() {
238
- this.uuid = La.toString(), La += 1;
239
+ this.uuid = Ii.toString(), Ii += 1;
239
240
  }
240
- }, Gi = { key: 0 };
241
- function Yi(a, i, p, n, o, c) {
242
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
241
+ }, Ge = { key: 0 };
242
+ function Ye(i, e, l, o, n, r) {
243
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
243
244
  class: "ui-assets-icons-16",
244
245
  xmlns: "http://www.w3.org/2000/svg",
245
246
  width: "16",
246
247
  height: "16",
247
248
  fill: "none"
248
249
  }), [
249
- a.$attrs["svg-title"] ? (s(), g("title", Gi, x(a.$attrs["svg-title"]), 1)) : u("", !0),
250
- i[0] || (i[0] = r("path", {
250
+ i.$attrs["svg-title"] ? (s(), g("title", Ge, x(i.$attrs["svg-title"]), 1)) : u("", !0),
251
+ e[0] || (e[0] = c("path", {
251
252
  fill: "#001222",
252
253
  "fill-rule": "evenodd",
253
254
  d: "M11 0.25C12.5188 0.25 13.75 1.48122 13.75 3V7C13.75 7.85389 13.3607 8.6167 12.75 9.12109V10C12.75 10.8539 12.3607 11.6167 11.75 12.1211V13C11.75 14.5188 10.5188 15.75 9 15.75H7C5.48122 15.75 4.25 14.5188 4.25 13V12.1211C3.63934 11.6167 3.25 10.8539 3.25 10V9.12109C2.63934 8.6167 2.25 7.85389 2.25 7V3C2.25 1.48122 3.48122 0.25 5 0.25H11ZM10 12.75H6C5.91565 12.75 5.83241 12.7438 5.75 12.7363V13C5.75 13.6904 6.30964 14.25 7 14.25H9C9.69036 14.25 10.25 13.6904 10.25 13V12.7363C10.1676 12.7438 10.0843 12.75 10 12.75ZM11 9.75H5C4.91565 9.75 4.83241 9.74376 4.75 9.73633V10C4.75 10.6904 5.30964 11.25 6 11.25H10C10.6904 11.25 11.25 10.6904 11.25 10V9.73633C11.1676 9.74376 11.0843 9.75 11 9.75ZM5 1.75C4.30964 1.75 3.75 2.30964 3.75 3V7C3.75 7.69036 4.30964 8.25 5 8.25H11C11.6904 8.25 12.25 7.69036 12.25 7V3C12.25 2.30964 11.6904 1.75 11 1.75H5Z",
@@ -255,210 +256,210 @@ function Yi(a, i, p, n, o, c) {
255
256
  }, null, -1))
256
257
  ], 16);
257
258
  }
258
- const Ji = /* @__PURE__ */ S(Wi, [["render", Yi]]);
259
- let Ta = 0;
260
- const Xi = {
259
+ const Xe = /* @__PURE__ */ j(We, [["render", Ye]]);
260
+ let Li = 0;
261
+ const Je = {
261
262
  beforeCreate() {
262
- this.uuid = Ta.toString(), Ta += 1;
263
+ this.uuid = Li.toString(), Li += 1;
263
264
  }
264
- }, Ki = { key: 0 };
265
- function Qi(a, i, p, n, o, c) {
266
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
265
+ }, Ke = { key: 0 };
266
+ function Qe(i, e, l, o, n, r) {
267
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
267
268
  class: "ui-assets-icons-16",
268
269
  xmlns: "http://www.w3.org/2000/svg",
269
270
  width: "16",
270
271
  height: "16",
271
272
  fill: "none"
272
273
  }), [
273
- a.$attrs["svg-title"] ? (s(), g("title", Ki, x(a.$attrs["svg-title"]), 1)) : u("", !0),
274
- i[0] || (i[0] = r("path", {
274
+ i.$attrs["svg-title"] ? (s(), g("title", Ke, x(i.$attrs["svg-title"]), 1)) : u("", !0),
275
+ e[0] || (e[0] = c("path", {
275
276
  fill: "#001222",
276
277
  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"
277
278
  }, null, -1))
278
279
  ], 16);
279
280
  }
280
- const ae = /* @__PURE__ */ S(Xi, [["render", Qi]]);
281
- let Ma = 0;
282
- const ie = {
281
+ const ia = /* @__PURE__ */ j(Je, [["render", Qe]]);
282
+ let Mi = 0;
283
+ const ea = {
283
284
  beforeCreate() {
284
- this.uuid = Ma.toString(), Ma += 1;
285
+ this.uuid = Mi.toString(), Mi += 1;
285
286
  }
286
- }, ee = { key: 0 };
287
- function te(a, i, p, n, o, c) {
288
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
287
+ }, aa = { key: 0 };
288
+ function ta(i, e, l, o, n, r) {
289
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
289
290
  class: "ui-assets-icons-16",
290
291
  xmlns: "http://www.w3.org/2000/svg",
291
292
  width: "16",
292
293
  height: "16",
293
294
  fill: "none"
294
295
  }), [
295
- a.$attrs["svg-title"] ? (s(), g("title", ee, x(a.$attrs["svg-title"]), 1)) : u("", !0),
296
- i[0] || (i[0] = r("path", {
296
+ i.$attrs["svg-title"] ? (s(), g("title", aa, x(i.$attrs["svg-title"]), 1)) : u("", !0),
297
+ e[0] || (e[0] = c("path", {
297
298
  fill: "#001222",
298
299
  d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z"
299
300
  }, null, -1)),
300
- i[1] || (i[1] = r("path", {
301
+ e[1] || (e[1] = c("path", {
301
302
  fill: "#001222",
302
303
  d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z"
303
304
  }, null, -1)),
304
- i[2] || (i[2] = r("path", {
305
+ e[2] || (e[2] = c("path", {
305
306
  fill: "#001222",
306
307
  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"
307
308
  }, null, -1))
308
309
  ], 16);
309
310
  }
310
- const ne = /* @__PURE__ */ S(ie, [["render", te]]);
311
- let Da = 0;
312
- const oe = {
311
+ const oa = /* @__PURE__ */ j(ea, [["render", ta]]);
312
+ let Di = 0;
313
+ const na = {
313
314
  beforeCreate() {
314
- this.uuid = Da.toString(), Da += 1;
315
+ this.uuid = Di.toString(), Di += 1;
315
316
  }
316
- }, pe = { key: 0 };
317
- function le(a, i, p, n, o, c) {
318
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
317
+ }, la = { key: 0 };
318
+ function pa(i, e, l, o, n, r) {
319
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
319
320
  class: "ui-assets-icons-16",
320
321
  xmlns: "http://www.w3.org/2000/svg",
321
322
  width: "16",
322
323
  height: "16",
323
324
  fill: "none"
324
325
  }), [
325
- a.$attrs["svg-title"] ? (s(), g("title", pe, x(a.$attrs["svg-title"]), 1)) : u("", !0),
326
- i[0] || (i[0] = r("path", {
326
+ i.$attrs["svg-title"] ? (s(), g("title", la, x(i.$attrs["svg-title"]), 1)) : u("", !0),
327
+ e[0] || (e[0] = c("path", {
327
328
  fill: "#001222",
328
329
  d: "M1.24609 12V5C1.24609 3.48579 2.48188 2.25 3.99609 2.25H7.30664L10.3066 5.25H11.9961C13.5103 5.25 14.7461 6.48579 14.7461 8V12C14.7461 13.5142 13.5103 14.75 11.9961 14.75H3.99609C2.48188 14.75 1.24609 13.5142 1.24609 12ZM2.74609 12C2.74609 12.6858 3.31031 13.25 3.99609 13.25H11.9961C12.6819 13.25 13.2461 12.6858 13.2461 12V8C13.2461 7.31421 12.6819 6.75 11.9961 6.75H9.68555L6.68555 3.75H3.99609C3.31031 3.75 2.74609 4.31421 2.74609 5V12Z"
329
330
  }, null, -1))
330
331
  ], 16);
331
332
  }
332
- const se = /* @__PURE__ */ S(oe, [["render", le]]);
333
- let Va = 0;
334
- const ce = {
333
+ const sa = /* @__PURE__ */ j(na, [["render", pa]]);
334
+ let Hi = 0;
335
+ const ra = {
335
336
  beforeCreate() {
336
- this.uuid = Va.toString(), Va += 1;
337
+ this.uuid = Hi.toString(), Hi += 1;
337
338
  }
338
- }, de = { key: 0 };
339
- function re(a, i, p, n, o, c) {
340
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
339
+ }, da = { key: 0 };
340
+ function ca(i, e, l, o, n, r) {
341
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
341
342
  class: "ui-assets-icons-16",
342
343
  xmlns: "http://www.w3.org/2000/svg",
343
344
  width: "16",
344
345
  height: "16",
345
346
  fill: "none"
346
347
  }), [
347
- a.$attrs["svg-title"] ? (s(), g("title", de, x(a.$attrs["svg-title"]), 1)) : u("", !0),
348
- i[0] || (i[0] = r("path", {
348
+ i.$attrs["svg-title"] ? (s(), g("title", da, x(i.$attrs["svg-title"]), 1)) : u("", !0),
349
+ e[0] || (e[0] = c("path", {
349
350
  fill: "#001222",
350
351
  d: "M9.74609 3.74805C11.1268 3.74805 12.2461 4.86733 12.2461 6.24805C12.2461 7.62876 11.1268 8.74805 9.74609 8.74805C8.36538 8.74805 7.24609 7.62876 7.24609 6.24805C7.24609 4.86733 8.36538 3.74805 9.74609 3.74805ZM9.74609 5.24805C9.19381 5.24805 8.74609 5.69576 8.74609 6.24805C8.74609 6.80033 9.19381 7.24805 9.74609 7.24805C10.2984 7.24805 10.7461 6.80033 10.7461 6.24805C10.7461 5.69576 10.2984 5.24805 9.74609 5.24805Z"
351
352
  }, null, -1)),
352
- i[1] || (i[1] = r("path", {
353
+ e[1] || (e[1] = c("path", {
353
354
  fill: "#001222",
354
355
  d: "M11.9961 1.24805C13.5149 1.24805 14.7461 2.47926 14.7461 3.99805V11.998C14.7461 13.5168 13.5149 14.748 11.9961 14.748H3.99609C2.47731 14.748 1.24609 13.5168 1.24609 11.998V3.99805C1.24609 2.47926 2.47731 1.24805 3.99609 1.24805H11.9961ZM2.74609 11.3105V11.998C2.74609 12.6884 3.30574 13.248 3.99609 13.248H9.18359L4.99609 9.06055L2.74609 11.3105ZM3.99609 2.74805C3.30574 2.74805 2.74609 3.30769 2.74609 3.99805V9.18945L4.99609 6.93945L11.3047 13.248H11.9961C12.6864 13.248 13.2461 12.6884 13.2461 11.998V3.99805C13.2461 3.30769 12.6865 2.74805 11.9961 2.74805H3.99609Z"
355
356
  }, null, -1))
356
357
  ], 16);
357
358
  }
358
- const me = /* @__PURE__ */ S(ce, [["render", re]]);
359
- let Oa = 0;
360
- const ue = {
359
+ const ma = /* @__PURE__ */ j(ra, [["render", ca]]);
360
+ let Vi = 0;
361
+ const ua = {
361
362
  beforeCreate() {
362
- this.uuid = Oa.toString(), Oa += 1;
363
+ this.uuid = Vi.toString(), Vi += 1;
363
364
  }
364
- }, ve = { key: 0 }, fe = ["clip-path"], xe = ["id"];
365
- function ge(a, i, p, n, o, c) {
366
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
365
+ }, va = { key: 0 }, fa = ["clip-path"], xa = ["id"];
366
+ function ga(i, e, l, o, n, r) {
367
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
367
368
  class: "ui-assets-icons-16",
368
369
  xmlns: "http://www.w3.org/2000/svg",
369
370
  width: "16",
370
371
  height: "16",
371
372
  fill: "none"
372
373
  }), [
373
- a.$attrs["svg-title"] ? (s(), g("title", ve, x(a.$attrs["svg-title"]), 1)) : u("", !0),
374
- r("g", {
374
+ i.$attrs["svg-title"] ? (s(), g("title", va, x(i.$attrs["svg-title"]), 1)) : u("", !0),
375
+ c("g", {
375
376
  fill: "#001222",
376
- "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")"
377
- }, i[0] || (i[0] = [
378
- r("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
379
- r("path", { 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" }, null, -1)
380
- ]), 8, fe),
381
- r("defs", null, [
382
- r("clipPath", {
383
- id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid
384
- }, i[1] || (i[1] = [
385
- r("rect", {
377
+ "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + i.uuid + ")"
378
+ }, e[0] || (e[0] = [
379
+ c("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
380
+ c("path", { 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" }, null, -1)
381
+ ]), 8, fa),
382
+ c("defs", null, [
383
+ c("clipPath", {
384
+ id: "uia-ui-assets/icons-16-play_circle__a" + i.uuid
385
+ }, e[1] || (e[1] = [
386
+ c("rect", {
386
387
  width: "16",
387
388
  height: "16",
388
389
  fill: "#fff"
389
390
  }, null, -1)
390
- ]), 8, xe)
391
+ ]), 8, xa)
391
392
  ])
392
393
  ], 16);
393
394
  }
394
- const he = /* @__PURE__ */ S(ue, [["render", ge]]);
395
- let qa = 0;
396
- const be = {
395
+ const ha = /* @__PURE__ */ j(ua, [["render", ga]]);
396
+ let qi = 0;
397
+ const ba = {
397
398
  beforeCreate() {
398
- this.uuid = qa.toString(), qa += 1;
399
+ this.uuid = qi.toString(), qi += 1;
399
400
  }
400
- }, we = { key: 0 };
401
- function ye(a, i, p, n, o, c) {
402
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
401
+ }, ya = { key: 0 };
402
+ function wa(i, e, l, o, n, r) {
403
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
403
404
  class: "ui-assets-icons-16",
404
405
  xmlns: "http://www.w3.org/2000/svg",
405
406
  width: "16",
406
407
  height: "16",
407
408
  fill: "none"
408
409
  }), [
409
- a.$attrs["svg-title"] ? (s(), g("title", we, x(a.$attrs["svg-title"]), 1)) : u("", !0),
410
- i[0] || (i[0] = r("path", {
410
+ i.$attrs["svg-title"] ? (s(), g("title", ya, x(i.$attrs["svg-title"]), 1)) : u("", !0),
411
+ e[0] || (e[0] = c("path", {
411
412
  fill: "#001222",
412
413
  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"
413
414
  }, null, -1)),
414
- i[1] || (i[1] = r("path", {
415
+ e[1] || (e[1] = c("path", {
415
416
  fill: "#001222",
416
417
  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"
417
418
  }, null, -1)),
418
- i[2] || (i[2] = r("path", {
419
+ e[2] || (e[2] = c("path", {
419
420
  fill: "#001222",
420
421
  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"
421
422
  }, null, -1))
422
423
  ], 16);
423
424
  }
424
- const ke = /* @__PURE__ */ S(be, [["render", ye]]);
425
- let Ha = 0;
426
- const Ce = {
425
+ const ka = /* @__PURE__ */ j(ba, [["render", wa]]);
426
+ let Ai = 0;
427
+ const za = {
427
428
  beforeCreate() {
428
- this.uuid = Ha.toString(), Ha += 1;
429
+ this.uuid = Ai.toString(), Ai += 1;
429
430
  }
430
- }, $e = { key: 0 };
431
- function ze(a, i, p, n, o, c) {
432
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
431
+ }, Ca = { key: 0 };
432
+ function Ea(i, e, l, o, n, r) {
433
+ return s(), g("svg", D({ role: "img" }, i.$attrs, {
433
434
  class: "ui-assets-icons-16",
434
435
  xmlns: "http://www.w3.org/2000/svg",
435
436
  width: "16",
436
437
  height: "16",
437
438
  fill: "none"
438
439
  }), [
439
- a.$attrs["svg-title"] ? (s(), g("title", $e, x(a.$attrs["svg-title"]), 1)) : u("", !0),
440
- i[0] || (i[0] = r("path", {
440
+ i.$attrs["svg-title"] ? (s(), g("title", Ca, x(i.$attrs["svg-title"]), 1)) : u("", !0),
441
+ e[0] || (e[0] = c("path", {
441
442
  fill: "#001222",
442
443
  d: "M12 1.25C13.5188 1.25 14.75 2.48122 14.75 4V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V4C1.25 2.48122 2.48122 1.25 4 1.25H12ZM6.75 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.75H6.75V13.25ZM2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H5.25V10.75H2.75V12ZM6.75 9.25H13.25V6.75H6.75V9.25ZM2.75 9.25H5.25V6.75H2.75V9.25ZM6.75 5.25H13.25V4C13.25 3.30964 12.6904 2.75 12 2.75H6.75V5.25ZM4 2.75C3.30964 2.75 2.75 3.30964 2.75 4V5.25H5.25V2.75H4Z"
443
444
  }, null, -1))
444
445
  ], 16);
445
446
  }
446
- const _e = /* @__PURE__ */ S(Ce, [["render", ze]]), je = {
447
- [k.AUDIO]: ke,
448
- [k.COMPRESSED]: se,
449
- [k.GENERIC]: Pi,
450
- [k.IMAGE]: me,
451
- [k.PDF]: ae,
452
- [k.SLIDES]: Ji,
453
- [k.TABLE]: _e,
454
- [k.TEXT]: ne,
455
- [k.VIDEO]: he
447
+ const Fa = /* @__PURE__ */ j(za, [["render", Ea]]), $a = {
448
+ [k.AUDIO]: ka,
449
+ [k.COMPRESSED]: sa,
450
+ [k.GENERIC]: Pe,
451
+ [k.IMAGE]: ma,
452
+ [k.PDF]: ia,
453
+ [k.SLIDES]: Xe,
454
+ [k.TABLE]: Fa,
455
+ [k.TEXT]: oa,
456
+ [k.VIDEO]: ha
456
457
  };
457
- function Ee(a) {
458
- return je[a.type];
458
+ function Ta(i) {
459
+ return $a[i.type];
459
460
  }
460
- function Re(a) {
461
- switch (a.type) {
461
+ function _a(i) {
462
+ switch (i.type) {
462
463
  case k.COMPRESSED:
463
464
  case k.GENERIC:
464
465
  return "grey";
@@ -471,210 +472,217 @@ function Re(a) {
471
472
  return "green";
472
473
  }
473
474
  }
474
- const Wa = {
475
+ const Wi = {
476
+ "de-DE": { cancel: "Abbrechen", fileExceedsSizeLimit: "Datei überschreitet die Größenbegrenzung", fileTypeMustBe: "Der Dateityp muss {list} sein.", imageDimensionsExceedLimits: "Die Bildabmessungen überschreiten die zulässigen Grenzwerte", remove: "Entfernen", retry: "Wiederholen" },
477
+ "en-GB": { cancel: "Cancel", fileExceedsSizeLimit: "File exceeds size limit", fileTypeMustBe: "File type must be {list}", imageDimensionsExceedLimits: "Image dimensions exceed limits", remove: "Remove", retry: "Retry" },
475
478
  "en-US": { cancel: "Cancel", fileExceedsSizeLimit: "File exceeds size limit", fileTypeMustBe: "File type must be {list}", imageDimensionsExceedLimits: "Image dimensions exceed limits", remove: "Remove", retry: "Retry" },
479
+ "es-ES": { cancel: "Cancelar", fileExceedsSizeLimit: "El archivo supera el límite de tamaño", fileTypeMustBe: "El tipo de archivo debe ser {list}", imageDimensionsExceedLimits: "Las dimensiones de la imagen superan los límites", remove: "Eliminar", retry: "Reintentar" },
480
+ "es-MX": { cancel: "Cancelar", fileExceedsSizeLimit: "El archivo supera el límite de tamaño", fileTypeMustBe: "El tipo de archivo debe ser {list}", imageDimensionsExceedLimits: "Las dimensiones de la imagen superan los límites", remove: "Eliminar", retry: "Reintentar" },
481
+ "fr-FR": { cancel: "Annuler", fileExceedsSizeLimit: "Le fichier dépasse la limite de taille", fileTypeMustBe: "Le type de fichier doit être {list}", imageDimensionsExceedLimits: "Les dimensions de l'image dépassent les limites", remove: "Supprimer", retry: "Réessayer" },
482
+ "it-IT": { cancel: "Annulla", fileExceedsSizeLimit: "Il file supera il limite di dimensione", fileTypeMustBe: "Il tipo di file deve essere {list}", imageDimensionsExceedLimits: "Le dimensioni dell'immagine superano i limiti", remove: "Rimuovi", retry: "Riprova" },
476
483
  "ja-JP": { cancel: "キャンセル", fileExceedsSizeLimit: "ファイルがサイズ制限を超えています", fileTypeMustBe: "ファイル形式は{list}でなければなりません", imageDimensionsExceedLimits: "画像のサイズが制限を超えています", remove: "削除", retry: "再試行" },
477
- "pt-BR": { cancel: "Cancelar", fileExceedsSizeLimit: "O arquivo excede o limite de tamanho", fileTypeMustBe: "O tipo de arquivo deve ser {list}", imageDimensionsExceedLimits: "As dimensões da imagem excedem os limites", remove: "Remover", retry: "Tentar novamente" }
478
- }, Ie = { class: "b-file-uploader-file-card__details" }, Fe = { class: "b-file-uploader-file-card__info" }, Se = ["id"], Le = {
484
+ "pt-BR": { cancel: "Cancelar", fileExceedsSizeLimit: "O arquivo excede o limite de tamanho", fileTypeMustBe: "O tipo de arquivo deve ser {list}", imageDimensionsExceedLimits: "As dimensões da imagem excedem os limites", remove: "Retirar", retry: "Tentar de novo" },
485
+ "zh-CN": { cancel: "取消", fileExceedsSizeLimit: "文件大小超过限制", fileTypeMustBe: "文件类型必须为 {list}", imageDimensionsExceedLimits: "图像尺寸超过限制", remove: "移除", retry: "重试" }
486
+ }, Ra = { class: "b-file-uploader-file-card__details" }, Sa = { class: "b-file-uploader-file-card__info" }, ja = ["id"], Ia = {
479
487
  key: 0,
480
488
  class: "b-file-uploader-file-card__actions"
481
- }, Te = {
489
+ }, La = {
482
490
  name: "file-uploader-file-card",
483
- i18n: { messages: Wa }
484
- }, Me = /* @__PURE__ */ ca({
485
- ...Te,
491
+ i18n: { messages: Wi }
492
+ }, Ma = /* @__PURE__ */ ri({
493
+ ...La,
486
494
  props: {
487
495
  file: {},
488
496
  supportedFileTypes: { default: null },
489
497
  readonly: { type: Boolean }
490
498
  },
491
499
  emits: ["cancel", "remove", "retry"],
492
- setup(a, { expose: i, emit: p }) {
493
- const o = a, c = p, { t: l, locale: m } = da({ messages: Wa }), h = F(null), z = F(null), V = F(null), O = I("file-errors-section"), v = I("cancel-file-button"), _ = I("remove-file-button"), B = I("retry-file-button"), q = F(o.file.state === M.SUCCESS), b = f(() => URL.createObjectURL(o.file.data)), N = f(() => o.file.state === M.ERROR), A = f(() => o.file.errors.includes(E.ERROR_LOAD)), K = f(() => o.file.errors.includes(E.ERROR_SIZE)), Q = f(() => o.file.errors.includes(E.ERROR_DIMENSIONS)), ta = f(() => o.file.errors.includes(E.ERROR_TYPE)), na = f(() => o.file.state === M.LOADING), oa = f(() => o.file.progress && `(${o.file.progress.toFixed(0)}%)`), W = f(() => ka(m.value, o.file.data.size)), G = F(), pa = F(), la = Ti(G, pa), aa = f(() => ({
500
+ setup(i, { expose: e, emit: l }) {
501
+ const n = i, r = l, { t: p, locale: m } = di({ messages: Wi }), h = S(null), E = S(null), H = S(null), V = R("file-errors-section"), v = R("cancel-file-button"), F = R("remove-file-button"), O = R("retry-file-button"), q = S(n.file.state === M.SUCCESS), b = f(() => URL.createObjectURL(n.file.data)), N = f(() => n.file.state === M.ERROR), B = f(() => n.file.errors.includes(T.ERROR_LOAD)), K = f(() => n.file.errors.includes(T.ERROR_SIZE)), Q = f(() => n.file.errors.includes(T.ERROR_DIMENSIONS)), ti = f(() => n.file.errors.includes(T.ERROR_TYPE)), oi = f(() => n.file.state === M.LOADING), ni = f(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), W = f(() => ki(m.value, n.file.data.size)), G = S(), li = S(), pi = Le(G, li), ii = f(() => ({
494
502
  "b-file-uploader-file-card--error": N.value
495
- })), ra = f(() => ({
496
- [`b-file-uploader-file-card__icon--${Re(o.file)}`]: q.value,
503
+ })), ci = f(() => ({
504
+ [`b-file-uploader-file-card__icon--${_a(n.file)}`]: q.value,
497
505
  "b-file-uploader-file-card__icon--error": N.value
498
- })), Y = f(() => na.value ? _i : N.value ? Za : q.value ? Ee(o.file) : yi);
499
- wa(
500
- () => o.file.state,
501
- (j) => {
502
- if (j === M.SUCCESS && !q.value) {
503
- const H = setTimeout(() => {
504
- q.value = !0, clearTimeout(H);
506
+ })), Y = f(() => oi.value ? Fe : N.value ? Zi : q.value ? Ta(n.file) : we);
507
+ yi(
508
+ () => n.file.state,
509
+ ($) => {
510
+ if ($ === M.SUCCESS && !q.value) {
511
+ const A = setTimeout(() => {
512
+ q.value = !0, clearTimeout(A);
505
513
  }, 1200);
506
514
  }
507
515
  }
508
516
  );
509
- function ma() {
510
- if (V.value) {
511
- V.value.$el.focus();
517
+ function mi() {
518
+ if (H.value) {
519
+ H.value.$el.focus();
512
520
  return;
513
521
  }
514
522
  if (h.value) {
515
523
  h.value.$el.focus();
516
524
  return;
517
525
  }
518
- if (z.value) {
519
- z.value.$el.focus();
526
+ if (E.value) {
527
+ E.value.$el.focus();
520
528
  return;
521
529
  }
522
530
  }
523
- return i({
524
- focus: ma
525
- }), (j, H) => (s(), g("div", {
526
- class: Z(["b-file-uploader-file-card", aa.value])
531
+ return e({
532
+ focus: mi
533
+ }), ($, A) => (s(), g("div", {
534
+ class: Z(["b-file-uploader-file-card", ii.value])
527
535
  }, [
528
- r("div", Ie, [
529
- r("div", Fe, [
530
- U(t(Li), {
531
- name: t(Na) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
536
+ c("div", Ra, [
537
+ c("div", Sa, [
538
+ U(t(Ie), {
539
+ name: t(Ni) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
532
540
  "show-file-icon": q.value
533
541
  }, {
534
- default: w(() => [
535
- (s(), y(ui(Y.value), {
542
+ default: y(() => [
543
+ (s(), w(ue(Y.value), {
536
544
  key: JSON.stringify(Y.value),
537
545
  small: "",
538
546
  "aria-hidden": "true",
539
- class: Z(["b-file-uploader-file-card__icon", ra.value]),
547
+ class: Z(["b-file-uploader-file-card__icon", ci.value]),
540
548
  "data-testid": "file-uploader-item-icon"
541
549
  }, null, 8, ["class"]))
542
550
  ]),
543
551
  _: 1
544
552
  }, 8, ["name", "show-file-icon"]),
545
- r("div", {
553
+ c("div", {
546
554
  ref_key: "fileNameContainerRef",
547
- ref: pa,
555
+ ref: li,
548
556
  class: "b-file-uploader-file-card__file-name"
549
557
  }, [
550
- U(t(zi), {
558
+ U(t(Ee), {
551
559
  "aria-hidden": "true",
552
560
  tabindex: "-1",
553
- download: j.file.data.name,
561
+ download: $.file.data.name,
554
562
  to: b.value,
555
563
  "disable-typography": "",
556
564
  "is-not-routing": "",
557
565
  variant: "quiet"
558
566
  }, {
559
- default: w(() => [
560
- Ua((s(), y(t(R), {
567
+ default: y(() => [
568
+ Ui((s(), w(t(_), {
561
569
  ref_key: "fileNameRef",
562
570
  ref: G,
563
571
  stronger: "",
564
572
  el: "span"
565
573
  }, {
566
- default: w(() => [
567
- $(x(j.file.data.name), 1)
574
+ default: y(() => [
575
+ C(x($.file.data.name), 1)
568
576
  ]),
569
577
  _: 1
570
578
  })), [
571
- [t($i), t(la) ? j.file.data.name : null]
579
+ [t(Ce), t(pi) ? $.file.data.name : null]
572
580
  ])
573
581
  ]),
574
582
  _: 1
575
583
  }, 8, ["download", "to"])
576
584
  ], 512),
577
- j.file.progress ? (s(), y(t(R), {
585
+ $.file.progress ? (s(), w(t(_), {
578
586
  key: 0,
579
587
  el: "span"
580
588
  }, {
581
- default: w(() => [
582
- $(x(oa.value), 1)
589
+ default: y(() => [
590
+ C(x(ni.value), 1)
583
591
  ]),
584
592
  _: 1
585
- })) : j.file.data.size ? (s(), y(t(R), {
593
+ })) : $.file.data.size ? (s(), w(t(_), {
586
594
  key: 1,
587
595
  class: "b-file-uploader-file-card__file-size",
588
596
  "aria-hidden": "true",
589
597
  el: "span"
590
598
  }, {
591
- default: w(() => [
592
- $(x(W.value), 1)
599
+ default: y(() => [
600
+ C(x(W.value), 1)
593
601
  ]),
594
602
  _: 1
595
603
  })) : u("", !0)
596
604
  ]),
597
- K.value || Q.value || ta.value && j.supportedFileTypes ? (s(), g("div", {
605
+ K.value || Q.value || ti.value && $.supportedFileTypes ? (s(), g("div", {
598
606
  key: 0,
599
- id: t(O),
607
+ id: t(V),
600
608
  role: "alert"
601
609
  }, [
602
- K.value ? (s(), y(t(R), {
610
+ K.value ? (s(), w(t(_), {
603
611
  key: 0,
604
612
  class: "b-file-uploader-file-card__error-message"
605
613
  }, {
606
- default: w(() => [
607
- $(x(t(l)("fileExceedsSizeLimit")), 1)
614
+ default: y(() => [
615
+ C(x(t(p)("fileExceedsSizeLimit")), 1)
608
616
  ]),
609
617
  _: 1
610
618
  })) : u("", !0),
611
- Q.value ? (s(), y(t(R), {
619
+ Q.value ? (s(), w(t(_), {
612
620
  key: 1,
613
621
  class: "b-file-uploader-file-card__error-message"
614
622
  }, {
615
- default: w(() => [
616
- $(x(t(l)("imageDimensionsExceedLimits")), 1)
623
+ default: y(() => [
624
+ C(x(t(p)("imageDimensionsExceedLimits")), 1)
617
625
  ]),
618
626
  _: 1
619
627
  })) : u("", !0),
620
- ta.value && j.supportedFileTypes ? (s(), y(t(R), {
628
+ ti.value && $.supportedFileTypes ? (s(), w(t(_), {
621
629
  key: 2,
622
630
  class: "b-file-uploader-file-card__error-message"
623
631
  }, {
624
- default: w(() => [
625
- $(x(t(l)("fileTypeMustBe", { list: j.supportedFileTypes })), 1)
632
+ default: y(() => [
633
+ C(x(t(p)("fileTypeMustBe", { list: $.supportedFileTypes })), 1)
626
634
  ]),
627
635
  _: 1
628
636
  })) : u("", !0)
629
- ], 8, Se)) : u("", !0)
637
+ ], 8, ja)) : u("", !0)
630
638
  ]),
631
- j.readonly ? u("", !0) : (s(), g("div", Le, [
632
- A.value ? (s(), y(t(ba), {
639
+ $.readonly ? u("", !0) : (s(), g("div", Ia, [
640
+ B.value ? (s(), w(t(bi), {
633
641
  key: 0,
634
642
  ref_key: "retryFileButtonRef",
635
- ref: V,
636
- "aria-labelledby": `${t(O)} ${t(B)}`,
643
+ ref: H,
644
+ "aria-labelledby": `${t(V)} ${t(O)}`,
637
645
  variant: "tertiary",
638
- onClick: H[0] || (H[0] = (ia) => c("retry"))
646
+ onClick: A[0] || (A[0] = (ei) => r("retry"))
639
647
  }, {
640
- iconLeft: w(() => [
641
- U(t(Ci), {
642
- id: t(B),
643
- "svg-title": `${t(l)("retry")} - ${j.file.data.name} `
648
+ iconLeft: y(() => [
649
+ U(t(ze), {
650
+ id: t(O),
651
+ "svg-title": `${t(p)("retry")} - ${$.file.data.name} `
644
652
  }, null, 8, ["id", "svg-title"])
645
653
  ]),
646
- default: w(() => [
647
- $(" " + x(t(l)("retry")), 1)
654
+ default: y(() => [
655
+ C(" " + x(t(p)("retry")), 1)
648
656
  ]),
649
657
  _: 1
650
658
  }, 8, ["aria-labelledby"])) : u("", !0),
651
- na.value || N.value ? (s(), y(t(ba), {
659
+ oi.value || N.value ? (s(), w(t(bi), {
652
660
  key: 1,
653
661
  ref_key: "cancelFileButtonRef",
654
- ref: z,
655
- "aria-labelledby": `${t(O)} ${t(v)}`,
662
+ ref: E,
663
+ "aria-labelledby": `${t(V)} ${t(v)}`,
656
664
  variant: "tertiary",
657
- onClick: H[1] || (H[1] = (ia) => c("cancel"))
665
+ onClick: A[1] || (A[1] = (ei) => r("cancel"))
658
666
  }, {
659
- iconLeft: w(() => [
660
- U(t(ki), {
667
+ iconLeft: y(() => [
668
+ U(t(ke), {
661
669
  id: t(v),
662
- "svg-title": `${t(l)("cancel")} - ${j.file.data.name}`
670
+ "svg-title": `${t(p)("cancel")} - ${$.file.data.name}`
663
671
  }, null, 8, ["id", "svg-title"])
664
672
  ]),
665
673
  _: 1
666
- }, 8, ["aria-labelledby"])) : (s(), y(t(ba), {
674
+ }, 8, ["aria-labelledby"])) : (s(), w(t(bi), {
667
675
  key: 2,
668
676
  ref_key: "removeFileButtonRef",
669
677
  ref: h,
670
- "aria-labelledby": `${t(O)} ${t(_)}`,
678
+ "aria-labelledby": `${t(V)} ${t(F)}`,
671
679
  variant: "tertiary",
672
- onClick: H[2] || (H[2] = (ia) => c("remove"))
680
+ onClick: A[2] || (A[2] = (ei) => r("remove"))
673
681
  }, {
674
- iconLeft: w(() => [
675
- U(t(wi), {
676
- id: t(_),
677
- "svg-title": `${t(l)("remove")} - ${j.file.data.name}`
682
+ iconLeft: y(() => [
683
+ U(t(ye), {
684
+ id: t(F),
685
+ "svg-title": `${t(p)("remove")} - ${$.file.data.name}`
678
686
  }, null, 8, ["id", "svg-title"])
679
687
  ]),
680
688
  _: 1
@@ -682,14 +690,21 @@ const Wa = {
682
690
  ]))
683
691
  ], 2));
684
692
  }
685
- }), De = /* @__PURE__ */ S(Me, [["__scopeId", "data-v-0051c431"]]), Ga = {
693
+ }), Da = /* @__PURE__ */ j(Ma, [["__scopeId", "data-v-0051c431"]]), Gi = {
694
+ "de-DE": { maxFileSize: "Maximale Dateigröße: {size}", maxImageDimensions: "Maximale Bilddimensionen: {width} × {height}px", maxImageHeight: "Maximale Bildhöhe: {height}px", maxImageWidth: "Maximale Bildbreite: {width}px", maxUpload: "Maximale Anzahl Uploads: {count} Datei | Maximale Anzahl Uploads: {count} Dateien", supportedFileTypes: "Unterstützte Dateitypen: {list}", upToSize: "(bis zu {size})" },
695
+ "en-GB": { maxFileSize: "Max. file size: {size}", maxImageDimensions: "Max. image dimensions: {width} × {height}px", maxImageHeight: "Max. image height: {height}px", maxImageWidth: "Max. image width: {width}px", maxUpload: "Max. upload: {count} file | Max. upload: {count} files", supportedFileTypes: "Supported file types: {list}", upToSize: "(up to {size})" },
686
696
  "en-US": { maxFileSize: "Max file size: {size}", maxImageDimensions: "Max image dimensions: {width} × {height}px", maxImageHeight: "Max image height: {height}px", maxImageWidth: "Max image width: {width}px", maxUpload: "Max upload: {count} file | Max upload: {count} files", supportedFileTypes: "Supported file types: {list}", upToSize: "(up to {size})" },
687
- "ja-JP": { maxFileSize: "最大ファイルサイズ:{size}", maxImageDimensions: "最大画像サイズ: {width} × {height}px", maxImageHeight: "最大画像高さ: {height}px", maxImageWidth: "最大画像幅: {width}px", maxUpload: "最大アップロード: {count}件のファイル |最大アップロード: {count}件のファイル", supportedFileTypes: "対応ファイル形式: {list}" },
688
- "pt-BR": { maxFileSize: "Tamanho máx. do arquivo: {size}", maxImageDimensions: "Dimensões máximas da imagem: {width} × {height}px", maxImageHeight: "Altura máx. da imagem: {height}px", maxImageWidth: "Largura máxima da imagem: {width}px", maxUpload: "Máximo de upload: {count} arquivo | Máximo de upload: {count} arquivos", supportedFileTypes: "Tipos de arquivo aceitos: {list}" }
689
- }, Ve = {
690
- i18n: { messages: Ga }
691
- }, Oe = /* @__PURE__ */ ca({
692
- ...Ve,
697
+ "es-ES": { maxFileSize: "Tamaño máximo del archivo: {size}", maxImageDimensions: "Dimensiones máximas de la imagen: {width} × {height} px", maxImageHeight: "Altura máxima de la imagen: {height} px", maxImageWidth: "Anchura máximo de la imagen: {width} px", maxUpload: "Carga máxima: {count} archivo | Carga máxima: {count} archivos", supportedFileTypes: "Tipos de archivo compatibles: {list}", upToSize: "(hasta {size})" },
698
+ "es-MX": { maxFileSize: "Tamaño máximo de archivo: {size}", maxImageDimensions: "Dimensiones máximas de la imagen: {ancho} × {altura}px", maxImageHeight: "Altura máxima de la imagen: {height}px", maxImageWidth: "Ancho máximo de la imagen: {width}px", maxUpload: "Carga máxima: {count} archivo | Carga máxima: {count} archivos", supportedFileTypes: "Tipos de archivo compatibles: {list}", upToSize: "(hasta {size})" },
699
+ "fr-FR": { maxFileSize: "Taille maximale du fichier : {size}", maxImageDimensions: "Dimensions maximales de l'image : {width} × {height} px", maxImageHeight: "Hauteur maximale de l'image : {height} px", maxImageWidth: "Largeur maximale de l'image : {width} px", maxUpload: "Téléchargement maximal : {count} fichier | Téléchargement maximal : {count} fichiers", supportedFileTypes: "Types de fichiers pris en charge : {list}", upToSize: "(jusqu'à {size})" },
700
+ "it-IT": { maxFileSize: "Dimensione massima del file: {size}", maxImageDimensions: "Dimensioni massime dell'immagine: {width} × {height}px", maxImageHeight: "Altezza massima dell'immagine: {height} px", maxImageWidth: "Larghezza massima dell'immagine: {width} px", maxUpload: "Upload massimo: file {count} | Upload massimo: {count} file", supportedFileTypes: "Tipi di file supportati: {list}", upToSize: "(fino a {size})" },
701
+ "ja-JP": { maxFileSize: "最大ファイルサイズ:{size}", maxImageDimensions: "最大画像サイズ: {width} × {height}px", maxImageHeight: "最大画像高さ: {height}px", maxImageWidth: "最大画像幅: {width}px", maxUpload: "最大アップロード: {count}件のファイル |最大アップロード: {count}件のファイル", supportedFileTypes: "対応ファイル形式: {list}", upToSize: "({size}まで)" },
702
+ "pt-BR": { maxFileSize: "Tamanho máx. do arquivo: {size}", maxImageDimensions: "Dimensões máx. da imagem: {width} × {height}px", maxImageHeight: "Altura máx. da imagem: {height}px", maxImageWidth: "Largura máx. da imagem: {width}px", maxUpload: "Máximo de upload: {count} arquivo | Máximo de upload: {count} arquivos", supportedFileTypes: "Tipos de arquivo aceitos: {list}", upToSize: "(até {size})" },
703
+ "zh-CN": { maxFileSize: "最大文件大小:{size}", maxImageDimensions: "最大图像尺寸:{width} × {height}px", maxImageHeight: "最大图像高度:{height}px", maxImageWidth: "最大图像宽度:{width}px", maxUpload: "最多上传:{count} 个文件 | 最多上传:{count} 个文件", supportedFileTypes: "支持的文件类型:{list}", upToSize: "(最多 {size})" }
704
+ }, Ha = {
705
+ i18n: { messages: Gi }
706
+ }, Va = /* @__PURE__ */ ri({
707
+ ...Ha,
693
708
  __name: "file-uploader-restrictions",
694
709
  props: {
695
710
  condensed: { type: Boolean, default: null },
@@ -699,76 +714,76 @@ const Wa = {
699
714
  maxSize: { default: null },
700
715
  supportedFileTypes: { default: null }
701
716
  },
702
- setup(a) {
703
- const i = a, { t: p, tc: n, n: o, locale: c } = da({ messages: Ga }), l = f(() => ({
704
- "b-file-uploader-restrictions--condensed": i.condensed,
705
- "b-file-uploader-restrictions--disabled": i.disabled
717
+ setup(i) {
718
+ const e = i, { t: l, tc: o, n, locale: r } = di({ messages: Gi }), p = f(() => ({
719
+ "b-file-uploader-restrictions--condensed": e.condensed,
720
+ "b-file-uploader-restrictions--disabled": e.disabled
706
721
  }));
707
722
  function m(v) {
708
723
  return {
709
724
  "b-file-uploader-restrictions--error": v
710
725
  };
711
726
  }
712
- const h = f(() => i.maxSize && Array.isArray(i.maxSize.value)), z = f(() => !i.maxSize || h.value ? null : p("maxFileSize", { size: ka(c.value, i.maxSize.value) })), V = f(() => {
713
- if (!i.supportedFileTypes)
727
+ const h = f(() => e.maxSize && Array.isArray(e.maxSize.value)), E = f(() => !e.maxSize || h.value ? null : l("maxFileSize", { size: ki(r.value, e.maxSize.value) })), H = f(() => {
728
+ if (!e.supportedFileTypes)
714
729
  return null;
715
730
  if (!h.value)
716
- return i.supportedFileTypes.value;
717
- let v = i.supportedFileTypes.value;
718
- return i.maxSize.value.forEach((_) => {
719
- const B = _.fileType.toUpperCase(), q = p("upToSize", { size: ka(c.value, _.maxSize) });
720
- v = v.replace(B, `${B} ${q}`);
731
+ return e.supportedFileTypes.value;
732
+ let v = e.supportedFileTypes.value;
733
+ return e.maxSize.value.forEach((F) => {
734
+ const O = F.fileType.toUpperCase(), q = l("upToSize", { size: ki(r.value, F.maxSize) });
735
+ v = v.replace(O, `${O} ${q}`);
721
736
  }), v;
722
- }), O = f(() => {
723
- if (!i.maxDimensions)
737
+ }), V = f(() => {
738
+ if (!e.maxDimensions)
724
739
  return null;
725
740
  const {
726
- value: { width: v, height: _ }
727
- } = i.maxDimensions;
728
- return v && _ ? p("maxImageDimensions", { width: o(v), height: o(_) }) : v ? p("maxImageWidth", { width: o(v) }) : _ ? p("maxImageHeight", { height: o(_) }) : null;
741
+ value: { width: v, height: F }
742
+ } = e.maxDimensions;
743
+ return v && F ? l("maxImageDimensions", { width: n(v), height: n(F) }) : v ? l("maxImageWidth", { width: n(v) }) : F ? l("maxImageHeight", { height: n(F) }) : null;
729
744
  });
730
- return (v, _) => (s(), g("div", {
731
- class: Z(["b-file-uploader-restrictions", l.value])
745
+ return (v, F) => (s(), g("div", {
746
+ class: Z(["b-file-uploader-restrictions", p.value])
732
747
  }, [
733
- v.supportedFileTypes ? (s(), y(t(R), {
748
+ v.supportedFileTypes ? (s(), w(t(_), {
734
749
  key: 0,
735
750
  class: Z(m(v.supportedFileTypes.error || h.value && v.maxSize.error))
736
751
  }, {
737
- default: w(() => [
738
- $(x(t(p)("supportedFileTypes", { list: V.value })), 1)
752
+ default: y(() => [
753
+ C(x(t(l)("supportedFileTypes", { list: H.value })), 1)
739
754
  ]),
740
755
  _: 1
741
756
  }, 8, ["class"])) : u("", !0),
742
- !h.value && v.maxSize ? (s(), y(t(R), {
757
+ !h.value && v.maxSize ? (s(), w(t(_), {
743
758
  key: 1,
744
759
  class: Z(m(v.maxSize.error))
745
760
  }, {
746
- default: w(() => [
747
- $(x(z.value), 1)
761
+ default: y(() => [
762
+ C(x(E.value), 1)
748
763
  ]),
749
764
  _: 1
750
765
  }, 8, ["class"])) : u("", !0),
751
- v.maxDimensions ? (s(), y(t(R), {
766
+ v.maxDimensions ? (s(), w(t(_), {
752
767
  key: 2,
753
768
  class: Z(m(v.maxDimensions.error))
754
769
  }, {
755
- default: w(() => [
756
- $(x(O.value), 1)
770
+ default: y(() => [
771
+ C(x(V.value), 1)
757
772
  ]),
758
773
  _: 1
759
774
  }, 8, ["class"])) : u("", !0),
760
- v.maxCount ? (s(), y(t(R), {
775
+ v.maxCount ? (s(), w(t(_), {
761
776
  key: 3,
762
777
  class: Z(m(v.maxCount.error))
763
778
  }, {
764
- default: w(() => [
765
- $(x(t(n)("maxUpload", v.maxCount.value, { count: t(o)(v.maxCount.value) })), 1)
779
+ default: y(() => [
780
+ C(x(t(o)("maxUpload", v.maxCount.value, { count: t(n)(v.maxCount.value) })), 1)
766
781
  ]),
767
782
  _: 1
768
783
  }, 8, ["class"])) : u("", !0)
769
784
  ], 2));
770
785
  }
771
- }), Ba = /* @__PURE__ */ S(Oe, [["__scopeId", "data-v-e75ae2de"]]), Ya = {
786
+ }), Oi = /* @__PURE__ */ j(Va, [["__scopeId", "data-v-e75ae2de"]]), Yi = {
772
787
  "application/prs.cww": ["cww"],
773
788
  "application/prs.xsf+xml": ["xsf"],
774
789
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1467,8 +1482,8 @@ const Wa = {
1467
1482
  "video/x-smv": ["smv"],
1468
1483
  "x-conference/x-cooltalk": ["ice"]
1469
1484
  };
1470
- Object.freeze(Ya);
1471
- const Ja = {
1485
+ Object.freeze(Yi);
1486
+ const Xi = {
1472
1487
  "application/andrew-inset": ["ez"],
1473
1488
  "application/appinstaller": ["appinstaller"],
1474
1489
  "application/applixware": ["aw"],
@@ -1820,133 +1835,140 @@ const Ja = {
1820
1835
  "video/quicktime": ["qt", "mov"],
1821
1836
  "video/webm": ["webm"]
1822
1837
  };
1823
- Object.freeze(Ja);
1824
- var T = function(a, i, p, n) {
1825
- if (p === "a" && !n) throw new TypeError("Private accessor was defined without a getter");
1826
- if (typeof i == "function" ? a !== i || !n : !i.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1827
- return p === "m" ? n : p === "a" ? n.call(a) : n ? n.value : i.get(a);
1828
- }, X, ea, P;
1829
- class qe {
1830
- constructor(...i) {
1831
- X.set(this, /* @__PURE__ */ new Map()), ea.set(this, /* @__PURE__ */ new Map()), P.set(this, /* @__PURE__ */ new Map());
1832
- for (const p of i)
1833
- this.define(p);
1838
+ Object.freeze(Xi);
1839
+ var L = function(i, e, l, o) {
1840
+ if (l === "a" && !o) throw new TypeError("Private accessor was defined without a getter");
1841
+ if (typeof e == "function" ? i !== e || !o : !e.has(i)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1842
+ return l === "m" ? o : l === "a" ? o.call(i) : o ? o.value : e.get(i);
1843
+ }, J, ai, P;
1844
+ class qa {
1845
+ constructor(...e) {
1846
+ J.set(this, /* @__PURE__ */ new Map()), ai.set(this, /* @__PURE__ */ new Map()), P.set(this, /* @__PURE__ */ new Map());
1847
+ for (const l of e)
1848
+ this.define(l);
1834
1849
  }
1835
- define(i, p = !1) {
1836
- for (let [n, o] of Object.entries(i)) {
1837
- n = n.toLowerCase(), o = o.map((m) => m.toLowerCase()), T(this, P, "f").has(n) || T(this, P, "f").set(n, /* @__PURE__ */ new Set());
1838
- const c = T(this, P, "f").get(n);
1839
- let l = !0;
1840
- for (let m of o) {
1850
+ define(e, l = !1) {
1851
+ for (let [o, n] of Object.entries(e)) {
1852
+ o = o.toLowerCase(), n = n.map((m) => m.toLowerCase()), L(this, P, "f").has(o) || L(this, P, "f").set(o, /* @__PURE__ */ new Set());
1853
+ const r = L(this, P, "f").get(o);
1854
+ let p = !0;
1855
+ for (let m of n) {
1841
1856
  const h = m.startsWith("*");
1842
- if (m = h ? m.slice(1) : m, c?.add(m), l && T(this, ea, "f").set(n, m), l = !1, h)
1857
+ if (m = h ? m.slice(1) : m, r?.add(m), p && L(this, ai, "f").set(o, m), p = !1, h)
1843
1858
  continue;
1844
- const z = T(this, X, "f").get(m);
1845
- if (z && z != n && !p)
1846
- throw new Error(`"${n} -> ${m}" conflicts with "${z} -> ${m}". Pass \`force=true\` to override this definition.`);
1847
- T(this, X, "f").set(m, n);
1859
+ const E = L(this, J, "f").get(m);
1860
+ if (E && E != o && !l)
1861
+ throw new Error(`"${o} -> ${m}" conflicts with "${E} -> ${m}". Pass \`force=true\` to override this definition.`);
1862
+ L(this, J, "f").set(m, o);
1848
1863
  }
1849
1864
  }
1850
1865
  return this;
1851
1866
  }
1852
- getType(i) {
1853
- if (typeof i != "string")
1867
+ getType(e) {
1868
+ if (typeof e != "string")
1854
1869
  return null;
1855
- const p = i.replace(/^.*[/\\]/, "").toLowerCase(), n = p.replace(/^.*\./, "").toLowerCase(), o = p.length < i.length;
1856
- return !(n.length < p.length - 1) && o ? null : T(this, X, "f").get(n) ?? null;
1870
+ const l = e.replace(/^.*[/\\]/, "").toLowerCase(), o = l.replace(/^.*\./, "").toLowerCase(), n = l.length < e.length;
1871
+ return !(o.length < l.length - 1) && n ? null : L(this, J, "f").get(o) ?? null;
1857
1872
  }
1858
- getExtension(i) {
1859
- return typeof i != "string" ? null : (i = i?.split?.(";")[0], (i && T(this, ea, "f").get(i.trim().toLowerCase())) ?? null);
1873
+ getExtension(e) {
1874
+ return typeof e != "string" ? null : (e = e?.split?.(";")[0], (e && L(this, ai, "f").get(e.trim().toLowerCase())) ?? null);
1860
1875
  }
1861
- getAllExtensions(i) {
1862
- return typeof i != "string" ? null : T(this, P, "f").get(i.toLowerCase()) ?? null;
1876
+ getAllExtensions(e) {
1877
+ return typeof e != "string" ? null : L(this, P, "f").get(e.toLowerCase()) ?? null;
1863
1878
  }
1864
1879
  _freeze() {
1865
1880
  this.define = () => {
1866
1881
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1867
1882
  }, Object.freeze(this);
1868
- for (const i of T(this, P, "f").values())
1869
- Object.freeze(i);
1883
+ for (const e of L(this, P, "f").values())
1884
+ Object.freeze(e);
1870
1885
  return this;
1871
1886
  }
1872
1887
  _getTestState() {
1873
1888
  return {
1874
- types: T(this, X, "f"),
1875
- extensions: T(this, ea, "f")
1889
+ types: L(this, J, "f"),
1890
+ extensions: L(this, ai, "f")
1876
1891
  };
1877
1892
  }
1878
1893
  }
1879
- X = /* @__PURE__ */ new WeakMap(), ea = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap();
1880
- const Xa = new qe(Ja, Ya)._freeze(), Ca = {
1894
+ J = /* @__PURE__ */ new WeakMap(), ai = /* @__PURE__ */ new WeakMap(), P = /* @__PURE__ */ new WeakMap();
1895
+ const Ji = new qa(Xi, Yi)._freeze(), zi = {
1896
+ "de-DE": { audioFiles: "Audiodateien", browseFiles: "Dateien durchsuchen", dropArea: "Ablagebereich", dropFiles: "Datei zum Hochladen ablegen | Dateien zum Hochladen ablegen", fileExceedsSizeLimit: "Datei überschreitet die Größenbegrenzung", imageFiles: "Bilddateien", noFilesUploaded: "Keine Dateien hochgeladen", tooManyFiles: "Zu viele Dateien", videoFiles: "Videodateien", youHaveExceededTheMaximum: "Sie haben die maximale Anzahl von {count} Dateien überschritten. Bitte entfernen Sie einige Dateien, bevor Sie fortfahren." },
1897
+ "en-GB": { audioFiles: "audio files", browseFiles: "Browse files", dropArea: "Drop area", dropFiles: "Drop file to upload | Drop files to upload", fileExceedsSizeLimit: "File exceeds size limit", imageFiles: "image files", noFilesUploaded: "No files uploaded", tooManyFiles: "Too many files", videoFiles: "video files", youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding." },
1881
1898
  "en-US": { audioFiles: "audio files", browseFiles: "Browse files", dropArea: "Drop area", dropFiles: "Drop file to upload | Drop files to upload", fileExceedsSizeLimit: "File exceeds size limit", imageFiles: "image files", noFilesUploaded: "No files uploaded", tooManyFiles: "Too many files", videoFiles: "video files", youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding." },
1899
+ "es-ES": { audioFiles: "archivos de audio", browseFiles: "Explorar archivos", dropArea: "Zona de soltar", dropFiles: "Arrastrar archivo para cargar | Arrastrar archivos para cargar", fileExceedsSizeLimit: "El archivo supera el límite de tamaño", imageFiles: "archivos de imagen", noFilesUploaded: "No se han cargado archivos", tooManyFiles: "Demasiados archivos", videoFiles: "archivos de vídeo", youHaveExceededTheMaximum: "Has superado el límite máximo de {count} archivos. Elimina algunos antes de continuar." },
1900
+ "es-MX": { audioFiles: "archivos de audio", browseFiles: "Explorar archivos", dropArea: "Área de soltar", dropFiles: "Soltar archivo para cargar | Arrastrar archivos para cargar", fileExceedsSizeLimit: "El archivo supera el límite de tamaño", imageFiles: "archivos de imagen", noFilesUploaded: "No hay archivos cargados", tooManyFiles: "Demasiados archivos", videoFiles: "archivos de video", youHaveExceededTheMaximum: "Superaste el límite máximo de {count} archivos. Elimina algunos archivos antes de continuar." },
1901
+ "fr-FR": { audioFiles: "fichiers audio", browseFiles: "Parcourir les fichiers", dropArea: "Zone de dépôt", dropFiles: "Déposer un fichier à télécharger | Déposer des fichiers à télécharger", fileExceedsSizeLimit: "Le fichier dépasse la limite de taille", imageFiles: "fichiers image", noFilesUploaded: "Aucun fichier téléchargé", tooManyFiles: "Trop de fichiers", videoFiles: "fichiers vidéo", youHaveExceededTheMaximum: "Vous avez dépassé la limite maximale de {count} fichiers. Veuillez supprimer certains fichiers avant de continuer." },
1902
+ "it-IT": { audioFiles: "file audio", browseFiles: "Sfoglia i file", dropArea: "Area di scarico", dropFiles: "Trascina il file per caricarlo | Trascina i file per caricarli", fileExceedsSizeLimit: "Il file supera il limite di dimensione", imageFiles: "file di immagini", noFilesUploaded: "Nessun file caricato", tooManyFiles: "Troppi file", videoFiles: "file video", youHaveExceededTheMaximum: "Hai superato il limite massimo di {count} file. Rimuovi alcuni file prima di procedere." },
1882
1903
  "ja-JP": { audioFiles: "オーディオファイル", browseFiles: "ファイルを参照", dropArea: "ドロップエリア", dropFiles: "ファイルをドロップしてアップロード | ファイルをドロップしてアップロード", fileExceedsSizeLimit: "ファイルがサイズ制限を超えています", imageFiles: "画像ファイル", noFilesUploaded: "ファイルはアップロードされていません", tooManyFiles: "ファイルが多すぎます", videoFiles: "ビデオファイル", youHaveExceededTheMaximum: "ファイル{count}件の最大制限を超えました。続行する前にいくつかのファイルを削除してください。" },
1883
- "pt-BR": { audioFiles: "arquivos de áudio", browseFiles: "Procurar arquivos", dropArea: "Área de soltar", dropFiles: "Soltar arquivo para upload | Soltar arquivos para upload", fileExceedsSizeLimit: "O arquivo excede o limite de tamanho", imageFiles: "arquivos de imagem", noFilesUploaded: "Nenhum arquivo carregado", tooManyFiles: "Muitos arquivos", videoFiles: "arquivos de vídeo", youHaveExceededTheMaximum: "Você excedeu o limite máximo de {count} arquivos. Retire alguns arquivos antes de prosseguir." }
1904
+ "pt-BR": { audioFiles: "arquivos de áudio", browseFiles: "Procurar arquivos", dropArea: "Área de soltar", dropFiles: "Soltar arquivo para upload | Soltar arquivos para upload", fileExceedsSizeLimit: "O arquivo excede o limite de tamanho", imageFiles: "arquivos de imagem", noFilesUploaded: "Nenhum arquivo carregado", tooManyFiles: "Arquivos demais", videoFiles: "arquivos de vídeo", youHaveExceededTheMaximum: "Você excedeu o limite máximo de {count} arquivos. Retire alguns arquivos antes de prosseguir." },
1905
+ "zh-CN": { audioFiles: "音频文件", browseFiles: "浏览文件", dropArea: "拖放区", dropFiles: "拖放文件以上传 | 拖放文件以上传", fileExceedsSizeLimit: "文件大小超过限制", imageFiles: "图像文件", noFilesUploaded: "未上传文件", tooManyFiles: "文件过多", videoFiles: "视频文件", youHaveExceededTheMaximum: "已超出 {count} 个文件的上限数量。请在继续之前移除一些文件。" }
1884
1906
  };
1885
- function He(a) {
1886
- return a.includes("/") ? `.${Xa.getExtension(a).toUpperCase()}` : a.toUpperCase();
1907
+ function Aa(i) {
1908
+ return i.includes("/") ? `.${Ji.getExtension(i).toUpperCase()}` : i.toUpperCase();
1887
1909
  }
1888
- function Be(a) {
1889
- const { locale: i, t: p } = da({ messages: Ca });
1910
+ function Oa(i) {
1911
+ const { locale: e, t: l } = di({ messages: zi });
1890
1912
  return { supportedFileTypeList: f(() => {
1891
- const o = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1892
- return a?.value ? o.format(
1893
- a.value.split(",").map((c) => {
1894
- switch (c.trim()) {
1913
+ const n = new Intl.ListFormat(e.value, { style: "short", type: "unit" });
1914
+ return i?.value ? n.format(
1915
+ i.value.split(",").map((r) => {
1916
+ switch (r.trim()) {
1895
1917
  case "audio/*":
1896
- return p("audioFiles");
1918
+ return l("audioFiles");
1897
1919
  case "image/*":
1898
- return p("imageFiles");
1920
+ return l("imageFiles");
1899
1921
  case "video/*":
1900
- return p("videoFiles");
1922
+ return l("videoFiles");
1901
1923
  default:
1902
- return He(c);
1924
+ return Aa(r);
1903
1925
  }
1904
1926
  })
1905
1927
  ) : null;
1906
1928
  }) };
1907
1929
  }
1908
- function Ae(a) {
1909
- return Xa.getType(a) ?? a;
1930
+ function Ba(i) {
1931
+ return Ji.getType(i) ?? i;
1910
1932
  }
1911
- function Ue({ maxCount: a, accept: i }) {
1912
- const p = ya({
1933
+ function Ua({ maxCount: i, accept: e }) {
1934
+ const l = wi({
1913
1935
  invalidTypes: !1,
1914
1936
  partiallyInvalidTypes: !1,
1915
1937
  maxCountOverflow: !1
1916
- }), n = ya({
1938
+ }), o = wi({
1917
1939
  dragging: !1,
1918
1940
  error: !1
1919
- }), o = f(() => i.value ? i.value.split(",").map((h) => Ae(h.trim().toLocaleLowerCase())) : void 0);
1920
- function c() {
1921
- n.dragging = !1, n.error = !1, p.invalidTypes = !1, p.partiallyInvalidTypes = !1, p.maxCountOverflow = !1;
1941
+ }), n = f(() => e.value ? e.value.split(",").map((h) => Ba(h.trim().toLocaleLowerCase())) : void 0);
1942
+ function r() {
1943
+ o.dragging = !1, o.error = !1, l.invalidTypes = !1, l.partiallyInvalidTypes = !1, l.maxCountOverflow = !1;
1922
1944
  }
1923
- function l(m, h) {
1924
- if (n.dragging = !0, (!h.dataTransfer.types.includes("Files") || m > a.value) && (p.maxCountOverflow = !0, n.error = !0), !o.value)
1945
+ function p(m, h) {
1946
+ if (o.dragging = !0, (!h.dataTransfer.types.includes("Files") || m > i.value) && (l.maxCountOverflow = !0, o.error = !0), !n.value)
1925
1947
  return;
1926
- let z = 0;
1927
- for (const V of h.dataTransfer.items)
1928
- o.value.includes(V.type) && z++;
1929
- if (z === 0) {
1930
- n.error = !0, p.invalidTypes = !0;
1948
+ let E = 0;
1949
+ for (const H of h.dataTransfer.items)
1950
+ n.value.includes(H.type) && E++;
1951
+ if (E === 0) {
1952
+ o.error = !0, l.invalidTypes = !0;
1931
1953
  return;
1932
1954
  }
1933
- !p.invalidTypes && z !== h.dataTransfer.items.length && (n.error = !0, p.partiallyInvalidTypes = !0);
1955
+ !l.invalidTypes && E !== h.dataTransfer.items.length && (o.error = !0, l.partiallyInvalidTypes = !0);
1934
1956
  }
1935
1957
  return {
1936
- dragState: n,
1937
- dragErrors: p,
1938
- resetDragState: c,
1939
- onDragEnterValidations: l
1958
+ dragState: o,
1959
+ dragErrors: l,
1960
+ resetDragState: r,
1961
+ onDragEnterValidations: p
1940
1962
  };
1941
1963
  }
1942
- const Ze = ["id", "aria-required", "accept", "disabled", "multiple"], Ne = ["id"], Pe = ["aria-labelledby", "tabindex"], We = {
1964
+ const Za = ["id", "aria-required", "accept", "disabled", "multiple"], Na = ["id"], Pa = ["aria-labelledby", "tabindex"], Wa = {
1943
1965
  class: "b-file-uploader__icon",
1944
1966
  "aria-hidden": "true"
1945
- }, Ge = { class: "b-file-uploader__files" }, Ye = {
1967
+ }, Ga = { class: "b-file-uploader__files" }, Ya = {
1946
1968
  model: { prop: "modelValue" },
1947
- i18n: { messages: Ca }
1948
- }, Je = /* @__PURE__ */ ca({
1949
- ...Ye,
1969
+ i18n: { messages: zi }
1970
+ }, Xa = /* @__PURE__ */ ri({
1971
+ ...Ya,
1950
1972
  __name: "file-uploader",
1951
1973
  props: {
1952
1974
  accept: { default: null },
@@ -1966,300 +1988,300 @@ const Ze = ["id", "aria-required", "accept", "disabled", "multiple"], Ne = ["id"
1966
1988
  tooltipText: { default: null }
1967
1989
  },
1968
1990
  emits: ["change", "input", "update:model-value", "error:upload"],
1969
- setup(a, { emit: i }) {
1970
- const { t: p, tc: n, n: o } = da({ messages: Ca }), c = i, l = a, { emitValue: m } = bi(c);
1971
- function h(e) {
1972
- return !!e && typeof e.length == "number" && typeof e.item == "function";
1991
+ setup(i, { emit: e }) {
1992
+ const { t: l, tc: o, n } = di({ messages: zi }), r = e, p = i, { emitValue: m } = be(r);
1993
+ function h(a) {
1994
+ return !!a && typeof a.length == "number" && typeof a.item == "function";
1973
1995
  }
1974
- Aa(() => {
1975
- h(l.modelValue) || hi(
1996
+ Bi(() => {
1997
+ h(p.modelValue) || he(
1976
1998
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1977
1999
  "Use FileList instead.",
1978
2000
  "2.0.0"
1979
2001
  );
1980
2002
  });
1981
- const { supportedFileTypeList: z } = Be(ha(l, "accept")), V = I("browse-button"), O = I("custom-text"), v = I("drop-files-text"), _ = I("comma-text"), B = I("file-uploader-restrictions"), q = I("field-label"), b = F(null), N = F([]), A = F(null), K = F(null), Q = I("input"), ta = I("input-error"), na = f(() => {
1982
- const e = l.label ? `${q} ${_}` : "", d = l.condensed ? "" : `${v} ${_}`, C = l.description ? `${O} ${_}` : "", L = `${B} ${_}`;
1983
- return `${e} ${d} ${C} ${L} ${V}`;
1984
- }), { dragState: oa, dragErrors: W, resetDragState: G, onDragEnterValidations: pa } = Ue({
1985
- accept: ha(l, "accept"),
1986
- maxCount: ha(l, "maxCount")
1987
- }), la = f(() => ({
1988
- condensed: l.condensed,
1989
- disabled: l.disabled,
2003
+ const { supportedFileTypeList: E } = Oa(hi(p, "accept")), H = R("browse-button"), V = R("custom-text"), v = R("drop-files-text"), F = R("comma-text"), O = R("file-uploader-restrictions"), q = R("field-label"), b = S(null), N = S([]), B = S(null), K = S(null), Q = R("input"), ti = R("input-error"), oi = f(() => {
2004
+ const a = p.label ? `${q} ${F}` : "", d = p.condensed ? "" : `${v} ${F}`, z = p.description ? `${V} ${F}` : "", I = `${O} ${F}`;
2005
+ return `${a} ${d} ${z} ${I} ${H}`;
2006
+ }), { dragState: ni, dragErrors: W, resetDragState: G, onDragEnterValidations: li } = Ua({
2007
+ accept: hi(p, "accept"),
2008
+ maxCount: hi(p, "maxCount")
2009
+ }), pi = f(() => ({
2010
+ condensed: p.condensed,
2011
+ disabled: p.disabled,
1990
2012
  maxCount: Y.value ? {
1991
- value: l.maxCount,
1992
- error: W.maxCountOverflow || $a.value
2013
+ value: p.maxCount,
2014
+ error: W.maxCountOverflow || Ci.value
1993
2015
  } : null,
1994
- maxDimensions: l.maxDimensions ? {
1995
- value: l.maxDimensions,
1996
- error: b.value?.some((e) => e.errors.includes(E.ERROR_DIMENSIONS))
2016
+ maxDimensions: p.maxDimensions ? {
2017
+ value: p.maxDimensions,
2018
+ error: b.value?.some((a) => a.errors.includes(T.ERROR_DIMENSIONS))
1997
2019
  } : null,
1998
- maxSize: l.maxSize ? {
1999
- value: l.maxSize,
2000
- error: b.value?.some((e) => e.errors.includes(E.ERROR_SIZE))
2020
+ maxSize: p.maxSize ? {
2021
+ value: p.maxSize,
2022
+ error: b.value?.some((a) => a.errors.includes(T.ERROR_SIZE))
2001
2023
  } : null,
2002
- supportedFileTypes: z.value ? {
2003
- value: z.value,
2004
- error: W.invalidTypes || W.partiallyInvalidTypes || b.value?.some((e) => e.errors.includes(E.ERROR_TYPE))
2024
+ supportedFileTypes: E.value ? {
2025
+ value: E.value,
2026
+ error: W.invalidTypes || W.partiallyInvalidTypes || b.value?.some((a) => a.errors.includes(T.ERROR_TYPE))
2005
2027
  } : null
2006
- })), aa = F(), ra = f(() => ({
2007
- [`b-file-uploader--${sa.DISABLED}`]: l.disabled,
2008
- [`b-file-uploader--${sa.DRAG_OVER}`]: oa.dragging,
2009
- [`b-file-uploader--${sa.ERROR}`]: ua.value,
2010
- "b-file-uploader--condensed": l.condensed
2011
- })), Y = f(() => l.maxCount > 1), ma = f(() => l.maxCount && b.value?.length >= l.maxCount || l.readonly), j = f(() => b.value?.some((e) => e.state === "loading")), H = (e) => (d) => {
2012
- N.value[e] = d;
2028
+ })), ii = S(), ci = f(() => ({
2029
+ [`b-file-uploader--${si.DISABLED}`]: p.disabled,
2030
+ [`b-file-uploader--${si.DRAG_OVER}`]: ni.dragging,
2031
+ [`b-file-uploader--${si.ERROR}`]: ui.value,
2032
+ "b-file-uploader--condensed": p.condensed
2033
+ })), Y = f(() => p.maxCount > 1), mi = f(() => p.maxCount && b.value?.length >= p.maxCount || p.readonly), $ = f(() => b.value?.some((a) => a.state === "loading")), A = (a) => (d) => {
2034
+ N.value[a] = d;
2013
2035
  };
2014
- function ia(e) {
2015
- if (e) {
2016
- pi(e), li(e);
2017
- const d = si(e);
2018
- c("change", d), m(d);
2036
+ function ei(a) {
2037
+ if (a) {
2038
+ le(a), pe(a);
2039
+ const d = se(a);
2040
+ r("change", d), m(d);
2019
2041
  } else
2020
- c("change", void 0), m(void 0);
2042
+ r("change", void 0), m(void 0);
2021
2043
  }
2022
- const ua = f(() => !!l.errorMessage || oa.error), $a = f(() => b.value?.length > l.maxCount), Ka = F(!1), Qa = f(() => b.value?.some((e) => e.state === "error"));
2023
- wa(Qa, (e) => {
2024
- j.value || c("error:upload", e);
2044
+ const ui = f(() => !!p.errorMessage || ni.error), Ci = f(() => b.value?.length > p.maxCount), Ki = S(!1), Qi = f(() => b.value?.some((a) => a.state === "error"));
2045
+ yi(Qi, (a) => {
2046
+ $.value || r("error:upload", a);
2025
2047
  });
2026
- async function va() {
2027
- if (await xi(), b.value.length === l.maxCount) {
2048
+ async function vi() {
2049
+ if (await xe(), b.value.length === p.maxCount) {
2028
2050
  N.value[0]?.focus();
2029
2051
  return;
2030
2052
  }
2031
2053
  K.value.focus();
2032
2054
  }
2033
- async function za(e) {
2034
- b.value = b.value.filter(({ id: d }) => d !== e.id), await va(), ia(b.value);
2055
+ async function Ei(a) {
2056
+ b.value = b.value.filter(({ id: d }) => d !== a.id), await vi(), ei(b.value);
2035
2057
  }
2036
- function fa(e) {
2037
- const d = ya({
2038
- id: I("file"),
2039
- data: e,
2058
+ function fi(a) {
2059
+ const d = wi({
2060
+ id: R("file"),
2061
+ data: a,
2040
2062
  errors: [],
2041
2063
  progress: null,
2042
2064
  state: M.LOADING,
2043
- type: qi(e)
2065
+ type: qe(a)
2044
2066
  });
2045
- return Hi(d, l.accept, l.maxDimensions), d;
2067
+ return Ae(d, p.accept, p.maxDimensions), d;
2046
2068
  }
2047
- function ai(e) {
2048
- b.value?.length === l.maxCount && e.preventDefault();
2069
+ function ie(a) {
2070
+ b.value?.length === p.maxCount && a.preventDefault();
2049
2071
  }
2050
- async function _a(e) {
2051
- if (l.maxCount === 1 && e.length > l.maxCount) {
2052
- xa(), G();
2072
+ async function Fi(a) {
2073
+ if (p.maxCount === 1 && a.length > p.maxCount) {
2074
+ xi(), G();
2053
2075
  return;
2054
2076
  }
2055
- Y.value ? b.value = [...b.value || [], ...Array.from(e).map((d) => fa(d))] : (b.value = [fa(e[0])], await va()), ia(b.value);
2077
+ Y.value ? b.value = [...b.value || [], ...Array.from(a).map((d) => fi(d))] : (b.value = [fi(a[0])], await vi()), ei(b.value);
2056
2078
  }
2057
- function ii(e) {
2058
- if (l.disabled)
2079
+ function ee(a) {
2080
+ if (p.disabled)
2059
2081
  return;
2060
- aa.value = e.target;
2061
- const d = (e.dataTransfer.items?.length ?? 0) + (b.value?.length ?? 0);
2062
- pa(d, e);
2082
+ ii.value = a.target;
2083
+ const d = (a.dataTransfer.items?.length ?? 0) + (b.value?.length ?? 0);
2084
+ li(d, a);
2063
2085
  }
2064
- function xa() {
2065
- aa.value = null;
2086
+ function xi() {
2087
+ ii.value = null;
2066
2088
  }
2067
- function ei(e) {
2068
- aa.value === e.target && (xa(), G());
2089
+ function ae(a) {
2090
+ ii.value === a.target && (xi(), G());
2069
2091
  }
2070
- function ti(e) {
2071
- e.preventDefault(), l.disabled && (e.dataTransfer.dropEffect = "none");
2092
+ function te(a) {
2093
+ a.preventDefault(), p.disabled && (a.dataTransfer.dropEffect = "none");
2072
2094
  }
2073
- async function ni(e) {
2074
- l.disabled || (!W.invalidTypes && e.dataTransfer.files?.length && _a(e.dataTransfer.files), xa(), G());
2095
+ async function oe(a) {
2096
+ p.disabled || (!W.invalidTypes && a.dataTransfer.files?.length && Fi(a.dataTransfer.files), xi(), G());
2075
2097
  }
2076
- async function oi() {
2077
- A.value.files?.length && _a(A.value.files), A.value.value = "", await va();
2098
+ async function ne() {
2099
+ B.value.files?.length && Fi(B.value.files), B.value.value = "", await vi();
2078
2100
  }
2079
- wa(
2080
- () => l.modelValue,
2081
- (e) => {
2082
- if (e && h(e)) {
2083
- const C = Array.from(e);
2084
- b.value = C.map((L) => fa(L));
2085
- } else !e && b.value && (b.value = null);
2101
+ yi(
2102
+ () => p.modelValue,
2103
+ (a) => {
2104
+ if (a && h(a)) {
2105
+ const z = Array.from(a);
2106
+ b.value = z.map((I) => fi(I));
2107
+ } else !a && b.value && (b.value = null);
2086
2108
  },
2087
2109
  { immediate: !0 }
2088
2110
  );
2089
- function pi(e) {
2090
- const d = l.maxCount && e.length <= l.maxCount;
2091
- Ka.value = !d;
2111
+ function le(a) {
2112
+ const d = p.maxCount && a.length <= p.maxCount;
2113
+ Ki.value = !d;
2092
2114
  }
2093
- function li(e) {
2094
- l.maxSize && e.forEach((d) => {
2095
- const C = d;
2096
- let L;
2097
- Array.isArray(l.maxSize) ? L = l.maxSize.find(
2098
- (ci) => Pa(C.data, ci.fileType)
2099
- )?.maxSize : L = l.maxSize, L && C.data.size > L && (C.state = M.ERROR, C.errors.includes(E.ERROR_SIZE) || C.errors.push(E.ERROR_SIZE));
2115
+ function pe(a) {
2116
+ p.maxSize && a.forEach((d) => {
2117
+ const z = d;
2118
+ let I;
2119
+ Array.isArray(p.maxSize) ? I = p.maxSize.find(
2120
+ (re) => Pi(z.data, re.fileType)
2121
+ )?.maxSize : I = p.maxSize, I && z.data.size > I && (z.state = M.ERROR, z.errors.includes(T.ERROR_SIZE) || z.errors.push(T.ERROR_SIZE));
2100
2122
  });
2101
2123
  }
2102
- function si(e) {
2103
- const d = e.filter(
2104
- ({ errors: C }) => !C.includes(E.ERROR_LOAD) && !C.includes(E.ERROR_SIZE)
2124
+ function se(a) {
2125
+ const d = a.filter(
2126
+ ({ errors: z }) => !z.includes(T.ERROR_LOAD) && !z.includes(T.ERROR_SIZE)
2105
2127
  );
2106
2128
  if (d.length) {
2107
- const C = new DataTransfer();
2108
- return d.forEach(({ data: L, id: ga }) => {
2109
- C.items.add(L);
2110
- }), C.files;
2129
+ const z = new DataTransfer();
2130
+ return d.forEach(({ data: I, id: gi }) => {
2131
+ z.items.add(I);
2132
+ }), z.files;
2111
2133
  }
2112
2134
  }
2113
- return (e, d) => (s(), g("div", {
2114
- class: Z(["b-file-uploader", ra.value])
2135
+ return (a, d) => (s(), g("div", {
2136
+ class: Z(["b-file-uploader", ci.value])
2115
2137
  }, [
2116
- U(t(ji), {
2138
+ U(t($e), {
2117
2139
  id: t(q),
2118
2140
  class: "b-file-uploader__label",
2119
2141
  for: t(Q),
2120
- label: e.label,
2121
- optional: e.optional,
2122
- required: e.required,
2123
- "tooltip-text": e.tooltipText
2142
+ label: a.label,
2143
+ optional: a.optional,
2144
+ required: a.required,
2145
+ "tooltip-text": a.tooltipText
2124
2146
  }, null, 8, ["id", "for", "label", "optional", "required", "tooltip-text"]),
2125
- r("input", {
2147
+ c("input", {
2126
2148
  id: t(Q),
2127
2149
  ref_key: "inputRef",
2128
- ref: A,
2129
- "aria-required": e.required,
2150
+ ref: B,
2151
+ "aria-required": a.required,
2130
2152
  type: "file",
2131
2153
  tabindex: "-1",
2132
2154
  "data-testid": "input",
2133
2155
  class: "b-file-uploader__input",
2134
- accept: e.accept,
2135
- disabled: e.disabled,
2156
+ accept: a.accept,
2157
+ disabled: a.disabled,
2136
2158
  multiple: Y.value,
2137
- onChange: oi,
2138
- onClick: ai,
2139
- onInvalid: d[0] || (d[0] = J(() => {
2159
+ onChange: ne,
2160
+ onClick: ie,
2161
+ onInvalid: d[0] || (d[0] = X(() => {
2140
2162
  }, ["prevent"]))
2141
- }, null, 40, Ze),
2142
- r("span", {
2143
- id: t(_),
2163
+ }, null, 40, Za),
2164
+ c("span", {
2165
+ id: t(F),
2144
2166
  "aria-hidden": "true",
2145
2167
  class: "b-file-uploader__invisible-comma"
2146
- }, " , ", 8, Ne),
2147
- ma.value ? u("", !0) : (s(), g("div", {
2168
+ }, " , ", 8, Na),
2169
+ mi.value ? u("", !0) : (s(), g("div", {
2148
2170
  key: 0,
2149
2171
  ref_key: "dropAreaRef",
2150
2172
  ref: K,
2151
- "aria-labelledby": na.value,
2173
+ "aria-labelledby": oi.value,
2152
2174
  class: "b-file-uploader__area",
2153
2175
  role: "button",
2154
- tabindex: e.disabled ? -1 : 0,
2155
- onClick: d[1] || (d[1] = (C) => A.value.click()),
2156
- onDragenter: J(ii, ["stop", "prevent"]),
2157
- onDragleave: J(ei, ["stop", "prevent"]),
2158
- onDrop: J(ni, ["stop", "prevent"]),
2159
- onDragover: ti,
2176
+ tabindex: a.disabled ? -1 : 0,
2177
+ onClick: d[1] || (d[1] = (z) => B.value.click()),
2178
+ onDragenter: X(ee, ["stop", "prevent"]),
2179
+ onDragleave: X(ae, ["stop", "prevent"]),
2180
+ onDrop: X(oe, ["stop", "prevent"]),
2181
+ onDragover: te,
2160
2182
  onKeydownCapture: [
2161
- d[2] || (d[2] = Ea(J((C) => A.value.click(), ["prevent"]), ["enter"])),
2162
- d[3] || (d[3] = Ea(J((C) => A.value.click(), ["prevent"]), ["space"]))
2183
+ d[2] || (d[2] = Ti(X((z) => B.value.click(), ["prevent"]), ["enter"])),
2184
+ d[3] || (d[3] = Ti(X((z) => B.value.click(), ["prevent"]), ["space"]))
2163
2185
  ]
2164
2186
  }, [
2165
- r("div", We, [
2166
- ua.value ? (s(), y(t(Za), { key: 0 })) : (s(), y(t(Si), { key: 1 }))
2187
+ c("div", Wa, [
2188
+ ui.value ? (s(), w(t(Zi), { key: 0 })) : (s(), w(t(je), { key: 1 }))
2167
2189
  ]),
2168
- e.condensed ? u("", !0) : (s(), g(Ra, { key: 0 }, [
2169
- U(t(R), {
2190
+ a.condensed ? u("", !0) : (s(), g(_i, { key: 0 }, [
2191
+ U(t(_), {
2170
2192
  id: t(v),
2171
2193
  el: "span",
2172
2194
  strongest: "",
2173
2195
  class: "b-file-uploader__title"
2174
2196
  }, {
2175
- default: w(() => [
2176
- $(x(t(n)("dropFiles", e.maxCount)), 1)
2197
+ default: y(() => [
2198
+ C(x(t(o)("dropFiles", a.maxCount)), 1)
2177
2199
  ]),
2178
2200
  _: 1
2179
2201
  }, 8, ["id"]),
2180
- e.description ? (s(), y(t(R), {
2202
+ a.description ? (s(), w(t(_), {
2181
2203
  key: 0,
2182
- id: t(O),
2204
+ id: t(V),
2183
2205
  el: "span",
2184
2206
  class: "b-file-uploader__description"
2185
2207
  }, {
2186
- default: w(() => [
2187
- $(x(e.description), 1)
2208
+ default: y(() => [
2209
+ C(x(a.description), 1)
2188
2210
  ]),
2189
2211
  _: 1
2190
2212
  }, 8, ["id"])) : u("", !0),
2191
- U(t(Ba), D(la.value, { id: t(B) }), null, 16, ["id"])
2213
+ U(t(Oi), D(pi.value, { id: t(O) }), null, 16, ["id"])
2192
2214
  ], 64)),
2193
- U(t(R), {
2194
- id: t(V),
2215
+ U(t(_), {
2216
+ id: t(H),
2195
2217
  stronger: "",
2196
2218
  class: "b-file-uploader__button"
2197
2219
  }, {
2198
- default: w(() => [
2199
- $(x(t(p)("browseFiles")), 1)
2220
+ default: y(() => [
2221
+ C(x(t(l)("browseFiles")), 1)
2200
2222
  ]),
2201
2223
  _: 1
2202
2224
  }, 8, ["id"])
2203
- ], 40, Pe)),
2204
- ua.value && e.errorMessage ? (s(), y(t(Ei), {
2225
+ ], 40, Pa)),
2226
+ ui.value && a.errorMessage ? (s(), w(t(Te), {
2205
2227
  key: 1,
2206
- id: t(ta),
2207
- "error-message": e.errorMessage,
2228
+ id: t(ti),
2229
+ "error-message": a.errorMessage,
2208
2230
  class: "b-file-uploader__error-message"
2209
2231
  }, null, 8, ["id", "error-message"])) : u("", !0),
2210
- e.condensed && e.description ? (s(), y(t(R), {
2232
+ a.condensed && a.description ? (s(), w(t(_), {
2211
2233
  key: 2,
2212
- id: t(O),
2234
+ id: t(V),
2213
2235
  "aria-hidden": "true",
2214
2236
  el: "span",
2215
2237
  class: "b-file-uploader__description b-file-uploader__description--condensed"
2216
2238
  }, {
2217
- default: w(() => [
2218
- $(x(e.description), 1)
2239
+ default: y(() => [
2240
+ C(x(a.description), 1)
2219
2241
  ]),
2220
2242
  _: 1
2221
2243
  }, 8, ["id"])) : u("", !0),
2222
- e.condensed ? (s(), y(t(Ba), D({ key: 3 }, la.value, { id: t(B) }), null, 16, ["id"])) : u("", !0),
2223
- $a.value ? (s(), y(t(gi), {
2244
+ a.condensed ? (s(), w(t(Oi), D({ key: 3 }, pi.value, { id: t(O) }), null, 16, ["id"])) : u("", !0),
2245
+ Ci.value ? (s(), w(t(ge), {
2224
2246
  key: 4,
2225
2247
  type: "critical"
2226
2248
  }, {
2227
- description: w(() => [
2228
- $(x(t(p)("youHaveExceededTheMaximum", { count: t(o)(l.maxCount) })), 1)
2249
+ description: y(() => [
2250
+ C(x(t(l)("youHaveExceededTheMaximum", { count: t(n)(p.maxCount) })), 1)
2229
2251
  ]),
2230
- default: w(() => [
2231
- $(x(t(p)("tooManyFiles")) + " ", 1)
2252
+ default: y(() => [
2253
+ C(x(t(l)("tooManyFiles")) + " ", 1)
2232
2254
  ]),
2233
2255
  _: 1
2234
2256
  })) : u("", !0),
2235
- Ua(r("div", Ge, [
2236
- (s(!0), g(Ra, null, vi(b.value, (C, L) => (s(), y(t(De), {
2257
+ Ui(c("div", Ga, [
2258
+ (s(!0), g(_i, null, ve(b.value, (z, I) => (s(), w(t(Da), {
2237
2259
  ref_for: !0,
2238
- ref: H(L),
2239
- key: C.id,
2240
- file: C,
2241
- "supported-file-types": t(z),
2242
- readonly: e.readonly,
2243
- onCancel: (ga) => za(C),
2244
- onRemove: (ga) => za(C)
2260
+ ref: A(I),
2261
+ key: z.id,
2262
+ file: z,
2263
+ "supported-file-types": t(E),
2264
+ readonly: a.readonly,
2265
+ onCancel: (gi) => Ei(z),
2266
+ onRemove: (gi) => Ei(z)
2245
2267
  }, null, 8, ["file", "supported-file-types", "readonly", "onCancel", "onRemove"]))), 128))
2246
2268
  ], 512), [
2247
- [fi, b.value?.length]
2269
+ [fe, b.value?.length]
2248
2270
  ]),
2249
- !b.value?.length && e.readonly ? (s(), y(t(R), {
2271
+ !b.value?.length && a.readonly ? (s(), w(t(_), {
2250
2272
  key: 5,
2251
2273
  class: "b-file-uploader__no-files",
2252
2274
  wide: ""
2253
2275
  }, {
2254
- default: w(() => [
2255
- $(x(t(p)("noFilesUploaded")), 1)
2276
+ default: y(() => [
2277
+ C(x(t(l)("noFilesUploaded")), 1)
2256
2278
  ]),
2257
2279
  _: 1
2258
2280
  })) : u("", !0)
2259
2281
  ], 2));
2260
2282
  }
2261
- }), xt = /* @__PURE__ */ S(Je, [["__scopeId", "data-v-9e27903c"]]);
2283
+ }), gt = /* @__PURE__ */ j(Xa, [["__scopeId", "data-v-9e27903c"]]);
2262
2284
  export {
2263
- xt as f
2285
+ gt as f
2264
2286
  };
2265
- //# sourceMappingURL=file-uploader.Bfd1uUMe.js.map
2287
+ //# sourceMappingURL=file-uploader.Dbg3vfZ_.js.map