@adyen/bento-vue3 1.86.0 → 1.87.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 (277) hide show
  1. package/dist/@types/index.d.ts +12337 -12402
  2. package/dist/action-bar.js +1 -1
  3. package/dist/ai-tag.js +1 -1
  4. package/dist/anchor-scroller.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/anchor-scroller.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/checkbox-group.css +1 -1
  12. package/dist/assets/checkbox.css +1 -1
  13. package/dist/assets/controls-group.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-picker.css +1 -1
  16. package/dist/assets/date-range-picker.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown-default-textbox.css +1 -1
  19. package/dist/assets/dropdown.css +1 -1
  20. package/dist/assets/error-message.css +1 -1
  21. package/dist/assets/file-uploader.css +1 -1
  22. package/dist/assets/filter-bar.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/input-field-phone-number.css +1 -1
  25. package/dist/assets/input-field.css +1 -1
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/pagination.css +1 -1
  29. package/dist/assets/radio-group.css +1 -1
  30. package/dist/assets/rich-text-editor.css +1 -1
  31. package/dist/assets/selection-card-group.css +1 -1
  32. package/dist/assets/sidepanel.css +1 -1
  33. package/dist/assets/textarea.css +1 -1
  34. package/dist/button.js +1 -1
  35. package/dist/card.js +1 -1
  36. package/dist/checkbox.js +2 -2
  37. package/dist/chunks/{action-bar.g7rM3wUc.js → action-bar.Ho_fXeXK.js} +4 -4
  38. package/dist/chunks/{action-bar.g7rM3wUc.js.map → action-bar.Ho_fXeXK.js.map} +1 -1
  39. package/dist/chunks/{ai-tag.UlRkq54l.js → ai-tag.DVCW-_vD.js} +2 -2
  40. package/dist/chunks/{ai-tag.UlRkq54l.js.map → ai-tag.DVCW-_vD.js.map} +1 -1
  41. package/dist/chunks/anchor-scroller.BctgW0se.js +214 -0
  42. package/dist/chunks/anchor-scroller.BctgW0se.js.map +1 -0
  43. package/dist/chunks/{base-modal.D5HrjwL1.js → base-modal.gZAtk-xP.js} +17 -17
  44. package/dist/chunks/{base-modal.D5HrjwL1.js.map → base-modal.gZAtk-xP.js.map} +1 -1
  45. package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js → button-actions-with-menu.Tba1ME79.js} +3 -3
  46. package/dist/chunks/{button-actions-with-menu.DBqA3Ws5.js.map → button-actions-with-menu.Tba1ME79.js.map} +1 -1
  47. package/dist/chunks/{button-actions.BH-J7dux.js → button-actions.BYBpjNqy.js} +182 -180
  48. package/dist/chunks/button-actions.BYBpjNqy.js.map +1 -0
  49. package/dist/chunks/{calendar.DzeJoNc2.js → calendar.vM3abC8y.js} +401 -410
  50. package/dist/chunks/calendar.vM3abC8y.js.map +1 -0
  51. package/dist/chunks/{card.DcXXdxWL.js → card.Cw63i7Ul.js} +2 -2
  52. package/dist/chunks/{card.DcXXdxWL.js.map → card.Cw63i7Ul.js.map} +1 -1
  53. package/dist/chunks/{checkbox-group.Bh_aqKoA.js → checkbox-group.ODQy-ICn.js} +42 -41
  54. package/dist/chunks/checkbox-group.ODQy-ICn.js.map +1 -0
  55. package/dist/chunks/{checkbox.7kpOXm-b.js → checkbox.C3Ewfygy.js} +79 -81
  56. package/dist/chunks/checkbox.C3Ewfygy.js.map +1 -0
  57. package/dist/chunks/{code-snippet.UIqVTv4U.js → code-snippet.Dl1MEedz.js} +4 -4
  58. package/dist/chunks/{code-snippet.UIqVTv4U.js.map → code-snippet.Dl1MEedz.js.map} +1 -1
  59. package/dist/chunks/constructNow.CIc7d13I.js +8 -0
  60. package/dist/chunks/{constructNow.B8T1ljs6.js.map → constructNow.CIc7d13I.js.map} +1 -1
  61. package/dist/chunks/{controls-group.Dip3WAKV.js → controls-group.Bu5lNTyH.js} +22 -28
  62. package/dist/chunks/controls-group.Bu5lNTyH.js.map +1 -0
  63. package/dist/chunks/{copy.ByyQlckP.js → copy.C_BCNHYQ.js} +3 -3
  64. package/dist/chunks/{copy.ByyQlckP.js.map → copy.C_BCNHYQ.js.map} +1 -1
  65. package/dist/chunks/{dashboard-section.CIHtXoeW.js → dashboard-section.CgoLquLP.js} +3 -3
  66. package/dist/chunks/{dashboard-section.CIHtXoeW.js.map → dashboard-section.CgoLquLP.js.map} +1 -1
  67. package/dist/chunks/{dashed-underline.CLwPU-C2.js → dashed-underline.wbRHATeE.js} +3 -3
  68. package/dist/chunks/{dashed-underline.CLwPU-C2.js.map → dashed-underline.wbRHATeE.js.map} +1 -1
  69. package/dist/chunks/{data-grid-template.BTpSfkQt.js → data-grid-template.D40V1cmi.js} +3 -3
  70. package/dist/chunks/{data-grid-template.BTpSfkQt.js.map → data-grid-template.D40V1cmi.js.map} +1 -1
  71. package/dist/chunks/{data-grid.CXDdiHz8.js → data-grid.KudN-TcY.js} +870 -867
  72. package/dist/chunks/{data-grid.CXDdiHz8.js.map → data-grid.KudN-TcY.js.map} +1 -1
  73. package/dist/chunks/date-picker.D5B_SECc.js +251 -0
  74. package/dist/chunks/date-picker.D5B_SECc.js.map +1 -0
  75. package/dist/chunks/date-range-picker.CDDw_xl_.js +1104 -0
  76. package/dist/chunks/date-range-picker.CDDw_xl_.js.map +1 -0
  77. package/dist/chunks/{de.DvtL0g75.js → de.BJvo6njq.js} +2 -2
  78. package/dist/chunks/{de.DvtL0g75.js.map → de.BJvo6njq.js.map} +1 -1
  79. package/dist/chunks/{dialog-page.B3ptLXXP.js → dialog-page.C1KUI51V.js} +2 -2
  80. package/dist/chunks/{dialog-page.B3ptLXXP.js.map → dialog-page.C1KUI51V.js.map} +1 -1
  81. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js → differenceInMonths.CIYECBxK.js} +7 -7
  82. package/dist/chunks/{differenceInMonths.BR4Z2HIa.js.map → differenceInMonths.CIYECBxK.js.map} +1 -1
  83. package/dist/chunks/{dropdown-default-textbox.B-_dTUVX.js → dropdown-default-textbox.CskseEho.js} +62 -60
  84. package/dist/chunks/dropdown-default-textbox.CskseEho.js.map +1 -0
  85. package/dist/chunks/{dropdown-tag.DDNOZhEG.js → dropdown-tag.CwSzUwa7.js} +3 -3
  86. package/dist/chunks/{dropdown-tag.DDNOZhEG.js.map → dropdown-tag.CwSzUwa7.js.map} +1 -1
  87. package/dist/chunks/{dropdown.CU6nfq3V.js → dropdown.Bdw2B-Cw.js} +9 -9
  88. package/dist/chunks/{dropdown.CU6nfq3V.js.map → dropdown.Bdw2B-Cw.js.map} +1 -1
  89. package/dist/chunks/{en-GB.DCGuCmAv.js → en-GB.C3-QUpva.js} +2 -2
  90. package/dist/chunks/{en-GB.DCGuCmAv.js.map → en-GB.C3-QUpva.js.map} +1 -1
  91. package/dist/chunks/{en-US.BZii9jNW.js → en-US.YeSsZuOc.js} +150 -100
  92. package/dist/chunks/en-US.YeSsZuOc.js.map +1 -0
  93. package/dist/chunks/error-message.oGiefI2-.js +155 -0
  94. package/dist/chunks/error-message.oGiefI2-.js.map +1 -0
  95. package/dist/chunks/{es.bz0mzkMq.js → es.DyUjjSL8.js} +2 -2
  96. package/dist/chunks/{es.bz0mzkMq.js.map → es.DyUjjSL8.js.map} +1 -1
  97. package/dist/chunks/{file-uploader.Q2ufNRTY.js → file-uploader.BnmNI1O7.js} +573 -548
  98. package/dist/chunks/file-uploader.BnmNI1O7.js.map +1 -0
  99. package/dist/chunks/{filter-bar.BVj9YVv-.js → filter-bar.xwfVuZw4.js} +1973 -2062
  100. package/dist/chunks/filter-bar.xwfVuZw4.js.map +1 -0
  101. package/dist/chunks/{focus-trap.CBvh2H_m.js → focus-trap.BxCwzLqN.js} +2 -2
  102. package/dist/chunks/{focus-trap.CBvh2H_m.js.map → focus-trap.BxCwzLqN.js.map} +1 -1
  103. package/dist/chunks/{footer-actions.DLzMOB7j.js → footer-actions.Ck6UztD8.js} +2 -2
  104. package/dist/chunks/{footer-actions.DLzMOB7j.js.map → footer-actions.Ck6UztD8.js.map} +1 -1
  105. package/dist/chunks/form-layout-title.CQfeGyVw.js +232 -0
  106. package/dist/chunks/{form-layout-title.DYmTc6M7.js.map → form-layout-title.CQfeGyVw.js.map} +1 -1
  107. package/dist/chunks/{match.CMBZxEs9.js → fr.JD_4GwS8.js} +98 -61
  108. package/dist/chunks/fr.JD_4GwS8.js.map +1 -0
  109. package/dist/chunks/{header-meta.Bw8ZGwJW.js → header-meta.lGt3HsyH.js} +108 -114
  110. package/dist/chunks/header-meta.lGt3HsyH.js.map +1 -0
  111. package/dist/chunks/{header-with-views.CJDoE4hw.js → header-with-views.BT6lbAby.js} +9 -9
  112. package/dist/chunks/{header-with-views.CJDoE4hw.js.map → header-with-views.BT6lbAby.js.map} +1 -1
  113. package/dist/chunks/{header.BeH8KH_l.js → header.oXqwf2xN.js} +3 -3
  114. package/dist/chunks/{header.BeH8KH_l.js.map → header.oXqwf2xN.js.map} +1 -1
  115. package/dist/chunks/{index.CbxHJr39.js → index.Dppy4qHk.js} +204 -197
  116. package/dist/chunks/{index.CbxHJr39.js.map → index.Dppy4qHk.js.map} +1 -1
  117. package/dist/chunks/{info-icon.BLtyJvY4.js → info-icon.DyPOv7Pi.js} +3 -3
  118. package/dist/chunks/{info-icon.BLtyJvY4.js.map → info-icon.DyPOv7Pi.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.KeKQPIZv.js → input-field-password.CKhqGBVB.js} +6 -6
  120. package/dist/chunks/{input-field-password.KeKQPIZv.js.map → input-field-password.CKhqGBVB.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.eaU9p15A.js → input-field-phone-number.Cailj_71.js} +49 -49
  122. package/dist/chunks/{input-field-phone-number.eaU9p15A.js.map → input-field-phone-number.Cailj_71.js.map} +1 -1
  123. package/dist/chunks/{input-field.CNdqlGw6.js → input-field.DqXVoKpy.js} +15 -14
  124. package/dist/chunks/input-field.DqXVoKpy.js.map +1 -0
  125. package/dist/chunks/{inspector.Bnf0g7QE.js → inspector.BjLhY3bE.js} +3 -3
  126. package/dist/chunks/{inspector.Bnf0g7QE.js.map → inspector.BjLhY3bE.js.map} +1 -1
  127. package/dist/chunks/isSameWeek.CzBCmu7d.js +14 -0
  128. package/dist/chunks/{isSameWeek.DjeUtLwI.js.map → isSameWeek.CzBCmu7d.js.map} +1 -1
  129. package/dist/chunks/{it.DIafuXtH.js → it.BlUnV-yA.js} +3 -3
  130. package/dist/chunks/{it.DIafuXtH.js.map → it.BlUnV-yA.js.map} +1 -1
  131. package/dist/chunks/{ja.Cm9tJMi2.js → ja.nUwDmVf2.js} +8 -8
  132. package/dist/chunks/{ja.Cm9tJMi2.js.map → ja.nUwDmVf2.js.map} +1 -1
  133. package/dist/chunks/{layout-row.Bz-mRqAq.js → layout-row.Da8nkm9z.js} +2 -2
  134. package/dist/chunks/{layout-row.Bz-mRqAq.js.map → layout-row.Da8nkm9z.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.C3ihNg6_.js → listbox-option-tag.CoBUYwFG.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.C3ihNg6_.js.map → listbox-option-tag.CoBUYwFG.js.map} +1 -1
  137. package/dist/chunks/modal-fullscreen.9ZDR_S29.js +301 -0
  138. package/dist/chunks/modal-fullscreen.9ZDR_S29.js.map +1 -0
  139. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js} +4 -4
  140. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAwez0nB.js.map → modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map} +1 -1
  141. package/dist/chunks/pagination.CqCd5JCe.js +488 -0
  142. package/dist/chunks/pagination.CqCd5JCe.js.map +1 -0
  143. package/dist/chunks/popover.types.DhALnOLQ.js +6 -0
  144. package/dist/chunks/{popover.types.C_Z2JeVK.js.map → popover.types.DhALnOLQ.js.map} +1 -1
  145. package/dist/chunks/{popper-container.BefZxTzP.js → popper-container.DAK7c9uS.js} +2 -2
  146. package/dist/chunks/{popper-container.BefZxTzP.js.map → popper-container.DAK7c9uS.js.map} +1 -1
  147. package/dist/chunks/{promo-banner.BLie64oS.js → promo-banner.aNwH6uQx.js} +2 -2
  148. package/dist/chunks/{promo-banner.BLie64oS.js.map → promo-banner.aNwH6uQx.js.map} +1 -1
  149. package/dist/chunks/{pt-BR.CiGdfP45.js → pt-BR.BCU2Hj36.js} +2 -2
  150. package/dist/chunks/{pt-BR.CiGdfP45.js.map → pt-BR.BCU2Hj36.js.map} +1 -1
  151. package/dist/chunks/{radio-group.C6nQRQDB.js → radio-group.v8mDVZ-o.js} +24 -23
  152. package/dist/chunks/{radio-group.C6nQRQDB.js.map → radio-group.v8mDVZ-o.js.map} +1 -1
  153. package/dist/chunks/{rich-text-editor.C39NKgl0.js → rich-text-editor.DH1d5Zcp.js} +7 -6
  154. package/dist/chunks/{rich-text-editor.C39NKgl0.js.map → rich-text-editor.DH1d5Zcp.js.map} +1 -1
  155. package/dist/chunks/{search-bar.CbTrg2Sk.js → search-bar.DGpLNVng.js} +3 -3
  156. package/dist/chunks/{search-bar.CbTrg2Sk.js.map → search-bar.DGpLNVng.js.map} +1 -1
  157. package/dist/chunks/{secondary-nav.DTOZQewf.js → secondary-nav.l_60nnXA.js} +3 -3
  158. package/dist/chunks/{secondary-nav.DTOZQewf.js.map → secondary-nav.l_60nnXA.js.map} +1 -1
  159. package/dist/chunks/{segmented-control.D9rHBysM.js → segmented-control.Aqquod8g.js} +2 -2
  160. package/dist/chunks/{segmented-control.D9rHBysM.js.map → segmented-control.Aqquod8g.js.map} +1 -1
  161. package/dist/chunks/{selection-card-group.KEsG0D5V.js → selection-card-group.KBl4fVSH.js} +107 -106
  162. package/dist/chunks/selection-card-group.KBl4fVSH.js.map +1 -0
  163. package/dist/chunks/{sidepanel.DJCagqzl.js → sidepanel.DaXPcTHm.js} +5 -5
  164. package/dist/chunks/{sidepanel.DJCagqzl.js.map → sidepanel.DaXPcTHm.js.map} +1 -1
  165. package/dist/chunks/{startOfWeek.D8Yh4c0G.js → startOfWeek.CXhhX-R7.js} +2 -2
  166. package/dist/chunks/{startOfWeek.D8Yh4c0G.js.map → startOfWeek.CXhhX-R7.js.map} +1 -1
  167. package/dist/chunks/{structured-list-item.f1tmHSEN.js → structured-list-item.DAIaUMCY.js} +4 -4
  168. package/dist/chunks/{structured-list-item.f1tmHSEN.js.map → structured-list-item.DAIaUMCY.js.map} +1 -1
  169. package/dist/chunks/{summary-grid.types.COcV-sOB.js → summary-grid.types.BZcZS_dW.js} +5 -5
  170. package/dist/chunks/{summary-grid.types.COcV-sOB.js.map → summary-grid.types.BZcZS_dW.js.map} +1 -1
  171. package/dist/chunks/{tag.Dr7MKe9q.js → tag.CqWg6C3H.js} +2 -2
  172. package/dist/chunks/{tag.Dr7MKe9q.js.map → tag.CqWg6C3H.js.map} +1 -1
  173. package/dist/chunks/{textarea.CtgbUCjH.js → textarea.CvI2InIB.js} +18 -17
  174. package/dist/chunks/textarea.CvI2InIB.js.map +1 -0
  175. package/dist/chunks/{timeline-item.D9nmCe6u.js → timeline-item.BooD99hL.js} +93 -95
  176. package/dist/chunks/timeline-item.BooD99hL.js.map +1 -0
  177. package/dist/chunks/{tooltip.DYpJZ-99.js → tooltip.Lwtlhv3u.js} +2 -2
  178. package/dist/chunks/{tooltip.DYpJZ-99.js.map → tooltip.Lwtlhv3u.js.map} +1 -1
  179. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js} +4 -4
  180. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.B5hWgNSd.js.map → tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map} +1 -1
  181. package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js → use-cached-selected-values.C4_X3vVj.js} +2 -2
  182. package/dist/chunks/{use-cached-selected-values.BiSuG1eX.js.map → use-cached-selected-values.C4_X3vVj.js.map} +1 -1
  183. package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +1732 -0
  184. package/dist/chunks/use-date-input-formatter.dtbK-CEy.js.map +1 -0
  185. package/dist/chunks/{zh-CN.Bw_6j9Cd.js → zh-CN.ChYkuQAR.js} +3 -3
  186. package/dist/chunks/{zh-CN.Bw_6j9Cd.js.map → zh-CN.ChYkuQAR.js.map} +1 -1
  187. package/dist/code-snippet.js +1 -1
  188. package/dist/dashboard-template.js +1 -1
  189. package/dist/dashed-underline.js +1 -1
  190. package/dist/data-grid-template.js +1 -1
  191. package/dist/data-grid.js +1 -1
  192. package/dist/date-picker.js +2 -2
  193. package/dist/date-range-picker.js +2 -2
  194. package/dist/draggable-handle.js +1 -1
  195. package/dist/dropdown.js +4 -4
  196. package/dist/file-uploader.js +1 -1
  197. package/dist/filter-bar.js +1 -1
  198. package/dist/focus-trap.js +1 -1
  199. package/dist/form-layout.js +1 -1
  200. package/dist/header-with-views.js +1 -1
  201. package/dist/header.js +1 -1
  202. package/dist/index.js +50 -50
  203. package/dist/index.js.map +1 -1
  204. package/dist/info-icon.js +1 -1
  205. package/dist/input-field-password.js +1 -1
  206. package/dist/input-field-phone-number.js +1 -1
  207. package/dist/input-field.js +1 -1
  208. package/dist/inspector.js +1 -1
  209. package/dist/internal.js +11 -11
  210. package/dist/layout.js +1 -1
  211. package/dist/menu.js +1 -1
  212. package/dist/modal-fullscreen.js +1 -1
  213. package/dist/modal.js +2 -2
  214. package/dist/pagination.js +1 -1
  215. package/dist/popover.js +2 -2
  216. package/dist/popper-container.js +1 -1
  217. package/dist/promo-banner.js +1 -1
  218. package/dist/radio-group.js +1 -1
  219. package/dist/rich-text-editor.js +1 -1
  220. package/dist/search-bar.js +2 -2
  221. package/dist/secondary-nav.js +1 -1
  222. package/dist/segmented-control.js +1 -1
  223. package/dist/selection-card.js +1 -1
  224. package/dist/sidepanel.js +1 -1
  225. package/dist/structured-list.js +1 -1
  226. package/dist/summary-grid.js +1 -1
  227. package/dist/tag.js +1 -1
  228. package/dist/textarea.js +1 -1
  229. package/dist/timeline.js +1 -1
  230. package/dist/tutorial.js +1 -1
  231. package/dist/web-types.json +1 -1
  232. package/package.json +11 -16
  233. package/dist/chunks/anchor-scroller.CKIQu3NK.js +0 -215
  234. package/dist/chunks/anchor-scroller.CKIQu3NK.js.map +0 -1
  235. package/dist/chunks/button-actions.BH-J7dux.js.map +0 -1
  236. package/dist/chunks/calendar.DzeJoNc2.js.map +0 -1
  237. package/dist/chunks/checkbox-group.Bh_aqKoA.js.map +0 -1
  238. package/dist/chunks/checkbox.7kpOXm-b.js.map +0 -1
  239. package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
  240. package/dist/chunks/controls-group.Dip3WAKV.js.map +0 -1
  241. package/dist/chunks/date-input.XSJuuCHe.js +0 -20
  242. package/dist/chunks/date-input.XSJuuCHe.js.map +0 -1
  243. package/dist/chunks/date-picker.CvTSZhMI.js +0 -250
  244. package/dist/chunks/date-picker.CvTSZhMI.js.map +0 -1
  245. package/dist/chunks/date-range-picker.BPCt7cwj.js +0 -1100
  246. package/dist/chunks/date-range-picker.BPCt7cwj.js.map +0 -1
  247. package/dist/chunks/dropdown-default-textbox.B-_dTUVX.js.map +0 -1
  248. package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
  249. package/dist/chunks/error-message.BYA2_fPV.js +0 -158
  250. package/dist/chunks/error-message.BYA2_fPV.js.map +0 -1
  251. package/dist/chunks/file-uploader.Q2ufNRTY.js.map +0 -1
  252. package/dist/chunks/filter-bar.BVj9YVv-.js.map +0 -1
  253. package/dist/chunks/form-layout-title.DYmTc6M7.js +0 -214
  254. package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
  255. package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
  256. package/dist/chunks/fr.Dj7wEToe.js +0 -47
  257. package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
  258. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
  259. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
  260. package/dist/chunks/header-meta.Bw8ZGwJW.js.map +0 -1
  261. package/dist/chunks/input-field.CNdqlGw6.js.map +0 -1
  262. package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
  263. package/dist/chunks/ko.Ceaof6EP.js +0 -348
  264. package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
  265. package/dist/chunks/match.CMBZxEs9.js.map +0 -1
  266. package/dist/chunks/modal-fullscreen.B3AGUJgl.js +0 -289
  267. package/dist/chunks/modal-fullscreen.B3AGUJgl.js.map +0 -1
  268. package/dist/chunks/nl.B6vCf2B9.js +0 -327
  269. package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
  270. package/dist/chunks/pagination.lu9nx8j8.js +0 -461
  271. package/dist/chunks/pagination.lu9nx8j8.js.map +0 -1
  272. package/dist/chunks/popover.types.C_Z2JeVK.js +0 -6
  273. package/dist/chunks/selection-card-group.KEsG0D5V.js.map +0 -1
  274. package/dist/chunks/sv.f8EfZjMZ.js +0 -377
  275. package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
  276. package/dist/chunks/textarea.CtgbUCjH.js.map +0 -1
  277. package/dist/chunks/timeline-item.D9nmCe6u.js.map +0 -1
@@ -1,114 +1,114 @@
1
- import { openBlock as s, createElementBlock as g, mergeProps as D, toDisplayString as x, createCommentVNode as f, createElementVNode as m, defineComponent as da, unref as t, createBlock as w, Transition as ci, withCtx as h, renderSlot as _a, TransitionGroup as di, ref as I, onUnmounted as ri, onMounted as Ha, computed as b, watch as ba, normalizeClass as B, createVNode as O, resolveDynamicComponent as mi, withDirectives as Ba, createTextVNode as $, reactive as wa, toRef as ga, withKeys as za, withModifiers as ia, Fragment as ja, renderList as ui, vShow as vi, nextTick as fi } from "vue";
1
+ import { openBlock as s, createElementBlock as g, mergeProps as V, toDisplayString as x, createCommentVNode as u, createElementVNode as r, defineComponent as da, unref as t, createBlock as y, Transition as ri, withCtx as w, renderSlot as Ra, TransitionGroup as mi, ref as S, onUnmounted as ui, onMounted as Ua, computed as f, watch as ya, normalizeClass as N, createVNode as Z, resolveDynamicComponent as vi, withDirectives as Za, createTextVNode as z, reactive as ka, toRef as ba, withModifiers as X, withKeys as Ea, Fragment as Ia, renderList as fi, vShow as xi, nextTick as gi } from "vue";
2
2
  /* empty css */
3
- import { _ as F } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
- import { W as Aa } from "./warning-filled.BzyK_mMj.js";
5
- import { B as xi } from "./alert.CDWtu0Hu.js";
6
- import { B as R, d as gi } from "./typography.B3J6_tYk.js";
3
+ import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
+ import { W as Na } from "./warning-filled.BzyK_mMj.js";
5
+ import { B as hi } from "./alert.CDWtu0Hu.js";
6
+ import { B as I, d as bi } from "./typography.B3J6_tYk.js";
7
7
  import { u as ra } from "./index.B875RXHM.js";
8
- import { g as T } from "./generate-uid.NJ8tVoha.js";
9
- import { u as hi } from "./form-field.D_2g7vaP.js";
10
- import { i as Za } from "./index.CWuzEfiV.js";
11
- import { B as bi } from "./bin.Cude0fiB.js";
12
- import { C as wi } from "./checkmark-circle-fill.DugX5fbG.js";
13
- import { C as yi } from "./cross.CCHdi6v3.js";
14
- import { R as ki } from "./refresh.C31KClfx.js";
15
- import { b as Ci } from "./tooltip.DYpJZ-99.js";
16
- import { B as ha } from "./button.C6t9_lzm.js";
17
- import { B as $i } from "./link.DTCn2EtX.js";
18
- import { B as _i } from "./loading-indicator.BPol9I84.js";
19
- import { F as zi, E as ji } from "./error-message.BYA2_fPV.js";
8
+ import { g as F } from "./generate-uid.NJ8tVoha.js";
9
+ import { u as wi } from "./form-field.D_2g7vaP.js";
10
+ import { i as Pa } from "./index.CWuzEfiV.js";
11
+ import { B as yi } from "./bin.Cude0fiB.js";
12
+ import { C as ki } from "./checkmark-circle-fill.DugX5fbG.js";
13
+ import { C as Ci } from "./cross.CCHdi6v3.js";
14
+ import { R as $i } from "./refresh.C31KClfx.js";
15
+ import { b as zi } from "./tooltip.Lwtlhv3u.js";
16
+ import { B as wa } from "./button.C6t9_lzm.js";
17
+ import { B as _i } from "./link.DTCn2EtX.js";
18
+ import { B as ji } from "./loading-indicator.BPol9I84.js";
19
+ import { F as Ri, E as Ei } from "./error-message.oGiefI2-.js";
20
20
  import "../assets/file-uploader.css";
21
- let Ra = 0;
22
- const Ri = {
21
+ let Fa = 0;
22
+ const Ii = {
23
23
  beforeCreate() {
24
- this.uuid = Ra.toString(), Ra += 1;
24
+ this.uuid = Fa.toString(), Fa += 1;
25
25
  }
26
- }, Ei = { key: 0 };
27
- function Ii(a, i, o, p, n, d) {
28
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
26
+ }, Fi = { key: 0 };
27
+ function Si(a, i, n, o, p, d) {
28
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
29
29
  class: "ui-assets-icons-16",
30
30
  xmlns: "http://www.w3.org/2000/svg",
31
31
  width: "16",
32
32
  height: "16",
33
33
  fill: "none"
34
34
  }), [
35
- a.$attrs["svg-title"] ? (s(), g("title", Ei, x(a.$attrs["svg-title"]), 1)) : f("", !0),
36
- i[0] || (i[0] = m("path", {
35
+ a.$attrs["svg-title"] ? (s(), g("title", Fi, x(a.$attrs["svg-title"]), 1)) : u("", !0),
36
+ i[0] || (i[0] = r("path", {
37
37
  fill: "#001222",
38
38
  d: "M2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.25H14.75V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V10.25H2.75V12Z"
39
39
  }, null, -1)),
40
- i[1] || (i[1] = m("path", {
40
+ i[1] || (i[1] = r("path", {
41
41
  fill: "#001222",
42
42
  d: "M12.0605 5L11 6.06055L8.75 3.81055V11.75H7.25V3.81055L5 6.06055L3.93945 5L8 0.939453L12.0605 5Z"
43
43
  }, null, -1))
44
44
  ], 16);
45
45
  }
46
- const Fi = /* @__PURE__ */ F(Ri, [["render", Ii]]), Li = /* @__PURE__ */ da({
46
+ const Li = /* @__PURE__ */ L(Ii, [["render", Si]]), Ti = /* @__PURE__ */ da({
47
47
  __name: "file-uploader-file-card-animation",
48
48
  props: {
49
49
  name: {},
50
50
  showFileIcon: { type: Boolean }
51
51
  },
52
52
  setup(a) {
53
- return (i, o) => t(Za) ? (s(), w(ci, {
53
+ return (i, n) => t(Pa) ? (s(), y(ri, {
54
54
  key: 0,
55
55
  name: i.name,
56
56
  mode: "out-in",
57
57
  css: i.showFileIcon
58
58
  }, {
59
- default: h(() => [
60
- _a(i.$slots, "default")
59
+ default: w(() => [
60
+ Ra(i.$slots, "default")
61
61
  ]),
62
62
  _: 3
63
- }, 8, ["name", "css"])) : (s(), w(di, {
63
+ }, 8, ["name", "css"])) : (s(), y(mi, {
64
64
  key: 1,
65
65
  name: i.name,
66
66
  css: i.showFileIcon
67
67
  }, {
68
- default: h(() => [
69
- _a(i.$slots, "default")
68
+ default: w(() => [
69
+ Ra(i.$slots, "default")
70
70
  ]),
71
71
  _: 3
72
72
  }, 8, ["name", "css"]));
73
73
  }
74
74
  });
75
75
  function Mi(a, i) {
76
- const o = I(!1);
77
- let p;
78
- function n() {
79
- p && p.disconnect();
76
+ const n = S(!1);
77
+ let o;
78
+ function p() {
79
+ o && o.disconnect();
80
80
  }
81
- return ri(() => {
82
- n();
83
- }), Ha(() => {
84
- n(), p = new IntersectionObserver(
81
+ return ui(() => {
82
+ p();
83
+ }), Ua(() => {
84
+ p(), o = new IntersectionObserver(
85
85
  (d) => {
86
- o.value = !d[0].isIntersecting;
86
+ n.value = !d[0].isIntersecting;
87
87
  },
88
88
  {
89
89
  root: i.value,
90
90
  threshold: 1
91
91
  }
92
- ), p.observe(a.value.$el);
93
- }), o;
92
+ ), o.observe(a.value.$el);
93
+ }), n;
94
94
  }
95
- const Ea = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
96
- function Ua(a, i) {
97
- const o = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), Ea.length - 1));
95
+ const Sa = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
96
+ function Ca(a, i) {
97
+ const n = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), Sa.length - 1));
98
98
  return Intl.NumberFormat(a, {
99
99
  style: "unit",
100
- unit: Ea[o]
101
- }).format(i / 1024 ** o);
100
+ unit: Sa[n]
101
+ }).format(i / 1024 ** n);
102
102
  }
103
- var S = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(S || {}), j = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(j || {}), ca = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(ca || {}), y = /* @__PURE__ */ ((a) => (a.TABLE = "table", a.IMAGE = "image", a.VIDEO = "video", a.AUDIO = "audio", a.TEXT = "text", a.PDF = "pdf", a.SLIDES = "slides", a.COMPRESSED = "compressed", a.GENERIC = "generic", a))(y || {});
104
- const Ti = [
103
+ var D = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(D || {}), E = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(E || {}), ca = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(ca || {}), k = /* @__PURE__ */ ((a) => (a.TABLE = "table", a.IMAGE = "image", a.VIDEO = "video", a.AUDIO = "audio", a.TEXT = "text", a.PDF = "pdf", a.SLIDES = "slides", a.COMPRESSED = "compressed", a.GENERIC = "generic", a))(k || {});
104
+ const Di = [
105
105
  "application/msword",
106
106
  // .doc
107
107
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
108
108
  // .docx
109
109
  "application/rtf"
110
110
  // .rtf
111
- ], Si = [
111
+ ], Vi = [
112
112
  "application/vnd.ms-excel",
113
113
  // .xls
114
114
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -121,14 +121,14 @@ const Ti = [
121
121
  // .numbers
122
122
  "text/csv"
123
123
  // .csv
124
- ], Di = [
124
+ ], Oi = [
125
125
  "application/vnd.ms-powerpoint",
126
126
  // .ppt
127
127
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
128
128
  // .pptx
129
129
  "application/vnd.oasis.opendocument.presentation"
130
130
  // .odp
131
- ], Vi = [
131
+ ], qi = [
132
132
  "application/zip",
133
133
  // .zip
134
134
  "application/vnd.rar",
@@ -150,101 +150,104 @@ const Ti = [
150
150
  "application/vnd.ms-cab-compressed"
151
151
  // .cab
152
152
  ];
153
- function Oi(a) {
154
- return Si.includes(a.type) ? y.TABLE : a.type.startsWith("text/") || Ti.includes(a.type) ? y.TEXT : a.type.startsWith("image/") ? y.IMAGE : a.type.startsWith("video/") ? y.VIDEO : a.type.startsWith("audio/") ? y.AUDIO : a.type === "application/pdf" ? y.PDF : Di.includes(a.type) ? y.SLIDES : Vi.includes(a.type) ? y.COMPRESSED : y.GENERIC;
153
+ function Hi(a) {
154
+ return Vi.includes(a.type) ? k.TABLE : a.type.startsWith("text/") || Di.includes(a.type) ? k.TEXT : a.type.startsWith("image/") ? k.IMAGE : a.type.startsWith("video/") ? k.VIDEO : a.type.startsWith("audio/") ? k.AUDIO : a.type === "application/pdf" ? k.PDF : Oi.includes(a.type) ? k.SLIDES : qi.includes(a.type) ? k.COMPRESSED : k.GENERIC;
155
155
  }
156
- function qi(a, i) {
156
+ function Wa(a, i) {
157
157
  if (!i)
158
158
  return !0;
159
- const o = i.split(",").map((p) => p.trim());
160
- for (const p of o)
161
- if (p.startsWith(".")) {
162
- if (a.name.endsWith(p))
159
+ const n = i.split(",").map((o) => o.trim());
160
+ for (const o of n)
161
+ if (o.startsWith(".")) {
162
+ if (a.name.endsWith(o))
163
163
  return !0;
164
- } else if (p.endsWith("/*")) {
165
- const n = p.split("/")[0];
166
- if (a.type.startsWith(n))
164
+ } else if (o.endsWith("/*")) {
165
+ const p = o.split("/")[0];
166
+ if (a.type.startsWith(p))
167
167
  return !0;
168
- } else if (a.type === p)
168
+ } else if (o.includes("/")) {
169
+ if (a.type === o)
170
+ return !0;
171
+ } else if (a.name.endsWith(`.${o}`))
169
172
  return !0;
170
173
  return !1;
171
174
  }
172
- function Hi(a, i, o) {
173
- const p = new FileReader(), n = a;
174
- if (!qi(n.data, i)) {
175
- n.state = S.ERROR, n.errors.push(j.ERROR_TYPE);
175
+ function Bi(a, i, n) {
176
+ const o = new FileReader(), p = a;
177
+ if (!Wa(p.data, i)) {
178
+ p.state = D.ERROR, p.errors.push(E.ERROR_TYPE);
176
179
  return;
177
180
  }
178
- p.onload = (d) => {
179
- if (o && n.type === y.IMAGE) {
180
- const l = new Blob([d.target.result], { type: n.data.type }), u = URL.createObjectURL(l), k = new Image();
181
- k.onload = function() {
182
- (k.width > o.width || k.height > o.height) && (n.state = S.ERROR, n.errors.push(j.ERROR_DIMENSIONS)), URL.revokeObjectURL(u);
183
- }, k.onerror = function() {
184
- URL.revokeObjectURL(u);
185
- }, k.src = u;
181
+ o.onload = (d) => {
182
+ if (n && p.type === k.IMAGE) {
183
+ const l = new Blob([d.target.result], { type: p.data.type }), m = URL.createObjectURL(l), h = new Image();
184
+ h.onload = function() {
185
+ (h.width > n.width || h.height > n.height) && (p.state = D.ERROR, p.errors.push(E.ERROR_DIMENSIONS)), URL.revokeObjectURL(m);
186
+ }, h.onerror = function() {
187
+ URL.revokeObjectURL(m);
188
+ }, h.src = m;
186
189
  }
187
- }, p.onprogress = (d) => {
188
- d.lengthComputable && (n.progress = d.loaded / d.total * 100);
189
- }, p.onloadend = () => {
190
- n.state !== S.ERROR && (n.state = S.SUCCESS), n.progress = null;
191
- }, p.onerror = () => {
192
- n.state = S.ERROR, n.errors.push(j.ERROR_LOAD), n.progress = null;
193
- }, p.readAsArrayBuffer(n.data);
190
+ }, o.onprogress = (d) => {
191
+ d.lengthComputable && (p.progress = d.loaded / d.total * 100);
192
+ }, o.onloadend = () => {
193
+ p.state !== D.ERROR && (p.state = D.SUCCESS), p.progress = null;
194
+ }, o.onerror = () => {
195
+ p.state = D.ERROR, p.errors.push(E.ERROR_LOAD), p.progress = null;
196
+ }, o.readAsArrayBuffer(p.data);
194
197
  }
195
- let Ia = 0;
196
- const Bi = {
198
+ let La = 0;
199
+ const Ai = {
197
200
  beforeCreate() {
198
- this.uuid = Ia.toString(), Ia += 1;
201
+ this.uuid = La.toString(), La += 1;
199
202
  }
200
- }, Ai = { key: 0 }, Zi = ["clip-path"], Ui = ["id"];
201
- function Ni(a, i, o, p, n, d) {
202
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
203
+ }, Ui = { key: 0 }, Zi = ["clip-path"], Ni = ["id"];
204
+ function Pi(a, i, n, o, p, d) {
205
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
203
206
  class: "ui-assets-icons-16",
204
207
  xmlns: "http://www.w3.org/2000/svg",
205
208
  width: "16",
206
209
  height: "16",
207
210
  fill: "none"
208
211
  }), [
209
- a.$attrs["svg-title"] ? (s(), g("title", Ai, x(a.$attrs["svg-title"]), 1)) : f("", !0),
210
- m("g", {
212
+ a.$attrs["svg-title"] ? (s(), g("title", Ui, x(a.$attrs["svg-title"]), 1)) : u("", !0),
213
+ r("g", {
211
214
  "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")"
212
215
  }, i[0] || (i[0] = [
213
- m("path", {
216
+ r("path", {
214
217
  fill: "#001222",
215
218
  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"
216
219
  }, null, -1)
217
220
  ]), 8, Zi),
218
- m("defs", null, [
219
- m("clipPath", {
221
+ r("defs", null, [
222
+ r("clipPath", {
220
223
  id: "uia-ui-assets/icons-16-attachment__a" + a.uuid
221
224
  }, i[1] || (i[1] = [
222
- m("rect", {
225
+ r("rect", {
223
226
  width: "16",
224
227
  height: "16",
225
228
  fill: "#fff"
226
229
  }, null, -1)
227
- ]), 8, Ui)
230
+ ]), 8, Ni)
228
231
  ])
229
232
  ], 16);
230
233
  }
231
- const Pi = /* @__PURE__ */ F(Bi, [["render", Ni]]);
232
- let Fa = 0;
233
- const Wi = {
234
+ const Wi = /* @__PURE__ */ L(Ai, [["render", Pi]]);
235
+ let Ta = 0;
236
+ const Gi = {
234
237
  beforeCreate() {
235
- this.uuid = Fa.toString(), Fa += 1;
238
+ this.uuid = Ta.toString(), Ta += 1;
236
239
  }
237
- }, Gi = { key: 0 };
238
- function Yi(a, i, o, p, n, d) {
239
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
240
+ }, Yi = { key: 0 };
241
+ function Ji(a, i, n, o, p, d) {
242
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
240
243
  class: "ui-assets-icons-16",
241
244
  xmlns: "http://www.w3.org/2000/svg",
242
245
  width: "16",
243
246
  height: "16",
244
247
  fill: "none"
245
248
  }), [
246
- a.$attrs["svg-title"] ? (s(), g("title", Gi, x(a.$attrs["svg-title"]), 1)) : f("", !0),
247
- i[0] || (i[0] = m("path", {
249
+ a.$attrs["svg-title"] ? (s(), g("title", Yi, x(a.$attrs["svg-title"]), 1)) : u("", !0),
250
+ i[0] || (i[0] = r("path", {
248
251
  fill: "#001222",
249
252
  "fill-rule": "evenodd",
250
253
  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",
@@ -252,223 +255,223 @@ function Yi(a, i, o, p, n, d) {
252
255
  }, null, -1))
253
256
  ], 16);
254
257
  }
255
- const Ji = /* @__PURE__ */ F(Wi, [["render", Yi]]);
256
- let La = 0;
257
- const Xi = {
258
+ const Xi = /* @__PURE__ */ L(Gi, [["render", Ji]]);
259
+ let Ma = 0;
260
+ const Ki = {
258
261
  beforeCreate() {
259
- this.uuid = La.toString(), La += 1;
262
+ this.uuid = Ma.toString(), Ma += 1;
260
263
  }
261
- }, Ki = { key: 0 };
262
- function Qi(a, i, o, p, n, d) {
263
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
264
+ }, Qi = { key: 0 };
265
+ function ae(a, i, n, o, p, d) {
266
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
264
267
  class: "ui-assets-icons-16",
265
268
  xmlns: "http://www.w3.org/2000/svg",
266
269
  width: "16",
267
270
  height: "16",
268
271
  fill: "none"
269
272
  }), [
270
- a.$attrs["svg-title"] ? (s(), g("title", Ki, x(a.$attrs["svg-title"]), 1)) : f("", !0),
271
- i[0] || (i[0] = m("path", {
273
+ a.$attrs["svg-title"] ? (s(), g("title", Qi, x(a.$attrs["svg-title"]), 1)) : u("", !0),
274
+ i[0] || (i[0] = r("path", {
272
275
  fill: "#001222",
273
276
  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"
274
277
  }, null, -1))
275
278
  ], 16);
276
279
  }
277
- const ae = /* @__PURE__ */ F(Xi, [["render", Qi]]);
278
- let Ma = 0;
279
- const ie = {
280
+ const ie = /* @__PURE__ */ L(Ki, [["render", ae]]);
281
+ let Da = 0;
282
+ const ee = {
280
283
  beforeCreate() {
281
- this.uuid = Ma.toString(), Ma += 1;
284
+ this.uuid = Da.toString(), Da += 1;
282
285
  }
283
- }, ee = { key: 0 };
284
- function te(a, i, o, p, n, d) {
285
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
286
+ }, te = { key: 0 };
287
+ function ne(a, i, n, o, p, d) {
288
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
286
289
  class: "ui-assets-icons-16",
287
290
  xmlns: "http://www.w3.org/2000/svg",
288
291
  width: "16",
289
292
  height: "16",
290
293
  fill: "none"
291
294
  }), [
292
- a.$attrs["svg-title"] ? (s(), g("title", ee, x(a.$attrs["svg-title"]), 1)) : f("", !0),
293
- i[0] || (i[0] = m("path", {
295
+ a.$attrs["svg-title"] ? (s(), g("title", te, x(a.$attrs["svg-title"]), 1)) : u("", !0),
296
+ i[0] || (i[0] = r("path", {
294
297
  fill: "#001222",
295
298
  d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z"
296
299
  }, null, -1)),
297
- i[1] || (i[1] = m("path", {
300
+ i[1] || (i[1] = r("path", {
298
301
  fill: "#001222",
299
302
  d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z"
300
303
  }, null, -1)),
301
- i[2] || (i[2] = m("path", {
304
+ i[2] || (i[2] = r("path", {
302
305
  fill: "#001222",
303
306
  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"
304
307
  }, null, -1))
305
308
  ], 16);
306
309
  }
307
- const ne = /* @__PURE__ */ F(ie, [["render", te]]);
308
- let Ta = 0;
309
- const oe = {
310
+ const oe = /* @__PURE__ */ L(ee, [["render", ne]]);
311
+ let Va = 0;
312
+ const pe = {
310
313
  beforeCreate() {
311
- this.uuid = Ta.toString(), Ta += 1;
314
+ this.uuid = Va.toString(), Va += 1;
312
315
  }
313
- }, pe = { key: 0 };
314
- function le(a, i, o, p, n, d) {
315
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
316
+ }, le = { key: 0 };
317
+ function se(a, i, n, o, p, d) {
318
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
316
319
  class: "ui-assets-icons-16",
317
320
  xmlns: "http://www.w3.org/2000/svg",
318
321
  width: "16",
319
322
  height: "16",
320
323
  fill: "none"
321
324
  }), [
322
- a.$attrs["svg-title"] ? (s(), g("title", pe, x(a.$attrs["svg-title"]), 1)) : f("", !0),
323
- i[0] || (i[0] = m("path", {
325
+ a.$attrs["svg-title"] ? (s(), g("title", le, x(a.$attrs["svg-title"]), 1)) : u("", !0),
326
+ i[0] || (i[0] = r("path", {
324
327
  fill: "#001222",
325
328
  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"
326
329
  }, null, -1))
327
330
  ], 16);
328
331
  }
329
- const se = /* @__PURE__ */ F(oe, [["render", le]]);
330
- let Sa = 0;
331
- const ce = {
332
+ const ce = /* @__PURE__ */ L(pe, [["render", se]]);
333
+ let Oa = 0;
334
+ const de = {
332
335
  beforeCreate() {
333
- this.uuid = Sa.toString(), Sa += 1;
336
+ this.uuid = Oa.toString(), Oa += 1;
334
337
  }
335
- }, de = { key: 0 };
336
- function re(a, i, o, p, n, d) {
337
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
338
+ }, re = { key: 0 };
339
+ function me(a, i, n, o, p, d) {
340
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
338
341
  class: "ui-assets-icons-16",
339
342
  xmlns: "http://www.w3.org/2000/svg",
340
343
  width: "16",
341
344
  height: "16",
342
345
  fill: "none"
343
346
  }), [
344
- a.$attrs["svg-title"] ? (s(), g("title", de, x(a.$attrs["svg-title"]), 1)) : f("", !0),
345
- i[0] || (i[0] = m("path", {
347
+ a.$attrs["svg-title"] ? (s(), g("title", re, x(a.$attrs["svg-title"]), 1)) : u("", !0),
348
+ i[0] || (i[0] = r("path", {
346
349
  fill: "#001222",
347
350
  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"
348
351
  }, null, -1)),
349
- i[1] || (i[1] = m("path", {
352
+ i[1] || (i[1] = r("path", {
350
353
  fill: "#001222",
351
354
  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"
352
355
  }, null, -1))
353
356
  ], 16);
354
357
  }
355
- const me = /* @__PURE__ */ F(ce, [["render", re]]);
356
- let Da = 0;
357
- const ue = {
358
+ const ue = /* @__PURE__ */ L(de, [["render", me]]);
359
+ let qa = 0;
360
+ const ve = {
358
361
  beforeCreate() {
359
- this.uuid = Da.toString(), Da += 1;
362
+ this.uuid = qa.toString(), qa += 1;
360
363
  }
361
- }, ve = { key: 0 }, fe = ["clip-path"], xe = ["id"];
362
- function ge(a, i, o, p, n, d) {
363
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
364
+ }, fe = { key: 0 }, xe = ["clip-path"], ge = ["id"];
365
+ function he(a, i, n, o, p, d) {
366
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
364
367
  class: "ui-assets-icons-16",
365
368
  xmlns: "http://www.w3.org/2000/svg",
366
369
  width: "16",
367
370
  height: "16",
368
371
  fill: "none"
369
372
  }), [
370
- a.$attrs["svg-title"] ? (s(), g("title", ve, x(a.$attrs["svg-title"]), 1)) : f("", !0),
371
- m("g", {
373
+ a.$attrs["svg-title"] ? (s(), g("title", fe, x(a.$attrs["svg-title"]), 1)) : u("", !0),
374
+ r("g", {
372
375
  fill: "#001222",
373
376
  "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")"
374
377
  }, i[0] || (i[0] = [
375
- m("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
376
- m("path", { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" }, null, -1)
377
- ]), 8, fe),
378
- m("defs", null, [
379
- m("clipPath", {
378
+ r("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
379
+ r("path", { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" }, null, -1)
380
+ ]), 8, xe),
381
+ r("defs", null, [
382
+ r("clipPath", {
380
383
  id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid
381
384
  }, i[1] || (i[1] = [
382
- m("rect", {
385
+ r("rect", {
383
386
  width: "16",
384
387
  height: "16",
385
388
  fill: "#fff"
386
389
  }, null, -1)
387
- ]), 8, xe)
390
+ ]), 8, ge)
388
391
  ])
389
392
  ], 16);
390
393
  }
391
- const he = /* @__PURE__ */ F(ue, [["render", ge]]);
392
- let Va = 0;
393
- const be = {
394
+ const be = /* @__PURE__ */ L(ve, [["render", he]]);
395
+ let Ha = 0;
396
+ const we = {
394
397
  beforeCreate() {
395
- this.uuid = Va.toString(), Va += 1;
398
+ this.uuid = Ha.toString(), Ha += 1;
396
399
  }
397
- }, we = { key: 0 };
398
- function ye(a, i, o, p, n, d) {
399
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
400
+ }, ye = { key: 0 };
401
+ function ke(a, i, n, o, p, d) {
402
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
400
403
  class: "ui-assets-icons-16",
401
404
  xmlns: "http://www.w3.org/2000/svg",
402
405
  width: "16",
403
406
  height: "16",
404
407
  fill: "none"
405
408
  }), [
406
- a.$attrs["svg-title"] ? (s(), g("title", we, x(a.$attrs["svg-title"]), 1)) : f("", !0),
407
- i[0] || (i[0] = m("path", {
409
+ a.$attrs["svg-title"] ? (s(), g("title", ye, x(a.$attrs["svg-title"]), 1)) : u("", !0),
410
+ i[0] || (i[0] = r("path", {
408
411
  fill: "#001222",
409
412
  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"
410
413
  }, null, -1)),
411
- i[1] || (i[1] = m("path", {
414
+ i[1] || (i[1] = r("path", {
412
415
  fill: "#001222",
413
416
  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"
414
417
  }, null, -1)),
415
- i[2] || (i[2] = m("path", {
418
+ i[2] || (i[2] = r("path", {
416
419
  fill: "#001222",
417
420
  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"
418
421
  }, null, -1))
419
422
  ], 16);
420
423
  }
421
- const ke = /* @__PURE__ */ F(be, [["render", ye]]);
422
- let Oa = 0;
423
- const Ce = {
424
+ const Ce = /* @__PURE__ */ L(we, [["render", ke]]);
425
+ let Ba = 0;
426
+ const $e = {
424
427
  beforeCreate() {
425
- this.uuid = Oa.toString(), Oa += 1;
428
+ this.uuid = Ba.toString(), Ba += 1;
426
429
  }
427
- }, $e = { key: 0 };
428
- function _e(a, i, o, p, n, d) {
429
- return s(), g("svg", D({ role: "img" }, a.$attrs, {
430
+ }, ze = { key: 0 };
431
+ function _e(a, i, n, o, p, d) {
432
+ return s(), g("svg", V({ role: "img" }, a.$attrs, {
430
433
  class: "ui-assets-icons-16",
431
434
  xmlns: "http://www.w3.org/2000/svg",
432
435
  width: "16",
433
436
  height: "16",
434
437
  fill: "none"
435
438
  }), [
436
- a.$attrs["svg-title"] ? (s(), g("title", $e, x(a.$attrs["svg-title"]), 1)) : f("", !0),
437
- i[0] || (i[0] = m("path", {
439
+ a.$attrs["svg-title"] ? (s(), g("title", ze, x(a.$attrs["svg-title"]), 1)) : u("", !0),
440
+ i[0] || (i[0] = r("path", {
438
441
  fill: "#001222",
439
442
  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"
440
443
  }, null, -1))
441
444
  ], 16);
442
445
  }
443
- const ze = /* @__PURE__ */ F(Ce, [["render", _e]]), je = {
444
- [y.AUDIO]: ke,
445
- [y.COMPRESSED]: se,
446
- [y.GENERIC]: Pi,
447
- [y.IMAGE]: me,
448
- [y.PDF]: ae,
449
- [y.SLIDES]: Ji,
450
- [y.TABLE]: ze,
451
- [y.TEXT]: ne,
452
- [y.VIDEO]: he
446
+ const je = /* @__PURE__ */ L($e, [["render", _e]]), Re = {
447
+ [k.AUDIO]: Ce,
448
+ [k.COMPRESSED]: ce,
449
+ [k.GENERIC]: Wi,
450
+ [k.IMAGE]: ue,
451
+ [k.PDF]: ie,
452
+ [k.SLIDES]: Xi,
453
+ [k.TABLE]: je,
454
+ [k.TEXT]: oe,
455
+ [k.VIDEO]: be
453
456
  };
454
- function Re(a) {
455
- return je[a.type];
456
- }
457
457
  function Ee(a) {
458
+ return Re[a.type];
459
+ }
460
+ function Ie(a) {
458
461
  switch (a.type) {
459
- case y.COMPRESSED:
460
- case y.GENERIC:
462
+ case k.COMPRESSED:
463
+ case k.GENERIC:
461
464
  return "grey";
462
- case y.PDF:
463
- case y.SLIDES:
465
+ case k.PDF:
466
+ case k.SLIDES:
464
467
  return "orange";
465
- case y.TEXT:
468
+ case k.TEXT:
466
469
  return "blue";
467
470
  default:
468
471
  return "green";
469
472
  }
470
473
  }
471
- const Na = {
474
+ const Ga = {
472
475
  "en-US": {
473
476
  cancel: "Cancel",
474
477
  fileExceedsSizeLimit: "File exceeds size limit",
@@ -493,206 +496,206 @@ const Na = {
493
496
  remove: "Remover",
494
497
  retry: "Tentar novamente"
495
498
  }
496
- }, Ie = { class: "b-file-uploader-file-card__details" }, Fe = { class: "b-file-uploader-file-card__info" }, Le = ["id"], Me = {
499
+ }, Fe = { class: "b-file-uploader-file-card__details" }, Se = { class: "b-file-uploader-file-card__info" }, Le = ["id"], Te = {
497
500
  key: 0,
498
501
  class: "b-file-uploader-file-card__actions"
499
- }, Te = {
502
+ }, Me = {
500
503
  name: "file-uploader-file-card",
501
- i18n: { messages: Na }
502
- }, Se = /* @__PURE__ */ da({
503
- ...Te,
504
+ i18n: { messages: Ga }
505
+ }, De = /* @__PURE__ */ da({
506
+ ...Me,
504
507
  props: {
505
508
  file: {},
506
509
  supportedFileTypes: { default: null },
507
510
  readonly: { type: Boolean }
508
511
  },
509
512
  emits: ["cancel", "remove", "retry"],
510
- setup(a, { expose: i, emit: o }) {
511
- const n = a, d = o, { t: l, locale: u } = ra({ messages: Na }), k = I(null), r = I(null), E = I(null), q = T("file-errors-section"), G = T("cancel-file-button"), A = T("remove-file-button"), U = T("retry-file-button"), v = I(n.file.state === S.SUCCESS), ta = b(() => URL.createObjectURL(n.file.data)), L = b(() => n.file.state === S.ERROR), na = b(() => n.file.errors.includes(j.ERROR_LOAD)), Y = b(() => n.file.errors.includes(j.ERROR_SIZE)), oa = b(() => n.file.errors.includes(j.ERROR_DIMENSIONS)), pa = b(() => n.file.errors.includes(j.ERROR_TYPE)), J = b(() => n.file.state === S.LOADING), N = b(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), X = b(() => Ua(u.value, n.file.data.size)), la = I(), K = I(), Q = Mi(la, K), ma = b(() => ({
512
- "b-file-uploader-file-card--error": L.value
513
- })), aa = b(() => ({
514
- [`b-file-uploader-file-card__icon--${Ee(n.file)}`]: v.value,
515
- "b-file-uploader-file-card__icon--error": L.value
516
- })), sa = b(() => J.value ? _i : L.value ? Aa : v.value ? Re(n.file) : wi);
517
- ba(
518
- () => n.file.state,
519
- (_) => {
520
- if (_ === S.SUCCESS && !v.value) {
521
- const V = setTimeout(() => {
522
- v.value = !0, clearTimeout(V);
513
+ setup(a, { expose: i, emit: n }) {
514
+ const p = a, d = n, { t: l, locale: m } = ra({ messages: Ga }), h = S(null), _ = S(null), O = S(null), q = F("file-errors-section"), v = F("cancel-file-button"), j = F("remove-file-button"), A = F("retry-file-button"), H = S(p.file.state === D.SUCCESS), b = f(() => URL.createObjectURL(p.file.data)), P = f(() => p.file.state === D.ERROR), U = f(() => p.file.errors.includes(E.ERROR_LOAD)), Q = f(() => p.file.errors.includes(E.ERROR_SIZE)), aa = f(() => p.file.errors.includes(E.ERROR_DIMENSIONS)), na = f(() => p.file.errors.includes(E.ERROR_TYPE)), oa = f(() => p.file.state === D.LOADING), pa = f(() => p.file.progress && `(${p.file.progress.toFixed(0)}%)`), G = f(() => Ca(m.value, p.file.data.size)), Y = S(), la = S(), sa = Mi(Y, la), ia = f(() => ({
515
+ "b-file-uploader-file-card--error": P.value
516
+ })), ma = f(() => ({
517
+ [`b-file-uploader-file-card__icon--${Ie(p.file)}`]: H.value,
518
+ "b-file-uploader-file-card__icon--error": P.value
519
+ })), J = f(() => oa.value ? ji : P.value ? Na : H.value ? Ee(p.file) : ki);
520
+ ya(
521
+ () => p.file.state,
522
+ (R) => {
523
+ if (R === D.SUCCESS && !H.value) {
524
+ const B = setTimeout(() => {
525
+ H.value = !0, clearTimeout(B);
523
526
  }, 1200);
524
527
  }
525
528
  }
526
529
  );
527
530
  function ua() {
528
- if (E.value) {
529
- E.value.$el.focus();
531
+ if (O.value) {
532
+ O.value.$el.focus();
530
533
  return;
531
534
  }
532
- if (k.value) {
533
- k.value.$el.focus();
535
+ if (h.value) {
536
+ h.value.$el.focus();
534
537
  return;
535
538
  }
536
- if (r.value) {
537
- r.value.$el.focus();
539
+ if (_.value) {
540
+ _.value.$el.focus();
538
541
  return;
539
542
  }
540
543
  }
541
544
  return i({
542
545
  focus: ua
543
- }), (_, V) => (s(), g("div", {
544
- class: B(["b-file-uploader-file-card", ma.value])
546
+ }), (R, B) => (s(), g("div", {
547
+ class: N(["b-file-uploader-file-card", ia.value])
545
548
  }, [
546
- m("div", Ie, [
547
- m("div", Fe, [
548
- O(t(Li), {
549
- name: t(Za) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
550
- "show-file-icon": v.value
549
+ r("div", Fe, [
550
+ r("div", Se, [
551
+ Z(t(Ti), {
552
+ name: t(Pa) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
553
+ "show-file-icon": H.value
551
554
  }, {
552
- default: h(() => [
553
- (s(), w(mi(sa.value), {
554
- key: JSON.stringify(sa.value),
555
+ default: w(() => [
556
+ (s(), y(vi(J.value), {
557
+ key: JSON.stringify(J.value),
555
558
  small: "",
556
559
  "aria-hidden": "true",
557
- class: B(["b-file-uploader-file-card__icon", aa.value]),
560
+ class: N(["b-file-uploader-file-card__icon", ma.value]),
558
561
  "data-testid": "file-uploader-item-icon"
559
562
  }, null, 8, ["class"]))
560
563
  ]),
561
564
  _: 1
562
565
  }, 8, ["name", "show-file-icon"]),
563
- m("div", {
566
+ r("div", {
564
567
  ref_key: "fileNameContainerRef",
565
- ref: K,
568
+ ref: la,
566
569
  class: "b-file-uploader-file-card__file-name"
567
570
  }, [
568
- O(t($i), {
571
+ Z(t(_i), {
569
572
  "aria-hidden": "true",
570
573
  tabindex: "-1",
571
- download: _.file.data.name,
572
- to: ta.value,
574
+ download: R.file.data.name,
575
+ to: b.value,
573
576
  "disable-typography": "",
574
577
  "is-not-routing": "",
575
578
  variant: "quiet"
576
579
  }, {
577
- default: h(() => [
578
- Ba((s(), w(t(R), {
580
+ default: w(() => [
581
+ Za((s(), y(t(I), {
579
582
  ref_key: "fileNameRef",
580
- ref: la,
583
+ ref: Y,
581
584
  stronger: "",
582
585
  el: "span"
583
586
  }, {
584
- default: h(() => [
585
- $(x(_.file.data.name), 1)
587
+ default: w(() => [
588
+ z(x(R.file.data.name), 1)
586
589
  ]),
587
590
  _: 1
588
591
  })), [
589
- [t(Ci), t(Q) ? _.file.data.name : null]
592
+ [t(zi), t(sa) ? R.file.data.name : null]
590
593
  ])
591
594
  ]),
592
595
  _: 1
593
596
  }, 8, ["download", "to"])
594
597
  ], 512),
595
- _.file.progress ? (s(), w(t(R), {
598
+ R.file.progress ? (s(), y(t(I), {
596
599
  key: 0,
597
600
  el: "span"
598
601
  }, {
599
- default: h(() => [
600
- $(x(N.value), 1)
602
+ default: w(() => [
603
+ z(x(pa.value), 1)
601
604
  ]),
602
605
  _: 1
603
- })) : _.file.data.size ? (s(), w(t(R), {
606
+ })) : R.file.data.size ? (s(), y(t(I), {
604
607
  key: 1,
605
608
  class: "b-file-uploader-file-card__file-size",
606
609
  "aria-hidden": "true",
607
610
  el: "span"
608
611
  }, {
609
- default: h(() => [
610
- $(x(X.value), 1)
612
+ default: w(() => [
613
+ z(x(G.value), 1)
611
614
  ]),
612
615
  _: 1
613
- })) : f("", !0)
616
+ })) : u("", !0)
614
617
  ]),
615
- Y.value || oa.value || pa.value && _.supportedFileTypes ? (s(), g("div", {
618
+ Q.value || aa.value || na.value && R.supportedFileTypes ? (s(), g("div", {
616
619
  key: 0,
617
620
  id: t(q),
618
621
  role: "alert"
619
622
  }, [
620
- Y.value ? (s(), w(t(R), {
623
+ Q.value ? (s(), y(t(I), {
621
624
  key: 0,
622
625
  class: "b-file-uploader-file-card__error-message"
623
626
  }, {
624
- default: h(() => [
625
- $(x(t(l)("fileExceedsSizeLimit")), 1)
627
+ default: w(() => [
628
+ z(x(t(l)("fileExceedsSizeLimit")), 1)
626
629
  ]),
627
630
  _: 1
628
- })) : f("", !0),
629
- oa.value ? (s(), w(t(R), {
631
+ })) : u("", !0),
632
+ aa.value ? (s(), y(t(I), {
630
633
  key: 1,
631
634
  class: "b-file-uploader-file-card__error-message"
632
635
  }, {
633
- default: h(() => [
634
- $(x(t(l)("imageDimensionsExceedLimits")), 1)
636
+ default: w(() => [
637
+ z(x(t(l)("imageDimensionsExceedLimits")), 1)
635
638
  ]),
636
639
  _: 1
637
- })) : f("", !0),
638
- pa.value && _.supportedFileTypes ? (s(), w(t(R), {
640
+ })) : u("", !0),
641
+ na.value && R.supportedFileTypes ? (s(), y(t(I), {
639
642
  key: 2,
640
643
  class: "b-file-uploader-file-card__error-message"
641
644
  }, {
642
- default: h(() => [
643
- $(x(t(l)("fileTypeMustBe", { list: _.supportedFileTypes })), 1)
645
+ default: w(() => [
646
+ z(x(t(l)("fileTypeMustBe", { list: R.supportedFileTypes })), 1)
644
647
  ]),
645
648
  _: 1
646
- })) : f("", !0)
647
- ], 8, Le)) : f("", !0)
649
+ })) : u("", !0)
650
+ ], 8, Le)) : u("", !0)
648
651
  ]),
649
- _.readonly ? f("", !0) : (s(), g("div", Me, [
650
- na.value ? (s(), w(t(ha), {
652
+ R.readonly ? u("", !0) : (s(), g("div", Te, [
653
+ U.value ? (s(), y(t(wa), {
651
654
  key: 0,
652
655
  ref_key: "retryFileButtonRef",
653
- ref: E,
654
- "aria-labelledby": `${t(q)} ${t(U)}`,
656
+ ref: O,
657
+ "aria-labelledby": `${t(q)} ${t(A)}`,
655
658
  variant: "tertiary",
656
- onClick: V[0] || (V[0] = (P) => d("retry"))
659
+ onClick: B[0] || (B[0] = (ea) => d("retry"))
657
660
  }, {
658
- iconLeft: h(() => [
659
- O(t(ki), {
660
- id: t(U),
661
- "svg-title": `${t(l)("retry")} - ${_.file.data.name} `
661
+ iconLeft: w(() => [
662
+ Z(t($i), {
663
+ id: t(A),
664
+ "svg-title": `${t(l)("retry")} - ${R.file.data.name} `
662
665
  }, null, 8, ["id", "svg-title"])
663
666
  ]),
664
- default: h(() => [
665
- $(" " + x(t(l)("retry")), 1)
667
+ default: w(() => [
668
+ z(" " + x(t(l)("retry")), 1)
666
669
  ]),
667
670
  _: 1
668
- }, 8, ["aria-labelledby"])) : f("", !0),
669
- J.value || L.value ? (s(), w(t(ha), {
671
+ }, 8, ["aria-labelledby"])) : u("", !0),
672
+ oa.value || P.value ? (s(), y(t(wa), {
670
673
  key: 1,
671
674
  ref_key: "cancelFileButtonRef",
672
- ref: r,
673
- "aria-labelledby": `${t(q)} ${t(G)}`,
675
+ ref: _,
676
+ "aria-labelledby": `${t(q)} ${t(v)}`,
674
677
  variant: "tertiary",
675
- onClick: V[1] || (V[1] = (P) => d("cancel"))
678
+ onClick: B[1] || (B[1] = (ea) => d("cancel"))
676
679
  }, {
677
- iconLeft: h(() => [
678
- O(t(yi), {
679
- id: t(G),
680
- "svg-title": `${t(l)("cancel")} - ${_.file.data.name}`
680
+ iconLeft: w(() => [
681
+ Z(t(Ci), {
682
+ id: t(v),
683
+ "svg-title": `${t(l)("cancel")} - ${R.file.data.name}`
681
684
  }, null, 8, ["id", "svg-title"])
682
685
  ]),
683
686
  _: 1
684
- }, 8, ["aria-labelledby"])) : (s(), w(t(ha), {
687
+ }, 8, ["aria-labelledby"])) : (s(), y(t(wa), {
685
688
  key: 2,
686
689
  ref_key: "removeFileButtonRef",
687
- ref: k,
688
- "aria-labelledby": `${t(q)} ${t(A)}`,
690
+ ref: h,
691
+ "aria-labelledby": `${t(q)} ${t(j)}`,
689
692
  variant: "tertiary",
690
- onClick: V[2] || (V[2] = (P) => d("remove"))
693
+ onClick: B[2] || (B[2] = (ea) => d("remove"))
691
694
  }, {
692
- iconLeft: h(() => [
693
- O(t(bi), {
694
- id: t(A),
695
- "svg-title": `${t(l)("remove")} - ${_.file.data.name}`
695
+ iconLeft: w(() => [
696
+ Z(t(yi), {
697
+ id: t(j),
698
+ "svg-title": `${t(l)("remove")} - ${R.file.data.name}`
696
699
  }, null, 8, ["id", "svg-title"])
697
700
  ]),
698
701
  _: 1
@@ -700,14 +703,15 @@ const Na = {
700
703
  ]))
701
704
  ], 2));
702
705
  }
703
- }), De = /* @__PURE__ */ F(Se, [["__scopeId", "data-v-0051c431"]]), Pa = {
706
+ }), Ve = /* @__PURE__ */ L(De, [["__scopeId", "data-v-0051c431"]]), Ya = {
704
707
  "en-US": {
705
708
  maxFileSize: "Max file size: {size}",
706
709
  maxImageDimensions: "Max image dimensions: {width} × {height}px",
707
710
  maxImageHeight: "Max image height: {height}px",
708
711
  maxImageWidth: "Max image width: {width}px",
709
712
  maxUpload: "Max upload: {count} file | Max upload: {count} files",
710
- supportedFileTypes: "Supported file types: {list}"
713
+ supportedFileTypes: "Supported file types: {list}",
714
+ upToSize: "(up to {size})"
711
715
  },
712
716
  "ja-JP": {
713
717
  maxFileSize: "最大ファイルサイズ:{size}",
@@ -725,10 +729,10 @@ const Na = {
725
729
  maxUpload: "Máximo de upload: {count} arquivo | Máximo de upload: {count} arquivos",
726
730
  supportedFileTypes: "Tipos de arquivo aceitos: {list}"
727
731
  }
728
- }, Ve = {
729
- i18n: { messages: Pa }
730
- }, Oe = /* @__PURE__ */ da({
731
- ...Ve,
732
+ }, Oe = {
733
+ i18n: { messages: Ya }
734
+ }, qe = /* @__PURE__ */ da({
735
+ ...Oe,
732
736
  __name: "file-uploader-restrictions",
733
737
  props: {
734
738
  condensed: { type: Boolean, default: null },
@@ -739,65 +743,75 @@ const Na = {
739
743
  supportedFileTypes: { default: null }
740
744
  },
741
745
  setup(a) {
742
- const i = a, { t: o, tc: p, n, locale: d } = ra({ messages: Pa }), l = b(() => ({
746
+ const i = a, { t: n, tc: o, n: p, locale: d } = ra({ messages: Ya }), l = f(() => ({
743
747
  "b-file-uploader-restrictions--condensed": i.condensed,
744
748
  "b-file-uploader-restrictions--disabled": i.disabled
745
749
  }));
746
- function u(r) {
750
+ function m(v) {
747
751
  return {
748
- "b-file-uploader-restrictions--error": r
752
+ "b-file-uploader-restrictions--error": v
749
753
  };
750
754
  }
751
- const k = b(() => {
755
+ const h = f(() => i.maxSize && Array.isArray(i.maxSize.value)), _ = f(() => !i.maxSize || h.value ? null : n("maxFileSize", { size: Ca(d.value, i.maxSize.value) })), O = f(() => {
756
+ if (!i.supportedFileTypes)
757
+ return null;
758
+ if (!h.value)
759
+ return i.supportedFileTypes.value;
760
+ let v = i.supportedFileTypes.value;
761
+ return i.maxSize.value.forEach((j) => {
762
+ const A = j.fileType.toUpperCase(), H = n("upToSize", { size: Ca(d.value, j.maxSize) });
763
+ v = v.replace(A, `${A} ${H}`);
764
+ }), v;
765
+ }), q = f(() => {
752
766
  if (!i.maxDimensions)
753
767
  return null;
754
768
  const {
755
- value: { width: r, height: E }
769
+ value: { width: v, height: j }
756
770
  } = i.maxDimensions;
757
- return r && E ? o("maxImageDimensions", { width: n(r), height: n(E) }) : r ? o("maxImageWidth", { width: n(r) }) : E ? o("maxImageHeight", { height: n(E) }) : null;
771
+ return v && j ? n("maxImageDimensions", { width: p(v), height: p(j) }) : v ? n("maxImageWidth", { width: p(v) }) : j ? n("maxImageHeight", { height: p(j) }) : null;
758
772
  });
759
- return (r, E) => (s(), g("div", {
760
- class: B(["b-file-uploader-restrictions", l.value])
773
+ return (v, j) => (s(), g("div", {
774
+ class: N(["b-file-uploader-restrictions", l.value])
761
775
  }, [
762
- r.supportedFileTypes ? (s(), w(t(R), {
776
+ v.supportedFileTypes ? (s(), y(t(I), {
763
777
  key: 0,
764
- class: B(u(r.supportedFileTypes.error))
778
+ class: N(m(v.supportedFileTypes.error || h.value && v.maxSize.error))
765
779
  }, {
766
- default: h(() => [
767
- $(x(t(o)("supportedFileTypes", { list: r.supportedFileTypes.value })), 1)
780
+ default: w(() => [
781
+ z(x(t(n)("supportedFileTypes", { list: O.value })), 1)
768
782
  ]),
769
783
  _: 1
770
- }, 8, ["class"])) : f("", !0),
771
- r.maxSize ? (s(), w(t(R), {
784
+ }, 8, ["class"])) : u("", !0),
785
+ !h.value && v.maxSize ? (s(), y(t(I), {
772
786
  key: 1,
773
- class: B(u(r.maxSize.error))
787
+ class: N(m(v.maxSize.error))
774
788
  }, {
775
- default: h(() => [
776
- $(x(t(o)("maxFileSize", { size: t(Ua)(t(d), r.maxSize.value) })), 1)
789
+ default: w(() => [
790
+ z(x(_.value), 1)
777
791
  ]),
778
792
  _: 1
779
- }, 8, ["class"])) : f("", !0),
780
- r.maxDimensions ? (s(), w(t(R), {
793
+ }, 8, ["class"])) : u("", !0),
794
+ v.maxDimensions ? (s(), y(t(I), {
781
795
  key: 2,
782
- class: B(u(r.maxDimensions.error))
796
+ class: N(m(v.maxDimensions.error))
783
797
  }, {
784
- default: h(() => [
785
- $(x(k.value), 1)
798
+ default: w(() => [
799
+ z(x(q.value), 1)
786
800
  ]),
787
801
  _: 1
788
- }, 8, ["class"])) : f("", !0),
789
- r.maxCount ? (s(), w(t(R), {
802
+ }, 8, ["class"])) : u("", !0),
803
+ v.maxCount ? (s(), y(t(I), {
790
804
  key: 3,
791
- class: B(u(r.maxCount.error))
805
+ class: N(m(v.maxCount.error))
792
806
  }, {
793
- default: h(() => [
794
- $(x(t(p)("maxUpload", r.maxCount.value, { count: t(n)(r.maxCount.value) })), 1)
807
+ default: w(() => [
808
+ z(x(t(o)("maxUpload", v.maxCount.value, { count: t(p)(v.maxCount.value) })), 1)
795
809
  ]),
796
810
  _: 1
797
- }, 8, ["class"])) : f("", !0)
811
+ }, 8, ["class"])) : u("", !0)
798
812
  ], 2));
799
813
  }
800
- }), qa = /* @__PURE__ */ F(Oe, [["__scopeId", "data-v-6ad327db"]]), Wa = {
814
+ }), Aa = /* @__PURE__ */ L(qe, [["__scopeId", "data-v-e75ae2de"]]), Ja = {
801
815
  "application/prs.cww": ["cww"],
802
816
  "application/prs.xsf+xml": ["xsf"],
803
817
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1496,8 +1510,8 @@ const Na = {
1496
1510
  "video/x-smv": ["smv"],
1497
1511
  "x-conference/x-cooltalk": ["ice"]
1498
1512
  };
1499
- Object.freeze(Wa);
1500
- const Ga = {
1513
+ Object.freeze(Ja);
1514
+ const Xa = {
1501
1515
  "application/andrew-inset": ["ez"],
1502
1516
  "application/appinstaller": ["appinstaller"],
1503
1517
  "application/applixware": ["aw"],
@@ -1849,31 +1863,31 @@ const Ga = {
1849
1863
  "video/quicktime": ["qt", "mov"],
1850
1864
  "video/webm": ["webm"]
1851
1865
  };
1852
- Object.freeze(Ga);
1853
- var M = function(a, i, o, p) {
1854
- if (o === "a" && !p) throw new TypeError("Private accessor was defined without a getter");
1855
- if (typeof i == "function" ? a !== i || !p : !i.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1856
- return o === "m" ? p : o === "a" ? p.call(a) : p ? p.value : i.get(a);
1857
- }, W, ea, Z;
1858
- class qe {
1866
+ Object.freeze(Xa);
1867
+ var M = function(a, i, n, o) {
1868
+ if (n === "a" && !o) throw new TypeError("Private accessor was defined without a getter");
1869
+ if (typeof i == "function" ? a !== i || !o : !i.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1870
+ return n === "m" ? o : n === "a" ? o.call(a) : o ? o.value : i.get(a);
1871
+ }, K, ta, W;
1872
+ class He {
1859
1873
  constructor(...i) {
1860
- W.set(this, /* @__PURE__ */ new Map()), ea.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map());
1861
- for (const o of i)
1862
- this.define(o);
1874
+ K.set(this, /* @__PURE__ */ new Map()), ta.set(this, /* @__PURE__ */ new Map()), W.set(this, /* @__PURE__ */ new Map());
1875
+ for (const n of i)
1876
+ this.define(n);
1863
1877
  }
1864
- define(i, o = !1) {
1865
- for (let [p, n] of Object.entries(i)) {
1866
- p = p.toLowerCase(), n = n.map((u) => u.toLowerCase()), M(this, Z, "f").has(p) || M(this, Z, "f").set(p, /* @__PURE__ */ new Set());
1867
- const d = M(this, Z, "f").get(p);
1878
+ define(i, n = !1) {
1879
+ for (let [o, p] of Object.entries(i)) {
1880
+ o = o.toLowerCase(), p = p.map((m) => m.toLowerCase()), M(this, W, "f").has(o) || M(this, W, "f").set(o, /* @__PURE__ */ new Set());
1881
+ const d = M(this, W, "f").get(o);
1868
1882
  let l = !0;
1869
- for (let u of n) {
1870
- const k = u.startsWith("*");
1871
- if (u = k ? u.slice(1) : u, d == null || d.add(u), l && M(this, ea, "f").set(p, u), l = !1, k)
1883
+ for (let m of p) {
1884
+ const h = m.startsWith("*");
1885
+ if (m = h ? m.slice(1) : m, d == null || d.add(m), l && M(this, ta, "f").set(o, m), l = !1, h)
1872
1886
  continue;
1873
- const r = M(this, W, "f").get(u);
1874
- if (r && r != p && !o)
1875
- throw new Error(`"${p} -> ${u}" conflicts with "${r} -> ${u}". Pass \`force=true\` to override this definition.`);
1876
- M(this, W, "f").set(u, p);
1887
+ const _ = M(this, K, "f").get(m);
1888
+ if (_ && _ != o && !n)
1889
+ throw new Error(`"${o} -> ${m}" conflicts with "${_} -> ${m}". Pass \`force=true\` to override this definition.`);
1890
+ M(this, K, "f").set(m, o);
1877
1891
  }
1878
1892
  }
1879
1893
  return this;
@@ -1881,33 +1895,33 @@ class qe {
1881
1895
  getType(i) {
1882
1896
  if (typeof i != "string")
1883
1897
  return null;
1884
- const o = i.replace(/^.*[/\\]/, "").toLowerCase(), p = o.replace(/^.*\./, "").toLowerCase(), n = o.length < i.length;
1885
- return !(p.length < o.length - 1) && n ? null : M(this, W, "f").get(p) ?? null;
1898
+ const n = i.replace(/^.*[/\\]/, "").toLowerCase(), o = n.replace(/^.*\./, "").toLowerCase(), p = n.length < i.length;
1899
+ return !(o.length < n.length - 1) && p ? null : M(this, K, "f").get(o) ?? null;
1886
1900
  }
1887
1901
  getExtension(i) {
1888
- var o;
1889
- return typeof i != "string" ? null : (i = (o = i == null ? void 0 : i.split) == null ? void 0 : o.call(i, ";")[0], (i && M(this, ea, "f").get(i.trim().toLowerCase())) ?? null);
1902
+ var n;
1903
+ return typeof i != "string" ? null : (i = (n = i == null ? void 0 : i.split) == null ? void 0 : n.call(i, ";")[0], (i && M(this, ta, "f").get(i.trim().toLowerCase())) ?? null);
1890
1904
  }
1891
1905
  getAllExtensions(i) {
1892
- return typeof i != "string" ? null : M(this, Z, "f").get(i.toLowerCase()) ?? null;
1906
+ return typeof i != "string" ? null : M(this, W, "f").get(i.toLowerCase()) ?? null;
1893
1907
  }
1894
1908
  _freeze() {
1895
1909
  this.define = () => {
1896
1910
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1897
1911
  }, Object.freeze(this);
1898
- for (const i of M(this, Z, "f").values())
1912
+ for (const i of M(this, W, "f").values())
1899
1913
  Object.freeze(i);
1900
1914
  return this;
1901
1915
  }
1902
1916
  _getTestState() {
1903
1917
  return {
1904
- types: M(this, W, "f"),
1905
- extensions: M(this, ea, "f")
1918
+ types: M(this, K, "f"),
1919
+ extensions: M(this, ta, "f")
1906
1920
  };
1907
1921
  }
1908
1922
  }
1909
- W = /* @__PURE__ */ new WeakMap(), ea = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap();
1910
- const Ya = new qe(Ga, Wa)._freeze(), ya = {
1923
+ K = /* @__PURE__ */ new WeakMap(), ta = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap();
1924
+ const Ka = new He(Xa, Ja)._freeze(), $a = {
1911
1925
  "en-US": {
1912
1926
  audioFiles: "audio files",
1913
1927
  browseFiles: "Browse files",
@@ -1945,71 +1959,71 @@ const Ya = new qe(Ga, Wa)._freeze(), ya = {
1945
1959
  youHaveExceededTheMaximum: "Você excedeu o limite máximo de {count} arquivos. Retire alguns arquivos antes de prosseguir."
1946
1960
  }
1947
1961
  };
1948
- function He(a) {
1949
- return a.includes("/") ? `.${Ya.getExtension(a).toUpperCase()}` : a.toUpperCase();
1950
- }
1951
1962
  function Be(a) {
1952
- const { locale: i, t: o } = ra({ messages: ya });
1953
- return { supportedFileTypeList: b(() => {
1954
- const n = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1955
- return a != null && a.value ? n.format(
1963
+ return a.includes("/") ? `.${Ka.getExtension(a).toUpperCase()}` : a.toUpperCase();
1964
+ }
1965
+ function Ae(a) {
1966
+ const { locale: i, t: n } = ra({ messages: $a });
1967
+ return { supportedFileTypeList: f(() => {
1968
+ const p = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1969
+ return a != null && a.value ? p.format(
1956
1970
  a.value.split(",").map((d) => {
1957
1971
  switch (d.trim()) {
1958
1972
  case "audio/*":
1959
- return o("audioFiles");
1973
+ return n("audioFiles");
1960
1974
  case "image/*":
1961
- return o("imageFiles");
1975
+ return n("imageFiles");
1962
1976
  case "video/*":
1963
- return o("videoFiles");
1977
+ return n("videoFiles");
1964
1978
  default:
1965
- return He(d);
1979
+ return Be(d);
1966
1980
  }
1967
1981
  })
1968
1982
  ) : null;
1969
1983
  }) };
1970
1984
  }
1971
- function Ae(a) {
1972
- return Ya.getType(a) ?? a;
1985
+ function Ue(a) {
1986
+ return Ka.getType(a) ?? a;
1973
1987
  }
1974
1988
  function Ze({ maxCount: a, accept: i }) {
1975
- const o = wa({
1989
+ const n = ka({
1976
1990
  invalidTypes: !1,
1977
1991
  partiallyInvalidTypes: !1,
1978
1992
  maxCountOverflow: !1
1979
- }), p = wa({
1993
+ }), o = ka({
1980
1994
  dragging: !1,
1981
1995
  error: !1
1982
- }), n = b(() => i.value ? i.value.split(",").map((k) => Ae(k.trim().toLocaleLowerCase())) : void 0);
1996
+ }), p = f(() => i.value ? i.value.split(",").map((h) => Ue(h.trim().toLocaleLowerCase())) : void 0);
1983
1997
  function d() {
1984
- p.dragging = !1, p.error = !1, o.invalidTypes = !1, o.partiallyInvalidTypes = !1, o.maxCountOverflow = !1;
1998
+ o.dragging = !1, o.error = !1, n.invalidTypes = !1, n.partiallyInvalidTypes = !1, n.maxCountOverflow = !1;
1985
1999
  }
1986
- function l(u, k) {
1987
- if (p.dragging = !0, (!k.dataTransfer.types.includes("Files") || u > a.value) && (o.maxCountOverflow = !0, p.error = !0), !n.value)
2000
+ function l(m, h) {
2001
+ if (o.dragging = !0, (!h.dataTransfer.types.includes("Files") || m > a.value) && (n.maxCountOverflow = !0, o.error = !0), !p.value)
1988
2002
  return;
1989
- let r = 0;
1990
- for (const E of k.dataTransfer.items)
1991
- n.value.includes(E.type) && r++;
1992
- if (r === 0) {
1993
- p.error = !0, o.invalidTypes = !0;
2003
+ let _ = 0;
2004
+ for (const O of h.dataTransfer.items)
2005
+ p.value.includes(O.type) && _++;
2006
+ if (_ === 0) {
2007
+ o.error = !0, n.invalidTypes = !0;
1994
2008
  return;
1995
2009
  }
1996
- !o.invalidTypes && r !== k.dataTransfer.items.length && (p.error = !0, o.partiallyInvalidTypes = !0);
2010
+ !n.invalidTypes && _ !== h.dataTransfer.items.length && (o.error = !0, n.partiallyInvalidTypes = !0);
1997
2011
  }
1998
2012
  return {
1999
- dragState: p,
2000
- dragErrors: o,
2013
+ dragState: o,
2014
+ dragErrors: n,
2001
2015
  resetDragState: d,
2002
2016
  onDragEnterValidations: l
2003
2017
  };
2004
2018
  }
2005
- const Ue = ["id", "accept", "disabled", "multiple"], Ne = ["id"], Pe = ["aria-labelledby", "tabindex"], We = {
2019
+ const Ne = ["id", "aria-required", "accept", "disabled", "multiple"], Pe = ["id"], We = ["aria-labelledby", "tabindex"], Ge = {
2006
2020
  class: "b-file-uploader__icon",
2007
2021
  "aria-hidden": "true"
2008
- }, Ge = { class: "b-file-uploader__files" }, Ye = {
2022
+ }, Ye = { class: "b-file-uploader__files" }, Je = {
2009
2023
  model: { prop: "modelValue" },
2010
- i18n: { messages: ya }
2011
- }, Je = /* @__PURE__ */ da({
2012
- ...Ye,
2024
+ i18n: { messages: $a }
2025
+ }, Xe = /* @__PURE__ */ da({
2026
+ ...Je,
2013
2027
  __name: "file-uploader",
2014
2028
  props: {
2015
2029
  accept: { default: null },
@@ -2030,316 +2044,327 @@ const Ue = ["id", "accept", "disabled", "multiple"], Ne = ["id"], Pe = ["aria-la
2030
2044
  },
2031
2045
  emits: ["change", "input", "update:model-value", "error:upload"],
2032
2046
  setup(a, { emit: i }) {
2033
- const { t: o, tc: p, n } = ra({ messages: ya }), d = i, l = a, { emitValue: u } = hi(d);
2034
- function k(e) {
2047
+ const { t: n, tc: o, n: p } = ra({ messages: $a }), d = i, l = a, { emitValue: m } = wi(d);
2048
+ function h(e) {
2035
2049
  return !!e && typeof e.length == "number" && typeof e.item == "function";
2036
2050
  }
2037
- Ha(() => {
2038
- k(l.modelValue) || gi(
2051
+ Ua(() => {
2052
+ h(l.modelValue) || bi(
2039
2053
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
2040
2054
  "Use FileList instead.",
2041
2055
  "2.0.0"
2042
2056
  );
2043
2057
  });
2044
- const { supportedFileTypeList: r } = Be(ga(l, "accept")), E = T("browse-button"), q = T("custom-text"), G = T("drop-files-text"), A = T("comma-text"), U = T("file-uploader-restrictions"), v = I(null), ta = I([]), L = I(null), na = I(null), Y = T("input"), oa = T("input-error"), pa = b(() => {
2045
- const e = l.condensed ? "" : `${G} ${A}`, c = l.description ? `${q} ${A}` : "", C = `${U} ${A}`;
2046
- return `${e} ${c} ${C} ${E}`;
2047
- }), { dragState: J, dragErrors: N, resetDragState: X, onDragEnterValidations: la } = Ze({
2048
- accept: ga(l, "accept"),
2049
- maxCount: ga(l, "maxCount")
2050
- }), K = b(() => {
2058
+ const { supportedFileTypeList: _ } = Ae(ba(l, "accept")), O = F("browse-button"), q = F("custom-text"), v = F("drop-files-text"), j = F("comma-text"), A = F("file-uploader-restrictions"), H = F("field-label"), b = S(null), P = S([]), U = S(null), Q = S(null), aa = F("input"), na = F("input-error"), oa = f(() => {
2059
+ const e = l.label ? `${H} ${j}` : "", c = l.condensed ? "" : `${v} ${j}`, C = l.description ? `${q} ${j}` : "", $ = `${A} ${j}`;
2060
+ return `${e} ${c} ${C} ${$} ${O}`;
2061
+ }), { dragState: pa, dragErrors: G, resetDragState: Y, onDragEnterValidations: la } = Ze({
2062
+ accept: ba(l, "accept"),
2063
+ maxCount: ba(l, "maxCount")
2064
+ }), sa = f(() => {
2051
2065
  var e, c, C;
2052
2066
  return {
2053
2067
  condensed: l.condensed,
2054
2068
  disabled: l.disabled,
2055
- maxCount: aa.value ? {
2069
+ maxCount: J.value ? {
2056
2070
  value: l.maxCount,
2057
- error: N.maxCountOverflow || ka.value
2071
+ error: G.maxCountOverflow || za.value
2058
2072
  } : null,
2059
2073
  maxDimensions: l.maxDimensions ? {
2060
2074
  value: l.maxDimensions,
2061
- error: (e = v.value) == null ? void 0 : e.some((z) => z.errors.includes(j.ERROR_DIMENSIONS))
2075
+ error: (e = b.value) == null ? void 0 : e.some(($) => $.errors.includes(E.ERROR_DIMENSIONS))
2062
2076
  } : null,
2063
2077
  maxSize: l.maxSize ? {
2064
2078
  value: l.maxSize,
2065
- error: (c = v.value) == null ? void 0 : c.some((z) => z.errors.includes(j.ERROR_SIZE))
2079
+ error: (c = b.value) == null ? void 0 : c.some(($) => $.errors.includes(E.ERROR_SIZE))
2066
2080
  } : null,
2067
- supportedFileTypes: r.value ? {
2068
- value: r.value,
2069
- error: N.invalidTypes || N.partiallyInvalidTypes || ((C = v.value) == null ? void 0 : C.some((z) => z.errors.includes(j.ERROR_TYPE)))
2081
+ supportedFileTypes: _.value ? {
2082
+ value: _.value,
2083
+ error: G.invalidTypes || G.partiallyInvalidTypes || ((C = b.value) == null ? void 0 : C.some(($) => $.errors.includes(E.ERROR_TYPE)))
2070
2084
  } : null
2071
2085
  };
2072
- }), Q = I(), ma = b(() => ({
2086
+ }), ia = S(), ma = f(() => ({
2073
2087
  [`b-file-uploader--${ca.DISABLED}`]: l.disabled,
2074
- [`b-file-uploader--${ca.DRAG_OVER}`]: J.dragging,
2075
- [`b-file-uploader--${ca.ERROR}`]: P.value,
2088
+ [`b-file-uploader--${ca.DRAG_OVER}`]: pa.dragging,
2089
+ [`b-file-uploader--${ca.ERROR}`]: va.value,
2076
2090
  "b-file-uploader--condensed": l.condensed
2077
- })), aa = b(() => l.maxCount > 1), sa = b(() => {
2091
+ })), J = f(() => l.maxCount > 1), ua = f(() => {
2078
2092
  var e;
2079
- return l.maxCount && ((e = v.value) == null ? void 0 : e.length) >= l.maxCount || l.readonly;
2080
- }), ua = b(() => {
2093
+ return l.maxCount && ((e = b.value) == null ? void 0 : e.length) >= l.maxCount || l.readonly;
2094
+ }), R = f(() => {
2081
2095
  var e;
2082
- return (e = v.value) == null ? void 0 : e.some((c) => c.state === "loading");
2083
- }), _ = (e) => (c) => {
2084
- ta.value[e] = c;
2096
+ return (e = b.value) == null ? void 0 : e.some((c) => c.state === "loading");
2097
+ }), B = (e) => (c) => {
2098
+ P.value[e] = c;
2085
2099
  };
2086
- function V(e) {
2100
+ function ea(e) {
2087
2101
  if (e) {
2088
- ni(e), oi(e);
2089
- const c = pi(e);
2090
- d("change", c), u(c);
2102
+ li(e), si(e);
2103
+ const c = ci(e);
2104
+ d("change", c), m(c);
2091
2105
  } else
2092
- d("change", void 0), u(void 0);
2106
+ d("change", void 0), m(void 0);
2093
2107
  }
2094
- const P = b(() => !!l.errorMessage || J.error), ka = b(() => {
2108
+ const va = f(() => !!l.errorMessage || pa.error), za = f(() => {
2095
2109
  var e;
2096
- return ((e = v.value) == null ? void 0 : e.length) > l.maxCount;
2097
- }), Ja = I(!1), Xa = b(() => {
2110
+ return ((e = b.value) == null ? void 0 : e.length) > l.maxCount;
2111
+ }), Qa = S(!1), ai = f(() => {
2098
2112
  var e;
2099
- return (e = v.value) == null ? void 0 : e.some((c) => c.state === "error");
2113
+ return (e = b.value) == null ? void 0 : e.some((c) => c.state === "error");
2100
2114
  });
2101
- ba(Xa, (e) => {
2102
- ua.value || d("error:upload", e);
2115
+ ya(ai, (e) => {
2116
+ R.value || d("error:upload", e);
2103
2117
  });
2104
- async function va() {
2118
+ async function fa() {
2105
2119
  var e;
2106
- if (await fi(), v.value.length === l.maxCount) {
2107
- (e = ta.value[0]) == null || e.focus();
2120
+ if (await gi(), b.value.length === l.maxCount) {
2121
+ (e = P.value[0]) == null || e.focus();
2108
2122
  return;
2109
2123
  }
2110
- na.value.focus();
2124
+ Q.value.focus();
2111
2125
  }
2112
- async function Ca(e) {
2113
- v.value = v.value.filter(({ id: c }) => c !== e.id), await va(), V(v.value);
2126
+ async function _a(e) {
2127
+ b.value = b.value.filter(({ id: c }) => c !== e.id), await fa(), ea(b.value);
2114
2128
  }
2115
- function fa(e) {
2116
- const c = wa({
2117
- id: T("file"),
2129
+ function xa(e) {
2130
+ const c = ka({
2131
+ id: F("file"),
2118
2132
  data: e,
2119
2133
  errors: [],
2120
2134
  progress: null,
2121
- state: S.LOADING,
2122
- type: Oi(e)
2135
+ state: D.LOADING,
2136
+ type: Hi(e)
2123
2137
  });
2124
- return Hi(c, l.accept, l.maxDimensions), c;
2138
+ return Bi(c, l.accept, l.maxDimensions), c;
2125
2139
  }
2126
- function Ka(e) {
2140
+ function ii(e) {
2127
2141
  var c;
2128
- ((c = v.value) == null ? void 0 : c.length) === l.maxCount && e.preventDefault();
2142
+ ((c = b.value) == null ? void 0 : c.length) === l.maxCount && e.preventDefault();
2129
2143
  }
2130
- async function $a(e) {
2144
+ async function ja(e) {
2131
2145
  if (l.maxCount === 1 && e.length > l.maxCount) {
2132
- xa(), X();
2146
+ ga(), Y();
2133
2147
  return;
2134
2148
  }
2135
- aa.value ? v.value = [...v.value || [], ...Array.from(e).map((c) => fa(c))] : (v.value = [fa(e[0])], await va()), V(v.value);
2149
+ J.value ? b.value = [...b.value || [], ...Array.from(e).map((c) => xa(c))] : (b.value = [xa(e[0])], await fa()), ea(b.value);
2136
2150
  }
2137
- function Qa(e) {
2138
- var C, z;
2151
+ function ei(e) {
2152
+ var C, $;
2139
2153
  if (l.disabled)
2140
2154
  return;
2141
- Q.value = e.target;
2142
- const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + (((z = v.value) == null ? void 0 : z.length) ?? 0);
2155
+ ia.value = e.target;
2156
+ const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + ((($ = b.value) == null ? void 0 : $.length) ?? 0);
2143
2157
  la(c, e);
2144
2158
  }
2145
- function xa() {
2146
- Q.value = null;
2159
+ function ga() {
2160
+ ia.value = null;
2147
2161
  }
2148
- function ai(e) {
2149
- Q.value === e.target && (xa(), X());
2162
+ function ti(e) {
2163
+ ia.value === e.target && (ga(), Y());
2150
2164
  }
2151
- function ii(e) {
2165
+ function ni(e) {
2152
2166
  e.preventDefault(), l.disabled && (e.dataTransfer.dropEffect = "none");
2153
2167
  }
2154
- async function ei(e) {
2168
+ async function oi(e) {
2155
2169
  var c;
2156
- l.disabled || (!N.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) && $a(e.dataTransfer.files), xa(), X());
2170
+ l.disabled || (!G.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) && ja(e.dataTransfer.files), ga(), Y());
2157
2171
  }
2158
- async function ti() {
2172
+ async function pi() {
2159
2173
  var e;
2160
- (e = L.value.files) != null && e.length && $a(L.value.files), L.value.value = "", await va();
2174
+ (e = U.value.files) != null && e.length && ja(U.value.files), U.value.value = "", await fa();
2161
2175
  }
2162
- ba(
2176
+ ya(
2163
2177
  () => l.modelValue,
2164
2178
  (e) => {
2165
- if (e && k(e)) {
2179
+ if (e && h(e)) {
2166
2180
  const C = Array.from(e);
2167
- v.value = C.map((z) => fa(z));
2168
- } else !e && v.value && (v.value = null);
2181
+ b.value = C.map(($) => xa($));
2182
+ } else !e && b.value && (b.value = null);
2169
2183
  },
2170
2184
  { immediate: !0 }
2171
2185
  );
2172
- function ni(e) {
2186
+ function li(e) {
2173
2187
  const c = l.maxCount && e.length <= l.maxCount;
2174
- Ja.value = !c;
2188
+ Qa.value = !c;
2175
2189
  }
2176
- function oi(e) {
2190
+ function si(e) {
2177
2191
  l.maxSize && e.forEach((c) => {
2178
2192
  const C = c;
2179
- C.data.size > l.maxSize && (C.state = S.ERROR, C.errors.includes(j.ERROR_SIZE) || C.errors.push(j.ERROR_SIZE));
2193
+ let $;
2194
+ if (Array.isArray(l.maxSize)) {
2195
+ const T = l.maxSize.find(
2196
+ (ha) => Wa(C.data, ha.fileType)
2197
+ );
2198
+ $ = T == null ? void 0 : T.maxSize;
2199
+ } else
2200
+ $ = l.maxSize;
2201
+ $ && C.data.size > $ && (C.state = D.ERROR, C.errors.includes(E.ERROR_SIZE) || C.errors.push(E.ERROR_SIZE));
2180
2202
  });
2181
2203
  }
2182
- function pi(e) {
2204
+ function ci(e) {
2183
2205
  const c = e.filter(
2184
- ({ errors: C }) => !C.includes(j.ERROR_LOAD) && !C.includes(j.ERROR_SIZE)
2206
+ ({ errors: C }) => !C.includes(E.ERROR_LOAD) && !C.includes(E.ERROR_SIZE)
2185
2207
  );
2186
2208
  if (c.length) {
2187
2209
  const C = new DataTransfer();
2188
- return c.forEach(({ data: z, id: H }) => {
2189
- C.items.add(z);
2210
+ return c.forEach(({ data: $, id: T }) => {
2211
+ C.items.add($);
2190
2212
  }), C.files;
2191
2213
  }
2192
2214
  }
2193
2215
  return (e, c) => {
2194
- var C, z;
2216
+ var C, $;
2195
2217
  return s(), g("div", {
2196
- class: B(["b-file-uploader", ma.value])
2218
+ class: N(["b-file-uploader", ma.value])
2197
2219
  }, [
2198
- O(t(zi), {
2220
+ Z(t(Ri), {
2221
+ id: t(H),
2199
2222
  class: "b-file-uploader__label",
2200
- for: t(Y),
2223
+ for: t(aa),
2201
2224
  label: e.label,
2202
2225
  optional: e.optional,
2203
2226
  required: e.required,
2204
2227
  "tooltip-text": e.tooltipText
2205
- }, null, 8, ["for", "label", "optional", "required", "tooltip-text"]),
2206
- m("input", {
2207
- id: t(Y),
2228
+ }, null, 8, ["id", "for", "label", "optional", "required", "tooltip-text"]),
2229
+ r("input", {
2230
+ id: t(aa),
2208
2231
  ref_key: "inputRef",
2209
- ref: L,
2210
- "aria-hidden": "true",
2232
+ ref: U,
2233
+ "aria-required": e.required,
2211
2234
  type: "file",
2212
2235
  tabindex: "-1",
2213
2236
  "data-testid": "input",
2214
2237
  class: "b-file-uploader__input",
2215
2238
  accept: e.accept,
2216
2239
  disabled: e.disabled,
2217
- multiple: aa.value,
2218
- onChange: ti,
2219
- onClick: Ka
2220
- }, null, 40, Ue),
2221
- m("span", {
2222
- id: t(A),
2240
+ multiple: J.value,
2241
+ onChange: pi,
2242
+ onClick: ii,
2243
+ onInvalid: c[0] || (c[0] = X(() => {
2244
+ }, ["prevent"]))
2245
+ }, null, 40, Ne),
2246
+ r("span", {
2247
+ id: t(j),
2223
2248
  "aria-hidden": "true",
2224
2249
  class: "b-file-uploader__invisible-comma"
2225
- }, " , ", 8, Ne),
2226
- sa.value ? f("", !0) : (s(), g("div", {
2250
+ }, " , ", 8, Pe),
2251
+ ua.value ? u("", !0) : (s(), g("div", {
2227
2252
  key: 0,
2228
2253
  ref_key: "dropAreaRef",
2229
- ref: na,
2230
- "aria-labelledby": pa.value,
2254
+ ref: Q,
2255
+ "aria-labelledby": oa.value,
2231
2256
  class: "b-file-uploader__area",
2232
2257
  role: "button",
2233
2258
  tabindex: e.disabled ? -1 : 0,
2234
- onClick: c[0] || (c[0] = (H) => L.value.click()),
2235
- onDragenter: ia(Qa, ["stop", "prevent"]),
2236
- onDragleave: ia(ai, ["stop", "prevent"]),
2237
- onDrop: ia(ei, ["stop", "prevent"]),
2238
- onDragover: ii,
2259
+ onClick: c[1] || (c[1] = (T) => U.value.click()),
2260
+ onDragenter: X(ei, ["stop", "prevent"]),
2261
+ onDragleave: X(ti, ["stop", "prevent"]),
2262
+ onDrop: X(oi, ["stop", "prevent"]),
2263
+ onDragover: ni,
2239
2264
  onKeydownCapture: [
2240
- c[1] || (c[1] = za(ia((H) => L.value.click(), ["prevent"]), ["enter"])),
2241
- c[2] || (c[2] = za(ia((H) => L.value.click(), ["prevent"]), ["space"]))
2265
+ c[2] || (c[2] = Ea(X((T) => U.value.click(), ["prevent"]), ["enter"])),
2266
+ c[3] || (c[3] = Ea(X((T) => U.value.click(), ["prevent"]), ["space"]))
2242
2267
  ]
2243
2268
  }, [
2244
- m("div", We, [
2245
- P.value ? (s(), w(t(Aa), { key: 0 })) : (s(), w(t(Fi), { key: 1 }))
2269
+ r("div", Ge, [
2270
+ va.value ? (s(), y(t(Na), { key: 0 })) : (s(), y(t(Li), { key: 1 }))
2246
2271
  ]),
2247
- e.condensed ? f("", !0) : (s(), g(ja, { key: 0 }, [
2248
- O(t(R), {
2249
- id: t(G),
2272
+ e.condensed ? u("", !0) : (s(), g(Ia, { key: 0 }, [
2273
+ Z(t(I), {
2274
+ id: t(v),
2250
2275
  el: "span",
2251
2276
  strongest: "",
2252
2277
  class: "b-file-uploader__title"
2253
2278
  }, {
2254
- default: h(() => [
2255
- $(x(t(p)("dropFiles", e.maxCount)), 1)
2279
+ default: w(() => [
2280
+ z(x(t(o)("dropFiles", e.maxCount)), 1)
2256
2281
  ]),
2257
2282
  _: 1
2258
2283
  }, 8, ["id"]),
2259
- e.description ? (s(), w(t(R), {
2284
+ e.description ? (s(), y(t(I), {
2260
2285
  key: 0,
2261
2286
  id: t(q),
2262
2287
  el: "span",
2263
2288
  class: "b-file-uploader__description"
2264
2289
  }, {
2265
- default: h(() => [
2266
- $(x(e.description), 1)
2290
+ default: w(() => [
2291
+ z(x(e.description), 1)
2267
2292
  ]),
2268
2293
  _: 1
2269
- }, 8, ["id"])) : f("", !0),
2270
- O(t(qa), D(K.value, { id: t(U) }), null, 16, ["id"])
2294
+ }, 8, ["id"])) : u("", !0),
2295
+ Z(t(Aa), V(sa.value, { id: t(A) }), null, 16, ["id"])
2271
2296
  ], 64)),
2272
- O(t(R), {
2273
- id: t(E),
2297
+ Z(t(I), {
2298
+ id: t(O),
2274
2299
  stronger: "",
2275
2300
  class: "b-file-uploader__button"
2276
2301
  }, {
2277
- default: h(() => [
2278
- $(x(t(o)("browseFiles")), 1)
2302
+ default: w(() => [
2303
+ z(x(t(n)("browseFiles")), 1)
2279
2304
  ]),
2280
2305
  _: 1
2281
2306
  }, 8, ["id"])
2282
- ], 40, Pe)),
2283
- P.value && e.errorMessage ? (s(), w(t(ji), {
2307
+ ], 40, We)),
2308
+ va.value && e.errorMessage ? (s(), y(t(Ei), {
2284
2309
  key: 1,
2285
- id: t(oa),
2310
+ id: t(na),
2286
2311
  "error-message": e.errorMessage,
2287
2312
  class: "b-file-uploader__error-message"
2288
- }, null, 8, ["id", "error-message"])) : f("", !0),
2289
- e.condensed && e.description ? (s(), w(t(R), {
2313
+ }, null, 8, ["id", "error-message"])) : u("", !0),
2314
+ e.condensed && e.description ? (s(), y(t(I), {
2290
2315
  key: 2,
2291
2316
  id: t(q),
2292
2317
  "aria-hidden": "true",
2293
2318
  el: "span",
2294
2319
  class: "b-file-uploader__description b-file-uploader__description--condensed"
2295
2320
  }, {
2296
- default: h(() => [
2297
- $(x(e.description), 1)
2321
+ default: w(() => [
2322
+ z(x(e.description), 1)
2298
2323
  ]),
2299
2324
  _: 1
2300
- }, 8, ["id"])) : f("", !0),
2301
- e.condensed ? (s(), w(t(qa), D({ key: 3 }, K.value, { id: t(U) }), null, 16, ["id"])) : f("", !0),
2302
- ka.value ? (s(), w(t(xi), {
2325
+ }, 8, ["id"])) : u("", !0),
2326
+ e.condensed ? (s(), y(t(Aa), V({ key: 3 }, sa.value, { id: t(A) }), null, 16, ["id"])) : u("", !0),
2327
+ za.value ? (s(), y(t(hi), {
2303
2328
  key: 4,
2304
2329
  type: "critical"
2305
2330
  }, {
2306
- description: h(() => [
2307
- $(x(t(o)("youHaveExceededTheMaximum", { count: t(n)(l.maxCount) })), 1)
2331
+ description: w(() => [
2332
+ z(x(t(n)("youHaveExceededTheMaximum", { count: t(p)(l.maxCount) })), 1)
2308
2333
  ]),
2309
- default: h(() => [
2310
- $(x(t(o)("tooManyFiles")) + " ", 1)
2334
+ default: w(() => [
2335
+ z(x(t(n)("tooManyFiles")) + " ", 1)
2311
2336
  ]),
2312
2337
  _: 1
2313
- })) : f("", !0),
2314
- Ba(m("div", Ge, [
2315
- (s(!0), g(ja, null, ui(v.value, (H, li) => (s(), w(t(De), {
2338
+ })) : u("", !0),
2339
+ Za(r("div", Ye, [
2340
+ (s(!0), g(Ia, null, fi(b.value, (T, ha) => (s(), y(t(Ve), {
2316
2341
  ref_for: !0,
2317
- ref: _(li),
2318
- key: H.id,
2319
- file: H,
2320
- "supported-file-types": t(r),
2342
+ ref: B(ha),
2343
+ key: T.id,
2344
+ file: T,
2345
+ "supported-file-types": t(_),
2321
2346
  readonly: e.readonly,
2322
- onCancel: (si) => Ca(H),
2323
- onRemove: (si) => Ca(H)
2347
+ onCancel: (di) => _a(T),
2348
+ onRemove: (di) => _a(T)
2324
2349
  }, null, 8, ["file", "supported-file-types", "readonly", "onCancel", "onRemove"]))), 128))
2325
2350
  ], 512), [
2326
- [vi, (C = v.value) == null ? void 0 : C.length]
2351
+ [xi, (C = b.value) == null ? void 0 : C.length]
2327
2352
  ]),
2328
- !((z = v.value) != null && z.length) && e.readonly ? (s(), w(t(R), {
2353
+ !(($ = b.value) != null && $.length) && e.readonly ? (s(), y(t(I), {
2329
2354
  key: 5,
2330
2355
  class: "b-file-uploader__no-files",
2331
2356
  wide: ""
2332
2357
  }, {
2333
- default: h(() => [
2334
- $(x(t(o)("noFilesUploaded")), 1)
2358
+ default: w(() => [
2359
+ z(x(t(n)("noFilesUploaded")), 1)
2335
2360
  ]),
2336
2361
  _: 1
2337
- })) : f("", !0)
2362
+ })) : u("", !0)
2338
2363
  ], 2);
2339
2364
  };
2340
2365
  }
2341
- }), xt = /* @__PURE__ */ F(Je, [["__scopeId", "data-v-9270b2fc"]]);
2366
+ }), gt = /* @__PURE__ */ L(Xe, [["__scopeId", "data-v-9e27903c"]]);
2342
2367
  export {
2343
- xt as f
2368
+ gt as f
2344
2369
  };
2345
- //# sourceMappingURL=file-uploader.Q2ufNRTY.js.map
2370
+ //# sourceMappingURL=file-uploader.BnmNI1O7.js.map