@adyen/bento-vue2 1.89.2 → 1.90.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 (255) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +198 -80
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/card.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-range-picker.css +1 -1
  15. package/dist/assets/dialog-page.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/input-time.css +1 -0
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/secondary-nav.css +1 -1
  21. package/dist/assets/sidepanel.css +1 -1
  22. package/dist/button.js +3 -3
  23. package/dist/card.js +1 -1
  24. package/dist/checkbox.js +2 -2
  25. package/dist/chip.js +1 -1
  26. package/dist/chunks/accordion-item.D0WVCLec.js +145 -0
  27. package/dist/chunks/{accordion-item.BZDSJamR.js.map → accordion-item.D0WVCLec.js.map} +1 -1
  28. package/dist/chunks/action-bar.B63qIiiH.js +334 -0
  29. package/dist/chunks/{action-bar.CYGUYI0V.js.map → action-bar.B63qIiiH.js.map} +1 -1
  30. package/dist/chunks/{ai-button.CR_ePQRR.js → ai-button.7L9bANlk.js} +2 -2
  31. package/dist/chunks/{ai-button.CR_ePQRR.js.map → ai-button.7L9bANlk.js.map} +1 -1
  32. package/dist/chunks/ai-tag.CCJCOdXu.js +110 -0
  33. package/dist/chunks/{ai-tag.Cjf38mjR.js.map → ai-tag.CCJCOdXu.js.map} +1 -1
  34. package/dist/chunks/alert.CXRb-Smf.js +160 -0
  35. package/dist/chunks/{alert.QVQ6Zjbm.js.map → alert.CXRb-Smf.js.map} +1 -1
  36. package/dist/chunks/{anchor-scroller.CjJ26PJS.js → anchor-scroller.DWaykZQj.js} +66 -39
  37. package/dist/chunks/{anchor-scroller.CjJ26PJS.js.map → anchor-scroller.DWaykZQj.js.map} +1 -1
  38. package/dist/chunks/{base-modal.DmWkavtf.js → base-modal.DpmeDmq-.js} +103 -66
  39. package/dist/chunks/{base-modal.DmWkavtf.js.map → base-modal.DpmeDmq-.js.map} +1 -1
  40. package/dist/chunks/{button-actions-with-menu.Bi_HXopk.js → button-actions-with-menu.ChTUOsZl.js} +2 -2
  41. package/dist/chunks/{button-actions-with-menu.Bi_HXopk.js.map → button-actions-with-menu.ChTUOsZl.js.map} +1 -1
  42. package/dist/chunks/{button-actions.BLk114As.js → button-actions.BmU1DngD.js} +221 -147
  43. package/dist/chunks/{button-actions.BLk114As.js.map → button-actions.BmU1DngD.js.map} +1 -1
  44. package/dist/chunks/{button.DxhJNOtr.js → button.C9b2AC9w.js} +2 -2
  45. package/dist/chunks/{button.DxhJNOtr.js.map → button.C9b2AC9w.js.map} +1 -1
  46. package/dist/chunks/{calendar.CXKhBF2f.js → calendar.uvIGF_jU.js} +283 -209
  47. package/dist/chunks/{calendar.CXKhBF2f.js.map → calendar.uvIGF_jU.js.map} +1 -1
  48. package/dist/chunks/card.WWUfBkqf.js +165 -0
  49. package/dist/chunks/{card.GjhsXOT0.js.map → card.WWUfBkqf.js.map} +1 -1
  50. package/dist/chunks/{checkbox-group.B2BjU3ZN.js → checkbox-group.CI0xDnql.js} +4 -4
  51. package/dist/chunks/{checkbox-group.B2BjU3ZN.js.map → checkbox-group.CI0xDnql.js.map} +1 -1
  52. package/dist/chunks/{checkbox.CIv8WgGp.js → checkbox.TsWA6O3Z.js} +93 -56
  53. package/dist/chunks/{checkbox.CIv8WgGp.js.map → checkbox.TsWA6O3Z.js.map} +1 -1
  54. package/dist/chunks/chip.BFY_-VCz.js +84 -0
  55. package/dist/chunks/{chip.DTpENaGC.js.map → chip.BFY_-VCz.js.map} +1 -1
  56. package/dist/chunks/{code-snippet.YIm2oO_o.js → code-snippet.4DX9iUV8.js} +133 -76
  57. package/dist/chunks/{code-snippet.YIm2oO_o.js.map → code-snippet.4DX9iUV8.js.map} +1 -1
  58. package/dist/chunks/{controls-group.CqotnNEF.js → controls-group.D_KE99mg.js} +2 -2
  59. package/dist/chunks/{controls-group.CqotnNEF.js.map → controls-group.D_KE99mg.js.map} +1 -1
  60. package/dist/chunks/copy.qqGYFbKJ.js +133 -0
  61. package/dist/chunks/{copy.BVGQcf22.js.map → copy.qqGYFbKJ.js.map} +1 -1
  62. package/dist/chunks/{country.D20NCLLG.js → country.BEwW8TQo.js} +3 -3
  63. package/dist/chunks/{country.D20NCLLG.js.map → country.BEwW8TQo.js.map} +1 -1
  64. package/dist/chunks/country.types.jjXwaoMl.js +2537 -0
  65. package/dist/chunks/country.types.jjXwaoMl.js.map +1 -0
  66. package/dist/chunks/{dashboard-section.BubZyu8i.js → dashboard-section.TWlLdQHG.js} +3 -3
  67. package/dist/chunks/{dashboard-section.BubZyu8i.js.map → dashboard-section.TWlLdQHG.js.map} +1 -1
  68. package/dist/chunks/{dashed-underline.pjYTS0m1.js → dashed-underline.CpDuQ3Fo.js} +3 -3
  69. package/dist/chunks/{dashed-underline.pjYTS0m1.js.map → dashed-underline.CpDuQ3Fo.js.map} +1 -1
  70. package/dist/chunks/{data-grid-template.D8RhngPj.js → data-grid-template.DZaE-kOS.js} +4 -4
  71. package/dist/chunks/{data-grid-template.D8RhngPj.js.map → data-grid-template.DZaE-kOS.js.map} +1 -1
  72. package/dist/chunks/data-grid.x6cEW0az.js +4069 -0
  73. package/dist/chunks/data-grid.x6cEW0az.js.map +1 -0
  74. package/dist/chunks/date-picker.Dln8ocL4.js +222 -0
  75. package/dist/chunks/{date-picker.CnazYcSX.js.map → date-picker.Dln8ocL4.js.map} +1 -1
  76. package/dist/chunks/date-range-picker.DPGy2h-9.js +1068 -0
  77. package/dist/chunks/date-range-picker.DPGy2h-9.js.map +1 -0
  78. package/dist/chunks/dialog-page.EdejG53a.js +143 -0
  79. package/dist/chunks/{dialog-page.oyG153fC.js.map → dialog-page.EdejG53a.js.map} +1 -1
  80. package/dist/chunks/{dropdown-default-textbox.Dvzg0StF.js → dropdown-default-textbox.CjhLIxVq.js} +63 -36
  81. package/dist/chunks/{dropdown-default-textbox.Dvzg0StF.js.map → dropdown-default-textbox.CjhLIxVq.js.map} +1 -1
  82. package/dist/chunks/{dropdown-tag.BRB-emd1.js → dropdown-tag.t3FlJUSy.js} +5 -5
  83. package/dist/chunks/{dropdown-tag.BRB-emd1.js.map → dropdown-tag.t3FlJUSy.js.map} +1 -1
  84. package/dist/chunks/{dropdown.Ct7uhPr6.js → dropdown.CvNI2V33.js} +329 -235
  85. package/dist/chunks/{dropdown.Ct7uhPr6.js.map → dropdown.CvNI2V33.js.map} +1 -1
  86. package/dist/chunks/{empty-state.D_Ac-XXH.js → empty-state.DMV23IZy.js} +2 -2
  87. package/dist/chunks/{empty-state.D_Ac-XXH.js.map → empty-state.DMV23IZy.js.map} +1 -1
  88. package/dist/chunks/error-message.BUNKRa_w.js +160 -0
  89. package/dist/chunks/{error-message.RxdStT3S.js.map → error-message.BUNKRa_w.js.map} +1 -1
  90. package/dist/chunks/{file-uploader.D5Rjsx4k.js → file-uploader.Cig5gDXT.js} +749 -468
  91. package/dist/chunks/{file-uploader.D5Rjsx4k.js.map → file-uploader.Cig5gDXT.js.map} +1 -1
  92. package/dist/chunks/{filter-bar.zD_ctViU.js → filter-bar.x445KK3y.js} +1301 -761
  93. package/dist/chunks/{filter-bar.zD_ctViU.js.map → filter-bar.x445KK3y.js.map} +1 -1
  94. package/dist/chunks/fixed-scroller.DR2E_No4.js +148 -0
  95. package/dist/chunks/{fixed-scroller.MerESbd_.js.map → fixed-scroller.DR2E_No4.js.map} +1 -1
  96. package/dist/chunks/{footer-actions.CiPj7hZG.js → footer-actions.CIkul1OD.js} +3 -3
  97. package/dist/chunks/{footer-actions.CiPj7hZG.js.map → footer-actions.CIkul1OD.js.map} +1 -1
  98. package/dist/chunks/{form-layout-title.Bw7VgOO5.js → form-layout-title.DR5M7GP3.js} +77 -48
  99. package/dist/chunks/{form-layout-title.Bw7VgOO5.js.map → form-layout-title.DR5M7GP3.js.map} +1 -1
  100. package/dist/chunks/{header-meta.Dq6TlNPw.js → header-meta.BC5fdpD1.js} +127 -73
  101. package/dist/chunks/{header-meta.Dq6TlNPw.js.map → header-meta.BC5fdpD1.js.map} +1 -1
  102. package/dist/chunks/{header-with-views.DaEhkSS8.js → header-with-views.-cvdi9-L.js} +1120 -679
  103. package/dist/chunks/{header-with-views.DaEhkSS8.js.map → header-with-views.-cvdi9-L.js.map} +1 -1
  104. package/dist/chunks/{header.DkC-KKWa.js → header.DtmZjxiU.js} +3 -3
  105. package/dist/chunks/{header.DkC-KKWa.js.map → header.DtmZjxiU.js.map} +1 -1
  106. package/dist/chunks/{info-icon.BF8KxU-k.js → info-icon.DCR42Kvm.js} +2 -2
  107. package/dist/chunks/{info-icon.BF8KxU-k.js.map → info-icon.DCR42Kvm.js.map} +1 -1
  108. package/dist/chunks/input-field-password.Bdlw4dzr.js +381 -0
  109. package/dist/chunks/{input-field-password.BKT1mYUw.js.map → input-field-password.Bdlw4dzr.js.map} +1 -1
  110. package/dist/chunks/{input-field-phone-number.BjRKjQOQ.js → input-field-phone-number.DPuWxBBz.js} +98 -71
  111. package/dist/chunks/{input-field-phone-number.BjRKjQOQ.js.map → input-field-phone-number.DPuWxBBz.js.map} +1 -1
  112. package/dist/chunks/input-field.DH25CU_G.js +207 -0
  113. package/dist/chunks/{input-field.m1PMwa4C.js.map → input-field.DH25CU_G.js.map} +1 -1
  114. package/dist/chunks/input-time.6eJ4-QdU.js +92 -0
  115. package/dist/chunks/input-time.6eJ4-QdU.js.map +1 -0
  116. package/dist/chunks/inspector.BzBPlz-5.js +172 -0
  117. package/dist/chunks/{inspector.Bnm0hl_D.js.map → inspector.BzBPlz-5.js.map} +1 -1
  118. package/dist/chunks/{link.MhoM3zQj.js → link.DB5g6d48.js} +56 -29
  119. package/dist/chunks/{link.MhoM3zQj.js.map → link.DB5g6d48.js.map} +1 -1
  120. package/dist/chunks/{list-item.BnzU1LIu.js → list-item.DqTHh8-Z.js} +2 -2
  121. package/dist/chunks/{list-item.BnzU1LIu.js.map → list-item.DqTHh8-Z.js.map} +1 -1
  122. package/dist/chunks/{listbox-option-tag.BhPVuAjJ.js → listbox-option-tag.CvbE-EuG.js} +2 -2
  123. package/dist/chunks/{listbox-option-tag.BhPVuAjJ.js.map → listbox-option-tag.CvbE-EuG.js.map} +1 -1
  124. package/dist/chunks/{modal-fullscreen.CXOq6_Cv.js → modal-fullscreen.CaxuXW-H.js} +63 -36
  125. package/dist/chunks/{modal-fullscreen.CXOq6_Cv.js.map → modal-fullscreen.CaxuXW-H.js.map} +1 -1
  126. package/dist/chunks/{modal.o0KddMiG.js → modal.Brif0vAy.js} +63 -36
  127. package/dist/chunks/{modal.o0KddMiG.js.map → modal.Brif0vAy.js.map} +1 -1
  128. package/dist/chunks/{pagination.ZISqB4M_.js → pagination.BmrU_sn_.js} +221 -99
  129. package/dist/chunks/{pagination.ZISqB4M_.js.map → pagination.BmrU_sn_.js.map} +1 -1
  130. package/dist/chunks/promo-banner.Dc_kK1x9.js +91 -0
  131. package/dist/chunks/{promo-banner.Db2kh2qK.js.map → promo-banner.Dc_kK1x9.js.map} +1 -1
  132. package/dist/chunks/{radio-group.DnMy7brs.js → radio-group.5oS-AeYN.js} +4 -4
  133. package/dist/chunks/{radio-group.DnMy7brs.js.map → radio-group.5oS-AeYN.js.map} +1 -1
  134. package/dist/chunks/{rich-text-editor.Cbv1DxXn.js → rich-text-editor.DSGTe8Zt.js} +1781 -1731
  135. package/dist/chunks/{rich-text-editor.Cbv1DxXn.js.map → rich-text-editor.DSGTe8Zt.js.map} +1 -1
  136. package/dist/chunks/search-bar.CNfoeLLt.js +126 -0
  137. package/dist/chunks/{search-bar.DPjYDhja.js.map → search-bar.CNfoeLLt.js.map} +1 -1
  138. package/dist/chunks/secondary-nav.IF5CgeIP.js +226 -0
  139. package/dist/chunks/secondary-nav.IF5CgeIP.js.map +1 -0
  140. package/dist/chunks/{segmented-control.BqIiX9hv.js → segmented-control.DDtjX-V5.js} +2 -2
  141. package/dist/chunks/{segmented-control.BqIiX9hv.js.map → segmented-control.DDtjX-V5.js.map} +1 -1
  142. package/dist/chunks/{selection-card-group.IPiouuot.js → selection-card-group.DZjFeQKR.js} +10 -10
  143. package/dist/chunks/{selection-card-group.IPiouuot.js.map → selection-card-group.DZjFeQKR.js.map} +1 -1
  144. package/dist/chunks/{sidepanel.BGMjjB3F.js → sidepanel.DZDXuyzg.js} +66 -39
  145. package/dist/chunks/{sidepanel.BGMjjB3F.js.map → sidepanel.DZDXuyzg.js.map} +1 -1
  146. package/dist/chunks/{step.QFER3tSj.js → step.TDm_ts1S.js} +92 -63
  147. package/dist/chunks/{step.QFER3tSj.js.map → step.TDm_ts1S.js.map} +1 -1
  148. package/dist/chunks/{structured-list-item.BDJKRC_8.js → structured-list-item.BBBtie1s.js} +58 -31
  149. package/dist/chunks/{structured-list-item.BDJKRC_8.js.map → structured-list-item.BBBtie1s.js.map} +1 -1
  150. package/dist/chunks/{summary-grid.types.CIkArZf5.js → summary-grid.types.CrPNQbX0.js} +5 -5
  151. package/dist/chunks/{summary-grid.types.CIkArZf5.js.map → summary-grid.types.CrPNQbX0.js.map} +1 -1
  152. package/dist/chunks/{tab.CaXF0dho.js → tab.CNIZyfZt.js} +2 -2
  153. package/dist/chunks/{tab.CaXF0dho.js.map → tab.CNIZyfZt.js.map} +1 -1
  154. package/dist/chunks/{tag.CocLKztJ.js → tag.D2xagTJv.js} +2 -2
  155. package/dist/chunks/{tag.CocLKztJ.js.map → tag.D2xagTJv.js.map} +1 -1
  156. package/dist/chunks/textarea.Bi53QF5Q.js +218 -0
  157. package/dist/chunks/{textarea.D4X6Ss9q.js.map → textarea.Bi53QF5Q.js.map} +1 -1
  158. package/dist/chunks/timeline-item.C6Bi0eam.js +322 -0
  159. package/dist/chunks/{timeline-item.C8BxWdy1.js.map → timeline-item.C6Bi0eam.js.map} +1 -1
  160. package/dist/chunks/{toast.BRI3G7TL.js → toast.d8vg71CB.js} +81 -54
  161. package/dist/chunks/{toast.BRI3G7TL.js.map → toast.d8vg71CB.js.map} +1 -1
  162. package/dist/chunks/{tooltip.CbsNGnhw.js → tooltip.BxtnF3is.js} +38 -36
  163. package/dist/chunks/tooltip.BxtnF3is.js.map +1 -0
  164. package/dist/chunks/{tutorial.BzV6bHQJ.js → tutorial.BCiZMLJE.js} +190 -103
  165. package/dist/chunks/{tutorial.BzV6bHQJ.js.map → tutorial.BCiZMLJE.js.map} +1 -1
  166. package/dist/chunks/{use-cached-selected-values.DqX2qsMC.js → use-cached-selected-values.Bn3Y8Iuq.js} +490 -359
  167. package/dist/chunks/{use-cached-selected-values.DqX2qsMC.js.map → use-cached-selected-values.Bn3Y8Iuq.js.map} +1 -1
  168. package/dist/chunks/{use-country-items.CI8C7MLU.js → use-country-items.B4j8pAvW.js} +3 -3
  169. package/dist/chunks/{use-country-items.CI8C7MLU.js.map → use-country-items.B4j8pAvW.js.map} +1 -1
  170. package/dist/chunks/use-country-phon-code.ByqnuIni.js +6386 -0
  171. package/dist/chunks/use-country-phon-code.ByqnuIni.js.map +1 -0
  172. package/dist/chunks/{use-date-input-formatter.BYaTO3vz.js → use-date-input-formatter.DRMt9yR2.js} +2 -2
  173. package/dist/chunks/{use-date-input-formatter.BYaTO3vz.js.map → use-date-input-formatter.DRMt9yR2.js.map} +1 -1
  174. package/dist/code-snippet.js +1 -1
  175. package/dist/country.js +3 -3
  176. package/dist/dashboard-template.js +1 -1
  177. package/dist/dashed-underline.js +1 -1
  178. package/dist/data-grid-template.js +1 -1
  179. package/dist/data-grid.js +1 -1
  180. package/dist/date-picker.js +2 -2
  181. package/dist/date-range-picker.js +2 -2
  182. package/dist/draggable-handle.js +160 -73
  183. package/dist/draggable-handle.js.map +1 -1
  184. package/dist/dropdown.js +4 -4
  185. package/dist/empty-state.js +1 -1
  186. package/dist/file-uploader.js +1 -1
  187. package/dist/filter-bar.js +1 -1
  188. package/dist/form-layout.js +1 -1
  189. package/dist/header-with-views.js +1 -1
  190. package/dist/header.js +1 -1
  191. package/dist/index.js +215 -213
  192. package/dist/index.js.map +1 -1
  193. package/dist/info-icon.js +1 -1
  194. package/dist/input-field-password.js +1 -1
  195. package/dist/input-field-phone-number.js +1 -1
  196. package/dist/input-field.js +1 -1
  197. package/dist/input-time.js +5 -0
  198. package/dist/input-time.js.map +1 -0
  199. package/dist/inspector.js +1 -1
  200. package/dist/internal.js +12 -12
  201. package/dist/link.js +1 -1
  202. package/dist/list.js +1 -1
  203. package/dist/menu.js +1 -1
  204. package/dist/modal-fullscreen.js +1 -1
  205. package/dist/modal.js +2 -2
  206. package/dist/pagination.js +1 -1
  207. package/dist/popover.js +1 -1
  208. package/dist/promo-banner.js +1 -1
  209. package/dist/radio-group.js +1 -1
  210. package/dist/rich-text-editor.js +1 -1
  211. package/dist/search-bar.js +2 -2
  212. package/dist/secondary-nav.js +1 -1
  213. package/dist/segmented-control.js +1 -1
  214. package/dist/selection-card.js +1 -1
  215. package/dist/sidepanel.js +1 -1
  216. package/dist/stepper.js +1 -1
  217. package/dist/structured-list.js +1 -1
  218. package/dist/summary-grid.js +1 -1
  219. package/dist/tabs.js +1 -1
  220. package/dist/tag.js +1 -1
  221. package/dist/textarea.js +1 -1
  222. package/dist/timeline.js +1 -1
  223. package/dist/toast.js +1 -1
  224. package/dist/tutorial.js +1 -1
  225. package/dist/web-types.json +198 -1
  226. package/package.json +9 -9
  227. package/dist/chunks/accordion-item.BZDSJamR.js +0 -108
  228. package/dist/chunks/action-bar.CYGUYI0V.js +0 -207
  229. package/dist/chunks/ai-tag.Cjf38mjR.js +0 -73
  230. package/dist/chunks/alert.QVQ6Zjbm.js +0 -93
  231. package/dist/chunks/card.GjhsXOT0.js +0 -128
  232. package/dist/chunks/chip.DTpENaGC.js +0 -57
  233. package/dist/chunks/copy.BVGQcf22.js +0 -86
  234. package/dist/chunks/country.types.DxKjyd0S.js +0 -20
  235. package/dist/chunks/country.types.DxKjyd0S.js.map +0 -1
  236. package/dist/chunks/data-grid.DJG8Ty0A.js +0 -3194
  237. package/dist/chunks/data-grid.DJG8Ty0A.js.map +0 -1
  238. package/dist/chunks/date-picker.CnazYcSX.js +0 -155
  239. package/dist/chunks/date-range-picker.Bf9pRNL7.js +0 -811
  240. package/dist/chunks/date-range-picker.Bf9pRNL7.js.map +0 -1
  241. package/dist/chunks/dialog-page.oyG153fC.js +0 -116
  242. package/dist/chunks/error-message.RxdStT3S.js +0 -106
  243. package/dist/chunks/fixed-scroller.MerESbd_.js +0 -111
  244. package/dist/chunks/input-field-password.BKT1mYUw.js +0 -234
  245. package/dist/chunks/input-field.m1PMwa4C.js +0 -170
  246. package/dist/chunks/inspector.Bnm0hl_D.js +0 -105
  247. package/dist/chunks/promo-banner.Db2kh2qK.js +0 -64
  248. package/dist/chunks/search-bar.DPjYDhja.js +0 -89
  249. package/dist/chunks/secondary-nav.CwJjkJkj.js +0 -112
  250. package/dist/chunks/secondary-nav.CwJjkJkj.js.map +0 -1
  251. package/dist/chunks/textarea.D4X6Ss9q.js +0 -169
  252. package/dist/chunks/timeline-item.C8BxWdy1.js +0 -238
  253. package/dist/chunks/tooltip.CbsNGnhw.js.map +0 -1
  254. package/dist/chunks/use-country-phon-code.C6orQNnM.js +0 -291
  255. package/dist/chunks/use-country-phon-code.C6orQNnM.js.map +0 -1
@@ -1,99 +1,99 @@
1
- import { defineComponent as G, ref as w, onUnmounted as Ha, onMounted as Ra, computed as d, watch as na, reactive as oa, toRef as ta, nextTick as Aa } from "vue";
1
+ import { defineComponent as G, ref as y, onUnmounted as Oi, onMounted as Fi, computed as d, watch as ni, reactive as oi, toRef as ti, nextTick as Ui } from "vue";
2
2
  /* empty css */
3
3
  import { n as b } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
- import { W as Ea } from "./warning-filled.CbJ1pcB2.js";
5
- import { B as Ua } from "./alert.QVQ6Zjbm.js";
6
- import { B as la, d as Za } from "./typography.C8lPlsbD.js";
4
+ import { W as Ei } from "./warning-filled.CbJ1pcB2.js";
5
+ import { B as qi } from "./alert.CXRb-Smf.js";
6
+ import { B as si, d as Zi } from "./typography.C8lPlsbD.js";
7
7
  import { u as Y } from "./index.B6WW_F-J.js";
8
8
  import { g as _ } from "./generate-uid.NJ8tVoha.js";
9
- import { u as Pa } from "./form-field.D_2g7vaP.js";
10
- import { i as Fa } from "./index.Cl4_42j5.js";
11
- import { B as Na } from "./bin.Ddb69cr1.js";
12
- import { C as Wa } from "./checkmark-circle-fill.BttTCjrM.js";
13
- import { C as Ga } from "./cross.CC_B-vG-.js";
14
- import { R as Ya } from "./refresh.arF7jP-l.js";
15
- import { B as Ja } from "./button.DxhJNOtr.js";
16
- import { B as Xa } from "./link.MhoM3zQj.js";
17
- import { B as Ka } from "./loading-indicator.PxbRzshH.js";
18
- import { b as Qa } from "./tooltip.CbsNGnhw.js";
19
- import { F as ai, E as ii } from "./error-message.RxdStT3S.js";
9
+ import { u as Ni } from "./form-field.D_2g7vaP.js";
10
+ import { i as Ri } from "./index.Cl4_42j5.js";
11
+ import { B as Pi } from "./bin.Ddb69cr1.js";
12
+ import { C as Wi } from "./checkmark-circle-fill.BttTCjrM.js";
13
+ import { C as Gi } from "./cross.CC_B-vG-.js";
14
+ import { R as Yi } from "./refresh.arF7jP-l.js";
15
+ import { B as Xi } from "./button.C9b2AC9w.js";
16
+ import { B as Ji } from "./link.DB5g6d48.js";
17
+ import { B as Ki } from "./loading-indicator.PxbRzshH.js";
18
+ import { b as Qi } from "./tooltip.BxtnF3is.js";
19
+ import { F as ie, E as ee } from "./error-message.BUNKRa_w.js";
20
20
  import "../assets/file-uploader.css";
21
- let fa = 0;
22
- const ei = {
21
+ let fi = 0;
22
+ const ae = {
23
23
  beforeCreate() {
24
- this.uuid = fa.toString(), fa += 1;
24
+ this.uuid = fi.toString(), fi += 1;
25
25
  }
26
26
  };
27
- var ti = function() {
28
- var a = this, e = a._self._c;
29
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("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" } }), e("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
- }, ni = [], oi = /* @__PURE__ */ b(
31
- ei,
32
- ti,
33
- ni,
27
+ var te = function() {
28
+ var i = this, a = i._self._c;
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
+ }, ne = [], oe = /* @__PURE__ */ b(
31
+ ae,
32
+ te,
33
+ ne,
34
34
  !1,
35
35
  null,
36
36
  null
37
37
  );
38
- const pi = oi.exports, li = /* @__PURE__ */ G({
38
+ const le = oe.exports, se = /* @__PURE__ */ G({
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: Fa };
45
+ return { __sfc: !0, isVue2: Ri };
46
46
  }
47
47
  });
48
- var si = function() {
49
- var a = this, e = a._self._c, i = a._self._setupProxy;
50
- return i.isVue2 ? e("Transition", { attrs: { name: a.name, mode: "out-in", css: a.showFileIcon } }, [a._t("default")], 2) : e("TransitionGroup", { attrs: { name: a.name, css: a.showFileIcon } }, [a._t("default")], 2);
51
- }, ri = [], ci = /* @__PURE__ */ b(
52
- li,
53
- si,
54
- ri,
48
+ var pe = function() {
49
+ var i = this, a = i._self._c, e = i._self._setupProxy;
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(
52
+ se,
53
+ pe,
54
+ re,
55
55
  !1,
56
56
  null,
57
57
  null
58
58
  );
59
- const di = ci.exports;
60
- function mi(t, a) {
61
- const e = w(!1);
62
- let i;
59
+ const de = ce.exports;
60
+ function me(t, i) {
61
+ const a = y(!1);
62
+ let e;
63
63
  function o() {
64
- i && i.disconnect();
64
+ e && e.disconnect();
65
65
  }
66
- return Ha(() => {
66
+ return Oi(() => {
67
67
  o();
68
- }), Ra(() => {
69
- o(), i = new IntersectionObserver(
68
+ }), Fi(() => {
69
+ o(), e = new IntersectionObserver(
70
70
  (r) => {
71
- e.value = !r[0].isIntersecting;
71
+ a.value = !r[0].isIntersecting;
72
72
  },
73
73
  {
74
- root: a.value,
74
+ root: i.value,
75
75
  threshold: 1
76
76
  }
77
- ), i.observe(t.value.$el);
78
- }), e;
77
+ ), e.observe(t.value.$el);
78
+ }), a;
79
79
  }
80
- const xa = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
81
- function pa(t, a) {
82
- const e = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), xa.length - 1));
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));
83
83
  return Intl.NumberFormat(t, {
84
84
  style: "unit",
85
- unit: xa[e]
86
- }).format(a / 1024 ** e);
85
+ unit: xi[a]
86
+ }).format(i / 1024 ** a);
87
87
  }
88
- var k = /* @__PURE__ */ ((t) => (t.LOADING = "loading", t.SUCCESS = "success", t.ERROR = "error", t))(k || {}), 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 || {});
89
- const ui = [
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 || {});
89
+ const ue = [
90
90
  "application/msword",
91
91
  // .doc
92
92
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
93
93
  // .docx
94
94
  "application/rtf"
95
95
  // .rtf
96
- ], vi = [
96
+ ], ve = [
97
97
  "application/vnd.ms-excel",
98
98
  // .xls
99
99
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -106,14 +106,14 @@ const ui = [
106
106
  // .numbers
107
107
  "text/csv"
108
108
  // .csv
109
- ], fi = [
109
+ ], fe = [
110
110
  "application/vnd.ms-powerpoint",
111
111
  // .ppt
112
112
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
113
113
  // .pptx
114
114
  "application/vnd.oasis.opendocument.presentation"
115
115
  // .odp
116
- ], xi = [
116
+ ], xe = [
117
117
  "application/zip",
118
118
  // .zip
119
119
  "application/vnd.rar",
@@ -135,227 +135,227 @@ const ui = [
135
135
  "application/vnd.ms-cab-compressed"
136
136
  // .cab
137
137
  ];
138
- function gi(t) {
139
- return vi.includes(t.type) ? u.TABLE : t.type.startsWith("text/") || ui.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 : fi.includes(t.type) ? u.SLIDES : xi.includes(t.type) ? u.COMPRESSED : u.GENERIC;
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;
140
140
  }
141
- function ja(t, a) {
142
- if (!a)
141
+ function Ti(t, i) {
142
+ if (!i)
143
143
  return !0;
144
- const e = a.split(",").map((i) => i.trim());
145
- for (const i of e)
146
- if (i.startsWith(".")) {
147
- if (t.name.endsWith(i))
144
+ const a = i.split(",").map((e) => e.trim());
145
+ for (const e of a)
146
+ if (e.startsWith(".")) {
147
+ if (t.name.endsWith(e))
148
148
  return !0;
149
- } else if (i.endsWith("/*")) {
150
- const o = i.split("/")[0];
149
+ } else if (e.endsWith("/*")) {
150
+ const o = e.split("/")[0];
151
151
  if (t.type.startsWith(o))
152
152
  return !0;
153
- } else if (i.includes("/")) {
154
- if (t.type === i)
153
+ } else if (e.includes("/")) {
154
+ if (t.type === e)
155
155
  return !0;
156
- } else if (t.name.endsWith(`.${i}`))
156
+ } else if (t.name.endsWith(`.${e}`))
157
157
  return !0;
158
158
  return !1;
159
159
  }
160
- function hi(t, a, e) {
161
- const i = new FileReader(), o = t;
162
- if (!ja(o.data, a)) {
163
- o.state = k.ERROR, o.errors.push(h.ERROR_TYPE);
160
+ function he(t, i, a) {
161
+ const e = new FileReader(), o = t;
162
+ if (!Ti(o.data, i)) {
163
+ o.state = z.ERROR, o.errors.push(h.ERROR_TYPE);
164
164
  return;
165
165
  }
166
- i.onload = (r) => {
167
- if (e && o.type === u.IMAGE) {
168
- const p = new Blob([r.target.result], { type: o.data.type }), s = URL.createObjectURL(p), c = new Image();
166
+ e.onload = (r) => {
167
+ if (a && o.type === u.IMAGE) {
168
+ const l = new Blob([r.target.result], { type: o.data.type }), p = URL.createObjectURL(l), c = new Image();
169
169
  c.onload = function() {
170
- (c.width > e.width || c.height > e.height) && (o.state = k.ERROR, o.errors.push(h.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
170
+ (c.width > a.width || c.height > a.height) && (o.state = z.ERROR, o.errors.push(h.ERROR_DIMENSIONS)), URL.revokeObjectURL(p);
171
171
  }, c.onerror = function() {
172
- URL.revokeObjectURL(s);
173
- }, c.src = s;
172
+ URL.revokeObjectURL(p);
173
+ }, c.src = p;
174
174
  }
175
- }, i.onprogress = (r) => {
175
+ }, e.onprogress = (r) => {
176
176
  r.lengthComputable && (o.progress = r.loaded / r.total * 100);
177
- }, i.onloadend = () => {
178
- o.state !== k.ERROR && (o.state = k.SUCCESS), o.progress = null;
179
- }, i.onerror = () => {
180
- o.state = k.ERROR, o.errors.push(h.ERROR_LOAD), o.progress = null;
181
- }, i.readAsArrayBuffer(o.data);
177
+ }, e.onloadend = () => {
178
+ o.state !== z.ERROR && (o.state = z.SUCCESS), o.progress = null;
179
+ }, e.onerror = () => {
180
+ o.state = z.ERROR, o.errors.push(h.ERROR_LOAD), o.progress = null;
181
+ }, e.readAsArrayBuffer(o.data);
182
182
  }
183
- let ga = 0;
184
- const bi = {
183
+ let gi = 0;
184
+ const be = {
185
185
  beforeCreate() {
186
- this.uuid = ga.toString(), ga += 1;
186
+ this.uuid = gi.toString(), gi += 1;
187
187
  }
188
188
  };
189
- var _i = function() {
190
- var a = this, e = a._self._c;
191
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")" } }, [e("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" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-ui-assets/icons-16-attachment__a" + a.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
192
- }, wi = [], yi = /* @__PURE__ */ b(
193
- bi,
194
- _i,
195
- wi,
189
+ var _e = function() {
190
+ var i = this, a = i._self._c;
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(
193
+ be,
194
+ _e,
195
+ ye,
196
196
  !1,
197
197
  null,
198
198
  null
199
199
  );
200
- const Ci = yi.exports;
201
- let ha = 0;
202
- const ki = {
200
+ const Ce = we.exports;
201
+ let hi = 0;
202
+ const ze = {
203
203
  beforeCreate() {
204
- this.uuid = ha.toString(), ha += 1;
204
+ this.uuid = hi.toString(), hi += 1;
205
205
  }
206
206
  };
207
- var zi = function() {
208
- var a = this, e = a._self._c;
209
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("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
- }, Ri = [], Ei = /* @__PURE__ */ b(
211
- ki,
212
- zi,
213
- Ri,
207
+ var ke = function() {
208
+ var i = this, a = i._self._c;
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
+ }, Fe = [], Ee = /* @__PURE__ */ b(
211
+ ze,
212
+ ke,
213
+ Fe,
214
214
  !1,
215
215
  null,
216
216
  null
217
217
  );
218
- const Fi = Ei.exports;
219
- let ba = 0;
220
- const ji = {
218
+ const Re = Ee.exports;
219
+ let bi = 0;
220
+ const Te = {
221
221
  beforeCreate() {
222
- this.uuid = ba.toString(), ba += 1;
222
+ this.uuid = bi.toString(), bi += 1;
223
223
  }
224
224
  };
225
- var Ii = function() {
226
- var a = this, e = a._self._c;
227
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("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
- }, $i = [], Ti = /* @__PURE__ */ b(
229
- ji,
230
- Ii,
231
- $i,
225
+ var Ie = function() {
226
+ var i = this, a = i._self._c;
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(
229
+ Te,
230
+ Ie,
231
+ Se,
232
232
  !1,
233
233
  null,
234
234
  null
235
235
  );
236
- const Si = Ti.exports;
237
- let _a = 0;
238
- const Li = {
236
+ const je = Le.exports;
237
+ let _i = 0;
238
+ const De = {
239
239
  beforeCreate() {
240
- this.uuid = _a.toString(), _a += 1;
240
+ this.uuid = _i.toString(), _i += 1;
241
241
  }
242
242
  };
243
- var Mi = function() {
244
- var a = this, e = a._self._c;
245
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), e("path", { attrs: { fill: "#001222", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), e("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
- }, Di = [], Vi = /* @__PURE__ */ b(
247
- Li,
248
- Mi,
249
- Di,
243
+ var Me = function() {
244
+ var i = this, a = i._self._c;
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(
247
+ De,
248
+ Me,
249
+ $e,
250
250
  !1,
251
251
  null,
252
252
  null
253
253
  );
254
- const Bi = Vi.exports;
255
- let wa = 0;
256
- const Oi = {
254
+ const He = Be.exports;
255
+ let yi = 0;
256
+ const Ve = {
257
257
  beforeCreate() {
258
- this.uuid = wa.toString(), wa += 1;
258
+ this.uuid = yi.toString(), yi += 1;
259
259
  }
260
260
  };
261
- var qi = function() {
262
- var a = this, e = a._self._c;
263
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("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
- }, Hi = [], Ai = /* @__PURE__ */ b(
265
- Oi,
266
- qi,
267
- Hi,
261
+ var Ae = function() {
262
+ var i = this, a = i._self._c;
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(
265
+ Ve,
266
+ Ae,
267
+ Oe,
268
268
  !1,
269
269
  null,
270
270
  null
271
271
  );
272
- const Ui = Ai.exports;
273
- let ya = 0;
274
- const Zi = {
272
+ const qe = Ue.exports;
273
+ let wi = 0;
274
+ const Ze = {
275
275
  beforeCreate() {
276
- this.uuid = ya.toString(), ya += 1;
276
+ this.uuid = wi.toString(), wi += 1;
277
277
  }
278
278
  };
279
- var Pi = function() {
280
- var a = this, e = a._self._c;
281
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("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" } }), e("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
- }, Ni = [], Wi = /* @__PURE__ */ b(
283
- Zi,
284
- Pi,
285
- Ni,
279
+ var Ne = function() {
280
+ var i = this, a = i._self._c;
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(
283
+ Ze,
284
+ Ne,
285
+ Pe,
286
286
  !1,
287
287
  null,
288
288
  null
289
289
  );
290
- const Gi = Wi.exports;
291
- let Ca = 0;
292
- const Yi = {
290
+ const Ge = We.exports;
291
+ let Ci = 0;
292
+ const Ye = {
293
293
  beforeCreate() {
294
- this.uuid = Ca.toString(), Ca += 1;
294
+ this.uuid = Ci.toString(), Ci += 1;
295
295
  }
296
296
  };
297
- var Ji = function() {
298
- var a = this, e = a._self._c;
299
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")" } }, [e("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), e("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" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
300
- }, Xi = [], Ki = /* @__PURE__ */ b(
301
- Yi,
302
- Ji,
303
- Xi,
297
+ var Xe = function() {
298
+ var i = this, a = i._self._c;
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(
301
+ Ye,
302
+ Xe,
303
+ Je,
304
304
  !1,
305
305
  null,
306
306
  null
307
307
  );
308
- const Qi = Ki.exports;
309
- let ka = 0;
310
- const ae = {
308
+ const Qe = Ke.exports;
309
+ let zi = 0;
310
+ const ia = {
311
311
  beforeCreate() {
312
- this.uuid = ka.toString(), ka += 1;
312
+ this.uuid = zi.toString(), zi += 1;
313
313
  }
314
314
  };
315
- var ie = function() {
316
- var a = this, e = a._self._c;
317
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("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" } }), e("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" } }), e("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
- }, ee = [], te = /* @__PURE__ */ b(
319
- ae,
320
- ie,
321
- ee,
315
+ var ea = function() {
316
+ var i = this, a = i._self._c;
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(
319
+ ia,
320
+ ea,
321
+ aa,
322
322
  !1,
323
323
  null,
324
324
  null
325
325
  );
326
- const ne = te.exports;
327
- let za = 0;
328
- const oe = {
326
+ const na = ta.exports;
327
+ let ki = 0;
328
+ const oa = {
329
329
  beforeCreate() {
330
- this.uuid = za.toString(), za += 1;
330
+ this.uuid = ki.toString(), ki += 1;
331
331
  }
332
332
  };
333
- var pe = function() {
334
- var a = this, e = a._self._c;
335
- return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("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
- }, le = [], se = /* @__PURE__ */ b(
337
- oe,
338
- pe,
339
- le,
333
+ var la = function() {
334
+ var i = this, a = i._self._c;
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(
337
+ oa,
338
+ la,
339
+ sa,
340
340
  !1,
341
341
  null,
342
342
  null
343
343
  );
344
- const re = se.exports, ce = {
345
- [u.AUDIO]: ne,
346
- [u.COMPRESSED]: Ui,
347
- [u.GENERIC]: Ci,
348
- [u.IMAGE]: Gi,
349
- [u.PDF]: Si,
350
- [u.SLIDES]: Fi,
351
- [u.TABLE]: re,
352
- [u.TEXT]: Bi,
353
- [u.VIDEO]: Qi
344
+ const ra = pa.exports, ca = {
345
+ [u.AUDIO]: na,
346
+ [u.COMPRESSED]: qe,
347
+ [u.GENERIC]: Ce,
348
+ [u.IMAGE]: Ge,
349
+ [u.PDF]: je,
350
+ [u.SLIDES]: Re,
351
+ [u.TABLE]: ra,
352
+ [u.TEXT]: He,
353
+ [u.VIDEO]: Qe
354
354
  };
355
- function de(t) {
356
- return ce[t.type];
355
+ function da(t) {
356
+ return ca[t.type];
357
357
  }
358
- function me(t) {
358
+ function ma(t) {
359
359
  switch (t.type) {
360
360
  case u.COMPRESSED:
361
361
  case u.GENERIC:
@@ -369,45 +369,122 @@ function me(t) {
369
369
  return "green";
370
370
  }
371
371
  }
372
- const ue = {
373
- "en-US": { cancel: "Cancel", fileExceedsSizeLimit: "File exceeds size limit", fileTypeMustBe: "File type must be {list}", imageDimensionsExceedLimits: "Image dimensions exceed limits", remove: "Remove", retry: "Retry" },
374
- "ja-JP": { cancel: "キャンセル", fileExceedsSizeLimit: "ファイルがサイズ制限を超えています", fileTypeMustBe: "ファイル形式は{list}でなければなりません", imageDimensionsExceedLimits: "画像のサイズが制限を超えています", remove: "削除", retry: "再試行" },
375
- "pt-BR": { cancel: "Cancelar", fileExceedsSizeLimit: "O arquivo excede o limite de tamanho", fileTypeMustBe: "O tipo de arquivo deve ser {list}", imageDimensionsExceedLimits: "As dimensões da imagem excedem os limites", remove: "Remover", retry: "Tentar novamente" }
376
- }, ve = {
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-ES": {
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-MX": {
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
+ "fr-FR": {
414
+ cancel: "Annuler",
415
+ fileExceedsSizeLimit: "Le fichier dépasse la limite de taille",
416
+ fileTypeMustBe: "Le type de fichier doit être {list}",
417
+ imageDimensionsExceedLimits: "Les dimensions de l'image dépassent les limites",
418
+ remove: "Supprimer",
419
+ retry: "Réessayer"
420
+ },
421
+ "it-IT": {
422
+ cancel: "Annulla",
423
+ fileExceedsSizeLimit: "Il file supera il limite di dimensione",
424
+ fileTypeMustBe: "Il tipo di file deve essere {list}",
425
+ imageDimensionsExceedLimits: "Le dimensioni dell'immagine superano i limiti",
426
+ remove: "Rimuovi",
427
+ retry: "Riprova"
428
+ },
429
+ "ja-JP": {
430
+ cancel: "キャンセル",
431
+ fileExceedsSizeLimit: "ファイルがサイズ制限を超えています",
432
+ fileTypeMustBe: "ファイル形式は{list}でなければなりません",
433
+ imageDimensionsExceedLimits: "画像のサイズが制限を超えています",
434
+ remove: "削除",
435
+ retry: "再試行"
436
+ },
437
+ "pt-BR": {
438
+ cancel: "Cancelar",
439
+ fileExceedsSizeLimit: "O arquivo excede o limite de tamanho",
440
+ fileTypeMustBe: "O tipo de arquivo deve ser {list}",
441
+ imageDimensionsExceedLimits: "As dimensões da imagem excedem os limites",
442
+ remove: "Retirar",
443
+ retry: "Tentar de novo"
444
+ },
445
+ "zh-CN": {
446
+ cancel: "取消",
447
+ fileExceedsSizeLimit: "文件大小超过限制",
448
+ fileTypeMustBe: "文件类型必须为 {list}",
449
+ imageDimensionsExceedLimits: "图像尺寸超过限制",
450
+ remove: "移除",
451
+ retry: "重试"
452
+ }
453
+ }, va = {
377
454
  name: "file-uploader-file-card",
378
- i18n: { messages: ue }
379
- }, fe = /* @__PURE__ */ G({
380
- ...ve,
455
+ i18n: { messages: ua }
456
+ }, fa = /* @__PURE__ */ G({
457
+ ...va,
381
458
  props: {
382
459
  file: null,
383
460
  supportedFileTypes: { default: null },
384
461
  readonly: { type: Boolean }
385
462
  },
386
463
  emits: ["cancel", "remove", "retry"],
387
- setup(t, { expose: a, emit: e }) {
388
- const i = t, o = 1200, { t: r, locale: p } = Y(), s = w(null), c = w(null), g = w(null), R = _("file-errors-section"), $ = _("cancel-file-button"), x = _("remove-file-button"), y = _("retry-file-button"), z = w(i.file.state === k.SUCCESS), m = d(() => URL.createObjectURL(i.file.data)), E = d(() => i.file.state === k.ERROR), T = d(() => i.file.errors.includes(h.ERROR_LOAD)), O = d(() => i.file.errors.includes(h.ERROR_SIZE)), J = d(() => i.file.errors.includes(h.ERROR_DIMENSIONS)), X = d(() => i.file.errors.includes(h.ERROR_TYPE)), q = d(() => i.file.state === k.LOADING), M = d(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), F = d(() => pa(p.value, i.file.data.size)), j = w(), D = w(), K = mi(j, D), S = d(() => ({
464
+ setup(t, { expose: i, emit: a }) {
465
+ const e = t, o = 1200, { t: r, locale: l } = Y(), p = y(null), c = y(null), g = y(null), F = _("file-errors-section"), S = _("cancel-file-button"), x = _("remove-file-button"), w = _("retry-file-button"), k = 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)), V = 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)), A = d(() => e.file.state === z.LOADING), M = d(() => e.file.progress && `(${e.file.progress.toFixed(0)}%)`), R = d(() => li(l.value, e.file.data.size)), T = y(), $ = y(), K = me(T, $), j = d(() => ({
389
466
  "b-file-uploader-file-card--error": E.value
390
467
  })), Q = d(() => ({
391
- [`b-file-uploader-file-card__icon--${me(i.file)}`]: z.value,
468
+ [`b-file-uploader-file-card__icon--${ma(e.file)}`]: k.value,
392
469
  "b-file-uploader-file-card__icon--error": E.value
393
- })), V = d(() => q.value ? Ka : E.value ? Ea : z.value ? de(i.file) : Wa);
394
- na(
395
- () => i.file.state,
396
- (A) => {
397
- if (A === k.SUCCESS && !z.value) {
398
- const aa = setTimeout(() => {
399
- z.value = !0, clearTimeout(aa);
470
+ })), B = d(() => A.value ? Ki : E.value ? Ei : k.value ? da(e.file) : Wi);
471
+ ni(
472
+ () => e.file.state,
473
+ (U) => {
474
+ if (U === z.SUCCESS && !k.value) {
475
+ const ii = setTimeout(() => {
476
+ k.value = !0, clearTimeout(ii);
400
477
  }, o);
401
478
  }
402
479
  }
403
480
  );
404
- function H() {
481
+ function O() {
405
482
  if (g.value) {
406
483
  g.value.$el.focus();
407
484
  return;
408
485
  }
409
- if (s.value) {
410
- s.value.$el.focus();
486
+ if (p.value) {
487
+ p.value.$el.focus();
411
488
  return;
412
489
  }
413
490
  if (c.value) {
@@ -415,42 +492,129 @@ const ue = {
415
492
  return;
416
493
  }
417
494
  }
418
- return a({
419
- focus: H
420
- }), { __sfc: !0, ICON_TIMER: o, props: i, emit: e, t: r, locale: p, removeFileButtonRef: s, cancelFileButtonRef: c, retryFileButtonRef: g, fileErrorsSectionId: R, cancelFileButtonId: $, removeFileButtonId: x, retryFileButtonId: y, showFileIcon: z, downloadUrl: m, hasError: E, hasLoadError: T, hasSizeError: O, hasDimensionsError: J, hasTypeError: X, isLoading: q, progressLabel: M, sizeLabel: F, fileNameRef: j, fileNameContainerRef: D, isFileNameTruncated: K, conditionalClasses: S, conditionalIconClasses: Q, fileUploaderIcon: V, focus: H, isVue2: Fa, FileUploaderFileCardAnimation: di, BinIcon: Na, CrossIcon: Ga, RefreshIcon: Ya, vBentoTooltipDirective: Qa, BentoButton: Ja, BentoLink: Xa, BentoTypography: la };
495
+ return i({
496
+ focus: O
497
+ }), { __sfc: !0, ICON_TIMER: o, props: e, emit: a, t: r, locale: l, removeFileButtonRef: p, cancelFileButtonRef: c, retryFileButtonRef: g, fileErrorsSectionId: F, cancelFileButtonId: S, removeFileButtonId: x, retryFileButtonId: w, showFileIcon: k, downloadUrl: m, hasError: E, hasLoadError: L, hasSizeError: V, hasDimensionsError: X, hasTypeError: J, isLoading: A, progressLabel: M, sizeLabel: R, fileNameRef: T, fileNameContainerRef: $, isFileNameTruncated: K, conditionalClasses: j, conditionalIconClasses: Q, fileUploaderIcon: B, focus: O, isVue2: Ri, FileUploaderFileCardAnimation: de, BinIcon: Pi, CrossIcon: Gi, RefreshIcon: Yi, vBentoTooltipDirective: Qi, BentoButton: Xi, BentoLink: Ji, BentoTypography: si };
421
498
  }
422
499
  });
423
- var xe = function() {
424
- var a = this, e = a._self._c, i = a._self._setupProxy;
425
- return e("div", { staticClass: "b-file-uploader-file-card", class: i.conditionalClasses }, [e("div", { staticClass: "b-file-uploader-file-card__details" }, [e("div", { staticClass: "b-file-uploader-file-card__info" }, [e(i.FileUploaderFileCardAnimation, { attrs: { name: i.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": i.showFileIcon } }, [e(i.fileUploaderIcon, { key: JSON.stringify(i.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: i.conditionalIconClasses, attrs: { small: "", "aria-hidden": "true", "data-testid": "file-uploader-item-icon" } })], 1), e("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [e(i.BentoLink, { attrs: { "aria-hidden": "true", tabindex: "-1", download: a.file.data.name, to: i.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [e(i.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: i.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? e(i.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(i.progressLabel))]) : a.file.data.size ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(i.sizeLabel) + " ")]) : a._e()], 1), i.hasSizeError || i.hasDimensionsError || i.hasTypeError && a.supportedFileTypes ? e("div", { attrs: { id: i.fileErrorsSectionId, role: "alert" } }, [i.hasSizeError ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileExceedsSizeLimit")) + " ")]) : a._e(), i.hasDimensionsError ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), i.hasTypeError && a.supportedFileTypes ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1) : a._e()]), a.readonly ? a._e() : e("div", { staticClass: "b-file-uploader-file-card__actions" }, [i.hasLoadError ? e(i.BentoButton, { ref: "retryFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.retryFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
426
- return i.emit("retry");
427
- } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
428
- return [e(i.RefreshIcon, { attrs: { id: i.retryFileButtonId, "svg-title": `${i.t("retry")} - ${a.file.data.name} ` } })];
429
- }, proxy: !0 }], null, !1, 4044719554) }, [a._v(" " + a._s(i.t("retry")) + " ")]) : a._e(), i.isLoading || i.hasError ? e(i.BentoButton, { ref: "cancelFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.cancelFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
430
- return i.emit("cancel");
431
- } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
432
- return [e(i.CrossIcon, { attrs: { id: i.cancelFileButtonId, "svg-title": `${i.t("cancel")} - ${a.file.data.name}` } })];
433
- }, proxy: !0 }], null, !1, 1610167681) }) : e(i.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
434
- return i.emit("remove");
435
- } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
436
- return [e(i.BinIcon, { attrs: { id: i.removeFileButtonId, "svg-title": `${i.t("remove")} - ${a.file.data.name}` } })];
500
+ var xa = function() {
501
+ var i = this, a = i._self._c, e = i._self._setupProxy;
502
+ 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) {
503
+ return e.emit("retry");
504
+ } }, scopedSlots: i._u([{ key: "iconLeft", fn: function() {
505
+ return [a(e.RefreshIcon, { attrs: { id: e.retryFileButtonId, "svg-title": `${e.t("retry")} - ${i.file.data.name} ` } })];
506
+ }, 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) {
507
+ return e.emit("cancel");
508
+ } }, scopedSlots: i._u([{ key: "iconLeft", fn: function() {
509
+ return [a(e.CrossIcon, { attrs: { id: e.cancelFileButtonId, "svg-title": `${e.t("cancel")} - ${i.file.data.name}` } })];
510
+ }, proxy: !0 }], null, !1, 1610167681) }) : a(e.BentoButton, { ref: "removeFileButtonRef", attrs: { "aria-labelledby": `${e.fileErrorsSectionId} ${e.removeFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
511
+ return e.emit("remove");
512
+ } }, scopedSlots: i._u([{ key: "iconLeft", fn: function() {
513
+ return [a(e.BinIcon, { attrs: { id: e.removeFileButtonId, "svg-title": `${e.t("remove")} - ${i.file.data.name}` } })];
437
514
  }, proxy: !0 }], null, !1, 3607204026) })], 1)]);
438
- }, ge = [], he = /* @__PURE__ */ b(
439
- fe,
440
- xe,
441
- ge,
515
+ }, ga = [], ha = /* @__PURE__ */ b(
516
+ fa,
517
+ xa,
518
+ ga,
442
519
  !1,
443
520
  null,
444
521
  "fbe82cf6"
445
522
  );
446
- const be = he.exports, _e = {
447
- "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})" },
448
- "ja-JP": { maxFileSize: "最大ファイルサイズ:{size}", maxImageDimensions: "最大画像サイズ: {width} × {height}px", maxImageHeight: "最大画像高さ: {height}px", maxImageWidth: "最大画像幅: {width}px", maxUpload: "最大アップロード: {count}件のファイル |最大アップロード: {count}件のファイル", supportedFileTypes: "対応ファイル形式: {list}" },
449
- "pt-BR": { maxFileSize: "Tamanho máx. do arquivo: {size}", maxImageDimensions: "Dimensões máximas da imagem: {width} × {height}px", maxImageHeight: "Altura máx. da imagem: {height}px", maxImageWidth: "Largura máxima da imagem: {width}px", maxUpload: "Máximo de upload: {count} arquivo | Máximo de upload: {count} arquivos", supportedFileTypes: "Tipos de arquivo aceitos: {list}" }
450
- }, we = {
451
- i18n: { messages: _e }
452
- }, ye = /* @__PURE__ */ G({
453
- ...we,
523
+ const ba = ha.exports, _a = {
524
+ "de-DE": {
525
+ maxFileSize: "Maximale Dateigröße: {size}",
526
+ maxImageDimensions: "Maximale Bilddimensionen: {width} × {height}px",
527
+ maxImageHeight: "Maximale Bildhöhe: {height}px",
528
+ maxImageWidth: "Maximale Bildbreite: {width}px",
529
+ maxUpload: "Maximale Anzahl Uploads: {count} Datei | Maximale Anzahl Uploads: {count} Dateien",
530
+ supportedFileTypes: "Unterstützte Dateitypen: {list}",
531
+ upToSize: "(bis zu {size})"
532
+ },
533
+ "en-GB": {
534
+ maxFileSize: "Max. file size: {size}",
535
+ maxImageDimensions: "Max. image dimensions: {width} × {height}px",
536
+ maxImageHeight: "Max. image height: {height}px",
537
+ maxImageWidth: "Max. image width: {width}px",
538
+ maxUpload: "Max. upload: {count} file | Max. upload: {count} files",
539
+ supportedFileTypes: "Supported file types: {list}",
540
+ upToSize: "(up to {size})"
541
+ },
542
+ "en-US": {
543
+ maxFileSize: "Max file size: {size}",
544
+ maxImageDimensions: "Max image dimensions: {width} × {height}px",
545
+ maxImageHeight: "Max image height: {height}px",
546
+ maxImageWidth: "Max image width: {width}px",
547
+ maxUpload: "Max upload: {count} file | Max upload: {count} files",
548
+ supportedFileTypes: "Supported file types: {list}",
549
+ upToSize: "(up to {size})"
550
+ },
551
+ "es-ES": {
552
+ maxFileSize: "Tamaño máximo del archivo: {size}",
553
+ maxImageDimensions: "Dimensiones máximas de la imagen: {width} × {height} px",
554
+ maxImageHeight: "Altura máxima de la imagen: {height} px",
555
+ maxImageWidth: "Anchura máximo de la imagen: {width} px",
556
+ maxUpload: "Carga máxima: {count} archivo | Carga máxima: {count} archivos",
557
+ supportedFileTypes: "Tipos de archivo compatibles: {list}",
558
+ upToSize: "(hasta {size})"
559
+ },
560
+ "es-MX": {
561
+ maxFileSize: "Tamaño máximo de archivo: {size}",
562
+ maxImageDimensions: "Dimensiones máximas de la imagen: {ancho} × {altura}px",
563
+ maxImageHeight: "Altura máxima de la imagen: {height}px",
564
+ maxImageWidth: "Ancho máximo de la imagen: {width}px",
565
+ maxUpload: "Carga máxima: {count} archivo | Carga máxima: {count} archivos",
566
+ supportedFileTypes: "Tipos de archivo compatibles: {list}",
567
+ upToSize: "(hasta {size})"
568
+ },
569
+ "fr-FR": {
570
+ maxFileSize: "Taille maximale du fichier : {size}",
571
+ maxImageDimensions: "Dimensions maximales de l'image : {width} × {height} px",
572
+ maxImageHeight: "Hauteur maximale de l'image : {height} px",
573
+ maxImageWidth: "Largeur maximale de l'image : {width} px",
574
+ maxUpload: "Téléchargement maximal : {count} fichier | Téléchargement maximal : {count} fichiers",
575
+ supportedFileTypes: "Types de fichiers pris en charge : {list}",
576
+ upToSize: "(jusqu'à {size})"
577
+ },
578
+ "it-IT": {
579
+ maxFileSize: "Dimensione massima del file: {size}",
580
+ maxImageDimensions: "Dimensioni massime dell'immagine: {width} × {height}px",
581
+ maxImageHeight: "Altezza massima dell'immagine: {height} px",
582
+ maxImageWidth: "Larghezza massima dell'immagine: {width} px",
583
+ maxUpload: "Upload massimo: file {count} | Upload massimo: {count} file",
584
+ supportedFileTypes: "Tipi di file supportati: {list}",
585
+ upToSize: "(fino a {size})"
586
+ },
587
+ "ja-JP": {
588
+ maxFileSize: "最大ファイルサイズ:{size}",
589
+ maxImageDimensions: "最大画像サイズ: {width} × {height}px",
590
+ maxImageHeight: "最大画像高さ: {height}px",
591
+ maxImageWidth: "最大画像幅: {width}px",
592
+ maxUpload: "最大アップロード: {count}件のファイル |最大アップロード: {count}件のファイル",
593
+ supportedFileTypes: "対応ファイル形式: {list}",
594
+ upToSize: "({size}まで)"
595
+ },
596
+ "pt-BR": {
597
+ maxFileSize: "Tamanho máx. do arquivo: {size}",
598
+ maxImageDimensions: "Dimensões máx. da imagem: {width} × {height}px",
599
+ maxImageHeight: "Altura máx. da imagem: {height}px",
600
+ maxImageWidth: "Largura máx. da imagem: {width}px",
601
+ maxUpload: "Máximo de upload: {count} arquivo | Máximo de upload: {count} arquivos",
602
+ supportedFileTypes: "Tipos de arquivo aceitos: {list}",
603
+ upToSize: "(até {size})"
604
+ },
605
+ "zh-CN": {
606
+ maxFileSize: "最大文件大小:{size}",
607
+ maxImageDimensions: "最大图像尺寸:{width} × {height}px",
608
+ maxImageHeight: "最大图像高度:{height}px",
609
+ maxImageWidth: "最大图像宽度:{width}px",
610
+ maxUpload: "最多上传:{count} 个文件 | 最多上传:{count} 个文件",
611
+ supportedFileTypes: "支持的文件类型:{list}",
612
+ upToSize: "(最多 {size})"
613
+ }
614
+ }, ya = {
615
+ i18n: { messages: _a }
616
+ }, wa = /* @__PURE__ */ G({
617
+ ...ya,
454
618
  __name: "file-uploader-restrictions",
455
619
  props: {
456
620
  condensed: { default: null },
@@ -461,48 +625,48 @@ const be = he.exports, _e = {
461
625
  supportedFileTypes: { default: null }
462
626
  },
463
627
  setup(t) {
464
- const a = t, { t: e, tc: i, n: o, locale: r } = Y(), p = d(() => ({
465
- "b-file-uploader-restrictions--condensed": a.condensed,
466
- "b-file-uploader-restrictions--disabled": a.disabled
628
+ const i = t, { t: a, tc: e, n: o, locale: r } = Y(), l = d(() => ({
629
+ "b-file-uploader-restrictions--condensed": i.condensed,
630
+ "b-file-uploader-restrictions--disabled": i.disabled
467
631
  }));
468
- function s(x) {
632
+ function p(x) {
469
633
  return {
470
634
  "b-file-uploader-restrictions--error": x
471
635
  };
472
636
  }
473
- const c = d(() => a.maxSize && Array.isArray(a.maxSize.value)), g = d(() => !a.maxSize || c.value ? null : e("maxFileSize", { size: pa(r.value, a.maxSize.value) })), R = d(() => {
474
- if (!a.supportedFileTypes)
637
+ 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) })), F = d(() => {
638
+ if (!i.supportedFileTypes)
475
639
  return null;
476
640
  if (!c.value)
477
- return a.supportedFileTypes.value;
478
- let x = a.supportedFileTypes.value;
479
- return a.maxSize.value.forEach((y) => {
480
- const z = y.fileType.toUpperCase(), m = e("upToSize", { size: pa(r.value, y.maxSize) });
481
- x = x.replace(z, `${z} ${m}`);
641
+ return i.supportedFileTypes.value;
642
+ let x = i.supportedFileTypes.value;
643
+ return i.maxSize.value.forEach((w) => {
644
+ const k = w.fileType.toUpperCase(), m = a("upToSize", { size: li(r.value, w.maxSize) });
645
+ x = x.replace(k, `${k} ${m}`);
482
646
  }), x;
483
- }), $ = d(() => {
484
- if (!a.maxDimensions)
647
+ }), S = d(() => {
648
+ if (!i.maxDimensions)
485
649
  return null;
486
650
  const {
487
- value: { width: x, height: y }
488
- } = a.maxDimensions;
489
- return x && y ? e("maxImageDimensions", { width: o(x), height: o(y) }) : x ? e("maxImageWidth", { width: o(x) }) : y ? e("maxImageHeight", { height: o(y) }) : null;
651
+ value: { width: x, height: w }
652
+ } = i.maxDimensions;
653
+ return x && w ? a("maxImageDimensions", { width: o(x), height: o(w) }) : x ? a("maxImageWidth", { width: o(x) }) : w ? a("maxImageHeight", { height: o(w) }) : null;
490
654
  });
491
- return { __sfc: !0, props: a, t: e, tc: i, n: o, locale: r, conditionalClasses: p, setRestrictionErrorClass: s, isMaxSizeArray: c, maxFileSizeLabel: g, computedConditionalFiles: R, maxDimensionsLabel: $, BentoTypography: la };
655
+ return { __sfc: !0, props: i, t: a, tc: e, n: o, locale: r, conditionalClasses: l, setRestrictionErrorClass: p, isMaxSizeArray: c, maxFileSizeLabel: g, computedConditionalFiles: F, maxDimensionsLabel: S, BentoTypography: si };
492
656
  }
493
657
  });
494
- var Ce = function() {
495
- var a = this, e = a._self._c, i = a._self._setupProxy;
496
- return e("div", { staticClass: "b-file-uploader-restrictions", class: i.conditionalClasses }, [a.supportedFileTypes ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.supportedFileTypes.error || i.isMaxSizeArray && a.maxSize.error) }, [a._v(" " + a._s(i.t("supportedFileTypes", { list: i.computedConditionalFiles })) + " ")]) : a._e(), !i.isMaxSizeArray && a.maxSize ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(i.maxFileSizeLabel) + " ")]) : a._e(), a.maxDimensions ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(i.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(i.tc("maxUpload", a.maxCount.value, { count: i.n(a.maxCount.value) })) + " ")]) : a._e()], 1);
497
- }, ke = [], ze = /* @__PURE__ */ b(
498
- ye,
499
- Ce,
500
- ke,
658
+ var Ca = function() {
659
+ var i = this, a = i._self._c, e = i._self._setupProxy;
660
+ 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);
661
+ }, za = [], ka = /* @__PURE__ */ b(
662
+ wa,
663
+ Ca,
664
+ za,
501
665
  !1,
502
666
  null,
503
667
  "b0498c01"
504
668
  );
505
- const Re = ze.exports, Ia = {
669
+ const Fa = ka.exports, Ii = {
506
670
  "application/prs.cww": ["cww"],
507
671
  "application/prs.xsf+xml": ["xsf"],
508
672
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1201,8 +1365,8 @@ const Re = ze.exports, Ia = {
1201
1365
  "video/x-smv": ["smv"],
1202
1366
  "x-conference/x-cooltalk": ["ice"]
1203
1367
  };
1204
- Object.freeze(Ia);
1205
- const $a = {
1368
+ Object.freeze(Ii);
1369
+ const Si = {
1206
1370
  "application/andrew-inset": ["ez"],
1207
1371
  "application/appinstaller": ["appinstaller"],
1208
1372
  "application/applixware": ["aw"],
@@ -1554,131 +1718,248 @@ const $a = {
1554
1718
  "video/quicktime": ["qt", "mov"],
1555
1719
  "video/webm": ["webm"]
1556
1720
  };
1557
- Object.freeze($a);
1558
- var C = function(t, a, e, i) {
1559
- if (e === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
1560
- if (typeof a == "function" ? t !== a || !i : !a.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1561
- return e === "m" ? i : e === "a" ? i.call(t) : i ? i.value : a.get(t);
1562
- }, L, B, I;
1563
- class Ee {
1564
- constructor(...a) {
1565
- L.set(this, /* @__PURE__ */ new Map()), B.set(this, /* @__PURE__ */ new Map()), I.set(this, /* @__PURE__ */ new Map());
1566
- for (const e of a)
1567
- this.define(e);
1721
+ Object.freeze(Si);
1722
+ var C = function(t, i, a, e) {
1723
+ if (a === "a" && !e) throw new TypeError("Private accessor was defined without a getter");
1724
+ 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");
1725
+ return a === "m" ? e : a === "a" ? e.call(t) : e ? e.value : i.get(t);
1726
+ }, D, H, I;
1727
+ class Ea {
1728
+ constructor(...i) {
1729
+ D.set(this, /* @__PURE__ */ new Map()), H.set(this, /* @__PURE__ */ new Map()), I.set(this, /* @__PURE__ */ new Map());
1730
+ for (const a of i)
1731
+ this.define(a);
1568
1732
  }
1569
- define(a, e = !1) {
1570
- for (let [i, o] of Object.entries(a)) {
1571
- i = i.toLowerCase(), o = o.map((s) => s.toLowerCase()), C(this, I, "f").has(i) || C(this, I, "f").set(i, /* @__PURE__ */ new Set());
1572
- const r = C(this, I, "f").get(i);
1573
- let p = !0;
1574
- for (let s of o) {
1575
- const c = s.startsWith("*");
1576
- if (s = c ? s.slice(1) : s, r == null || r.add(s), p && C(this, B, "f").set(i, s), p = !1, c)
1733
+ define(i, a = !1) {
1734
+ for (let [e, o] of Object.entries(i)) {
1735
+ e = e.toLowerCase(), o = o.map((p) => p.toLowerCase()), C(this, I, "f").has(e) || C(this, I, "f").set(e, /* @__PURE__ */ new Set());
1736
+ const r = C(this, I, "f").get(e);
1737
+ let l = !0;
1738
+ for (let p of o) {
1739
+ const c = p.startsWith("*");
1740
+ if (p = c ? p.slice(1) : p, r == null || r.add(p), l && C(this, H, "f").set(e, p), l = !1, c)
1577
1741
  continue;
1578
- const g = C(this, L, "f").get(s);
1579
- if (g && g != i && !e)
1580
- throw new Error(`"${i} -> ${s}" conflicts with "${g} -> ${s}". Pass \`force=true\` to override this definition.`);
1581
- C(this, L, "f").set(s, i);
1742
+ const g = C(this, D, "f").get(p);
1743
+ if (g && g != e && !a)
1744
+ throw new Error(`"${e} -> ${p}" conflicts with "${g} -> ${p}". Pass \`force=true\` to override this definition.`);
1745
+ C(this, D, "f").set(p, e);
1582
1746
  }
1583
1747
  }
1584
1748
  return this;
1585
1749
  }
1586
- getType(a) {
1587
- if (typeof a != "string")
1750
+ getType(i) {
1751
+ if (typeof i != "string")
1588
1752
  return null;
1589
- const e = a.replace(/^.*[/\\]/, "").toLowerCase(), i = e.replace(/^.*\./, "").toLowerCase(), o = e.length < a.length;
1590
- return !(i.length < e.length - 1) && o ? null : C(this, L, "f").get(i) ?? null;
1753
+ const a = i.replace(/^.*[/\\]/, "").toLowerCase(), e = a.replace(/^.*\./, "").toLowerCase(), o = a.length < i.length;
1754
+ return !(e.length < a.length - 1) && o ? null : C(this, D, "f").get(e) ?? null;
1591
1755
  }
1592
- getExtension(a) {
1593
- var e;
1594
- return typeof a != "string" ? null : (a = (e = a == null ? void 0 : a.split) == null ? void 0 : e.call(a, ";")[0], (a && C(this, B, "f").get(a.trim().toLowerCase())) ?? null);
1756
+ getExtension(i) {
1757
+ var a;
1758
+ 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);
1595
1759
  }
1596
- getAllExtensions(a) {
1597
- return typeof a != "string" ? null : C(this, I, "f").get(a.toLowerCase()) ?? null;
1760
+ getAllExtensions(i) {
1761
+ return typeof i != "string" ? null : C(this, I, "f").get(i.toLowerCase()) ?? null;
1598
1762
  }
1599
1763
  _freeze() {
1600
1764
  this.define = () => {
1601
1765
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1602
1766
  }, Object.freeze(this);
1603
- for (const a of C(this, I, "f").values())
1604
- Object.freeze(a);
1767
+ for (const i of C(this, I, "f").values())
1768
+ Object.freeze(i);
1605
1769
  return this;
1606
1770
  }
1607
1771
  _getTestState() {
1608
1772
  return {
1609
- types: C(this, L, "f"),
1610
- extensions: C(this, B, "f")
1773
+ types: C(this, D, "f"),
1774
+ extensions: C(this, H, "f")
1611
1775
  };
1612
1776
  }
1613
1777
  }
1614
- L = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap();
1615
- const Ta = new Ee($a, Ia)._freeze(), Fe = {
1616
- "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." },
1617
- "ja-JP": { audioFiles: "オーディオファイル", browseFiles: "ファイルを参照", dropArea: "ドロップエリア", dropFiles: "ファイルをドロップしてアップロード | ファイルをドロップしてアップロード", fileExceedsSizeLimit: "ファイルがサイズ制限を超えています", imageFiles: "画像ファイル", noFilesUploaded: "ファイルはアップロードされていません", tooManyFiles: "ファイルが多すぎます", videoFiles: "ビデオファイル", youHaveExceededTheMaximum: "ファイル{count}件の最大制限を超えました。続行する前にいくつかのファイルを削除してください。" },
1618
- "pt-BR": { audioFiles: "arquivos de áudio", browseFiles: "Procurar arquivos", dropArea: "Área de soltar", dropFiles: "Soltar arquivo para upload | Soltar arquivos para upload", fileExceedsSizeLimit: "O arquivo excede o limite de tamanho", imageFiles: "arquivos de imagem", noFilesUploaded: "Nenhum arquivo carregado", tooManyFiles: "Muitos arquivos", videoFiles: "arquivos de vídeo", youHaveExceededTheMaximum: "Você excedeu o limite máximo de {count} arquivos. Retire alguns arquivos antes de prosseguir." }
1778
+ D = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap();
1779
+ const Li = new Ea(Si, Ii)._freeze(), Ra = {
1780
+ "de-DE": {
1781
+ audioFiles: "Audiodateien",
1782
+ browseFiles: "Dateien durchsuchen",
1783
+ dropArea: "Ablagebereich",
1784
+ dropFiles: "Datei zum Hochladen ablegen | Dateien zum Hochladen ablegen",
1785
+ fileExceedsSizeLimit: "Datei überschreitet die Größenbegrenzung",
1786
+ imageFiles: "Bilddateien",
1787
+ noFilesUploaded: "Keine Dateien hochgeladen",
1788
+ tooManyFiles: "Zu viele Dateien",
1789
+ videoFiles: "Videodateien",
1790
+ youHaveExceededTheMaximum: "Sie haben die maximale Anzahl von {count} Dateien überschritten. Bitte entfernen Sie einige Dateien, bevor Sie fortfahren."
1791
+ },
1792
+ "en-GB": {
1793
+ audioFiles: "audio files",
1794
+ browseFiles: "Browse files",
1795
+ dropArea: "Drop area",
1796
+ dropFiles: "Drop file to upload | Drop files to upload",
1797
+ fileExceedsSizeLimit: "File exceeds size limit",
1798
+ imageFiles: "image files",
1799
+ noFilesUploaded: "No files uploaded",
1800
+ tooManyFiles: "Too many files",
1801
+ videoFiles: "video files",
1802
+ youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1803
+ },
1804
+ "en-US": {
1805
+ audioFiles: "audio files",
1806
+ browseFiles: "Browse files",
1807
+ dropArea: "Drop area",
1808
+ dropFiles: "Drop file to upload | Drop files to upload",
1809
+ fileExceedsSizeLimit: "File exceeds size limit",
1810
+ imageFiles: "image files",
1811
+ noFilesUploaded: "No files uploaded",
1812
+ tooManyFiles: "Too many files",
1813
+ videoFiles: "video files",
1814
+ youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1815
+ },
1816
+ "es-ES": {
1817
+ audioFiles: "archivos de audio",
1818
+ browseFiles: "Explorar archivos",
1819
+ dropArea: "Zona de soltar",
1820
+ dropFiles: "Arrastrar archivo para cargar | Arrastrar archivos para cargar",
1821
+ fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
1822
+ imageFiles: "archivos de imagen",
1823
+ noFilesUploaded: "No se han cargado archivos",
1824
+ tooManyFiles: "Demasiados archivos",
1825
+ videoFiles: "archivos de vídeo",
1826
+ youHaveExceededTheMaximum: "Has superado el límite máximo de {count} archivos. Elimina algunos antes de continuar."
1827
+ },
1828
+ "es-MX": {
1829
+ audioFiles: "archivos de audio",
1830
+ browseFiles: "Explorar archivos",
1831
+ dropArea: "Área de soltar",
1832
+ dropFiles: "Soltar archivo para cargar | Arrastrar archivos para cargar",
1833
+ fileExceedsSizeLimit: "El archivo supera el límite de tamaño",
1834
+ imageFiles: "archivos de imagen",
1835
+ noFilesUploaded: "No hay archivos cargados",
1836
+ tooManyFiles: "Demasiados archivos",
1837
+ videoFiles: "archivos de video",
1838
+ youHaveExceededTheMaximum: "Superaste el límite máximo de {count} archivos. Elimina algunos archivos antes de continuar."
1839
+ },
1840
+ "fr-FR": {
1841
+ audioFiles: "fichiers audio",
1842
+ browseFiles: "Parcourir les fichiers",
1843
+ dropArea: "Zone de dépôt",
1844
+ dropFiles: "Déposer un fichier à télécharger | Déposer des fichiers à télécharger",
1845
+ fileExceedsSizeLimit: "Le fichier dépasse la limite de taille",
1846
+ imageFiles: "fichiers image",
1847
+ noFilesUploaded: "Aucun fichier téléchargé",
1848
+ tooManyFiles: "Trop de fichiers",
1849
+ videoFiles: "fichiers vidéo",
1850
+ youHaveExceededTheMaximum: "Vous avez dépassé la limite maximale de {count} fichiers. Veuillez supprimer certains fichiers avant de continuer."
1851
+ },
1852
+ "it-IT": {
1853
+ audioFiles: "file audio",
1854
+ browseFiles: "Sfoglia i file",
1855
+ dropArea: "Area di scarico",
1856
+ dropFiles: "Trascina il file per caricarlo | Trascina i file per caricarli",
1857
+ fileExceedsSizeLimit: "Il file supera il limite di dimensione",
1858
+ imageFiles: "file di immagini",
1859
+ noFilesUploaded: "Nessun file caricato",
1860
+ tooManyFiles: "Troppi file",
1861
+ videoFiles: "file video",
1862
+ youHaveExceededTheMaximum: "Hai superato il limite massimo di {count} file. Rimuovi alcuni file prima di procedere."
1863
+ },
1864
+ "ja-JP": {
1865
+ audioFiles: "オーディオファイル",
1866
+ browseFiles: "ファイルを参照",
1867
+ dropArea: "ドロップエリア",
1868
+ dropFiles: "ファイルをドロップしてアップロード | ファイルをドロップしてアップロード",
1869
+ fileExceedsSizeLimit: "ファイルがサイズ制限を超えています",
1870
+ imageFiles: "画像ファイル",
1871
+ noFilesUploaded: "ファイルはアップロードされていません",
1872
+ tooManyFiles: "ファイルが多すぎます",
1873
+ videoFiles: "ビデオファイル",
1874
+ youHaveExceededTheMaximum: "ファイル{count}件の最大制限を超えました。続行する前にいくつかのファイルを削除してください。"
1875
+ },
1876
+ "pt-BR": {
1877
+ audioFiles: "arquivos de áudio",
1878
+ browseFiles: "Procurar arquivos",
1879
+ dropArea: "Área de soltar",
1880
+ dropFiles: "Soltar arquivo para upload | Soltar arquivos para upload",
1881
+ fileExceedsSizeLimit: "O arquivo excede o limite de tamanho",
1882
+ imageFiles: "arquivos de imagem",
1883
+ noFilesUploaded: "Nenhum arquivo carregado",
1884
+ tooManyFiles: "Arquivos demais",
1885
+ videoFiles: "arquivos de vídeo",
1886
+ youHaveExceededTheMaximum: "Você excedeu o limite máximo de {count} arquivos. Retire alguns arquivos antes de prosseguir."
1887
+ },
1888
+ "zh-CN": {
1889
+ audioFiles: "音频文件",
1890
+ browseFiles: "浏览文件",
1891
+ dropArea: "拖放区",
1892
+ dropFiles: "拖放文件以上传 | 拖放文件以上传",
1893
+ fileExceedsSizeLimit: "文件大小超过限制",
1894
+ imageFiles: "图像文件",
1895
+ noFilesUploaded: "未上传文件",
1896
+ tooManyFiles: "文件过多",
1897
+ videoFiles: "视频文件",
1898
+ youHaveExceededTheMaximum: "已超出 {count} 个文件的上限数量。请在继续之前移除一些文件。"
1899
+ }
1619
1900
  };
1620
- function je(t) {
1621
- return t.includes("/") ? `.${Ta.getExtension(t).toUpperCase()}` : t.toUpperCase();
1901
+ function Ta(t) {
1902
+ return t.includes("/") ? `.${Li.getExtension(t).toUpperCase()}` : t.toUpperCase();
1622
1903
  }
1623
- function Ie(t) {
1624
- const { locale: a, t: e } = Y();
1904
+ function Ia(t) {
1905
+ const { locale: i, t: a } = Y();
1625
1906
  return { supportedFileTypeList: d(() => {
1626
- const o = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1907
+ const o = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1627
1908
  return t != null && t.value ? o.format(
1628
1909
  t.value.split(",").map((r) => {
1629
1910
  switch (r.trim()) {
1630
1911
  case "audio/*":
1631
- return e("audioFiles");
1912
+ return a("audioFiles");
1632
1913
  case "image/*":
1633
- return e("imageFiles");
1914
+ return a("imageFiles");
1634
1915
  case "video/*":
1635
- return e("videoFiles");
1916
+ return a("videoFiles");
1636
1917
  default:
1637
- return je(r);
1918
+ return Ta(r);
1638
1919
  }
1639
1920
  })
1640
1921
  ) : null;
1641
1922
  }) };
1642
1923
  }
1643
- function $e(t) {
1644
- return Ta.getType(t) ?? t;
1924
+ function Sa(t) {
1925
+ return Li.getType(t) ?? t;
1645
1926
  }
1646
- function Te({ maxCount: t, accept: a }) {
1647
- const e = oa({
1927
+ function La({ maxCount: t, accept: i }) {
1928
+ const a = oi({
1648
1929
  invalidTypes: !1,
1649
1930
  partiallyInvalidTypes: !1,
1650
1931
  maxCountOverflow: !1
1651
- }), i = oa({
1932
+ }), e = oi({
1652
1933
  dragging: !1,
1653
1934
  error: !1
1654
- }), o = d(() => a.value ? a.value.split(",").map((c) => $e(c.trim().toLocaleLowerCase())) : void 0);
1935
+ }), o = d(() => i.value ? i.value.split(",").map((c) => Sa(c.trim().toLocaleLowerCase())) : void 0);
1655
1936
  function r() {
1656
- i.dragging = !1, i.error = !1, e.invalidTypes = !1, e.partiallyInvalidTypes = !1, e.maxCountOverflow = !1;
1937
+ e.dragging = !1, e.error = !1, a.invalidTypes = !1, a.partiallyInvalidTypes = !1, a.maxCountOverflow = !1;
1657
1938
  }
1658
- function p(s, c) {
1659
- if (i.dragging = !0, (!c.dataTransfer.types.includes("Files") || s > t.value) && (e.maxCountOverflow = !0, i.error = !0), !o.value)
1939
+ function l(p, c) {
1940
+ if (e.dragging = !0, (!c.dataTransfer.types.includes("Files") || p > t.value) && (a.maxCountOverflow = !0, e.error = !0), !o.value)
1660
1941
  return;
1661
1942
  let g = 0;
1662
- for (const R of c.dataTransfer.items)
1663
- o.value.includes(R.type) && g++;
1943
+ for (const F of c.dataTransfer.items)
1944
+ o.value.includes(F.type) && g++;
1664
1945
  if (g === 0) {
1665
- i.error = !0, e.invalidTypes = !0;
1946
+ e.error = !0, a.invalidTypes = !0;
1666
1947
  return;
1667
1948
  }
1668
- !e.invalidTypes && g !== c.dataTransfer.items.length && (i.error = !0, e.partiallyInvalidTypes = !0);
1949
+ !a.invalidTypes && g !== c.dataTransfer.items.length && (e.error = !0, a.partiallyInvalidTypes = !0);
1669
1950
  }
1670
1951
  return {
1671
- dragState: i,
1672
- dragErrors: e,
1952
+ dragState: e,
1953
+ dragErrors: a,
1673
1954
  resetDragState: r,
1674
- onDragEnterValidations: p
1955
+ onDragEnterValidations: l
1675
1956
  };
1676
1957
  }
1677
- const Se = {
1958
+ const ja = {
1678
1959
  model: { prop: "modelValue" },
1679
- i18n: { messages: Fe }
1680
- }, Le = /* @__PURE__ */ G({
1681
- ...Se,
1960
+ i18n: { messages: Ra }
1961
+ }, Da = /* @__PURE__ */ G({
1962
+ ...ja,
1682
1963
  __name: "file-uploader",
1683
1964
  props: {
1684
1965
  description: { default: null },
@@ -1698,214 +1979,214 @@ const Se = {
1698
1979
  modelValue: { default: null }
1699
1980
  },
1700
1981
  emits: ["change", "input", "update:model-value", "error:upload"],
1701
- setup(t, { emit: a }) {
1702
- const e = t, { t: i, tc: o, n: r } = Y(), { emitValue: p } = Pa(a);
1703
- function s(n) {
1982
+ setup(t, { emit: i }) {
1983
+ const a = t, { t: e, tc: o, n: r } = Y(), { emitValue: l } = Ni(i);
1984
+ function p(n) {
1704
1985
  return !!n && typeof n.length == "number" && typeof n.item == "function";
1705
1986
  }
1706
- Ra(() => {
1707
- s(e.modelValue) || Za(
1987
+ Fi(() => {
1988
+ p(a.modelValue) || Zi(
1708
1989
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1709
1990
  "Use FileList instead.",
1710
1991
  "2.0.0"
1711
1992
  );
1712
1993
  });
1713
- const { supportedFileTypeList: c } = Ie(ta(e, "accept")), g = _("browse-button"), R = _("custom-text"), $ = _("drop-files-text"), x = _("comma-text"), y = _("file-uploader-restrictions"), z = _("field-label"), m = w(null), E = w([]), T = w(null), O = w(null), J = _("input"), X = _("input-error"), q = d(() => {
1714
- const n = e.label ? `${z} ${x}` : "", l = e.condensed ? "" : `${$} ${x}`, v = e.description ? `${R} ${x}` : "", f = `${y} ${x}`;
1715
- return `${n} ${l} ${v} ${f} ${g}`;
1716
- }), { dragState: M, dragErrors: F, resetDragState: j, onDragEnterValidations: D } = Te({
1717
- accept: ta(e, "accept"),
1718
- maxCount: ta(e, "maxCount")
1994
+ const { supportedFileTypeList: c } = Ia(ti(a, "accept")), g = _("browse-button"), F = _("custom-text"), S = _("drop-files-text"), x = _("comma-text"), w = _("file-uploader-restrictions"), k = _("field-label"), m = y(null), E = y([]), L = y(null), V = y(null), X = _("input"), J = _("input-error"), A = d(() => {
1995
+ const n = a.label ? `${k} ${x}` : "", s = a.condensed ? "" : `${S} ${x}`, v = a.description ? `${F} ${x}` : "", f = `${w} ${x}`;
1996
+ return `${n} ${s} ${v} ${f} ${g}`;
1997
+ }), { dragState: M, dragErrors: R, resetDragState: T, onDragEnterValidations: $ } = La({
1998
+ accept: ti(a, "accept"),
1999
+ maxCount: ti(a, "maxCount")
1719
2000
  }), K = d(() => {
1720
- var n, l, v;
2001
+ var n, s, v;
1721
2002
  return {
1722
- condensed: e.condensed,
1723
- disabled: e.disabled,
1724
- maxCount: V.value ? {
1725
- value: e.maxCount,
1726
- error: F.maxCountOverflow || ra.value
2003
+ condensed: a.condensed,
2004
+ disabled: a.disabled,
2005
+ maxCount: B.value ? {
2006
+ value: a.maxCount,
2007
+ error: R.maxCountOverflow || ri.value
1727
2008
  } : null,
1728
- maxDimensions: e.maxDimensions ? {
1729
- value: e.maxDimensions,
2009
+ maxDimensions: a.maxDimensions ? {
2010
+ value: a.maxDimensions,
1730
2011
  error: (n = m.value) == null ? void 0 : n.some((f) => f.errors.includes(h.ERROR_DIMENSIONS))
1731
2012
  } : null,
1732
- maxSize: e.maxSize ? {
1733
- value: e.maxSize,
1734
- error: (l = m.value) == null ? void 0 : l.some((f) => f.errors.includes(h.ERROR_SIZE))
2013
+ maxSize: a.maxSize ? {
2014
+ value: a.maxSize,
2015
+ error: (s = m.value) == null ? void 0 : s.some((f) => f.errors.includes(h.ERROR_SIZE))
1735
2016
  } : null,
1736
2017
  supportedFileTypes: c.value ? {
1737
2018
  value: c.value,
1738
- error: F.invalidTypes || F.partiallyInvalidTypes || ((v = m.value) == null ? void 0 : v.some((f) => f.errors.includes(h.ERROR_TYPE)))
2019
+ error: R.invalidTypes || R.partiallyInvalidTypes || ((v = m.value) == null ? void 0 : v.some((f) => f.errors.includes(h.ERROR_TYPE)))
1739
2020
  } : null
1740
2021
  };
1741
- }), S = w(), Q = d(() => ({
1742
- [`b-file-uploader--${W.DISABLED}`]: e.disabled,
2022
+ }), j = y(), Q = d(() => ({
2023
+ [`b-file-uploader--${W.DISABLED}`]: a.disabled,
1743
2024
  [`b-file-uploader--${W.DRAG_OVER}`]: M.dragging,
1744
- [`b-file-uploader--${W.ERROR}`]: sa.value,
1745
- "b-file-uploader--condensed": e.condensed
1746
- })), V = d(() => e.maxCount > 1), H = d(() => {
2025
+ [`b-file-uploader--${W.ERROR}`]: pi.value,
2026
+ "b-file-uploader--condensed": a.condensed
2027
+ })), B = d(() => a.maxCount > 1), O = d(() => {
1747
2028
  var n;
1748
- return e.maxCount && ((n = m.value) == null ? void 0 : n.length) >= e.maxCount || e.readonly;
1749
- }), A = d(() => {
2029
+ return a.maxCount && ((n = m.value) == null ? void 0 : n.length) >= a.maxCount || a.readonly;
2030
+ }), U = d(() => {
1750
2031
  var n;
1751
- return (n = m.value) == null ? void 0 : n.some((l) => l.state === "loading");
1752
- }), aa = (n) => (l) => {
1753
- E.value[n] = l;
2032
+ return (n = m.value) == null ? void 0 : n.some((s) => s.state === "loading");
2033
+ }), ii = (n) => (s) => {
2034
+ E.value[n] = s;
1754
2035
  };
1755
- function ia(n) {
2036
+ function ei(n) {
1756
2037
  if (n) {
1757
- ma(n), ua(n);
1758
- const l = va(n);
1759
- a("change", l), p(l);
2038
+ mi(n), ui(n);
2039
+ const s = vi(n);
2040
+ i("change", s), l(s);
1760
2041
  } else
1761
- a("change", void 0), p(void 0);
2042
+ i("change", void 0), l(void 0);
1762
2043
  }
1763
- const sa = d(() => !!e.errorMessage || M.error), ra = d(() => {
2044
+ const pi = d(() => !!a.errorMessage || M.error), ri = d(() => {
1764
2045
  var n;
1765
- return ((n = m.value) == null ? void 0 : n.length) > e.maxCount;
1766
- }), ca = w(!1), da = d(() => {
2046
+ return ((n = m.value) == null ? void 0 : n.length) > a.maxCount;
2047
+ }), ci = y(!1), di = d(() => {
1767
2048
  var n;
1768
- return (n = m.value) == null ? void 0 : n.some((l) => l.state === "error");
2049
+ return (n = m.value) == null ? void 0 : n.some((s) => s.state === "error");
1769
2050
  });
1770
- na(da, (n) => {
1771
- A.value || a("error:upload", n);
2051
+ ni(di, (n) => {
2052
+ U.value || i("error:upload", n);
1772
2053
  });
1773
- async function U() {
2054
+ async function q() {
1774
2055
  var n;
1775
- if (await Aa(), m.value.length === e.maxCount) {
2056
+ if (await Ui(), m.value.length === a.maxCount) {
1776
2057
  (n = E.value[0]) == null || n.focus();
1777
2058
  return;
1778
2059
  }
1779
- O.value.focus();
2060
+ V.value.focus();
1780
2061
  }
1781
- async function Sa(n) {
1782
- m.value = m.value.filter(({ id: l }) => l !== n.id), await U(), ia(m.value);
2062
+ async function ji(n) {
2063
+ m.value = m.value.filter(({ id: s }) => s !== n.id), await q(), ei(m.value);
1783
2064
  }
1784
2065
  function Z(n) {
1785
- const l = oa({
2066
+ const s = oi({
1786
2067
  id: _("file"),
1787
2068
  data: n,
1788
2069
  errors: [],
1789
2070
  progress: null,
1790
- state: k.LOADING,
1791
- type: gi(n)
2071
+ state: z.LOADING,
2072
+ type: ge(n)
1792
2073
  });
1793
- return hi(l, e.accept, e.maxDimensions), l;
2074
+ return he(s, a.accept, a.maxDimensions), s;
1794
2075
  }
1795
- function La(n) {
1796
- var l;
1797
- ((l = m.value) == null ? void 0 : l.length) === e.maxCount && n.preventDefault();
2076
+ function Di(n) {
2077
+ var s;
2078
+ ((s = m.value) == null ? void 0 : s.length) === a.maxCount && n.preventDefault();
1798
2079
  }
1799
- async function ea(n) {
1800
- if (e.maxCount === 1 && n.length > e.maxCount) {
1801
- P(), j();
2080
+ async function ai(n) {
2081
+ if (a.maxCount === 1 && n.length > a.maxCount) {
2082
+ N(), T();
1802
2083
  return;
1803
2084
  }
1804
- V.value ? m.value = [...m.value || [], ...Array.from(n).map((l) => Z(l))] : (m.value = [Z(n[0])], await U()), ia(m.value);
2085
+ B.value ? m.value = [...m.value || [], ...Array.from(n).map((s) => Z(s))] : (m.value = [Z(n[0])], await q()), ei(m.value);
1805
2086
  }
1806
- function Ma(n) {
2087
+ function Mi(n) {
1807
2088
  var v, f;
1808
- if (e.disabled)
2089
+ if (a.disabled)
1809
2090
  return;
1810
- S.value = n.target;
1811
- const l = (((v = n.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((f = m.value) == null ? void 0 : f.length) ?? 0);
1812
- D(l, n);
2091
+ j.value = n.target;
2092
+ const s = (((v = n.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((f = m.value) == null ? void 0 : f.length) ?? 0);
2093
+ $(s, n);
1813
2094
  }
1814
- function P() {
1815
- S.value = null;
2095
+ function N() {
2096
+ j.value = null;
1816
2097
  }
1817
- function Da(n) {
1818
- S.value === n.target && (P(), j());
2098
+ function $i(n) {
2099
+ j.value === n.target && (N(), T());
1819
2100
  }
1820
- function Va(n) {
1821
- n.preventDefault(), e.disabled && (n.dataTransfer.dropEffect = "none");
2101
+ function Bi(n) {
2102
+ n.preventDefault(), a.disabled && (n.dataTransfer.dropEffect = "none");
1822
2103
  }
1823
- async function Ba(n) {
1824
- var l;
1825
- e.disabled || (!F.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && ea(n.dataTransfer.files), P(), j());
2104
+ async function Hi(n) {
2105
+ var s;
2106
+ a.disabled || (!R.invalidTypes && ((s = n.dataTransfer.files) != null && s.length) && ai(n.dataTransfer.files), N(), T());
1826
2107
  }
1827
- async function Oa() {
2108
+ async function Vi() {
1828
2109
  var n;
1829
- (n = T.value.files) != null && n.length && ea(T.value.files), T.value.value = "", await U();
2110
+ (n = L.value.files) != null && n.length && ai(L.value.files), L.value.value = "", await q();
1830
2111
  }
1831
- na(
1832
- () => e.modelValue,
2112
+ ni(
2113
+ () => a.modelValue,
1833
2114
  (n) => {
1834
- if (n && s(n)) {
2115
+ if (n && p(n)) {
1835
2116
  const v = Array.from(n);
1836
2117
  m.value = v.map((f) => Z(f));
1837
2118
  } else !n && m.value && (m.value = null);
1838
2119
  },
1839
2120
  { immediate: !0 }
1840
2121
  );
1841
- function ma(n) {
1842
- const l = e.maxCount && n.length <= e.maxCount;
1843
- ca.value = !l;
2122
+ function mi(n) {
2123
+ const s = a.maxCount && n.length <= a.maxCount;
2124
+ ci.value = !s;
1844
2125
  }
1845
- function ua(n) {
1846
- e.maxSize && n.forEach((l) => {
1847
- const v = l;
2126
+ function ui(n) {
2127
+ a.maxSize && n.forEach((s) => {
2128
+ const v = s;
1848
2129
  let f;
1849
- if (Array.isArray(e.maxSize)) {
1850
- const N = e.maxSize.find(
1851
- (qa) => ja(v.data, qa.fileType)
2130
+ if (Array.isArray(a.maxSize)) {
2131
+ const P = a.maxSize.find(
2132
+ (Ai) => Ti(v.data, Ai.fileType)
1852
2133
  );
1853
- f = N == null ? void 0 : N.maxSize;
2134
+ f = P == null ? void 0 : P.maxSize;
1854
2135
  } else
1855
- f = e.maxSize;
1856
- f && v.data.size > f && (v.state = k.ERROR, v.errors.includes(h.ERROR_SIZE) || v.errors.push(h.ERROR_SIZE));
2136
+ f = a.maxSize;
2137
+ f && v.data.size > f && (v.state = z.ERROR, v.errors.includes(h.ERROR_SIZE) || v.errors.push(h.ERROR_SIZE));
1857
2138
  });
1858
2139
  }
1859
- function va(n) {
1860
- const l = n.filter(
2140
+ function vi(n) {
2141
+ const s = n.filter(
1861
2142
  ({ errors: v }) => !v.includes(h.ERROR_LOAD) && !v.includes(h.ERROR_SIZE)
1862
2143
  );
1863
- if (l.length) {
2144
+ if (s.length) {
1864
2145
  const v = new DataTransfer();
1865
- return l.forEach(({ data: f, id: N }) => {
2146
+ return s.forEach(({ data: f, id: P }) => {
1866
2147
  v.items.add(f);
1867
2148
  }), v.files;
1868
2149
  }
1869
2150
  }
1870
- return { __sfc: !0, t: i, tc: o, n: r, emit: a, props: e, emitValue: p, isFileList: s, supportedFileTypeList: c, browseFilesButtonId: g, customTextId: R, dropFilesTextId: $, commaTextId: x, fileUploaderRestrictionsId: y, fieldLabelId: z, files: m, fileCardRefs: E, inputRef: T, dropAreaRef: O, inputFieldId: J, errorId: X, fileUploadAriaLabelledBy: q, dragState: M, dragErrors: F, resetDragState: j, onDragEnterValidations: D, fileUploadRestrictionsProps: K, enterTarget: S, conditionalClasses: Q, isMultiple: V, hideArea: H, loadingStateExists: A, registerFileCardRef: aa, emitUpdate: ia, hasError: sa, maxFileCountError: ra, maxFileError: ca, hasRestrictionError: da, resetFocus: U, removeFile: Sa, processFile: Z, onInputClick: La, onFileInput: ea, onDragEnter: Ma, resetEnterTarget: P, onDragLeave: Da, onDragOver: Va, onDrop: Ba, onInputChange: Oa, verifyFileCount: ma, verifyFileSize: ua, convertToFileList: va, UploadIcon: pi, WarningFilledIcon: Ea, BentoAlert: Ua, BentoTypography: la, ErrorMessage: ii, FieldLabel: ai, FileUploaderFileCard: be, FileUploaderRestrictions: Re };
2151
+ return { __sfc: !0, t: e, tc: o, n: r, emit: i, props: a, emitValue: l, isFileList: p, supportedFileTypeList: c, browseFilesButtonId: g, customTextId: F, dropFilesTextId: S, commaTextId: x, fileUploaderRestrictionsId: w, fieldLabelId: k, files: m, fileCardRefs: E, inputRef: L, dropAreaRef: V, inputFieldId: X, errorId: J, fileUploadAriaLabelledBy: A, dragState: M, dragErrors: R, resetDragState: T, 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: Vi, verifyFileCount: mi, verifyFileSize: ui, convertToFileList: vi, UploadIcon: le, WarningFilledIcon: Ei, BentoAlert: qi, BentoTypography: si, ErrorMessage: ee, FieldLabel: ie, FileUploaderFileCard: ba, FileUploaderRestrictions: Fa };
1871
2152
  }
1872
2153
  });
1873
- var Me = function() {
2154
+ var Ma = function() {
1874
2155
  var o, r;
1875
- var a = this, e = a._self._c, i = a._self._setupProxy;
1876
- return e("div", { staticClass: "b-file-uploader", class: i.conditionalClasses }, [e(i.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { id: i.fieldLabelId, for: i.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), e("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: i.inputFieldId, "aria-required": a.required, type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: i.isMultiple }, on: { change: i.onInputChange, click: i.onInputClick, invalid: function(p) {
1877
- p.preventDefault();
1878
- } } }), e("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: i.commaTextId, "aria-hidden": "true" } }, [a._v(" , ")]), i.hideArea ? a._e() : e("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": i.fileUploadAriaLabelledBy, role: "button", tabindex: a.disabled ? -1 : 0 }, on: { click: function(p) {
1879
- return i.inputRef.click();
1880
- }, dragenter: function(p) {
1881
- return p.stopPropagation(), p.preventDefault(), i.onDragEnter.apply(null, arguments);
1882
- }, dragleave: function(p) {
1883
- return p.stopPropagation(), p.preventDefault(), i.onDragLeave.apply(null, arguments);
1884
- }, drop: function(p) {
1885
- return p.stopPropagation(), p.preventDefault(), i.onDrop.apply(null, arguments);
1886
- }, dragover: i.onDragOver, "!keydown": [function(p) {
1887
- return !p.type.indexOf("key") && a._k(p.keyCode, "enter", 13, p.key, "Enter") ? null : (p.preventDefault(), i.inputRef.click());
1888
- }, function(p) {
1889
- return !p.type.indexOf("key") && a._k(p.keyCode, "space", 32, p.key, [" ", "Spacebar"]) ? null : (p.preventDefault(), i.inputRef.click());
1890
- }] } }, [e("div", { staticClass: "b-file-uploader__icon", attrs: { "aria-hidden": "true" } }, [i.hasError ? e(i.WarningFilledIcon) : e(i.UploadIcon)], 1), a.condensed ? a._e() : [e(i.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { id: i.dropFilesTextId, el: "span", strongest: "" } }, [a._v(" " + a._s(i.tc("dropFiles", a.maxCount)) + " ")]), a.description ? e(i.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { id: i.customTextId, el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), e(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1))], e(i.BentoTypography, { staticClass: "b-file-uploader__button", attrs: { id: i.browseFilesButtonId, stronger: "" } }, [a._v(" " + a._s(i.t("browseFiles")) + " ")])], 2), i.hasError && a.errorMessage ? e(i.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: i.errorId, "error-message": a.errorMessage } }) : a._e(), a.condensed && a.description ? e(i.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { id: i.customTextId, "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), a.condensed ? e(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1)) : a._e(), i.maxFileCountError ? e(i.BentoAlert, { attrs: { type: "critical" }, scopedSlots: a._u([{ key: "description", fn: function() {
1891
- return [a._v(" " + a._s(i.t("youHaveExceededTheMaximum", { count: i.n(i.props.maxCount) })) + " ")];
1892
- }, proxy: !0 }], null, !1, 2252760379) }, [a._v(" " + a._s(i.t("tooManyFiles")) + " ")]) : a._e(), e("div", { directives: [{ name: "show", rawName: "v-show", value: (o = i.files) == null ? void 0 : o.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(i.files, function(p, s) {
1893
- return e(i.FileUploaderFileCard, { key: p.id, ref: i.registerFileCardRef(s), refInFor: !0, attrs: { file: p, "supported-file-types": i.supportedFileTypeList, readonly: a.readonly }, on: { cancel: function(c) {
1894
- return i.removeFile(p);
2156
+ var i = this, a = i._self._c, e = i._self._setupProxy;
2157
+ 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) {
2158
+ l.preventDefault();
2159
+ } } }), 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", tabindex: i.disabled ? -1 : 0 }, on: { click: function(l) {
2160
+ return e.inputRef.click();
2161
+ }, dragenter: function(l) {
2162
+ return l.stopPropagation(), l.preventDefault(), e.onDragEnter.apply(null, arguments);
2163
+ }, dragleave: function(l) {
2164
+ return l.stopPropagation(), l.preventDefault(), e.onDragLeave.apply(null, arguments);
2165
+ }, drop: function(l) {
2166
+ return l.stopPropagation(), l.preventDefault(), e.onDrop.apply(null, arguments);
2167
+ }, dragover: e.onDragOver, "!keydown": [function(l) {
2168
+ return !l.type.indexOf("key") && i._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : (l.preventDefault(), e.inputRef.click());
2169
+ }, function(l) {
2170
+ return !l.type.indexOf("key") && i._k(l.keyCode, "space", 32, l.key, [" ", "Spacebar"]) ? null : (l.preventDefault(), e.inputRef.click());
2171
+ }] } }, [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() {
2172
+ return [i._v(" " + i._s(e.t("youHaveExceededTheMaximum", { count: e.n(e.props.maxCount) })) + " ")];
2173
+ }, proxy: !0 }], null, !1, 2252760379) }, [i._v(" " + i._s(e.t("tooManyFiles")) + " ")]) : i._e(), a("div", { directives: [{ name: "show", rawName: "v-show", value: (o = e.files) == null ? void 0 : o.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, i._l(e.files, function(l, p) {
2174
+ 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) {
2175
+ return e.removeFile(l);
1895
2176
  }, remove: function(c) {
1896
- return i.removeFile(p);
2177
+ return e.removeFile(l);
1897
2178
  } } });
1898
- }), 1), !((r = i.files) != null && r.length) && a.readonly ? e(i.BentoTypography, { staticClass: "b-file-uploader__no-files", attrs: { wide: "" } }, [a._v(a._s(i.t("noFilesUploaded")))]) : a._e()], 1);
1899
- }, De = [], Ve = /* @__PURE__ */ b(
1900
- Le,
1901
- Me,
1902
- De,
2179
+ }), 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);
2180
+ }, $a = [], Ba = /* @__PURE__ */ b(
2181
+ Da,
2182
+ Ma,
2183
+ $a,
1903
2184
  !1,
1904
2185
  null,
1905
2186
  "0c1b46a7"
1906
2187
  );
1907
- const tt = Ve.exports;
2188
+ const tt = Ba.exports;
1908
2189
  export {
1909
2190
  tt as f
1910
2191
  };
1911
- //# sourceMappingURL=file-uploader.D5Rjsx4k.js.map
2192
+ //# sourceMappingURL=file-uploader.Cig5gDXT.js.map