@adyen/bento-vue3 1.78.2 → 1.79.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 (266) hide show
  1. package/dist/@types/index.d.ts +79 -30
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/ai-button.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/button-actions.css +1 -1
  9. package/dist/assets/button.css +1 -1
  10. package/dist/assets/calendar.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/checkbox-group.css +1 -1
  13. package/dist/assets/dashboard-section.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/file-uploader.css +1 -1
  18. package/dist/assets/filter-bar.css +1 -1
  19. package/dist/assets/form-layout-title.css +1 -1
  20. package/dist/assets/header-with-views.css +1 -1
  21. package/dist/assets/index.css +1 -1
  22. package/dist/assets/input-field-password.css +1 -1
  23. package/dist/assets/input-field-phone-number.css +1 -1
  24. package/dist/assets/input-field.css +1 -1
  25. package/dist/assets/inspector.css +1 -1
  26. package/dist/assets/layout-row.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/search-bar.css +1 -1
  29. package/dist/assets/secondary-nav.css +1 -1
  30. package/dist/assets/sidepanel.css +1 -1
  31. package/dist/assets/step.css +1 -1
  32. package/dist/assets/structured-list-item.css +1 -1
  33. package/dist/assets/summary-grid.css +1 -1
  34. package/dist/assets/tab.css +1 -1
  35. package/dist/assets/teleport.css +1 -0
  36. package/dist/assets/toast.css +1 -1
  37. package/dist/assets/tooltip.css +1 -1
  38. package/dist/assets/tutorial.css +1 -1
  39. package/dist/assets/use-cached-selected-values.css +1 -1
  40. package/dist/button.js +1 -1
  41. package/dist/card.js +1 -1
  42. package/dist/checkbox.js +2 -2
  43. package/dist/chunks/{accordion-item.Bd3v6erb.js → accordion-item.DHyAfeAu.js} +2 -2
  44. package/dist/chunks/{accordion-item.Bd3v6erb.js.map → accordion-item.DHyAfeAu.js.map} +1 -1
  45. package/dist/chunks/{action-bar.BZ04Y7Yi.js → action-bar.QX16Mu4L.js} +3 -3
  46. package/dist/chunks/{action-bar.BZ04Y7Yi.js.map → action-bar.QX16Mu4L.js.map} +1 -1
  47. package/dist/chunks/{base-modal.UA93s_8c.js → base-modal.CHYvJ_xU.js} +17 -17
  48. package/dist/chunks/{base-modal.UA93s_8c.js.map → base-modal.CHYvJ_xU.js.map} +1 -1
  49. package/dist/chunks/{button-actions-with-menu.BeQ-j1bv.js → button-actions-with-menu.B8qBBN82.js} +2 -2
  50. package/dist/chunks/{button-actions-with-menu.BeQ-j1bv.js.map → button-actions-with-menu.B8qBBN82.js.map} +1 -1
  51. package/dist/chunks/button-actions.Bg38lywL.js +1234 -0
  52. package/dist/chunks/button-actions.Bg38lywL.js.map +1 -0
  53. package/dist/chunks/{calendar.Tm7Cvpwu.js → calendar.CyJXcMz2.js} +4 -43
  54. package/dist/chunks/{calendar.Tm7Cvpwu.js.map → calendar.CyJXcMz2.js.map} +1 -1
  55. package/dist/chunks/{card.GxkxfBoV.js → card.BqkufnQe.js} +2 -2
  56. package/dist/chunks/{card.GxkxfBoV.js.map → card.BqkufnQe.js.map} +1 -1
  57. package/dist/chunks/{checkbox-group.D56nUmre.js → checkbox-group.BRQiuU3y.js} +51 -50
  58. package/dist/chunks/checkbox-group.BRQiuU3y.js.map +1 -0
  59. package/dist/chunks/{checkbox.SffuKyNj.js → checkbox.BRTK_DHj.js} +3 -3
  60. package/dist/chunks/{checkbox.SffuKyNj.js.map → checkbox.BRTK_DHj.js.map} +1 -1
  61. package/dist/chunks/{code-snippet.B5NUDrZ-.js → code-snippet.YxZ3_4ye.js} +5 -5
  62. package/dist/chunks/{code-snippet.B5NUDrZ-.js.map → code-snippet.YxZ3_4ye.js.map} +1 -1
  63. package/dist/chunks/{codemirror.Zv80n3Z2.js → codemirror.Cy7iSLbd.js} +12 -12
  64. package/dist/chunks/{codemirror.Zv80n3Z2.js.map → codemirror.Cy7iSLbd.js.map} +1 -1
  65. package/dist/chunks/constructNow.BhymNmy5.js +8 -0
  66. package/dist/chunks/{constructNow.CHWWeLPc.js.map → constructNow.BhymNmy5.js.map} +1 -1
  67. package/dist/chunks/{controls-group.cbGiHr7n.js → controls-group.CJe5J84d.js} +2 -2
  68. package/dist/chunks/{controls-group.cbGiHr7n.js.map → controls-group.CJe5J84d.js.map} +1 -1
  69. package/dist/chunks/{copy.ClKnDjMI.js → copy.mq0o1Rag.js} +2 -2
  70. package/dist/chunks/{copy.ClKnDjMI.js.map → copy.mq0o1Rag.js.map} +1 -1
  71. package/dist/chunks/{country.DmnN9YIW.js → country.D484ezGU.js} +2 -2
  72. package/dist/chunks/{country.DmnN9YIW.js.map → country.D484ezGU.js.map} +1 -1
  73. package/dist/chunks/{dashboard-section.Cqi0PWeJ.js → dashboard-section.CNCqp74F.js} +4 -4
  74. package/dist/chunks/{dashboard-section.Cqi0PWeJ.js.map → dashboard-section.CNCqp74F.js.map} +1 -1
  75. package/dist/chunks/{dashed-underline.r62L_XBr.js → dashed-underline.CtTu1AOE.js} +26 -25
  76. package/dist/chunks/{dashed-underline.r62L_XBr.js.map → dashed-underline.CtTu1AOE.js.map} +1 -1
  77. package/dist/chunks/{data-grid-template.D7kB3S1u.js → data-grid-template.CLpaJvTj.js} +4 -4
  78. package/dist/chunks/{data-grid-template.D7kB3S1u.js.map → data-grid-template.CLpaJvTj.js.map} +1 -1
  79. package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
  80. package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js.map → data-grid-template.keys.VezYtHtM.js.map} +1 -1
  81. package/dist/chunks/{data-grid.jC1eKDzq.js → data-grid.CD3Nb4pg.js} +18 -18
  82. package/dist/chunks/{data-grid.jC1eKDzq.js.map → data-grid.CD3Nb4pg.js.map} +1 -1
  83. package/dist/chunks/{date-picker.x9GeC_UO.js → date-picker.C3BH0Bsr.js} +13 -13
  84. package/dist/chunks/{date-picker.x9GeC_UO.js.map → date-picker.C3BH0Bsr.js.map} +1 -1
  85. package/dist/chunks/date-range-picker.BPZE6r01.js +1108 -0
  86. package/dist/chunks/date-range-picker.BPZE6r01.js.map +1 -0
  87. package/dist/chunks/{dialog-page.zWrBSgBD.js → dialog-page.BY6T1jYZ.js} +2 -2
  88. package/dist/chunks/{dialog-page.zWrBSgBD.js.map → dialog-page.BY6T1jYZ.js.map} +1 -1
  89. package/dist/chunks/{differenceInMonths.C8FyCrav.js → differenceInMonths.Cab3nOsb.js} +2 -2
  90. package/dist/chunks/{differenceInMonths.C8FyCrav.js.map → differenceInMonths.Cab3nOsb.js.map} +1 -1
  91. package/dist/chunks/{divider.DnKNNyWB.js → divider.Dho4_hQ7.js} +2 -2
  92. package/dist/chunks/{divider.DnKNNyWB.js.map → divider.Dho4_hQ7.js.map} +1 -1
  93. package/dist/chunks/{dropdown-default-textbox._KEBXjKT.js → dropdown-default-textbox.CNrsjXUU.js} +2 -2
  94. package/dist/chunks/{dropdown-default-textbox._KEBXjKT.js.map → dropdown-default-textbox.CNrsjXUU.js.map} +1 -1
  95. package/dist/chunks/{dropdown-tag.DIlF7mOi.js → dropdown-tag.B0LtUuUk.js} +4 -4
  96. package/dist/chunks/{dropdown-tag.DIlF7mOi.js.map → dropdown-tag.B0LtUuUk.js.map} +1 -1
  97. package/dist/chunks/{dropdown.CdsjtT9_.js → dropdown.B5tPWVxg.js} +9 -9
  98. package/dist/chunks/{dropdown.CdsjtT9_.js.map → dropdown.B5tPWVxg.js.map} +1 -1
  99. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  100. package/dist/chunks/{events.CMzGybJJ.js → events.BQOQSSb7.js} +2 -5
  101. package/dist/chunks/{events.CMzGybJJ.js.map → events.BQOQSSb7.js.map} +1 -1
  102. package/dist/chunks/{field-label.C97CrBI_.js → field-label.B1rMWIWY.js} +2 -2
  103. package/dist/chunks/{field-label.C97CrBI_.js.map → field-label.B1rMWIWY.js.map} +1 -1
  104. package/dist/chunks/{file-uploader.R0NZXIsS.js → file-uploader.BwmQdkmz.js} +367 -350
  105. package/dist/chunks/file-uploader.BwmQdkmz.js.map +1 -0
  106. package/dist/chunks/{filter-bar.DAYxD7wi.js → filter-bar.B9yGivxl.js} +118 -122
  107. package/dist/chunks/filter-bar.B9yGivxl.js.map +1 -0
  108. package/dist/chunks/{footer-actions.BO52wpv-.js → footer-actions.pC1mxLQm.js} +2 -2
  109. package/dist/chunks/{footer-actions.BO52wpv-.js.map → footer-actions.pC1mxLQm.js.map} +1 -1
  110. package/dist/chunks/{form-layout-title.61ESsGAY.js → form-layout-title.sxPU_lB_.js} +2 -2
  111. package/dist/chunks/{form-layout-title.61ESsGAY.js.map → form-layout-title.sxPU_lB_.js.map} +1 -1
  112. package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
  113. package/dist/chunks/{form-layout.types.D3EKzbE7.js.map → form-layout.types.bZW9iR6_.js.map} +1 -1
  114. package/dist/chunks/get-slot-text.CQRAP2_q.js.map +1 -1
  115. package/dist/chunks/{getTimezoneOffsetInMilliseconds.BW7U6PxE.js → getTimezoneOffsetInMilliseconds.B7sxiukN.js} +2 -2
  116. package/dist/chunks/{getTimezoneOffsetInMilliseconds.BW7U6PxE.js.map → getTimezoneOffsetInMilliseconds.B7sxiukN.js.map} +1 -1
  117. package/dist/chunks/{header-meta.BE6QfUNi.js → header-meta.DZ8Gx4XE.js} +17 -17
  118. package/dist/chunks/{header-meta.BE6QfUNi.js.map → header-meta.DZ8Gx4XE.js.map} +1 -1
  119. package/dist/chunks/{header-with-views.CzLcYeW5.js → header-with-views.b1gt2wud.js} +109 -109
  120. package/dist/chunks/{header-with-views.CzLcYeW5.js.map → header-with-views.b1gt2wud.js.map} +1 -1
  121. package/dist/chunks/{header.3It50Clh.js → header.BQAAmjUF.js} +3 -3
  122. package/dist/chunks/{header.3It50Clh.js.map → header.BQAAmjUF.js.map} +1 -1
  123. package/dist/chunks/{info-icon.BhOm72U4.js → info-icon.DB0MI-dH.js} +2 -2
  124. package/dist/chunks/{info-icon.BhOm72U4.js.map → info-icon.DB0MI-dH.js.map} +1 -1
  125. package/dist/chunks/{input-field-password.-xEY2VB8.js → input-field-password.noxsH61p.js} +154 -146
  126. package/dist/chunks/input-field-password.noxsH61p.js.map +1 -0
  127. package/dist/chunks/{input-field-phone-number.DcxhP_qK.js → input-field-phone-number.B_uFvUXP.js} +587 -585
  128. package/dist/chunks/{input-field-phone-number.DcxhP_qK.js.map → input-field-phone-number.B_uFvUXP.js.map} +1 -1
  129. package/dist/chunks/{input-field.B6nL7d8O.js → input-field.C9ABE4cI.js} +118 -110
  130. package/dist/chunks/input-field.C9ABE4cI.js.map +1 -0
  131. package/dist/chunks/{keyboard-navigation.pB8weElW.js → keyboard-navigation.DWmhelVv.js} +2 -2
  132. package/dist/chunks/{keyboard-navigation.pB8weElW.js.map → keyboard-navigation.DWmhelVv.js.map} +1 -1
  133. package/dist/chunks/{layout-row.DVf7wNSB.js → layout-row.BxP9SxrL.js} +2 -2
  134. package/dist/chunks/{layout-row.DVf7wNSB.js.map → layout-row.BxP9SxrL.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cwe9Bn-R.js → listbox-option-tag.C1cZs38g.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cwe9Bn-R.js.map → listbox-option-tag.C1cZs38g.js.map} +1 -1
  137. package/dist/chunks/{modal-fullscreen.DTT-5rQX.js → modal-fullscreen.B69QJ8D6.js} +23 -21
  138. package/dist/chunks/modal-fullscreen.B69QJ8D6.js.map +1 -0
  139. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js → modal.vue_vue_type_script_setup_true_lang.BYqbdsty.js} +4 -4
  140. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js.map → modal.vue_vue_type_script_setup_true_lang.BYqbdsty.js.map} +1 -1
  141. package/dist/chunks/{pagination.DCn_tenp.js → pagination.Dst8Y6DD.js} +2 -2
  142. package/dist/chunks/{pagination.DCn_tenp.js.map → pagination.Dst8Y6DD.js.map} +1 -1
  143. package/dist/chunks/{payment-method.D6PeTYWq.js → payment-method.CExDsirg.js} +2 -2
  144. package/dist/chunks/{payment-method.D6PeTYWq.js.map → payment-method.CExDsirg.js.map} +1 -1
  145. package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -1
  146. package/dist/chunks/{radio-group.Br-N309Y.js → radio-group.CVDDBCP4.js} +5 -5
  147. package/dist/chunks/{radio-group.Br-N309Y.js.map → radio-group.CVDDBCP4.js.map} +1 -1
  148. package/dist/chunks/{rich-text-editor.B6Ftqv55.js → rich-text-editor.DyC-Nnc8.js} +12 -12
  149. package/dist/chunks/{rich-text-editor.B6Ftqv55.js.map → rich-text-editor.DyC-Nnc8.js.map} +1 -1
  150. package/dist/chunks/{search-bar.BmNEcy0L.js → search-bar.BwrFcw9L.js} +28 -28
  151. package/dist/chunks/search-bar.BwrFcw9L.js.map +1 -0
  152. package/dist/chunks/{secondary-nav.CPosCncv.js → secondary-nav.D7l9h0_t.js} +3 -3
  153. package/dist/chunks/{secondary-nav.CPosCncv.js.map → secondary-nav.D7l9h0_t.js.map} +1 -1
  154. package/dist/chunks/{segmented-control.BCHGDSrf.js → segmented-control.CwDOwDIu.js} +2 -2
  155. package/dist/chunks/{segmented-control.BCHGDSrf.js.map → segmented-control.CwDOwDIu.js.map} +1 -1
  156. package/dist/chunks/{selection-card-group.DBdwqWsH.js → selection-card-group.CZfusjo0.js} +4 -4
  157. package/dist/chunks/{selection-card-group.DBdwqWsH.js.map → selection-card-group.CZfusjo0.js.map} +1 -1
  158. package/dist/chunks/{sidepanel.CS9CfAWZ.js → sidepanel.BFz_7DKg.js} +4 -4
  159. package/dist/chunks/{sidepanel.CS9CfAWZ.js.map → sidepanel.BFz_7DKg.js.map} +1 -1
  160. package/dist/chunks/{step.CoSuGK16.js → step.CxnmaTMe.js} +3 -3
  161. package/dist/chunks/{step.CoSuGK16.js.map → step.CxnmaTMe.js.map} +1 -1
  162. package/dist/chunks/structured-list-item.DjbvVIwI.js +111 -0
  163. package/dist/chunks/{structured-list-item.BTPh7SPj.js.map → structured-list-item.DjbvVIwI.js.map} +1 -1
  164. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js +6 -0
  165. package/dist/chunks/{summary-grid.keys.CxTf_FOc.js.map → summary-grid.keys.Xx-W5a2w.js.map} +1 -1
  166. package/dist/chunks/{summary-grid.types.cE1fyLvC.js → summary-grid.types.KVqau_I-.js} +74 -68
  167. package/dist/chunks/summary-grid.types.KVqau_I-.js.map +1 -0
  168. package/dist/chunks/{tab.CD5Eu6ql.js → tab.BAwuVDsV.js} +2 -2
  169. package/dist/chunks/{tab.CD5Eu6ql.js.map → tab.BAwuVDsV.js.map} +1 -1
  170. package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
  171. package/dist/chunks/{tabs.keys.Cb4Vw5Jh.js.map → tabs.keys.B4qGhjp2.js.map} +1 -1
  172. package/dist/chunks/{tag.CjaB9DxL.js → tag.BmMnGJMp.js} +2 -2
  173. package/dist/chunks/{tag.CjaB9DxL.js.map → tag.BmMnGJMp.js.map} +1 -1
  174. package/dist/chunks/teleport.CHhznja1.js +129 -0
  175. package/dist/chunks/teleport.CHhznja1.js.map +1 -0
  176. package/dist/chunks/{textarea.XRETLCSj.js → textarea.BZjnJf5q.js} +3 -3
  177. package/dist/chunks/{textarea.XRETLCSj.js.map → textarea.BZjnJf5q.js.map} +1 -1
  178. package/dist/chunks/{timeline-item.19zg_gBi.js → timeline-item.YjC_8BBB.js} +7 -7
  179. package/dist/chunks/{timeline-item.19zg_gBi.js.map → timeline-item.YjC_8BBB.js.map} +1 -1
  180. package/dist/chunks/toast.e1-BCZks.js +229 -0
  181. package/dist/chunks/toast.e1-BCZks.js.map +1 -0
  182. package/dist/chunks/{tooltip.Dp9_ESm_.js → tooltip.CeX5eGnw.js} +2 -2
  183. package/dist/chunks/{tooltip.Dp9_ESm_.js.map → tooltip.CeX5eGnw.js.map} +1 -1
  184. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js → tutorial.vue_vue_type_script_setup_true_lang.Cqimmacx.js} +2 -2
  185. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js.map → tutorial.vue_vue_type_script_setup_true_lang.Cqimmacx.js.map} +1 -1
  186. package/dist/chunks/{use-bento-toast-controller.Kri_h7jS.js → use-bento-toast-controller.DK1PV3YW.js} +2 -2
  187. package/dist/chunks/{use-bento-toast-controller.Kri_h7jS.js.map → use-bento-toast-controller.DK1PV3YW.js.map} +1 -1
  188. package/dist/chunks/{use-cached-selected-values.8MdrR9wt.js → use-cached-selected-values.os3Yp7Tw.js} +3 -3
  189. package/dist/chunks/{use-cached-selected-values.8MdrR9wt.js.map → use-cached-selected-values.os3Yp7Tw.js.map} +1 -1
  190. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js → use-form-layout-loading.CWbjZiwP.js} +2 -2
  191. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js.map → use-form-layout-loading.CWbjZiwP.js.map} +1 -1
  192. package/dist/code-snippet.js +1 -1
  193. package/dist/country.js +1 -1
  194. package/dist/dashboard-template.js +1 -1
  195. package/dist/dashed-underline.js +1 -1
  196. package/dist/data-grid-template.js +1 -1
  197. package/dist/data-grid.js +1 -1
  198. package/dist/date-picker.js +2 -2
  199. package/dist/date-range-picker.js +2 -2
  200. package/dist/divider.js +1 -1
  201. package/dist/dropdown.js +4 -4
  202. package/dist/file-uploader.js +1 -1
  203. package/dist/filter-bar.js +1 -1
  204. package/dist/form-layout.js +1 -1
  205. package/dist/header-with-views.js +1 -1
  206. package/dist/header.js +1 -1
  207. package/dist/index.js +288 -287
  208. package/dist/index.js.map +1 -1
  209. package/dist/info-icon.js +1 -1
  210. package/dist/input-field-password.js +1 -1
  211. package/dist/input-field-phone-number.js +1 -1
  212. package/dist/input-field.js +1 -1
  213. package/dist/internal.js +27 -26
  214. package/dist/internal.js.map +1 -1
  215. package/dist/layout.js +1 -1
  216. package/dist/menu.js +1 -1
  217. package/dist/modal-fullscreen.js +1 -1
  218. package/dist/modal.js +2 -2
  219. package/dist/pagination.js +1 -1
  220. package/dist/payment-method.js +1 -1
  221. package/dist/popover.js +1 -1
  222. package/dist/radio-group.js +1 -1
  223. package/dist/rich-text-editor.js +1 -1
  224. package/dist/search-bar.js +2 -2
  225. package/dist/secondary-nav.js +1 -1
  226. package/dist/segmented-control.js +1 -1
  227. package/dist/selection-card.js +1 -1
  228. package/dist/sidepanel.js +1 -1
  229. package/dist/stepper.js +1 -1
  230. package/dist/structured-list.js +1 -1
  231. package/dist/styles/bento-dark.css +4 -1
  232. package/dist/styles/bento-light.css +4 -1
  233. package/dist/styles/bento.css +4 -1
  234. package/dist/styles/legacy.css +4 -1
  235. package/dist/styles/styleguide.css +4 -1
  236. package/dist/summary-grid.js +1 -1
  237. package/dist/tabs.js +1 -1
  238. package/dist/tag.js +1 -1
  239. package/dist/textarea.js +1 -1
  240. package/dist/timeline.js +1 -1
  241. package/dist/toast.js +1 -1
  242. package/dist/tutorial.js +1 -1
  243. package/dist/use-form-v4.js +8 -8
  244. package/dist/use-form-v4.js.map +1 -1
  245. package/dist/web-types.json +1 -1
  246. package/package.json +11 -10
  247. package/dist/chunks/button-actions.BQ3AFQqt.js +0 -1355
  248. package/dist/chunks/button-actions.BQ3AFQqt.js.map +0 -1
  249. package/dist/chunks/checkbox-group.D56nUmre.js.map +0 -1
  250. package/dist/chunks/constructNow.CHWWeLPc.js +0 -8
  251. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
  252. package/dist/chunks/date-range-picker.CXeFdxAA.js +0 -1100
  253. package/dist/chunks/date-range-picker.CXeFdxAA.js.map +0 -1
  254. package/dist/chunks/file-uploader.R0NZXIsS.js.map +0 -1
  255. package/dist/chunks/filter-bar.DAYxD7wi.js.map +0 -1
  256. package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
  257. package/dist/chunks/input-field-password.-xEY2VB8.js.map +0 -1
  258. package/dist/chunks/input-field.B6nL7d8O.js.map +0 -1
  259. package/dist/chunks/modal-fullscreen.DTT-5rQX.js.map +0 -1
  260. package/dist/chunks/search-bar.BmNEcy0L.js.map +0 -1
  261. package/dist/chunks/structured-list-item.BTPh7SPj.js +0 -111
  262. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
  263. package/dist/chunks/summary-grid.types.cE1fyLvC.js.map +0 -1
  264. package/dist/chunks/tabs.keys.Cb4Vw5Jh.js +0 -7
  265. package/dist/chunks/toast.6oJx7SNq.js +0 -221
  266. package/dist/chunks/toast.6oJx7SNq.js.map +0 -1
@@ -1,30 +1,30 @@
1
- import { createElementBlock as g, openBlock as s, mergeProps as V, createCommentVNode as f, createElementVNode as m, toDisplayString as x, defineComponent as ca, createBlock as y, unref as t, Transition as si, withCtx as w, renderSlot as _a, TransitionGroup as ci, ref as I, onUnmounted as di, onMounted as qa, computed as h, watch as ha, normalizeClass as q, createVNode as O, resolveDynamicComponent as ri, withDirectives as Ba, createTextVNode as _, reactive as ba, toRef as xa, withKeys as ja, withModifiers as aa, Fragment as za, renderList as mi, vShow as ui, nextTick as vi } from "vue";
1
+ import { createElementBlock as g, openBlock as s, mergeProps as V, createCommentVNode as f, createElementVNode as m, toDisplayString as x, defineComponent as da, createBlock as w, unref as t, Transition as ci, withCtx as h, renderSlot as _a, TransitionGroup as di, ref as I, onUnmounted as ri, onMounted as qa, 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 ja, withModifiers as ia, Fragment as za, renderList as ui, vShow as vi, nextTick as fi } from "vue";
2
2
  /* empty css */
3
3
  import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
4
4
  import { W as Za } from "./warning-filled.BMGD0G-_.js";
5
- import { B as fi } from "./alert.C2pusd-_.js";
6
- import { B as R, d as xi } from "./typography.yBEME_Gu.js";
7
- import { u as da } from "./index.pdBj0KQU.js";
5
+ import { B as xi } from "./alert.C2pusd-_.js";
6
+ import { B as z, d as gi } from "./typography.yBEME_Gu.js";
7
+ import { u as ra } from "./index.pdBj0KQU.js";
8
8
  import { g as F } from "./generate-uid.NJ8tVoha.js";
9
- import { u as gi } from "./form-field.D_2g7vaP.js";
9
+ import { u as hi } from "./form-field.D_2g7vaP.js";
10
10
  import { i as Aa } from "./index.CWuzEfiV.js";
11
- import { B as hi } from "./bin.DuHlEQBO.js";
12
- import { C as bi } from "./checkmark-circle-fill._6-d40ru.js";
13
- import { C as wi } from "./cross.B92GxFTY.js";
14
- import { R as yi } from "./refresh.BB4ouvz_.js";
15
- import { b as ki } from "./tooltip.Dp9_ESm_.js";
16
- import { B as ga } from "./button.DhcxX2GJ.js";
17
- import { B as Ci } from "./link.cwPmWlsk.js";
18
- import { B as $i } from "./loading-indicator.Db794TT5.js";
19
- import { F as _i, E as ji } from "./field-label.C97CrBI_.js";
11
+ import { B as bi } from "./bin.DuHlEQBO.js";
12
+ import { C as wi } from "./checkmark-circle-fill._6-d40ru.js";
13
+ import { C as yi } from "./cross.B92GxFTY.js";
14
+ import { R as ki } from "./refresh.BB4ouvz_.js";
15
+ import { b as Ci } from "./tooltip.CeX5eGnw.js";
16
+ import { B as ha } from "./button.DhcxX2GJ.js";
17
+ import { B as $i } from "./link.cwPmWlsk.js";
18
+ import { B as _i } from "./loading-indicator.Db794TT5.js";
19
+ import { F as ji, E as zi } from "./field-label.B1rMWIWY.js";
20
20
  import "../assets/file-uploader.css";
21
21
  let Ra = 0;
22
- const zi = {
22
+ const Ri = {
23
23
  beforeCreate() {
24
24
  this.uuid = Ra.toString(), Ra += 1;
25
25
  }
26
- }, Ri = { key: 0 };
27
- function Ei(a, i, o, p, n, d) {
26
+ }, Ei = { key: 0 };
27
+ function Ii(a, i, o, p, n, d) {
28
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",
@@ -32,7 +32,7 @@ function Ei(a, i, o, p, n, d) {
32
32
  height: "16",
33
33
  fill: "none"
34
34
  }), [
35
- a.$attrs["svg-title"] ? (s(), g("title", Ri, x(a.$attrs["svg-title"]), 1)) : f("", !0),
35
+ a.$attrs["svg-title"] ? (s(), g("title", Ei, x(a.$attrs["svg-title"]), 1)) : f("", !0),
36
36
  i[0] || (i[0] = m("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"
@@ -43,42 +43,42 @@ function Ei(a, i, o, p, n, d) {
43
43
  }, null, -1))
44
44
  ], 16);
45
45
  }
46
- const Ii = /* @__PURE__ */ L(zi, [["render", Ei]]), Li = /* @__PURE__ */ ca({
46
+ const Li = /* @__PURE__ */ L(Ri, [["render", Ii]]), 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(Aa) ? (s(), y(si, {
53
+ return (i, o) => t(Aa) ? (s(), w(ci, {
54
54
  key: 0,
55
55
  name: i.name,
56
56
  mode: "out-in",
57
57
  css: i.showFileIcon
58
58
  }, {
59
- default: w(() => [
59
+ default: h(() => [
60
60
  _a(i.$slots, "default")
61
61
  ]),
62
62
  _: 3
63
- }, 8, ["name", "css"])) : (s(), y(ci, {
63
+ }, 8, ["name", "css"])) : (s(), w(di, {
64
64
  key: 1,
65
65
  name: i.name,
66
66
  css: i.showFileIcon
67
67
  }, {
68
- default: w(() => [
68
+ default: h(() => [
69
69
  _a(i.$slots, "default")
70
70
  ]),
71
71
  _: 3
72
72
  }, 8, ["name", "css"]));
73
73
  }
74
74
  });
75
- function Ti(a, i) {
75
+ function Mi(a, i) {
76
76
  const o = I(!1);
77
77
  let p;
78
78
  function n() {
79
79
  p && p.disconnect();
80
80
  }
81
- return di(() => {
81
+ return ri(() => {
82
82
  n();
83
83
  }), qa(() => {
84
84
  n(), p = new IntersectionObserver(
@@ -100,15 +100,15 @@ function Ua(a, i) {
100
100
  unit: Ea[o]
101
101
  }).format(i / 1024 ** o);
102
102
  }
103
- var S = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(S || {}), E = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(E || {}), sa = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(sa || {}), b = /* @__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))(b || {});
104
- const Mi = [
103
+ var S = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(S || {}), 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 || {}), 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 Fi = [
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
- ], Fi = [
111
+ ], Si = [
112
112
  "application/vnd.ms-excel",
113
113
  // .xls
114
114
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -121,14 +121,14 @@ const Mi = [
121
121
  // .numbers
122
122
  "text/csv"
123
123
  // .csv
124
- ], Si = [
124
+ ], Vi = [
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
+ ], Di = [
132
132
  "application/zip",
133
133
  // .zip
134
134
  "application/vnd.rar",
@@ -150,10 +150,10 @@ const Mi = [
150
150
  "application/vnd.ms-cab-compressed"
151
151
  // .cab
152
152
  ];
153
- function Di(a) {
154
- return Fi.includes(a.type) ? b.TABLE : a.type.startsWith("text/") || Mi.includes(a.type) ? b.TEXT : a.type.startsWith("image/") ? b.IMAGE : a.type.startsWith("video/") ? b.VIDEO : a.type.startsWith("audio/") ? b.AUDIO : a.type === "application/pdf" ? b.PDF : Si.includes(a.type) ? b.SLIDES : Vi.includes(a.type) ? b.COMPRESSED : b.GENERIC;
153
+ function Oi(a) {
154
+ return Si.includes(a.type) ? y.TABLE : a.type.startsWith("text/") || Fi.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 : Vi.includes(a.type) ? y.SLIDES : Di.includes(a.type) ? y.COMPRESSED : y.GENERIC;
155
155
  }
156
- function Oi(a, i) {
156
+ function Hi(a, i) {
157
157
  if (!i)
158
158
  return !0;
159
159
  const o = i.split(",").map((p) => p.trim());
@@ -169,14 +169,14 @@ function Oi(a, i) {
169
169
  return !0;
170
170
  return !1;
171
171
  }
172
- function Hi(a, i, o) {
172
+ function qi(a, i, o) {
173
173
  const p = new FileReader(), n = a;
174
- if (!Oi(n.data, i)) {
174
+ if (!Hi(n.data, i)) {
175
175
  n.state = S.ERROR, n.errors.push(E.ERROR_TYPE);
176
176
  return;
177
177
  }
178
178
  p.onload = (d) => {
179
- if (o && n.type === b.IMAGE) {
179
+ if (o && n.type === y.IMAGE) {
180
180
  const l = new Blob([d.target.result], { type: n.data.type }), u = URL.createObjectURL(l), k = new Image();
181
181
  k.onload = function() {
182
182
  (k.width > o.width || k.height > o.height) && (n.state = S.ERROR, n.errors.push(E.ERROR_DIMENSIONS)), URL.revokeObjectURL(u);
@@ -193,12 +193,12 @@ function Hi(a, i, o) {
193
193
  }, p.readAsArrayBuffer(n.data);
194
194
  }
195
195
  let Ia = 0;
196
- const qi = {
196
+ const Bi = {
197
197
  beforeCreate() {
198
198
  this.uuid = Ia.toString(), Ia += 1;
199
199
  }
200
- }, Bi = { key: 0 }, Zi = ["clip-path"], Ai = ["id"];
201
- function Ui(a, i, o, p, n, d) {
200
+ }, Zi = { key: 0 }, Ai = ["clip-path"], Ui = ["id"];
201
+ function Ni(a, i, o, p, n, d) {
202
202
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
203
203
  class: "ui-assets-icons-16",
204
204
  xmlns: "http://www.w3.org/2000/svg",
@@ -206,7 +206,7 @@ function Ui(a, i, o, p, n, d) {
206
206
  height: "16",
207
207
  fill: "none"
208
208
  }), [
209
- a.$attrs["svg-title"] ? (s(), g("title", Bi, x(a.$attrs["svg-title"]), 1)) : f("", !0),
209
+ a.$attrs["svg-title"] ? (s(), g("title", Zi, x(a.$attrs["svg-title"]), 1)) : f("", !0),
210
210
  m("g", {
211
211
  "clip-path": "url(#uia-ui-assets/icons-16-attachment__a" + a.uuid + ")"
212
212
  }, i[0] || (i[0] = [
@@ -214,7 +214,7 @@ function Ui(a, i, o, p, n, d) {
214
214
  fill: "#001222",
215
215
  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
216
  }, null, -1)
217
- ]), 8, Zi),
217
+ ]), 8, Ai),
218
218
  m("defs", null, [
219
219
  m("clipPath", {
220
220
  id: "uia-ui-assets/icons-16-attachment__a" + a.uuid
@@ -224,18 +224,18 @@ function Ui(a, i, o, p, n, d) {
224
224
  height: "16",
225
225
  fill: "#fff"
226
226
  }, null, -1)
227
- ]), 8, Ai)
227
+ ]), 8, Ui)
228
228
  ])
229
229
  ], 16);
230
230
  }
231
- const Ni = /* @__PURE__ */ L(qi, [["render", Ui]]);
231
+ const Pi = /* @__PURE__ */ L(Bi, [["render", Ni]]);
232
232
  let La = 0;
233
- const Pi = {
233
+ const Gi = {
234
234
  beforeCreate() {
235
235
  this.uuid = La.toString(), La += 1;
236
236
  }
237
- }, Gi = { key: 0 };
238
- function Wi(a, i, o, p, n, d) {
237
+ }, Wi = { key: 0 };
238
+ function Yi(a, i, o, p, n, d) {
239
239
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
240
240
  class: "ui-assets-icons-16",
241
241
  xmlns: "http://www.w3.org/2000/svg",
@@ -243,7 +243,7 @@ function Wi(a, i, o, p, n, d) {
243
243
  height: "16",
244
244
  fill: "none"
245
245
  }), [
246
- a.$attrs["svg-title"] ? (s(), g("title", Gi, x(a.$attrs["svg-title"]), 1)) : f("", !0),
246
+ a.$attrs["svg-title"] ? (s(), g("title", Wi, x(a.$attrs["svg-title"]), 1)) : f("", !0),
247
247
  i[0] || (i[0] = m("path", {
248
248
  fill: "#001222",
249
249
  "fill-rule": "evenodd",
@@ -252,14 +252,14 @@ function Wi(a, i, o, p, n, d) {
252
252
  }, null, -1))
253
253
  ], 16);
254
254
  }
255
- const Yi = /* @__PURE__ */ L(Pi, [["render", Wi]]);
255
+ const Xi = /* @__PURE__ */ L(Gi, [["render", Yi]]);
256
256
  let Ta = 0;
257
- const Xi = {
257
+ const Ji = {
258
258
  beforeCreate() {
259
259
  this.uuid = Ta.toString(), Ta += 1;
260
260
  }
261
- }, Ji = { key: 0 };
262
- function Ki(a, i, o, p, n, d) {
261
+ }, Ki = { key: 0 };
262
+ function Qi(a, i, o, p, n, d) {
263
263
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
264
264
  class: "ui-assets-icons-16",
265
265
  xmlns: "http://www.w3.org/2000/svg",
@@ -267,21 +267,21 @@ function Ki(a, i, o, p, n, d) {
267
267
  height: "16",
268
268
  fill: "none"
269
269
  }), [
270
- a.$attrs["svg-title"] ? (s(), g("title", Ji, x(a.$attrs["svg-title"]), 1)) : f("", !0),
270
+ a.$attrs["svg-title"] ? (s(), g("title", Ki, x(a.$attrs["svg-title"]), 1)) : f("", !0),
271
271
  i[0] || (i[0] = m("path", {
272
272
  fill: "#001222",
273
273
  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
274
  }, null, -1))
275
275
  ], 16);
276
276
  }
277
- const Qi = /* @__PURE__ */ L(Xi, [["render", Ki]]);
277
+ const ae = /* @__PURE__ */ L(Ji, [["render", Qi]]);
278
278
  let Ma = 0;
279
- const ae = {
279
+ const ie = {
280
280
  beforeCreate() {
281
281
  this.uuid = Ma.toString(), Ma += 1;
282
282
  }
283
- }, ie = { key: 0 };
284
- function ee(a, i, o, p, n, d) {
283
+ }, ee = { key: 0 };
284
+ function te(a, i, o, p, n, d) {
285
285
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
286
286
  class: "ui-assets-icons-16",
287
287
  xmlns: "http://www.w3.org/2000/svg",
@@ -289,7 +289,7 @@ function ee(a, i, o, p, n, d) {
289
289
  height: "16",
290
290
  fill: "none"
291
291
  }), [
292
- a.$attrs["svg-title"] ? (s(), g("title", ie, x(a.$attrs["svg-title"]), 1)) : f("", !0),
292
+ a.$attrs["svg-title"] ? (s(), g("title", ee, x(a.$attrs["svg-title"]), 1)) : f("", !0),
293
293
  i[0] || (i[0] = m("path", {
294
294
  fill: "#001222",
295
295
  d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z"
@@ -304,14 +304,14 @@ function ee(a, i, o, p, n, d) {
304
304
  }, null, -1))
305
305
  ], 16);
306
306
  }
307
- const te = /* @__PURE__ */ L(ae, [["render", ee]]);
307
+ const ne = /* @__PURE__ */ L(ie, [["render", te]]);
308
308
  let Fa = 0;
309
- const ne = {
309
+ const oe = {
310
310
  beforeCreate() {
311
311
  this.uuid = Fa.toString(), Fa += 1;
312
312
  }
313
- }, oe = { key: 0 };
314
- function pe(a, i, o, p, n, d) {
313
+ }, pe = { key: 0 };
314
+ function le(a, i, o, p, n, d) {
315
315
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
316
316
  class: "ui-assets-icons-16",
317
317
  xmlns: "http://www.w3.org/2000/svg",
@@ -319,21 +319,21 @@ function pe(a, i, o, p, n, d) {
319
319
  height: "16",
320
320
  fill: "none"
321
321
  }), [
322
- a.$attrs["svg-title"] ? (s(), g("title", oe, x(a.$attrs["svg-title"]), 1)) : f("", !0),
322
+ a.$attrs["svg-title"] ? (s(), g("title", pe, x(a.$attrs["svg-title"]), 1)) : f("", !0),
323
323
  i[0] || (i[0] = m("path", {
324
324
  fill: "#001222",
325
325
  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
326
  }, null, -1))
327
327
  ], 16);
328
328
  }
329
- const le = /* @__PURE__ */ L(ne, [["render", pe]]);
329
+ const se = /* @__PURE__ */ L(oe, [["render", le]]);
330
330
  let Sa = 0;
331
- const se = {
331
+ const ce = {
332
332
  beforeCreate() {
333
333
  this.uuid = Sa.toString(), Sa += 1;
334
334
  }
335
- }, ce = { key: 0 };
336
- function de(a, i, o, p, n, d) {
335
+ }, de = { key: 0 };
336
+ function re(a, i, o, p, n, d) {
337
337
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
338
338
  class: "ui-assets-icons-16",
339
339
  xmlns: "http://www.w3.org/2000/svg",
@@ -341,7 +341,7 @@ function de(a, i, o, p, n, d) {
341
341
  height: "16",
342
342
  fill: "none"
343
343
  }), [
344
- a.$attrs["svg-title"] ? (s(), g("title", ce, x(a.$attrs["svg-title"]), 1)) : f("", !0),
344
+ a.$attrs["svg-title"] ? (s(), g("title", de, x(a.$attrs["svg-title"]), 1)) : f("", !0),
345
345
  i[0] || (i[0] = m("path", {
346
346
  fill: "#001222",
347
347
  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"
@@ -352,14 +352,14 @@ function de(a, i, o, p, n, d) {
352
352
  }, null, -1))
353
353
  ], 16);
354
354
  }
355
- const re = /* @__PURE__ */ L(se, [["render", de]]);
355
+ const me = /* @__PURE__ */ L(ce, [["render", re]]);
356
356
  let Va = 0;
357
- const me = {
357
+ const ue = {
358
358
  beforeCreate() {
359
359
  this.uuid = Va.toString(), Va += 1;
360
360
  }
361
- }, ue = { key: 0 }, ve = ["clip-path"], fe = ["id"];
362
- function xe(a, i, o, p, n, d) {
361
+ }, ve = { key: 0 }, fe = ["clip-path"], xe = ["id"];
362
+ function ge(a, i, o, p, n, d) {
363
363
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
364
364
  class: "ui-assets-icons-16",
365
365
  xmlns: "http://www.w3.org/2000/svg",
@@ -367,14 +367,14 @@ function xe(a, i, o, p, n, d) {
367
367
  height: "16",
368
368
  fill: "none"
369
369
  }), [
370
- a.$attrs["svg-title"] ? (s(), g("title", ue, x(a.$attrs["svg-title"]), 1)) : f("", !0),
370
+ a.$attrs["svg-title"] ? (s(), g("title", ve, x(a.$attrs["svg-title"]), 1)) : f("", !0),
371
371
  m("g", {
372
372
  fill: "#001222",
373
373
  "clip-path": "url(#uia-ui-assets/icons-16-play_circle__a" + a.uuid + ")"
374
374
  }, i[0] || (i[0] = [
375
375
  m("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
376
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, ve),
377
+ ]), 8, fe),
378
378
  m("defs", null, [
379
379
  m("clipPath", {
380
380
  id: "uia-ui-assets/icons-16-play_circle__a" + a.uuid
@@ -384,18 +384,18 @@ function xe(a, i, o, p, n, d) {
384
384
  height: "16",
385
385
  fill: "#fff"
386
386
  }, null, -1)
387
- ]), 8, fe)
387
+ ]), 8, xe)
388
388
  ])
389
389
  ], 16);
390
390
  }
391
- const ge = /* @__PURE__ */ L(me, [["render", xe]]);
391
+ const he = /* @__PURE__ */ L(ue, [["render", ge]]);
392
392
  let Da = 0;
393
- const he = {
393
+ const be = {
394
394
  beforeCreate() {
395
395
  this.uuid = Da.toString(), Da += 1;
396
396
  }
397
- }, be = { key: 0 };
398
- function we(a, i, o, p, n, d) {
397
+ }, we = { key: 0 };
398
+ function ye(a, i, o, p, n, d) {
399
399
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
400
400
  class: "ui-assets-icons-16",
401
401
  xmlns: "http://www.w3.org/2000/svg",
@@ -403,7 +403,7 @@ function we(a, i, o, p, n, d) {
403
403
  height: "16",
404
404
  fill: "none"
405
405
  }), [
406
- a.$attrs["svg-title"] ? (s(), g("title", be, x(a.$attrs["svg-title"]), 1)) : f("", !0),
406
+ a.$attrs["svg-title"] ? (s(), g("title", we, x(a.$attrs["svg-title"]), 1)) : f("", !0),
407
407
  i[0] || (i[0] = m("path", {
408
408
  fill: "#001222",
409
409
  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"
@@ -418,14 +418,14 @@ function we(a, i, o, p, n, d) {
418
418
  }, null, -1))
419
419
  ], 16);
420
420
  }
421
- const ye = /* @__PURE__ */ L(he, [["render", we]]);
421
+ const ke = /* @__PURE__ */ L(be, [["render", ye]]);
422
422
  let Oa = 0;
423
- const ke = {
423
+ const Ce = {
424
424
  beforeCreate() {
425
425
  this.uuid = Oa.toString(), Oa += 1;
426
426
  }
427
- }, Ce = { key: 0 };
428
- function $e(a, i, o, p, n, d) {
427
+ }, $e = { key: 0 };
428
+ function _e(a, i, o, p, n, d) {
429
429
  return s(), g("svg", V({ role: "img" }, a.$attrs, {
430
430
  class: "ui-assets-icons-16",
431
431
  xmlns: "http://www.w3.org/2000/svg",
@@ -433,36 +433,36 @@ function $e(a, i, o, p, n, d) {
433
433
  height: "16",
434
434
  fill: "none"
435
435
  }), [
436
- a.$attrs["svg-title"] ? (s(), g("title", Ce, x(a.$attrs["svg-title"]), 1)) : f("", !0),
436
+ a.$attrs["svg-title"] ? (s(), g("title", $e, x(a.$attrs["svg-title"]), 1)) : f("", !0),
437
437
  i[0] || (i[0] = m("path", {
438
438
  fill: "#001222",
439
439
  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
440
  }, null, -1))
441
441
  ], 16);
442
442
  }
443
- const _e = /* @__PURE__ */ L(ke, [["render", $e]]), je = {
444
- [b.AUDIO]: ye,
445
- [b.COMPRESSED]: le,
446
- [b.GENERIC]: Ni,
447
- [b.IMAGE]: re,
448
- [b.PDF]: Qi,
449
- [b.SLIDES]: Yi,
450
- [b.TABLE]: _e,
451
- [b.TEXT]: te,
452
- [b.VIDEO]: ge
443
+ const je = /* @__PURE__ */ L(Ce, [["render", _e]]), ze = {
444
+ [y.AUDIO]: ke,
445
+ [y.COMPRESSED]: se,
446
+ [y.GENERIC]: Pi,
447
+ [y.IMAGE]: me,
448
+ [y.PDF]: ae,
449
+ [y.SLIDES]: Xi,
450
+ [y.TABLE]: je,
451
+ [y.TEXT]: ne,
452
+ [y.VIDEO]: he
453
453
  };
454
- function ze(a) {
455
- return je[a.type];
456
- }
457
454
  function Re(a) {
455
+ return ze[a.type];
456
+ }
457
+ function Ee(a) {
458
458
  switch (a.type) {
459
- case b.COMPRESSED:
460
- case b.GENERIC:
459
+ case y.COMPRESSED:
460
+ case y.GENERIC:
461
461
  return "grey";
462
- case b.PDF:
463
- case b.SLIDES:
462
+ case y.PDF:
463
+ case y.SLIDES:
464
464
  return "orange";
465
- case b.TEXT:
465
+ case y.TEXT:
466
466
  return "blue";
467
467
  default:
468
468
  return "green";
@@ -487,36 +487,40 @@ const Na = {
487
487
  remove: "Remover",
488
488
  retry: "Tentar novamente"
489
489
  }
490
- }, Ee = { class: "b-file-uploader-file-card__details" }, Ie = { class: "b-file-uploader-file-card__info" }, Le = ["id"], Te = { class: "b-file-uploader-file-card__actions" }, Me = {
490
+ }, Ie = { class: "b-file-uploader-file-card__details" }, Le = { class: "b-file-uploader-file-card__info" }, Te = ["id"], Me = {
491
+ key: 0,
492
+ class: "b-file-uploader-file-card__actions"
493
+ }, Fe = {
491
494
  name: "file-uploader-file-card",
492
495
  i18n: { messages: Na }
493
- }, Fe = /* @__PURE__ */ ca({
494
- ...Me,
496
+ }, Se = /* @__PURE__ */ da({
497
+ ...Fe,
495
498
  props: {
496
499
  file: {},
497
- supportedFileTypes: { default: null }
500
+ supportedFileTypes: { default: null },
501
+ readonly: { type: Boolean }
498
502
  },
499
503
  emits: ["cancel", "remove", "retry"],
500
504
  setup(a, { expose: i, emit: o }) {
501
- const n = a, d = o, { t: l, locale: u } = da({ messages: Na }), k = I(null), r = I(null), z = I(null), H = F("file-errors-section"), G = F("cancel-file-button"), B = F("remove-file-button"), A = F("retry-file-button"), v = I(n.file.state === S.SUCCESS), ea = h(() => URL.createObjectURL(n.file.data)), T = h(() => n.file.state === S.ERROR), ta = h(() => n.file.errors.includes(E.ERROR_LOAD)), W = h(() => n.file.errors.includes(E.ERROR_SIZE)), na = h(() => n.file.errors.includes(E.ERROR_DIMENSIONS)), oa = h(() => n.file.errors.includes(E.ERROR_TYPE)), Y = h(() => n.file.state === S.LOADING), U = h(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), X = h(() => Ua(u.value, n.file.data.size)), pa = I(), J = I(), K = Ti(pa, J), ra = h(() => ({
505
+ const n = a, d = o, { t: l, locale: u } = ra({ messages: Na }), k = I(null), r = I(null), R = I(null), H = F("file-errors-section"), W = F("cancel-file-button"), Z = F("remove-file-button"), U = F("retry-file-button"), v = I(n.file.state === S.SUCCESS), ta = b(() => URL.createObjectURL(n.file.data)), T = b(() => n.file.state === S.ERROR), na = b(() => n.file.errors.includes(E.ERROR_LOAD)), Y = b(() => n.file.errors.includes(E.ERROR_SIZE)), oa = b(() => n.file.errors.includes(E.ERROR_DIMENSIONS)), pa = b(() => n.file.errors.includes(E.ERROR_TYPE)), X = b(() => n.file.state === S.LOADING), N = b(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), J = b(() => Ua(u.value, n.file.data.size)), la = I(), K = I(), Q = Mi(la, K), ma = b(() => ({
502
506
  "b-file-uploader-file-card--error": T.value
503
- })), Q = h(() => ({
504
- [`b-file-uploader-file-card__icon--${Re(n.file)}`]: v.value,
507
+ })), aa = b(() => ({
508
+ [`b-file-uploader-file-card__icon--${Ee(n.file)}`]: v.value,
505
509
  "b-file-uploader-file-card__icon--error": T.value
506
- })), la = h(() => Y.value ? $i : T.value ? Za : v.value ? ze(n.file) : bi);
507
- ha(
510
+ })), sa = b(() => X.value ? _i : T.value ? Za : v.value ? Re(n.file) : wi);
511
+ ba(
508
512
  () => n.file.state,
509
- (j) => {
510
- if (j === S.SUCCESS && !v.value) {
513
+ (_) => {
514
+ if (_ === S.SUCCESS && !v.value) {
511
515
  const D = setTimeout(() => {
512
516
  v.value = !0, clearTimeout(D);
513
517
  }, 1200);
514
518
  }
515
519
  }
516
520
  );
517
- function ma() {
518
- if (z.value) {
519
- z.value.$el.focus();
521
+ function ua() {
522
+ if (R.value) {
523
+ R.value.$el.focus();
520
524
  return;
521
525
  }
522
526
  if (k.value) {
@@ -529,22 +533,22 @@ const Na = {
529
533
  }
530
534
  }
531
535
  return i({
532
- focus: ma
533
- }), (j, D) => (s(), g("div", {
534
- class: q(["b-file-uploader-file-card", ra.value])
536
+ focus: ua
537
+ }), (_, D) => (s(), g("div", {
538
+ class: B(["b-file-uploader-file-card", ma.value])
535
539
  }, [
536
- m("div", Ee, [
537
- m("div", Ie, [
538
- O(t(Li), {
540
+ m("div", Ie, [
541
+ m("div", Le, [
542
+ O(t(Ti), {
539
543
  name: t(Aa) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
540
544
  "show-file-icon": v.value
541
545
  }, {
542
- default: w(() => [
543
- (s(), y(ri(la.value), {
544
- key: JSON.stringify(la.value),
546
+ default: h(() => [
547
+ (s(), w(mi(sa.value), {
548
+ key: JSON.stringify(sa.value),
545
549
  small: "",
546
550
  "aria-hidden": "true",
547
- class: q(["b-file-uploader-file-card__icon", Q.value]),
551
+ class: B(["b-file-uploader-file-card__icon", aa.value]),
548
552
  "data-testid": "file-uploader-item-icon"
549
553
  }, null, 8, ["class"]))
550
554
  ]),
@@ -552,145 +556,145 @@ const Na = {
552
556
  }, 8, ["name", "show-file-icon"]),
553
557
  m("div", {
554
558
  ref_key: "fileNameContainerRef",
555
- ref: J,
559
+ ref: K,
556
560
  class: "b-file-uploader-file-card__file-name"
557
561
  }, [
558
- O(t(Ci), {
562
+ O(t($i), {
559
563
  "aria-hidden": "true",
560
564
  tabindex: "-1",
561
- download: j.file.data.name,
562
- to: ea.value,
565
+ download: _.file.data.name,
566
+ to: ta.value,
563
567
  "disable-typography": "",
564
568
  "is-not-routing": "",
565
569
  variant: "quiet"
566
570
  }, {
567
- default: w(() => [
568
- Ba((s(), y(t(R), {
571
+ default: h(() => [
572
+ Ba((s(), w(t(z), {
569
573
  ref_key: "fileNameRef",
570
- ref: pa,
574
+ ref: la,
571
575
  stronger: "",
572
576
  el: "span"
573
577
  }, {
574
- default: w(() => [
575
- _(x(j.file.data.name), 1)
578
+ default: h(() => [
579
+ $(x(_.file.data.name), 1)
576
580
  ]),
577
581
  _: 1
578
582
  })), [
579
- [t(ki), t(K) ? j.file.data.name : null]
583
+ [t(Ci), t(Q) ? _.file.data.name : null]
580
584
  ])
581
585
  ]),
582
586
  _: 1
583
587
  }, 8, ["download", "to"])
584
588
  ], 512),
585
- j.file.progress ? (s(), y(t(R), {
589
+ _.file.progress ? (s(), w(t(z), {
586
590
  key: 0,
587
591
  el: "span"
588
592
  }, {
589
- default: w(() => [
590
- _(x(U.value), 1)
593
+ default: h(() => [
594
+ $(x(N.value), 1)
591
595
  ]),
592
596
  _: 1
593
- })) : j.file.data.size ? (s(), y(t(R), {
597
+ })) : _.file.data.size ? (s(), w(t(z), {
594
598
  key: 1,
595
599
  class: "b-file-uploader-file-card__file-size",
596
600
  "aria-hidden": "true",
597
601
  el: "span"
598
602
  }, {
599
- default: w(() => [
600
- _(x(X.value), 1)
603
+ default: h(() => [
604
+ $(x(J.value), 1)
601
605
  ]),
602
606
  _: 1
603
607
  })) : f("", !0)
604
608
  ]),
605
- W.value || na.value || oa.value && j.supportedFileTypes ? (s(), g("div", {
609
+ Y.value || oa.value || pa.value && _.supportedFileTypes ? (s(), g("div", {
606
610
  key: 0,
607
611
  id: t(H),
608
612
  role: "alert"
609
613
  }, [
610
- W.value ? (s(), y(t(R), {
614
+ Y.value ? (s(), w(t(z), {
611
615
  key: 0,
612
616
  class: "b-file-uploader-file-card__error-message"
613
617
  }, {
614
- default: w(() => [
615
- _(x(t(l)("fileExceedsSizeLimit")), 1)
618
+ default: h(() => [
619
+ $(x(t(l)("fileExceedsSizeLimit")), 1)
616
620
  ]),
617
621
  _: 1
618
622
  })) : f("", !0),
619
- na.value ? (s(), y(t(R), {
623
+ oa.value ? (s(), w(t(z), {
620
624
  key: 1,
621
625
  class: "b-file-uploader-file-card__error-message"
622
626
  }, {
623
- default: w(() => [
624
- _(x(t(l)("imageDimensionsExceedLimits")), 1)
627
+ default: h(() => [
628
+ $(x(t(l)("imageDimensionsExceedLimits")), 1)
625
629
  ]),
626
630
  _: 1
627
631
  })) : f("", !0),
628
- oa.value && j.supportedFileTypes ? (s(), y(t(R), {
632
+ pa.value && _.supportedFileTypes ? (s(), w(t(z), {
629
633
  key: 2,
630
634
  class: "b-file-uploader-file-card__error-message"
631
635
  }, {
632
- default: w(() => [
633
- _(x(t(l)("fileTypeMustBe", { list: j.supportedFileTypes })), 1)
636
+ default: h(() => [
637
+ $(x(t(l)("fileTypeMustBe", { list: _.supportedFileTypes })), 1)
634
638
  ]),
635
639
  _: 1
636
640
  })) : f("", !0)
637
- ], 8, Le)) : f("", !0)
641
+ ], 8, Te)) : f("", !0)
638
642
  ]),
639
- m("div", Te, [
640
- ta.value ? (s(), y(t(ga), {
643
+ _.readonly ? f("", !0) : (s(), g("div", Me, [
644
+ na.value ? (s(), w(t(ha), {
641
645
  key: 0,
642
646
  ref_key: "retryFileButtonRef",
643
- ref: z,
644
- "aria-labelledby": `${t(H)} ${t(A)}`,
647
+ ref: R,
648
+ "aria-labelledby": `${t(H)} ${t(U)}`,
645
649
  variant: "tertiary",
646
- onClick: D[0] || (D[0] = (N) => d("retry"))
650
+ onClick: D[0] || (D[0] = (P) => d("retry"))
647
651
  }, {
648
- iconLeft: w(() => [
649
- O(t(yi), {
650
- id: t(A),
651
- "svg-title": `${t(l)("retry")} - ${j.file.data.name} `
652
+ iconLeft: h(() => [
653
+ O(t(ki), {
654
+ id: t(U),
655
+ "svg-title": `${t(l)("retry")} - ${_.file.data.name} `
652
656
  }, null, 8, ["id", "svg-title"])
653
657
  ]),
654
- default: w(() => [
655
- _(" " + x(t(l)("retry")), 1)
658
+ default: h(() => [
659
+ $(" " + x(t(l)("retry")), 1)
656
660
  ]),
657
661
  _: 1
658
662
  }, 8, ["aria-labelledby"])) : f("", !0),
659
- Y.value || T.value ? (s(), y(t(ga), {
663
+ X.value || T.value ? (s(), w(t(ha), {
660
664
  key: 1,
661
665
  ref_key: "cancelFileButtonRef",
662
666
  ref: r,
663
- "aria-labelledby": `${t(H)} ${t(G)}`,
667
+ "aria-labelledby": `${t(H)} ${t(W)}`,
664
668
  variant: "tertiary",
665
- onClick: D[1] || (D[1] = (N) => d("cancel"))
669
+ onClick: D[1] || (D[1] = (P) => d("cancel"))
666
670
  }, {
667
- iconLeft: w(() => [
668
- O(t(wi), {
669
- id: t(G),
670
- "svg-title": `${t(l)("cancel")} - ${j.file.data.name}`
671
+ iconLeft: h(() => [
672
+ O(t(yi), {
673
+ id: t(W),
674
+ "svg-title": `${t(l)("cancel")} - ${_.file.data.name}`
671
675
  }, null, 8, ["id", "svg-title"])
672
676
  ]),
673
677
  _: 1
674
- }, 8, ["aria-labelledby"])) : (s(), y(t(ga), {
678
+ }, 8, ["aria-labelledby"])) : (s(), w(t(ha), {
675
679
  key: 2,
676
680
  ref_key: "removeFileButtonRef",
677
681
  ref: k,
678
- "aria-labelledby": `${t(H)} ${t(B)}`,
682
+ "aria-labelledby": `${t(H)} ${t(Z)}`,
679
683
  variant: "tertiary",
680
- onClick: D[2] || (D[2] = (N) => d("remove"))
684
+ onClick: D[2] || (D[2] = (P) => d("remove"))
681
685
  }, {
682
- iconLeft: w(() => [
683
- O(t(hi), {
684
- id: t(B),
685
- "svg-title": `${t(l)("remove")} - ${j.file.data.name}`
686
+ iconLeft: h(() => [
687
+ O(t(bi), {
688
+ id: t(Z),
689
+ "svg-title": `${t(l)("remove")} - ${_.file.data.name}`
686
690
  }, null, 8, ["id", "svg-title"])
687
691
  ]),
688
692
  _: 1
689
693
  }, 8, ["aria-labelledby"]))
690
- ])
694
+ ]))
691
695
  ], 2));
692
696
  }
693
- }), Se = /* @__PURE__ */ L(Fe, [["__scopeId", "data-v-e2340e06"]]), Pa = {
697
+ }), Ve = /* @__PURE__ */ L(Se, [["__scopeId", "data-v-7357113e"]]), Pa = {
694
698
  "en-US": {
695
699
  maxFileSize: "Max file size: {size}",
696
700
  maxImageDimensions: "Max image dimensions: {width} × {height}px",
@@ -699,10 +703,10 @@ const Na = {
699
703
  maxUpload: "Max upload: {count} file | Max upload: {count} files",
700
704
  supportedFileTypes: "Supported file types: {list}"
701
705
  }
702
- }, Ve = {
706
+ }, De = {
703
707
  i18n: { messages: Pa }
704
- }, De = /* @__PURE__ */ ca({
705
- ...Ve,
708
+ }, Oe = /* @__PURE__ */ da({
709
+ ...De,
706
710
  __name: "file-uploader-restrictions",
707
711
  props: {
708
712
  condensed: { type: Boolean, default: null },
@@ -713,7 +717,7 @@ const Na = {
713
717
  supportedFileTypes: { default: null }
714
718
  },
715
719
  setup(a) {
716
- const i = a, { t: o, tc: p, n, locale: d } = da({ messages: Pa }), l = h(() => ({
720
+ const i = a, { t: o, tc: p, n, locale: d } = ra({ messages: Pa }), l = b(() => ({
717
721
  "b-file-uploader-restrictions--condensed": i.condensed,
718
722
  "b-file-uploader-restrictions--disabled": i.disabled
719
723
  }));
@@ -722,56 +726,56 @@ const Na = {
722
726
  "b-file-uploader-restrictions--error": r
723
727
  };
724
728
  }
725
- const k = h(() => {
729
+ const k = b(() => {
726
730
  if (!i.maxDimensions)
727
731
  return null;
728
732
  const {
729
- value: { width: r, height: z }
733
+ value: { width: r, height: R }
730
734
  } = i.maxDimensions;
731
- return r && z ? o("maxImageDimensions", { width: n(r), height: n(z) }) : r ? o("maxImageWidth", { width: n(r) }) : z ? o("maxImageHeight", { height: n(z) }) : null;
735
+ return r && R ? o("maxImageDimensions", { width: n(r), height: n(R) }) : r ? o("maxImageWidth", { width: n(r) }) : R ? o("maxImageHeight", { height: n(R) }) : null;
732
736
  });
733
- return (r, z) => (s(), g("div", {
734
- class: q(["b-file-uploader-restrictions", l.value])
737
+ return (r, R) => (s(), g("div", {
738
+ class: B(["b-file-uploader-restrictions", l.value])
735
739
  }, [
736
- r.supportedFileTypes ? (s(), y(t(R), {
740
+ r.supportedFileTypes ? (s(), w(t(z), {
737
741
  key: 0,
738
- class: q(u(r.supportedFileTypes.error))
742
+ class: B(u(r.supportedFileTypes.error))
739
743
  }, {
740
- default: w(() => [
741
- _(x(t(o)("supportedFileTypes", { list: r.supportedFileTypes.value })), 1)
744
+ default: h(() => [
745
+ $(x(t(o)("supportedFileTypes", { list: r.supportedFileTypes.value })), 1)
742
746
  ]),
743
747
  _: 1
744
748
  }, 8, ["class"])) : f("", !0),
745
- r.maxSize ? (s(), y(t(R), {
749
+ r.maxSize ? (s(), w(t(z), {
746
750
  key: 1,
747
- class: q(u(r.maxSize.error))
751
+ class: B(u(r.maxSize.error))
748
752
  }, {
749
- default: w(() => [
750
- _(x(t(o)("maxFileSize", { size: t(Ua)(t(d), r.maxSize.value) })), 1)
753
+ default: h(() => [
754
+ $(x(t(o)("maxFileSize", { size: t(Ua)(t(d), r.maxSize.value) })), 1)
751
755
  ]),
752
756
  _: 1
753
757
  }, 8, ["class"])) : f("", !0),
754
- r.maxDimensions ? (s(), y(t(R), {
758
+ r.maxDimensions ? (s(), w(t(z), {
755
759
  key: 2,
756
- class: q(u(r.maxDimensions.error))
760
+ class: B(u(r.maxDimensions.error))
757
761
  }, {
758
- default: w(() => [
759
- _(x(k.value), 1)
762
+ default: h(() => [
763
+ $(x(k.value), 1)
760
764
  ]),
761
765
  _: 1
762
766
  }, 8, ["class"])) : f("", !0),
763
- r.maxCount ? (s(), y(t(R), {
767
+ r.maxCount ? (s(), w(t(z), {
764
768
  key: 3,
765
- class: q(u(r.maxCount.error))
769
+ class: B(u(r.maxCount.error))
766
770
  }, {
767
- default: w(() => [
768
- _(x(t(p)("maxUpload", r.maxCount.value, { count: t(n)(r.maxCount.value) })), 1)
771
+ default: h(() => [
772
+ $(x(t(p)("maxUpload", r.maxCount.value, { count: t(n)(r.maxCount.value) })), 1)
769
773
  ]),
770
774
  _: 1
771
775
  }, 8, ["class"])) : f("", !0)
772
776
  ], 2));
773
777
  }
774
- }), Ha = /* @__PURE__ */ L(De, [["__scopeId", "data-v-6ad327db"]]), Ga = {
778
+ }), Ha = /* @__PURE__ */ L(Oe, [["__scopeId", "data-v-6ad327db"]]), Ga = {
775
779
  "application/prs.cww": ["cww"],
776
780
  "application/prs.xsf+xml": ["xsf"],
777
781
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -1828,26 +1832,26 @@ var M = function(a, i, o, p) {
1828
1832
  if (o === "a" && !p) throw new TypeError("Private accessor was defined without a getter");
1829
1833
  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");
1830
1834
  return o === "m" ? p : o === "a" ? p.call(a) : p ? p.value : i.get(a);
1831
- }, P, ia, Z;
1832
- class Oe {
1835
+ }, G, ea, A;
1836
+ class He {
1833
1837
  constructor(...i) {
1834
- P.set(this, /* @__PURE__ */ new Map()), ia.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map());
1838
+ G.set(this, /* @__PURE__ */ new Map()), ea.set(this, /* @__PURE__ */ new Map()), A.set(this, /* @__PURE__ */ new Map());
1835
1839
  for (const o of i)
1836
1840
  this.define(o);
1837
1841
  }
1838
1842
  define(i, o = !1) {
1839
1843
  for (let [p, n] of Object.entries(i)) {
1840
- p = p.toLowerCase(), n = n.map((u) => u.toLowerCase()), M(this, Z, "f").has(p) || M(this, Z, "f").set(p, /* @__PURE__ */ new Set());
1841
- const d = M(this, Z, "f").get(p);
1844
+ p = p.toLowerCase(), n = n.map((u) => u.toLowerCase()), M(this, A, "f").has(p) || M(this, A, "f").set(p, /* @__PURE__ */ new Set());
1845
+ const d = M(this, A, "f").get(p);
1842
1846
  let l = !0;
1843
1847
  for (let u of n) {
1844
1848
  const k = u.startsWith("*");
1845
- if (u = k ? u.slice(1) : u, d == null || d.add(u), l && M(this, ia, "f").set(p, u), l = !1, k)
1849
+ if (u = k ? u.slice(1) : u, d == null || d.add(u), l && M(this, ea, "f").set(p, u), l = !1, k)
1846
1850
  continue;
1847
- const r = M(this, P, "f").get(u);
1851
+ const r = M(this, G, "f").get(u);
1848
1852
  if (r && r != p && !o)
1849
1853
  throw new Error(`"${p} -> ${u}" conflicts with "${r} -> ${u}". Pass \`force=true\` to override this definition.`);
1850
- M(this, P, "f").set(u, p);
1854
+ M(this, G, "f").set(u, p);
1851
1855
  }
1852
1856
  }
1853
1857
  return this;
@@ -1856,32 +1860,32 @@ class Oe {
1856
1860
  if (typeof i != "string")
1857
1861
  return null;
1858
1862
  const o = i.replace(/^.*[/\\]/, "").toLowerCase(), p = o.replace(/^.*\./, "").toLowerCase(), n = o.length < i.length;
1859
- return !(p.length < o.length - 1) && n ? null : M(this, P, "f").get(p) ?? null;
1863
+ return !(p.length < o.length - 1) && n ? null : M(this, G, "f").get(p) ?? null;
1860
1864
  }
1861
1865
  getExtension(i) {
1862
1866
  var o;
1863
- return typeof i != "string" ? null : (i = (o = i == null ? void 0 : i.split) == null ? void 0 : o.call(i, ";")[0], (i && M(this, ia, "f").get(i.trim().toLowerCase())) ?? null);
1867
+ 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);
1864
1868
  }
1865
1869
  getAllExtensions(i) {
1866
- return typeof i != "string" ? null : M(this, Z, "f").get(i.toLowerCase()) ?? null;
1870
+ return typeof i != "string" ? null : M(this, A, "f").get(i.toLowerCase()) ?? null;
1867
1871
  }
1868
1872
  _freeze() {
1869
1873
  this.define = () => {
1870
1874
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1871
1875
  }, Object.freeze(this);
1872
- for (const i of M(this, Z, "f").values())
1876
+ for (const i of M(this, A, "f").values())
1873
1877
  Object.freeze(i);
1874
1878
  return this;
1875
1879
  }
1876
1880
  _getTestState() {
1877
1881
  return {
1878
- types: M(this, P, "f"),
1879
- extensions: M(this, ia, "f")
1882
+ types: M(this, G, "f"),
1883
+ extensions: M(this, ea, "f")
1880
1884
  };
1881
1885
  }
1882
1886
  }
1883
- P = /* @__PURE__ */ new WeakMap(), ia = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap();
1884
- const Ya = new Oe(Wa, Ga)._freeze(), wa = {
1887
+ G = /* @__PURE__ */ new WeakMap(), ea = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap();
1888
+ const Ya = new He(Wa, Ga)._freeze(), ya = {
1885
1889
  "en-US": {
1886
1890
  audioFiles: "audio files",
1887
1891
  browseFiles: "Browse files",
@@ -1889,17 +1893,18 @@ const Ya = new Oe(Wa, Ga)._freeze(), wa = {
1889
1893
  dropFiles: "Drop file to upload | Drop files to upload",
1890
1894
  fileExceedsSizeLimit: "File exceeds size limit",
1891
1895
  imageFiles: "image files",
1896
+ noFilesUploaded: "No files uploaded",
1892
1897
  tooManyFiles: "Too many files",
1893
1898
  videoFiles: "video files",
1894
1899
  youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
1895
1900
  }
1896
1901
  };
1897
- function He(a) {
1902
+ function qe(a) {
1898
1903
  return a.includes("/") ? `.${Ya.getExtension(a).toUpperCase()}` : a.toUpperCase();
1899
1904
  }
1900
- function qe(a) {
1901
- const { locale: i, t: o } = da({ messages: wa });
1902
- return { supportedFileTypeList: h(() => {
1905
+ function Be(a) {
1906
+ const { locale: i, t: o } = ra({ messages: ya });
1907
+ return { supportedFileTypeList: b(() => {
1903
1908
  const n = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
1904
1909
  return a != null && a.value ? n.format(
1905
1910
  a.value.split(",").map((d) => {
@@ -1911,24 +1916,24 @@ function qe(a) {
1911
1916
  case "video/*":
1912
1917
  return o("videoFiles");
1913
1918
  default:
1914
- return He(d);
1919
+ return qe(d);
1915
1920
  }
1916
1921
  })
1917
1922
  ) : null;
1918
1923
  }) };
1919
1924
  }
1920
- function Be(a) {
1925
+ function Ze(a) {
1921
1926
  return Ya.getType(a) ?? a;
1922
1927
  }
1923
- function Ze({ maxCount: a, accept: i }) {
1924
- const o = ba({
1928
+ function Ae({ maxCount: a, accept: i }) {
1929
+ const o = wa({
1925
1930
  invalidTypes: !1,
1926
1931
  partiallyInvalidTypes: !1,
1927
1932
  maxCountOverflow: !1
1928
- }), p = ba({
1933
+ }), p = wa({
1929
1934
  dragging: !1,
1930
1935
  error: !1
1931
- }), n = h(() => i.value ? i.value.split(",").map((k) => Be(k.trim().toLocaleLowerCase())) : void 0);
1936
+ }), n = b(() => i.value ? i.value.split(",").map((k) => Ze(k.trim().toLocaleLowerCase())) : void 0);
1932
1937
  function d() {
1933
1938
  p.dragging = !1, p.error = !1, o.invalidTypes = !1, o.partiallyInvalidTypes = !1, o.maxCountOverflow = !1;
1934
1939
  }
@@ -1936,8 +1941,8 @@ function Ze({ maxCount: a, accept: i }) {
1936
1941
  if (p.dragging = !0, (!k.dataTransfer.types.includes("Files") || u > a.value) && (o.maxCountOverflow = !0, p.error = !0), !n.value)
1937
1942
  return;
1938
1943
  let r = 0;
1939
- for (const z of k.dataTransfer.items)
1940
- n.value.includes(z.type) && r++;
1944
+ for (const R of k.dataTransfer.items)
1945
+ n.value.includes(R.type) && r++;
1941
1946
  if (r === 0) {
1942
1947
  p.error = !0, o.invalidTypes = !0;
1943
1948
  return;
@@ -1951,20 +1956,21 @@ function Ze({ maxCount: a, accept: i }) {
1951
1956
  onDragEnterValidations: l
1952
1957
  };
1953
1958
  }
1954
- const Ae = ["id", "accept", "disabled", "multiple"], Ue = ["id"], Ne = ["aria-labelledby", "tabindex"], Pe = {
1959
+ const Ue = ["id", "accept", "disabled", "multiple"], Ne = ["id"], Pe = ["aria-labelledby", "tabindex"], Ge = {
1955
1960
  class: "b-file-uploader__icon",
1956
1961
  "aria-hidden": "true"
1957
- }, Ge = { class: "b-file-uploader__files" }, We = {
1962
+ }, We = { class: "b-file-uploader__files" }, Ye = {
1958
1963
  model: { prop: "modelValue" },
1959
- i18n: { messages: wa }
1960
- }, Ye = /* @__PURE__ */ ca({
1961
- ...We,
1964
+ i18n: { messages: ya }
1965
+ }, Xe = /* @__PURE__ */ da({
1966
+ ...Ye,
1962
1967
  __name: "file-uploader",
1963
1968
  props: {
1964
1969
  accept: { default: null },
1965
1970
  condensed: { type: Boolean },
1966
1971
  description: { default: null },
1967
1972
  disabled: { type: Boolean },
1973
+ readonly: { type: Boolean },
1968
1974
  errorMessage: { default: null },
1969
1975
  label: {},
1970
1976
  maxCount: { default: 1 },
@@ -1977,58 +1983,58 @@ const Ae = ["id", "accept", "disabled", "multiple"], Ue = ["id"], Ne = ["aria-la
1977
1983
  },
1978
1984
  emits: ["change", "input", "update:model-value", "error:upload"],
1979
1985
  setup(a, { emit: i }) {
1980
- const { t: o, tc: p, n } = da({ messages: wa }), d = i, l = a, { emitValue: u } = gi(d);
1986
+ const { t: o, tc: p, n } = ra({ messages: ya }), d = i, l = a, { emitValue: u } = hi(d);
1981
1987
  function k(e) {
1982
1988
  return !!e && typeof e.length == "number" && typeof e.item == "function";
1983
1989
  }
1984
1990
  qa(() => {
1985
- k(l.modelValue) || xi(
1991
+ k(l.modelValue) || gi(
1986
1992
  "BentoFileUploaderValue types: string | Array<string> | File | Array<File>",
1987
1993
  "Use FileList instead.",
1988
1994
  "2.0.0"
1989
1995
  );
1990
1996
  });
1991
- const { supportedFileTypeList: r } = qe(xa(l, "accept")), z = F("browse-button"), H = F("custom-text"), G = F("drop-files-text"), B = F("comma-text"), A = F("file-uploader-restrictions"), v = I(null), ea = I([]), T = I(null), ta = I(null), W = F("input"), na = F("input-error"), oa = h(() => {
1992
- const e = l.condensed ? "" : `${G} ${B}`, c = l.description ? `${H} ${B}` : "", C = `${A} ${B}`;
1993
- return `${e} ${c} ${C} ${z}`;
1994
- }), { dragState: Y, dragErrors: U, resetDragState: X, onDragEnterValidations: pa } = Ze({
1995
- accept: xa(l, "accept"),
1996
- maxCount: xa(l, "maxCount")
1997
- }), J = h(() => {
1997
+ const { supportedFileTypeList: r } = Be(ga(l, "accept")), R = F("browse-button"), H = F("custom-text"), W = F("drop-files-text"), Z = F("comma-text"), U = F("file-uploader-restrictions"), v = I(null), ta = I([]), T = I(null), na = I(null), Y = F("input"), oa = F("input-error"), pa = b(() => {
1998
+ const e = l.condensed ? "" : `${W} ${Z}`, c = l.description ? `${H} ${Z}` : "", C = `${U} ${Z}`;
1999
+ return `${e} ${c} ${C} ${R}`;
2000
+ }), { dragState: X, dragErrors: N, resetDragState: J, onDragEnterValidations: la } = Ae({
2001
+ accept: ga(l, "accept"),
2002
+ maxCount: ga(l, "maxCount")
2003
+ }), K = b(() => {
1998
2004
  var e, c, C;
1999
2005
  return {
2000
2006
  condensed: l.condensed,
2001
2007
  disabled: l.disabled,
2002
- maxCount: Q.value ? {
2008
+ maxCount: aa.value ? {
2003
2009
  value: l.maxCount,
2004
- error: U.maxCountOverflow || ya.value
2010
+ error: N.maxCountOverflow || ka.value
2005
2011
  } : null,
2006
2012
  maxDimensions: l.maxDimensions ? {
2007
2013
  value: l.maxDimensions,
2008
- error: (e = v.value) == null ? void 0 : e.some(($) => $.errors.includes(E.ERROR_DIMENSIONS))
2014
+ error: (e = v.value) == null ? void 0 : e.some((j) => j.errors.includes(E.ERROR_DIMENSIONS))
2009
2015
  } : null,
2010
2016
  maxSize: l.maxSize ? {
2011
2017
  value: l.maxSize,
2012
- error: (c = v.value) == null ? void 0 : c.some(($) => $.errors.includes(E.ERROR_SIZE))
2018
+ error: (c = v.value) == null ? void 0 : c.some((j) => j.errors.includes(E.ERROR_SIZE))
2013
2019
  } : null,
2014
2020
  supportedFileTypes: r.value ? {
2015
2021
  value: r.value,
2016
- error: U.invalidTypes || U.partiallyInvalidTypes || ((C = v.value) == null ? void 0 : C.some(($) => $.errors.includes(E.ERROR_TYPE)))
2022
+ error: N.invalidTypes || N.partiallyInvalidTypes || ((C = v.value) == null ? void 0 : C.some((j) => j.errors.includes(E.ERROR_TYPE)))
2017
2023
  } : null
2018
2024
  };
2019
- }), K = I(), ra = h(() => ({
2020
- [`b-file-uploader--${sa.DISABLED}`]: l.disabled,
2021
- [`b-file-uploader--${sa.DRAG_OVER}`]: Y.dragging,
2022
- [`b-file-uploader--${sa.ERROR}`]: N.value,
2025
+ }), Q = I(), ma = b(() => ({
2026
+ [`b-file-uploader--${ca.DISABLED}`]: l.disabled,
2027
+ [`b-file-uploader--${ca.DRAG_OVER}`]: X.dragging,
2028
+ [`b-file-uploader--${ca.ERROR}`]: P.value,
2023
2029
  "b-file-uploader--condensed": l.condensed
2024
- })), Q = h(() => l.maxCount > 1), la = h(() => {
2030
+ })), aa = b(() => l.maxCount > 1), sa = b(() => {
2025
2031
  var e;
2026
- return l.maxCount && ((e = v.value) == null ? void 0 : e.length) >= l.maxCount;
2027
- }), ma = h(() => {
2032
+ return l.maxCount && ((e = v.value) == null ? void 0 : e.length) >= l.maxCount || l.readonly;
2033
+ }), ua = b(() => {
2028
2034
  var e;
2029
2035
  return (e = v.value) == null ? void 0 : e.some((c) => c.state === "loading");
2030
- }), j = (e) => (c) => {
2031
- ea.value[e] = c;
2036
+ }), _ = (e) => (c) => {
2037
+ ta.value[e] = c;
2032
2038
  };
2033
2039
  function D(e) {
2034
2040
  if (e) {
@@ -2038,80 +2044,80 @@ const Ae = ["id", "accept", "disabled", "multiple"], Ue = ["id"], Ne = ["aria-la
2038
2044
  } else
2039
2045
  d("change", void 0), u(void 0);
2040
2046
  }
2041
- const N = h(() => !!l.errorMessage || Y.error), ya = h(() => {
2047
+ const P = b(() => !!l.errorMessage || X.error), ka = b(() => {
2042
2048
  var e;
2043
2049
  return ((e = v.value) == null ? void 0 : e.length) > l.maxCount;
2044
- }), Xa = I(!1), Ja = h(() => {
2050
+ }), Xa = I(!1), Ja = b(() => {
2045
2051
  var e;
2046
2052
  return (e = v.value) == null ? void 0 : e.some((c) => c.state === "error");
2047
2053
  });
2048
- ha(Ja, (e) => {
2049
- ma.value || d("error:upload", e);
2054
+ ba(Ja, (e) => {
2055
+ ua.value || d("error:upload", e);
2050
2056
  });
2051
- async function ua() {
2057
+ async function va() {
2052
2058
  var e;
2053
- if (await vi(), v.value.length === l.maxCount) {
2054
- (e = ea.value[0]) == null || e.focus();
2059
+ if (await fi(), v.value.length === l.maxCount) {
2060
+ (e = ta.value[0]) == null || e.focus();
2055
2061
  return;
2056
2062
  }
2057
- ta.value.focus();
2063
+ na.value.focus();
2058
2064
  }
2059
- async function ka(e) {
2060
- v.value = v.value.filter(({ id: c }) => c !== e.id), await ua(), D(v.value);
2065
+ async function Ca(e) {
2066
+ v.value = v.value.filter(({ id: c }) => c !== e.id), await va(), D(v.value);
2061
2067
  }
2062
- function va(e) {
2063
- const c = ba({
2068
+ function fa(e) {
2069
+ const c = wa({
2064
2070
  id: F("file"),
2065
2071
  data: e,
2066
2072
  errors: [],
2067
2073
  progress: null,
2068
2074
  state: S.LOADING,
2069
- type: Di(e)
2075
+ type: Oi(e)
2070
2076
  });
2071
- return Hi(c, l.accept, l.maxDimensions), c;
2077
+ return qi(c, l.accept, l.maxDimensions), c;
2072
2078
  }
2073
2079
  function Ka(e) {
2074
2080
  var c;
2075
2081
  ((c = v.value) == null ? void 0 : c.length) === l.maxCount && e.preventDefault();
2076
2082
  }
2077
- async function Ca(e) {
2083
+ async function $a(e) {
2078
2084
  if (l.maxCount === 1 && e.length > l.maxCount) {
2079
- fa(), X();
2085
+ xa(), J();
2080
2086
  return;
2081
2087
  }
2082
- Q.value ? v.value = [...v.value || [], ...Array.from(e).map((c) => va(c))] : (v.value = [va(e[0])], await ua()), D(v.value);
2088
+ aa.value ? v.value = [...v.value || [], ...Array.from(e).map((c) => fa(c))] : (v.value = [fa(e[0])], await va()), D(v.value);
2083
2089
  }
2084
2090
  function Qa(e) {
2085
- var C, $;
2091
+ var C, j;
2086
2092
  if (l.disabled)
2087
2093
  return;
2088
- K.value = e.target;
2089
- const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + ((($ = v.value) == null ? void 0 : $.length) ?? 0);
2090
- pa(c, e);
2094
+ Q.value = e.target;
2095
+ const c = (((C = e.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + (((j = v.value) == null ? void 0 : j.length) ?? 0);
2096
+ la(c, e);
2091
2097
  }
2092
- function fa() {
2093
- K.value = null;
2098
+ function xa() {
2099
+ Q.value = null;
2094
2100
  }
2095
2101
  function ai(e) {
2096
- K.value === e.target && (fa(), X());
2102
+ Q.value === e.target && (xa(), J());
2097
2103
  }
2098
2104
  function ii(e) {
2099
2105
  e.preventDefault(), l.disabled && (e.dataTransfer.dropEffect = "none");
2100
2106
  }
2101
2107
  async function ei(e) {
2102
2108
  var c;
2103
- l.disabled || (!U.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) && Ca(e.dataTransfer.files), fa(), X());
2109
+ l.disabled || (!N.invalidTypes && ((c = e.dataTransfer.files) != null && c.length) && $a(e.dataTransfer.files), xa(), J());
2104
2110
  }
2105
2111
  async function ti() {
2106
2112
  var e;
2107
- (e = T.value.files) != null && e.length && Ca(T.value.files), T.value.value = "", await ua();
2113
+ (e = T.value.files) != null && e.length && $a(T.value.files), T.value.value = "", await va();
2108
2114
  }
2109
- ha(
2115
+ ba(
2110
2116
  () => l.modelValue,
2111
2117
  (e) => {
2112
2118
  if (e && k(e)) {
2113
- const c = e, C = Array.from(c);
2114
- v.value = C.map(($) => va($));
2119
+ const C = Array.from(e);
2120
+ v.value = C.map((j) => fa(j));
2115
2121
  } else !e && v.value && (v.value = null);
2116
2122
  },
2117
2123
  { immediate: !0 }
@@ -2132,26 +2138,26 @@ const Ae = ["id", "accept", "disabled", "multiple"], Ue = ["id"], Ne = ["aria-la
2132
2138
  );
2133
2139
  if (c.length) {
2134
2140
  const C = new DataTransfer();
2135
- return c.forEach(({ data: $, id: $a }) => {
2136
- C.items.add($);
2141
+ return c.forEach(({ data: j, id: q }) => {
2142
+ C.items.add(j);
2137
2143
  }), C.files;
2138
2144
  }
2139
2145
  }
2140
2146
  return (e, c) => {
2141
- var C;
2147
+ var C, j;
2142
2148
  return s(), g("div", {
2143
- class: q(["b-file-uploader", ra.value])
2149
+ class: B(["b-file-uploader", ma.value])
2144
2150
  }, [
2145
- O(t(_i), {
2151
+ O(t(ji), {
2146
2152
  class: "b-file-uploader__label",
2147
- for: t(W),
2153
+ for: t(Y),
2148
2154
  label: e.label,
2149
2155
  optional: e.optional,
2150
2156
  required: e.required,
2151
2157
  "tooltip-text": e.tooltipText
2152
2158
  }, null, 8, ["for", "label", "optional", "required", "tooltip-text"]),
2153
2159
  m("input", {
2154
- id: t(W),
2160
+ id: t(Y),
2155
2161
  ref_key: "inputRef",
2156
2162
  ref: T,
2157
2163
  "aria-hidden": "true",
@@ -2161,121 +2167,132 @@ const Ae = ["id", "accept", "disabled", "multiple"], Ue = ["id"], Ne = ["aria-la
2161
2167
  class: "b-file-uploader__input",
2162
2168
  accept: e.accept,
2163
2169
  disabled: e.disabled,
2164
- multiple: Q.value,
2170
+ multiple: aa.value,
2165
2171
  onChange: ti,
2166
2172
  onClick: Ka
2167
- }, null, 40, Ae),
2173
+ }, null, 40, Ue),
2168
2174
  m("span", {
2169
- id: t(B),
2175
+ id: t(Z),
2170
2176
  "aria-hidden": "true",
2171
2177
  class: "b-file-uploader__invisible-comma"
2172
- }, " , ", 8, Ue),
2173
- la.value ? f("", !0) : (s(), g("div", {
2178
+ }, " , ", 8, Ne),
2179
+ sa.value ? f("", !0) : (s(), g("div", {
2174
2180
  key: 0,
2175
2181
  ref_key: "dropAreaRef",
2176
- ref: ta,
2177
- "aria-labelledby": oa.value,
2182
+ ref: na,
2183
+ "aria-labelledby": pa.value,
2178
2184
  class: "b-file-uploader__area",
2179
2185
  role: "button",
2180
2186
  tabindex: e.disabled ? -1 : 0,
2181
- onClick: c[0] || (c[0] = ($) => T.value.click()),
2182
- onDragenter: aa(Qa, ["stop", "prevent"]),
2183
- onDragleave: aa(ai, ["stop", "prevent"]),
2184
- onDrop: aa(ei, ["stop", "prevent"]),
2187
+ onClick: c[0] || (c[0] = (q) => T.value.click()),
2188
+ onDragenter: ia(Qa, ["stop", "prevent"]),
2189
+ onDragleave: ia(ai, ["stop", "prevent"]),
2190
+ onDrop: ia(ei, ["stop", "prevent"]),
2185
2191
  onDragover: ii,
2186
2192
  onKeydownCapture: [
2187
- c[1] || (c[1] = ja(aa(($) => T.value.click(), ["prevent"]), ["enter"])),
2188
- c[2] || (c[2] = ja(aa(($) => T.value.click(), ["prevent"]), ["space"]))
2193
+ c[1] || (c[1] = ja(ia((q) => T.value.click(), ["prevent"]), ["enter"])),
2194
+ c[2] || (c[2] = ja(ia((q) => T.value.click(), ["prevent"]), ["space"]))
2189
2195
  ]
2190
2196
  }, [
2191
- m("div", Pe, [
2192
- N.value ? (s(), y(t(Za), { key: 0 })) : (s(), y(t(Ii), { key: 1 }))
2197
+ m("div", Ge, [
2198
+ P.value ? (s(), w(t(Za), { key: 0 })) : (s(), w(t(Li), { key: 1 }))
2193
2199
  ]),
2194
2200
  e.condensed ? f("", !0) : (s(), g(za, { key: 0 }, [
2195
- O(t(R), {
2196
- id: t(G),
2201
+ O(t(z), {
2202
+ id: t(W),
2197
2203
  el: "span",
2198
2204
  strongest: "",
2199
2205
  class: "b-file-uploader__title"
2200
2206
  }, {
2201
- default: w(() => [
2202
- _(x(t(p)("dropFiles", e.maxCount)), 1)
2207
+ default: h(() => [
2208
+ $(x(t(p)("dropFiles", e.maxCount)), 1)
2203
2209
  ]),
2204
2210
  _: 1
2205
2211
  }, 8, ["id"]),
2206
- e.description ? (s(), y(t(R), {
2212
+ e.description ? (s(), w(t(z), {
2207
2213
  key: 0,
2208
2214
  id: t(H),
2209
2215
  el: "span",
2210
2216
  class: "b-file-uploader__description"
2211
2217
  }, {
2212
- default: w(() => [
2213
- _(x(e.description), 1)
2218
+ default: h(() => [
2219
+ $(x(e.description), 1)
2214
2220
  ]),
2215
2221
  _: 1
2216
2222
  }, 8, ["id"])) : f("", !0),
2217
- O(t(Ha), V(J.value, { id: t(A) }), null, 16, ["id"])
2223
+ O(t(Ha), V(K.value, { id: t(U) }), null, 16, ["id"])
2218
2224
  ], 64)),
2219
- O(t(R), {
2220
- id: t(z),
2225
+ O(t(z), {
2226
+ id: t(R),
2221
2227
  stronger: "",
2222
2228
  class: "b-file-uploader__button"
2223
2229
  }, {
2224
- default: w(() => [
2225
- _(x(t(o)("browseFiles")), 1)
2230
+ default: h(() => [
2231
+ $(x(t(o)("browseFiles")), 1)
2226
2232
  ]),
2227
2233
  _: 1
2228
2234
  }, 8, ["id"])
2229
- ], 40, Ne)),
2230
- N.value && e.errorMessage ? (s(), y(t(ji), {
2235
+ ], 40, Pe)),
2236
+ P.value && e.errorMessage ? (s(), w(t(zi), {
2231
2237
  key: 1,
2232
- id: t(na),
2238
+ id: t(oa),
2233
2239
  "error-message": e.errorMessage,
2234
2240
  class: "b-file-uploader__error-message"
2235
2241
  }, null, 8, ["id", "error-message"])) : f("", !0),
2236
- e.condensed && e.description ? (s(), y(t(R), {
2242
+ e.condensed && e.description ? (s(), w(t(z), {
2237
2243
  key: 2,
2238
2244
  id: t(H),
2239
2245
  "aria-hidden": "true",
2240
2246
  el: "span",
2241
2247
  class: "b-file-uploader__description b-file-uploader__description--condensed"
2242
2248
  }, {
2243
- default: w(() => [
2244
- _(x(e.description), 1)
2249
+ default: h(() => [
2250
+ $(x(e.description), 1)
2245
2251
  ]),
2246
2252
  _: 1
2247
2253
  }, 8, ["id"])) : f("", !0),
2248
- e.condensed ? (s(), y(t(Ha), V({ key: 3 }, J.value, { id: t(A) }), null, 16, ["id"])) : f("", !0),
2249
- ya.value ? (s(), y(t(fi), {
2254
+ e.condensed ? (s(), w(t(Ha), V({ key: 3 }, K.value, { id: t(U) }), null, 16, ["id"])) : f("", !0),
2255
+ ka.value ? (s(), w(t(xi), {
2250
2256
  key: 4,
2251
2257
  type: "critical"
2252
2258
  }, {
2253
- description: w(() => [
2254
- _(x(t(o)("youHaveExceededTheMaximum", { count: t(n)(l.maxCount) })), 1)
2259
+ description: h(() => [
2260
+ $(x(t(o)("youHaveExceededTheMaximum", { count: t(n)(l.maxCount) })), 1)
2255
2261
  ]),
2256
- default: w(() => [
2257
- _(x(t(o)("tooManyFiles")) + " ", 1)
2262
+ default: h(() => [
2263
+ $(x(t(o)("tooManyFiles")) + " ", 1)
2258
2264
  ]),
2259
2265
  _: 1
2260
2266
  })) : f("", !0),
2261
- Ba(m("div", Ge, [
2262
- (s(!0), g(za, null, mi(v.value, ($, $a) => (s(), y(t(Se), {
2267
+ Ba(m("div", We, [
2268
+ (s(!0), g(za, null, ui(v.value, (q, li) => (s(), w(t(Ve), {
2263
2269
  ref_for: !0,
2264
- ref: j($a),
2265
- key: $.id,
2266
- file: $,
2270
+ ref: _(li),
2271
+ key: q.id,
2272
+ file: q,
2267
2273
  "supported-file-types": t(r),
2268
- onCancel: (li) => ka($),
2269
- onRemove: (li) => ka($)
2270
- }, null, 8, ["file", "supported-file-types", "onCancel", "onRemove"]))), 128))
2274
+ readonly: e.readonly,
2275
+ onCancel: (si) => Ca(q),
2276
+ onRemove: (si) => Ca(q)
2277
+ }, null, 8, ["file", "supported-file-types", "readonly", "onCancel", "onRemove"]))), 128))
2271
2278
  ], 512), [
2272
- [ui, (C = v.value) == null ? void 0 : C.length]
2273
- ])
2279
+ [vi, (C = v.value) == null ? void 0 : C.length]
2280
+ ]),
2281
+ !((j = v.value) != null && j.length) && e.readonly ? (s(), w(t(z), {
2282
+ key: 5,
2283
+ class: "b-file-uploader__no-files",
2284
+ wide: ""
2285
+ }, {
2286
+ default: h(() => [
2287
+ $(x(t(o)("noFilesUploaded")), 1)
2288
+ ]),
2289
+ _: 1
2290
+ })) : f("", !0)
2274
2291
  ], 2);
2275
2292
  };
2276
2293
  }
2277
- }), ft = /* @__PURE__ */ L(Ye, [["__scopeId", "data-v-91e31414"]]);
2294
+ }), xt = /* @__PURE__ */ L(Xe, [["__scopeId", "data-v-49d48e30"]]);
2278
2295
  export {
2279
- ft as f
2296
+ xt as f
2280
2297
  };
2281
- //# sourceMappingURL=file-uploader.R0NZXIsS.js.map
2298
+ //# sourceMappingURL=file-uploader.BwmQdkmz.js.map