@adyen/bento-vue2 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 (276) hide show
  1. package/dist/@types/index.d.ts +1271 -1216
  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.Dnkt4yn7.js → action-bar.ChMlt59Z.js} +4 -4
  38. package/dist/chunks/{action-bar.Dnkt4yn7.js.map → action-bar.ChMlt59Z.js.map} +1 -1
  39. package/dist/chunks/{ai-tag.s8TECgn_.js → ai-tag.D5fCswAm.js} +2 -2
  40. package/dist/chunks/{ai-tag.s8TECgn_.js.map → ai-tag.D5fCswAm.js.map} +1 -1
  41. package/dist/chunks/anchor-scroller.Cb22EJiL.js +177 -0
  42. package/dist/chunks/{anchor-scroller.3_idPubO.js.map → anchor-scroller.Cb22EJiL.js.map} +1 -1
  43. package/dist/chunks/{base-modal.09nAcnF_.js → base-modal.CUSvvYnk.js} +14 -14
  44. package/dist/chunks/{base-modal.09nAcnF_.js.map → base-modal.CUSvvYnk.js.map} +1 -1
  45. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js → button-actions-with-menu.D14S1pym.js} +3 -3
  46. package/dist/chunks/{button-actions-with-menu.C8tSTxrm.js.map → button-actions-with-menu.D14S1pym.js.map} +1 -1
  47. package/dist/chunks/{button-actions.VSc47LLH.js → button-actions.DyPS54Yi.js} +134 -132
  48. package/dist/chunks/button-actions.DyPS54Yi.js.map +1 -0
  49. package/dist/chunks/{calendar.DiXkjQDP.js → calendar.BNg7mSj5.js} +398 -407
  50. package/dist/chunks/calendar.BNg7mSj5.js.map +1 -0
  51. package/dist/chunks/{card.BdjdBN36.js → card.9oGLUzev.js} +2 -2
  52. package/dist/chunks/{card.BdjdBN36.js.map → card.9oGLUzev.js.map} +1 -1
  53. package/dist/chunks/{checkbox-group.d6VQvZL7.js → checkbox-group.BtsDJN9I.js} +22 -22
  54. package/dist/chunks/checkbox-group.BtsDJN9I.js.map +1 -0
  55. package/dist/chunks/{checkbox.ClFNfhNh.js → checkbox.Dxvh9si9.js} +19 -22
  56. package/dist/chunks/checkbox.Dxvh9si9.js.map +1 -0
  57. package/dist/chunks/{code-snippet.DBNJgt1j.js → code-snippet.CaAEHdBl.js} +4 -4
  58. package/dist/chunks/{code-snippet.DBNJgt1j.js.map → code-snippet.CaAEHdBl.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.HUWlAOhG.js → controls-group.BCKGkHVl.js} +23 -28
  62. package/dist/chunks/controls-group.BCKGkHVl.js.map +1 -0
  63. package/dist/chunks/{copy.BXykYfg0.js → copy.DSNuoLZf.js} +3 -3
  64. package/dist/chunks/{copy.BXykYfg0.js.map → copy.DSNuoLZf.js.map} +1 -1
  65. package/dist/chunks/{dashboard-section.Cw2Ima3U.js → dashboard-section.DIesvnBa.js} +3 -3
  66. package/dist/chunks/{dashboard-section.Cw2Ima3U.js.map → dashboard-section.DIesvnBa.js.map} +1 -1
  67. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js → dashed-underline.DauOBhSD.js} +3 -3
  68. package/dist/chunks/{dashed-underline.Dfw7cJ-9.js.map → dashed-underline.DauOBhSD.js.map} +1 -1
  69. package/dist/chunks/{data-grid-template.6LR2Jqka.js → data-grid-template.T-6_zLby.js} +3 -3
  70. package/dist/chunks/{data-grid-template.6LR2Jqka.js.map → data-grid-template.T-6_zLby.js.map} +1 -1
  71. package/dist/chunks/{data-grid.B_uZEPDW.js → data-grid.ZjYQaN9_.js} +695 -695
  72. package/dist/chunks/{data-grid.B_uZEPDW.js.map → data-grid.ZjYQaN9_.js.map} +1 -1
  73. package/dist/chunks/date-picker.BLOqU7Z9.js +173 -0
  74. package/dist/chunks/date-picker.BLOqU7Z9.js.map +1 -0
  75. package/dist/chunks/date-range-picker.CJexeNJg.js +900 -0
  76. package/dist/chunks/date-range-picker.CJexeNJg.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.DA6E6qma.js → dialog-page.4deowaF2.js} +2 -2
  80. package/dist/chunks/{dialog-page.DA6E6qma.js.map → dialog-page.4deowaF2.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.5WjhJWdh.js → dropdown-default-textbox.CKnrDQ2z.js} +18 -16
  84. package/dist/chunks/dropdown-default-textbox.CKnrDQ2z.js.map +1 -0
  85. package/dist/chunks/{dropdown-tag.BnMuMIDk.js → dropdown-tag.DSCZALNp.js} +3 -3
  86. package/dist/chunks/{dropdown-tag.BnMuMIDk.js.map → dropdown-tag.DSCZALNp.js.map} +1 -1
  87. package/dist/chunks/{dropdown.DDPfKc74.js → dropdown.ET_mq1_P.js} +8 -8
  88. package/dist/chunks/{dropdown.DDPfKc74.js.map → dropdown.ET_mq1_P.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.VenUl2OK.js → error-message.CYfT0Qsi.js} +19 -22
  94. package/dist/chunks/error-message.CYfT0Qsi.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.BU1V40qK.js → file-uploader.BSX-zpyP.js} +377 -353
  98. package/dist/chunks/file-uploader.BSX-zpyP.js.map +1 -0
  99. package/dist/chunks/filter-bar.DkKvGUEm.js +3229 -0
  100. package/dist/chunks/filter-bar.DkKvGUEm.js.map +1 -0
  101. package/dist/chunks/{focus-trap.DMc1wL3A.js → focus-trap.DRqjHzt6.js} +2 -2
  102. package/dist/chunks/{focus-trap.DMc1wL3A.js.map → focus-trap.DRqjHzt6.js.map} +1 -1
  103. package/dist/chunks/{footer-actions.z-api8J_.js → footer-actions.Dq82H1Oc.js} +2 -2
  104. package/dist/chunks/{footer-actions.z-api8J_.js.map → footer-actions.Dq82H1Oc.js.map} +1 -1
  105. package/dist/chunks/form-layout-title.vF9Bmbre.js +212 -0
  106. package/dist/chunks/{form-layout-title.Bbq05nMT.js.map → form-layout-title.vF9Bmbre.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.CuMQSsOm.js → header-meta.ByA0tkZw.js} +88 -94
  110. package/dist/chunks/header-meta.ByA0tkZw.js.map +1 -0
  111. package/dist/chunks/{header-with-views.DX8EXLMJ.js → header-with-views.DLoIc0yO.js} +9 -9
  112. package/dist/chunks/{header-with-views.DX8EXLMJ.js.map → header-with-views.DLoIc0yO.js.map} +1 -1
  113. package/dist/chunks/{header.YECm2GAh.js → header.BG6XUNEs.js} +3 -3
  114. package/dist/chunks/{header.YECm2GAh.js.map → header.BG6XUNEs.js.map} +1 -1
  115. package/dist/chunks/{index.BkJqgYF1.js → index.CwzYJHw2.js} +204 -197
  116. package/dist/chunks/{index.BkJqgYF1.js.map → index.CwzYJHw2.js.map} +1 -1
  117. package/dist/chunks/{info-icon.DS9ax8ZD.js → info-icon.BF8KxU-k.js} +3 -3
  118. package/dist/chunks/{info-icon.DS9ax8ZD.js.map → info-icon.BF8KxU-k.js.map} +1 -1
  119. package/dist/chunks/{input-field-password.DrI6eF5u.js → input-field-password.TIzrVzR6.js} +6 -6
  120. package/dist/chunks/{input-field-password.DrI6eF5u.js.map → input-field-password.TIzrVzR6.js.map} +1 -1
  121. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js → input-field-phone-number.s2fP7BVR.js} +42 -42
  122. package/dist/chunks/{input-field-phone-number.Buh4x3pJ.js.map → input-field-phone-number.s2fP7BVR.js.map} +1 -1
  123. package/dist/chunks/{input-field.NEKXqT4R.js → input-field.CSCJTxk1.js} +10 -10
  124. package/dist/chunks/input-field.CSCJTxk1.js.map +1 -0
  125. package/dist/chunks/{inspector.BomNgVb-.js → inspector.DgI3voTk.js} +3 -3
  126. package/dist/chunks/{inspector.BomNgVb-.js.map → inspector.DgI3voTk.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.BxuMJU4E.js → layout-row.B_IQC9Nq.js} +2 -2
  134. package/dist/chunks/{layout-row.BxuMJU4E.js.map → layout-row.B_IQC9Nq.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js → listbox-option-tag.BhPVuAjJ.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cv3y0TvQ.js.map → listbox-option-tag.BhPVuAjJ.js.map} +1 -1
  137. package/dist/chunks/modal-fullscreen.DJtDO8TR.js +235 -0
  138. package/dist/chunks/modal-fullscreen.DJtDO8TR.js.map +1 -0
  139. package/dist/chunks/{modal.DOR8c0gy.js → modal.BbsIM3qp.js} +4 -4
  140. package/dist/chunks/{modal.DOR8c0gy.js.map → modal.BbsIM3qp.js.map} +1 -1
  141. package/dist/chunks/{pagination.wuEIlDcq.js → pagination.iN0eYByB.js} +157 -138
  142. package/dist/chunks/pagination.iN0eYByB.js.map +1 -0
  143. package/dist/chunks/popover.types.hA13DZPg.js +6 -0
  144. package/dist/chunks/{popover.types.DkiRUQ4Z.js.map → popover.types.hA13DZPg.js.map} +1 -1
  145. package/dist/chunks/{popper-container.D4dworD4.js → popper-container.C_n9Ds1W.js} +2 -2
  146. package/dist/chunks/{popper-container.D4dworD4.js.map → popper-container.C_n9Ds1W.js.map} +1 -1
  147. package/dist/chunks/{promo-banner.bjMDm76T.js → promo-banner.BQreywWK.js} +2 -2
  148. package/dist/chunks/{promo-banner.bjMDm76T.js.map → promo-banner.BQreywWK.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.DKRxfGtE.js → radio-group.5ZxqWguJ.js} +6 -6
  152. package/dist/chunks/radio-group.5ZxqWguJ.js.map +1 -0
  153. package/dist/chunks/{rich-text-editor.DiuS9alD.js → rich-text-editor.BJ-FvvNc.js} +132 -132
  154. package/dist/chunks/{rich-text-editor.DiuS9alD.js.map → rich-text-editor.BJ-FvvNc.js.map} +1 -1
  155. package/dist/chunks/{search-bar.UVSaoX0h.js → search-bar.GPl6NU_w.js} +3 -3
  156. package/dist/chunks/{search-bar.UVSaoX0h.js.map → search-bar.GPl6NU_w.js.map} +1 -1
  157. package/dist/chunks/{secondary-nav.C6ldQMZ2.js → secondary-nav.DMHDxGDq.js} +3 -3
  158. package/dist/chunks/{secondary-nav.C6ldQMZ2.js.map → secondary-nav.DMHDxGDq.js.map} +1 -1
  159. package/dist/chunks/{segmented-control.BLnuxgnJ.js → segmented-control.BqIiX9hv.js} +2 -2
  160. package/dist/chunks/{segmented-control.BLnuxgnJ.js.map → segmented-control.BqIiX9hv.js.map} +1 -1
  161. package/dist/chunks/{selection-card-group.CqGYskmS.js → selection-card-group.Hol_gJKN.js} +23 -23
  162. package/dist/chunks/selection-card-group.Hol_gJKN.js.map +1 -0
  163. package/dist/chunks/{sidepanel.BKE87Uef.js → sidepanel.CSA5e8AF.js} +5 -5
  164. package/dist/chunks/{sidepanel.BKE87Uef.js.map → sidepanel.CSA5e8AF.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.DRFRap_S.js → structured-list-item.C7W3zYcT.js} +4 -4
  168. package/dist/chunks/{structured-list-item.DRFRap_S.js.map → structured-list-item.C7W3zYcT.js.map} +1 -1
  169. package/dist/chunks/{summary-grid.types.OldkhD7S.js → summary-grid.types.nrVagy9s.js} +5 -5
  170. package/dist/chunks/{summary-grid.types.OldkhD7S.js.map → summary-grid.types.nrVagy9s.js.map} +1 -1
  171. package/dist/chunks/{tag.Cy3XkSDQ.js → tag.CocLKztJ.js} +2 -2
  172. package/dist/chunks/{tag.Cy3XkSDQ.js.map → tag.CocLKztJ.js.map} +1 -1
  173. package/dist/chunks/{textarea.Bm9MZb_W.js → textarea.CpVhEv6I.js} +33 -33
  174. package/dist/chunks/textarea.CpVhEv6I.js.map +1 -0
  175. package/dist/chunks/{timeline-item.Cpbm8IUw.js → timeline-item.CSDdHboz.js} +52 -54
  176. package/dist/chunks/timeline-item.CSDdHboz.js.map +1 -0
  177. package/dist/chunks/{tooltip.DF11J3k3.js → tooltip.CbsNGnhw.js} +2 -2
  178. package/dist/chunks/{tooltip.DF11J3k3.js.map → tooltip.CbsNGnhw.js.map} +1 -1
  179. package/dist/chunks/{tutorial.D5xtZ1Pt.js → tutorial.3dTfBKtZ.js} +4 -4
  180. package/dist/chunks/{tutorial.D5xtZ1Pt.js.map → tutorial.3dTfBKtZ.js.map} +1 -1
  181. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js → use-cached-selected-values.DiIjmiF_.js} +2 -2
  182. package/dist/chunks/{use-cached-selected-values.wn2xnwYG.js.map → use-cached-selected-values.DiIjmiF_.js.map} +1 -1
  183. package/dist/chunks/use-date-input-formatter.Dcjry8op.js +1732 -0
  184. package/dist/chunks/use-date-input-formatter.Dcjry8op.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 +104 -5
  232. package/package.json +6 -11
  233. package/dist/chunks/anchor-scroller.3_idPubO.js +0 -178
  234. package/dist/chunks/button-actions.VSc47LLH.js.map +0 -1
  235. package/dist/chunks/calendar.DiXkjQDP.js.map +0 -1
  236. package/dist/chunks/checkbox-group.d6VQvZL7.js.map +0 -1
  237. package/dist/chunks/checkbox.ClFNfhNh.js.map +0 -1
  238. package/dist/chunks/constructNow.B8T1ljs6.js +0 -8
  239. package/dist/chunks/controls-group.HUWlAOhG.js.map +0 -1
  240. package/dist/chunks/date-input.etw_pFpA.js +0 -20
  241. package/dist/chunks/date-input.etw_pFpA.js.map +0 -1
  242. package/dist/chunks/date-picker.CITeN8WH.js +0 -173
  243. package/dist/chunks/date-picker.CITeN8WH.js.map +0 -1
  244. package/dist/chunks/date-range-picker.DxVjXxap.js +0 -897
  245. package/dist/chunks/date-range-picker.DxVjXxap.js.map +0 -1
  246. package/dist/chunks/dropdown-default-textbox.5WjhJWdh.js.map +0 -1
  247. package/dist/chunks/en-US.BZii9jNW.js.map +0 -1
  248. package/dist/chunks/error-message.VenUl2OK.js.map +0 -1
  249. package/dist/chunks/file-uploader.BU1V40qK.js.map +0 -1
  250. package/dist/chunks/filter-bar.UdXQf_RN.js +0 -3321
  251. package/dist/chunks/filter-bar.UdXQf_RN.js.map +0 -1
  252. package/dist/chunks/form-layout-title.Bbq05nMT.js +0 -197
  253. package/dist/chunks/fr-CA.B1aPU8fp.js +0 -48
  254. package/dist/chunks/fr-CA.B1aPU8fp.js.map +0 -1
  255. package/dist/chunks/fr.Dj7wEToe.js +0 -47
  256. package/dist/chunks/fr.Dj7wEToe.js.map +0 -1
  257. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js +0 -51
  258. package/dist/chunks/getTimezoneOffsetInMilliseconds.Tu2wlbTR.js.map +0 -1
  259. package/dist/chunks/header-meta.CuMQSsOm.js.map +0 -1
  260. package/dist/chunks/input-field.NEKXqT4R.js.map +0 -1
  261. package/dist/chunks/isSameWeek.DjeUtLwI.js +0 -14
  262. package/dist/chunks/ko.Ceaof6EP.js +0 -348
  263. package/dist/chunks/ko.Ceaof6EP.js.map +0 -1
  264. package/dist/chunks/match.CMBZxEs9.js.map +0 -1
  265. package/dist/chunks/modal-fullscreen.6bAjPENL.js +0 -225
  266. package/dist/chunks/modal-fullscreen.6bAjPENL.js.map +0 -1
  267. package/dist/chunks/nl.B6vCf2B9.js +0 -327
  268. package/dist/chunks/nl.B6vCf2B9.js.map +0 -1
  269. package/dist/chunks/pagination.wuEIlDcq.js.map +0 -1
  270. package/dist/chunks/popover.types.DkiRUQ4Z.js +0 -6
  271. package/dist/chunks/radio-group.DKRxfGtE.js.map +0 -1
  272. package/dist/chunks/selection-card-group.CqGYskmS.js.map +0 -1
  273. package/dist/chunks/sv.f8EfZjMZ.js +0 -377
  274. package/dist/chunks/sv.f8EfZjMZ.js.map +0 -1
  275. package/dist/chunks/textarea.Bm9MZb_W.js.map +0 -1
  276. package/dist/chunks/timeline-item.Cpbm8IUw.js.map +0 -1
@@ -1,74 +1,74 @@
1
- import { defineComponent as N, ref as h, onUnmounted as Va, onMounted as Ca, computed as m, watch as ea, reactive as ta, toRef as ia, nextTick as Ba } from "vue";
1
+ import { defineComponent as G, ref as w, onUnmounted as Ha, onMounted as Ra, computed as d, watch as na, reactive as oa, toRef as ta, nextTick as Aa } from "vue";
2
2
  /* empty css */
3
- import { n as g } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
- import { W as ka } from "./warning-filled.CbJ1pcB2.js";
5
- import { B as Oa } from "./alert.BESCd8iS.js";
6
- import { B as na, d as qa } from "./typography.C8lPlsbD.js";
7
- import { u as W } from "./index.B6WW_F-J.js";
8
- import { g as w } from "./generate-uid.NJ8tVoha.js";
9
- import { u as Ha } from "./form-field.D_2g7vaP.js";
10
- import { i as Ra } from "./index.Cl4_42j5.js";
11
- import { B as Ua } from "./bin.Ddb69cr1.js";
12
- import { C as Aa } from "./checkmark-circle-fill.BttTCjrM.js";
13
- import { C as Za } from "./cross.CC_B-vG-.js";
14
- import { R as Pa } from "./refresh.arF7jP-l.js";
15
- import { B as Na } from "./button.Ctj3rkxw.js";
16
- import { B as Wa } from "./link.DKimL08z.js";
17
- import { B as Ga } from "./loading-indicator.PxbRzshH.js";
18
- import { b as Ya } from "./tooltip.DF11J3k3.js";
19
- import { F as Ja, E as Xa } from "./error-message.VenUl2OK.js";
3
+ import { n as b } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
+ import { W as Ea } from "./warning-filled.CbJ1pcB2.js";
5
+ import { B as Ua } from "./alert.BESCd8iS.js";
6
+ import { B as la, d as Za } from "./typography.C8lPlsbD.js";
7
+ import { u as Y } from "./index.B6WW_F-J.js";
8
+ import { g as _ } from "./generate-uid.NJ8tVoha.js";
9
+ import { u as Pa } from "./form-field.D_2g7vaP.js";
10
+ import { i as Fa } from "./index.Cl4_42j5.js";
11
+ import { B as Na } from "./bin.Ddb69cr1.js";
12
+ import { C as Wa } from "./checkmark-circle-fill.BttTCjrM.js";
13
+ import { C as Ga } from "./cross.CC_B-vG-.js";
14
+ import { R as Ya } from "./refresh.arF7jP-l.js";
15
+ import { B as Ja } from "./button.Ctj3rkxw.js";
16
+ import { B as Xa } from "./link.DKimL08z.js";
17
+ import { B as Ka } from "./loading-indicator.PxbRzshH.js";
18
+ import { b as Qa } from "./tooltip.CbsNGnhw.js";
19
+ import { F as ai, E as ii } from "./error-message.CYfT0Qsi.js";
20
20
  import "../assets/file-uploader.css";
21
- let ma = 0;
22
- const Ka = {
21
+ let fa = 0;
22
+ const ei = {
23
23
  beforeCreate() {
24
- this.uuid = ma.toString(), ma += 1;
24
+ this.uuid = fa.toString(), fa += 1;
25
25
  }
26
26
  };
27
- var Qa = function() {
27
+ var ti = function() {
28
28
  var a = this, e = a._self._c;
29
29
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.25H14.75V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V10.25H2.75V12Z" } }), e("path", { attrs: { fill: "#001222", d: "M12.0605 5L11 6.06055L8.75 3.81055V11.75H7.25V3.81055L5 6.06055L3.93945 5L8 0.939453L12.0605 5Z" } })]);
30
- }, ai = [], ii = /* @__PURE__ */ g(
31
- Ka,
32
- Qa,
33
- ai,
30
+ }, ni = [], oi = /* @__PURE__ */ b(
31
+ ei,
32
+ ti,
33
+ ni,
34
34
  !1,
35
35
  null,
36
36
  null
37
37
  );
38
- const ei = ii.exports, ti = /* @__PURE__ */ N({
38
+ const pi = oi.exports, li = /* @__PURE__ */ G({
39
39
  __name: "file-uploader-file-card-animation",
40
40
  props: {
41
41
  name: null,
42
42
  showFileIcon: { type: Boolean }
43
43
  },
44
44
  setup(t) {
45
- return { __sfc: !0, isVue2: Ra };
45
+ return { __sfc: !0, isVue2: Fa };
46
46
  }
47
47
  });
48
- var ni = function() {
48
+ var si = function() {
49
49
  var a = this, e = a._self._c, i = a._self._setupProxy;
50
50
  return i.isVue2 ? e("Transition", { attrs: { name: a.name, mode: "out-in", css: a.showFileIcon } }, [a._t("default")], 2) : e("TransitionGroup", { attrs: { name: a.name, css: a.showFileIcon } }, [a._t("default")], 2);
51
- }, oi = [], pi = /* @__PURE__ */ g(
52
- ti,
53
- ni,
54
- oi,
51
+ }, ri = [], ci = /* @__PURE__ */ b(
52
+ li,
53
+ si,
54
+ ri,
55
55
  !1,
56
56
  null,
57
57
  null
58
58
  );
59
- const li = pi.exports;
60
- function si(t, a) {
61
- const e = h(!1);
59
+ const di = ci.exports;
60
+ function mi(t, a) {
61
+ const e = w(!1);
62
62
  let i;
63
63
  function o() {
64
64
  i && i.disconnect();
65
65
  }
66
- return Va(() => {
66
+ return Ha(() => {
67
67
  o();
68
- }), Ca(() => {
68
+ }), Ra(() => {
69
69
  o(), i = new IntersectionObserver(
70
- (c) => {
71
- e.value = !c[0].isIntersecting;
70
+ (r) => {
71
+ e.value = !r[0].isIntersecting;
72
72
  },
73
73
  {
74
74
  root: a.value,
@@ -77,23 +77,23 @@ function si(t, a) {
77
77
  ), i.observe(t.value.$el);
78
78
  }), e;
79
79
  }
80
- const ua = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
81
- function Ea(t, a) {
82
- const e = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), ua.length - 1));
80
+ const xa = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
81
+ function pa(t, a) {
82
+ const e = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), xa.length - 1));
83
83
  return Intl.NumberFormat(t, {
84
84
  style: "unit",
85
- unit: ua[e]
85
+ unit: xa[e]
86
86
  }).format(a / 1024 ** e);
87
87
  }
88
- var y = /* @__PURE__ */ ((t) => (t.LOADING = "loading", t.SUCCESS = "success", t.ERROR = "error", t))(y || {}), x = /* @__PURE__ */ ((t) => (t.ERROR_SIZE = "error-size", t.ERROR_LOAD = "error-load", t.ERROR_DIMENSIONS = "error-dimensions", t.ERROR_TYPE = "error-type", t))(x || {}), P = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t.DRAG_OVER = "drag-over", t.ERROR = "error", t.READONLY = "readonly", t))(P || {}), u = /* @__PURE__ */ ((t) => (t.TABLE = "table", t.IMAGE = "image", t.VIDEO = "video", t.AUDIO = "audio", t.TEXT = "text", t.PDF = "pdf", t.SLIDES = "slides", t.COMPRESSED = "compressed", t.GENERIC = "generic", t))(u || {});
89
- const ri = [
88
+ var k = /* @__PURE__ */ ((t) => (t.LOADING = "loading", t.SUCCESS = "success", t.ERROR = "error", t))(k || {}), h = /* @__PURE__ */ ((t) => (t.ERROR_SIZE = "error-size", t.ERROR_LOAD = "error-load", t.ERROR_DIMENSIONS = "error-dimensions", t.ERROR_TYPE = "error-type", t))(h || {}), W = /* @__PURE__ */ ((t) => (t.DISABLED = "disabled", t.DRAG_OVER = "drag-over", t.ERROR = "error", t.READONLY = "readonly", t))(W || {}), u = /* @__PURE__ */ ((t) => (t.TABLE = "table", t.IMAGE = "image", t.VIDEO = "video", t.AUDIO = "audio", t.TEXT = "text", t.PDF = "pdf", t.SLIDES = "slides", t.COMPRESSED = "compressed", t.GENERIC = "generic", t))(u || {});
89
+ const ui = [
90
90
  "application/msword",
91
91
  // .doc
92
92
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
93
93
  // .docx
94
94
  "application/rtf"
95
95
  // .rtf
96
- ], ci = [
96
+ ], vi = [
97
97
  "application/vnd.ms-excel",
98
98
  // .xls
99
99
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -106,14 +106,14 @@ const ri = [
106
106
  // .numbers
107
107
  "text/csv"
108
108
  // .csv
109
- ], di = [
109
+ ], fi = [
110
110
  "application/vnd.ms-powerpoint",
111
111
  // .ppt
112
112
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
113
113
  // .pptx
114
114
  "application/vnd.oasis.opendocument.presentation"
115
115
  // .odp
116
- ], mi = [
116
+ ], xi = [
117
117
  "application/zip",
118
118
  // .zip
119
119
  "application/vnd.rar",
@@ -135,10 +135,10 @@ const ri = [
135
135
  "application/vnd.ms-cab-compressed"
136
136
  // .cab
137
137
  ];
138
- function ui(t) {
139
- return ci.includes(t.type) ? u.TABLE : t.type.startsWith("text/") || ri.includes(t.type) ? u.TEXT : t.type.startsWith("image/") ? u.IMAGE : t.type.startsWith("video/") ? u.VIDEO : t.type.startsWith("audio/") ? u.AUDIO : t.type === "application/pdf" ? u.PDF : di.includes(t.type) ? u.SLIDES : mi.includes(t.type) ? u.COMPRESSED : u.GENERIC;
138
+ function gi(t) {
139
+ return vi.includes(t.type) ? u.TABLE : t.type.startsWith("text/") || ui.includes(t.type) ? u.TEXT : t.type.startsWith("image/") ? u.IMAGE : t.type.startsWith("video/") ? u.VIDEO : t.type.startsWith("audio/") ? u.AUDIO : t.type === "application/pdf" ? u.PDF : fi.includes(t.type) ? u.SLIDES : xi.includes(t.type) ? u.COMPRESSED : u.GENERIC;
140
140
  }
141
- function vi(t, a) {
141
+ function ja(t, a) {
142
142
  if (!a)
143
143
  return !0;
144
144
  const e = a.split(",").map((i) => i.trim());
@@ -150,209 +150,212 @@ function vi(t, a) {
150
150
  const o = i.split("/")[0];
151
151
  if (t.type.startsWith(o))
152
152
  return !0;
153
- } else if (t.type === i)
153
+ } else if (i.includes("/")) {
154
+ if (t.type === i)
155
+ return !0;
156
+ } else if (t.name.endsWith(`.${i}`))
154
157
  return !0;
155
158
  return !1;
156
159
  }
157
- function fi(t, a, e) {
160
+ function hi(t, a, e) {
158
161
  const i = new FileReader(), o = t;
159
- if (!vi(o.data, a)) {
160
- o.state = y.ERROR, o.errors.push(x.ERROR_TYPE);
162
+ if (!ja(o.data, a)) {
163
+ o.state = k.ERROR, o.errors.push(h.ERROR_TYPE);
161
164
  return;
162
165
  }
163
- i.onload = (c) => {
166
+ i.onload = (r) => {
164
167
  if (e && o.type === u.IMAGE) {
165
- const p = new Blob([c.target.result], { type: o.data.type }), s = URL.createObjectURL(p), d = new Image();
166
- d.onload = function() {
167
- (d.width > e.width || d.height > e.height) && (o.state = y.ERROR, o.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
168
- }, d.onerror = function() {
168
+ const p = new Blob([r.target.result], { type: o.data.type }), s = URL.createObjectURL(p), c = new Image();
169
+ c.onload = function() {
170
+ (c.width > e.width || c.height > e.height) && (o.state = k.ERROR, o.errors.push(h.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
171
+ }, c.onerror = function() {
169
172
  URL.revokeObjectURL(s);
170
- }, d.src = s;
173
+ }, c.src = s;
171
174
  }
172
- }, i.onprogress = (c) => {
173
- c.lengthComputable && (o.progress = c.loaded / c.total * 100);
175
+ }, i.onprogress = (r) => {
176
+ r.lengthComputable && (o.progress = r.loaded / r.total * 100);
174
177
  }, i.onloadend = () => {
175
- o.state !== y.ERROR && (o.state = y.SUCCESS), o.progress = null;
178
+ o.state !== k.ERROR && (o.state = k.SUCCESS), o.progress = null;
176
179
  }, i.onerror = () => {
177
- o.state = y.ERROR, o.errors.push(x.ERROR_LOAD), o.progress = null;
180
+ o.state = k.ERROR, o.errors.push(h.ERROR_LOAD), o.progress = null;
178
181
  }, i.readAsArrayBuffer(o.data);
179
182
  }
180
- let va = 0;
181
- const xi = {
183
+ let ga = 0;
184
+ const bi = {
182
185
  beforeCreate() {
183
- this.uuid = va.toString(), va += 1;
186
+ this.uuid = ga.toString(), ga += 1;
184
187
  }
185
188
  };
186
- var gi = function() {
189
+ var _i = function() {
187
190
  var a = this, e = a._self._c;
188
191
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")" } }, [e("path", { attrs: { fill: "#001222", d: "M7.10655 3.02949C8.98948 1.14706 12.0441 1.14675 13.9269 3.02949C15.8095 4.91225 15.8093 7.96692 13.9269 9.84981L11.1564 12.6203L10.0958 11.5598L12.8663 8.78926C14.1629 7.49216 14.1631 5.38701 12.8663 4.09004C11.5694 2.79309 9.46424 2.79339 8.1671 4.09004L2.72667 9.53047C1.95976 10.2976 1.95963 11.5427 2.72667 12.3098C3.49372 13.0766 4.7389 13.0766 5.50597 12.3098L10.9464 6.86934C11.183 6.63224 11.1832 6.24693 10.9464 6.00996C10.7094 5.77301 10.3242 5.77331 10.087 6.00996L4.4962 11.6008L3.43565 10.5402L9.02647 4.94942C9.8494 4.12698 11.1842 4.12668 12.0069 4.94942C12.8296 5.77217 12.8293 7.107 12.0069 7.92989L6.56651 13.3703C5.21366 14.723 3.01896 14.723 1.66612 13.3703C0.313294 12.0175 0.313425 9.82283 1.66612 8.46992L7.10655 3.02949Z" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-ui-assets/icons-16-attachment__a" + a.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
189
- }, hi = [], bi = /* @__PURE__ */ g(
190
- xi,
191
- gi,
192
- hi,
192
+ }, wi = [], yi = /* @__PURE__ */ b(
193
+ bi,
194
+ _i,
195
+ wi,
193
196
  !1,
194
197
  null,
195
198
  null
196
199
  );
197
- const _i = bi.exports;
198
- let fa = 0;
199
- const wi = {
200
+ const Ci = yi.exports;
201
+ let ha = 0;
202
+ const ki = {
200
203
  beforeCreate() {
201
- this.uuid = fa.toString(), fa += 1;
204
+ this.uuid = ha.toString(), ha += 1;
202
205
  }
203
206
  };
204
- var yi = function() {
207
+ var zi = function() {
205
208
  var a = this, e = a._self._c;
206
209
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", "fill-rule": "evenodd", d: "M11 0.25C12.5188 0.25 13.75 1.48122 13.75 3V7C13.75 7.85389 13.3607 8.6167 12.75 9.12109V10C12.75 10.8539 12.3607 11.6167 11.75 12.1211V13C11.75 14.5188 10.5188 15.75 9 15.75H7C5.48122 15.75 4.25 14.5188 4.25 13V12.1211C3.63934 11.6167 3.25 10.8539 3.25 10V9.12109C2.63934 8.6167 2.25 7.85389 2.25 7V3C2.25 1.48122 3.48122 0.25 5 0.25H11ZM10 12.75H6C5.91565 12.75 5.83241 12.7438 5.75 12.7363V13C5.75 13.6904 6.30964 14.25 7 14.25H9C9.69036 14.25 10.25 13.6904 10.25 13V12.7363C10.1676 12.7438 10.0843 12.75 10 12.75ZM11 9.75H5C4.91565 9.75 4.83241 9.74376 4.75 9.73633V10C4.75 10.6904 5.30964 11.25 6 11.25H10C10.6904 11.25 11.25 10.6904 11.25 10V9.73633C11.1676 9.74376 11.0843 9.75 11 9.75ZM5 1.75C4.30964 1.75 3.75 2.30964 3.75 3V7C3.75 7.69036 4.30964 8.25 5 8.25H11C11.6904 8.25 12.25 7.69036 12.25 7V3C12.25 2.30964 11.6904 1.75 11 1.75H5Z", "clip-rule": "evenodd" } })]);
207
- }, Ci = [], ki = /* @__PURE__ */ g(
208
- wi,
209
- yi,
210
- Ci,
210
+ }, Ri = [], Ei = /* @__PURE__ */ b(
211
+ ki,
212
+ zi,
213
+ Ri,
211
214
  !1,
212
215
  null,
213
216
  null
214
217
  );
215
- const Ri = ki.exports;
216
- let xa = 0;
217
- const Ei = {
218
+ const Fi = Ei.exports;
219
+ let ba = 0;
220
+ const ji = {
218
221
  beforeCreate() {
219
- this.uuid = xa.toString(), xa += 1;
222
+ this.uuid = ba.toString(), ba += 1;
220
223
  }
221
224
  };
222
- var zi = function() {
225
+ var Ii = function() {
223
226
  var a = this, e = a._self._c;
224
227
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M2.25 0.25V15.75H13.75V4.68934L9.31066 0.25H2.25ZM7.25 1.75V6.75H12.25V14.25H3.75V1.75H7.25ZM12.1893 5.25H8.75V1.81066L12.1893 5.25Z" } })]);
225
- }, Fi = [], ji = /* @__PURE__ */ g(
226
- Ei,
227
- zi,
228
- Fi,
228
+ }, $i = [], Ti = /* @__PURE__ */ b(
229
+ ji,
230
+ Ii,
231
+ $i,
229
232
  !1,
230
233
  null,
231
234
  null
232
235
  );
233
- const Ii = ji.exports;
234
- let ga = 0;
235
- const $i = {
236
+ const Si = Ti.exports;
237
+ let _a = 0;
238
+ const Li = {
236
239
  beforeCreate() {
237
- this.uuid = ga.toString(), ga += 1;
240
+ this.uuid = _a.toString(), _a += 1;
238
241
  }
239
242
  };
240
- var Ti = function() {
243
+ var Mi = function() {
241
244
  var a = this, e = a._self._c;
242
245
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), e("path", { attrs: { fill: "#001222", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), e("path", { attrs: { fill: "#001222", d: "M2.24609 0.25V15.75H13.7461V4.68934L9.30675 0.25H2.24609ZM7.24609 1.75V6.75H12.2461V14.25H3.74609V1.75H7.24609ZM12.1854 5.25H8.74609V1.81066L12.1854 5.25Z" } })]);
243
- }, Li = [], Si = /* @__PURE__ */ g(
244
- $i,
245
- Ti,
246
+ }, Di = [], Vi = /* @__PURE__ */ b(
246
247
  Li,
248
+ Mi,
249
+ Di,
247
250
  !1,
248
251
  null,
249
252
  null
250
253
  );
251
- const Mi = Si.exports;
252
- let ha = 0;
253
- const Di = {
254
+ const Bi = Vi.exports;
255
+ let wa = 0;
256
+ const Oi = {
254
257
  beforeCreate() {
255
- this.uuid = ha.toString(), ha += 1;
258
+ this.uuid = wa.toString(), wa += 1;
256
259
  }
257
260
  };
258
- var Vi = function() {
261
+ var qi = function() {
259
262
  var a = this, e = a._self._c;
260
263
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M1.24609 12V5C1.24609 3.48579 2.48188 2.25 3.99609 2.25H7.30664L10.3066 5.25H11.9961C13.5103 5.25 14.7461 6.48579 14.7461 8V12C14.7461 13.5142 13.5103 14.75 11.9961 14.75H3.99609C2.48188 14.75 1.24609 13.5142 1.24609 12ZM2.74609 12C2.74609 12.6858 3.31031 13.25 3.99609 13.25H11.9961C12.6819 13.25 13.2461 12.6858 13.2461 12V8C13.2461 7.31421 12.6819 6.75 11.9961 6.75H9.68555L6.68555 3.75H3.99609C3.31031 3.75 2.74609 4.31421 2.74609 5V12Z" } })]);
261
- }, Bi = [], Oi = /* @__PURE__ */ g(
262
- Di,
263
- Vi,
264
- Bi,
264
+ }, Hi = [], Ai = /* @__PURE__ */ b(
265
+ Oi,
266
+ qi,
267
+ Hi,
265
268
  !1,
266
269
  null,
267
270
  null
268
271
  );
269
- const qi = Oi.exports;
270
- let ba = 0;
271
- const Hi = {
272
+ const Ui = Ai.exports;
273
+ let ya = 0;
274
+ const Zi = {
272
275
  beforeCreate() {
273
- this.uuid = ba.toString(), ba += 1;
276
+ this.uuid = ya.toString(), ya += 1;
274
277
  }
275
278
  };
276
- var Ui = function() {
279
+ var Pi = function() {
277
280
  var a = this, e = a._self._c;
278
281
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M9.74609 3.74805C11.1268 3.74805 12.2461 4.86733 12.2461 6.24805C12.2461 7.62876 11.1268 8.74805 9.74609 8.74805C8.36538 8.74805 7.24609 7.62876 7.24609 6.24805C7.24609 4.86733 8.36538 3.74805 9.74609 3.74805ZM9.74609 5.24805C9.19381 5.24805 8.74609 5.69576 8.74609 6.24805C8.74609 6.80033 9.19381 7.24805 9.74609 7.24805C10.2984 7.24805 10.7461 6.80033 10.7461 6.24805C10.7461 5.69576 10.2984 5.24805 9.74609 5.24805Z" } }), e("path", { attrs: { fill: "#001222", d: "M11.9961 1.24805C13.5149 1.24805 14.7461 2.47926 14.7461 3.99805V11.998C14.7461 13.5168 13.5149 14.748 11.9961 14.748H3.99609C2.47731 14.748 1.24609 13.5168 1.24609 11.998V3.99805C1.24609 2.47926 2.47731 1.24805 3.99609 1.24805H11.9961ZM2.74609 11.3105V11.998C2.74609 12.6884 3.30574 13.248 3.99609 13.248H9.18359L4.99609 9.06055L2.74609 11.3105ZM3.99609 2.74805C3.30574 2.74805 2.74609 3.30769 2.74609 3.99805V9.18945L4.99609 6.93945L11.3047 13.248H11.9961C12.6864 13.248 13.2461 12.6884 13.2461 11.998V3.99805C13.2461 3.30769 12.6865 2.74805 11.9961 2.74805H3.99609Z" } })]);
279
- }, Ai = [], Zi = /* @__PURE__ */ g(
280
- Hi,
281
- Ui,
282
- Ai,
282
+ }, Ni = [], Wi = /* @__PURE__ */ b(
283
+ Zi,
284
+ Pi,
285
+ Ni,
283
286
  !1,
284
287
  null,
285
288
  null
286
289
  );
287
- const Pi = Zi.exports;
288
- let _a = 0;
289
- const Ni = {
290
+ const Gi = Wi.exports;
291
+ let Ca = 0;
292
+ const Yi = {
290
293
  beforeCreate() {
291
- this.uuid = _a.toString(), _a += 1;
294
+ this.uuid = Ca.toString(), Ca += 1;
292
295
  }
293
296
  };
294
- var Wi = function() {
297
+ var Ji = function() {
295
298
  var a = this, e = a._self._c;
296
299
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("g", { attrs: { fill: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")" } }, [e("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), e("path", { attrs: { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
297
- }, Gi = [], Yi = /* @__PURE__ */ g(
298
- Ni,
299
- Wi,
300
- Gi,
300
+ }, Xi = [], Ki = /* @__PURE__ */ b(
301
+ Yi,
302
+ Ji,
303
+ Xi,
301
304
  !1,
302
305
  null,
303
306
  null
304
307
  );
305
- const Ji = Yi.exports;
306
- let wa = 0;
307
- const Xi = {
308
+ const Qi = Ki.exports;
309
+ let ka = 0;
310
+ const ae = {
308
311
  beforeCreate() {
309
- this.uuid = wa.toString(), wa += 1;
312
+ this.uuid = ka.toString(), ka += 1;
310
313
  }
311
314
  };
312
- var Ki = function() {
315
+ var ie = function() {
313
316
  var a = this, e = a._self._c;
314
317
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z" } }), e("path", { attrs: { fill: "#001222", d: "M13.0111 4.99174C12.2099 4.19982 11.1294 3.75 10 3.75V2.25C11.53 2.25 12.9888 2.85964 14.0675 3.92684L14.0703 3.92966C15.1527 5.01199 15.75 6.47347 15.75 8C15.75 9.52995 15.1404 10.9888 14.0732 12.0675L14.0703 12.0703C12.988 13.1527 11.5265 13.75 10 13.75V12.25C11.1328 12.25 12.2107 11.8079 13.0082 11.0111C13.8002 10.21 14.25 9.1294 14.25 8C14.25 6.8672 13.8079 5.78927 13.0111 4.99174Z" } }), e("path", { attrs: { fill: "#001222", d: "M10 6.75V5.25C10.7257 5.25 11.4295 5.53694 11.9438 6.06319C12.4593 6.58041 12.75 7.26849 12.75 8C12.75 8.72573 12.4631 9.42951 11.9368 9.94383C11.4196 10.4593 10.7315 10.75 10 10.75V9.25C10.3268 9.25 10.6373 9.12206 10.8797 8.87967L10.8868 8.87265C11.1182 8.64727 11.25 8.33261 11.25 8C11.25 7.67317 11.1221 7.36272 10.8797 7.12033L10.8726 7.11321C10.6473 6.88175 10.3326 6.75 10 6.75Z" } })]);
315
- }, Qi = [], ae = /* @__PURE__ */ g(
316
- Xi,
317
- Ki,
318
- Qi,
318
+ }, ee = [], te = /* @__PURE__ */ b(
319
+ ae,
320
+ ie,
321
+ ee,
319
322
  !1,
320
323
  null,
321
324
  null
322
325
  );
323
- const ie = ae.exports;
324
- let ya = 0;
325
- const ee = {
326
+ const ne = te.exports;
327
+ let za = 0;
328
+ const oe = {
326
329
  beforeCreate() {
327
- this.uuid = ya.toString(), ya += 1;
330
+ this.uuid = za.toString(), za += 1;
328
331
  }
329
332
  };
330
- var te = function() {
333
+ var pe = function() {
331
334
  var a = this, e = a._self._c;
332
335
  return e("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? e("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), e("path", { attrs: { fill: "#001222", d: "M12 1.25C13.5188 1.25 14.75 2.48122 14.75 4V12C14.75 13.5188 13.5188 14.75 12 14.75H4C2.48122 14.75 1.25 13.5188 1.25 12V4C1.25 2.48122 2.48122 1.25 4 1.25H12ZM6.75 13.25H12C12.6904 13.25 13.25 12.6904 13.25 12V10.75H6.75V13.25ZM2.75 12C2.75 12.6904 3.30964 13.25 4 13.25H5.25V10.75H2.75V12ZM6.75 9.25H13.25V6.75H6.75V9.25ZM2.75 9.25H5.25V6.75H2.75V9.25ZM6.75 5.25H13.25V4C13.25 3.30964 12.6904 2.75 12 2.75H6.75V5.25ZM4 2.75C3.30964 2.75 2.75 3.30964 2.75 4V5.25H5.25V2.75H4Z" } })]);
333
- }, ne = [], oe = /* @__PURE__ */ g(
334
- ee,
335
- te,
336
- ne,
336
+ }, le = [], se = /* @__PURE__ */ b(
337
+ oe,
338
+ pe,
339
+ le,
337
340
  !1,
338
341
  null,
339
342
  null
340
343
  );
341
- const pe = oe.exports, le = {
342
- [u.AUDIO]: ie,
343
- [u.COMPRESSED]: qi,
344
- [u.GENERIC]: _i,
345
- [u.IMAGE]: Pi,
346
- [u.PDF]: Ii,
347
- [u.SLIDES]: Ri,
348
- [u.TABLE]: pe,
349
- [u.TEXT]: Mi,
350
- [u.VIDEO]: Ji
344
+ const re = se.exports, ce = {
345
+ [u.AUDIO]: ne,
346
+ [u.COMPRESSED]: Ui,
347
+ [u.GENERIC]: Ci,
348
+ [u.IMAGE]: Gi,
349
+ [u.PDF]: Si,
350
+ [u.SLIDES]: Fi,
351
+ [u.TABLE]: re,
352
+ [u.TEXT]: Bi,
353
+ [u.VIDEO]: Qi
351
354
  };
352
- function se(t) {
353
- return le[t.type];
355
+ function de(t) {
356
+ return ce[t.type];
354
357
  }
355
- function re(t) {
358
+ function me(t) {
356
359
  switch (t.type) {
357
360
  case u.COMPRESSED:
358
361
  case u.GENERIC:
@@ -366,7 +369,7 @@ function re(t) {
366
369
  return "green";
367
370
  }
368
371
  }
369
- const ce = {
372
+ const ue = {
370
373
  "en-US": {
371
374
  cancel: "Cancel",
372
375
  fileExceedsSizeLimit: "File exceeds size limit",
@@ -391,11 +394,11 @@ const ce = {
391
394
  remove: "Remover",
392
395
  retry: "Tentar novamente"
393
396
  }
394
- }, de = {
397
+ }, ve = {
395
398
  name: "file-uploader-file-card",
396
- i18n: { messages: ce }
397
- }, me = /* @__PURE__ */ N({
398
- ...de,
399
+ i18n: { messages: ue }
400
+ }, fe = /* @__PURE__ */ G({
401
+ ...ve,
399
402
  props: {
400
403
  file: null,
401
404
  supportedFileTypes: { default: null },
@@ -403,42 +406,42 @@ const ce = {
403
406
  },
404
407
  emits: ["cancel", "remove", "retry"],
405
408
  setup(t, { expose: a, emit: e }) {
406
- const i = t, o = 1200, { t: c, locale: p } = W(), s = h(null), d = h(null), v = h(null), C = w("file-errors-section"), B = w("cancel-file-button"), z = w("remove-file-button"), O = w("retry-file-button"), r = h(i.file.state === y.SUCCESS), T = m(() => URL.createObjectURL(i.file.data)), k = m(() => i.file.state === y.ERROR), q = m(() => i.file.errors.includes(x.ERROR_LOAD)), G = m(() => i.file.errors.includes(x.ERROR_SIZE)), Y = m(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), J = m(() => i.file.errors.includes(x.ERROR_TYPE)), F = m(() => i.file.state === y.LOADING), R = m(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), j = m(() => Ea(p.value, i.file.data.size)), L = h(), H = h(), I = si(L, H), X = m(() => ({
407
- "b-file-uploader-file-card--error": k.value
408
- })), S = m(() => ({
409
- [`b-file-uploader-file-card__icon--${re(i.file)}`]: r.value,
410
- "b-file-uploader-file-card__icon--error": k.value
411
- })), K = m(() => F.value ? Ga : k.value ? ka : r.value ? se(i.file) : Aa);
412
- ea(
409
+ const i = t, o = 1200, { t: r, locale: p } = Y(), s = w(null), c = w(null), g = w(null), R = _("file-errors-section"), $ = _("cancel-file-button"), x = _("remove-file-button"), y = _("retry-file-button"), z = w(i.file.state === k.SUCCESS), m = d(() => URL.createObjectURL(i.file.data)), E = d(() => i.file.state === k.ERROR), T = d(() => i.file.errors.includes(h.ERROR_LOAD)), O = d(() => i.file.errors.includes(h.ERROR_SIZE)), J = d(() => i.file.errors.includes(h.ERROR_DIMENSIONS)), X = d(() => i.file.errors.includes(h.ERROR_TYPE)), q = d(() => i.file.state === k.LOADING), M = d(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), F = d(() => pa(p.value, i.file.data.size)), j = w(), D = w(), K = mi(j, D), S = d(() => ({
410
+ "b-file-uploader-file-card--error": E.value
411
+ })), Q = d(() => ({
412
+ [`b-file-uploader-file-card__icon--${me(i.file)}`]: z.value,
413
+ "b-file-uploader-file-card__icon--error": E.value
414
+ })), V = d(() => q.value ? Ka : E.value ? Ea : z.value ? de(i.file) : Wa);
415
+ na(
413
416
  () => i.file.state,
414
- (Q) => {
415
- if (Q === y.SUCCESS && !r.value) {
416
- const D = setTimeout(() => {
417
- r.value = !0, clearTimeout(D);
417
+ (A) => {
418
+ if (A === k.SUCCESS && !z.value) {
419
+ const aa = setTimeout(() => {
420
+ z.value = !0, clearTimeout(aa);
418
421
  }, o);
419
422
  }
420
423
  }
421
424
  );
422
- function M() {
423
- if (v.value) {
424
- v.value.$el.focus();
425
+ function H() {
426
+ if (g.value) {
427
+ g.value.$el.focus();
425
428
  return;
426
429
  }
427
430
  if (s.value) {
428
431
  s.value.$el.focus();
429
432
  return;
430
433
  }
431
- if (d.value) {
432
- d.value.$el.focus();
434
+ if (c.value) {
435
+ c.value.$el.focus();
433
436
  return;
434
437
  }
435
438
  }
436
439
  return a({
437
- focus: M
438
- }), { __sfc: !0, ICON_TIMER: o, props: i, emit: e, t: c, locale: p, removeFileButtonRef: s, cancelFileButtonRef: d, retryFileButtonRef: v, fileErrorsSectionId: C, cancelFileButtonId: B, removeFileButtonId: z, retryFileButtonId: O, showFileIcon: r, downloadUrl: T, hasError: k, hasLoadError: q, hasSizeError: G, hasDimensionsError: Y, hasTypeError: J, isLoading: F, progressLabel: R, sizeLabel: j, fileNameRef: L, fileNameContainerRef: H, isFileNameTruncated: I, conditionalClasses: X, conditionalIconClasses: S, fileUploaderIcon: K, focus: M, isVue2: Ra, FileUploaderFileCardAnimation: li, BinIcon: Ua, CrossIcon: Za, RefreshIcon: Pa, vBentoTooltipDirective: Ya, BentoButton: Na, BentoLink: Wa, BentoTypography: na };
440
+ focus: H
441
+ }), { __sfc: !0, ICON_TIMER: o, props: i, emit: e, t: r, locale: p, removeFileButtonRef: s, cancelFileButtonRef: c, retryFileButtonRef: g, fileErrorsSectionId: R, cancelFileButtonId: $, removeFileButtonId: x, retryFileButtonId: y, showFileIcon: z, downloadUrl: m, hasError: E, hasLoadError: T, hasSizeError: O, hasDimensionsError: J, hasTypeError: X, isLoading: q, progressLabel: M, sizeLabel: F, fileNameRef: j, fileNameContainerRef: D, isFileNameTruncated: K, conditionalClasses: S, conditionalIconClasses: Q, fileUploaderIcon: V, focus: H, isVue2: Fa, FileUploaderFileCardAnimation: di, BinIcon: Na, CrossIcon: Ga, RefreshIcon: Ya, vBentoTooltipDirective: Qa, BentoButton: Ja, BentoLink: Xa, BentoTypography: la };
439
442
  }
440
443
  });
441
- var ue = function() {
444
+ var xe = function() {
442
445
  var a = this, e = a._self._c, i = a._self._setupProxy;
443
446
  return e("div", { staticClass: "b-file-uploader-file-card", class: i.conditionalClasses }, [e("div", { staticClass: "b-file-uploader-file-card__details" }, [e("div", { staticClass: "b-file-uploader-file-card__info" }, [e(i.FileUploaderFileCardAnimation, { attrs: { name: i.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": i.showFileIcon } }, [e(i.fileUploaderIcon, { key: JSON.stringify(i.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: i.conditionalIconClasses, attrs: { small: "", "aria-hidden": "true", "data-testid": "file-uploader-item-icon" } })], 1), e("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [e(i.BentoLink, { attrs: { "aria-hidden": "true", tabindex: "-1", download: a.file.data.name, to: i.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [e(i.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: i.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? e(i.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(i.progressLabel))]) : a.file.data.size ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(i.sizeLabel) + " ")]) : a._e()], 1), i.hasSizeError || i.hasDimensionsError || i.hasTypeError && a.supportedFileTypes ? e("div", { attrs: { id: i.fileErrorsSectionId, role: "alert" } }, [i.hasSizeError ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileExceedsSizeLimit")) + " ")]) : a._e(), i.hasDimensionsError ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), i.hasTypeError && a.supportedFileTypes ? e(i.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(i.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1) : a._e()]), a.readonly ? a._e() : e("div", { staticClass: "b-file-uploader-file-card__actions" }, [i.hasLoadError ? e(i.BentoButton, { ref: "retryFileButtonRef", attrs: { "aria-labelledby": `${i.fileErrorsSectionId} ${i.retryFileButtonId}`, variant: "tertiary" }, on: { click: function(o) {
444
447
  return i.emit("retry");
@@ -453,22 +456,23 @@ var ue = function() {
453
456
  } }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
454
457
  return [e(i.BinIcon, { attrs: { id: i.removeFileButtonId, "svg-title": `${i.t("remove")} - ${a.file.data.name}` } })];
455
458
  }, proxy: !0 }], null, !1, 3607204026) })], 1)]);
456
- }, ve = [], fe = /* @__PURE__ */ g(
457
- me,
458
- ue,
459
- ve,
459
+ }, ge = [], he = /* @__PURE__ */ b(
460
+ fe,
461
+ xe,
462
+ ge,
460
463
  !1,
461
464
  null,
462
465
  "fbe82cf6"
463
466
  );
464
- const xe = fe.exports, ge = {
467
+ const be = he.exports, _e = {
465
468
  "en-US": {
466
469
  maxFileSize: "Max file size: {size}",
467
470
  maxImageDimensions: "Max image dimensions: {width} × {height}px",
468
471
  maxImageHeight: "Max image height: {height}px",
469
472
  maxImageWidth: "Max image width: {width}px",
470
473
  maxUpload: "Max upload: {count} file | Max upload: {count} files",
471
- supportedFileTypes: "Supported file types: {list}"
474
+ supportedFileTypes: "Supported file types: {list}",
475
+ upToSize: "(up to {size})"
472
476
  },
473
477
  "ja-JP": {
474
478
  maxFileSize: "最大ファイルサイズ:{size}",
@@ -486,10 +490,10 @@ const xe = fe.exports, ge = {
486
490
  maxUpload: "Máximo de upload: {count} arquivo | Máximo de upload: {count} arquivos",
487
491
  supportedFileTypes: "Tipos de arquivo aceitos: {list}"
488
492
  }
489
- }, he = {
490
- i18n: { messages: ge }
491
- }, be = /* @__PURE__ */ N({
492
- ...he,
493
+ }, we = {
494
+ i18n: { messages: _e }
495
+ }, ye = /* @__PURE__ */ G({
496
+ ...we,
493
497
  __name: "file-uploader-restrictions",
494
498
  props: {
495
499
  condensed: { default: null },
@@ -500,38 +504,48 @@ const xe = fe.exports, ge = {
500
504
  supportedFileTypes: { default: null }
501
505
  },
502
506
  setup(t) {
503
- const a = t, { t: e, tc: i, n: o, locale: c } = W(), p = m(() => ({
507
+ const a = t, { t: e, tc: i, n: o, locale: r } = Y(), p = d(() => ({
504
508
  "b-file-uploader-restrictions--condensed": a.condensed,
505
509
  "b-file-uploader-restrictions--disabled": a.disabled
506
510
  }));
507
- function s(v) {
511
+ function s(x) {
508
512
  return {
509
- "b-file-uploader-restrictions--error": v
513
+ "b-file-uploader-restrictions--error": x
510
514
  };
511
515
  }
512
- const d = m(() => {
516
+ const c = d(() => a.maxSize && Array.isArray(a.maxSize.value)), g = d(() => !a.maxSize || c.value ? null : e("maxFileSize", { size: pa(r.value, a.maxSize.value) })), R = d(() => {
517
+ if (!a.supportedFileTypes)
518
+ return null;
519
+ if (!c.value)
520
+ return a.supportedFileTypes.value;
521
+ let x = a.supportedFileTypes.value;
522
+ return a.maxSize.value.forEach((y) => {
523
+ const z = y.fileType.toUpperCase(), m = e("upToSize", { size: pa(r.value, y.maxSize) });
524
+ x = x.replace(z, `${z} ${m}`);
525
+ }), x;
526
+ }), $ = d(() => {
513
527
  if (!a.maxDimensions)
514
528
  return null;
515
529
  const {
516
- value: { width: v, height: C }
530
+ value: { width: x, height: y }
517
531
  } = a.maxDimensions;
518
- return v && C ? e("maxImageDimensions", { width: o(v), height: o(C) }) : v ? e("maxImageWidth", { width: o(v) }) : C ? e("maxImageHeight", { height: o(C) }) : null;
532
+ return x && y ? e("maxImageDimensions", { width: o(x), height: o(y) }) : x ? e("maxImageWidth", { width: o(x) }) : y ? e("maxImageHeight", { height: o(y) }) : null;
519
533
  });
520
- return { __sfc: !0, props: a, t: e, tc: i, n: o, locale: c, conditionalClasses: p, setRestrictionErrorClass: s, maxDimensionsLabel: d, BentoTypography: na, formatFileSize: Ea };
534
+ return { __sfc: !0, props: a, t: e, tc: i, n: o, locale: r, conditionalClasses: p, setRestrictionErrorClass: s, isMaxSizeArray: c, maxFileSizeLabel: g, computedConditionalFiles: R, maxDimensionsLabel: $, BentoTypography: la };
521
535
  }
522
536
  });
523
- var _e = function() {
537
+ var Ce = function() {
524
538
  var a = this, e = a._self._c, i = a._self._setupProxy;
525
- return e("div", { staticClass: "b-file-uploader-restrictions", class: i.conditionalClasses }, [a.supportedFileTypes ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.supportedFileTypes.error) }, [a._v(" " + a._s(i.t("supportedFileTypes", { list: a.supportedFileTypes.value })) + " ")]) : a._e(), a.maxSize ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(i.t("maxFileSize", { size: i.formatFileSize(i.locale, a.maxSize.value) })) + " ")]) : a._e(), a.maxDimensions ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(i.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(i.tc("maxUpload", a.maxCount.value, { count: i.n(a.maxCount.value) })) + " ")]) : a._e()], 1);
526
- }, we = [], ye = /* @__PURE__ */ g(
527
- be,
528
- _e,
529
- we,
539
+ return e("div", { staticClass: "b-file-uploader-restrictions", class: i.conditionalClasses }, [a.supportedFileTypes ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.supportedFileTypes.error || i.isMaxSizeArray && a.maxSize.error) }, [a._v(" " + a._s(i.t("supportedFileTypes", { list: i.computedConditionalFiles })) + " ")]) : a._e(), !i.isMaxSizeArray && a.maxSize ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(i.maxFileSizeLabel) + " ")]) : a._e(), a.maxDimensions ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(i.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? e(i.BentoTypography, { class: i.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(i.tc("maxUpload", a.maxCount.value, { count: i.n(a.maxCount.value) })) + " ")]) : a._e()], 1);
540
+ }, ke = [], ze = /* @__PURE__ */ b(
541
+ ye,
542
+ Ce,
543
+ ke,
530
544
  !1,
531
545
  null,
532
- "c49d2e15"
546
+ "b0498c01"
533
547
  );
534
- const Ce = ye.exports, za = {
548
+ const Re = ze.exports, Ia = {
535
549
  "application/prs.cww": ["cww"],
536
550
  "application/prs.xsf+xml": ["xsf"],
537
551
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1230,8 +1244,8 @@ const Ce = ye.exports, za = {
1230
1244
  "video/x-smv": ["smv"],
1231
1245
  "x-conference/x-cooltalk": ["ice"]
1232
1246
  };
1233
- Object.freeze(za);
1234
- const Fa = {
1247
+ Object.freeze(Ia);
1248
+ const $a = {
1235
1249
  "application/andrew-inset": ["ez"],
1236
1250
  "application/appinstaller": ["appinstaller"],
1237
1251
  "application/applixware": ["aw"],
@@ -1583,31 +1597,31 @@ const Fa = {
1583
1597
  "video/quicktime": ["qt", "mov"],
1584
1598
  "video/webm": ["webm"]
1585
1599
  };
1586
- Object.freeze(Fa);
1587
- var _ = function(t, a, e, i) {
1600
+ Object.freeze($a);
1601
+ var C = function(t, a, e, i) {
1588
1602
  if (e === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
1589
1603
  if (typeof a == "function" ? t !== a || !i : !a.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1590
1604
  return e === "m" ? i : e === "a" ? i.call(t) : i ? i.value : a.get(t);
1591
- }, $, V, E;
1592
- class ke {
1605
+ }, L, B, I;
1606
+ class Ee {
1593
1607
  constructor(...a) {
1594
- $.set(this, /* @__PURE__ */ new Map()), V.set(this, /* @__PURE__ */ new Map()), E.set(this, /* @__PURE__ */ new Map());
1608
+ L.set(this, /* @__PURE__ */ new Map()), B.set(this, /* @__PURE__ */ new Map()), I.set(this, /* @__PURE__ */ new Map());
1595
1609
  for (const e of a)
1596
1610
  this.define(e);
1597
1611
  }
1598
1612
  define(a, e = !1) {
1599
1613
  for (let [i, o] of Object.entries(a)) {
1600
- i = i.toLowerCase(), o = o.map((s) => s.toLowerCase()), _(this, E, "f").has(i) || _(this, E, "f").set(i, /* @__PURE__ */ new Set());
1601
- const c = _(this, E, "f").get(i);
1614
+ i = i.toLowerCase(), o = o.map((s) => s.toLowerCase()), C(this, I, "f").has(i) || C(this, I, "f").set(i, /* @__PURE__ */ new Set());
1615
+ const r = C(this, I, "f").get(i);
1602
1616
  let p = !0;
1603
1617
  for (let s of o) {
1604
- const d = s.startsWith("*");
1605
- if (s = d ? s.slice(1) : s, c == null || c.add(s), p && _(this, V, "f").set(i, s), p = !1, d)
1618
+ const c = s.startsWith("*");
1619
+ if (s = c ? s.slice(1) : s, r == null || r.add(s), p && C(this, B, "f").set(i, s), p = !1, c)
1606
1620
  continue;
1607
- const v = _(this, $, "f").get(s);
1608
- if (v && v != i && !e)
1609
- throw new Error(`"${i} -> ${s}" conflicts with "${v} -> ${s}". Pass \`force=true\` to override this definition.`);
1610
- _(this, $, "f").set(s, i);
1621
+ const g = C(this, L, "f").get(s);
1622
+ if (g && g != i && !e)
1623
+ throw new Error(`"${i} -> ${s}" conflicts with "${g} -> ${s}". Pass \`force=true\` to override this definition.`);
1624
+ C(this, L, "f").set(s, i);
1611
1625
  }
1612
1626
  }
1613
1627
  return this;
@@ -1616,32 +1630,32 @@ class ke {
1616
1630
  if (typeof a != "string")
1617
1631
  return null;
1618
1632
  const e = a.replace(/^.*[/\\]/, "").toLowerCase(), i = e.replace(/^.*\./, "").toLowerCase(), o = e.length < a.length;
1619
- return !(i.length < e.length - 1) && o ? null : _(this, $, "f").get(i) ?? null;
1633
+ return !(i.length < e.length - 1) && o ? null : C(this, L, "f").get(i) ?? null;
1620
1634
  }
1621
1635
  getExtension(a) {
1622
1636
  var e;
1623
- return typeof a != "string" ? null : (a = (e = a == null ? void 0 : a.split) == null ? void 0 : e.call(a, ";")[0], (a && _(this, V, "f").get(a.trim().toLowerCase())) ?? null);
1637
+ return typeof a != "string" ? null : (a = (e = a == null ? void 0 : a.split) == null ? void 0 : e.call(a, ";")[0], (a && C(this, B, "f").get(a.trim().toLowerCase())) ?? null);
1624
1638
  }
1625
1639
  getAllExtensions(a) {
1626
- return typeof a != "string" ? null : _(this, E, "f").get(a.toLowerCase()) ?? null;
1640
+ return typeof a != "string" ? null : C(this, I, "f").get(a.toLowerCase()) ?? null;
1627
1641
  }
1628
1642
  _freeze() {
1629
1643
  this.define = () => {
1630
1644
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1631
1645
  }, Object.freeze(this);
1632
- for (const a of _(this, E, "f").values())
1646
+ for (const a of C(this, I, "f").values())
1633
1647
  Object.freeze(a);
1634
1648
  return this;
1635
1649
  }
1636
1650
  _getTestState() {
1637
1651
  return {
1638
- types: _(this, $, "f"),
1639
- extensions: _(this, V, "f")
1652
+ types: C(this, L, "f"),
1653
+ extensions: C(this, B, "f")
1640
1654
  };
1641
1655
  }
1642
1656
  }
1643
- $ = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), E = /* @__PURE__ */ new WeakMap();
1644
- const ja = new ke(Fa, za)._freeze(), Re = {
1657
+ L = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap();
1658
+ const Ta = new Ee($a, Ia)._freeze(), Fe = {
1645
1659
  "en-US": {
1646
1660
  audioFiles: "audio files",
1647
1661
  browseFiles: "Browse files",
@@ -1679,16 +1693,16 @@ const ja = new ke(Fa, za)._freeze(), Re = {
1679
1693
  youHaveExceededTheMaximum: "Você excedeu o limite máximo de {count} arquivos. Retire alguns arquivos antes de prosseguir."
1680
1694
  }
1681
1695
  };
1682
- function Ee(t) {
1683
- return t.includes("/") ? `.${ja.getExtension(t).toUpperCase()}` : t.toUpperCase();
1696
+ function je(t) {
1697
+ return t.includes("/") ? `.${Ta.getExtension(t).toUpperCase()}` : t.toUpperCase();
1684
1698
  }
1685
- function ze(t) {
1686
- const { locale: a, t: e } = W();
1687
- return { supportedFileTypeList: m(() => {
1699
+ function Ie(t) {
1700
+ const { locale: a, t: e } = Y();
1701
+ return { supportedFileTypeList: d(() => {
1688
1702
  const o = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
1689
1703
  return t != null && t.value ? o.format(
1690
- t.value.split(",").map((c) => {
1691
- switch (c.trim()) {
1704
+ t.value.split(",").map((r) => {
1705
+ switch (r.trim()) {
1692
1706
  case "audio/*":
1693
1707
  return e("audioFiles");
1694
1708
  case "image/*":
@@ -1696,51 +1710,51 @@ function ze(t) {
1696
1710
  case "video/*":
1697
1711
  return e("videoFiles");
1698
1712
  default:
1699
- return Ee(c);
1713
+ return je(r);
1700
1714
  }
1701
1715
  })
1702
1716
  ) : null;
1703
1717
  }) };
1704
1718
  }
1705
- function Fe(t) {
1706
- return ja.getType(t) ?? t;
1719
+ function $e(t) {
1720
+ return Ta.getType(t) ?? t;
1707
1721
  }
1708
- function je({ maxCount: t, accept: a }) {
1709
- const e = ta({
1722
+ function Te({ maxCount: t, accept: a }) {
1723
+ const e = oa({
1710
1724
  invalidTypes: !1,
1711
1725
  partiallyInvalidTypes: !1,
1712
1726
  maxCountOverflow: !1
1713
- }), i = ta({
1727
+ }), i = oa({
1714
1728
  dragging: !1,
1715
1729
  error: !1
1716
- }), o = m(() => a.value ? a.value.split(",").map((d) => Fe(d.trim().toLocaleLowerCase())) : void 0);
1717
- function c() {
1730
+ }), o = d(() => a.value ? a.value.split(",").map((c) => $e(c.trim().toLocaleLowerCase())) : void 0);
1731
+ function r() {
1718
1732
  i.dragging = !1, i.error = !1, e.invalidTypes = !1, e.partiallyInvalidTypes = !1, e.maxCountOverflow = !1;
1719
1733
  }
1720
- function p(s, d) {
1721
- if (i.dragging = !0, (!d.dataTransfer.types.includes("Files") || s > t.value) && (e.maxCountOverflow = !0, i.error = !0), !o.value)
1734
+ function p(s, c) {
1735
+ if (i.dragging = !0, (!c.dataTransfer.types.includes("Files") || s > t.value) && (e.maxCountOverflow = !0, i.error = !0), !o.value)
1722
1736
  return;
1723
- let v = 0;
1724
- for (const C of d.dataTransfer.items)
1725
- o.value.includes(C.type) && v++;
1726
- if (v === 0) {
1737
+ let g = 0;
1738
+ for (const R of c.dataTransfer.items)
1739
+ o.value.includes(R.type) && g++;
1740
+ if (g === 0) {
1727
1741
  i.error = !0, e.invalidTypes = !0;
1728
1742
  return;
1729
1743
  }
1730
- !e.invalidTypes && v !== d.dataTransfer.items.length && (i.error = !0, e.partiallyInvalidTypes = !0);
1744
+ !e.invalidTypes && g !== c.dataTransfer.items.length && (i.error = !0, e.partiallyInvalidTypes = !0);
1731
1745
  }
1732
1746
  return {
1733
1747
  dragState: i,
1734
1748
  dragErrors: e,
1735
- resetDragState: c,
1749
+ resetDragState: r,
1736
1750
  onDragEnterValidations: p
1737
1751
  };
1738
1752
  }
1739
- const Ie = {
1753
+ const Se = {
1740
1754
  model: { prop: "modelValue" },
1741
- i18n: { messages: Re }
1742
- }, $e = /* @__PURE__ */ N({
1743
- ...Ie,
1755
+ i18n: { messages: Fe }
1756
+ }, Le = /* @__PURE__ */ G({
1757
+ ...Se,
1744
1758
  __name: "file-uploader",
1745
1759
  props: {
1746
1760
  description: { default: null },
@@ -1761,173 +1775,183 @@ const Ie = {
1761
1775
  },
1762
1776
  emits: ["change", "input", "update:model-value", "error:upload"],
1763
1777
  setup(t, { emit: a }) {
1764
- const e = t, { t: i, tc: o, n: c } = W(), { emitValue: p } = Ha(a);
1778
+ const e = t, { t: i, tc: o, n: r } = Y(), { emitValue: p } = Pa(a);
1765
1779
  function s(n) {
1766
1780
  return !!n && typeof n.length == "number" && typeof n.item == "function";
1767
1781
  }
1768
- Ca(() => {
1769
- s(e.modelValue) || qa(
1782
+ Ra(() => {
1783
+ s(e.modelValue) || Za(
1770
1784
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1771
1785
  "Use FileList instead.",
1772
1786
  "2.0.0"
1773
1787
  );
1774
1788
  });
1775
- const { supportedFileTypeList: d } = ze(ia(e, "accept")), v = w("browse-button"), C = w("custom-text"), B = w("drop-files-text"), z = w("comma-text"), O = w("file-uploader-restrictions"), r = h(null), T = h([]), k = h(null), q = h(null), G = w("input"), Y = w("input-error"), J = m(() => {
1776
- const n = e.condensed ? "" : `${B} ${z}`, l = e.description ? `${C} ${z}` : "", f = `${O} ${z}`;
1777
- return `${n} ${l} ${f} ${v}`;
1778
- }), { dragState: F, dragErrors: R, resetDragState: j, onDragEnterValidations: L } = je({
1779
- accept: ia(e, "accept"),
1780
- maxCount: ia(e, "maxCount")
1781
- }), H = m(() => {
1782
- var n, l, f;
1789
+ const { supportedFileTypeList: c } = Ie(ta(e, "accept")), g = _("browse-button"), R = _("custom-text"), $ = _("drop-files-text"), x = _("comma-text"), y = _("file-uploader-restrictions"), z = _("field-label"), m = w(null), E = w([]), T = w(null), O = w(null), J = _("input"), X = _("input-error"), q = d(() => {
1790
+ const n = e.label ? `${z} ${x}` : "", l = e.condensed ? "" : `${$} ${x}`, v = e.description ? `${R} ${x}` : "", f = `${y} ${x}`;
1791
+ return `${n} ${l} ${v} ${f} ${g}`;
1792
+ }), { dragState: M, dragErrors: F, resetDragState: j, onDragEnterValidations: D } = Te({
1793
+ accept: ta(e, "accept"),
1794
+ maxCount: ta(e, "maxCount")
1795
+ }), K = d(() => {
1796
+ var n, l, v;
1783
1797
  return {
1784
1798
  condensed: e.condensed,
1785
1799
  disabled: e.disabled,
1786
- maxCount: S.value ? {
1800
+ maxCount: V.value ? {
1787
1801
  value: e.maxCount,
1788
- error: R.maxCountOverflow || pa.value
1802
+ error: F.maxCountOverflow || ra.value
1789
1803
  } : null,
1790
1804
  maxDimensions: e.maxDimensions ? {
1791
1805
  value: e.maxDimensions,
1792
- error: (n = r.value) == null ? void 0 : n.some((b) => b.errors.includes(x.ERROR_DIMENSIONS))
1806
+ error: (n = m.value) == null ? void 0 : n.some((f) => f.errors.includes(h.ERROR_DIMENSIONS))
1793
1807
  } : null,
1794
1808
  maxSize: e.maxSize ? {
1795
1809
  value: e.maxSize,
1796
- error: (l = r.value) == null ? void 0 : l.some((b) => b.errors.includes(x.ERROR_SIZE))
1810
+ error: (l = m.value) == null ? void 0 : l.some((f) => f.errors.includes(h.ERROR_SIZE))
1797
1811
  } : null,
1798
- supportedFileTypes: d.value ? {
1799
- value: d.value,
1800
- error: R.invalidTypes || R.partiallyInvalidTypes || ((f = r.value) == null ? void 0 : f.some((b) => b.errors.includes(x.ERROR_TYPE)))
1812
+ supportedFileTypes: c.value ? {
1813
+ value: c.value,
1814
+ error: F.invalidTypes || F.partiallyInvalidTypes || ((v = m.value) == null ? void 0 : v.some((f) => f.errors.includes(h.ERROR_TYPE)))
1801
1815
  } : null
1802
1816
  };
1803
- }), I = h(), X = m(() => ({
1804
- [`b-file-uploader--${P.DISABLED}`]: e.disabled,
1805
- [`b-file-uploader--${P.DRAG_OVER}`]: F.dragging,
1806
- [`b-file-uploader--${P.ERROR}`]: oa.value,
1817
+ }), S = w(), Q = d(() => ({
1818
+ [`b-file-uploader--${W.DISABLED}`]: e.disabled,
1819
+ [`b-file-uploader--${W.DRAG_OVER}`]: M.dragging,
1820
+ [`b-file-uploader--${W.ERROR}`]: sa.value,
1807
1821
  "b-file-uploader--condensed": e.condensed
1808
- })), S = m(() => e.maxCount > 1), K = m(() => {
1822
+ })), V = d(() => e.maxCount > 1), H = d(() => {
1809
1823
  var n;
1810
- return e.maxCount && ((n = r.value) == null ? void 0 : n.length) >= e.maxCount || e.readonly;
1811
- }), M = m(() => {
1824
+ return e.maxCount && ((n = m.value) == null ? void 0 : n.length) >= e.maxCount || e.readonly;
1825
+ }), A = d(() => {
1812
1826
  var n;
1813
- return (n = r.value) == null ? void 0 : n.some((l) => l.state === "loading");
1814
- }), Q = (n) => (l) => {
1815
- T.value[n] = l;
1827
+ return (n = m.value) == null ? void 0 : n.some((l) => l.state === "loading");
1828
+ }), aa = (n) => (l) => {
1829
+ E.value[n] = l;
1816
1830
  };
1817
- function D(n) {
1831
+ function ia(n) {
1818
1832
  if (n) {
1819
- ra(n), ca(n);
1820
- const l = da(n);
1833
+ ma(n), ua(n);
1834
+ const l = va(n);
1821
1835
  a("change", l), p(l);
1822
1836
  } else
1823
1837
  a("change", void 0), p(void 0);
1824
1838
  }
1825
- const oa = m(() => !!e.errorMessage || F.error), pa = m(() => {
1839
+ const sa = d(() => !!e.errorMessage || M.error), ra = d(() => {
1826
1840
  var n;
1827
- return ((n = r.value) == null ? void 0 : n.length) > e.maxCount;
1828
- }), la = h(!1), sa = m(() => {
1841
+ return ((n = m.value) == null ? void 0 : n.length) > e.maxCount;
1842
+ }), ca = w(!1), da = d(() => {
1829
1843
  var n;
1830
- return (n = r.value) == null ? void 0 : n.some((l) => l.state === "error");
1844
+ return (n = m.value) == null ? void 0 : n.some((l) => l.state === "error");
1831
1845
  });
1832
- ea(sa, (n) => {
1833
- M.value || a("error:upload", n);
1846
+ na(da, (n) => {
1847
+ A.value || a("error:upload", n);
1834
1848
  });
1835
1849
  async function U() {
1836
1850
  var n;
1837
- if (await Ba(), r.value.length === e.maxCount) {
1838
- (n = T.value[0]) == null || n.focus();
1851
+ if (await Aa(), m.value.length === e.maxCount) {
1852
+ (n = E.value[0]) == null || n.focus();
1839
1853
  return;
1840
1854
  }
1841
- q.value.focus();
1855
+ O.value.focus();
1842
1856
  }
1843
- async function Ia(n) {
1844
- r.value = r.value.filter(({ id: l }) => l !== n.id), await U(), D(r.value);
1857
+ async function Sa(n) {
1858
+ m.value = m.value.filter(({ id: l }) => l !== n.id), await U(), ia(m.value);
1845
1859
  }
1846
- function A(n) {
1847
- const l = ta({
1848
- id: w("file"),
1860
+ function Z(n) {
1861
+ const l = oa({
1862
+ id: _("file"),
1849
1863
  data: n,
1850
1864
  errors: [],
1851
1865
  progress: null,
1852
- state: y.LOADING,
1853
- type: ui(n)
1866
+ state: k.LOADING,
1867
+ type: gi(n)
1854
1868
  });
1855
- return fi(l, e.accept, e.maxDimensions), l;
1869
+ return hi(l, e.accept, e.maxDimensions), l;
1856
1870
  }
1857
- function $a(n) {
1871
+ function La(n) {
1858
1872
  var l;
1859
- ((l = r.value) == null ? void 0 : l.length) === e.maxCount && n.preventDefault();
1873
+ ((l = m.value) == null ? void 0 : l.length) === e.maxCount && n.preventDefault();
1860
1874
  }
1861
- async function aa(n) {
1875
+ async function ea(n) {
1862
1876
  if (e.maxCount === 1 && n.length > e.maxCount) {
1863
- Z(), j();
1877
+ P(), j();
1864
1878
  return;
1865
1879
  }
1866
- S.value ? r.value = [...r.value || [], ...Array.from(n).map((l) => A(l))] : (r.value = [A(n[0])], await U()), D(r.value);
1880
+ V.value ? m.value = [...m.value || [], ...Array.from(n).map((l) => Z(l))] : (m.value = [Z(n[0])], await U()), ia(m.value);
1867
1881
  }
1868
- function Ta(n) {
1869
- var f, b;
1882
+ function Ma(n) {
1883
+ var v, f;
1870
1884
  if (e.disabled)
1871
1885
  return;
1872
- I.value = n.target;
1873
- const l = (((f = n.dataTransfer.items) == null ? void 0 : f.length) ?? 0) + (((b = r.value) == null ? void 0 : b.length) ?? 0);
1874
- L(l, n);
1886
+ S.value = n.target;
1887
+ const l = (((v = n.dataTransfer.items) == null ? void 0 : v.length) ?? 0) + (((f = m.value) == null ? void 0 : f.length) ?? 0);
1888
+ D(l, n);
1875
1889
  }
1876
- function Z() {
1877
- I.value = null;
1890
+ function P() {
1891
+ S.value = null;
1878
1892
  }
1879
- function La(n) {
1880
- I.value === n.target && (Z(), j());
1893
+ function Da(n) {
1894
+ S.value === n.target && (P(), j());
1881
1895
  }
1882
- function Sa(n) {
1896
+ function Va(n) {
1883
1897
  n.preventDefault(), e.disabled && (n.dataTransfer.dropEffect = "none");
1884
1898
  }
1885
- async function Ma(n) {
1899
+ async function Ba(n) {
1886
1900
  var l;
1887
- e.disabled || (!R.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && aa(n.dataTransfer.files), Z(), j());
1901
+ e.disabled || (!F.invalidTypes && ((l = n.dataTransfer.files) != null && l.length) && ea(n.dataTransfer.files), P(), j());
1888
1902
  }
1889
- async function Da() {
1903
+ async function Oa() {
1890
1904
  var n;
1891
- (n = k.value.files) != null && n.length && aa(k.value.files), k.value.value = "", await U();
1905
+ (n = T.value.files) != null && n.length && ea(T.value.files), T.value.value = "", await U();
1892
1906
  }
1893
- ea(
1907
+ na(
1894
1908
  () => e.modelValue,
1895
1909
  (n) => {
1896
1910
  if (n && s(n)) {
1897
- const f = Array.from(n);
1898
- r.value = f.map((b) => A(b));
1899
- } else !n && r.value && (r.value = null);
1911
+ const v = Array.from(n);
1912
+ m.value = v.map((f) => Z(f));
1913
+ } else !n && m.value && (m.value = null);
1900
1914
  },
1901
1915
  { immediate: !0 }
1902
1916
  );
1903
- function ra(n) {
1917
+ function ma(n) {
1904
1918
  const l = e.maxCount && n.length <= e.maxCount;
1905
- la.value = !l;
1919
+ ca.value = !l;
1906
1920
  }
1907
- function ca(n) {
1921
+ function ua(n) {
1908
1922
  e.maxSize && n.forEach((l) => {
1909
- const f = l;
1910
- f.data.size > e.maxSize && (f.state = y.ERROR, f.errors.includes(x.ERROR_SIZE) || f.errors.push(x.ERROR_SIZE));
1923
+ const v = l;
1924
+ let f;
1925
+ if (Array.isArray(e.maxSize)) {
1926
+ const N = e.maxSize.find(
1927
+ (qa) => ja(v.data, qa.fileType)
1928
+ );
1929
+ f = N == null ? void 0 : N.maxSize;
1930
+ } else
1931
+ f = e.maxSize;
1932
+ f && v.data.size > f && (v.state = k.ERROR, v.errors.includes(h.ERROR_SIZE) || v.errors.push(h.ERROR_SIZE));
1911
1933
  });
1912
1934
  }
1913
- function da(n) {
1935
+ function va(n) {
1914
1936
  const l = n.filter(
1915
- ({ errors: f }) => !f.includes(x.ERROR_LOAD) && !f.includes(x.ERROR_SIZE)
1937
+ ({ errors: v }) => !v.includes(h.ERROR_LOAD) && !v.includes(h.ERROR_SIZE)
1916
1938
  );
1917
1939
  if (l.length) {
1918
- const f = new DataTransfer();
1919
- return l.forEach(({ data: b, id: Me }) => {
1920
- f.items.add(b);
1921
- }), f.files;
1940
+ const v = new DataTransfer();
1941
+ return l.forEach(({ data: f, id: N }) => {
1942
+ v.items.add(f);
1943
+ }), v.files;
1922
1944
  }
1923
1945
  }
1924
- return { __sfc: !0, t: i, tc: o, n: c, emit: a, props: e, emitValue: p, isFileList: s, supportedFileTypeList: d, browseFilesButtonId: v, customTextId: C, dropFilesTextId: B, commaTextId: z, fileUploaderRestrictionsId: O, files: r, fileCardRefs: T, inputRef: k, dropAreaRef: q, inputFieldId: G, errorId: Y, fileUploadAriaLabelledBy: J, dragState: F, dragErrors: R, resetDragState: j, onDragEnterValidations: L, fileUploadRestrictionsProps: H, enterTarget: I, conditionalClasses: X, isMultiple: S, hideArea: K, loadingStateExists: M, registerFileCardRef: Q, emitUpdate: D, hasError: oa, maxFileCountError: pa, maxFileError: la, hasRestrictionError: sa, resetFocus: U, removeFile: Ia, processFile: A, onInputClick: $a, onFileInput: aa, onDragEnter: Ta, resetEnterTarget: Z, onDragLeave: La, onDragOver: Sa, onDrop: Ma, onInputChange: Da, verifyFileCount: ra, verifyFileSize: ca, convertToFileList: da, UploadIcon: ei, WarningFilledIcon: ka, BentoAlert: Oa, BentoTypography: na, ErrorMessage: Xa, FieldLabel: Ja, FileUploaderFileCard: xe, FileUploaderRestrictions: Ce };
1946
+ return { __sfc: !0, t: i, tc: o, n: r, emit: a, props: e, emitValue: p, isFileList: s, supportedFileTypeList: c, browseFilesButtonId: g, customTextId: R, dropFilesTextId: $, commaTextId: x, fileUploaderRestrictionsId: y, fieldLabelId: z, files: m, fileCardRefs: E, inputRef: T, dropAreaRef: O, inputFieldId: J, errorId: X, fileUploadAriaLabelledBy: q, dragState: M, dragErrors: F, resetDragState: j, onDragEnterValidations: D, fileUploadRestrictionsProps: K, enterTarget: S, conditionalClasses: Q, isMultiple: V, hideArea: H, loadingStateExists: A, registerFileCardRef: aa, emitUpdate: ia, hasError: sa, maxFileCountError: ra, maxFileError: ca, hasRestrictionError: da, resetFocus: U, removeFile: Sa, processFile: Z, onInputClick: La, onFileInput: ea, onDragEnter: Ma, resetEnterTarget: P, onDragLeave: Da, onDragOver: Va, onDrop: Ba, onInputChange: Oa, verifyFileCount: ma, verifyFileSize: ua, convertToFileList: va, UploadIcon: pi, WarningFilledIcon: Ea, BentoAlert: Ua, BentoTypography: la, ErrorMessage: ii, FieldLabel: ai, FileUploaderFileCard: be, FileUploaderRestrictions: Re };
1925
1947
  }
1926
1948
  });
1927
- var Te = function() {
1928
- var o, c;
1949
+ var Me = function() {
1950
+ var o, r;
1929
1951
  var a = this, e = a._self._c, i = a._self._setupProxy;
1930
- return e("div", { staticClass: "b-file-uploader", class: i.conditionalClasses }, [e(i.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { for: i.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), e("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: i.inputFieldId, "aria-hidden": "true", type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: i.isMultiple }, on: { change: i.onInputChange, click: i.onInputClick } }), e("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: i.commaTextId, "aria-hidden": "true" } }, [a._v(" , ")]), i.hideArea ? a._e() : e("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": i.fileUploadAriaLabelledBy, role: "button", tabindex: a.disabled ? -1 : 0 }, on: { click: function(p) {
1952
+ return e("div", { staticClass: "b-file-uploader", class: i.conditionalClasses }, [e(i.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { id: i.fieldLabelId, for: i.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), e("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: i.inputFieldId, "aria-required": a.required, type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: i.isMultiple }, on: { change: i.onInputChange, click: i.onInputClick, invalid: function(p) {
1953
+ p.preventDefault();
1954
+ } } }), e("span", { staticClass: "b-file-uploader__invisible-comma", attrs: { id: i.commaTextId, "aria-hidden": "true" } }, [a._v(" , ")]), i.hideArea ? a._e() : e("div", { ref: "dropAreaRef", staticClass: "b-file-uploader__area", attrs: { "aria-labelledby": i.fileUploadAriaLabelledBy, role: "button", tabindex: a.disabled ? -1 : 0 }, on: { click: function(p) {
1931
1955
  return i.inputRef.click();
1932
1956
  }, dragenter: function(p) {
1933
1957
  return p.stopPropagation(), p.preventDefault(), i.onDragEnter.apply(null, arguments);
@@ -1942,22 +1966,22 @@ var Te = function() {
1942
1966
  }] } }, [e("div", { staticClass: "b-file-uploader__icon", attrs: { "aria-hidden": "true" } }, [i.hasError ? e(i.WarningFilledIcon) : e(i.UploadIcon)], 1), a.condensed ? a._e() : [e(i.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { id: i.dropFilesTextId, el: "span", strongest: "" } }, [a._v(" " + a._s(i.tc("dropFiles", a.maxCount)) + " ")]), a.description ? e(i.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { id: i.customTextId, el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), e(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1))], e(i.BentoTypography, { staticClass: "b-file-uploader__button", attrs: { id: i.browseFilesButtonId, stronger: "" } }, [a._v(" " + a._s(i.t("browseFiles")) + " ")])], 2), i.hasError && a.errorMessage ? e(i.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: i.errorId, "error-message": a.errorMessage } }) : a._e(), a.condensed && a.description ? e(i.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { id: i.customTextId, "aria-hidden": "true", el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), a.condensed ? e(i.FileUploaderRestrictions, a._b({ attrs: { id: i.fileUploaderRestrictionsId } }, "file-uploader-restrictions", i.fileUploadRestrictionsProps, !1)) : a._e(), i.maxFileCountError ? e(i.BentoAlert, { attrs: { type: "critical" }, scopedSlots: a._u([{ key: "description", fn: function() {
1943
1967
  return [a._v(" " + a._s(i.t("youHaveExceededTheMaximum", { count: i.n(i.props.maxCount) })) + " ")];
1944
1968
  }, proxy: !0 }], null, !1, 2252760379) }, [a._v(" " + a._s(i.t("tooManyFiles")) + " ")]) : a._e(), e("div", { directives: [{ name: "show", rawName: "v-show", value: (o = i.files) == null ? void 0 : o.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(i.files, function(p, s) {
1945
- return e(i.FileUploaderFileCard, { key: p.id, ref: i.registerFileCardRef(s), refInFor: !0, attrs: { file: p, "supported-file-types": i.supportedFileTypeList, readonly: a.readonly }, on: { cancel: function(d) {
1969
+ return e(i.FileUploaderFileCard, { key: p.id, ref: i.registerFileCardRef(s), refInFor: !0, attrs: { file: p, "supported-file-types": i.supportedFileTypeList, readonly: a.readonly }, on: { cancel: function(c) {
1946
1970
  return i.removeFile(p);
1947
- }, remove: function(d) {
1971
+ }, remove: function(c) {
1948
1972
  return i.removeFile(p);
1949
1973
  } } });
1950
- }), 1), !((c = i.files) != null && c.length) && a.readonly ? e(i.BentoTypography, { staticClass: "b-file-uploader__no-files", attrs: { wide: "" } }, [a._v(a._s(i.t("noFilesUploaded")))]) : a._e()], 1);
1951
- }, Le = [], Se = /* @__PURE__ */ g(
1952
- $e,
1953
- Te,
1974
+ }), 1), !((r = i.files) != null && r.length) && a.readonly ? e(i.BentoTypography, { staticClass: "b-file-uploader__no-files", attrs: { wide: "" } }, [a._v(a._s(i.t("noFilesUploaded")))]) : a._e()], 1);
1975
+ }, De = [], Ve = /* @__PURE__ */ b(
1954
1976
  Le,
1977
+ Me,
1978
+ De,
1955
1979
  !1,
1956
1980
  null,
1957
- "7f15454d"
1981
+ "0c1b46a7"
1958
1982
  );
1959
- const it = Se.exports;
1983
+ const tt = Ve.exports;
1960
1984
  export {
1961
- it as f
1985
+ tt as f
1962
1986
  };
1963
- //# sourceMappingURL=file-uploader.BU1V40qK.js.map
1987
+ //# sourceMappingURL=file-uploader.BSX-zpyP.js.map