@adyen/bento-vue2 1.102.0 → 1.103.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 (399) hide show
  1. package/dist/@types/index.d.ts +20 -3
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/anchor-scroller.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/ai-button.css +1 -1
  10. package/dist/assets/anchor-scroller.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/data-grid.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/empty-state.css +1 -1
  20. package/dist/assets/file-uploader.css +1 -1
  21. package/dist/assets/filter-bar.css +1 -1
  22. package/dist/assets/index.css +1 -1
  23. package/dist/assets/input-field-password.css +1 -1
  24. package/dist/assets/inspector.css +1 -1
  25. package/dist/assets/modal-fullscreen.css +1 -1
  26. package/dist/assets/navigation-menu-group.css +1 -1
  27. package/dist/assets/pagination.css +1 -1
  28. package/dist/assets/radio-input.css +1 -1
  29. package/dist/assets/secondary-nav.css +1 -1
  30. package/dist/assets/selection-card-group.css +1 -1
  31. package/dist/assets/sidepanel.css +1 -1
  32. package/dist/assets/table-of-contents.css +1 -1
  33. package/dist/assets/typography.css +1 -1
  34. package/dist/avatar.js +1 -1
  35. package/dist/button.js +3 -3
  36. package/dist/card.js +1 -1
  37. package/dist/checkbox.js +2 -2
  38. package/dist/chip.js +1 -1
  39. package/dist/chunks/{accordion-item.C0va5Mbv.js → accordion-item.CrVVFIHa.js} +16 -49
  40. package/dist/chunks/{accordion-item.C0va5Mbv.js.map → accordion-item.CrVVFIHa.js.map} +1 -1
  41. package/dist/chunks/{action-bar.-kzjjAuX.js → action-bar.BC1fWyHX.js} +18 -150
  42. package/dist/chunks/{action-bar.-kzjjAuX.js.map → action-bar.BC1fWyHX.js.map} +1 -1
  43. package/dist/chunks/{ai-button.ChLXOu7p.js → ai-button.CP6Bu7PB.js} +3 -3
  44. package/dist/chunks/{ai-button.ChLXOu7p.js.map → ai-button.CP6Bu7PB.js.map} +1 -1
  45. package/dist/chunks/{ai-tag.DhBjifex.js → ai-tag.wYWc7yOx.js} +16 -49
  46. package/dist/chunks/{ai-tag.DhBjifex.js.map → ai-tag.wYWc7yOx.js.map} +1 -1
  47. package/dist/chunks/{alert.CDP-LTh5.js → alert.Dj57zB88.js} +15 -81
  48. package/dist/chunks/{alert.CDP-LTh5.js.map → alert.Dj57zB88.js.map} +1 -1
  49. package/dist/chunks/anchor-scroller.Bhgy748g.js +120 -0
  50. package/dist/chunks/anchor-scroller.Bhgy748g.js.map +1 -0
  51. package/dist/chunks/{avatar.rwWPYJnt.js → avatar.D__jLgjI.js} +2 -2
  52. package/dist/chunks/{avatar.rwWPYJnt.js.map → avatar.D__jLgjI.js.map} +1 -1
  53. package/dist/chunks/{base-button.BPRPrO0p.js → base-button.D5C9VIYP.js} +20 -23
  54. package/dist/chunks/{base-button.BPRPrO0p.js.map → base-button.D5C9VIYP.js.map} +1 -1
  55. package/dist/chunks/{base-modal.BagJ8weI.js → base-modal.DlD_Lj4Y.js} +100 -141
  56. package/dist/chunks/{base-modal.BagJ8weI.js.map → base-modal.DlD_Lj4Y.js.map} +1 -1
  57. package/dist/chunks/button-actions-with-menu.CTgggEw2.js +77 -0
  58. package/dist/chunks/{button-actions-with-menu.DNYoFmV4.js.map → button-actions-with-menu.CTgggEw2.js.map} +1 -1
  59. package/dist/chunks/{button-actions.Dpbx0xf3.js → button-actions.CxX7lK7z.js} +362 -442
  60. package/dist/chunks/{button-actions.Dpbx0xf3.js.map → button-actions.CxX7lK7z.js.map} +1 -1
  61. package/dist/chunks/{button.CKS_V3p5.js → button.C4kKejsg.js} +34 -37
  62. package/dist/chunks/{button.CKS_V3p5.js.map → button.C4kKejsg.js.map} +1 -1
  63. package/dist/chunks/calendar.BoFWdxN7.js +1143 -0
  64. package/dist/chunks/{calendar.CvHJ3Geq.js.map → calendar.BoFWdxN7.js.map} +1 -1
  65. package/dist/chunks/{card.DqMECGcj.js → card.B70qRHOi.js} +34 -70
  66. package/dist/chunks/{card.DqMECGcj.js.map → card.B70qRHOi.js.map} +1 -1
  67. package/dist/chunks/{checkbox-group.YnXz1Hl2.js → checkbox-group.D1zzKsdi.js} +6 -6
  68. package/dist/chunks/{checkbox-group.YnXz1Hl2.js.map → checkbox-group.D1zzKsdi.js.map} +1 -1
  69. package/dist/chunks/{checkbox-input.08E9BNeF.js → checkbox-input.kfxcyjfd.js} +28 -31
  70. package/dist/chunks/{checkbox-input.08E9BNeF.js.map → checkbox-input.kfxcyjfd.js.map} +1 -1
  71. package/dist/chunks/{checkbox.BUc2332d.js → checkbox.Ca0mu2lE.js} +58 -91
  72. package/dist/chunks/{checkbox.BUc2332d.js.map → checkbox.Ca0mu2lE.js.map} +1 -1
  73. package/dist/chunks/{chip.DHmRHsL2.js → chip.wgEnbEPw.js} +16 -38
  74. package/dist/chunks/{chip.DHmRHsL2.js.map → chip.wgEnbEPw.js.map} +1 -1
  75. package/dist/chunks/click-outside.B0whuTUU.js +20 -0
  76. package/dist/chunks/{click-outside.BG01Sm0A.js.map → click-outside.B0whuTUU.js.map} +1 -1
  77. package/dist/chunks/{code-snippet.Cha3wHUL.js → code-snippet.BglbQWRB.js} +19 -74
  78. package/dist/chunks/{code-snippet.Cha3wHUL.js.map → code-snippet.BglbQWRB.js.map} +1 -1
  79. package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
  80. package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
  81. package/dist/chunks/constructNow.DyOJDyZZ.js +8 -0
  82. package/dist/chunks/{constructNow.CK0ryPil.js.map → constructNow.DyOJDyZZ.js.map} +1 -1
  83. package/dist/chunks/{controls-group.BomXFNvi.js → controls-group.DPLAJjbv.js} +3 -3
  84. package/dist/chunks/{controls-group.BomXFNvi.js.map → controls-group.DPLAJjbv.js.map} +1 -1
  85. package/dist/chunks/{copy.BlyhTDSU.js → copy.CsKQJlen.js} +16 -60
  86. package/dist/chunks/{copy.BlyhTDSU.js.map → copy.CsKQJlen.js.map} +1 -1
  87. package/dist/chunks/{country.DySY9sbA.js → country.D8ncVjcm.js} +5 -5
  88. package/dist/chunks/{country.DySY9sbA.js.map → country.D8ncVjcm.js.map} +1 -1
  89. package/dist/chunks/country.types.BUW49nQx.js +27 -0
  90. package/dist/chunks/country.types.BUW49nQx.js.map +1 -0
  91. package/dist/chunks/currency.POwX-Trj.js +124 -0
  92. package/dist/chunks/{currency.Dvy9Qjjf.js.map → currency.POwX-Trj.js.map} +1 -1
  93. package/dist/chunks/dashboard-section.Bmu65OHg.js +98 -0
  94. package/dist/chunks/{dashboard-section.D2yqhERq.js.map → dashboard-section.Bmu65OHg.js.map} +1 -1
  95. package/dist/chunks/{dashed-underline.ByPcIHNe.js → dashed-underline.CbzCYKrk.js} +11 -12
  96. package/dist/chunks/{dashed-underline.ByPcIHNe.js.map → dashed-underline.CbzCYKrk.js.map} +1 -1
  97. package/dist/chunks/data-grid-template.BvBHJ0sH.js +102 -0
  98. package/dist/chunks/{data-grid-template.Ifn423Ot.js.map → data-grid-template.BvBHJ0sH.js.map} +1 -1
  99. package/dist/chunks/data-grid.DPh8BSnM.js +3266 -0
  100. package/dist/chunks/{data-grid.BDXQ_kKQ.js.map → data-grid.DPh8BSnM.js.map} +1 -1
  101. package/dist/chunks/date-picker.DutUBQbH.js +183 -0
  102. package/dist/chunks/{date-picker.CXZfCxwP.js.map → date-picker.DutUBQbH.js.map} +1 -1
  103. package/dist/chunks/date-range-picker.5bvgs49h.js +924 -0
  104. package/dist/chunks/{date-range-picker.BzVQsYk4.js.map → date-range-picker.5bvgs49h.js.map} +1 -1
  105. package/dist/chunks/date-time-picker.DUWWGlOX.js +127 -0
  106. package/dist/chunks/{date-time-picker.DaLATfJp.js.map → date-time-picker.DUWWGlOX.js.map} +1 -1
  107. package/dist/chunks/{date.C1HnIyOv.js → date.CPo8t1n9.js} +25 -25
  108. package/dist/chunks/{date.C1HnIyOv.js.map → date.CPo8t1n9.js.map} +1 -1
  109. package/dist/chunks/{de.pvjpUJ1o.js → de.ctR_lBqr.js} +18 -18
  110. package/dist/chunks/{de.pvjpUJ1o.js.map → de.ctR_lBqr.js.map} +1 -1
  111. package/dist/chunks/{dialog-page.B_LwIWgK.js → dialog-page.CPorblJc.js} +16 -38
  112. package/dist/chunks/{dialog-page.B_LwIWgK.js.map → dialog-page.CPorblJc.js.map} +1 -1
  113. package/dist/chunks/differenceInMonths.yz4Dfe-b.js +44 -0
  114. package/dist/chunks/{differenceInMonths.CpwVtHZX.js.map → differenceInMonths.yz4Dfe-b.js.map} +1 -1
  115. package/dist/chunks/{directive.BBWhsNtO.js → directive.D1-d-C2K.js} +2 -2
  116. package/dist/chunks/{directive.BBWhsNtO.js.map → directive.D1-d-C2K.js.map} +1 -1
  117. package/dist/chunks/{draggable-handle.kBP4prVO.js → draggable-handle.g2BFN3G1.js} +18 -114
  118. package/dist/chunks/{draggable-handle.kBP4prVO.js.map → draggable-handle.g2BFN3G1.js.map} +1 -1
  119. package/dist/chunks/draggable.iIsQLiOa.js +168 -0
  120. package/dist/chunks/{draggable.rTa1jcHI.js.map → draggable.iIsQLiOa.js.map} +1 -1
  121. package/dist/chunks/{drawer.DVJxDGw3.js → drawer.CnxX1zZ6.js} +14 -36
  122. package/dist/chunks/{drawer.DVJxDGw3.js.map → drawer.CnxX1zZ6.js.map} +1 -1
  123. package/dist/chunks/{dropdown-tag.CaLA2NLd.js → dropdown-tag.BFnfCah8.js} +77 -81
  124. package/dist/chunks/{dropdown-tag.CaLA2NLd.js.map → dropdown-tag.BFnfCah8.js.map} +1 -1
  125. package/dist/chunks/{dropdown.DIqgVVXB.js → dropdown.Ce2P9MZ-.js} +1131 -1466
  126. package/dist/chunks/{dropdown.DIqgVVXB.js.map → dropdown.Ce2P9MZ-.js.map} +1 -1
  127. package/dist/chunks/empty-state.fziM-yAC.js +102 -0
  128. package/dist/chunks/empty-state.fziM-yAC.js.map +1 -0
  129. package/dist/chunks/{en-GB.-Q7Oq-nY.js → en-GB.BsQNm5GT.js} +2 -2
  130. package/dist/chunks/{en-GB.-Q7Oq-nY.js.map → en-GB.BsQNm5GT.js.map} +1 -1
  131. package/dist/chunks/{en-US.BK5uiAND.js → en-US.BR6y7foR.js} +30 -30
  132. package/dist/chunks/{en-US.BK5uiAND.js.map → en-US.BR6y7foR.js.map} +1 -1
  133. package/dist/chunks/{error-message.Hqp_VvD3.js → error-message.BEHBfjmn.js} +14 -36
  134. package/dist/chunks/{error-message.Hqp_VvD3.js.map → error-message.BEHBfjmn.js.map} +1 -1
  135. package/dist/chunks/{es.2H4LvTyV.js → es.DxqH-QhP.js} +14 -14
  136. package/dist/chunks/{es.2H4LvTyV.js.map → es.DxqH-QhP.js.map} +1 -1
  137. package/dist/chunks/{field-label.DjJ7wdFi.js → field-label.CgdTst2l.js} +15 -37
  138. package/dist/chunks/{field-label.DjJ7wdFi.js.map → field-label.CgdTst2l.js.map} +1 -1
  139. package/dist/chunks/{file-uploader.2rIfQ2jb.js → file-uploader.BG89SLkG.js} +317 -630
  140. package/dist/chunks/{file-uploader.2rIfQ2jb.js.map → file-uploader.BG89SLkG.js.map} +1 -1
  141. package/dist/chunks/filter-bar.BMO8wTzb.js +3087 -0
  142. package/dist/chunks/{filter-bar.qlViDZPY.js.map → filter-bar.BMO8wTzb.js.map} +1 -1
  143. package/dist/chunks/fixed-scroller.oObE3f7m.js +117 -0
  144. package/dist/chunks/{fixed-scroller.04EUUgD_.js.map → fixed-scroller.oObE3f7m.js.map} +1 -1
  145. package/dist/chunks/{focus-trap.oRKjDFzf.js → focus-trap.l-wwtCHi.js} +69 -85
  146. package/dist/chunks/{focus-trap.oRKjDFzf.js.map → focus-trap.l-wwtCHi.js.map} +1 -1
  147. package/dist/chunks/{footer-actions.DXyJtVip.js → footer-actions.Dn9KYoqB.js} +4 -4
  148. package/dist/chunks/{footer-actions.DXyJtVip.js.map → footer-actions.Dn9KYoqB.js.map} +1 -1
  149. package/dist/chunks/{form-layout-group.DnjoLZZM.js → form-layout-group.C_0b8u-g.js} +2 -2
  150. package/dist/chunks/{form-layout-group.DnjoLZZM.js.map → form-layout-group.C_0b8u-g.js.map} +1 -1
  151. package/dist/chunks/{form-layout-title.Bt5bP9r3.js → form-layout-title.YhZCVtoc.js} +15 -37
  152. package/dist/chunks/{form-layout-title.Bt5bP9r3.js.map → form-layout-title.YhZCVtoc.js.map} +1 -1
  153. package/dist/chunks/{fr.Cu0IIfBP.js → fr.DJtn8ron.js} +16 -16
  154. package/dist/chunks/{fr.Cu0IIfBP.js.map → fr.DJtn8ron.js.map} +1 -1
  155. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
  156. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
  157. package/dist/chunks/get-slot-text.DM_NdrUC.js +6 -0
  158. package/dist/chunks/{get-slot-text.Bjb9dTSV.js.map → get-slot-text.DM_NdrUC.js.map} +1 -1
  159. package/dist/chunks/{grid-layout.1aIiz2N_.js → grid-layout.BeCrjPgT.js} +16 -17
  160. package/dist/chunks/{grid-layout.1aIiz2N_.js.map → grid-layout.BeCrjPgT.js.map} +1 -1
  161. package/dist/chunks/header-meta.mDdMmFUA.js +206 -0
  162. package/dist/chunks/{header-meta.CCQVPDU8.js.map → header-meta.mDdMmFUA.js.map} +1 -1
  163. package/dist/chunks/{header-with-views.CEU6WrV9.js → header-with-views.Dp6SyiPu.js} +791 -1270
  164. package/dist/chunks/{header-with-views.CEU6WrV9.js.map → header-with-views.Dp6SyiPu.js.map} +1 -1
  165. package/dist/chunks/{header.BoNOTATn.js → header.DUAxdw_d.js} +4 -4
  166. package/dist/chunks/{header.BoNOTATn.js.map → header.DUAxdw_d.js.map} +1 -1
  167. package/dist/chunks/{index.C7m7gI5w.js → index.CL3TXc0a.js} +154 -160
  168. package/dist/chunks/{index.C7m7gI5w.js.map → index.CL3TXc0a.js.map} +1 -1
  169. package/dist/chunks/{index.B6WW_F-J.js → index.CPOlyau9.js} +5 -5
  170. package/dist/chunks/index.CPOlyau9.js.map +1 -0
  171. package/dist/chunks/{info-icon.BnLYUTzI.js → info-icon.BRnbXunj.js} +3 -3
  172. package/dist/chunks/{info-icon.BnLYUTzI.js.map → info-icon.BRnbXunj.js.map} +1 -1
  173. package/dist/chunks/input-field-password.C9_o6Kg2.js +230 -0
  174. package/dist/chunks/input-field-password.C9_o6Kg2.js.map +1 -0
  175. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js → input-field-phone-number.zRjd8HPi.js} +724 -756
  176. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js.map → input-field-phone-number.zRjd8HPi.js.map} +1 -1
  177. package/dist/chunks/{input-field.BEV5lhwO.js → input-field.BTt1ORWU.js} +22 -58
  178. package/dist/chunks/{input-field.BEV5lhwO.js.map → input-field.BTt1ORWU.js.map} +1 -1
  179. package/dist/chunks/{input-time.En4O4DRD.js → input-time.BfJIDgaH.js} +15 -48
  180. package/dist/chunks/{input-time.En4O4DRD.js.map → input-time.BfJIDgaH.js.map} +1 -1
  181. package/dist/chunks/{inspector-page.OKPf0I4k.js → inspector-page.i8bVjo9U.js} +4 -4
  182. package/dist/chunks/{inspector-page.OKPf0I4k.js.map → inspector-page.i8bVjo9U.js.map} +1 -1
  183. package/dist/chunks/{inspector.DoQPHzCc.js → inspector.Aet0jTC2.js} +39 -106
  184. package/dist/chunks/{inspector.DoQPHzCc.js.map → inspector.Aet0jTC2.js.map} +1 -1
  185. package/dist/chunks/isSameWeek.CieN9XgL.js +14 -0
  186. package/dist/chunks/{isSameWeek.TrpUOIn5.js.map → isSameWeek.CieN9XgL.js.map} +1 -1
  187. package/dist/chunks/{it.B65snrJA.js → it.keS7oN5l.js} +8 -8
  188. package/dist/chunks/{it.B65snrJA.js.map → it.keS7oN5l.js.map} +1 -1
  189. package/dist/chunks/{ja.xGVfFSzL.js → ja.cLwacUE6.js} +27 -27
  190. package/dist/chunks/{ja.xGVfFSzL.js.map → ja.cLwacUE6.js.map} +1 -1
  191. package/dist/chunks/{layout-row.CPFK9Bg7.js → layout-row.HslYnPgn.js} +34 -35
  192. package/dist/chunks/{layout-row.CPFK9Bg7.js.map → layout-row.HslYnPgn.js.map} +1 -1
  193. package/dist/chunks/{link.Cejg8jB6.js → link.CscSbaXa.js} +15 -37
  194. package/dist/chunks/{link.Cejg8jB6.js.map → link.CscSbaXa.js.map} +1 -1
  195. package/dist/chunks/list-item.Cngxa9qN.js +166 -0
  196. package/dist/chunks/{list-item.BiJMHR7b.js.map → list-item.Cngxa9qN.js.map} +1 -1
  197. package/dist/chunks/{listbox-option-tag.DnvECZQC.js → listbox-option-tag.BaoiH-Ku.js} +3 -3
  198. package/dist/chunks/{listbox-option-tag.DnvECZQC.js.map → listbox-option-tag.BaoiH-Ku.js.map} +1 -1
  199. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js → modal-fullscreen.Cg1Q6ERf.js} +64 -93
  200. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js.map → modal-fullscreen.Cg1Q6ERf.js.map} +1 -1
  201. package/dist/chunks/{modal.CClQItuJ.js → modal.u-t1CvBr.js} +81 -105
  202. package/dist/chunks/{modal.CClQItuJ.js.map → modal.u-t1CvBr.js.map} +1 -1
  203. package/dist/chunks/{navigation-menu-group.p1-x06nS.js → navigation-menu-group.gNMP4tW4.js} +80 -129
  204. package/dist/chunks/{navigation-menu-group.p1-x06nS.js.map → navigation-menu-group.gNMP4tW4.js.map} +1 -1
  205. package/dist/chunks/{on-click-outside.Cy1eFULD.js → on-click-outside.BgIzQ2G1.js} +32 -33
  206. package/dist/chunks/{on-click-outside.Cy1eFULD.js.map → on-click-outside.BgIzQ2G1.js.map} +1 -1
  207. package/dist/chunks/{pagination.CZVdaeqE.js → pagination.D81XgMQ7.js} +73 -192
  208. package/dist/chunks/pagination.D81XgMQ7.js.map +1 -0
  209. package/dist/chunks/{payment-method.B3CkgsAY.js → payment-method.Clm5dEYh.js} +2 -2
  210. package/dist/chunks/{payment-method.B3CkgsAY.js.map → payment-method.Clm5dEYh.js.map} +1 -1
  211. package/dist/chunks/popover.types.H5Y0rC1r.js +6 -0
  212. package/dist/chunks/{popover.types.BfnJIpII.js.map → popover.types.H5Y0rC1r.js.map} +1 -1
  213. package/dist/chunks/{popper-container.Cb9wuFId.js → popper-container.D08eTt4B.js} +245 -252
  214. package/dist/chunks/{popper-container.Cb9wuFId.js.map → popper-container.D08eTt4B.js.map} +1 -1
  215. package/dist/chunks/{promo-banner.DZ0gerRx.js → promo-banner.BX47zMKh.js} +17 -39
  216. package/dist/chunks/{promo-banner.DZ0gerRx.js.map → promo-banner.BX47zMKh.js.map} +1 -1
  217. package/dist/chunks/{pt-BR.D9FuAQZm.js → pt-BR.ChPOra5s.js} +14 -14
  218. package/dist/chunks/{pt-BR.D9FuAQZm.js.map → pt-BR.ChPOra5s.js.map} +1 -1
  219. package/dist/chunks/{radio-group.DUW2dya4.js → radio-group.Dtx5hOkQ.js} +23 -23
  220. package/dist/chunks/{radio-group.DUW2dya4.js.map → radio-group.Dtx5hOkQ.js.map} +1 -1
  221. package/dist/chunks/{rich-text-editor.CuCPLzUh.js → rich-text-editor.CmVsFJjh.js} +1364 -1416
  222. package/dist/chunks/{rich-text-editor.CuCPLzUh.js.map → rich-text-editor.CmVsFJjh.js.map} +1 -1
  223. package/dist/chunks/scroll-to-section.DhW8SFy0.js +101 -0
  224. package/dist/chunks/scroll-to-section.DhW8SFy0.js.map +1 -0
  225. package/dist/chunks/{search-bar.8iDkgmjw.js → search-bar.CRfYCmkl.js} +15 -48
  226. package/dist/chunks/{search-bar.8iDkgmjw.js.map → search-bar.CRfYCmkl.js.map} +1 -1
  227. package/dist/chunks/secondary-nav.B1Tj7MAA.js +192 -0
  228. package/dist/chunks/{secondary-nav.CmvSHxvS.js.map → secondary-nav.B1Tj7MAA.js.map} +1 -1
  229. package/dist/chunks/{segmented-control.Bkp2Y95s.js → segmented-control.CBc-wx0m.js} +44 -48
  230. package/dist/chunks/{segmented-control.Bkp2Y95s.js.map → segmented-control.CBc-wx0m.js.map} +1 -1
  231. package/dist/chunks/{selection-card-group.EGigQJOW.js → selection-card-group.BaK3Rt4K.js} +91 -96
  232. package/dist/chunks/{selection-card-group.EGigQJOW.js.map → selection-card-group.BaK3Rt4K.js.map} +1 -1
  233. package/dist/chunks/set-time-in-date.BVfkl8K8.js +27 -0
  234. package/dist/chunks/{set-time-in-date.CU7HeZLY.js.map → set-time-in-date.BVfkl8K8.js.map} +1 -1
  235. package/dist/chunks/{sidepanel.yB7YuzVt.js → sidepanel.DeIREn9l.js} +55 -78
  236. package/dist/chunks/{sidepanel.yB7YuzVt.js.map → sidepanel.DeIREn9l.js.map} +1 -1
  237. package/dist/chunks/startOfWeek.muMEhS7U.js +9 -0
  238. package/dist/chunks/{startOfWeek.Br5KM4z_.js.map → startOfWeek.muMEhS7U.js.map} +1 -1
  239. package/dist/chunks/{status.CKb07vxI.js → status.DJ1Dfh5s.js} +2 -2
  240. package/dist/chunks/{status.CKb07vxI.js.map → status.DJ1Dfh5s.js.map} +1 -1
  241. package/dist/chunks/step.DfI11Din.js +221 -0
  242. package/dist/chunks/{step.CIfxl8Wm.js.map → step.DfI11Din.js.map} +1 -1
  243. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js → structured-list-item._7YG2L3a.js} +18 -40
  244. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js.map → structured-list-item._7YG2L3a.js.map} +1 -1
  245. package/dist/chunks/{summary-grid.types.BcIlkfVO.js → summary-grid.types.B_gUEQ0c.js} +45 -50
  246. package/dist/chunks/{summary-grid.types.BcIlkfVO.js.map → summary-grid.types.B_gUEQ0c.js.map} +1 -1
  247. package/dist/chunks/tab.DFk4K9cq.js +229 -0
  248. package/dist/chunks/{tab.N0xGWsfO.js.map → tab.DFk4K9cq.js.map} +1 -1
  249. package/dist/chunks/table-of-contents.CoEnQ9g7.js +104 -0
  250. package/dist/chunks/{table-of-contents.Cf-IrdZl.js.map → table-of-contents.CoEnQ9g7.js.map} +1 -1
  251. package/dist/chunks/{tag.BAyLm485.js → tag.BC7FFENr.js} +4 -4
  252. package/dist/chunks/{tag.BAyLm485.js.map → tag.BC7FFENr.js.map} +1 -1
  253. package/dist/chunks/textarea.Z-VYFZVq.js +176 -0
  254. package/dist/chunks/{textarea.BDRR1zE0.js.map → textarea.Z-VYFZVq.js.map} +1 -1
  255. package/dist/chunks/{timeline-item.QEEIwYMy.js → timeline-item.BGHi_lOY.js} +114 -193
  256. package/dist/chunks/{timeline-item.QEEIwYMy.js.map → timeline-item.BGHi_lOY.js.map} +1 -1
  257. package/dist/chunks/{toast.XPG0vaQB.js → toast.D-jat1Xw.js} +64 -86
  258. package/dist/chunks/{toast.XPG0vaQB.js.map → toast.D-jat1Xw.js.map} +1 -1
  259. package/dist/chunks/{toggle.Ca-MM3dt.js → toggle.BqHWIhqD.js} +4 -4
  260. package/dist/chunks/{toggle.Ca-MM3dt.js.map → toggle.BqHWIhqD.js.map} +1 -1
  261. package/dist/chunks/{tooltip.7ct8WxCl.js → tooltip.D_XsoD_u.js} +68 -70
  262. package/dist/chunks/{tooltip.7ct8WxCl.js.map → tooltip.D_XsoD_u.js.map} +1 -1
  263. package/dist/chunks/truncate.DmCXQmeb.js +8 -0
  264. package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
  265. package/dist/chunks/{tutorial.bROv3HSx.js → tutorial.BtxKW4ac.js} +80 -173
  266. package/dist/chunks/{tutorial.bROv3HSx.js.map → tutorial.BtxKW4ac.js.map} +1 -1
  267. package/dist/chunks/typography.D1OZJbEa.js +90 -0
  268. package/dist/chunks/typography.D1OZJbEa.js.map +1 -0
  269. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js → use-bento-delayed-hover.D6QjSugc.js} +2 -2
  270. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js.map → use-bento-delayed-hover.D6QjSugc.js.map} +1 -1
  271. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js → use-bento-toast-controller.A5xraVqa.js} +14 -15
  272. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js.map → use-bento-toast-controller.A5xraVqa.js.map} +1 -1
  273. package/dist/chunks/use-country-items.B1KhLbqM.js +30 -0
  274. package/dist/chunks/{use-country-items.CmCRY7QX.js.map → use-country-items.B1KhLbqM.js.map} +1 -1
  275. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js +291 -0
  276. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js.map +1 -0
  277. package/dist/chunks/use-date-input-formatter.DXwvH7B0.js +1629 -0
  278. package/dist/chunks/{use-date-input-formatter.DfQk8_Dw.js.map → use-date-input-formatter.DXwvH7B0.js.map} +1 -1
  279. package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js +34 -0
  280. package/dist/chunks/{use-expandable-content-height.2WJLCL-R.js.map → use-expandable-content-height.Bdd9hQwq.js.map} +1 -1
  281. package/dist/chunks/utils.DWmc2mUI.js +19 -0
  282. package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
  283. package/dist/chunks/{zh-CN.Be4pa3-g.js → zh-CN.ZG6obniO.js} +28 -28
  284. package/dist/chunks/{zh-CN.Be4pa3-g.js.map → zh-CN.ZG6obniO.js.map} +1 -1
  285. package/dist/click-outside.js +1 -1
  286. package/dist/code-snippet.js +1 -1
  287. package/dist/country.js +3 -3
  288. package/dist/currency.js +1 -1
  289. package/dist/dashboard-template.js +1 -1
  290. package/dist/dashed-underline.js +1 -1
  291. package/dist/data-grid-template.js +1 -1
  292. package/dist/data-grid.js +1 -1
  293. package/dist/date-picker.js +2 -2
  294. package/dist/date-range-picker.js +2 -2
  295. package/dist/date-time-picker.js +1 -1
  296. package/dist/date.js +1 -1
  297. package/dist/draggable.js +2 -2
  298. package/dist/drawer.js +1 -1
  299. package/dist/dropdown.js +2 -2
  300. package/dist/empty-state.js +1 -1
  301. package/dist/file-uploader.js +1 -1
  302. package/dist/filter-bar.js +1 -1
  303. package/dist/focus-trap.js +1 -1
  304. package/dist/form-layout.js +2 -2
  305. package/dist/header-with-views.js +1 -1
  306. package/dist/header.js +1 -1
  307. package/dist/index.js +144 -149
  308. package/dist/index.js.map +1 -1
  309. package/dist/info-icon.js +1 -1
  310. package/dist/input-field-password.js +1 -1
  311. package/dist/input-field-phone-number.js +1 -1
  312. package/dist/input-field.js +1 -1
  313. package/dist/input-time.js +1 -1
  314. package/dist/inspector.js +2 -2
  315. package/dist/internal.js +14 -14
  316. package/dist/layout.js +1 -1
  317. package/dist/link.js +1 -1
  318. package/dist/list.js +1 -1
  319. package/dist/menu.js +1 -1
  320. package/dist/modal-fullscreen.js +1 -1
  321. package/dist/modal.js +2 -2
  322. package/dist/navigation-menu.js +1 -1
  323. package/dist/pagination.js +1 -1
  324. package/dist/payment-method.js +1 -1
  325. package/dist/popover.js +2 -2
  326. package/dist/popper-container.js +1 -1
  327. package/dist/promo-banner.js +1 -1
  328. package/dist/radio-group.js +1 -1
  329. package/dist/rich-text-editor.js +1 -1
  330. package/dist/search-bar.js +2 -2
  331. package/dist/secondary-nav.js +1 -1
  332. package/dist/segmented-control.js +1 -1
  333. package/dist/selection-card.js +1 -1
  334. package/dist/sidepanel.js +1 -1
  335. package/dist/status.js +1 -1
  336. package/dist/stepper.js +1 -1
  337. package/dist/structured-list.js +1 -1
  338. package/dist/summary-grid.js +1 -1
  339. package/dist/table-of-contents.js +1 -1
  340. package/dist/tabs.js +1 -1
  341. package/dist/tag.js +1 -1
  342. package/dist/textarea.js +1 -1
  343. package/dist/timeline.js +1 -1
  344. package/dist/toast.js +1 -1
  345. package/dist/toggle.js +1 -1
  346. package/dist/tutorial.js +1 -1
  347. package/dist/typography.js +1 -1
  348. package/dist/use-form-v4.js +331 -341
  349. package/dist/use-form-v4.js.map +1 -1
  350. package/dist/web-types.json +32 -2
  351. package/package.json +11 -11
  352. package/dist/chunks/anchor-scroller.DgC74yeM.js +0 -141
  353. package/dist/chunks/anchor-scroller.DgC74yeM.js.map +0 -1
  354. package/dist/chunks/button-actions-with-menu.DNYoFmV4.js +0 -85
  355. package/dist/chunks/calendar.CvHJ3Geq.js +0 -1247
  356. package/dist/chunks/click-outside.BG01Sm0A.js +0 -23
  357. package/dist/chunks/constructNow.CK0ryPil.js +0 -8
  358. package/dist/chunks/country.types.8GCHsdGN.js +0 -2789
  359. package/dist/chunks/country.types.8GCHsdGN.js.map +0 -1
  360. package/dist/chunks/currency.Dvy9Qjjf.js +0 -126
  361. package/dist/chunks/dashboard-section.D2yqhERq.js +0 -102
  362. package/dist/chunks/data-grid-template.Ifn423Ot.js +0 -111
  363. package/dist/chunks/data-grid.BDXQ_kKQ.js +0 -4121
  364. package/dist/chunks/date-picker.CXZfCxwP.js +0 -252
  365. package/dist/chunks/date-range-picker.BzVQsYk4.js +0 -1295
  366. package/dist/chunks/date-time-picker.DaLATfJp.js +0 -202
  367. package/dist/chunks/differenceInMonths.CpwVtHZX.js +0 -44
  368. package/dist/chunks/draggable.rTa1jcHI.js +0 -196
  369. package/dist/chunks/empty-state.DSVU1vU8.js +0 -106
  370. package/dist/chunks/empty-state.DSVU1vU8.js.map +0 -1
  371. package/dist/chunks/filter-bar.qlViDZPY.js +0 -3754
  372. package/dist/chunks/fixed-scroller.04EUUgD_.js +0 -152
  373. package/dist/chunks/get-slot-text.Bjb9dTSV.js +0 -12
  374. package/dist/chunks/header-meta.CCQVPDU8.js +0 -250
  375. package/dist/chunks/index.B6WW_F-J.js.map +0 -1
  376. package/dist/chunks/input-field-password.Bri9q5EV.js +0 -395
  377. package/dist/chunks/input-field-password.Bri9q5EV.js.map +0 -1
  378. package/dist/chunks/isSameWeek.TrpUOIn5.js +0 -14
  379. package/dist/chunks/list-item.BiJMHR7b.js +0 -226
  380. package/dist/chunks/pagination.CZVdaeqE.js.map +0 -1
  381. package/dist/chunks/popover.types.BfnJIpII.js +0 -6
  382. package/dist/chunks/scroll-to-section.CC5g-HBX.js +0 -111
  383. package/dist/chunks/scroll-to-section.CC5g-HBX.js.map +0 -1
  384. package/dist/chunks/secondary-nav.CmvSHxvS.js +0 -266
  385. package/dist/chunks/set-time-in-date.CU7HeZLY.js +0 -27
  386. package/dist/chunks/startOfWeek.Br5KM4z_.js +0 -10
  387. package/dist/chunks/step.CIfxl8Wm.js +0 -253
  388. package/dist/chunks/tab.N0xGWsfO.js +0 -259
  389. package/dist/chunks/table-of-contents.Cf-IrdZl.js +0 -129
  390. package/dist/chunks/textarea.BDRR1zE0.js +0 -224
  391. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  392. package/dist/chunks/typography.C8lPlsbD.js +0 -87
  393. package/dist/chunks/typography.C8lPlsbD.js.map +0 -1
  394. package/dist/chunks/use-country-items.CmCRY7QX.js +0 -30
  395. package/dist/chunks/use-country-phon-code.BWkb546s.js +0 -6641
  396. package/dist/chunks/use-country-phon-code.BWkb546s.js.map +0 -1
  397. package/dist/chunks/use-date-input-formatter.DfQk8_Dw.js +0 -1732
  398. package/dist/chunks/use-expandable-content-height.2WJLCL-R.js +0 -35
  399. package/dist/chunks/utils.BzUwtTXc.js +0 -21
@@ -1,33 +1,33 @@
1
- import { defineComponent as G, ref as y, onUnmounted as Oi, onMounted as ki, computed as d, watch as oi, reactive as ni, toRef as ti, nextTick as Ui } from "vue";
1
+ import { defineComponent as W, ref as _, onUnmounted as Oi, onMounted as Fi, computed as s, watch as ti, reactive as oi, toRef as ai, nextTick as Ui } from "vue";
2
2
  /* empty css */
3
- import { n as b } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
- import { W as Ei, B as qi } from "./alert.CDP-LTh5.js";
5
- import { B as si, d as Zi } from "./typography.C8lPlsbD.js";
6
- import { u as Y } from "./index.B6WW_F-J.js";
7
- import { g as _ } from "./generate-uid.NJ8tVoha.js";
3
+ import { n as h } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
+ import { W as ki, B as qi } from "./alert.Dj57zB88.js";
5
+ import { B as li, d as Zi } from "./typography.D1OZJbEa.js";
6
+ import { u as G } from "./index.CPOlyau9.js";
7
+ import { g as b } from "./generate-uid.DBWe4g6T.js";
8
8
  import { u as Ni } from "./form-field.D_2g7vaP.js";
9
- import { i as Ti } from "./index.Cl4_42j5.js";
9
+ import { i as Ei } from "./index.Cl4_42j5.js";
10
10
  import { B as Pi } from "./bin.Ddb69cr1.js";
11
11
  import { C as Wi } from "./checkmark-circle-fill.BttTCjrM.js";
12
12
  import { C as Gi } from "./cross.CC_B-vG-.js";
13
13
  import { R as Yi } from "./refresh.arF7jP-l.js";
14
- import { B as Xi } from "./button.CKS_V3p5.js";
15
- import { B as Ji } from "./link.Cejg8jB6.js";
14
+ import { B as Xi } from "./button.C4kKejsg.js";
15
+ import { B as Ji } from "./link.CscSbaXa.js";
16
16
  import { B as Ki } from "./loading-indicator.PxbRzshH.js";
17
- import { b as Qi } from "./tooltip.7ct8WxCl.js";
18
- import { F as ie } from "./field-label.DjJ7wdFi.js";
19
- import { E as ee } from "./error-message.Hqp_VvD3.js";
17
+ import { b as Qi } from "./tooltip.D_XsoD_u.js";
18
+ import { F as ie } from "./field-label.CgdTst2l.js";
19
+ import { E as ee } from "./error-message.BEHBfjmn.js";
20
20
  import "../assets/file-uploader.css";
21
- let fi = 0;
21
+ let vi = 0;
22
22
  const ae = {
23
23
  beforeCreate() {
24
- this.uuid = fi.toString(), fi += 1;
24
+ this.uuid = vi.toString(), vi += 1;
25
25
  }
26
26
  };
27
27
  var te = function() {
28
28
  var i = this, a = i._self._c;
29
29
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", 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" } }), a("path", { attrs: { fill: "#001222", d: "M12.0605 5L11 6.06055L8.75 3.81055V11.75H7.25V3.81055L5 6.06055L3.93945 5L8 0.939453L12.0605 5Z" } })]);
30
- }, oe = [], ne = /* @__PURE__ */ b(
30
+ }, oe = [], ne = /* @__PURE__ */ h(
31
31
  ae,
32
32
  te,
33
33
  oe,
@@ -35,20 +35,20 @@ var te = function() {
35
35
  null,
36
36
  null
37
37
  );
38
- const le = ne.exports, se = /* @__PURE__ */ G({
38
+ const le = ne.exports, se = /* @__PURE__ */ W({
39
39
  __name: "file-uploader-file-card-animation",
40
40
  props: {
41
41
  name: null,
42
42
  showFileIcon: { type: Boolean }
43
43
  },
44
44
  setup(t) {
45
- return { __sfc: !0, isVue2: Ti };
45
+ return { __sfc: !0, isVue2: Ei };
46
46
  }
47
47
  });
48
48
  var pe = function() {
49
49
  var i = this, a = i._self._c, e = i._self._setupProxy;
50
50
  return e.isVue2 ? a("Transition", { attrs: { name: i.name, mode: "out-in", css: i.showFileIcon } }, [i._t("default")], 2) : a("TransitionGroup", { attrs: { name: i.name, css: i.showFileIcon } }, [i._t("default")], 2);
51
- }, re = [], ce = /* @__PURE__ */ b(
51
+ }, re = [], ce = /* @__PURE__ */ h(
52
52
  se,
53
53
  pe,
54
54
  re,
@@ -58,15 +58,15 @@ var pe = function() {
58
58
  );
59
59
  const de = ce.exports;
60
60
  function me(t, i) {
61
- const a = y(!1);
61
+ const a = _(!1);
62
62
  let e;
63
- function n() {
63
+ function o() {
64
64
  e && e.disconnect();
65
65
  }
66
66
  return Oi(() => {
67
- n();
68
- }), ki(() => {
69
- n(), e = new IntersectionObserver(
67
+ o();
68
+ }), Fi(() => {
69
+ o(), e = new IntersectionObserver(
70
70
  (r) => {
71
71
  a.value = !r[0].isIntersecting;
72
72
  },
@@ -77,15 +77,15 @@ function me(t, i) {
77
77
  ), e.observe(t.value.$el);
78
78
  }), a;
79
79
  }
80
- const xi = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
81
- function li(t, i) {
82
- const a = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), xi.length - 1));
80
+ const fi = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
81
+ function ni(t, i) {
82
+ const a = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), fi.length - 1));
83
83
  return Intl.NumberFormat(t, {
84
84
  style: "unit",
85
- unit: xi[a]
85
+ unit: fi[a]
86
86
  }).format(i / 1024 ** a);
87
87
  }
88
- var z = /* @__PURE__ */ ((t) => (t.LOADING = "loading", t.SUCCESS = "success", t.ERROR = "error", t))(z || {}), h = /* @__PURE__ */ ((t) => (t.ERROR_SIZE = "error-size", t.ERROR_LOAD = "error-load", t.ERROR_DIMENSIONS = "error-dimensions", t.ERROR_TYPE = "error-type", t))(h || {}), W = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t.DRAG_OVER = "drag-over", t.ERROR = "error", t.READONLY = "readonly", t))(W || {}), u = /* @__PURE__ */ ((t) => (t.TABLE = "table", t.IMAGE = "image", t.VIDEO = "video", t.AUDIO = "audio", t.TEXT = "text", t.PDF = "pdf", t.SLIDES = "slides", t.COMPRESSED = "compressed", t.GENERIC = "generic", t))(u || {});
88
+ var C = /* @__PURE__ */ ((t) => (t.LOADING = "loading", t.SUCCESS = "success", t.ERROR = "error", t))(C || {}), g = /* @__PURE__ */ ((t) => (t.ERROR_SIZE = "error-size", t.ERROR_LOAD = "error-load", t.ERROR_DIMENSIONS = "error-dimensions", t.ERROR_TYPE = "error-type", t))(g || {}), P = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t.DRAG_OVER = "drag-over", t.ERROR = "error", t.READONLY = "readonly", t))(P || {}), d = /* @__PURE__ */ ((t) => (t.TABLE = "table", t.IMAGE = "image", t.VIDEO = "video", t.AUDIO = "audio", t.TEXT = "text", t.PDF = "pdf", t.SLIDES = "slides", t.COMPRESSED = "compressed", t.GENERIC = "generic", t))(d || {});
89
89
  const ue = [
90
90
  "application/msword",
91
91
  // .doc
@@ -136,9 +136,9 @@ const ue = [
136
136
  // .cab
137
137
  ];
138
138
  function ge(t) {
139
- return ve.includes(t.type) ? u.TABLE : t.type.startsWith("text/") || ue.includes(t.type) ? u.TEXT : t.type.startsWith("image/") ? u.IMAGE : t.type.startsWith("video/") ? u.VIDEO : t.type.startsWith("audio/") ? u.AUDIO : t.type === "application/pdf" ? u.PDF : fe.includes(t.type) ? u.SLIDES : xe.includes(t.type) ? u.COMPRESSED : u.GENERIC;
139
+ return ve.includes(t.type) ? d.TABLE : t.type.startsWith("text/") || ue.includes(t.type) ? d.TEXT : t.type.startsWith("image/") ? d.IMAGE : t.type.startsWith("video/") ? d.VIDEO : t.type.startsWith("audio/") ? d.AUDIO : t.type === "application/pdf" ? d.PDF : fe.includes(t.type) ? d.SLIDES : xe.includes(t.type) ? d.COMPRESSED : d.GENERIC;
140
140
  }
141
- function Ri(t, i) {
141
+ function Ti(t, i) {
142
142
  if (!i)
143
143
  return !0;
144
144
  const a = i.split(",").map((e) => e.trim());
@@ -147,8 +147,8 @@ function Ri(t, i) {
147
147
  if (t.name.endsWith(e))
148
148
  return !0;
149
149
  } else if (e.endsWith("/*")) {
150
- const n = e.split("/")[0];
151
- if (t.type.startsWith(n))
150
+ const o = e.split("/")[0];
151
+ if (t.type.startsWith(o))
152
152
  return !0;
153
153
  } else if (e.includes("/")) {
154
154
  if (t.type === e)
@@ -158,38 +158,38 @@ function Ri(t, i) {
158
158
  return !1;
159
159
  }
160
160
  function he(t, i, a) {
161
- const e = new FileReader(), n = t;
162
- if (!Ri(n.data, i)) {
163
- n.state = z.ERROR, n.errors.push(h.ERROR_TYPE);
161
+ const e = new FileReader(), o = t;
162
+ if (!Ti(o.data, i)) {
163
+ o.state = C.ERROR, o.errors.push(g.ERROR_TYPE);
164
164
  return;
165
165
  }
166
166
  e.onload = (r) => {
167
- if (a && n.type === u.IMAGE) {
168
- const l = new Blob([r.target.result], { type: n.data.type }), p = URL.createObjectURL(l), c = new Image();
169
- c.onload = function() {
170
- (c.width > a.width || c.height > a.height) && (n.state = z.ERROR, n.errors.push(h.ERROR_DIMENSIONS)), URL.revokeObjectURL(p);
171
- }, c.onerror = function() {
172
- URL.revokeObjectURL(p);
173
- }, c.src = p;
167
+ if (a && o.type === d.IMAGE) {
168
+ const u = new Blob([r.target.result], { type: o.data.type }), l = URL.createObjectURL(u), p = new Image();
169
+ p.onload = function() {
170
+ (p.width > a.width || p.height > a.height) && (o.state = C.ERROR, o.errors.push(g.ERROR_DIMENSIONS)), URL.revokeObjectURL(l);
171
+ }, p.onerror = function() {
172
+ URL.revokeObjectURL(l);
173
+ }, p.src = l;
174
174
  }
175
175
  }, e.onprogress = (r) => {
176
- r.lengthComputable && (n.progress = r.loaded / r.total * 100);
176
+ r.lengthComputable && (o.progress = r.loaded / r.total * 100);
177
177
  }, e.onloadend = () => {
178
- n.state !== z.ERROR && (n.state = z.SUCCESS), n.progress = null;
178
+ o.state !== C.ERROR && (o.state = C.SUCCESS), o.progress = null;
179
179
  }, e.onerror = () => {
180
- n.state = z.ERROR, n.errors.push(h.ERROR_LOAD), n.progress = null;
181
- }, e.readAsArrayBuffer(n.data);
180
+ o.state = C.ERROR, o.errors.push(g.ERROR_LOAD), o.progress = null;
181
+ }, e.readAsArrayBuffer(o.data);
182
182
  }
183
- let gi = 0;
183
+ let xi = 0;
184
184
  const be = {
185
185
  beforeCreate() {
186
- this.uuid = gi.toString(), gi += 1;
186
+ this.uuid = xi.toString(), xi += 1;
187
187
  }
188
188
  };
189
189
  var _e = function() {
190
190
  var i = this, a = i._self._c;
191
191
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + i.uuid + ")" } }, [a("path", { attrs: { fill: "#001222", 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" } })]), a("defs", [a("clipPath", { attrs: { id: "uia-ui-assets/icons-16-attachment__a" + i.uuid } }, [a("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
192
- }, ye = [], we = /* @__PURE__ */ b(
192
+ }, ye = [], we = /* @__PURE__ */ h(
193
193
  be,
194
194
  _e,
195
195
  ye,
@@ -198,16 +198,16 @@ var _e = function() {
198
198
  null
199
199
  );
200
200
  const Ce = we.exports;
201
- let hi = 0;
201
+ let gi = 0;
202
202
  const ze = {
203
203
  beforeCreate() {
204
- this.uuid = hi.toString(), hi += 1;
204
+ this.uuid = gi.toString(), gi += 1;
205
205
  }
206
206
  };
207
207
  var Fe = function() {
208
208
  var i = this, a = i._self._c;
209
209
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } })]);
210
- }, ke = [], Ee = /* @__PURE__ */ b(
210
+ }, ke = [], Ee = /* @__PURE__ */ h(
211
211
  ze,
212
212
  Fe,
213
213
  ke,
@@ -216,16 +216,16 @@ var Fe = function() {
216
216
  null
217
217
  );
218
218
  const Te = Ee.exports;
219
- let bi = 0;
219
+ let hi = 0;
220
220
  const Re = {
221
221
  beforeCreate() {
222
- this.uuid = bi.toString(), bi += 1;
222
+ this.uuid = hi.toString(), hi += 1;
223
223
  }
224
224
  };
225
225
  var Ie = function() {
226
226
  var i = this, a = i._self._c;
227
227
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z" } })]);
228
- }, Se = [], Le = /* @__PURE__ */ b(
228
+ }, Se = [], Le = /* @__PURE__ */ h(
229
229
  Re,
230
230
  Ie,
231
231
  Se,
@@ -234,16 +234,16 @@ var Ie = function() {
234
234
  null
235
235
  );
236
236
  const je = Le.exports;
237
- let _i = 0;
237
+ let bi = 0;
238
238
  const De = {
239
239
  beforeCreate() {
240
- this.uuid = _i.toString(), _i += 1;
240
+ this.uuid = bi.toString(), bi += 1;
241
241
  }
242
242
  };
243
243
  var Me = function() {
244
244
  var i = this, a = i._self._c;
245
245
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), a("path", { attrs: { fill: "#001222", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), a("path", { attrs: { fill: "#001222", d: "M2.24609 0.25V15.75H13.7461V4.68934L9.30675 0.25H2.24609ZM7.24609 1.75V6.75H12.2461V14.25H3.74609V1.75H7.24609ZM12.1854 5.25H8.74609V1.81066L12.1854 5.25Z" } })]);
246
- }, $e = [], Be = /* @__PURE__ */ b(
246
+ }, $e = [], Be = /* @__PURE__ */ h(
247
247
  De,
248
248
  Me,
249
249
  $e,
@@ -252,16 +252,16 @@ var Me = function() {
252
252
  null
253
253
  );
254
254
  const He = Be.exports;
255
- let yi = 0;
255
+ let _i = 0;
256
256
  const Ae = {
257
257
  beforeCreate() {
258
- this.uuid = yi.toString(), yi += 1;
258
+ this.uuid = _i.toString(), _i += 1;
259
259
  }
260
260
  };
261
261
  var Ve = function() {
262
262
  var i = this, a = i._self._c;
263
263
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", 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" } })]);
264
- }, Oe = [], Ue = /* @__PURE__ */ b(
264
+ }, Oe = [], Ue = /* @__PURE__ */ h(
265
265
  Ae,
266
266
  Ve,
267
267
  Oe,
@@ -270,16 +270,16 @@ var Ve = function() {
270
270
  null
271
271
  );
272
272
  const qe = Ue.exports;
273
- let wi = 0;
273
+ let yi = 0;
274
274
  const Ze = {
275
275
  beforeCreate() {
276
- this.uuid = wi.toString(), wi += 1;
276
+ this.uuid = yi.toString(), yi += 1;
277
277
  }
278
278
  };
279
279
  var Ne = function() {
280
280
  var i = this, a = i._self._c;
281
281
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", 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" } }), a("path", { attrs: { fill: "#001222", 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" } })]);
282
- }, Pe = [], We = /* @__PURE__ */ b(
282
+ }, Pe = [], We = /* @__PURE__ */ h(
283
283
  Ze,
284
284
  Ne,
285
285
  Pe,
@@ -288,16 +288,16 @@ var Ne = function() {
288
288
  null
289
289
  );
290
290
  const Ge = We.exports;
291
- let Ci = 0;
291
+ let wi = 0;
292
292
  const Ye = {
293
293
  beforeCreate() {
294
- this.uuid = Ci.toString(), Ci += 1;
294
+ this.uuid = wi.toString(), wi += 1;
295
295
  }
296
296
  };
297
297
  var Xe = function() {
298
298
  var i = this, a = i._self._c;
299
299
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + i.uuid + ")" } }, [a("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), a("path", { attrs: { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" } })]), a("defs", [a("clipPath", { attrs: { id: "uia-ui-assets/icons-16-play_circle__a" + i.uuid } }, [a("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
300
- }, Je = [], Ke = /* @__PURE__ */ b(
300
+ }, Je = [], Ke = /* @__PURE__ */ h(
301
301
  Ye,
302
302
  Xe,
303
303
  Je,
@@ -306,16 +306,16 @@ var Xe = function() {
306
306
  null
307
307
  );
308
308
  const Qe = Ke.exports;
309
- let zi = 0;
309
+ let Ci = 0;
310
310
  const ia = {
311
311
  beforeCreate() {
312
- this.uuid = zi.toString(), zi += 1;
312
+ this.uuid = Ci.toString(), Ci += 1;
313
313
  }
314
314
  };
315
315
  var ea = function() {
316
316
  var i = this, a = i._self._c;
317
317
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z" } }), a("path", { attrs: { fill: "#001222", d: "M13.0111 4.99174C12.2099 4.19982 11.1294 3.75 10 3.75V2.25C11.53 2.25 12.9888 2.85964 14.0675 3.92684L14.0703 3.92966C15.1527 5.01199 15.75 6.47347 15.75 8C15.75 9.52995 15.1404 10.9888 14.0732 12.0675L14.0703 12.0703C12.988 13.1527 11.5265 13.75 10 13.75V12.25C11.1328 12.25 12.2107 11.8079 13.0082 11.0111C13.8002 10.21 14.25 9.1294 14.25 8C14.25 6.8672 13.8079 5.78927 13.0111 4.99174Z" } }), a("path", { attrs: { fill: "#001222", d: "M10 6.75V5.25C10.7257 5.25 11.4295 5.53694 11.9438 6.06319C12.4593 6.58041 12.75 7.26849 12.75 8C12.75 8.72573 12.4631 9.42951 11.9368 9.94383C11.4196 10.4593 10.7315 10.75 10 10.75V9.25C10.3268 9.25 10.6373 9.12206 10.8797 8.87967L10.8868 8.87265C11.1182 8.64727 11.25 8.33261 11.25 8C11.25 7.67317 11.1221 7.36272 10.8797 7.12033L10.8726 7.11321C10.6473 6.88175 10.3326 6.75 10 6.75Z" } })]);
318
- }, aa = [], ta = /* @__PURE__ */ b(
318
+ }, aa = [], ta = /* @__PURE__ */ h(
319
319
  ia,
320
320
  ea,
321
321
  aa,
@@ -324,16 +324,16 @@ var ea = function() {
324
324
  null
325
325
  );
326
326
  const oa = ta.exports;
327
- let Fi = 0;
327
+ let zi = 0;
328
328
  const na = {
329
329
  beforeCreate() {
330
- this.uuid = Fi.toString(), Fi += 1;
330
+ this.uuid = zi.toString(), zi += 1;
331
331
  }
332
332
  };
333
333
  var la = function() {
334
334
  var i = this, a = i._self._c;
335
335
  return a("svg", i._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", i.$attrs, !1), [i.$attrs["svg-title"] ? a("title", [i._v(i._s(i.$attrs["svg-title"]))]) : i._e(), a("path", { attrs: { fill: "#001222", 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" } })]);
336
- }, sa = [], pa = /* @__PURE__ */ b(
336
+ }, sa = [], pa = /* @__PURE__ */ h(
337
337
  na,
338
338
  la,
339
339
  sa,
@@ -342,126 +342,49 @@ var la = function() {
342
342
  null
343
343
  );
344
344
  const ra = pa.exports, ca = {
345
- [u.AUDIO]: oa,
346
- [u.COMPRESSED]: qe,
347
- [u.GENERIC]: Ce,
348
- [u.IMAGE]: Ge,
349
- [u.PDF]: je,
350
- [u.SLIDES]: Te,
351
- [u.TABLE]: ra,
352
- [u.TEXT]: He,
353
- [u.VIDEO]: Qe
345
+ [d.AUDIO]: oa,
346
+ [d.COMPRESSED]: qe,
347
+ [d.GENERIC]: Ce,
348
+ [d.IMAGE]: Ge,
349
+ [d.PDF]: je,
350
+ [d.SLIDES]: Te,
351
+ [d.TABLE]: ra,
352
+ [d.TEXT]: He,
353
+ [d.VIDEO]: Qe
354
354
  };
355
355
  function da(t) {
356
356
  return ca[t.type];
357
357
  }
358
358
  function ma(t) {
359
359
  switch (t.type) {
360
- case u.COMPRESSED:
361
- case u.GENERIC:
360
+ case d.COMPRESSED:
361
+ case d.GENERIC:
362
362
  return "grey";
363
- case u.PDF:
364
- case u.SLIDES:
363
+ case d.PDF:
364
+ case d.SLIDES:
365
365
  return "orange";
366
- case u.TEXT:
366
+ case d.TEXT:
367
367
  return "blue";
368
368
  default:
369
369
  return "green";
370
370
  }
371
371
  }
372
372
  const ua = {
373
- "de-DE": {
374
- cancel: "Abbrechen",
375
- fileExceedsSizeLimit: "Datei überschreitet die Größenbegrenzung",
376
- fileTypeMustBe: "Der Dateityp muss {list} sein.",
377
- imageDimensionsExceedLimits: "Die Bildabmessungen überschreiten die zulässigen Grenzwerte",
378
- remove: "Entfernen",
379
- retry: "Wiederholen"
380
- },
381
- "en-GB": {
382
- cancel: "Cancel",
383
- fileExceedsSizeLimit: "File exceeds size limit",
384
- fileTypeMustBe: "File type must be {list}",
385
- imageDimensionsExceedLimits: "Image dimensions exceed limits",
386
- remove: "Remove",
387
- retry: "Retry"
388
- },
389
- "en-US": {
390
- cancel: "Cancel",
391
- fileExceedsSizeLimit: "File exceeds size limit",
392
- fileTypeMustBe: "File type must be {list}",
393
- imageDimensionsExceedLimits: "Image dimensions exceed limits",
394
- remove: "Remove",
395
- retry: "Retry"
396
- },
397
- "es-419": {
398
- cancel: "Cancelar",
399
- fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
400
- fileTypeMustBe: "El tipo de archivo debe ser {list}",
401
- imageDimensionsExceedLimits: "Las dimensiones de la imagen superan los límites",
402
- remove: "Eliminar",
403
- retry: "Reintentar"
404
- },
405
- "es-ES": {
406
- cancel: "Cancelar",
407
- fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
408
- fileTypeMustBe: "El tipo de archivo debe ser {list}",
409
- imageDimensionsExceedLimits: "Las dimensiones de la imagen superan los límites",
410
- remove: "Eliminar",
411
- retry: "Reintentar"
412
- },
413
- "es-MX": {
414
- cancel: "Cancelar",
415
- fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
416
- fileTypeMustBe: "El tipo de archivo debe ser {list}",
417
- imageDimensionsExceedLimits: "Las dimensiones de la imagen superan los límites",
418
- remove: "Eliminar",
419
- retry: "Reintentar"
420
- },
421
- "fr-FR": {
422
- cancel: "Annuler",
423
- fileExceedsSizeLimit: "Le fichier dépasse la limite de taille",
424
- fileTypeMustBe: "Le type de fichier doit être {list}",
425
- imageDimensionsExceedLimits: "Les dimensions de l'image dépassent les limites",
426
- remove: "Supprimer",
427
- retry: "Réessayer"
428
- },
429
- "it-IT": {
430
- cancel: "Annulla",
431
- fileExceedsSizeLimit: "Il file supera il limite di dimensione",
432
- fileTypeMustBe: "Il tipo di file deve essere {list}",
433
- imageDimensionsExceedLimits: "Le dimensioni dell'immagine superano i limiti",
434
- remove: "Rimuovi",
435
- retry: "Riprova"
436
- },
437
- "ja-JP": {
438
- cancel: "キャンセル",
439
- fileExceedsSizeLimit: "ファイルがサイズ制限を超えています",
440
- fileTypeMustBe: "ファイル形式は{list}でなければなりません",
441
- imageDimensionsExceedLimits: "画像のサイズが制限を超えています",
442
- remove: "削除",
443
- retry: "再試行"
444
- },
445
- "pt-BR": {
446
- cancel: "Cancelar",
447
- fileExceedsSizeLimit: "O arquivo excede o limite de tamanho",
448
- fileTypeMustBe: "O tipo de arquivo deve ser {list}",
449
- imageDimensionsExceedLimits: "As dimensões da imagem excedem os limites",
450
- remove: "Retirar",
451
- retry: "Tentar de novo"
452
- },
453
- "zh-CN": {
454
- cancel: "取消",
455
- fileExceedsSizeLimit: "文件大小超过限制",
456
- fileTypeMustBe: "文件类型必须为 {list}",
457
- imageDimensionsExceedLimits: "图像尺寸超过限制",
458
- remove: "移除",
459
- retry: "重试"
460
- }
373
+ "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" },
374
+ "en-GB": { cancel: "Cancel", fileExceedsSizeLimit: "File exceeds size limit", fileTypeMustBe: "File type must be {list}", imageDimensionsExceedLimits: "Image dimensions exceed limits", remove: "Remove", retry: "Retry" },
375
+ "en-US": { cancel: "Cancel", fileExceedsSizeLimit: "File exceeds size limit", fileTypeMustBe: "File type must be {list}", imageDimensionsExceedLimits: "Image dimensions exceed limits", remove: "Remove", retry: "Retry" },
376
+ "es-419": { 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" },
377
+ "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" },
378
+ "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" },
379
+ "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" },
380
+ "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" },
381
+ "ja-JP": { cancel: "キャンセル", fileExceedsSizeLimit: "ファイルがサイズ制限を超えています", fileTypeMustBe: "ファイル形式は{list}でなければなりません", imageDimensionsExceedLimits: "画像のサイズが制限を超えています", remove: "削除", retry: "再試行" },
382
+ "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" },
383
+ "zh-CN": { cancel: "取消", fileExceedsSizeLimit: "文件大小超过限制", fileTypeMustBe: "文件类型必须为 {list}", imageDimensionsExceedLimits: "图像尺寸超过限制", remove: "移除", retry: "重试" }
461
384
  }, va = {
462
385
  name: "file-uploader-file-card",
463
386
  i18n: { messages: ua }
464
- }, fa = /* @__PURE__ */ G({
387
+ }, fa = /* @__PURE__ */ W({
465
388
  ...va,
466
389
  props: {
467
390
  file: null,
@@ -470,57 +393,57 @@ const ua = {
470
393
  },
471
394
  emits: ["cancel", "remove", "retry"],
472
395
  setup(t, { expose: i, emit: a }) {
473
- const e = t, n = 1200, { t: r, locale: l } = Y(), p = y(null), c = y(null), g = y(null), k = _("file-errors-section"), S = _("cancel-file-button"), x = _("remove-file-button"), w = _("retry-file-button"), F = y(e.file.state === z.SUCCESS), m = d(() => URL.createObjectURL(e.file.data)), E = d(() => e.file.state === z.ERROR), L = d(() => e.file.errors.includes(h.ERROR_LOAD)), A = d(() => e.file.errors.includes(h.ERROR_SIZE)), X = d(() => e.file.errors.includes(h.ERROR_DIMENSIONS)), J = d(() => e.file.errors.includes(h.ERROR_TYPE)), V = d(() => e.file.state === z.LOADING), M = d(() => e.file.progress && `(${e.file.progress.toFixed(0)}%)`), T = d(() => li(l.value, e.file.data.size)), R = y(), $ = y(), K = me(R, $), j = d(() => ({
396
+ const e = t, o = 1200, { t: r, locale: u } = G(), l = _(null), p = _(null), f = _(null), k = b("file-errors-section"), S = b("cancel-file-button"), v = b("remove-file-button"), y = b("retry-file-button"), z = _(e.file.state === C.SUCCESS), c = s(() => URL.createObjectURL(e.file.data)), E = s(() => e.file.state === C.ERROR), L = s(() => e.file.errors.includes(g.ERROR_LOAD)), A = s(() => e.file.errors.includes(g.ERROR_SIZE)), Y = s(() => e.file.errors.includes(g.ERROR_DIMENSIONS)), X = s(() => e.file.errors.includes(g.ERROR_TYPE)), V = s(() => e.file.state === C.LOADING), M = s(() => e.file.progress && `(${e.file.progress.toFixed(0)}%)`), T = s(() => ni(u.value, e.file.data.size)), R = _(), $ = _(), J = me(R, $), j = s(() => ({
474
397
  "b-file-uploader-file-card--error": E.value
475
- })), Q = d(() => ({
476
- [`b-file-uploader-file-card__icon--${ma(e.file)}`]: F.value,
398
+ })), K = s(() => ({
399
+ [`b-file-uploader-file-card__icon--${ma(e.file)}`]: z.value,
477
400
  "b-file-uploader-file-card__icon--error": E.value
478
- })), B = d(() => V.value ? Ki : E.value ? Ei : F.value ? da(e.file) : Wi);
479
- oi(
401
+ })), B = s(() => V.value ? Ki : E.value ? ki : z.value ? da(e.file) : Wi);
402
+ ti(
480
403
  () => e.file.state,
481
404
  (U) => {
482
- if (U === z.SUCCESS && !F.value) {
483
- const ii = setTimeout(() => {
484
- F.value = !0, clearTimeout(ii);
485
- }, n);
405
+ if (U === C.SUCCESS && !z.value) {
406
+ const Q = setTimeout(() => {
407
+ z.value = !0, clearTimeout(Q);
408
+ }, o);
486
409
  }
487
410
  }
488
411
  );
489
412
  function O() {
490
- if (g.value) {
491
- g.value.$el.focus();
413
+ if (f.value) {
414
+ f.value.$el.focus();
492
415
  return;
493
416
  }
494
- if (p.value) {
495
- p.value.$el.focus();
417
+ if (l.value) {
418
+ l.value.$el.focus();
496
419
  return;
497
420
  }
498
- if (c.value) {
499
- c.value.$el.focus();
421
+ if (p.value) {
422
+ p.value.$el.focus();
500
423
  return;
501
424
  }
502
425
  }
503
426
  return i({
504
427
  focus: O
505
- }), { __sfc: !0, ICON_TIMER: n, props: e, emit: a, t: r, locale: l, removeFileButtonRef: p, cancelFileButtonRef: c, retryFileButtonRef: g, fileErrorsSectionId: k, cancelFileButtonId: S, removeFileButtonId: x, retryFileButtonId: w, showFileIcon: F, downloadUrl: m, hasError: E, hasLoadError: L, hasSizeError: A, hasDimensionsError: X, hasTypeError: J, isLoading: V, progressLabel: M, sizeLabel: T, fileNameRef: R, fileNameContainerRef: $, isFileNameTruncated: K, conditionalClasses: j, conditionalIconClasses: Q, fileUploaderIcon: B, focus: O, isVue2: Ti, FileUploaderFileCardAnimation: de, BinIcon: Pi, CrossIcon: Gi, RefreshIcon: Yi, vBentoTooltipDirective: Qi, BentoButton: Xi, BentoLink: Ji, BentoTypography: si };
428
+ }), { __sfc: !0, ICON_TIMER: o, props: e, emit: a, t: r, locale: u, removeFileButtonRef: l, cancelFileButtonRef: p, retryFileButtonRef: f, fileErrorsSectionId: k, cancelFileButtonId: S, removeFileButtonId: v, retryFileButtonId: y, showFileIcon: z, downloadUrl: c, hasError: E, hasLoadError: L, hasSizeError: A, hasDimensionsError: Y, hasTypeError: X, isLoading: V, progressLabel: M, sizeLabel: T, fileNameRef: R, fileNameContainerRef: $, isFileNameTruncated: J, conditionalClasses: j, conditionalIconClasses: K, fileUploaderIcon: B, focus: O, isVue2: Ei, FileUploaderFileCardAnimation: de, BinIcon: Pi, CrossIcon: Gi, RefreshIcon: Yi, vBentoTooltipDirective: Qi, BentoButton: Xi, BentoLink: Ji, BentoTypography: li };
506
429
  }
507
430
  });
508
431
  var xa = function() {
509
432
  var i = this, a = i._self._c, e = i._self._setupProxy;
510
- return a("div", { staticClass: "b-file-uploader-file-card", class: e.conditionalClasses }, [a("div", { staticClass: "b-file-uploader-file-card__details" }, [a("div", { staticClass: "b-file-uploader-file-card__info" }, [a(e.FileUploaderFileCardAnimation, { attrs: { name: e.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": e.showFileIcon } }, [a(e.fileUploaderIcon, { key: JSON.stringify(e.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: e.conditionalIconClasses, attrs: { small: "", "aria-hidden": "true", "data-testid": "file-uploader-item-icon" } })], 1), a("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [a(e.BentoLink, { attrs: { "aria-hidden": "true", tabindex: "-1", download: i.file.data.name, to: e.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [a(e.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: e.isFileNameTruncated ? i.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [i._v(" " + i._s(i.file.data.name) + " ")])], 1)], 1), i.file.progress ? a(e.BentoTypography, { attrs: { el: "span" } }, [i._v(i._s(e.progressLabel))]) : i.file.data.size ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { "aria-hidden": "true", el: "span" } }, [i._v(" " + i._s(e.sizeLabel) + " ")]) : i._e()], 1), e.hasSizeError || e.hasDimensionsError || e.hasTypeError && i.supportedFileTypes ? a("div", { attrs: { id: e.fileErrorsSectionId, role: "alert" } }, [e.hasSizeError ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [i._v(" " + i._s(e.t("fileExceedsSizeLimit")) + " ")]) : i._e(), e.hasDimensionsError ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [i._v(" " + i._s(e.t("imageDimensionsExceedLimits")) + " ")]) : i._e(), e.hasTypeError && i.supportedFileTypes ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [i._v(" " + i._s(e.t("fileTypeMustBe", { list: i.supportedFileTypes })) + " ")]) : i._e()], 1) : i._e()]), i.readonly ? i._e() : a("div", { staticClass: "b-file-uploader-file-card__actions" }, [e.hasLoadError ? a(e.BentoButton, { ref: "retryFileButtonRef", attrs: { "aria-labelledby": `${e.fileErrorsSectionId} ${e.retryFileButtonId}`, variant: "tertiary" }, on: { click: function(n) {
433
+ return a("div", { staticClass: "b-file-uploader-file-card", class: e.conditionalClasses }, [a("div", { staticClass: "b-file-uploader-file-card__details" }, [a("div", { staticClass: "b-file-uploader-file-card__info" }, [a(e.FileUploaderFileCardAnimation, { attrs: { name: e.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": e.showFileIcon } }, [a(e.fileUploaderIcon, { key: JSON.stringify(e.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: e.conditionalIconClasses, attrs: { small: "", "aria-hidden": "true", "data-testid": "file-uploader-item-icon" } })], 1), a("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [a(e.BentoLink, { attrs: { "aria-hidden": "true", tabindex: "-1", download: i.file.data.name, to: e.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [a(e.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: e.isFileNameTruncated ? i.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [i._v(" " + i._s(i.file.data.name) + " ")])], 1)], 1), i.file.progress ? a(e.BentoTypography, { attrs: { el: "span" } }, [i._v(i._s(e.progressLabel))]) : i.file.data.size ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { "aria-hidden": "true", el: "span" } }, [i._v(" " + i._s(e.sizeLabel) + " ")]) : i._e()], 1), e.hasSizeError || e.hasDimensionsError || e.hasTypeError && i.supportedFileTypes ? a("div", { attrs: { id: e.fileErrorsSectionId, role: "alert" } }, [e.hasSizeError ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [i._v(" " + i._s(e.t("fileExceedsSizeLimit")) + " ")]) : i._e(), e.hasDimensionsError ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [i._v(" " + i._s(e.t("imageDimensionsExceedLimits")) + " ")]) : i._e(), e.hasTypeError && i.supportedFileTypes ? a(e.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [i._v(" " + i._s(e.t("fileTypeMustBe", { list: i.supportedFileTypes })) + " ")]) : i._e()], 1) : i._e()]), i.readonly ? i._e() : a("div", { staticClass: "b-file-uploader-file-card__actions" }, [e.hasLoadError ? a(e.BentoButton, { ref: "retryFileButtonRef", attrs: { "aria-labelledby": `${e.fileErrorsSectionId} ${e.retryFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
511
434
  return e.emit("retry");
512
435
  } }, scopedSlots: i._u([{ key: "iconLeft", fn: function() {
513
436
  return [a(e.RefreshIcon, { attrs: { id: e.retryFileButtonId, "svg-title": `${e.t("retry")} - ${i.file.data.name} ` } })];
514
- }, proxy: !0 }], null, !1, 4044719554) }, [i._v(" " + i._s(e.t("retry")) + " ")]) : i._e(), e.isLoading || e.hasError ? a(e.BentoButton, { ref: "cancelFileButtonRef", attrs: { "aria-labelledby": `${e.fileErrorsSectionId} ${e.cancelFileButtonId}`, variant: "tertiary" }, on: { click: function(n) {
437
+ }, proxy: !0 }], null, !1, 4044719554) }, [i._v(" " + i._s(e.t("retry")) + " ")]) : i._e(), e.isLoading || e.hasError ? a(e.BentoButton, { ref: "cancelFileButtonRef", attrs: { "aria-labelledby": `${e.fileErrorsSectionId} ${e.cancelFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
515
438
  return e.emit("cancel");
516
439
  } }, scopedSlots: i._u([{ key: "iconLeft", fn: function() {
517
440
  return [a(e.CrossIcon, { attrs: { id: e.cancelFileButtonId, "svg-title": `${e.t("cancel")} - ${i.file.data.name}` } })];
518
- }, proxy: !0 }], null, !1, 1610167681) }) : a(e.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${e.fileErrorsSectionId} ${e.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(n) {
441
+ }, proxy: !0 }], null, !1, 1610167681) }) : a(e.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${e.fileErrorsSectionId} ${e.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
519
442
  return e.emit("remove");
520
443
  } }, scopedSlots: i._u([{ key: "iconLeft", fn: function() {
521
444
  return [a(e.BinIcon, { attrs: { id: e.removeFileButtonId, "svg-title": `${e.t("remove")} - ${i.file.data.name}` } })];
522
445
  }, proxy: !0 }], null, !1, 3607204026) })], 1)]);
523
- }, ga = [], ha = /* @__PURE__ */ b(
446
+ }, ga = [], ha = /* @__PURE__ */ h(
524
447
  fa,
525
448
  xa,
526
449
  ga,
@@ -529,108 +452,20 @@ var xa = function() {
529
452
  "fbe82cf6"
530
453
  );
531
454
  const ba = ha.exports, _a = {
532
- "de-DE": {
533
- maxFileSize: "Maximale Dateigröße: {size}",
534
- maxImageDimensions: "Maximale Bilddimensionen: {width} × {height}px",
535
- maxImageHeight: "Maximale Bildhöhe: {height}px",
536
- maxImageWidth: "Maximale Bildbreite: {width}px",
537
- maxUpload: "Maximale Anzahl Uploads: {count} Datei | Maximale Anzahl Uploads: {count} Dateien",
538
- supportedFileTypes: "Unterstützte Dateitypen: {list}",
539
- upToSize: "(bis zu {size})"
540
- },
541
- "en-GB": {
542
- maxFileSize: "Max. file size: {size}",
543
- maxImageDimensions: "Max. image dimensions: {width} × {height}px",
544
- maxImageHeight: "Max. image height: {height}px",
545
- maxImageWidth: "Max. image width: {width}px",
546
- maxUpload: "Max. upload: {count} file | Max. upload: {count} files",
547
- supportedFileTypes: "Supported file types: {list}",
548
- upToSize: "(up to {size})"
549
- },
550
- "en-US": {
551
- maxFileSize: "Max file size: {size}",
552
- maxImageDimensions: "Max image dimensions: {width} × {height}px",
553
- maxImageHeight: "Max image height: {height}px",
554
- maxImageWidth: "Max image width: {width}px",
555
- maxUpload: "Max upload: {count} file | Max upload: {count} files",
556
- supportedFileTypes: "Supported file types: {list}",
557
- upToSize: "(up to {size})"
558
- },
559
- "es-419": {
560
- maxFileSize: "Tamaño máximo del archivo: {size}",
561
- maxImageDimensions: "Dimensiones máximas de la imagen: {width} × {height}px",
562
- maxImageHeight: "Altura máxima de la imagen: {height}px",
563
- maxImageWidth: "Ancho máximo de la imagen: {width}px",
564
- maxUpload: "Carga máxima: {count} archivo | Carga máxima: {count} archivos",
565
- supportedFileTypes: "Tipos de archivo compatibles: {list}",
566
- upToSize: "(hasta {size})"
567
- },
568
- "es-ES": {
569
- maxFileSize: "Tamaño máximo del archivo: {size}",
570
- maxImageDimensions: "Dimensiones máximas de la imagen: {width} × {height} px",
571
- maxImageHeight: "Altura máxima de la imagen: {height} px",
572
- maxImageWidth: "Anchura máximo de la imagen: {width} px",
573
- maxUpload: "Carga máxima: {count} archivo | Carga máxima: {count} archivos",
574
- supportedFileTypes: "Tipos de archivo compatibles: {list}",
575
- upToSize: "(hasta {size})"
576
- },
577
- "es-MX": {
578
- maxFileSize: "Tamaño máximo de archivo: {size}",
579
- maxImageDimensions: "Dimensiones máximas de la imagen: {ancho} × {altura}px",
580
- maxImageHeight: "Altura máxima de la imagen: {height}px",
581
- maxImageWidth: "Ancho máximo de la imagen: {width}px",
582
- maxUpload: "Carga máxima: {count} archivo | Carga máxima: {count} archivos",
583
- supportedFileTypes: "Tipos de archivo compatibles: {list}",
584
- upToSize: "(hasta {size})"
585
- },
586
- "fr-FR": {
587
- maxFileSize: "Taille maximale du fichier : {size}",
588
- maxImageDimensions: "Dimensions maximales de l'image : {width} × {height} px",
589
- maxImageHeight: "Hauteur maximale de l'image : {height} px",
590
- maxImageWidth: "Largeur maximale de l'image : {width} px",
591
- maxUpload: "Téléchargement maximal : {count} fichier | Téléchargement maximal : {count} fichiers",
592
- supportedFileTypes: "Types de fichiers pris en charge : {list}",
593
- upToSize: "(jusqu'à {size})"
594
- },
595
- "it-IT": {
596
- maxFileSize: "Dimensione massima del file: {size}",
597
- maxImageDimensions: "Dimensioni massime dell'immagine: {width} × {height}px",
598
- maxImageHeight: "Altezza massima dell'immagine: {height} px",
599
- maxImageWidth: "Larghezza massima dell'immagine: {width} px",
600
- maxUpload: "Upload massimo: file {count} | Upload massimo: {count} file",
601
- supportedFileTypes: "Tipi di file supportati: {list}",
602
- upToSize: "(fino a {size})"
603
- },
604
- "ja-JP": {
605
- maxFileSize: "最大ファイルサイズ:{size}",
606
- maxImageDimensions: "最大画像サイズ: {width} × {height}px",
607
- maxImageHeight: "最大画像高さ: {height}px",
608
- maxImageWidth: "最大画像幅: {width}px",
609
- maxUpload: "最大アップロード: {count}件のファイル |最大アップロード: {count}件のファイル",
610
- supportedFileTypes: "対応ファイル形式: {list}",
611
- upToSize: "({size}まで)"
612
- },
613
- "pt-BR": {
614
- maxFileSize: "Tamanho máx. do arquivo: {size}",
615
- maxImageDimensions: "Dimensões máx. da imagem: {width} × {height}px",
616
- maxImageHeight: "Altura máx. da imagem: {height}px",
617
- maxImageWidth: "Largura máx. da imagem: {width}px",
618
- maxUpload: "Máximo de upload: {count} arquivo | Máximo de upload: {count} arquivos",
619
- supportedFileTypes: "Tipos de arquivo aceitos: {list}",
620
- upToSize: "(até {size})"
621
- },
622
- "zh-CN": {
623
- maxFileSize: "最大文件大小:{size}",
624
- maxImageDimensions: "最大图像尺寸:{width} × {height}px",
625
- maxImageHeight: "最大图像高度:{height}px",
626
- maxImageWidth: "最大图像宽度:{width}px",
627
- maxUpload: "最多上传:{count} 个文件 | 最多上传:{count} 个文件",
628
- supportedFileTypes: "支持的文件类型:{list}",
629
- upToSize: "(最多 {size})"
630
- }
455
+ "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})" },
456
+ "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})" },
457
+ "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})" },
458
+ "es-419": { 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: "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})" },
459
+ "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})" },
460
+ "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})" },
461
+ "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})" },
462
+ "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})" },
463
+ "ja-JP": { maxFileSize: "最大ファイルサイズ:{size}", maxImageDimensions: "最大画像サイズ: {width} × {height}px", maxImageHeight: "最大画像高さ: {height}px", maxImageWidth: "最大画像幅: {width}px", maxUpload: "最大アップロード: {count}件のファイル |最大アップロード: {count}件のファイル", supportedFileTypes: "対応ファイル形式: {list}", upToSize: "({size}まで)" },
464
+ "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})" },
465
+ "zh-CN": { maxFileSize: "最大文件大小:{size}", maxImageDimensions: "最大图像尺寸:{width} × {height}px", maxImageHeight: "最大图像高度:{height}px", maxImageWidth: "最大图像宽度:{width}px", maxUpload: "最多上传:{count} 个文件 | 最多上传:{count} 个文件", supportedFileTypes: "支持的文件类型:{list}", upToSize: "(最多 {size})" }
631
466
  }, ya = {
632
467
  i18n: { messages: _a }
633
- }, wa = /* @__PURE__ */ G({
468
+ }, wa = /* @__PURE__ */ W({
634
469
  ...ya,
635
470
  __name: "file-uploader-restrictions",
636
471
  props: {
@@ -642,40 +477,40 @@ const ba = ha.exports, _a = {
642
477
  supportedFileTypes: { default: null }
643
478
  },
644
479
  setup(t) {
645
- const i = t, { t: a, tc: e, n, locale: r } = Y(), l = d(() => ({
480
+ const i = t, { t: a, tc: e, n: o, locale: r } = G(), u = s(() => ({
646
481
  "b-file-uploader-restrictions--condensed": i.condensed,
647
482
  "b-file-uploader-restrictions--disabled": i.disabled
648
483
  }));
649
- function p(x) {
484
+ function l(v) {
650
485
  return {
651
- "b-file-uploader-restrictions--error": x
486
+ "b-file-uploader-restrictions--error": v
652
487
  };
653
488
  }
654
- const c = d(() => i.maxSize && Array.isArray(i.maxSize.value)), g = d(() => !i.maxSize || c.value ? null : a("maxFileSize", { size: li(r.value, i.maxSize.value) })), k = d(() => {
489
+ const p = s(() => i.maxSize && Array.isArray(i.maxSize.value)), f = s(() => !i.maxSize || p.value ? null : a("maxFileSize", { size: ni(r.value, i.maxSize.value) })), k = s(() => {
655
490
  if (!i.supportedFileTypes)
656
491
  return null;
657
- if (!c.value)
492
+ if (!p.value)
658
493
  return i.supportedFileTypes.value;
659
- let x = i.supportedFileTypes.value;
660
- return i.maxSize.value.forEach((w) => {
661
- const F = w.fileType.toUpperCase(), m = a("upToSize", { size: li(r.value, w.maxSize) });
662
- x = x.replace(F, `${F} ${m}`);
663
- }), x;
664
- }), S = d(() => {
494
+ let v = i.supportedFileTypes.value;
495
+ return i.maxSize.value.forEach((y) => {
496
+ const z = y.fileType.toUpperCase(), c = a("upToSize", { size: ni(r.value, y.maxSize) });
497
+ v = v.replace(z, `${z} ${c}`);
498
+ }), v;
499
+ }), S = s(() => {
665
500
  if (!i.maxDimensions)
666
501
  return null;
667
502
  const {
668
- value: { width: x, height: w }
503
+ value: { width: v, height: y }
669
504
  } = i.maxDimensions;
670
- return x && w ? a("maxImageDimensions", { width: n(x), height: n(w) }) : x ? a("maxImageWidth", { width: n(x) }) : w ? a("maxImageHeight", { height: n(w) }) : null;
505
+ return v && y ? a("maxImageDimensions", { width: o(v), height: o(y) }) : v ? a("maxImageWidth", { width: o(v) }) : y ? a("maxImageHeight", { height: o(y) }) : null;
671
506
  });
672
- return { __sfc: !0, props: i, t: a, tc: e, n, locale: r, conditionalClasses: l, setRestrictionErrorClass: p, isMaxSizeArray: c, maxFileSizeLabel: g, computedConditionalFiles: k, maxDimensionsLabel: S, BentoTypography: si };
507
+ return { __sfc: !0, props: i, t: a, tc: e, n: o, locale: r, conditionalClasses: u, setRestrictionErrorClass: l, isMaxSizeArray: p, maxFileSizeLabel: f, computedConditionalFiles: k, maxDimensionsLabel: S, BentoTypography: li };
673
508
  }
674
509
  });
675
510
  var Ca = function() {
676
511
  var i = this, a = i._self._c, e = i._self._setupProxy;
677
512
  return a("div", { staticClass: "b-file-uploader-restrictions", class: e.conditionalClasses }, [i.supportedFileTypes ? a(e.BentoTypography, { class: e.setRestrictionErrorClass(i.supportedFileTypes.error || e.isMaxSizeArray && i.maxSize.error) }, [i._v(" " + i._s(e.t("supportedFileTypes", { list: e.computedConditionalFiles })) + " ")]) : i._e(), !e.isMaxSizeArray && i.maxSize ? a(e.BentoTypography, { class: e.setRestrictionErrorClass(i.maxSize.error) }, [i._v(" " + i._s(e.maxFileSizeLabel) + " ")]) : i._e(), i.maxDimensions ? a(e.BentoTypography, { class: e.setRestrictionErrorClass(i.maxDimensions.error) }, [i._v(" " + i._s(e.maxDimensionsLabel) + " ")]) : i._e(), i.maxCount ? a(e.BentoTypography, { class: e.setRestrictionErrorClass(i.maxCount.error) }, [i._v(" " + i._s(e.tc("maxUpload", i.maxCount.value, { count: e.n(i.maxCount.value) })) + " ")]) : i._e()], 1);
678
- }, za = [], Fa = /* @__PURE__ */ b(
513
+ }, za = [], Fa = /* @__PURE__ */ h(
679
514
  wa,
680
515
  Ca,
681
516
  za,
@@ -683,7 +518,7 @@ var Ca = function() {
683
518
  null,
684
519
  "b0498c01"
685
520
  );
686
- const ka = Fa.exports, Ii = {
521
+ const ka = Fa.exports, Ri = {
687
522
  "application/prs.cww": ["cww"],
688
523
  "application/prs.xsf+xml": ["xsf"],
689
524
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1382,8 +1217,8 @@ const ka = Fa.exports, Ii = {
1382
1217
  "video/x-smv": ["smv"],
1383
1218
  "x-conference/x-cooltalk": ["ice"]
1384
1219
  };
1385
- Object.freeze(Ii);
1386
- const Si = {
1220
+ Object.freeze(Ri);
1221
+ const Ii = {
1387
1222
  "application/andrew-inset": ["ez"],
1388
1223
  "application/appinstaller": ["appinstaller"],
1389
1224
  "application/applixware": ["aw"],
@@ -1735,8 +1570,8 @@ const Si = {
1735
1570
  "video/quicktime": ["qt", "mov"],
1736
1571
  "video/webm": ["webm"]
1737
1572
  };
1738
- Object.freeze(Si);
1739
- var C = function(t, i, a, e) {
1573
+ Object.freeze(Ii);
1574
+ var w = function(t, i, a, e) {
1740
1575
  if (a === "a" && !e) throw new TypeError("Private accessor was defined without a getter");
1741
1576
  if (typeof i == "function" ? t !== i || !e : !i.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1742
1577
  return a === "m" ? e : a === "a" ? e.call(t) : e ? e.value : i.get(t);
@@ -1748,18 +1583,18 @@ class Ea {
1748
1583
  this.define(a);
1749
1584
  }
1750
1585
  define(i, a = !1) {
1751
- for (let [e, n] of Object.entries(i)) {
1752
- e = e.toLowerCase(), n = n.map((p) => p.toLowerCase()), C(this, I, "f").has(e) || C(this, I, "f").set(e, /* @__PURE__ */ new Set());
1753
- const r = C(this, I, "f").get(e);
1754
- let l = !0;
1755
- for (let p of n) {
1756
- const c = p.startsWith("*");
1757
- if (p = c ? p.slice(1) : p, r == null || r.add(p), l && C(this, H, "f").set(e, p), l = !1, c)
1586
+ for (let [e, o] of Object.entries(i)) {
1587
+ e = e.toLowerCase(), o = o.map((l) => l.toLowerCase()), w(this, I, "f").has(e) || w(this, I, "f").set(e, /* @__PURE__ */ new Set());
1588
+ const r = w(this, I, "f").get(e);
1589
+ let u = !0;
1590
+ for (let l of o) {
1591
+ const p = l.startsWith("*");
1592
+ if (l = p ? l.slice(1) : l, r?.add(l), u && w(this, H, "f").set(e, l), u = !1, p)
1758
1593
  continue;
1759
- const g = C(this, D, "f").get(p);
1760
- if (g && g != e && !a)
1761
- throw new Error(`"${e} -> ${p}" conflicts with "${g} -> ${p}". Pass \`force=true\` to override this definition.`);
1762
- C(this, D, "f").set(p, e);
1594
+ const f = w(this, D, "f").get(l);
1595
+ if (f && f != e && !a)
1596
+ throw new Error(`"${e} -> ${l}" conflicts with "${f} -> ${l}". Pass \`force=true\` to override this definition.`);
1597
+ w(this, D, "f").set(l, e);
1763
1598
  }
1764
1599
  }
1765
1600
  return this;
@@ -1767,174 +1602,52 @@ class Ea {
1767
1602
  getType(i) {
1768
1603
  if (typeof i != "string")
1769
1604
  return null;
1770
- const a = i.replace(/^.*[/\\]/, "").toLowerCase(), e = a.replace(/^.*\./, "").toLowerCase(), n = a.length < i.length;
1771
- return !(e.length < a.length - 1) && n ? null : C(this, D, "f").get(e) ?? null;
1605
+ const a = i.replace(/^.*[/\\]/, "").toLowerCase(), e = a.replace(/^.*\./, "").toLowerCase(), o = a.length < i.length;
1606
+ return !(e.length < a.length - 1) && o ? null : w(this, D, "f").get(e) ?? null;
1772
1607
  }
1773
1608
  getExtension(i) {
1774
- var a;
1775
- return typeof i != "string" ? null : (i = (a = i == null ? void 0 : i.split) == null ? void 0 : a.call(i, ";")[0], (i && C(this, H, "f").get(i.trim().toLowerCase())) ?? null);
1609
+ return typeof i != "string" ? null : (i = i?.split?.(";")[0], (i && w(this, H, "f").get(i.trim().toLowerCase())) ?? null);
1776
1610
  }
1777
1611
  getAllExtensions(i) {
1778
- return typeof i != "string" ? null : C(this, I, "f").get(i.toLowerCase()) ?? null;
1612
+ return typeof i != "string" ? null : w(this, I, "f").get(i.toLowerCase()) ?? null;
1779
1613
  }
1780
1614
  _freeze() {
1781
1615
  this.define = () => {
1782
1616
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1783
1617
  }, Object.freeze(this);
1784
- for (const i of C(this, I, "f").values())
1618
+ for (const i of w(this, I, "f").values())
1785
1619
  Object.freeze(i);
1786
1620
  return this;
1787
1621
  }
1788
1622
  _getTestState() {
1789
1623
  return {
1790
- types: C(this, D, "f"),
1791
- extensions: C(this, H, "f")
1624
+ types: w(this, D, "f"),
1625
+ extensions: w(this, H, "f")
1792
1626
  };
1793
1627
  }
1794
1628
  }
1795
1629
  D = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap();
1796
- const Li = new Ea(Si, Ii)._freeze(), Ta = {
1797
- "de-DE": {
1798
- audioFiles: "Audiodateien",
1799
- browseFiles: "Dateien durchsuchen",
1800
- dropArea: "Ablagebereich",
1801
- dropFiles: "Datei zum Hochladen ablegen | Dateien zum Hochladen ablegen",
1802
- fileExceedsSizeLimit: "Datei überschreitet die Größenbegrenzung",
1803
- imageFiles: "Bilddateien",
1804
- noFilesUploaded: "Keine Dateien hochgeladen",
1805
- tooManyFiles: "Zu viele Dateien",
1806
- videoFiles: "Videodateien",
1807
- youHaveExceededTheMaximum: "Sie haben die maximale Anzahl von {count} Dateien überschritten. Bitte entfernen Sie einige Dateien, bevor Sie fortfahren."
1808
- },
1809
- "en-GB": {
1810
- audioFiles: "audio files",
1811
- browseFiles: "Browse files",
1812
- dropArea: "Drop area",
1813
- dropFiles: "Drop file to upload | Drop files to upload",
1814
- fileExceedsSizeLimit: "File exceeds size limit",
1815
- imageFiles: "image files",
1816
- noFilesUploaded: "No files uploaded",
1817
- tooManyFiles: "Too many files",
1818
- videoFiles: "video files",
1819
- youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1820
- },
1821
- "en-US": {
1822
- audioFiles: "audio files",
1823
- browseFiles: "Browse files",
1824
- dropArea: "Drop area",
1825
- dropFiles: "Drop file to upload | Drop files to upload",
1826
- fileExceedsSizeLimit: "File exceeds size limit",
1827
- imageFiles: "image files",
1828
- noFilesUploaded: "No files uploaded",
1829
- tooManyFiles: "Too many files",
1830
- videoFiles: "video files",
1831
- youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1832
- },
1833
- "es-419": {
1834
- audioFiles: "archivos de audio",
1835
- browseFiles: "Explorar archivos",
1836
- dropArea: "Área de soltar",
1837
- dropFiles: "Arrastrar archivo para cargar | Arrastrar archivos para cargar",
1838
- fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
1839
- imageFiles: "archivos de imagen",
1840
- noFilesUploaded: "No se han cargado archivos",
1841
- tooManyFiles: "Demasiados archivos",
1842
- videoFiles: "archivos de video",
1843
- youHaveExceededTheMaximum: "Superaste el límite máximo de {count} archivos. Elimina algunos archivos antes de continuar."
1844
- },
1845
- "es-ES": {
1846
- audioFiles: "archivos de audio",
1847
- browseFiles: "Explorar archivos",
1848
- dropArea: "Zona de soltar",
1849
- dropFiles: "Arrastrar archivo para cargar | Arrastrar archivos para cargar",
1850
- fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
1851
- imageFiles: "archivos de imagen",
1852
- noFilesUploaded: "No se han cargado archivos",
1853
- tooManyFiles: "Demasiados archivos",
1854
- videoFiles: "archivos de vídeo",
1855
- youHaveExceededTheMaximum: "Has superado el límite máximo de {count} archivos. Elimina algunos antes de continuar."
1856
- },
1857
- "es-MX": {
1858
- audioFiles: "archivos de audio",
1859
- browseFiles: "Explorar archivos",
1860
- dropArea: "Área de soltar",
1861
- dropFiles: "Soltar archivo para cargar | Arrastrar archivos para cargar",
1862
- fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
1863
- imageFiles: "archivos de imagen",
1864
- noFilesUploaded: "No hay archivos cargados",
1865
- tooManyFiles: "Demasiados archivos",
1866
- videoFiles: "archivos de video",
1867
- youHaveExceededTheMaximum: "Superaste el límite máximo de {count} archivos. Elimina algunos archivos antes de continuar."
1868
- },
1869
- "fr-FR": {
1870
- audioFiles: "fichiers audio",
1871
- browseFiles: "Parcourir les fichiers",
1872
- dropArea: "Zone de dépôt",
1873
- dropFiles: "Déposer un fichier à télécharger | Déposer des fichiers à télécharger",
1874
- fileExceedsSizeLimit: "Le fichier dépasse la limite de taille",
1875
- imageFiles: "fichiers image",
1876
- noFilesUploaded: "Aucun fichier téléchargé",
1877
- tooManyFiles: "Trop de fichiers",
1878
- videoFiles: "fichiers vidéo",
1879
- youHaveExceededTheMaximum: "Vous avez dépassé la limite maximale de {count} fichiers. Veuillez supprimer certains fichiers avant de continuer."
1880
- },
1881
- "it-IT": {
1882
- audioFiles: "file audio",
1883
- browseFiles: "Sfoglia i file",
1884
- dropArea: "Area di scarico",
1885
- dropFiles: "Trascina il file per caricarlo | Trascina i file per caricarli",
1886
- fileExceedsSizeLimit: "Il file supera il limite di dimensione",
1887
- imageFiles: "file di immagini",
1888
- noFilesUploaded: "Nessun file caricato",
1889
- tooManyFiles: "Troppi file",
1890
- videoFiles: "file video",
1891
- youHaveExceededTheMaximum: "Hai superato il limite massimo di {count} file. Rimuovi alcuni file prima di procedere."
1892
- },
1893
- "ja-JP": {
1894
- audioFiles: "オーディオファイル",
1895
- browseFiles: "ファイルを参照",
1896
- dropArea: "ドロップエリア",
1897
- dropFiles: "ファイルをドロップしてアップロード | ファイルをドロップしてアップロード",
1898
- fileExceedsSizeLimit: "ファイルがサイズ制限を超えています",
1899
- imageFiles: "画像ファイル",
1900
- noFilesUploaded: "ファイルはアップロードされていません",
1901
- tooManyFiles: "ファイルが多すぎます",
1902
- videoFiles: "ビデオファイル",
1903
- youHaveExceededTheMaximum: "ファイル{count}件の最大制限を超えました。続行する前にいくつかのファイルを削除してください。"
1904
- },
1905
- "pt-BR": {
1906
- audioFiles: "arquivos de áudio",
1907
- browseFiles: "Procurar arquivos",
1908
- dropArea: "Área de soltar",
1909
- dropFiles: "Soltar arquivo para upload | Soltar arquivos para upload",
1910
- fileExceedsSizeLimit: "O arquivo excede o limite de tamanho",
1911
- imageFiles: "arquivos de imagem",
1912
- noFilesUploaded: "Nenhum arquivo carregado",
1913
- tooManyFiles: "Arquivos demais",
1914
- videoFiles: "arquivos de vídeo",
1915
- youHaveExceededTheMaximum: "Você excedeu o limite máximo de {count} arquivos. Retire alguns arquivos antes de prosseguir."
1916
- },
1917
- "zh-CN": {
1918
- audioFiles: "音频文件",
1919
- browseFiles: "浏览文件",
1920
- dropArea: "拖放区",
1921
- dropFiles: "拖放文件以上传 | 拖放文件以上传",
1922
- fileExceedsSizeLimit: "文件大小超过限制",
1923
- imageFiles: "图像文件",
1924
- noFilesUploaded: "未上传文件",
1925
- tooManyFiles: "文件过多",
1926
- videoFiles: "视频文件",
1927
- youHaveExceededTheMaximum: "已超出 {count} 个文件的上限数量。请在继续之前移除一些文件。"
1928
- }
1630
+ const Si = new Ea(Ii, Ri)._freeze(), Ta = {
1631
+ "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." },
1632
+ "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." },
1633
+ "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." },
1634
+ "es-419": { audioFiles: "archivos de audio", browseFiles: "Explorar archivos", dropArea: "Área 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 video", youHaveExceededTheMaximum: "Superaste el límite máximo de {count} archivos. Elimina algunos archivos antes de continuar." },
1635
+ "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." },
1636
+ "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." },
1637
+ "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." },
1638
+ "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." },
1639
+ "ja-JP": { audioFiles: "オーディオファイル", browseFiles: "ファイルを参照", dropArea: "ドロップエリア", dropFiles: "ファイルをドロップしてアップロード | ファイルをドロップしてアップロード", fileExceedsSizeLimit: "ファイルがサイズ制限を超えています", imageFiles: "画像ファイル", noFilesUploaded: "ファイルはアップロードされていません", tooManyFiles: "ファイルが多すぎます", videoFiles: "ビデオファイル", youHaveExceededTheMaximum: "ファイル{count}件の最大制限を超えました。続行する前にいくつかのファイルを削除してください。" },
1640
+ "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." },
1641
+ "zh-CN": { audioFiles: "音频文件", browseFiles: "浏览文件", dropArea: "拖放区", dropFiles: "拖放文件以上传 | 拖放文件以上传", fileExceedsSizeLimit: "文件大小超过限制", imageFiles: "图像文件", noFilesUploaded: "未上传文件", tooManyFiles: "文件过多", videoFiles: "视频文件", youHaveExceededTheMaximum: "已超出 {count} 个文件的上限数量。请在继续之前移除一些文件。" }
1929
1642
  };
1930
1643
  function Ra(t) {
1931
- return t.includes("/") ? `.${Li.getExtension(t).toUpperCase()}` : t.toUpperCase();
1644
+ return t.includes("/") ? `.${Si.getExtension(t).toUpperCase()}` : t.toUpperCase();
1932
1645
  }
1933
1646
  function Ia(t) {
1934
- const { locale: i, t: a } = Y();
1935
- return { supportedFileTypeList: d(() => {
1936
- const n = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1937
- return t != null && t.value ? n.format(
1647
+ const { locale: i, t: a } = G();
1648
+ return { supportedFileTypeList: s(() => {
1649
+ const o = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1650
+ return t?.value ? o.format(
1938
1651
  t.value.split(",").map((r) => {
1939
1652
  switch (r.trim()) {
1940
1653
  case "audio/*":
@@ -1951,43 +1664,43 @@ function Ia(t) {
1951
1664
  }) };
1952
1665
  }
1953
1666
  function Sa(t) {
1954
- return Li.getType(t) ?? t;
1667
+ return Si.getType(t) ?? t;
1955
1668
  }
1956
1669
  function La({ maxCount: t, accept: i }) {
1957
- const a = ni({
1670
+ const a = oi({
1958
1671
  invalidTypes: !1,
1959
1672
  partiallyInvalidTypes: !1,
1960
1673
  maxCountOverflow: !1
1961
- }), e = ni({
1674
+ }), e = oi({
1962
1675
  dragging: !1,
1963
1676
  error: !1
1964
- }), n = d(() => i.value ? i.value.split(",").map((c) => Sa(c.trim().toLocaleLowerCase())) : void 0);
1677
+ }), o = s(() => i.value ? i.value.split(",").map((p) => Sa(p.trim().toLocaleLowerCase())) : void 0);
1965
1678
  function r() {
1966
1679
  e.dragging = !1, e.error = !1, a.invalidTypes = !1, a.partiallyInvalidTypes = !1, a.maxCountOverflow = !1;
1967
1680
  }
1968
- function l(p, c) {
1969
- if (e.dragging = !0, (!c.dataTransfer.types.includes("Files") || p > t.value) && (a.maxCountOverflow = !0, e.error = !0), !n.value)
1681
+ function u(l, p) {
1682
+ if (e.dragging = !0, (!p.dataTransfer.types.includes("Files") || l > t.value) && (a.maxCountOverflow = !0, e.error = !0), !o.value)
1970
1683
  return;
1971
- let g = 0;
1972
- for (const k of c.dataTransfer.items)
1973
- n.value.includes(k.type) && g++;
1974
- if (g === 0) {
1684
+ let f = 0;
1685
+ for (const k of p.dataTransfer.items)
1686
+ o.value.includes(k.type) && f++;
1687
+ if (f === 0) {
1975
1688
  e.error = !0, a.invalidTypes = !0;
1976
1689
  return;
1977
1690
  }
1978
- !a.invalidTypes && g !== c.dataTransfer.items.length && (e.error = !0, a.partiallyInvalidTypes = !0);
1691
+ !a.invalidTypes && f !== p.dataTransfer.items.length && (e.error = !0, a.partiallyInvalidTypes = !0);
1979
1692
  }
1980
1693
  return {
1981
1694
  dragState: e,
1982
1695
  dragErrors: a,
1983
1696
  resetDragState: r,
1984
- onDragEnterValidations: l
1697
+ onDragEnterValidations: u
1985
1698
  };
1986
1699
  }
1987
1700
  const ja = {
1988
1701
  model: { prop: "modelValue" },
1989
1702
  i18n: { messages: Ta }
1990
- }, Da = /* @__PURE__ */ G({
1703
+ }, Da = /* @__PURE__ */ W({
1991
1704
  ...ja,
1992
1705
  __name: "file-uploader",
1993
1706
  props: {
@@ -2009,204 +1722,178 @@ const ja = {
2009
1722
  },
2010
1723
  emits: ["change", "input", "update:model-value", "error:upload"],
2011
1724
  setup(t, { emit: i }) {
2012
- const a = t, { t: e, tc: n, n: r } = Y(), { emitValue: l } = Ni(i);
2013
- function p(o) {
2014
- return !!o && typeof o.length == "number" && typeof o.item == "function";
1725
+ const a = t, { t: e, tc: o, n: r } = G(), { emitValue: u } = Ni(i);
1726
+ function l(n) {
1727
+ return !!n && typeof n.length == "number" && typeof n.item == "function";
2015
1728
  }
2016
- ki(() => {
2017
- p(a.modelValue) || Zi(
1729
+ Fi(() => {
1730
+ l(a.modelValue) || Zi(
2018
1731
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
2019
1732
  "Use FileList instead.",
2020
1733
  "2.0.0"
2021
1734
  );
2022
1735
  });
2023
- const { supportedFileTypeList: c } = Ia(ti(a, "accept")), g = _("browse-button"), k = _("custom-text"), S = _("drop-files-text"), x = _("comma-text"), w = _("file-uploader-restrictions"), F = _("field-label"), m = y(null), E = y([]), L = y(null), A = y(null), X = _("input"), J = _("input-error"), V = d(() => {
2024
- const o = a.label ? `${F} ${x}` : "", s = a.condensed ? "" : `${S} ${x}`, v = a.description ? `${k} ${x}` : "", f = `${w} ${x}`;
2025
- return `${o} ${s} ${v} ${f} ${g}`;
1736
+ const { supportedFileTypeList: p } = Ia(ai(a, "accept")), f = b("browse-button"), k = b("custom-text"), S = b("drop-files-text"), v = b("comma-text"), y = b("file-uploader-restrictions"), z = b("field-label"), c = _(null), E = _([]), L = _(null), A = _(null), Y = b("input"), X = b("input-error"), V = s(() => {
1737
+ const n = a.label ? `${z} ${v}` : "", m = a.condensed ? "" : `${S} ${v}`, x = a.description ? `${k} ${v}` : "", F = `${y} ${v}`;
1738
+ return `${n} ${m} ${x} ${F} ${f}`;
2026
1739
  }), { dragState: M, dragErrors: T, resetDragState: R, onDragEnterValidations: $ } = La({
2027
- accept: ti(a, "accept"),
2028
- maxCount: ti(a, "maxCount")
2029
- }), K = d(() => {
2030
- var o, s, v;
2031
- return {
2032
- condensed: a.condensed,
2033
- disabled: a.disabled,
2034
- maxCount: B.value ? {
2035
- value: a.maxCount,
2036
- error: T.maxCountOverflow || ri.value
2037
- } : null,
2038
- maxDimensions: a.maxDimensions ? {
2039
- value: a.maxDimensions,
2040
- error: (o = m.value) == null ? void 0 : o.some((f) => f.errors.includes(h.ERROR_DIMENSIONS))
2041
- } : null,
2042
- maxSize: a.maxSize ? {
2043
- value: a.maxSize,
2044
- error: (s = m.value) == null ? void 0 : s.some((f) => f.errors.includes(h.ERROR_SIZE))
2045
- } : null,
2046
- supportedFileTypes: c.value ? {
2047
- value: c.value,
2048
- error: T.invalidTypes || T.partiallyInvalidTypes || ((v = m.value) == null ? void 0 : v.some((f) => f.errors.includes(h.ERROR_TYPE)))
2049
- } : null
2050
- };
2051
- }), j = y(), Q = d(() => ({
2052
- [`b-file-uploader--${W.DISABLED}`]: a.disabled,
2053
- [`b-file-uploader--${W.DRAG_OVER}`]: M.dragging,
2054
- [`b-file-uploader--${W.ERROR}`]: pi.value,
1740
+ accept: ai(a, "accept"),
1741
+ maxCount: ai(a, "maxCount")
1742
+ }), J = s(() => ({
1743
+ condensed: a.condensed,
1744
+ disabled: a.disabled,
1745
+ maxCount: B.value ? {
1746
+ value: a.maxCount,
1747
+ error: T.maxCountOverflow || pi.value
1748
+ } : null,
1749
+ maxDimensions: a.maxDimensions ? {
1750
+ value: a.maxDimensions,
1751
+ error: c.value?.some((n) => n.errors.includes(g.ERROR_DIMENSIONS))
1752
+ } : null,
1753
+ maxSize: a.maxSize ? {
1754
+ value: a.maxSize,
1755
+ error: c.value?.some((n) => n.errors.includes(g.ERROR_SIZE))
1756
+ } : null,
1757
+ supportedFileTypes: p.value ? {
1758
+ value: p.value,
1759
+ error: T.invalidTypes || T.partiallyInvalidTypes || c.value?.some((n) => n.errors.includes(g.ERROR_TYPE))
1760
+ } : null
1761
+ })), j = _(), K = s(() => ({
1762
+ [`b-file-uploader--${P.DISABLED}`]: a.disabled,
1763
+ [`b-file-uploader--${P.DRAG_OVER}`]: M.dragging,
1764
+ [`b-file-uploader--${P.ERROR}`]: si.value,
2055
1765
  "b-file-uploader--condensed": a.condensed
2056
- })), B = d(() => a.maxCount > 1), O = d(() => {
2057
- var o;
2058
- return a.maxCount && ((o = m.value) == null ? void 0 : o.length) >= a.maxCount || a.readonly;
2059
- }), U = d(() => {
2060
- var o;
2061
- return (o = m.value) == null ? void 0 : o.some((s) => s.state === "loading");
2062
- }), ii = (o) => (s) => {
2063
- E.value[o] = s;
1766
+ })), B = s(() => a.maxCount > 1), O = s(() => a.maxCount && c.value?.length >= a.maxCount || a.readonly), U = s(() => c.value?.some((n) => n.state === "loading")), Q = (n) => (m) => {
1767
+ E.value[n] = m;
2064
1768
  };
2065
- function ei(o) {
2066
- if (o) {
2067
- mi(o), ui(o);
2068
- const s = vi(o);
2069
- i("change", s), l(s);
1769
+ function ii(n) {
1770
+ if (n) {
1771
+ di(n), mi(n);
1772
+ const m = ui(n);
1773
+ i("change", m), u(m);
2070
1774
  } else
2071
- i("change", void 0), l(void 0);
1775
+ i("change", void 0), u(void 0);
2072
1776
  }
2073
- const pi = d(() => !!a.errorMessage || M.error), ri = d(() => {
2074
- var o;
2075
- return ((o = m.value) == null ? void 0 : o.length) > a.maxCount;
2076
- }), ci = y(!1), di = d(() => {
2077
- var o;
2078
- return (o = m.value) == null ? void 0 : o.some((s) => s.state === "error");
2079
- });
2080
- oi(di, (o) => {
2081
- U.value || i("error:upload", o);
1777
+ const si = s(() => !!a.errorMessage || M.error), pi = s(() => c.value?.length > a.maxCount), ri = _(!1), ci = s(() => c.value?.some((n) => n.state === "error"));
1778
+ ti(ci, (n) => {
1779
+ U.value || i("error:upload", n);
2082
1780
  });
2083
1781
  async function q() {
2084
- var o;
2085
- if (await Ui(), m.value.length === a.maxCount) {
2086
- (o = E.value[0]) == null || o.focus();
1782
+ if (await Ui(), c.value.length === a.maxCount) {
1783
+ E.value[0]?.focus();
2087
1784
  return;
2088
1785
  }
2089
1786
  A.value.focus();
2090
1787
  }
2091
- async function ji(o) {
2092
- m.value = m.value.filter(({ id: s }) => s !== o.id), await q(), ei(m.value);
1788
+ async function Li(n) {
1789
+ c.value = c.value.filter(({ id: m }) => m !== n.id), await q(), ii(c.value);
2093
1790
  }
2094
- function Z(o) {
2095
- const s = ni({
2096
- id: _("file"),
2097
- data: o,
1791
+ function Z(n) {
1792
+ const m = oi({
1793
+ id: b("file"),
1794
+ data: n,
2098
1795
  errors: [],
2099
1796
  progress: null,
2100
- state: z.LOADING,
2101
- type: ge(o)
1797
+ state: C.LOADING,
1798
+ type: ge(n)
2102
1799
  });
2103
- return he(s, a.accept, a.maxDimensions), s;
1800
+ return he(m, a.accept, a.maxDimensions), m;
2104
1801
  }
2105
- function Di(o) {
2106
- var s;
2107
- ((s = m.value) == null ? void 0 : s.length) === a.maxCount && o.preventDefault();
1802
+ function ji(n) {
1803
+ c.value?.length === a.maxCount && n.preventDefault();
2108
1804
  }
2109
- async function ai(o) {
2110
- if (a.maxCount === 1 && o.length > a.maxCount) {
1805
+ async function ei(n) {
1806
+ if (a.maxCount === 1 && n.length > a.maxCount) {
2111
1807
  N(), R();
2112
1808
  return;
2113
1809
  }
2114
- B.value ? m.value = [...m.value || [], ...Array.from(o).map((s) => Z(s))] : (m.value = [Z(o[0])], await q()), ei(m.value);
1810
+ B.value ? c.value = [...c.value || [], ...Array.from(n).map((m) => Z(m))] : (c.value = [Z(n[0])], await q()), ii(c.value);
2115
1811
  }
2116
- function Mi(o) {
2117
- var v, f;
1812
+ function Di(n) {
2118
1813
  if (a.disabled)
2119
1814
  return;
2120
- j.value = o.target;
2121
- const s = (((v = o.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((f = m.value) == null ? void 0 : f.length) ?? 0);
2122
- $(s, o);
1815
+ j.value = n.target;
1816
+ const m = (n.dataTransfer.items?.length ?? 0) + (c.value?.length ?? 0);
1817
+ $(m, n);
2123
1818
  }
2124
1819
  function N() {
2125
1820
  j.value = null;
2126
1821
  }
2127
- function $i(o) {
2128
- j.value === o.target && (N(), R());
1822
+ function Mi(n) {
1823
+ j.value === n.target && (N(), R());
2129
1824
  }
2130
- function Bi(o) {
2131
- o.preventDefault(), a.disabled && (o.dataTransfer.dropEffect = "none");
1825
+ function $i(n) {
1826
+ n.preventDefault(), a.disabled && (n.dataTransfer.dropEffect = "none");
2132
1827
  }
2133
- async function Hi(o) {
2134
- var s;
2135
- a.disabled || (!T.invalidTypes && ((s = o.dataTransfer.files) != null && s.length) && ai(o.dataTransfer.files), N(), R());
1828
+ async function Bi(n) {
1829
+ a.disabled || (!T.invalidTypes && n.dataTransfer.files?.length && ei(n.dataTransfer.files), N(), R());
2136
1830
  }
2137
- async function Ai() {
2138
- var o;
2139
- (o = L.value.files) != null && o.length && ai(L.value.files), L.value.value = "", await q();
1831
+ async function Hi() {
1832
+ L.value.files?.length && ei(L.value.files), L.value.value = "", await q();
2140
1833
  }
2141
- oi(
1834
+ ti(
2142
1835
  () => a.modelValue,
2143
- (o) => {
2144
- if (o && p(o)) {
2145
- const v = Array.from(o);
2146
- m.value = v.map((f) => Z(f));
2147
- } else !o && m.value && (m.value = null);
1836
+ (n) => {
1837
+ if (n && l(n)) {
1838
+ const x = Array.from(n);
1839
+ c.value = x.map((F) => Z(F));
1840
+ } else !n && c.value && (c.value = null);
2148
1841
  },
2149
1842
  { immediate: !0 }
2150
1843
  );
2151
- function mi(o) {
2152
- const s = a.maxCount && o.length <= a.maxCount;
2153
- ci.value = !s;
1844
+ function di(n) {
1845
+ const m = a.maxCount && n.length <= a.maxCount;
1846
+ ri.value = !m;
2154
1847
  }
2155
- function ui(o) {
2156
- a.maxSize && o.forEach((s) => {
2157
- const v = s;
2158
- let f;
2159
- if (Array.isArray(a.maxSize)) {
2160
- const P = a.maxSize.find(
2161
- (Vi) => Ri(v.data, Vi.fileType)
2162
- );
2163
- f = P == null ? void 0 : P.maxSize;
2164
- } else
2165
- f = a.maxSize;
2166
- f && v.data.size > f && (v.state = z.ERROR, v.errors.includes(h.ERROR_SIZE) || v.errors.push(h.ERROR_SIZE));
1848
+ function mi(n) {
1849
+ a.maxSize && n.forEach((m) => {
1850
+ const x = m;
1851
+ let F;
1852
+ Array.isArray(a.maxSize) ? F = a.maxSize.find(
1853
+ (Vi) => Ti(x.data, Vi.fileType)
1854
+ )?.maxSize : F = a.maxSize, F && x.data.size > F && (x.state = C.ERROR, x.errors.includes(g.ERROR_SIZE) || x.errors.push(g.ERROR_SIZE));
2167
1855
  });
2168
1856
  }
2169
- function vi(o) {
2170
- const s = o.filter(
2171
- ({ errors: v }) => !v.includes(h.ERROR_LOAD) && !v.includes(h.ERROR_SIZE)
1857
+ function ui(n) {
1858
+ const m = n.filter(
1859
+ ({ errors: x }) => !x.includes(g.ERROR_LOAD) && !x.includes(g.ERROR_SIZE)
2172
1860
  );
2173
- if (s.length) {
2174
- const v = new DataTransfer();
2175
- return s.forEach(({ data: f, id: P }) => {
2176
- v.items.add(f);
2177
- }), v.files;
1861
+ if (m.length) {
1862
+ const x = new DataTransfer();
1863
+ return m.forEach(({ data: F, id: Ai }) => {
1864
+ x.items.add(F);
1865
+ }), x.files;
2178
1866
  }
2179
1867
  }
2180
- return { __sfc: !0, t: e, tc: n, n: r, emit: i, props: a, emitValue: l, isFileList: p, supportedFileTypeList: c, browseFilesButtonId: g, customTextId: k, dropFilesTextId: S, commaTextId: x, fileUploaderRestrictionsId: w, fieldLabelId: F, files: m, fileCardRefs: E, inputRef: L, dropAreaRef: A, inputFieldId: X, errorId: J, fileUploadAriaLabelledBy: V, dragState: M, dragErrors: T, resetDragState: R, onDragEnterValidations: $, fileUploadRestrictionsProps: K, enterTarget: j, conditionalClasses: Q, isMultiple: B, hideArea: O, loadingStateExists: U, registerFileCardRef: ii, emitUpdate: ei, hasError: pi, maxFileCountError: ri, maxFileError: ci, hasRestrictionError: di, resetFocus: q, removeFile: ji, processFile: Z, onInputClick: Di, onFileInput: ai, onDragEnter: Mi, resetEnterTarget: N, onDragLeave: $i, onDragOver: Bi, onDrop: Hi, onInputChange: Ai, verifyFileCount: mi, verifyFileSize: ui, convertToFileList: vi, UploadIcon: le, WarningFilledIcon: Ei, BentoAlert: qi, BentoTypography: si, ErrorMessage: ee, FieldLabel: ie, FileUploaderFileCard: ba, FileUploaderRestrictions: ka };
1868
+ return { __sfc: !0, t: e, tc: o, n: r, emit: i, props: a, emitValue: u, isFileList: l, supportedFileTypeList: p, browseFilesButtonId: f, customTextId: k, dropFilesTextId: S, commaTextId: v, fileUploaderRestrictionsId: y, fieldLabelId: z, files: c, fileCardRefs: E, inputRef: L, dropAreaRef: A, inputFieldId: Y, errorId: X, fileUploadAriaLabelledBy: V, dragState: M, dragErrors: T, resetDragState: R, onDragEnterValidations: $, fileUploadRestrictionsProps: J, enterTarget: j, conditionalClasses: K, isMultiple: B, hideArea: O, loadingStateExists: U, registerFileCardRef: Q, emitUpdate: ii, hasError: si, maxFileCountError: pi, maxFileError: ri, hasRestrictionError: ci, resetFocus: q, removeFile: Li, processFile: Z, onInputClick: ji, onFileInput: ei, onDragEnter: Di, resetEnterTarget: N, onDragLeave: Mi, onDragOver: $i, onDrop: Bi, onInputChange: Hi, verifyFileCount: di, verifyFileSize: mi, convertToFileList: ui, UploadIcon: le, WarningFilledIcon: ki, BentoAlert: qi, BentoTypography: li, ErrorMessage: ee, FieldLabel: ie, FileUploaderFileCard: ba, FileUploaderRestrictions: ka };
2181
1869
  }
2182
1870
  });
2183
1871
  var Ma = function() {
2184
- var n, r;
2185
1872
  var i = this, a = i._self._c, e = i._self._setupProxy;
2186
- return a("div", { staticClass: "b-file-uploader", class: e.conditionalClasses }, [a(e.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { id: e.fieldLabelId, for: e.inputFieldId, label: i.label, optional: i.optional, required: i.required, "tooltip-text": i.tooltipText } }), a("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: e.inputFieldId, "aria-required": i.required, type: "file", tabindex: "-1", "data-testid": "input", accept: i.accept, disabled: i.disabled, multiple: e.isMultiple }, on: { change: e.onInputChange, click: e.onInputClick, invalid: function(l) {
2187
- l.preventDefault();
2188
- } } }), a("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: e.commaTextId, "aria-hidden": "true" } }, [i._v(" , ")]), e.hideArea ? i._e() : a("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": e.fileUploadAriaLabelledBy, role: "button", "aria-disabled": i.disabled, tabindex: i.disabled ? -1 : 0 }, on: { click: function(l) {
1873
+ return a("div", { staticClass: "b-file-uploader", class: e.conditionalClasses }, [a(e.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { id: e.fieldLabelId, for: e.inputFieldId, label: i.label, optional: i.optional, required: i.required, "tooltip-text": i.tooltipText } }), a("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: e.inputFieldId, "aria-required": i.required, type: "file", tabindex: "-1", "data-testid": "input", accept: i.accept, disabled: i.disabled, multiple: e.isMultiple }, on: { change: e.onInputChange, click: e.onInputClick, invalid: function(o) {
1874
+ o.preventDefault();
1875
+ } } }), a("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: e.commaTextId, "aria-hidden": "true" } }, [i._v(" , ")]), e.hideArea ? i._e() : a("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": e.fileUploadAriaLabelledBy, role: "button", "aria-disabled": i.disabled, tabindex: i.disabled ? -1 : 0 }, on: { click: function(o) {
2189
1876
  return e.inputRef.click();
2190
- }, dragenter: function(l) {
2191
- return l.stopPropagation(), l.preventDefault(), e.onDragEnter.apply(null, arguments);
2192
- }, dragleave: function(l) {
2193
- return l.stopPropagation(), l.preventDefault(), e.onDragLeave.apply(null, arguments);
2194
- }, drop: function(l) {
2195
- return l.stopPropagation(), l.preventDefault(), e.onDrop.apply(null, arguments);
2196
- }, dragover: e.onDragOver, "!keydown": [function(l) {
2197
- return !l.type.indexOf("key") && i._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : (l.preventDefault(), e.inputRef.click());
2198
- }, function(l) {
2199
- return !l.type.indexOf("key") && i._k(l.keyCode, "space", 32, l.key, [" ", "Spacebar"]) ? null : (l.preventDefault(), e.inputRef.click());
1877
+ }, dragenter: function(o) {
1878
+ return o.stopPropagation(), o.preventDefault(), e.onDragEnter.apply(null, arguments);
1879
+ }, dragleave: function(o) {
1880
+ return o.stopPropagation(), o.preventDefault(), e.onDragLeave.apply(null, arguments);
1881
+ }, drop: function(o) {
1882
+ return o.stopPropagation(), o.preventDefault(), e.onDrop.apply(null, arguments);
1883
+ }, dragover: e.onDragOver, "!keydown": [function(o) {
1884
+ return !o.type.indexOf("key") && i._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : (o.preventDefault(), e.inputRef.click());
1885
+ }, function(o) {
1886
+ return !o.type.indexOf("key") && i._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), e.inputRef.click());
2200
1887
  }] } }, [a("div", { staticClass: "b-file-uploader__icon", attrs: { "aria-hidden": "true" } }, [e.hasError ? a(e.WarningFilledIcon) : a(e.UploadIcon)], 1), i.condensed ? i._e() : [a(e.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { id: e.dropFilesTextId, el: "span", strongest: "" } }, [i._v(" " + i._s(e.tc("dropFiles", i.maxCount)) + " ")]), i.description ? a(e.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { id: e.customTextId, el: "span" } }, [i._v(" " + i._s(i.description) + " ")]) : i._e(), a(e.FileUploaderRestrictions, i._b({ attrs: { id: e.fileUploaderRestrictionsId } }, "file-uploader-restrictions", e.fileUploadRestrictionsProps, !1))], a(e.BentoTypography, { staticClass: "b-file-uploader__button", attrs: { id: e.browseFilesButtonId, stronger: "" } }, [i._v(" " + i._s(e.t("browseFiles")) + " ")])], 2), e.hasError && i.errorMessage ? a(e.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: e.errorId, "error-message": i.errorMessage } }) : i._e(), i.condensed && i.description ? a(e.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { id: e.customTextId, "aria-hidden": "true", el: "span" } }, [i._v(" " + i._s(i.description) + " ")]) : i._e(), i.condensed ? a(e.FileUploaderRestrictions, i._b({ attrs: { id: e.fileUploaderRestrictionsId } }, "file-uploader-restrictions", e.fileUploadRestrictionsProps, !1)) : i._e(), e.maxFileCountError ? a(e.BentoAlert, { attrs: { type: "critical" }, scopedSlots: i._u([{ key: "description", fn: function() {
2201
1888
  return [i._v(" " + i._s(e.t("youHaveExceededTheMaximum", { count: e.n(e.props.maxCount) })) + " ")];
2202
- }, proxy: !0 }], null, !1, 2252760379) }, [i._v(" " + i._s(e.t("tooManyFiles")) + " ")]) : i._e(), a("div", { directives: [{ name: "show", rawName: "v-show", value: (n = e.files) == null ? void 0 : n.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, i._l(e.files, function(l, p) {
2203
- return a(e.FileUploaderFileCard, { key: l.id, ref: e.registerFileCardRef(p), refInFor: !0, attrs: { file: l, "supported-file-types": e.supportedFileTypeList, readonly: i.readonly }, on: { cancel: function(c) {
2204
- return e.removeFile(l);
2205
- }, remove: function(c) {
2206
- return e.removeFile(l);
1889
+ }, proxy: !0 }], null, !1, 2252760379) }, [i._v(" " + i._s(e.t("tooManyFiles")) + " ")]) : i._e(), a("div", { directives: [{ name: "show", rawName: "v-show", value: e.files?.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, i._l(e.files, function(o, r) {
1890
+ return a(e.FileUploaderFileCard, { key: o.id, ref: e.registerFileCardRef(r), refInFor: !0, attrs: { file: o, "supported-file-types": e.supportedFileTypeList, readonly: i.readonly }, on: { cancel: function(u) {
1891
+ return e.removeFile(o);
1892
+ }, remove: function(u) {
1893
+ return e.removeFile(o);
2207
1894
  } } });
2208
- }), 1), !((r = e.files) != null && r.length) && i.readonly ? a(e.BentoTypography, { staticClass: "b-file-uploader__no-files", attrs: { wide: "" } }, [i._v(i._s(e.t("noFilesUploaded")))]) : i._e()], 1);
2209
- }, $a = [], Ba = /* @__PURE__ */ b(
1895
+ }), 1), !e.files?.length && i.readonly ? a(e.BentoTypography, { staticClass: "b-file-uploader__no-files", attrs: { wide: "" } }, [i._v(i._s(e.t("noFilesUploaded")))]) : i._e()], 1);
1896
+ }, $a = [], Ba = /* @__PURE__ */ h(
2210
1897
  Da,
2211
1898
  Ma,
2212
1899
  $a,
@@ -2218,4 +1905,4 @@ const tt = Ba.exports;
2218
1905
  export {
2219
1906
  tt as f
2220
1907
  };
2221
- //# sourceMappingURL=file-uploader.2rIfQ2jb.js.map
1908
+ //# sourceMappingURL=file-uploader.BG89SLkG.js.map