@adyen/bento-vue3 1.49.0 → 1.51.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.
- package/dist/@types/index.d.ts +441 -657
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/link.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toggle-button.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.Cf184uiI.js → accordion-item.DLyCF015.js} +2 -2
- package/dist/chunks/{accordion-item.Cf184uiI.js.map → accordion-item.DLyCF015.js.map} +1 -1
- package/dist/chunks/{action-bar.r_Vt4XIu.js → action-bar.BW9db7ja.js} +6 -6
- package/dist/chunks/{action-bar.r_Vt4XIu.js.map → action-bar.BW9db7ja.js.map} +1 -1
- package/dist/chunks/{alert.Dd2DYCZ1.js → alert.eqWeCHyL.js} +25 -24
- package/dist/chunks/alert.eqWeCHyL.js.map +1 -0
- package/dist/chunks/{base-modal.Bis0B1AC.js → base-modal.BRYHc9Ez.js} +5 -5
- package/dist/chunks/{base-modal.Bis0B1AC.js.map → base-modal.BRYHc9Ez.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.C5LguXWO.js → button-actions-with-menu.Hl8tUKa4.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.C5LguXWO.js.map → button-actions-with-menu.Hl8tUKa4.js.map} +1 -1
- package/dist/chunks/{button-actions.ncthaz2m.js → button-actions.BPnsl_QP.js} +4 -4
- package/dist/chunks/{button-actions.ncthaz2m.js.map → button-actions.BPnsl_QP.js.map} +1 -1
- package/dist/chunks/{button.Cneb6rPP.js → button.6HMG0xEY.js} +2 -2
- package/dist/chunks/{button.Cneb6rPP.js.map → button.6HMG0xEY.js.map} +1 -1
- package/dist/chunks/{calendar.BdLQOioy.js → calendar.DfN1__E_.js} +3 -3
- package/dist/chunks/{calendar.BdLQOioy.js.map → calendar.DfN1__E_.js.map} +1 -1
- package/dist/chunks/{card.BAg7yMMT.js → card.BwC4MSjn.js} +3 -3
- package/dist/chunks/{card.BAg7yMMT.js.map → card.BwC4MSjn.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CxWYSBy1.js → checkbox-group.Bzd-qpJ-.js} +4 -4
- package/dist/chunks/{checkbox-group.CxWYSBy1.js.map → checkbox-group.Bzd-qpJ-.js.map} +1 -1
- package/dist/chunks/{checkbox-input.CAYgiRHG.js → checkbox-input.XtCjXis9.js} +12 -11
- package/dist/chunks/checkbox-input.XtCjXis9.js.map +1 -0
- package/dist/chunks/{checkbox.bXN3Yann.js → checkbox.DJRe4ync.js} +17 -17
- package/dist/chunks/{checkbox.bXN3Yann.js.map → checkbox.DJRe4ync.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js → checkmark-circle-fill.D9gNCN0T.js} +4 -4
- package/dist/chunks/checkmark-circle-fill.D9gNCN0T.js.map +1 -0
- package/dist/chunks/{checkmark-small.BDqUF-Ni.js → checkmark-small.D7l69yBf.js} +4 -4
- package/dist/chunks/checkmark-small.D7l69yBf.js.map +1 -0
- package/dist/chunks/{chevron-left.CYEK2UTr.js → chevron-left.BF63HtOH.js} +6 -6
- package/dist/chunks/chevron-left.BF63HtOH.js.map +1 -0
- package/dist/chunks/{chevron-up.Cu9qXgBY.js → chevron-up.-0oLlHmh.js} +6 -6
- package/dist/chunks/chevron-up.-0oLlHmh.js.map +1 -0
- package/dist/chunks/chip.3T0x6FuI.js +74 -0
- package/dist/chunks/chip.3T0x6FuI.js.map +1 -0
- package/dist/chunks/{code-snippet.baKzBaM6.js → code-snippet.0HhLVaJR.js} +7 -7
- package/dist/chunks/{code-snippet.baKzBaM6.js.map → code-snippet.0HhLVaJR.js.map} +1 -1
- package/dist/chunks/{controls-group.BnbQO34k.js → controls-group.DnX2B502.js} +2 -2
- package/dist/chunks/{controls-group.BnbQO34k.js.map → controls-group.DnX2B502.js.map} +1 -1
- package/dist/chunks/{copy.CXCdp5ly.js → copy.BzeHBtEF.js} +10 -9
- package/dist/chunks/copy.BzeHBtEF.js.map +1 -0
- package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js → cross-circle-fill-small.mY6ihJcA.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.BzSjakuO.js → cross-circle-fill.DLWo6wBR.js} +4 -4
- package/dist/chunks/cross-circle-fill.DLWo6wBR.js.map +1 -0
- package/dist/chunks/{cross-small.Z5EKYRm0.js → cross-small.CFrBIeYK.js} +4 -4
- package/dist/chunks/cross-small.CFrBIeYK.js.map +1 -0
- package/dist/chunks/{cross.BZYw4R3N.js → cross.CbLEjiVy.js} +4 -4
- package/dist/chunks/cross.CbLEjiVy.js.map +1 -0
- package/dist/chunks/{dashboard-section.B87x4XsH.js → dashboard-section.CySxZmlx.js} +3 -3
- package/dist/chunks/{dashboard-section.B87x4XsH.js.map → dashboard-section.CySxZmlx.js.map} +1 -1
- package/dist/chunks/{dashed-underline.dWsHmwUp.js → dashed-underline.CCKLdMc7.js} +3 -3
- package/dist/chunks/{dashed-underline.dWsHmwUp.js.map → dashed-underline.CCKLdMc7.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CZrGeSxR.js → data-grid-template.iM84gKjt.js} +3 -3
- package/dist/chunks/{data-grid-template.CZrGeSxR.js.map → data-grid-template.iM84gKjt.js.map} +1 -1
- package/dist/chunks/{data-grid.Duvh6mRu.js → data-grid.B2L_4qN7.js} +903 -923
- package/dist/chunks/data-grid.B2L_4qN7.js.map +1 -0
- package/dist/chunks/{date-picker.DXrMLxD0.js → date-picker.CMi0Kuy3.js} +5 -5
- package/dist/chunks/{date-picker.DXrMLxD0.js.map → date-picker.CMi0Kuy3.js.map} +1 -1
- package/dist/chunks/{date-range-picker.D7BDFoqM.js → date-range-picker.-KwSzmW_.js} +194 -193
- package/dist/chunks/date-range-picker.-KwSzmW_.js.map +1 -0
- package/dist/chunks/{dialog-page.D_r_CbyD.js → dialog-page.CXQafL9G.js} +5 -4
- package/dist/chunks/dialog-page.CXQafL9G.js.map +1 -0
- package/dist/chunks/{dot.cpdFEk6G.js → dot.BW-xtyjC.js} +4 -4
- package/dist/chunks/dot.BW-xtyjC.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.BpvVMlcX.js → dropdown-default-textbox.Filez078.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.BpvVMlcX.js.map → dropdown-default-textbox.Filez078.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.DrBFdX2o.js → dropdown-tag.B4-3z8xz.js} +4 -4
- package/dist/chunks/{dropdown-tag.DrBFdX2o.js.map → dropdown-tag.B4-3z8xz.js.map} +1 -1
- package/dist/chunks/{dropdown.CWq-VlFX.js → dropdown.CRLx2Juh.js} +333 -325
- package/dist/chunks/dropdown.CRLx2Juh.js.map +1 -0
- package/dist/chunks/{empty-state.C2ancCe6.js → empty-state.BffIZp3a.js} +2 -2
- package/dist/chunks/{empty-state.C2ancCe6.js.map → empty-state.BffIZp3a.js.map} +1 -1
- package/dist/chunks/{error-message.B3z5WkLF.js → error-message.68kVjf_N.js} +3 -3
- package/dist/chunks/{error-message.B3z5WkLF.js.map → error-message.68kVjf_N.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{expand.CJ162RaJ.js → expand.DusW7F7p.js} +4 -4
- package/dist/chunks/expand.DusW7F7p.js.map +1 -0
- package/dist/chunks/{file-uploader.NbsEgoj1.js → file-uploader.Cz89e0Ci.js} +275 -278
- package/dist/chunks/file-uploader.Cz89e0Ci.js.map +1 -0
- package/dist/chunks/{filter-bar.DP4SHAQj.js → filter-bar.bfUnCTPj.js} +981 -1039
- package/dist/chunks/filter-bar.bfUnCTPj.js.map +1 -0
- package/dist/chunks/{fixed-scroller.BZwgM5Io.js → fixed-scroller.Bfk75Nei.js} +3 -3
- package/dist/chunks/{fixed-scroller.BZwgM5Io.js.map → fixed-scroller.Bfk75Nei.js.map} +1 -1
- package/dist/chunks/{footer-actions.X_RokrtM.js → footer-actions.DtbsjfSM.js} +3 -3
- package/dist/chunks/{footer-actions.X_RokrtM.js.map → footer-actions.DtbsjfSM.js.map} +1 -1
- package/dist/chunks/{form-layout-title.xkALokzl.js → form-layout-title.B7phPY2m.js} +2 -2
- package/dist/chunks/{form-layout-title.xkALokzl.js.map → form-layout-title.B7phPY2m.js.map} +1 -1
- package/dist/chunks/{header.BBIJHMkv.js → header.ITEMuMAU.js} +21 -21
- package/dist/chunks/{header.BBIJHMkv.js.map → header.ITEMuMAU.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.DbIAJO2-.js → info-icon-with-popover.pHwJeQxm.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.DbIAJO2-.js.map → info-icon-with-popover.pHwJeQxm.js.map} +1 -1
- package/dist/chunks/{info-icon.DQn8-VSp.js → info-icon.DUUa2W2z.js} +3 -3
- package/dist/chunks/{info-icon.DQn8-VSp.js.map → info-icon.DUUa2W2z.js.map} +1 -1
- package/dist/chunks/{info.DYNe2WnZ.js → info.CpPLBOVg.js} +4 -4
- package/dist/chunks/info.CpPLBOVg.js.map +1 -0
- package/dist/chunks/{input-field-password.SSiNunUz.js → input-field-password.zIUeIG8i.js} +37 -37
- package/dist/chunks/input-field-password.zIUeIG8i.js.map +1 -0
- package/dist/chunks/{input-field-phone-number._PCiyrci.js → input-field-phone-number.BGS23WKe.js} +2 -2
- package/dist/chunks/{input-field-phone-number._PCiyrci.js.map → input-field-phone-number.BGS23WKe.js.map} +1 -1
- package/dist/chunks/input-field.y006Hyc1.js +292 -0
- package/dist/chunks/input-field.y006Hyc1.js.map +1 -0
- package/dist/chunks/{inspector.types.6P_ZowVx.js → inspector.types.9S8hNOjR.js} +4 -4
- package/dist/chunks/{inspector.types.6P_ZowVx.js.map → inspector.types.9S8hNOjR.js.map} +1 -1
- package/dist/chunks/{link.ClFi8uSm.js → link.D3Fq5tt_.js} +19 -17
- package/dist/chunks/link.D3Fq5tt_.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.DIk4F59J.js → listbox-option-tag.D557okR8.js} +2 -2
- package/dist/chunks/{listbox-option-tag.DIk4F59J.js.map → listbox-option-tag.D557okR8.js.map} +1 -1
- package/dist/chunks/menu.ZE0cTcKL.js +735 -0
- package/dist/chunks/menu.ZE0cTcKL.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.C9FhKsf9.js → modal-fullscreen.CjZh3U8e.js} +5 -5
- package/dist/chunks/{modal-fullscreen.C9FhKsf9.js.map → modal-fullscreen.CjZh3U8e.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DGz4x-tr.js → modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js} +5 -5
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DGz4x-tr.js.map → modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js.map} +1 -1
- package/dist/chunks/{pagination.DdTcv8B6.js → pagination.BSp5RwM0.js} +37 -36
- package/dist/chunks/pagination.BSp5RwM0.js.map +1 -0
- package/dist/chunks/payment-method.BACjrzKP.js +125 -0
- package/dist/chunks/payment-method.BACjrzKP.js.map +1 -0
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -1
- package/dist/chunks/{popover.BHGbUyMF.js → popover.DLyVEjCd.js} +106 -98
- package/dist/chunks/popover.DLyVEjCd.js.map +1 -0
- package/dist/chunks/{popper-container.BvGYgqiE.js → popper-container.Bx3CBGg6.js} +448 -444
- package/dist/chunks/popper-container.Bx3CBGg6.js.map +1 -0
- package/dist/chunks/{promo-banner.CKnonHmq.js → promo-banner.Clae7YGL.js} +2 -2
- package/dist/chunks/{promo-banner.CKnonHmq.js.map → promo-banner.Clae7YGL.js.map} +1 -1
- package/dist/chunks/{radio-group.CivaJaaQ.js → radio-group.Bdy7_UIu.js} +4 -4
- package/dist/chunks/{radio-group.CivaJaaQ.js.map → radio-group.Bdy7_UIu.js.map} +1 -1
- package/dist/chunks/{refresh.SzRxQ44W.js → refresh.C20ROVDS.js} +4 -4
- package/dist/chunks/refresh.C20ROVDS.js.map +1 -0
- package/dist/chunks/search-bar.uUWWZpqL.js +114 -0
- package/dist/chunks/search-bar.uUWWZpqL.js.map +1 -0
- package/dist/chunks/{search.KgjmJMHa.js → search.BwQq1yRg.js} +4 -4
- package/dist/chunks/search.BwQq1yRg.js.map +1 -0
- package/dist/chunks/{secondary-nav.DG8xB2Mj.js → secondary-nav.DJudnYiY.js} +2 -2
- package/dist/chunks/{secondary-nav.DG8xB2Mj.js.map → secondary-nav.DJudnYiY.js.map} +1 -1
- package/dist/chunks/{segmented-control.DKWpxDho.js → segmented-control.BqJXrEmp.js} +2 -2
- package/dist/chunks/{segmented-control.DKWpxDho.js.map → segmented-control.BqJXrEmp.js.map} +1 -1
- package/dist/chunks/{selection-card-group.B9nOBntu.js → selection-card-group.COMI4GGI.js} +11 -11
- package/dist/chunks/{selection-card-group.B9nOBntu.js.map → selection-card-group.COMI4GGI.js.map} +1 -1
- package/dist/chunks/{show.J9zXGWlK.js → show.ByWWaogc.js} +6 -6
- package/dist/chunks/show.ByWWaogc.js.map +1 -0
- package/dist/chunks/{sidepanel.dFspFFRG.js → sidepanel.VwZpyqJr.js} +5 -5
- package/dist/chunks/{sidepanel.dFspFFRG.js.map → sidepanel.VwZpyqJr.js.map} +1 -1
- package/dist/chunks/{step.DsfmsUU6.js → step.BGFaHGFO.js} +3 -3
- package/dist/chunks/{step.DsfmsUU6.js.map → step.BGFaHGFO.js.map} +1 -1
- package/dist/chunks/{structured-list-item.C9vL7KwG.js → structured-list-item.BZJQzyt_.js} +6 -6
- package/dist/chunks/{structured-list-item.C9vL7KwG.js.map → structured-list-item.BZJQzyt_.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.B0SvlYn-.js → summary-grid-item-custom.rBC-2kKM.js} +4 -4
- package/dist/chunks/{summary-grid-item-custom.B0SvlYn-.js.map → summary-grid-item-custom.rBC-2kKM.js.map} +1 -1
- package/dist/chunks/{tabs.CR2tWuz3.js → tabs.hp52NnXH.js} +2 -2
- package/dist/chunks/{tabs.CR2tWuz3.js.map → tabs.hp52NnXH.js.map} +1 -1
- package/dist/chunks/{tag.Bmw9RaOG.js → tag.CXADLCgG.js} +2 -2
- package/dist/chunks/{tag.Bmw9RaOG.js.map → tag.CXADLCgG.js.map} +1 -1
- package/dist/chunks/{textarea.CrQk0SR0.js → textarea.4s69xpG3.js} +4 -4
- package/dist/chunks/{textarea.CrQk0SR0.js.map → textarea.4s69xpG3.js.map} +1 -1
- package/dist/chunks/{timeline-item.Cs8JBNAA.js → timeline-item.DOoLkIox.js} +12 -11
- package/dist/chunks/timeline-item.DOoLkIox.js.map +1 -0
- package/dist/chunks/{toast.A5f1_NqV.js → toast.7D23cICy.js} +3 -3
- package/dist/chunks/{toast.A5f1_NqV.js.map → toast.7D23cICy.js.map} +1 -1
- package/dist/chunks/{toggle-button.CCgvi7TQ.js → toggle-button.7iAfO6Xx.js} +23 -22
- package/dist/chunks/toggle-button.7iAfO6Xx.js.map +1 -0
- package/dist/chunks/{toggle.BmwlaQon.js → toggle.hoD_i2Ey.js} +2 -2
- package/dist/chunks/{toggle.BmwlaQon.js.map → toggle.hoD_i2Ey.js.map} +1 -1
- package/dist/chunks/{tooltip.DS1ok8gh.js → tooltip.BtfIbhGU.js} +2 -2
- package/dist/chunks/{tooltip.DS1ok8gh.js.map → tooltip.BtfIbhGU.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.-cMQWbk1.js → tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js} +9 -8
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.9xqNZAmj.js +1446 -0
- package/dist/chunks/use-cached-selected-values.9xqNZAmj.js.map +1 -0
- package/dist/chunks/{warning-filled.tTkVob0l.js → warning-filled.DmHh0nYG.js} +4 -4
- package/dist/chunks/warning-filled.DmHh0nYG.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +59 -59
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +12 -12
- package/dist/link.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +5 -5
- package/dist/styles/bento-light.css +5 -5
- package/dist/styles/bento.css +5 -5
- package/dist/styles/legacy.css +6 -4
- package/dist/styles/styleguide.css +5 -5
- package/dist/styles/utility.css +2 -2
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -6
- package/dist/chunks/alert.Dd2DYCZ1.js.map +0 -1
- package/dist/chunks/checkbox-input.CAYgiRHG.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.g_tcBhFJ.js.map +0 -1
- package/dist/chunks/checkmark-small.BDqUF-Ni.js.map +0 -1
- package/dist/chunks/chevron-left.CYEK2UTr.js.map +0 -1
- package/dist/chunks/chevron-up.Cu9qXgBY.js.map +0 -1
- package/dist/chunks/chip.sG_6gh3Z.js +0 -71
- package/dist/chunks/chip.sG_6gh3Z.js.map +0 -1
- package/dist/chunks/copy.CXCdp5ly.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.CJyARMSZ.js.map +0 -1
- package/dist/chunks/cross-circle-fill.BzSjakuO.js.map +0 -1
- package/dist/chunks/cross-small.Z5EKYRm0.js.map +0 -1
- package/dist/chunks/cross.BZYw4R3N.js.map +0 -1
- package/dist/chunks/data-grid.Duvh6mRu.js.map +0 -1
- package/dist/chunks/date-range-picker.D7BDFoqM.js.map +0 -1
- package/dist/chunks/dialog-page.D_r_CbyD.js.map +0 -1
- package/dist/chunks/dot.cpdFEk6G.js.map +0 -1
- package/dist/chunks/dropdown.CWq-VlFX.js.map +0 -1
- package/dist/chunks/expand.CJ162RaJ.js.map +0 -1
- package/dist/chunks/file-uploader.NbsEgoj1.js.map +0 -1
- package/dist/chunks/filter-bar.DP4SHAQj.js.map +0 -1
- package/dist/chunks/info.DYNe2WnZ.js.map +0 -1
- package/dist/chunks/input-field-password.SSiNunUz.js.map +0 -1
- package/dist/chunks/input-field.DhDfq9Er.js +0 -382
- package/dist/chunks/input-field.DhDfq9Er.js.map +0 -1
- package/dist/chunks/link.ClFi8uSm.js.map +0 -1
- package/dist/chunks/menu.DKCUuV6a.js +0 -698
- package/dist/chunks/menu.DKCUuV6a.js.map +0 -1
- package/dist/chunks/pagination.DdTcv8B6.js.map +0 -1
- package/dist/chunks/payment-method.NguqkTwG.js +0 -103
- package/dist/chunks/payment-method.NguqkTwG.js.map +0 -1
- package/dist/chunks/popover.BHGbUyMF.js.map +0 -1
- package/dist/chunks/popper-container.BvGYgqiE.js.map +0 -1
- package/dist/chunks/refresh.SzRxQ44W.js.map +0 -1
- package/dist/chunks/search-bar.BixBEf58.js +0 -132
- package/dist/chunks/search-bar.BixBEf58.js.map +0 -1
- package/dist/chunks/search.KgjmJMHa.js.map +0 -1
- package/dist/chunks/show.J9zXGWlK.js.map +0 -1
- package/dist/chunks/timeline-item.Cs8JBNAA.js.map +0 -1
- package/dist/chunks/toggle-button.CCgvi7TQ.js.map +0 -1
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.-cMQWbk1.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.D82-YBdB.js +0 -1591
- package/dist/chunks/use-cached-selected-values.D82-YBdB.js.map +0 -1
- package/dist/chunks/warning-filled.tTkVob0l.js.map +0 -1
- /package/dist/assets/{cross.css → main.css} +0 -0
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { createElementBlock as v, openBlock as s, mergeProps as L, createCommentVNode as f, createElementVNode as m, toDisplayString as u, defineComponent as aa, createBlock as b, unref as o, Transition as
|
|
1
|
+
import { createElementBlock as v, openBlock as s, mergeProps as L, createCommentVNode as f, createElementVNode as m, toDisplayString as u, defineComponent as aa, createBlock as b, unref as o, Transition as Ga, withCtx as g, renderSlot as ra, TransitionGroup as Ya, ref as T, onUnmounted as Xa, onMounted as Ja, computed as h, watch as la, normalizeClass as S, createVNode as V, resolveDynamicComponent as Ka, withDirectives as Ea, createTextVNode as $, reactive as sa, toRef as pa, withKeys as ma, withModifiers as U, Fragment as ua, normalizeProps as va, guardReactiveProps as Qa, renderList as ai, vShow as ii } from "vue";
|
|
2
|
+
/* empty css */
|
|
2
3
|
import { _ } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
-
import { W as Ra } from "./warning-filled.
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as K } from "./button.
|
|
4
|
+
import { W as Ra } from "./warning-filled.DmHh0nYG.js";
|
|
5
|
+
import { B as ei } from "./alert.eqWeCHyL.js";
|
|
6
|
+
import { B as K } from "./button.6HMG0xEY.js";
|
|
6
7
|
import { B as z } from "./typography.DN5eC5ch.js";
|
|
7
8
|
import { u as ia } from "./i18n.D9azDLPe.js";
|
|
8
9
|
import { g as oa } from "./generate-uid.NJ8tVoha.js";
|
|
9
10
|
import { i as La } from "./index.CWuzEfiV.js";
|
|
10
|
-
import { C as
|
|
11
|
-
import { C as
|
|
12
|
-
import { R as
|
|
11
|
+
import { C as ti } from "./checkmark-circle-fill.D9gNCN0T.js";
|
|
12
|
+
import { C as ni } from "./cross.CbLEjiVy.js";
|
|
13
|
+
import { R as pi } from "./refresh.C20ROVDS.js";
|
|
13
14
|
import "./events.FNmSWp_P.js";
|
|
14
|
-
import { B as
|
|
15
|
-
import { B as
|
|
16
|
-
import { B as
|
|
17
|
-
import { F as
|
|
15
|
+
import { B as oi } from "./tooltip.BtfIbhGU.js";
|
|
16
|
+
import { B as li } from "./link.D3Fq5tt_.js";
|
|
17
|
+
import { B as si } from "./loading-indicator.DEepb9Wl.js";
|
|
18
|
+
import { F as ci, E as di } from "./error-message.68kVjf_N.js";
|
|
18
19
|
import "../assets/file-uploader.css";
|
|
19
20
|
let fa = 0;
|
|
20
|
-
const
|
|
21
|
+
const ri = {
|
|
21
22
|
beforeCreate() {
|
|
22
23
|
this.uuid = fa.toString(), fa += 1;
|
|
23
24
|
}
|
|
24
|
-
},
|
|
25
|
-
function
|
|
25
|
+
}, mi = { key: 0 };
|
|
26
|
+
function ui(a, i, p, e, l, n) {
|
|
26
27
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
27
28
|
class: "ui-assets-icons-16",
|
|
28
29
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -30,7 +31,7 @@ function mi(a, i, p, e, l, n) {
|
|
|
30
31
|
height: "16",
|
|
31
32
|
fill: "none"
|
|
32
33
|
}), [
|
|
33
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
34
|
+
a.$attrs["svg-title"] ? (s(), v("title", mi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
34
35
|
i[0] || (i[0] = m("path", {
|
|
35
36
|
fill: "#00112C",
|
|
36
37
|
d: "M8.00011 0.939453L12.0608 5.00011L11.0001 6.06077L8.75 3.81066V11.75H7.25V3.81089L5.00011 6.06077L3.93945 5.00011L8.00011 0.939453Z"
|
|
@@ -41,14 +42,14 @@ function mi(a, i, p, e, l, n) {
|
|
|
41
42
|
}, null, -1))
|
|
42
43
|
], 16);
|
|
43
44
|
}
|
|
44
|
-
const
|
|
45
|
+
const vi = /* @__PURE__ */ _(ri, [["render", ui]]), fi = /* @__PURE__ */ aa({
|
|
45
46
|
__name: "file-uploader-file-card-animation",
|
|
46
47
|
props: {
|
|
47
48
|
name: {},
|
|
48
49
|
showFileIcon: { type: Boolean }
|
|
49
50
|
},
|
|
50
51
|
setup(a) {
|
|
51
|
-
return (i, p) => o(La) ? (s(), b(
|
|
52
|
+
return (i, p) => o(La) ? (s(), b(Ga, {
|
|
52
53
|
key: 0,
|
|
53
54
|
name: i.name,
|
|
54
55
|
mode: "out-in",
|
|
@@ -58,7 +59,7 @@ const ui = /* @__PURE__ */ _(di, [["render", mi]]), vi = /* @__PURE__ */ aa({
|
|
|
58
59
|
ra(i.$slots, "default")
|
|
59
60
|
]),
|
|
60
61
|
_: 3
|
|
61
|
-
}, 8, ["name", "css"])) : (s(), b(
|
|
62
|
+
}, 8, ["name", "css"])) : (s(), b(Ya, {
|
|
62
63
|
key: 1,
|
|
63
64
|
name: i.name,
|
|
64
65
|
css: i.showFileIcon
|
|
@@ -71,12 +72,12 @@ const ui = /* @__PURE__ */ _(di, [["render", mi]]), vi = /* @__PURE__ */ aa({
|
|
|
71
72
|
}
|
|
72
73
|
});
|
|
73
74
|
let xa = 0;
|
|
74
|
-
const
|
|
75
|
+
const xi = {
|
|
75
76
|
beforeCreate() {
|
|
76
77
|
this.uuid = xa.toString(), xa += 1;
|
|
77
78
|
}
|
|
78
|
-
},
|
|
79
|
-
function
|
|
79
|
+
}, gi = { key: 0 };
|
|
80
|
+
function hi(a, i, p, e, l, n) {
|
|
80
81
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
81
82
|
class: "ui-assets-icons-16",
|
|
82
83
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -84,7 +85,7 @@ function gi(a, i, p, e, l, n) {
|
|
|
84
85
|
height: "16",
|
|
85
86
|
fill: "none"
|
|
86
87
|
}), [
|
|
87
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
88
|
+
a.$attrs["svg-title"] ? (s(), v("title", gi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
88
89
|
i[0] || (i[0] = m("path", {
|
|
89
90
|
fill: "#00112C",
|
|
90
91
|
d: "M7.25 6.25H5.75V12.75H7.25V6.25Z"
|
|
@@ -99,16 +100,16 @@ function gi(a, i, p, e, l, n) {
|
|
|
99
100
|
}, null, -1))
|
|
100
101
|
], 16);
|
|
101
102
|
}
|
|
102
|
-
const
|
|
103
|
-
function
|
|
103
|
+
const bi = /* @__PURE__ */ _(xi, [["render", hi]]);
|
|
104
|
+
function wi(a, i) {
|
|
104
105
|
const p = T(!1);
|
|
105
106
|
let e;
|
|
106
107
|
function l() {
|
|
107
108
|
e && e.disconnect();
|
|
108
109
|
}
|
|
109
|
-
return
|
|
110
|
+
return Xa(() => {
|
|
110
111
|
l();
|
|
111
|
-
}),
|
|
112
|
+
}), Ja(() => {
|
|
112
113
|
l(), e = new IntersectionObserver(
|
|
113
114
|
(n) => {
|
|
114
115
|
p.value = !n[0].isIntersecting;
|
|
@@ -121,21 +122,15 @@ function bi(a, i) {
|
|
|
121
122
|
}), p;
|
|
122
123
|
}
|
|
123
124
|
const ga = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
|
|
124
|
-
function
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
e /= 1e3, p++;
|
|
128
|
-
return new Intl.NumberFormat(a, {
|
|
125
|
+
function Ma(a, i) {
|
|
126
|
+
const p = Math.max(0, Math.min(Math.floor(Math.log(i) / Math.log(1024)), ga.length - 1));
|
|
127
|
+
return Intl.NumberFormat(a, {
|
|
129
128
|
style: "unit",
|
|
130
|
-
unit: ga[p]
|
|
131
|
-
|
|
132
|
-
// Displays as "kB" instead of "kilobytes"
|
|
133
|
-
maximumFractionDigits: 2
|
|
134
|
-
// Limits to 2 decimal places
|
|
135
|
-
}).format(e);
|
|
129
|
+
unit: ga[p]
|
|
130
|
+
}).format(i / 1024 ** p);
|
|
136
131
|
}
|
|
137
132
|
var R = /* @__PURE__ */ ((a) => (a.LOADING = "loading", a.SUCCESS = "success", a.ERROR = "error", a))(R || {}), j = /* @__PURE__ */ ((a) => (a.ERROR_SIZE = "error-size", a.ERROR_LOAD = "error-load", a.ERROR_DIMENSIONS = "error-dimensions", a.ERROR_TYPE = "error-type", a))(j || {}), Q = /* @__PURE__ */ ((a) => (a.DISABLED = "disabled", a.DRAG_OVER = "drag-over", a.ERROR = "error", a.READONLY = "readonly", a))(Q || {}), x = /* @__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))(x || {});
|
|
138
|
-
const
|
|
133
|
+
const yi = [
|
|
139
134
|
"application/msword",
|
|
140
135
|
// .doc
|
|
141
136
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
@@ -155,14 +150,14 @@ const wi = [
|
|
|
155
150
|
// .numbers
|
|
156
151
|
"text/csv"
|
|
157
152
|
// .csv
|
|
158
|
-
],
|
|
153
|
+
], ki = [
|
|
159
154
|
"application/vnd.ms-powerpoint",
|
|
160
155
|
// .ppt
|
|
161
156
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
162
157
|
// .pptx
|
|
163
158
|
"application/vnd.oasis.opendocument.presentation"
|
|
164
159
|
// .odp
|
|
165
|
-
],
|
|
160
|
+
], $i = [
|
|
166
161
|
"application/zip",
|
|
167
162
|
// .zip
|
|
168
163
|
"application/vnd.rar",
|
|
@@ -184,10 +179,10 @@ const wi = [
|
|
|
184
179
|
"application/vnd.ms-cab-compressed"
|
|
185
180
|
// .cab
|
|
186
181
|
];
|
|
187
|
-
function
|
|
188
|
-
return Ci.includes(a.type) ? x.TABLE : a.type.startsWith("text/") ||
|
|
182
|
+
function ji(a) {
|
|
183
|
+
return Ci.includes(a.type) ? x.TABLE : a.type.startsWith("text/") || yi.includes(a.type) ? x.TEXT : a.type.startsWith("image/") ? x.IMAGE : a.type.startsWith("video/") ? x.VIDEO : a.type.startsWith("audio/") ? x.AUDIO : a.type === "application/pdf" ? x.PDF : ki.includes(a.type) ? x.SLIDES : $i.includes(a.type) ? x.COMPRESSED : x.GENERIC;
|
|
189
184
|
}
|
|
190
|
-
function
|
|
185
|
+
function _i(a, i) {
|
|
191
186
|
if (!i)
|
|
192
187
|
return !0;
|
|
193
188
|
const p = i.split(",").map((e) => e.trim());
|
|
@@ -203,15 +198,15 @@ function ji(a, i) {
|
|
|
203
198
|
return !0;
|
|
204
199
|
return !1;
|
|
205
200
|
}
|
|
206
|
-
function
|
|
201
|
+
function zi(a, i, p) {
|
|
207
202
|
const e = new FileReader(), l = a;
|
|
208
|
-
if (!
|
|
203
|
+
if (!_i(l.data, i)) {
|
|
209
204
|
l.state = R.ERROR, l.errors.push(j.ERROR_TYPE);
|
|
210
205
|
return;
|
|
211
206
|
}
|
|
212
207
|
e.onload = (n) => {
|
|
213
208
|
if (p && l.type === x.IMAGE) {
|
|
214
|
-
const
|
|
209
|
+
const y = new Blob([n.target.result], { type: l.data.type }), c = URL.createObjectURL(y), d = new Image();
|
|
215
210
|
d.onload = function() {
|
|
216
211
|
(d.width > p.width || d.height > p.height) && (l.state = R.ERROR, l.errors.push(j.ERROR_DIMENSIONS)), URL.revokeObjectURL(c);
|
|
217
212
|
}, d.onerror = function() {
|
|
@@ -227,11 +222,11 @@ function _i(a, i, p) {
|
|
|
227
222
|
}, e.readAsArrayBuffer(l.data);
|
|
228
223
|
}
|
|
229
224
|
let ha = 0;
|
|
230
|
-
const
|
|
225
|
+
const Ei = {
|
|
231
226
|
beforeCreate() {
|
|
232
227
|
this.uuid = ha.toString(), ha += 1;
|
|
233
228
|
}
|
|
234
|
-
},
|
|
229
|
+
}, Ri = { key: 0 }, Li = ["clip-path"], Mi = ["id"];
|
|
235
230
|
function Ii(a, i, p, e, l, n) {
|
|
236
231
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
237
232
|
class: "ui-assets-icons-16",
|
|
@@ -240,7 +235,7 @@ function Ii(a, i, p, e, l, n) {
|
|
|
240
235
|
height: "16",
|
|
241
236
|
fill: "none"
|
|
242
237
|
}), [
|
|
243
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
238
|
+
a.$attrs["svg-title"] ? (s(), v("title", Ri, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
244
239
|
m("g", {
|
|
245
240
|
"clip-path": "url(#uia-icons-16-attachment__a" + a.uuid + ")"
|
|
246
241
|
}, i[0] || (i[0] = [
|
|
@@ -248,7 +243,7 @@ function Ii(a, i, p, e, l, n) {
|
|
|
248
243
|
fill: "#00112C",
|
|
249
244
|
d: "M12.866 4.09026C11.5689 2.79315 9.4638 2.79315 8.1667 4.09026L2.7267 9.53026C1.95959 10.2974 1.95959 11.5425 2.7267 12.3096C3.49381 13.0767 4.73893 13.0767 5.50604 12.3096L10.946 6.8696C11.1831 6.63249 11.1831 6.24737 10.946 6.01026C10.7089 5.77316 10.3238 5.77316 10.0867 6.01026L4.75637 11.3406L3.69571 10.2799L9.02604 4.9496C9.84893 4.12671 11.1838 4.12671 12.0067 4.9496C12.8296 5.7725 12.8296 7.10737 12.0067 7.93026L6.5667 13.3703C5.2138 14.7232 3.01893 14.7232 1.66604 13.3703C0.313144 12.0174 0.313144 9.82249 1.66604 8.4696L7.10604 3.0296C8.98893 1.14671 12.0438 1.14671 13.9267 3.0296C15.8096 4.91249 15.8096 7.96737 13.9267 9.85026L11.1564 12.6206L10.0957 11.5599L12.866 8.7896C14.1631 7.49249 14.1631 5.38737 12.866 4.09026Z"
|
|
250
245
|
}, null, -1)
|
|
251
|
-
]), 8,
|
|
246
|
+
]), 8, Li),
|
|
252
247
|
m("defs", null, [
|
|
253
248
|
m("clipPath", {
|
|
254
249
|
id: "uia-icons-16-attachment__a" + a.uuid
|
|
@@ -258,18 +253,18 @@ function Ii(a, i, p, e, l, n) {
|
|
|
258
253
|
height: "16",
|
|
259
254
|
fill: "#fff"
|
|
260
255
|
}, null, -1)
|
|
261
|
-
]), 8,
|
|
256
|
+
]), 8, Mi)
|
|
262
257
|
])
|
|
263
258
|
], 16);
|
|
264
259
|
}
|
|
265
|
-
const Vi = /* @__PURE__ */ _(
|
|
260
|
+
const Vi = /* @__PURE__ */ _(Ei, [["render", Ii]]);
|
|
266
261
|
let ba = 0;
|
|
267
|
-
const
|
|
262
|
+
const Si = {
|
|
268
263
|
beforeCreate() {
|
|
269
264
|
this.uuid = ba.toString(), ba += 1;
|
|
270
265
|
}
|
|
271
|
-
},
|
|
272
|
-
function
|
|
266
|
+
}, Ti = { key: 0 };
|
|
267
|
+
function Hi(a, i, p, e, l, n) {
|
|
273
268
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
274
269
|
class: "ui-assets-icons-16",
|
|
275
270
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -277,21 +272,21 @@ function Ti(a, i, p, e, l, n) {
|
|
|
277
272
|
height: "16",
|
|
278
273
|
fill: "none"
|
|
279
274
|
}), [
|
|
280
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
275
|
+
a.$attrs["svg-title"] ? (s(), v("title", Ti, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
281
276
|
i[0] || (i[0] = m("path", {
|
|
282
277
|
fill: "#00112C",
|
|
283
278
|
d: "M13.75 9.58159C14.3412 9.30073 14.75 8.6981 14.75 8V2C14.75 1.0335 13.9665 0.25 13 0.25H3C2.0335 0.25 1.25 1.0335 1.25 2V8C1.25 8.6981 1.65876 9.30073 2.25 9.58159V11C2.25 11.4641 2.43438 11.9092 2.76256 12.2374C2.90555 12.3804 3.07072 12.4961 3.25 12.5811V14C3.25 14.4641 3.43438 14.9092 3.76256 15.2374C4.09075 15.5656 4.53587 15.75 5 15.75H11C11.4641 15.75 11.9092 15.5656 12.2374 15.2374C12.5656 14.9092 12.75 14.4641 12.75 14V12.5811C12.9293 12.4961 13.0945 12.3804 13.2374 12.2374C13.5656 11.9092 13.75 11.4641 13.75 11V9.58159ZM3 1.75H13C13.1381 1.75 13.25 1.86193 13.25 2V8C13.25 8.13807 13.1381 8.25 13 8.25H3C2.86193 8.25 2.75 8.13807 2.75 8V2C2.75 1.86193 2.86193 1.75 3 1.75ZM12.25 9.75V11C12.25 11.0663 12.2237 11.1299 12.1768 11.1768C12.1299 11.2237 12.0663 11.25 12 11.25H4C3.9337 11.25 3.87011 11.2237 3.82322 11.1768C3.77634 11.1299 3.75 11.0663 3.75 11V9.75H12.25ZM11.25 12.75V14C11.25 14.0663 11.2237 14.1299 11.1768 14.1768C11.1299 14.2237 11.0663 14.25 11 14.25H5C4.9337 14.25 4.87011 14.2237 4.82322 14.1768C4.77634 14.1299 4.75 14.0663 4.75 14V12.75H11.25Z"
|
|
284
279
|
}, null, -1))
|
|
285
280
|
], 16);
|
|
286
281
|
}
|
|
287
|
-
const Di = /* @__PURE__ */ _(
|
|
282
|
+
const Di = /* @__PURE__ */ _(Si, [["render", Hi]]);
|
|
288
283
|
let wa = 0;
|
|
289
|
-
const
|
|
284
|
+
const Oi = {
|
|
290
285
|
beforeCreate() {
|
|
291
286
|
this.uuid = wa.toString(), wa += 1;
|
|
292
287
|
}
|
|
293
|
-
},
|
|
294
|
-
function
|
|
288
|
+
}, Fi = { key: 0 };
|
|
289
|
+
function qi(a, i, p, e, l, n) {
|
|
295
290
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
296
291
|
class: "ui-assets-icons-16",
|
|
297
292
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -299,21 +294,21 @@ function Fi(a, i, p, e, l, n) {
|
|
|
299
294
|
height: "16",
|
|
300
295
|
fill: "none"
|
|
301
296
|
}), [
|
|
302
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
297
|
+
a.$attrs["svg-title"] ? (s(), v("title", Fi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
303
298
|
i[0] || (i[0] = m("path", {
|
|
304
299
|
fill: "#00112C",
|
|
305
|
-
d: "
|
|
300
|
+
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"
|
|
306
301
|
}, null, -1))
|
|
307
302
|
], 16);
|
|
308
303
|
}
|
|
309
|
-
const
|
|
310
|
-
let
|
|
311
|
-
const
|
|
304
|
+
const Zi = /* @__PURE__ */ _(Oi, [["render", qi]]);
|
|
305
|
+
let ya = 0;
|
|
306
|
+
const Bi = {
|
|
312
307
|
beforeCreate() {
|
|
313
|
-
this.uuid =
|
|
308
|
+
this.uuid = ya.toString(), ya += 1;
|
|
314
309
|
}
|
|
315
|
-
},
|
|
316
|
-
function
|
|
310
|
+
}, Ai = { key: 0 };
|
|
311
|
+
function Ni(a, i, p, e, l, n) {
|
|
317
312
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
318
313
|
class: "ui-assets-icons-16",
|
|
319
314
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -321,29 +316,29 @@ function Ai(a, i, p, e, l, n) {
|
|
|
321
316
|
height: "16",
|
|
322
317
|
fill: "none"
|
|
323
318
|
}), [
|
|
324
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
319
|
+
a.$attrs["svg-title"] ? (s(), v("title", Ai, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
325
320
|
i[0] || (i[0] = m("path", {
|
|
326
321
|
fill: "#00112C",
|
|
327
|
-
d: "
|
|
322
|
+
d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z"
|
|
328
323
|
}, null, -1)),
|
|
329
324
|
i[1] || (i[1] = m("path", {
|
|
330
325
|
fill: "#00112C",
|
|
331
|
-
d: "
|
|
326
|
+
d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z"
|
|
332
327
|
}, null, -1)),
|
|
333
328
|
i[2] || (i[2] = m("path", {
|
|
334
329
|
fill: "#00112C",
|
|
335
|
-
d: "
|
|
330
|
+
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"
|
|
336
331
|
}, null, -1))
|
|
337
332
|
], 16);
|
|
338
333
|
}
|
|
339
|
-
const
|
|
340
|
-
let
|
|
341
|
-
const
|
|
334
|
+
const Pi = /* @__PURE__ */ _(Bi, [["render", Ni]]);
|
|
335
|
+
let Ca = 0;
|
|
336
|
+
const Ui = {
|
|
342
337
|
beforeCreate() {
|
|
343
|
-
this.uuid =
|
|
338
|
+
this.uuid = Ca.toString(), Ca += 1;
|
|
344
339
|
}
|
|
345
|
-
},
|
|
346
|
-
function
|
|
340
|
+
}, Wi = { key: 0 };
|
|
341
|
+
function Gi(a, i, p, e, l, n) {
|
|
347
342
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
348
343
|
class: "ui-assets-icons-16",
|
|
349
344
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -351,21 +346,21 @@ function Wi(a, i, p, e, l, n) {
|
|
|
351
346
|
height: "16",
|
|
352
347
|
fill: "none"
|
|
353
348
|
}), [
|
|
354
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
349
|
+
a.$attrs["svg-title"] ? (s(), v("title", Wi, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
355
350
|
i[0] || (i[0] = m("path", {
|
|
356
351
|
fill: "#00112C",
|
|
357
352
|
d: "M1.24609 4.5C1.24609 3.25579 2.25188 2.25 3.49609 2.25H6.37609C6.97727 2.25 7.54738 2.49062 7.96642 2.90967L10.0864 5.02967C10.2274 5.17062 10.4173 5.25 10.6161 5.25H12.4961C13.7403 5.25 14.7461 6.25579 14.7461 7.5V12.5C14.7461 13.7442 13.7403 14.75 12.4961 14.75H3.49609C2.25188 14.75 1.24609 13.7442 1.24609 12.5V4.5ZM3.49609 3.75C3.08031 3.75 2.74609 4.08421 2.74609 4.5V12.5C2.74609 12.9158 3.08031 13.25 3.49609 13.25H12.4961C12.9119 13.25 13.2461 12.9158 13.2461 12.5V7.5C13.2461 7.08421 12.9119 6.75 12.4961 6.75H10.6161C10.0149 6.75 9.44481 6.50938 9.02576 6.09033L6.90576 3.97033C6.76481 3.82938 6.57492 3.75 6.37609 3.75H3.49609Z"
|
|
358
353
|
}, null, -1))
|
|
359
354
|
], 16);
|
|
360
355
|
}
|
|
361
|
-
const
|
|
356
|
+
const Yi = /* @__PURE__ */ _(Ui, [["render", Gi]]);
|
|
362
357
|
let ka = 0;
|
|
363
|
-
const
|
|
358
|
+
const Xi = {
|
|
364
359
|
beforeCreate() {
|
|
365
360
|
this.uuid = ka.toString(), ka += 1;
|
|
366
361
|
}
|
|
367
|
-
},
|
|
368
|
-
function
|
|
362
|
+
}, Ji = { key: 0 };
|
|
363
|
+
function Ki(a, i, p, e, l, n) {
|
|
369
364
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
370
365
|
class: "ui-assets-icons-16",
|
|
371
366
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -373,7 +368,7 @@ function Ji(a, i, p, e, l, n) {
|
|
|
373
368
|
height: "16",
|
|
374
369
|
fill: "none"
|
|
375
370
|
}), [
|
|
376
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
371
|
+
a.$attrs["svg-title"] ? (s(), v("title", Ji, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
377
372
|
i[0] || (i[0] = m("path", {
|
|
378
373
|
fill: "#00112C",
|
|
379
374
|
d: "M9.99609 3.24805C8.47731 3.24805 7.24609 4.47926 7.24609 5.99805C7.24609 7.51683 8.47731 8.74805 9.99609 8.74805C11.5149 8.74805 12.7461 7.51683 12.7461 5.99805C12.7461 4.47926 11.5149 3.24805 9.99609 3.24805ZM8.74609 5.99805C8.74609 5.30769 9.30574 4.74805 9.99609 4.74805C10.6865 4.74805 11.2461 5.30769 11.2461 5.99805C11.2461 6.6884 10.6865 7.24805 9.99609 7.24805C9.30574 7.24805 8.74609 6.6884 8.74609 5.99805Z"
|
|
@@ -384,14 +379,14 @@ function Ji(a, i, p, e, l, n) {
|
|
|
384
379
|
}, null, -1))
|
|
385
380
|
], 16);
|
|
386
381
|
}
|
|
387
|
-
const
|
|
382
|
+
const Qi = /* @__PURE__ */ _(Xi, [["render", Ki]]);
|
|
388
383
|
let $a = 0;
|
|
389
|
-
const
|
|
384
|
+
const ae = {
|
|
390
385
|
beforeCreate() {
|
|
391
386
|
this.uuid = $a.toString(), $a += 1;
|
|
392
387
|
}
|
|
393
|
-
},
|
|
394
|
-
function
|
|
388
|
+
}, ie = { key: 0 }, ee = ["clip-path"], te = ["id"];
|
|
389
|
+
function ne(a, i, p, e, l, n) {
|
|
395
390
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
396
391
|
class: "ui-assets-icons-16",
|
|
397
392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -399,14 +394,14 @@ function te(a, i, p, e, l, n) {
|
|
|
399
394
|
height: "16",
|
|
400
395
|
fill: "none"
|
|
401
396
|
}), [
|
|
402
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
397
|
+
a.$attrs["svg-title"] ? (s(), v("title", ie, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
403
398
|
m("g", {
|
|
404
399
|
fill: "#00112C",
|
|
405
400
|
"clip-path": "url(#uia-icons-16-play_circle__a" + a.uuid + ")"
|
|
406
401
|
}, i[0] || (i[0] = [
|
|
407
402
|
m("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
|
|
408
403
|
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)
|
|
409
|
-
]), 8,
|
|
404
|
+
]), 8, ee),
|
|
410
405
|
m("defs", null, [
|
|
411
406
|
m("clipPath", {
|
|
412
407
|
id: "uia-icons-16-play_circle__a" + a.uuid
|
|
@@ -416,18 +411,18 @@ function te(a, i, p, e, l, n) {
|
|
|
416
411
|
height: "16",
|
|
417
412
|
fill: "#fff"
|
|
418
413
|
}, null, -1)
|
|
419
|
-
]), 8,
|
|
414
|
+
]), 8, te)
|
|
420
415
|
])
|
|
421
416
|
], 16);
|
|
422
417
|
}
|
|
423
|
-
const
|
|
418
|
+
const pe = /* @__PURE__ */ _(ae, [["render", ne]]);
|
|
424
419
|
let ja = 0;
|
|
425
|
-
const
|
|
420
|
+
const oe = {
|
|
426
421
|
beforeCreate() {
|
|
427
422
|
this.uuid = ja.toString(), ja += 1;
|
|
428
423
|
}
|
|
429
|
-
},
|
|
430
|
-
function
|
|
424
|
+
}, le = { key: 0 };
|
|
425
|
+
function se(a, i, p, e, l, n) {
|
|
431
426
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
432
427
|
class: "ui-assets-icons-16",
|
|
433
428
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -435,7 +430,7 @@ function le(a, i, p, e, l, n) {
|
|
|
435
430
|
height: "16",
|
|
436
431
|
fill: "none"
|
|
437
432
|
}), [
|
|
438
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
433
|
+
a.$attrs["svg-title"] ? (s(), v("title", le, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
439
434
|
i[0] || (i[0] = m("path", {
|
|
440
435
|
fill: "#00112C",
|
|
441
436
|
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"
|
|
@@ -450,14 +445,14 @@ function le(a, i, p, e, l, n) {
|
|
|
450
445
|
}, null, -1))
|
|
451
446
|
], 16);
|
|
452
447
|
}
|
|
453
|
-
const
|
|
448
|
+
const ce = /* @__PURE__ */ _(oe, [["render", se]]);
|
|
454
449
|
let _a = 0;
|
|
455
|
-
const
|
|
450
|
+
const de = {
|
|
456
451
|
beforeCreate() {
|
|
457
452
|
this.uuid = _a.toString(), _a += 1;
|
|
458
453
|
}
|
|
459
|
-
},
|
|
460
|
-
function
|
|
454
|
+
}, re = { key: 0 };
|
|
455
|
+
function me(a, i, p, e, l, n) {
|
|
461
456
|
return s(), v("svg", L({ role: "img" }, a.$attrs, {
|
|
462
457
|
class: "ui-assets-icons-16",
|
|
463
458
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -465,28 +460,28 @@ function re(a, i, p, e, l, n) {
|
|
|
465
460
|
height: "16",
|
|
466
461
|
fill: "none"
|
|
467
462
|
}), [
|
|
468
|
-
a.$attrs["svg-title"] ? (s(), v("title",
|
|
463
|
+
a.$attrs["svg-title"] ? (s(), v("title", re, u(a.$attrs["svg-title"]), 1)) : f("", !0),
|
|
469
464
|
i[0] || (i[0] = m("path", {
|
|
470
465
|
fill: "#00112C",
|
|
471
466
|
d: "M3.5 1.25L3.49505 1.25002C2.90084 1.25394 2.33208 1.49173 1.91191 1.91191C1.49173 2.33208 1.25392 2.90084 1.25 3.49505V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V3.5C14.75 2.90326 14.5129 2.33097 14.091 1.90901C13.669 1.48705 13.0967 1.25 12.5 1.25H3.5ZM5.25 2.75V5.25H2.75V3.5029C2.75185 3.30382 2.83175 3.11338 2.97257 2.97257C3.11338 2.83175 3.30382 2.75185 3.5029 2.75H5.25ZM5.25 6.75V9.25H2.75V6.75H5.25ZM6.75 9.25V6.75H13.25V9.25H6.75ZM5.25 10.75V13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5V10.75H5.25ZM6.75 13.25V10.75H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H6.75ZM6.75 5.25V2.75H12.5C12.6989 2.75 12.8897 2.82902 13.0303 2.96967C13.171 3.11032 13.25 3.30109 13.25 3.5V5.25H6.75Z"
|
|
472
467
|
}, null, -1))
|
|
473
468
|
], 16);
|
|
474
469
|
}
|
|
475
|
-
const
|
|
476
|
-
[x.AUDIO]:
|
|
477
|
-
[x.COMPRESSED]:
|
|
470
|
+
const ue = /* @__PURE__ */ _(de, [["render", me]]), ve = {
|
|
471
|
+
[x.AUDIO]: ce,
|
|
472
|
+
[x.COMPRESSED]: Yi,
|
|
478
473
|
[x.GENERIC]: Vi,
|
|
479
|
-
[x.IMAGE]:
|
|
480
|
-
[x.PDF]:
|
|
474
|
+
[x.IMAGE]: Qi,
|
|
475
|
+
[x.PDF]: Zi,
|
|
481
476
|
[x.SLIDES]: Di,
|
|
482
|
-
[x.TABLE]:
|
|
483
|
-
[x.TEXT]:
|
|
484
|
-
[x.VIDEO]:
|
|
477
|
+
[x.TABLE]: ue,
|
|
478
|
+
[x.TEXT]: Pi,
|
|
479
|
+
[x.VIDEO]: pe
|
|
485
480
|
};
|
|
486
|
-
function ve(a) {
|
|
487
|
-
return ue[a.type];
|
|
488
|
-
}
|
|
489
481
|
function fe(a) {
|
|
482
|
+
return ve[a.type];
|
|
483
|
+
}
|
|
484
|
+
function xe(a) {
|
|
490
485
|
switch (a.type) {
|
|
491
486
|
case x.COMPRESSED:
|
|
492
487
|
case x.GENERIC:
|
|
@@ -500,7 +495,7 @@ function fe(a) {
|
|
|
500
495
|
return "green";
|
|
501
496
|
}
|
|
502
497
|
}
|
|
503
|
-
const
|
|
498
|
+
const Ia = {
|
|
504
499
|
"en-US": {
|
|
505
500
|
cancel: "Cancel",
|
|
506
501
|
fileExceedsSizeLimit: "File exceeds size limit",
|
|
@@ -519,43 +514,43 @@ const Va = {
|
|
|
519
514
|
remove: "Remover",
|
|
520
515
|
retry: "Tentar novamente"
|
|
521
516
|
}
|
|
522
|
-
},
|
|
517
|
+
}, ge = { class: "b-file-uploader-file-card__details" }, he = { class: "b-file-uploader-file-card__info" }, be = { class: "b-file-uploader-file-card__actions" }, we = {
|
|
523
518
|
name: "file-uploader-file-card",
|
|
524
|
-
i18n: { messages:
|
|
525
|
-
},
|
|
526
|
-
...
|
|
519
|
+
i18n: { messages: Ia }
|
|
520
|
+
}, ye = /* @__PURE__ */ aa({
|
|
521
|
+
...we,
|
|
527
522
|
props: {
|
|
528
523
|
file: {},
|
|
529
524
|
supportedFileTypes: { default: null }
|
|
530
525
|
},
|
|
531
526
|
emits: ["cancel", "remove", "retry"],
|
|
532
527
|
setup(a, { emit: i }) {
|
|
533
|
-
const e = a, l = i, { t: n, locale:
|
|
528
|
+
const e = a, l = i, { t: n, locale: y } = ia({ messages: Ia }), c = T(e.file.state === R.SUCCESS), d = h(() => URL.createObjectURL(e.file.data)), w = h(() => e.file.state === R.ERROR), q = h(() => e.file.errors.includes(j.ERROR_LOAD)), G = h(() => e.file.errors.includes(j.ERROR_SIZE)), D = h(() => e.file.errors.includes(j.ERROR_DIMENSIONS)), Z = h(() => e.file.errors.includes(j.ERROR_TYPE)), Y = h(() => e.file.state === R.LOADING), X = h(() => e.file.progress && `(${e.file.progress.toFixed(0)}%)`), B = h(() => Ma(y.value, e.file.data.size)), J = T(), O = T(), ea = wi(J, O), ta = h(() => ({
|
|
534
529
|
"b-file-uploader-file-card--error": w.value
|
|
535
530
|
})), A = h(() => ({
|
|
536
|
-
[`b-file-uploader-file-card__icon--${
|
|
531
|
+
[`b-file-uploader-file-card__icon--${xe(e.file)}`]: c.value,
|
|
537
532
|
"b-file-uploader-file-card__icon--error": w.value
|
|
538
|
-
})), N = h(() => Y.value ?
|
|
533
|
+
})), N = h(() => Y.value ? si : w.value ? Ra : c.value ? fe(e.file) : ti);
|
|
539
534
|
return la(
|
|
540
535
|
() => e.file.state,
|
|
541
|
-
(
|
|
542
|
-
if (
|
|
543
|
-
const
|
|
544
|
-
c.value = !0, clearTimeout(
|
|
536
|
+
(M) => {
|
|
537
|
+
if (M === R.SUCCESS && !c.value) {
|
|
538
|
+
const I = setTimeout(() => {
|
|
539
|
+
c.value = !0, clearTimeout(I);
|
|
545
540
|
}, 1200);
|
|
546
541
|
}
|
|
547
542
|
}
|
|
548
|
-
), (
|
|
543
|
+
), (M, I) => (s(), v("div", {
|
|
549
544
|
class: S(["b-file-uploader-file-card", ta.value])
|
|
550
545
|
}, [
|
|
551
|
-
m("div",
|
|
552
|
-
m("div",
|
|
553
|
-
|
|
546
|
+
m("div", ge, [
|
|
547
|
+
m("div", he, [
|
|
548
|
+
V(o(fi), {
|
|
554
549
|
name: o(La) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
|
|
555
550
|
"show-file-icon": c.value
|
|
556
551
|
}, {
|
|
557
552
|
default: g(() => [
|
|
558
|
-
(s(), b(
|
|
553
|
+
(s(), b(Ka(N.value), {
|
|
559
554
|
key: JSON.stringify(N.value),
|
|
560
555
|
small: "",
|
|
561
556
|
class: S(["b-file-uploader-file-card__icon", A.value]),
|
|
@@ -569,8 +564,8 @@ const Va = {
|
|
|
569
564
|
ref: O,
|
|
570
565
|
class: "b-file-uploader-file-card__file-name"
|
|
571
566
|
}, [
|
|
572
|
-
|
|
573
|
-
download:
|
|
567
|
+
V(o(li), {
|
|
568
|
+
download: M.file.data.name,
|
|
574
569
|
to: d.value,
|
|
575
570
|
"disable-typography": "",
|
|
576
571
|
"is-not-routing": "",
|
|
@@ -584,17 +579,17 @@ const Va = {
|
|
|
584
579
|
el: "span"
|
|
585
580
|
}, {
|
|
586
581
|
default: g(() => [
|
|
587
|
-
$(u(
|
|
582
|
+
$(u(M.file.data.name), 1)
|
|
588
583
|
]),
|
|
589
584
|
_: 1
|
|
590
585
|
})), [
|
|
591
|
-
[o(
|
|
586
|
+
[o(oi), o(ea) ? M.file.data.name : null]
|
|
592
587
|
])
|
|
593
588
|
]),
|
|
594
589
|
_: 1
|
|
595
590
|
}, 8, ["download", "to"])
|
|
596
591
|
], 512),
|
|
597
|
-
|
|
592
|
+
M.file.progress ? (s(), b(o(z), {
|
|
598
593
|
key: 0,
|
|
599
594
|
el: "span"
|
|
600
595
|
}, {
|
|
@@ -602,7 +597,7 @@ const Va = {
|
|
|
602
597
|
$(u(X.value), 1)
|
|
603
598
|
]),
|
|
604
599
|
_: 1
|
|
605
|
-
})) :
|
|
600
|
+
})) : M.file.data.size ? (s(), b(o(z), {
|
|
606
601
|
key: 1,
|
|
607
602
|
class: "b-file-uploader-file-card__file-size",
|
|
608
603
|
el: "span"
|
|
@@ -622,7 +617,7 @@ const Va = {
|
|
|
622
617
|
]),
|
|
623
618
|
_: 1
|
|
624
619
|
})) : f("", !0),
|
|
625
|
-
|
|
620
|
+
D.value ? (s(), b(o(z), {
|
|
626
621
|
key: 1,
|
|
627
622
|
class: "b-file-uploader-file-card__error-message"
|
|
628
623
|
}, {
|
|
@@ -631,24 +626,24 @@ const Va = {
|
|
|
631
626
|
]),
|
|
632
627
|
_: 1
|
|
633
628
|
})) : f("", !0),
|
|
634
|
-
Z.value &&
|
|
629
|
+
Z.value && M.supportedFileTypes ? (s(), b(o(z), {
|
|
635
630
|
key: 2,
|
|
636
631
|
class: "b-file-uploader-file-card__error-message"
|
|
637
632
|
}, {
|
|
638
633
|
default: g(() => [
|
|
639
|
-
$(u(o(n)("fileTypeMustBe", { list:
|
|
634
|
+
$(u(o(n)("fileTypeMustBe", { list: M.supportedFileTypes })), 1)
|
|
640
635
|
]),
|
|
641
636
|
_: 1
|
|
642
637
|
})) : f("", !0)
|
|
643
638
|
]),
|
|
644
|
-
m("div",
|
|
639
|
+
m("div", be, [
|
|
645
640
|
q.value ? (s(), b(o(K), {
|
|
646
641
|
key: 0,
|
|
647
642
|
variant: "tertiary",
|
|
648
|
-
onClick:
|
|
643
|
+
onClick: I[0] || (I[0] = (P) => l("retry"))
|
|
649
644
|
}, {
|
|
650
645
|
iconLeft: g(() => [
|
|
651
|
-
|
|
646
|
+
V(o(pi), {
|
|
652
647
|
"svg-title": o(n)("retry")
|
|
653
648
|
}, null, 8, ["svg-title"])
|
|
654
649
|
]),
|
|
@@ -660,10 +655,10 @@ const Va = {
|
|
|
660
655
|
Y.value || w.value ? (s(), b(o(K), {
|
|
661
656
|
key: 1,
|
|
662
657
|
variant: "tertiary",
|
|
663
|
-
onClick:
|
|
658
|
+
onClick: I[1] || (I[1] = (P) => l("cancel"))
|
|
664
659
|
}, {
|
|
665
660
|
iconLeft: g(() => [
|
|
666
|
-
|
|
661
|
+
V(o(ni), {
|
|
667
662
|
"svg-title": o(n)("cancel")
|
|
668
663
|
}, null, 8, ["svg-title"])
|
|
669
664
|
]),
|
|
@@ -671,10 +666,10 @@ const Va = {
|
|
|
671
666
|
})) : (s(), b(o(K), {
|
|
672
667
|
key: 2,
|
|
673
668
|
variant: "tertiary",
|
|
674
|
-
onClick:
|
|
669
|
+
onClick: I[2] || (I[2] = (P) => l("remove"))
|
|
675
670
|
}, {
|
|
676
671
|
iconLeft: g(() => [
|
|
677
|
-
|
|
672
|
+
V(o(bi), {
|
|
678
673
|
"svg-title": o(n)("remove")
|
|
679
674
|
}, null, 8, ["svg-title"])
|
|
680
675
|
]),
|
|
@@ -683,7 +678,7 @@ const Va = {
|
|
|
683
678
|
])
|
|
684
679
|
], 2));
|
|
685
680
|
}
|
|
686
|
-
}), Ce = /* @__PURE__ */ _(
|
|
681
|
+
}), Ce = /* @__PURE__ */ _(ye, [["__scopeId", "data-v-13fa0d5e"]]), Va = {
|
|
687
682
|
"en-US": {
|
|
688
683
|
maxFileSize: "Max file size: {size}",
|
|
689
684
|
maxImageDimensions: "Max image dimensions: {width} × {height}px",
|
|
@@ -692,10 +687,10 @@ const Va = {
|
|
|
692
687
|
maxUpload: "Max upload: {count} file | Max upload: {count} files",
|
|
693
688
|
supportedFileTypes: "Supported file types: {list}"
|
|
694
689
|
}
|
|
695
|
-
},
|
|
696
|
-
i18n: { messages:
|
|
697
|
-
},
|
|
698
|
-
...
|
|
690
|
+
}, ke = {
|
|
691
|
+
i18n: { messages: Va }
|
|
692
|
+
}, $e = /* @__PURE__ */ aa({
|
|
693
|
+
...ke,
|
|
699
694
|
__name: "file-uploader-restrictions",
|
|
700
695
|
props: {
|
|
701
696
|
condensed: { type: Boolean, default: null },
|
|
@@ -706,11 +701,11 @@ const Va = {
|
|
|
706
701
|
supportedFileTypes: { default: null }
|
|
707
702
|
},
|
|
708
703
|
setup(a) {
|
|
709
|
-
const i = a, { t: p, tc: e, locale: l } = ia({ messages:
|
|
704
|
+
const i = a, { t: p, tc: e, locale: l } = ia({ messages: Va }), n = h(() => ({
|
|
710
705
|
"b-file-uploader-restrictions--condensed": i.condensed,
|
|
711
706
|
"b-file-uploader-restrictions--disabled": i.disabled
|
|
712
707
|
}));
|
|
713
|
-
function
|
|
708
|
+
function y(d) {
|
|
714
709
|
return {
|
|
715
710
|
"b-file-uploader-restrictions--error": d
|
|
716
711
|
};
|
|
@@ -728,7 +723,7 @@ const Va = {
|
|
|
728
723
|
}, [
|
|
729
724
|
d.supportedFileTypes ? (s(), b(o(z), {
|
|
730
725
|
key: 0,
|
|
731
|
-
class: S(
|
|
726
|
+
class: S(y(d.supportedFileTypes.error))
|
|
732
727
|
}, {
|
|
733
728
|
default: g(() => [
|
|
734
729
|
$(u(o(p)("supportedFileTypes", { list: d.supportedFileTypes.value })), 1)
|
|
@@ -737,16 +732,16 @@ const Va = {
|
|
|
737
732
|
}, 8, ["class"])) : f("", !0),
|
|
738
733
|
d.maxSize ? (s(), b(o(z), {
|
|
739
734
|
key: 1,
|
|
740
|
-
class: S(
|
|
735
|
+
class: S(y(d.maxSize.error))
|
|
741
736
|
}, {
|
|
742
737
|
default: g(() => [
|
|
743
|
-
$(u(o(p)("maxFileSize", { size: o(
|
|
738
|
+
$(u(o(p)("maxFileSize", { size: o(Ma)(o(l), d.maxSize.value) })), 1)
|
|
744
739
|
]),
|
|
745
740
|
_: 1
|
|
746
741
|
}, 8, ["class"])) : f("", !0),
|
|
747
742
|
d.maxDimensions ? (s(), b(o(z), {
|
|
748
743
|
key: 2,
|
|
749
|
-
class: S(
|
|
744
|
+
class: S(y(d.maxDimensions.error))
|
|
750
745
|
}, {
|
|
751
746
|
default: g(() => [
|
|
752
747
|
$(u(c.value), 1)
|
|
@@ -755,7 +750,7 @@ const Va = {
|
|
|
755
750
|
}, 8, ["class"])) : f("", !0),
|
|
756
751
|
d.maxCount ? (s(), b(o(z), {
|
|
757
752
|
key: 3,
|
|
758
|
-
class: S(
|
|
753
|
+
class: S(y(d.maxCount.error))
|
|
759
754
|
}, {
|
|
760
755
|
default: g(() => [
|
|
761
756
|
$(u(o(e)("maxUpload", d.maxCount.value)), 1)
|
|
@@ -764,51 +759,7 @@ const Va = {
|
|
|
764
759
|
}, 8, ["class"])) : f("", !0)
|
|
765
760
|
], 2));
|
|
766
761
|
}
|
|
767
|
-
}), za = /* @__PURE__ */ _(
|
|
768
|
-
function $e(a) {
|
|
769
|
-
const { locale: i, t: p } = ia();
|
|
770
|
-
return { supportedFileTypeList: h(() => {
|
|
771
|
-
const l = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
|
|
772
|
-
return a != null && a.value ? l.format(
|
|
773
|
-
a.value.split(",").map((n) => {
|
|
774
|
-
const C = n.trim();
|
|
775
|
-
switch (C) {
|
|
776
|
-
case "audio/*":
|
|
777
|
-
return p("audioFiles");
|
|
778
|
-
case "image/*":
|
|
779
|
-
return p("imageFiles");
|
|
780
|
-
case "video/*":
|
|
781
|
-
return p("videoFiles");
|
|
782
|
-
default:
|
|
783
|
-
return C.toUpperCase();
|
|
784
|
-
}
|
|
785
|
-
})
|
|
786
|
-
) : null;
|
|
787
|
-
}) };
|
|
788
|
-
}
|
|
789
|
-
const Sa = {
|
|
790
|
-
"en-US": {
|
|
791
|
-
audioFiles: "audio files",
|
|
792
|
-
browseFiles: "Browse files",
|
|
793
|
-
dropArea: "Drop area",
|
|
794
|
-
dropFiles: "Drop file to upload | Drop files to upload",
|
|
795
|
-
fileExceedsSizeLimit: "File exceeds size limit",
|
|
796
|
-
imageFiles: "image files",
|
|
797
|
-
tooManyFiles: "Too many files",
|
|
798
|
-
upload: "Upload",
|
|
799
|
-
videoFiles: "video files",
|
|
800
|
-
warning: "Warning",
|
|
801
|
-
youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
|
|
802
|
-
},
|
|
803
|
-
"ja-JP": {
|
|
804
|
-
upload: "アップロード",
|
|
805
|
-
warning: "警告"
|
|
806
|
-
},
|
|
807
|
-
"pt-BR": {
|
|
808
|
-
upload: "Carregar",
|
|
809
|
-
warning: "Aviso"
|
|
810
|
-
}
|
|
811
|
-
}, Ta = {
|
|
762
|
+
}), za = /* @__PURE__ */ _($e, [["__scopeId", "data-v-d7c2e9cd"]]), Sa = {
|
|
812
763
|
"application/prs.cww": ["cww"],
|
|
813
764
|
"application/prs.xsf+xml": ["xsf"],
|
|
814
765
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -1507,8 +1458,8 @@ const Sa = {
|
|
|
1507
1458
|
"video/x-smv": ["smv"],
|
|
1508
1459
|
"x-conference/x-cooltalk": ["ice"]
|
|
1509
1460
|
};
|
|
1510
|
-
Object.freeze(
|
|
1511
|
-
const
|
|
1461
|
+
Object.freeze(Sa);
|
|
1462
|
+
const Ta = {
|
|
1512
1463
|
"application/andrew-inset": ["ez"],
|
|
1513
1464
|
"application/appinstaller": ["appinstaller"],
|
|
1514
1465
|
"application/applixware": ["aw"],
|
|
@@ -1860,26 +1811,26 @@ const Da = {
|
|
|
1860
1811
|
"video/quicktime": ["qt", "mov"],
|
|
1861
1812
|
"video/webm": ["webm"]
|
|
1862
1813
|
};
|
|
1863
|
-
Object.freeze(
|
|
1814
|
+
Object.freeze(Ta);
|
|
1864
1815
|
var E = function(a, i, p, e) {
|
|
1865
1816
|
if (p === "a" && !e) throw new TypeError("Private accessor was defined without a getter");
|
|
1866
1817
|
if (typeof i == "function" ? a !== i || !e : !i.has(a)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1867
1818
|
return p === "m" ? e : p === "a" ? e.call(a) : e ? e.value : i.get(a);
|
|
1868
|
-
}, F, W,
|
|
1819
|
+
}, F, W, H;
|
|
1869
1820
|
class je {
|
|
1870
1821
|
constructor(...i) {
|
|
1871
|
-
F.set(this, /* @__PURE__ */ new Map()), W.set(this, /* @__PURE__ */ new Map()),
|
|
1822
|
+
F.set(this, /* @__PURE__ */ new Map()), W.set(this, /* @__PURE__ */ new Map()), H.set(this, /* @__PURE__ */ new Map());
|
|
1872
1823
|
for (const p of i)
|
|
1873
1824
|
this.define(p);
|
|
1874
1825
|
}
|
|
1875
1826
|
define(i, p = !1) {
|
|
1876
1827
|
for (let [e, l] of Object.entries(i)) {
|
|
1877
|
-
e = e.toLowerCase(), l = l.map((c) => c.toLowerCase()), E(this,
|
|
1878
|
-
const n = E(this,
|
|
1879
|
-
let
|
|
1828
|
+
e = e.toLowerCase(), l = l.map((c) => c.toLowerCase()), E(this, H, "f").has(e) || E(this, H, "f").set(e, /* @__PURE__ */ new Set());
|
|
1829
|
+
const n = E(this, H, "f").get(e);
|
|
1830
|
+
let y = !0;
|
|
1880
1831
|
for (let c of l) {
|
|
1881
1832
|
const d = c.startsWith("*");
|
|
1882
|
-
if (c = d ? c.slice(1) : c, n == null || n.add(c),
|
|
1833
|
+
if (c = d ? c.slice(1) : c, n == null || n.add(c), y && E(this, W, "f").set(e, c), y = !1, d)
|
|
1883
1834
|
continue;
|
|
1884
1835
|
const w = E(this, F, "f").get(c);
|
|
1885
1836
|
if (w && w != e && !p)
|
|
@@ -1900,13 +1851,13 @@ class je {
|
|
|
1900
1851
|
return typeof i != "string" ? null : (i = (p = i == null ? void 0 : i.split) == null ? void 0 : p.call(i, ";")[0], (i && E(this, W, "f").get(i.trim().toLowerCase())) ?? null);
|
|
1901
1852
|
}
|
|
1902
1853
|
getAllExtensions(i) {
|
|
1903
|
-
return typeof i != "string" ? null : E(this,
|
|
1854
|
+
return typeof i != "string" ? null : E(this, H, "f").get(i.toLowerCase()) ?? null;
|
|
1904
1855
|
}
|
|
1905
1856
|
_freeze() {
|
|
1906
1857
|
this.define = () => {
|
|
1907
1858
|
throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
|
|
1908
1859
|
}, Object.freeze(this);
|
|
1909
|
-
for (const i of E(this,
|
|
1860
|
+
for (const i of E(this, H, "f").values())
|
|
1910
1861
|
Object.freeze(i);
|
|
1911
1862
|
return this;
|
|
1912
1863
|
}
|
|
@@ -1917,12 +1868,58 @@ class je {
|
|
|
1917
1868
|
};
|
|
1918
1869
|
}
|
|
1919
1870
|
}
|
|
1920
|
-
F = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap(),
|
|
1921
|
-
const
|
|
1871
|
+
F = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakMap(), H = /* @__PURE__ */ new WeakMap();
|
|
1872
|
+
const Ha = new je(Ta, Sa)._freeze();
|
|
1873
|
+
function _e(a) {
|
|
1874
|
+
return a.includes("/") ? `.${Ha.getExtension(a).toUpperCase()}` : a.toUpperCase();
|
|
1875
|
+
}
|
|
1922
1876
|
function ze(a) {
|
|
1923
|
-
|
|
1877
|
+
const { locale: i, t: p } = ia();
|
|
1878
|
+
return { supportedFileTypeList: h(() => {
|
|
1879
|
+
const l = new Intl.ListFormat(i.value, { style: "short", type: "unit" });
|
|
1880
|
+
return a != null && a.value ? l.format(
|
|
1881
|
+
a.value.split(",").map((n) => {
|
|
1882
|
+
switch (n.trim()) {
|
|
1883
|
+
case "audio/*":
|
|
1884
|
+
return p("audioFiles");
|
|
1885
|
+
case "image/*":
|
|
1886
|
+
return p("imageFiles");
|
|
1887
|
+
case "video/*":
|
|
1888
|
+
return p("videoFiles");
|
|
1889
|
+
default:
|
|
1890
|
+
return _e(n);
|
|
1891
|
+
}
|
|
1892
|
+
})
|
|
1893
|
+
) : null;
|
|
1894
|
+
}) };
|
|
1895
|
+
}
|
|
1896
|
+
const Da = {
|
|
1897
|
+
"en-US": {
|
|
1898
|
+
audioFiles: "audio files",
|
|
1899
|
+
browseFiles: "Browse files",
|
|
1900
|
+
dropArea: "Drop area",
|
|
1901
|
+
dropFiles: "Drop file to upload | Drop files to upload",
|
|
1902
|
+
fileExceedsSizeLimit: "File exceeds size limit",
|
|
1903
|
+
imageFiles: "image files",
|
|
1904
|
+
tooManyFiles: "Too many files",
|
|
1905
|
+
upload: "Upload",
|
|
1906
|
+
videoFiles: "video files",
|
|
1907
|
+
warning: "Warning",
|
|
1908
|
+
youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
|
|
1909
|
+
},
|
|
1910
|
+
"ja-JP": {
|
|
1911
|
+
upload: "アップロード",
|
|
1912
|
+
warning: "警告"
|
|
1913
|
+
},
|
|
1914
|
+
"pt-BR": {
|
|
1915
|
+
upload: "Carregar",
|
|
1916
|
+
warning: "Aviso"
|
|
1917
|
+
}
|
|
1918
|
+
};
|
|
1919
|
+
function Ee(a) {
|
|
1920
|
+
return Ha.getType(a) ?? a;
|
|
1924
1921
|
}
|
|
1925
|
-
function
|
|
1922
|
+
function Re({ maxCount: a, accept: i }) {
|
|
1926
1923
|
const p = sa({
|
|
1927
1924
|
invalidTypes: !1,
|
|
1928
1925
|
partiallyInvalidTypes: !1,
|
|
@@ -1930,11 +1927,11 @@ function Ee({ maxCount: a, accept: i }) {
|
|
|
1930
1927
|
}), e = sa({
|
|
1931
1928
|
dragging: !1,
|
|
1932
1929
|
error: !1
|
|
1933
|
-
}), l = h(() => i.value ? i.value.split(",").map((d) =>
|
|
1930
|
+
}), l = h(() => i.value ? i.value.split(",").map((d) => Ee(d.trim().toLocaleLowerCase())) : void 0);
|
|
1934
1931
|
function n() {
|
|
1935
1932
|
e.dragging = !1, e.error = !1, p.invalidTypes = !1, p.partiallyInvalidTypes = !1, p.maxCountOverflow = !1;
|
|
1936
1933
|
}
|
|
1937
|
-
function
|
|
1934
|
+
function y(c, d) {
|
|
1938
1935
|
if (e.dragging = !0, (!d.dataTransfer.types.includes("Files") || c > a.value) && (p.maxCountOverflow = !0, e.error = !0), !l.value)
|
|
1939
1936
|
return;
|
|
1940
1937
|
let w = 0;
|
|
@@ -1950,14 +1947,14 @@ function Ee({ maxCount: a, accept: i }) {
|
|
|
1950
1947
|
dragState: e,
|
|
1951
1948
|
dragErrors: p,
|
|
1952
1949
|
resetDragState: n,
|
|
1953
|
-
onDragEnterValidations:
|
|
1950
|
+
onDragEnterValidations: y
|
|
1954
1951
|
};
|
|
1955
1952
|
}
|
|
1956
|
-
const
|
|
1953
|
+
const Le = ["id", "accept", "disabled", "multiple"], Me = ["aria-label", "tabindex"], Ie = { class: "b-file-uploader__icon" }, Ve = { class: "b-file-uploader__files" }, Se = {
|
|
1957
1954
|
model: { prop: "modelValue" },
|
|
1958
|
-
i18n: { messages:
|
|
1959
|
-
},
|
|
1960
|
-
...
|
|
1955
|
+
i18n: { messages: Da }
|
|
1956
|
+
}, Te = /* @__PURE__ */ aa({
|
|
1957
|
+
...Se,
|
|
1961
1958
|
__name: "file-uploader",
|
|
1962
1959
|
props: {
|
|
1963
1960
|
accept: { default: null },
|
|
@@ -1976,17 +1973,17 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
1976
1973
|
},
|
|
1977
1974
|
emits: ["change", "update:modelValue", "error:upload"],
|
|
1978
1975
|
setup(a, { emit: i }) {
|
|
1979
|
-
const { t: p, tc: e } = ia({ messages:
|
|
1976
|
+
const { t: p, tc: e } = ia({ messages: Da }), l = i, n = a, { supportedFileTypeList: y } = ze(pa(n, "accept")), c = T(null), d = T(null), w = oa("input"), q = oa("input-error"), { dragState: G, dragErrors: D, resetDragState: Z, onDragEnterValidations: Y } = Re({
|
|
1980
1977
|
accept: pa(n, "accept"),
|
|
1981
1978
|
maxCount: pa(n, "maxCount")
|
|
1982
1979
|
}), X = h(() => {
|
|
1983
|
-
var t, r,
|
|
1980
|
+
var t, r, C;
|
|
1984
1981
|
return {
|
|
1985
1982
|
condensed: n.condensed,
|
|
1986
1983
|
disabled: n.disabled,
|
|
1987
1984
|
maxCount: O.value ? {
|
|
1988
1985
|
value: n.maxCount,
|
|
1989
|
-
error:
|
|
1986
|
+
error: D.maxCountOverflow || N.value
|
|
1990
1987
|
} : null,
|
|
1991
1988
|
maxDimensions: n.maxDimensions ? {
|
|
1992
1989
|
value: n.maxDimensions,
|
|
@@ -1996,9 +1993,9 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
1996
1993
|
value: n.maxSize,
|
|
1997
1994
|
error: (r = c.value) == null ? void 0 : r.some((k) => k.errors.includes(j.ERROR_SIZE))
|
|
1998
1995
|
} : null,
|
|
1999
|
-
supportedFileTypes:
|
|
2000
|
-
value:
|
|
2001
|
-
error:
|
|
1996
|
+
supportedFileTypes: y.value ? {
|
|
1997
|
+
value: y.value,
|
|
1998
|
+
error: D.invalidTypes || D.partiallyInvalidTypes || ((C = c.value) == null ? void 0 : C.some((k) => k.errors.includes(j.ERROR_TYPE)))
|
|
2002
1999
|
} : null
|
|
2003
2000
|
};
|
|
2004
2001
|
}), B = T(), J = h(() => ({
|
|
@@ -2015,11 +2012,11 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2015
2012
|
}), A = h(() => !!n.errorMessage || G.error), N = h(() => {
|
|
2016
2013
|
var t;
|
|
2017
2014
|
return ((t = c.value) == null ? void 0 : t.length) > n.maxCount;
|
|
2018
|
-
}),
|
|
2015
|
+
}), M = T(!1), I = h(() => {
|
|
2019
2016
|
var t;
|
|
2020
2017
|
return (t = c.value) == null ? void 0 : t.some((r) => r.state === "error");
|
|
2021
2018
|
});
|
|
2022
|
-
la(
|
|
2019
|
+
la(I, (t) => {
|
|
2023
2020
|
ta.value || l("error:upload", t);
|
|
2024
2021
|
});
|
|
2025
2022
|
function P(t) {
|
|
@@ -2032,11 +2029,11 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2032
2029
|
errors: [],
|
|
2033
2030
|
progress: null,
|
|
2034
2031
|
state: R.LOADING,
|
|
2035
|
-
type:
|
|
2032
|
+
type: ji(t)
|
|
2036
2033
|
});
|
|
2037
|
-
return
|
|
2034
|
+
return zi(r, n.accept, n.maxDimensions), r;
|
|
2038
2035
|
}
|
|
2039
|
-
function
|
|
2036
|
+
function Oa(t) {
|
|
2040
2037
|
var r;
|
|
2041
2038
|
((r = c.value) == null ? void 0 : r.length) === n.maxCount && t.preventDefault();
|
|
2042
2039
|
}
|
|
@@ -2047,63 +2044,63 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2047
2044
|
}
|
|
2048
2045
|
O.value ? c.value = [...c.value || [], ...Array.from(t).map((r) => ca(r))] : c.value = [ca(t[0])];
|
|
2049
2046
|
}
|
|
2050
|
-
function
|
|
2051
|
-
var
|
|
2047
|
+
function Fa(t) {
|
|
2048
|
+
var C, k;
|
|
2052
2049
|
if (n.disabled)
|
|
2053
2050
|
return;
|
|
2054
2051
|
B.value = t.target;
|
|
2055
|
-
const r = (((
|
|
2052
|
+
const r = (((C = t.dataTransfer.items) == null ? void 0 : C.length) ?? 0) + (((k = c.value) == null ? void 0 : k.length) ?? 0);
|
|
2056
2053
|
Y(r, t);
|
|
2057
2054
|
}
|
|
2058
2055
|
function na() {
|
|
2059
2056
|
B.value = null;
|
|
2060
2057
|
}
|
|
2061
|
-
function
|
|
2058
|
+
function qa(t) {
|
|
2062
2059
|
B.value === t.target && (na(), Z());
|
|
2063
2060
|
}
|
|
2064
|
-
function
|
|
2061
|
+
function Za(t) {
|
|
2065
2062
|
t.preventDefault(), n.disabled && (t.dataTransfer.dropEffect = "none");
|
|
2066
2063
|
}
|
|
2067
|
-
function
|
|
2064
|
+
function Ba(t) {
|
|
2068
2065
|
var r;
|
|
2069
|
-
n.disabled || (!
|
|
2066
|
+
n.disabled || (!D.invalidTypes && ((r = t.dataTransfer.files) != null && r.length) && da(t.dataTransfer.files), na(), Z());
|
|
2070
2067
|
}
|
|
2071
|
-
function
|
|
2068
|
+
function Aa() {
|
|
2072
2069
|
var t;
|
|
2073
2070
|
(t = d.value.files) != null && t.length && da(d.value.files), d.value.value = "";
|
|
2074
2071
|
}
|
|
2075
|
-
function
|
|
2072
|
+
function Na(t) {
|
|
2076
2073
|
const r = n.maxCount && t.length <= n.maxCount;
|
|
2077
|
-
|
|
2074
|
+
M.value = !r;
|
|
2078
2075
|
}
|
|
2079
|
-
function
|
|
2076
|
+
function Pa(t) {
|
|
2080
2077
|
n.maxSize && t.forEach((r) => {
|
|
2081
|
-
const
|
|
2082
|
-
|
|
2078
|
+
const C = r;
|
|
2079
|
+
C.data.size > n.maxSize && (C.state = R.ERROR, C.errors.push(j.ERROR_SIZE));
|
|
2083
2080
|
});
|
|
2084
2081
|
}
|
|
2085
|
-
function
|
|
2082
|
+
function Ua(t) {
|
|
2086
2083
|
const r = t.filter(
|
|
2087
|
-
({ errors:
|
|
2084
|
+
({ errors: C }) => !C.includes(j.ERROR_LOAD) && !C.includes(j.ERROR_SIZE)
|
|
2088
2085
|
);
|
|
2089
2086
|
if (r.length) {
|
|
2090
|
-
const
|
|
2091
|
-
return r.forEach(({ data: k }) =>
|
|
2087
|
+
const C = new DataTransfer();
|
|
2088
|
+
return r.forEach(({ data: k }) => C.items.add(k)), C.files;
|
|
2092
2089
|
}
|
|
2093
2090
|
}
|
|
2094
2091
|
return la(c, (t) => {
|
|
2095
2092
|
if (t) {
|
|
2096
|
-
|
|
2097
|
-
const r =
|
|
2093
|
+
Na(t), Pa(t);
|
|
2094
|
+
const r = Ua(t);
|
|
2098
2095
|
l("change", r), l("update:modelValue", r);
|
|
2099
2096
|
} else
|
|
2100
2097
|
l("change"), l("update:modelValue");
|
|
2101
2098
|
}), (t, r) => {
|
|
2102
|
-
var
|
|
2099
|
+
var C;
|
|
2103
2100
|
return s(), v("div", {
|
|
2104
2101
|
class: S(["b-file-uploader", J.value])
|
|
2105
2102
|
}, [
|
|
2106
|
-
|
|
2103
|
+
V(o(ci), {
|
|
2107
2104
|
class: "b-file-uploader__label",
|
|
2108
2105
|
for: o(w),
|
|
2109
2106
|
label: t.label,
|
|
@@ -2122,19 +2119,19 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2122
2119
|
accept: t.accept,
|
|
2123
2120
|
disabled: t.disabled,
|
|
2124
2121
|
multiple: O.value,
|
|
2125
|
-
onChange:
|
|
2126
|
-
onClick:
|
|
2127
|
-
}, null, 40,
|
|
2122
|
+
onChange: Aa,
|
|
2123
|
+
onClick: Oa
|
|
2124
|
+
}, null, 40, Le),
|
|
2128
2125
|
ea.value ? f("", !0) : (s(), v("div", {
|
|
2129
2126
|
key: 0,
|
|
2130
2127
|
class: "b-file-uploader__area",
|
|
2131
2128
|
"aria-label": o(p)("dropArea"),
|
|
2132
2129
|
tabindex: t.disabled ? -1 : 0,
|
|
2133
2130
|
onClick: r[0] || (r[0] = (k) => d.value.click()),
|
|
2134
|
-
onDragenter: U(
|
|
2135
|
-
onDragleave: U(
|
|
2136
|
-
onDrop: U(
|
|
2137
|
-
onDragover:
|
|
2131
|
+
onDragenter: U(Fa, ["stop", "prevent"]),
|
|
2132
|
+
onDragleave: U(qa, ["stop", "prevent"]),
|
|
2133
|
+
onDrop: U(Ba, ["stop", "prevent"]),
|
|
2134
|
+
onDragover: Za,
|
|
2138
2135
|
onKeydownCapture: [
|
|
2139
2136
|
r[1] || (r[1] = ma(U((k) => d.value.click(), ["prevent"]), ["enter"])),
|
|
2140
2137
|
r[2] || (r[2] = ma(U((k) => d.value.click(), ["prevent"]), ["space"]))
|
|
@@ -2144,13 +2141,13 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2144
2141
|
A.value ? (s(), b(o(Ra), {
|
|
2145
2142
|
key: 0,
|
|
2146
2143
|
"svg-title": o(p)("warning")
|
|
2147
|
-
}, null, 8, ["svg-title"])) : (s(), b(o(
|
|
2144
|
+
}, null, 8, ["svg-title"])) : (s(), b(o(vi), {
|
|
2148
2145
|
key: 1,
|
|
2149
2146
|
"svg-title": o(p)("upload")
|
|
2150
2147
|
}, null, 8, ["svg-title"]))
|
|
2151
2148
|
]),
|
|
2152
2149
|
t.condensed ? f("", !0) : (s(), v(ua, { key: 0 }, [
|
|
2153
|
-
|
|
2150
|
+
V(o(z), {
|
|
2154
2151
|
el: "span",
|
|
2155
2152
|
strongest: "",
|
|
2156
2153
|
class: "b-file-uploader__title"
|
|
@@ -2170,9 +2167,9 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2170
2167
|
]),
|
|
2171
2168
|
_: 1
|
|
2172
2169
|
})) : f("", !0),
|
|
2173
|
-
|
|
2170
|
+
V(o(za), va(Qa(X.value)), null, 16)
|
|
2174
2171
|
], 64)),
|
|
2175
|
-
|
|
2172
|
+
V(o(K), {
|
|
2176
2173
|
disabled: t.disabled,
|
|
2177
2174
|
variant: t.condensed ? "tertiary" : "secondary",
|
|
2178
2175
|
condensed: "",
|
|
@@ -2184,8 +2181,8 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2184
2181
|
]),
|
|
2185
2182
|
_: 1
|
|
2186
2183
|
}, 8, ["disabled", "variant"])
|
|
2187
|
-
], 40,
|
|
2188
|
-
A.value && t.errorMessage ? (s(), b(o(
|
|
2184
|
+
], 40, Me)),
|
|
2185
|
+
A.value && t.errorMessage ? (s(), b(o(di), {
|
|
2189
2186
|
key: 1,
|
|
2190
2187
|
id: o(q),
|
|
2191
2188
|
"error-message": t.errorMessage,
|
|
@@ -2202,7 +2199,7 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2202
2199
|
_: 1
|
|
2203
2200
|
})) : f("", !0),
|
|
2204
2201
|
t.condensed ? (s(), b(o(za), va(L({ key: 3 }, X.value)), null, 16)) : f("", !0),
|
|
2205
|
-
N.value ? (s(), b(o(
|
|
2202
|
+
N.value ? (s(), b(o(ei), {
|
|
2206
2203
|
key: 4,
|
|
2207
2204
|
type: "critical"
|
|
2208
2205
|
}, {
|
|
@@ -2215,21 +2212,21 @@ const Re = ["id", "accept", "disabled", "multiple"], Le = ["aria-label", "tabind
|
|
|
2215
2212
|
_: 1
|
|
2216
2213
|
})) : f("", !0),
|
|
2217
2214
|
Ea(m("div", Ve, [
|
|
2218
|
-
(s(!0), v(ua, null,
|
|
2215
|
+
(s(!0), v(ua, null, ai(c.value, (k) => (s(), b(o(Ce), {
|
|
2219
2216
|
key: k.id,
|
|
2220
2217
|
file: k,
|
|
2221
|
-
"supported-file-types": o(
|
|
2222
|
-
onCancel: (
|
|
2223
|
-
onRemove: (
|
|
2218
|
+
"supported-file-types": o(y),
|
|
2219
|
+
onCancel: (Wa) => P(k),
|
|
2220
|
+
onRemove: (Wa) => P(k)
|
|
2224
2221
|
}, null, 8, ["file", "supported-file-types", "onCancel", "onRemove"]))), 128))
|
|
2225
2222
|
], 512), [
|
|
2226
|
-
[
|
|
2223
|
+
[ii, (C = c.value) == null ? void 0 : C.length]
|
|
2227
2224
|
])
|
|
2228
2225
|
], 2);
|
|
2229
2226
|
};
|
|
2230
2227
|
}
|
|
2231
|
-
}),
|
|
2228
|
+
}), at = /* @__PURE__ */ _(Te, [["__scopeId", "data-v-19f4b656"]]);
|
|
2232
2229
|
export {
|
|
2233
|
-
|
|
2230
|
+
at as f
|
|
2234
2231
|
};
|
|
2235
|
-
//# sourceMappingURL=file-uploader.
|
|
2232
|
+
//# sourceMappingURL=file-uploader.Cz89e0Ci.js.map
|