@adyen/bento-vue2 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.CTxrEQEW.js → accordion-item.C4tyRMCt.js} +2 -2
- package/dist/chunks/{accordion-item.CTxrEQEW.js.map → accordion-item.C4tyRMCt.js.map} +1 -1
- package/dist/chunks/{action-bar.pYOeP8WX.js → action-bar.DGhojWpe.js} +6 -6
- package/dist/chunks/{action-bar.pYOeP8WX.js.map → action-bar.DGhojWpe.js.map} +1 -1
- package/dist/chunks/{alert.hiTIDSeX.js → alert.BSBLkXkM.js} +9 -8
- package/dist/chunks/alert.BSBLkXkM.js.map +1 -0
- package/dist/chunks/{base-modal.8kcvtFRx.js → base-modal.Dan5WQin.js} +5 -5
- package/dist/chunks/{base-modal.8kcvtFRx.js.map → base-modal.Dan5WQin.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BxWulRXh.js → button-actions-with-menu.B5gcSgRQ.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.BxWulRXh.js.map → button-actions-with-menu.B5gcSgRQ.js.map} +1 -1
- package/dist/chunks/{button-actions.BovYBINL.js → button-actions.GhdYBSwt.js} +4 -4
- package/dist/chunks/{button-actions.BovYBINL.js.map → button-actions.GhdYBSwt.js.map} +1 -1
- package/dist/chunks/{button.CdAFZa4V.js → button.D-3uUhuG.js} +2 -2
- package/dist/chunks/{button.CdAFZa4V.js.map → button.D-3uUhuG.js.map} +1 -1
- package/dist/chunks/{calendar.Bb0-Svhx.js → calendar.YJTNpmzh.js} +3 -3
- package/dist/chunks/{calendar.Bb0-Svhx.js.map → calendar.YJTNpmzh.js.map} +1 -1
- package/dist/chunks/{card.D-w9c3-n.js → card.Csazj5Qz.js} +3 -3
- package/dist/chunks/{card.D-w9c3-n.js.map → card.Csazj5Qz.js.map} +1 -1
- package/dist/chunks/{checkbox-group.4TiIcnc7.js → checkbox-group.DcJ31aLq.js} +4 -4
- package/dist/chunks/{checkbox-group.4TiIcnc7.js.map → checkbox-group.DcJ31aLq.js.map} +1 -1
- package/dist/chunks/{checkbox-input.Bo4NxNOh.js → checkbox-input.B4A_gL2b.js} +10 -9
- package/dist/chunks/checkbox-input.B4A_gL2b.js.map +1 -0
- package/dist/chunks/{checkbox.CE9NdY0R.js → checkbox.BpF0HY7C.js} +17 -17
- package/dist/chunks/{checkbox.CE9NdY0R.js.map → checkbox.BpF0HY7C.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.Cn7JN_Tk.js → checkmark-circle-fill.C46dV1Rf.js} +4 -4
- package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js.map +1 -0
- package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.C8T8ISN6.js} +4 -4
- package/dist/chunks/checkmark-small.C8T8ISN6.js.map +1 -0
- package/dist/chunks/{chevron-left.PIu6yPqe.js → chevron-left.DOMTgGel.js} +6 -6
- package/dist/chunks/chevron-left.DOMTgGel.js.map +1 -0
- package/dist/chunks/{chevron-up.DVfo78kV.js → chevron-up.CSVyoaTy.js} +6 -6
- package/dist/chunks/chevron-up.CSVyoaTy.js.map +1 -0
- package/dist/chunks/{chip.HNUA9VZl.js → chip.BeK9uqmW.js} +24 -21
- package/dist/chunks/chip.BeK9uqmW.js.map +1 -0
- package/dist/chunks/{code-snippet.DSsZWtwa.js → code-snippet.z_G2UXVT.js} +7 -7
- package/dist/chunks/{code-snippet.DSsZWtwa.js.map → code-snippet.z_G2UXVT.js.map} +1 -1
- package/dist/chunks/{controls-group.BnDPMaGI.js → controls-group.ghJ7a8PY.js} +2 -2
- package/dist/chunks/{controls-group.BnDPMaGI.js.map → controls-group.ghJ7a8PY.js.map} +1 -1
- package/dist/chunks/{copy.DMlIj53I.js → copy.BNOiinIt.js} +7 -6
- package/dist/chunks/copy.BNOiinIt.js.map +1 -0
- package/dist/chunks/{cross-circle-fill-small.Oj6lPaDy.js → cross-circle-fill-small.YhLgeipP.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.CnYH4R_h.js → cross-circle-fill.BawVYNw7.js} +4 -4
- package/dist/chunks/cross-circle-fill.BawVYNw7.js.map +1 -0
- package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.CZqsjZDz.js} +4 -4
- package/dist/chunks/cross-small.CZqsjZDz.js.map +1 -0
- package/dist/chunks/{cross.CsUPDmaA.js → cross.CJ5EEL2c.js} +4 -4
- package/dist/chunks/cross.CJ5EEL2c.js.map +1 -0
- package/dist/chunks/{dashboard-section.DzMn8yDZ.js → dashboard-section.Db_E382r.js} +3 -3
- package/dist/chunks/{dashboard-section.DzMn8yDZ.js.map → dashboard-section.Db_E382r.js.map} +1 -1
- package/dist/chunks/{dashed-underline.COTMts4l.js → dashed-underline.CAhDrAG_.js} +3 -3
- package/dist/chunks/{dashed-underline.COTMts4l.js.map → dashed-underline.CAhDrAG_.js.map} +1 -1
- package/dist/chunks/{data-grid-template.BPBneEHq.js → data-grid-template.DG5IWdLG.js} +3 -3
- package/dist/chunks/{data-grid-template.BPBneEHq.js.map → data-grid-template.DG5IWdLG.js.map} +1 -1
- package/dist/chunks/{data-grid.iqFUbiZy.js → data-grid.CHV-FvBB.js} +33 -32
- package/dist/chunks/data-grid.CHV-FvBB.js.map +1 -0
- package/dist/chunks/{date-picker.C68IAqHR.js → date-picker.CMj5-RQl.js} +15 -15
- package/dist/chunks/{date-picker.C68IAqHR.js.map → date-picker.CMj5-RQl.js.map} +1 -1
- package/dist/chunks/{date-range-picker.dcQRDNS7.js → date-range-picker.Jysfo6h3.js} +150 -149
- package/dist/chunks/date-range-picker.Jysfo6h3.js.map +1 -0
- package/dist/chunks/{dialog-page.Bf07JxdG.js → dialog-page.BfF5_hmG.js} +5 -4
- package/dist/chunks/dialog-page.BfF5_hmG.js.map +1 -0
- package/dist/chunks/{dot.BCX4w7eT.js → dot.CnkXzRn3.js} +4 -4
- package/dist/chunks/dot.CnkXzRn3.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js → dropdown-default-textbox.DzPBw4CV.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js.map → dropdown-default-textbox.DzPBw4CV.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.DhENnOHT.js → dropdown-tag.K4idCLeu.js} +4 -4
- package/dist/chunks/{dropdown-tag.DhENnOHT.js.map → dropdown-tag.K4idCLeu.js.map} +1 -1
- package/dist/chunks/{dropdown.BBHNOorv.js → dropdown.DFEGHxjw.js} +278 -270
- package/dist/chunks/dropdown.DFEGHxjw.js.map +1 -0
- package/dist/chunks/{empty-state.BnHTBgKG.js → empty-state.JbgxSrnv.js} +2 -2
- package/dist/chunks/{empty-state.BnHTBgKG.js.map → empty-state.JbgxSrnv.js.map} +1 -1
- package/dist/chunks/{error-message.xTNEaNn8.js → error-message.B3oWB_HM.js} +3 -3
- package/dist/chunks/{error-message.xTNEaNn8.js.map → error-message.B3oWB_HM.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{expand.CwwKq7Uc.js → expand.C263WARj.js} +4 -4
- package/dist/chunks/expand.C263WARj.js.map +1 -0
- package/dist/chunks/{file-uploader.mLUYQnz1.js → file-uploader.DaBMZSsB.js} +249 -252
- package/dist/chunks/file-uploader.DaBMZSsB.js.map +1 -0
- package/dist/chunks/{filter-bar.CFcu6P8H.js → filter-bar.DClIG9aP.js} +577 -636
- package/dist/chunks/filter-bar.DClIG9aP.js.map +1 -0
- package/dist/chunks/{fixed-scroller.DX2YUuoU.js → fixed-scroller.BwvXYzE6.js} +3 -3
- package/dist/chunks/{fixed-scroller.DX2YUuoU.js.map → fixed-scroller.BwvXYzE6.js.map} +1 -1
- package/dist/chunks/{footer-actions.BsoofCrv.js → footer-actions.D0SuJroc.js} +3 -3
- package/dist/chunks/{footer-actions.BsoofCrv.js.map → footer-actions.D0SuJroc.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CJbgfh3P.js → form-layout-title.C1n2S73_.js} +2 -2
- package/dist/chunks/{form-layout-title.CJbgfh3P.js.map → form-layout-title.C1n2S73_.js.map} +1 -1
- package/dist/chunks/{header.BeS6ktqU.js → header.CRlxEGHb.js} +50 -50
- package/dist/chunks/{header.BeS6ktqU.js.map → header.CRlxEGHb.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.yeIoJzhj.js → info-icon-with-popover.C29aZ1Vh.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.yeIoJzhj.js.map → info-icon-with-popover.C29aZ1Vh.js.map} +1 -1
- package/dist/chunks/{info-icon.C4_l0WAf.js → info-icon.bXR5eo6I.js} +4 -4
- package/dist/chunks/{info-icon.C4_l0WAf.js.map → info-icon.bXR5eo6I.js.map} +1 -1
- package/dist/chunks/{info.CyeBsLgt.js → info.D4SG-AIm.js} +4 -4
- package/dist/chunks/info.D4SG-AIm.js.map +1 -0
- package/dist/chunks/{input-field-password.Dez8haIj.js → input-field-password.DsIpkc_9.js} +15 -15
- package/dist/chunks/input-field-password.DsIpkc_9.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.CPTonsjM.js → input-field-phone-number.Bmugk7fI.js} +2 -2
- package/dist/chunks/{input-field-phone-number.CPTonsjM.js.map → input-field-phone-number.Bmugk7fI.js.map} +1 -1
- package/dist/chunks/{input-field.lEMEBT7J.js → input-field.Dl2lXZda.js} +49 -139
- package/dist/chunks/input-field.Dl2lXZda.js.map +1 -0
- package/dist/chunks/{inspector.types.BtgXpTC7.js → inspector.types.C9Oc8FgA.js} +4 -4
- package/dist/chunks/{inspector.types.BtgXpTC7.js.map → inspector.types.C9Oc8FgA.js.map} +1 -1
- package/dist/chunks/{link.DZlbzVSB.js → link.BH3eB_7E.js} +4 -3
- package/dist/chunks/link.BH3eB_7E.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.BJBWnC2r.js → listbox-option-tag.bPRcATJK.js} +2 -2
- package/dist/chunks/{listbox-option-tag.BJBWnC2r.js.map → listbox-option-tag.bPRcATJK.js.map} +1 -1
- package/dist/chunks/{menu.lbODB0y3.js → menu.CzbkunwY.js} +226 -193
- package/dist/chunks/menu.CzbkunwY.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js → modal-fullscreen.C4D3Rkdg.js} +5 -5
- package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js.map → modal-fullscreen.C4D3Rkdg.js.map} +1 -1
- package/dist/chunks/{modal.DV55hSPn.js → modal.DgCmKjQC.js} +5 -5
- package/dist/chunks/{modal.DV55hSPn.js.map → modal.DgCmKjQC.js.map} +1 -1
- package/dist/chunks/{pagination.CuJ-P2bO.js → pagination.CdOxfZW2.js} +6 -5
- package/dist/chunks/pagination.CdOxfZW2.js.map +1 -0
- package/dist/chunks/payment-method.BudFG3aC.js +76 -0
- package/dist/chunks/payment-method.BudFG3aC.js.map +1 -0
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -1
- package/dist/chunks/{popover.BQGNMbQN.js → popover.3sHql3nd.js} +39 -31
- package/dist/chunks/popover.3sHql3nd.js.map +1 -0
- package/dist/chunks/{popper-container.CsW4R0-t.js → popper-container.Bqy3oVj6.js} +356 -352
- package/dist/chunks/popper-container.Bqy3oVj6.js.map +1 -0
- package/dist/chunks/{promo-banner.BNXfyv3h.js → promo-banner.BIICM7FC.js} +2 -2
- package/dist/chunks/{promo-banner.BNXfyv3h.js.map → promo-banner.BIICM7FC.js.map} +1 -1
- package/dist/chunks/{radio-group.CUgib4vp.js → radio-group.L-XokgwC.js} +4 -4
- package/dist/chunks/{radio-group.CUgib4vp.js.map → radio-group.L-XokgwC.js.map} +1 -1
- package/dist/chunks/{refresh.BKI9WwKh.js → refresh.Bc9FzGjJ.js} +4 -4
- package/dist/chunks/refresh.Bc9FzGjJ.js.map +1 -0
- package/dist/chunks/{search-bar.Dk-GuqgF.js → search-bar.CDTWPjG1.js} +28 -46
- package/dist/chunks/search-bar.CDTWPjG1.js.map +1 -0
- package/dist/chunks/{search.CBKhp7zB.js → search.pVu-JVAN.js} +4 -4
- package/dist/chunks/search.pVu-JVAN.js.map +1 -0
- package/dist/chunks/{secondary-nav.DC2GrGaQ.js → secondary-nav.BwmBTvl5.js} +2 -2
- package/dist/chunks/{secondary-nav.DC2GrGaQ.js.map → secondary-nav.BwmBTvl5.js.map} +1 -1
- package/dist/chunks/{segmented-control.BxCcPbKd.js → segmented-control.CW6v1rDg.js} +2 -2
- package/dist/chunks/{segmented-control.BxCcPbKd.js.map → segmented-control.CW6v1rDg.js.map} +1 -1
- package/dist/chunks/{selection-card-group.B-YY-iKp.js → selection-card-group.CURxGbd9.js} +10 -10
- package/dist/chunks/{selection-card-group.B-YY-iKp.js.map → selection-card-group.CURxGbd9.js.map} +1 -1
- package/dist/chunks/{show.IEAxtCB7.js → show.e4LEpZKG.js} +6 -6
- package/dist/chunks/show.e4LEpZKG.js.map +1 -0
- package/dist/chunks/{sidepanel.Dp6dKRnq.js → sidepanel.MBArfd4a.js} +5 -5
- package/dist/chunks/{sidepanel.Dp6dKRnq.js.map → sidepanel.MBArfd4a.js.map} +1 -1
- package/dist/chunks/{step.DrP2Frvn.js → step.CuOpi-Ye.js} +3 -3
- package/dist/chunks/{step.DrP2Frvn.js.map → step.CuOpi-Ye.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DrY71Ndc.js → structured-list-item.CYYZ1Fil.js} +6 -6
- package/dist/chunks/{structured-list-item.DrY71Ndc.js.map → structured-list-item.CYYZ1Fil.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js → summary-grid-item-custom.CVEhwKNM.js} +4 -4
- package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js.map → summary-grid-item-custom.CVEhwKNM.js.map} +1 -1
- package/dist/chunks/{tabs.5zgaD1k3.js → tabs.UFoTqvew.js} +2 -2
- package/dist/chunks/{tabs.5zgaD1k3.js.map → tabs.UFoTqvew.js.map} +1 -1
- package/dist/chunks/{tag.CevG31iQ.js → tag.BxmageRW.js} +2 -2
- package/dist/chunks/{tag.CevG31iQ.js.map → tag.BxmageRW.js.map} +1 -1
- package/dist/chunks/{textarea.DHbXaxdU.js → textarea.DmjhRupr.js} +4 -4
- package/dist/chunks/{textarea.DHbXaxdU.js.map → textarea.DmjhRupr.js.map} +1 -1
- package/dist/chunks/{timeline-item.C4HOsaEG.js → timeline-item.CLbS-cEf.js} +12 -11
- package/dist/chunks/timeline-item.CLbS-cEf.js.map +1 -0
- package/dist/chunks/{toast.C5I7Wsfa.js → toast.DqSWycRO.js} +3 -3
- package/dist/chunks/{toast.C5I7Wsfa.js.map → toast.DqSWycRO.js.map} +1 -1
- package/dist/chunks/{toggle-button.BX_9vB0d.js → toggle-button.DgSFugBP.js} +6 -6
- package/dist/chunks/toggle-button.DgSFugBP.js.map +1 -0
- package/dist/chunks/{toggle.CyaY0U0K.js → toggle.Q52IIKfi.js} +2 -2
- package/dist/chunks/{toggle.CyaY0U0K.js.map → toggle.Q52IIKfi.js.map} +1 -1
- package/dist/chunks/{tooltip.Bu8o7uyZ.js → tooltip.Vgoc41cI.js} +2 -2
- package/dist/chunks/{tooltip.Bu8o7uyZ.js.map → tooltip.Vgoc41cI.js.map} +1 -1
- package/dist/chunks/{tutorial.BWWTUI9f.js → tutorial.CmLMgXDK.js} +45 -44
- package/dist/chunks/tutorial.CmLMgXDK.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.DVcpkFV3.js +1164 -0
- package/dist/chunks/use-cached-selected-values.DVcpkFV3.js.map +1 -0
- package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.Cd0kVWwa.js} +4 -4
- package/dist/chunks/warning-filled.Cd0kVWwa.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 +179 -144
- package/package.json +6 -6
- package/dist/chunks/alert.hiTIDSeX.js.map +0 -1
- package/dist/chunks/checkbox-input.Bo4NxNOh.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.Cn7JN_Tk.js.map +0 -1
- package/dist/chunks/checkmark-small.BtF8b2gE.js.map +0 -1
- package/dist/chunks/chevron-left.PIu6yPqe.js.map +0 -1
- package/dist/chunks/chevron-up.DVfo78kV.js.map +0 -1
- package/dist/chunks/chip.HNUA9VZl.js.map +0 -1
- package/dist/chunks/copy.DMlIj53I.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.Oj6lPaDy.js.map +0 -1
- package/dist/chunks/cross-circle-fill.CnYH4R_h.js.map +0 -1
- package/dist/chunks/cross-small.BLUwtRB-.js.map +0 -1
- package/dist/chunks/cross.CsUPDmaA.js.map +0 -1
- package/dist/chunks/data-grid.iqFUbiZy.js.map +0 -1
- package/dist/chunks/date-range-picker.dcQRDNS7.js.map +0 -1
- package/dist/chunks/dialog-page.Bf07JxdG.js.map +0 -1
- package/dist/chunks/dot.BCX4w7eT.js.map +0 -1
- package/dist/chunks/dropdown.BBHNOorv.js.map +0 -1
- package/dist/chunks/expand.CwwKq7Uc.js.map +0 -1
- package/dist/chunks/file-uploader.mLUYQnz1.js.map +0 -1
- package/dist/chunks/filter-bar.CFcu6P8H.js.map +0 -1
- package/dist/chunks/info.CyeBsLgt.js.map +0 -1
- package/dist/chunks/input-field-password.Dez8haIj.js.map +0 -1
- package/dist/chunks/input-field.lEMEBT7J.js.map +0 -1
- package/dist/chunks/link.DZlbzVSB.js.map +0 -1
- package/dist/chunks/menu.lbODB0y3.js.map +0 -1
- package/dist/chunks/pagination.CuJ-P2bO.js.map +0 -1
- package/dist/chunks/payment-method.BKr_q5cZ.js +0 -84
- package/dist/chunks/payment-method.BKr_q5cZ.js.map +0 -1
- package/dist/chunks/popover.BQGNMbQN.js.map +0 -1
- package/dist/chunks/popper-container.CsW4R0-t.js.map +0 -1
- package/dist/chunks/refresh.BKI9WwKh.js.map +0 -1
- package/dist/chunks/search-bar.Dk-GuqgF.js.map +0 -1
- package/dist/chunks/search.CBKhp7zB.js.map +0 -1
- package/dist/chunks/show.IEAxtCB7.js.map +0 -1
- package/dist/chunks/timeline-item.C4HOsaEG.js.map +0 -1
- package/dist/chunks/toggle-button.BX_9vB0d.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.BWWTUI9f.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.C5gHa-dC.js +0 -1301
- package/dist/chunks/use-cached-selected-values.C5gHa-dC.js.map +0 -1
- package/dist/chunks/warning-filled.CLKRzGMT.js.map +0 -1
- /package/dist/assets/{cross.css → main.css} +0 -0
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { defineComponent as H, ref as b, onUnmounted as
|
|
1
|
+
import { defineComponent as H, ref as b, onUnmounted as ka, onMounted as Ra, computed as m, watch as N, reactive as W, toRef as A } from "vue";
|
|
2
|
+
/* empty css */
|
|
2
3
|
import { n as f } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
3
|
-
import { W as ra } from "./warning-filled.
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as da } from "./button.
|
|
4
|
+
import { W as ra } from "./warning-filled.Cd0kVWwa.js";
|
|
5
|
+
import { B as ja } from "./alert.BSBLkXkM.js";
|
|
6
|
+
import { B as da } from "./button.D-3uUhuG.js";
|
|
6
7
|
import { B as G } from "./typography.J1v_SPG3.js";
|
|
7
8
|
import { u as O } from "./i18n.BQkEbtPM.js";
|
|
8
9
|
import { g as P } from "./generate-uid.NJ8tVoha.js";
|
|
9
10
|
import { i as ma } from "./index.Cl4_42j5.js";
|
|
10
|
-
import { C as
|
|
11
|
-
import { C as
|
|
12
|
-
import { R as
|
|
13
|
-
import { B as
|
|
14
|
-
import { B as
|
|
15
|
-
import { B as
|
|
16
|
-
import { F as
|
|
11
|
+
import { C as za } from "./checkmark-circle-fill.C46dV1Rf.js";
|
|
12
|
+
import { C as Ea } from "./cross.CJ5EEL2c.js";
|
|
13
|
+
import { R as $a } from "./refresh.Bc9FzGjJ.js";
|
|
14
|
+
import { B as La } from "./link.BH3eB_7E.js";
|
|
15
|
+
import { B as Ia } from "./loading-indicator.z8COalOc.js";
|
|
16
|
+
import { B as Ta } from "./tooltip.Vgoc41cI.js";
|
|
17
|
+
import { F as Fa, E as Ma } from "./error-message.B3oWB_HM.js";
|
|
17
18
|
import "../assets/file-uploader.css";
|
|
18
19
|
let K = 0;
|
|
19
|
-
const
|
|
20
|
+
const Sa = {
|
|
20
21
|
beforeCreate() {
|
|
21
22
|
this.uuid = K.toString(), K += 1;
|
|
22
23
|
}
|
|
23
24
|
};
|
|
24
|
-
var
|
|
25
|
+
var Va = function() {
|
|
25
26
|
var a = this, i = a._self._c;
|
|
26
27
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", 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" } }), i("path", { attrs: { fill: "#00112C", d: "M2.75 12.5V10.25H1.25V12.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.5V10.25H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5Z" } })]);
|
|
27
|
-
},
|
|
28
|
-
Ma,
|
|
28
|
+
}, Da = [], Ha = /* @__PURE__ */ f(
|
|
29
29
|
Sa,
|
|
30
30
|
Va,
|
|
31
|
+
Da,
|
|
31
32
|
!1,
|
|
32
33
|
null,
|
|
33
34
|
null
|
|
34
35
|
);
|
|
35
|
-
const
|
|
36
|
+
const Oa = Ha.exports, Ba = /* @__PURE__ */ H({
|
|
36
37
|
__name: "file-uploader-file-card-animation",
|
|
37
38
|
props: {
|
|
38
39
|
name: null,
|
|
@@ -42,48 +43,48 @@ const Ha = Da.exports, Oa = /* @__PURE__ */ H({
|
|
|
42
43
|
return { __sfc: !0, isVue2: ma };
|
|
43
44
|
}
|
|
44
45
|
});
|
|
45
|
-
var
|
|
46
|
+
var qa = function() {
|
|
46
47
|
var a = this, i = a._self._c, t = a._self._setupProxy;
|
|
47
48
|
return t.isVue2 ? i("Transition", { attrs: { name: a.name, mode: "out-in", css: a.showFileIcon } }, [a._t("default")], 2) : i("TransitionGroup", { attrs: { name: a.name, css: a.showFileIcon } }, [a._t("default")], 2);
|
|
48
|
-
},
|
|
49
|
-
Oa,
|
|
49
|
+
}, Za = [], Ua = /* @__PURE__ */ f(
|
|
50
50
|
Ba,
|
|
51
51
|
qa,
|
|
52
|
+
Za,
|
|
52
53
|
!1,
|
|
53
54
|
null,
|
|
54
55
|
null
|
|
55
56
|
);
|
|
56
|
-
const
|
|
57
|
+
const Aa = Ua.exports;
|
|
57
58
|
let Q = 0;
|
|
58
|
-
const
|
|
59
|
+
const Pa = {
|
|
59
60
|
beforeCreate() {
|
|
60
61
|
this.uuid = Q.toString(), Q += 1;
|
|
61
62
|
}
|
|
62
63
|
};
|
|
63
|
-
var
|
|
64
|
+
var Na = function() {
|
|
64
65
|
var a = this, i = a._self._c;
|
|
65
66
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M7.25 6.25H5.75V12.75H7.25V6.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M8.75 6.25H10.25V12.75H8.75V6.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M14.75 3.24999H12.54L12.05 1.74999C11.9 1.29999 11.61 0.92999 11.22 0.64999C10.83 0.37999 10.34 0.24999 9.92 0.23999H6.09C5.64 0.23999 5.17 0.37999 4.78 0.64999C4.39 0.91999 4.11 1.29999 3.95 1.75999L3.46 3.23999H1.25V4.73999H2.32L3.14 13.7C3.19 14.26 3.45 14.78 3.86 15.16C4.27 15.54 4.81 15.75 5.37 15.75H10.64C11.2 15.75 11.74 15.54 12.15 15.16C12.57 14.78 12.82 14.26 12.87 13.7L13.69 4.73999H14.76V3.23999L14.75 3.24999ZM5.37 2.24999C5.42 2.09999 5.52 1.97999 5.64 1.88999C5.77 1.79999 5.92 1.74999 6.08 1.75999H9.93C10.08 1.75999 10.23 1.80999 10.35 1.88999C10.48 1.97999 10.57 2.09999 10.62 2.23999L10.95 3.25999H5.02L5.35 2.25999L5.37 2.24999ZM11.37 13.58C11.35 13.77 11.27 13.94 11.13 14.06C10.99 14.19 10.81 14.25 10.63 14.25H5.36C5.17 14.25 5 14.18 4.86 14.06C4.72 13.93 4.64 13.76 4.62 13.57L3.81 4.74999H12.17L11.36 13.57L11.37 13.58Z" } })]);
|
|
66
|
-
},
|
|
67
|
-
Aa,
|
|
67
|
+
}, Wa = [], Ga = /* @__PURE__ */ f(
|
|
68
68
|
Pa,
|
|
69
69
|
Na,
|
|
70
|
+
Wa,
|
|
70
71
|
!1,
|
|
71
72
|
null,
|
|
72
73
|
null
|
|
73
74
|
);
|
|
74
|
-
const
|
|
75
|
-
function
|
|
75
|
+
const Ya = Ga.exports;
|
|
76
|
+
function Xa(e, a) {
|
|
76
77
|
const i = b(!1);
|
|
77
78
|
let t;
|
|
78
|
-
function
|
|
79
|
+
function p() {
|
|
79
80
|
t && t.disconnect();
|
|
80
81
|
}
|
|
81
|
-
return
|
|
82
|
-
|
|
83
|
-
}),
|
|
84
|
-
|
|
85
|
-
(
|
|
86
|
-
i.value = !
|
|
82
|
+
return ka(() => {
|
|
83
|
+
p();
|
|
84
|
+
}), Ra(() => {
|
|
85
|
+
p(), t = new IntersectionObserver(
|
|
86
|
+
(o) => {
|
|
87
|
+
i.value = !o[0].isIntersecting;
|
|
87
88
|
},
|
|
88
89
|
{
|
|
89
90
|
root: a.value,
|
|
@@ -94,27 +95,21 @@ function Ya(e, a) {
|
|
|
94
95
|
}
|
|
95
96
|
const aa = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
|
|
96
97
|
function va(e, a) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
t /= 1e3, i++;
|
|
100
|
-
return new Intl.NumberFormat(e, {
|
|
98
|
+
const i = Math.max(0, Math.min(Math.floor(Math.log(a) / Math.log(1024)), aa.length - 1));
|
|
99
|
+
return Intl.NumberFormat(e, {
|
|
101
100
|
style: "unit",
|
|
102
|
-
unit: aa[i]
|
|
103
|
-
|
|
104
|
-
// Displays as "kB" instead of "kilobytes"
|
|
105
|
-
maximumFractionDigits: 2
|
|
106
|
-
// Limits to 2 decimal places
|
|
107
|
-
}).format(t);
|
|
101
|
+
unit: aa[i]
|
|
102
|
+
}).format(a / 1024 ** i);
|
|
108
103
|
}
|
|
109
104
|
var h = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(h || {}), x = /* @__PURE__ */ ((e) => (e.ERROR_SIZE = "error-size", e.ERROR_LOAD = "error-load", e.ERROR_DIMENSIONS = "error-dimensions", e.ERROR_TYPE = "error-type", e))(x || {}), D = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(D || {}), d = /* @__PURE__ */ ((e) => (e.TABLE = "table", e.IMAGE = "image", e.VIDEO = "video", e.AUDIO = "audio", e.TEXT = "text", e.PDF = "pdf", e.SLIDES = "slides", e.COMPRESSED = "compressed", e.GENERIC = "generic", e))(d || {});
|
|
110
|
-
const
|
|
105
|
+
const Ja = [
|
|
111
106
|
"application/msword",
|
|
112
107
|
// .doc
|
|
113
108
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
114
109
|
// .docx
|
|
115
110
|
"application/rtf"
|
|
116
111
|
// .rtf
|
|
117
|
-
],
|
|
112
|
+
], Ka = [
|
|
118
113
|
"application/vnd.ms-excel",
|
|
119
114
|
// .xls
|
|
120
115
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
@@ -127,14 +122,14 @@ const Xa = [
|
|
|
127
122
|
// .numbers
|
|
128
123
|
"text/csv"
|
|
129
124
|
// .csv
|
|
130
|
-
],
|
|
125
|
+
], Qa = [
|
|
131
126
|
"application/vnd.ms-powerpoint",
|
|
132
127
|
// .ppt
|
|
133
128
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
134
129
|
// .pptx
|
|
135
130
|
"application/vnd.oasis.opendocument.presentation"
|
|
136
131
|
// .odp
|
|
137
|
-
],
|
|
132
|
+
], ai = [
|
|
138
133
|
"application/zip",
|
|
139
134
|
// .zip
|
|
140
135
|
"application/vnd.rar",
|
|
@@ -156,10 +151,10 @@ const Xa = [
|
|
|
156
151
|
"application/vnd.ms-cab-compressed"
|
|
157
152
|
// .cab
|
|
158
153
|
];
|
|
159
|
-
function
|
|
160
|
-
return
|
|
154
|
+
function ii(e) {
|
|
155
|
+
return Ka.includes(e.type) ? d.TABLE : e.type.startsWith("text/") || Ja.includes(e.type) ? d.TEXT : e.type.startsWith("image/") ? d.IMAGE : e.type.startsWith("video/") ? d.VIDEO : e.type.startsWith("audio/") ? d.AUDIO : e.type === "application/pdf" ? d.PDF : Qa.includes(e.type) ? d.SLIDES : ai.includes(e.type) ? d.COMPRESSED : d.GENERIC;
|
|
161
156
|
}
|
|
162
|
-
function
|
|
157
|
+
function ti(e, a) {
|
|
163
158
|
if (!a)
|
|
164
159
|
return !0;
|
|
165
160
|
const i = a.split(",").map((t) => t.trim());
|
|
@@ -168,212 +163,212 @@ function ii(e, a) {
|
|
|
168
163
|
if (e.name.endsWith(t))
|
|
169
164
|
return !0;
|
|
170
165
|
} else if (t.endsWith("/*")) {
|
|
171
|
-
const
|
|
172
|
-
if (e.type.startsWith(
|
|
166
|
+
const p = t.split("/")[0];
|
|
167
|
+
if (e.type.startsWith(p))
|
|
173
168
|
return !0;
|
|
174
169
|
} else if (e.type === t)
|
|
175
170
|
return !0;
|
|
176
171
|
return !1;
|
|
177
172
|
}
|
|
178
|
-
function
|
|
179
|
-
const t = new FileReader(),
|
|
180
|
-
if (!
|
|
181
|
-
|
|
173
|
+
function ei(e, a, i) {
|
|
174
|
+
const t = new FileReader(), p = e;
|
|
175
|
+
if (!ti(p.data, a)) {
|
|
176
|
+
p.state = h.ERROR, p.errors.push(x.ERROR_TYPE);
|
|
182
177
|
return;
|
|
183
178
|
}
|
|
184
|
-
t.onload = (
|
|
185
|
-
if (i &&
|
|
186
|
-
const l = new Blob([
|
|
179
|
+
t.onload = (o) => {
|
|
180
|
+
if (i && p.type === d.IMAGE) {
|
|
181
|
+
const l = new Blob([o.target.result], { type: p.data.type }), c = URL.createObjectURL(l), r = new Image();
|
|
187
182
|
r.onload = function() {
|
|
188
|
-
(r.width > i.width || r.height > i.height) && (
|
|
183
|
+
(r.width > i.width || r.height > i.height) && (p.state = h.ERROR, p.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(c);
|
|
189
184
|
}, r.onerror = function() {
|
|
190
185
|
URL.revokeObjectURL(c);
|
|
191
186
|
}, r.src = c;
|
|
192
187
|
}
|
|
193
|
-
}, t.onprogress = (
|
|
194
|
-
|
|
188
|
+
}, t.onprogress = (o) => {
|
|
189
|
+
o.lengthComputable && (p.progress = o.loaded / o.total * 100);
|
|
195
190
|
}, t.onloadend = () => {
|
|
196
|
-
|
|
191
|
+
p.state !== h.ERROR && (p.state = h.SUCCESS), p.progress = null;
|
|
197
192
|
}, t.onerror = () => {
|
|
198
|
-
|
|
199
|
-
}, t.readAsArrayBuffer(
|
|
193
|
+
p.state = h.ERROR, p.errors.push(x.ERROR_LOAD), p.progress = null;
|
|
194
|
+
}, t.readAsArrayBuffer(p.data);
|
|
200
195
|
}
|
|
201
196
|
let ia = 0;
|
|
202
|
-
const
|
|
197
|
+
const ni = {
|
|
203
198
|
beforeCreate() {
|
|
204
199
|
this.uuid = ia.toString(), ia += 1;
|
|
205
200
|
}
|
|
206
201
|
};
|
|
207
|
-
var
|
|
202
|
+
var oi = function() {
|
|
208
203
|
var a = this, i = a._self._c;
|
|
209
204
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("g", { attrs: { "clip-path": "url(#uia-icons-16-attachment__a" + a.uuid + ")" } }, [i("path", { attrs: { fill: "#00112C", 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" } })]), i("defs", [i("clipPath", { attrs: { id: "uia-icons-16-attachment__a" + a.uuid } }, [i("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
210
|
-
}, pi = [],
|
|
211
|
-
ei,
|
|
205
|
+
}, pi = [], li = /* @__PURE__ */ f(
|
|
212
206
|
ni,
|
|
207
|
+
oi,
|
|
213
208
|
pi,
|
|
214
209
|
!1,
|
|
215
210
|
null,
|
|
216
211
|
null
|
|
217
212
|
);
|
|
218
|
-
const
|
|
213
|
+
const si = li.exports;
|
|
219
214
|
let ta = 0;
|
|
220
|
-
const
|
|
215
|
+
const ci = {
|
|
221
216
|
beforeCreate() {
|
|
222
217
|
this.uuid = ta.toString(), ta += 1;
|
|
223
218
|
}
|
|
224
219
|
};
|
|
225
|
-
var
|
|
220
|
+
var ri = function() {
|
|
226
221
|
var a = this, i = a._self._c;
|
|
227
222
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", 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" } })]);
|
|
228
|
-
},
|
|
229
|
-
si,
|
|
223
|
+
}, di = [], mi = /* @__PURE__ */ f(
|
|
230
224
|
ci,
|
|
231
225
|
ri,
|
|
226
|
+
di,
|
|
232
227
|
!1,
|
|
233
228
|
null,
|
|
234
229
|
null
|
|
235
230
|
);
|
|
236
|
-
const
|
|
231
|
+
const vi = mi.exports;
|
|
237
232
|
let ea = 0;
|
|
238
|
-
const
|
|
233
|
+
const ui = {
|
|
239
234
|
beforeCreate() {
|
|
240
235
|
this.uuid = ea.toString(), ea += 1;
|
|
241
236
|
}
|
|
242
237
|
};
|
|
243
|
-
var
|
|
238
|
+
var fi = function() {
|
|
244
239
|
var a = this, i = a._self._c;
|
|
245
|
-
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "
|
|
246
|
-
},
|
|
247
|
-
vi,
|
|
240
|
+
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", 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" } })]);
|
|
241
|
+
}, xi = [], gi = /* @__PURE__ */ f(
|
|
248
242
|
ui,
|
|
249
243
|
fi,
|
|
244
|
+
xi,
|
|
250
245
|
!1,
|
|
251
246
|
null,
|
|
252
247
|
null
|
|
253
248
|
);
|
|
254
|
-
const
|
|
249
|
+
const hi = gi.exports;
|
|
255
250
|
let na = 0;
|
|
256
|
-
const
|
|
251
|
+
const _i = {
|
|
257
252
|
beforeCreate() {
|
|
258
253
|
this.uuid = na.toString(), na += 1;
|
|
259
254
|
}
|
|
260
255
|
};
|
|
261
|
-
var
|
|
256
|
+
var bi = function() {
|
|
262
257
|
var a = this, i = a._self._c;
|
|
263
|
-
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "
|
|
264
|
-
},
|
|
265
|
-
hi,
|
|
258
|
+
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", d: "M5.24609 8.25H10.7461V9.75H5.24609V8.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M10.7461 11.25H5.24609V12.75H10.7461V11.25Z" } }), i("path", { attrs: { fill: "#00112C", 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" } })]);
|
|
259
|
+
}, wi = [], Ci = /* @__PURE__ */ f(
|
|
266
260
|
_i,
|
|
267
261
|
bi,
|
|
262
|
+
wi,
|
|
268
263
|
!1,
|
|
269
264
|
null,
|
|
270
265
|
null
|
|
271
266
|
);
|
|
272
|
-
const
|
|
273
|
-
let
|
|
274
|
-
const
|
|
267
|
+
const yi = Ci.exports;
|
|
268
|
+
let oa = 0;
|
|
269
|
+
const ki = {
|
|
275
270
|
beforeCreate() {
|
|
276
|
-
this.uuid =
|
|
271
|
+
this.uuid = oa.toString(), oa += 1;
|
|
277
272
|
}
|
|
278
273
|
};
|
|
279
|
-
var
|
|
274
|
+
var Ri = function() {
|
|
280
275
|
var a = this, i = a._self._c;
|
|
281
276
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", 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" } })]);
|
|
282
|
-
},
|
|
283
|
-
yi,
|
|
277
|
+
}, ji = [], zi = /* @__PURE__ */ f(
|
|
284
278
|
ki,
|
|
285
279
|
Ri,
|
|
280
|
+
ji,
|
|
286
281
|
!1,
|
|
287
282
|
null,
|
|
288
283
|
null
|
|
289
284
|
);
|
|
290
|
-
const
|
|
291
|
-
let
|
|
292
|
-
const
|
|
285
|
+
const Ei = zi.exports;
|
|
286
|
+
let pa = 0;
|
|
287
|
+
const $i = {
|
|
293
288
|
beforeCreate() {
|
|
294
|
-
this.uuid =
|
|
289
|
+
this.uuid = pa.toString(), pa += 1;
|
|
295
290
|
}
|
|
296
291
|
};
|
|
297
|
-
var
|
|
292
|
+
var Li = function() {
|
|
298
293
|
var a = this, i = a._self._c;
|
|
299
294
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", 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" } }), i("path", { attrs: { fill: "#00112C", d: "M1.24609 3.49805C1.24609 2.25541 2.25345 1.24805 3.49609 1.24805H12.4961C13.7387 1.24805 14.7461 2.25541 14.7461 3.49805V12.498C14.7461 13.7407 13.7387 14.748 12.4961 14.748H3.49609C2.25345 14.748 1.24609 13.7407 1.24609 12.498V3.49805ZM3.49609 2.74805C3.08188 2.74805 2.74609 3.08383 2.74609 3.49805V6.68756L3.99615 5.4375L11.8067 13.248H12.4961C12.9103 13.248 13.2461 12.9123 13.2461 12.498V3.49805C13.2461 3.08383 12.9103 2.74805 12.4961 2.74805H3.49609ZM2.74609 12.498C2.74609 12.9123 3.08188 13.248 3.49609 13.248H9.68538L3.99615 7.55882L2.74609 8.80888V12.498Z" } })]);
|
|
300
|
-
},
|
|
301
|
-
Ei,
|
|
295
|
+
}, Ii = [], Ti = /* @__PURE__ */ f(
|
|
302
296
|
$i,
|
|
303
297
|
Li,
|
|
298
|
+
Ii,
|
|
304
299
|
!1,
|
|
305
300
|
null,
|
|
306
301
|
null
|
|
307
302
|
);
|
|
308
|
-
const
|
|
303
|
+
const Fi = Ti.exports;
|
|
309
304
|
let la = 0;
|
|
310
|
-
const
|
|
305
|
+
const Mi = {
|
|
311
306
|
beforeCreate() {
|
|
312
307
|
this.uuid = la.toString(), la += 1;
|
|
313
308
|
}
|
|
314
309
|
};
|
|
315
|
-
var
|
|
310
|
+
var Si = function() {
|
|
316
311
|
var a = this, i = a._self._c;
|
|
317
312
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-play_circle__a" + a.uuid + ")" } }, [i("path", { attrs: { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" } }), i("path", { attrs: { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" } })]), i("defs", [i("clipPath", { attrs: { id: "uia-icons-16-play_circle__a" + a.uuid } }, [i("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
318
|
-
},
|
|
319
|
-
Fi,
|
|
313
|
+
}, Vi = [], Di = /* @__PURE__ */ f(
|
|
320
314
|
Mi,
|
|
321
315
|
Si,
|
|
316
|
+
Vi,
|
|
322
317
|
!1,
|
|
323
318
|
null,
|
|
324
319
|
null
|
|
325
320
|
);
|
|
326
|
-
const
|
|
321
|
+
const Hi = Di.exports;
|
|
327
322
|
let sa = 0;
|
|
328
|
-
const
|
|
323
|
+
const Oi = {
|
|
329
324
|
beforeCreate() {
|
|
330
325
|
this.uuid = sa.toString(), sa += 1;
|
|
331
326
|
}
|
|
332
327
|
};
|
|
333
|
-
var
|
|
328
|
+
var Bi = function() {
|
|
334
329
|
var a = this, i = a._self._c;
|
|
335
330
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", 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" } }), i("path", { attrs: { fill: "#00112C", d: "M13.0111 4.99174C12.2099 4.19982 11.1294 3.75 10 3.75V2.25C11.53 2.25 12.9888 2.85964 14.0675 3.92684L14.0703 3.92966C15.1527 5.01199 15.75 6.47347 15.75 8C15.75 9.52995 15.1404 10.9888 14.0732 12.0675L14.0703 12.0703C12.988 13.1527 11.5265 13.75 10 13.75V12.25C11.1328 12.25 12.2107 11.8079 13.0082 11.0111C13.8002 10.21 14.25 9.1294 14.25 8C14.25 6.8672 13.8079 5.78927 13.0111 4.99174Z" } }), i("path", { attrs: { fill: "#00112C", d: "M10 6.75V5.25C10.7257 5.25 11.4295 5.53694 11.9438 6.06319C12.4593 6.58041 12.75 7.26849 12.75 8C12.75 8.72573 12.4631 9.42951 11.9368 9.94383C11.4196 10.4593 10.7315 10.75 10 10.75V9.25C10.3268 9.25 10.6373 9.12206 10.8797 8.87967L10.8868 8.87265C11.1182 8.64727 11.25 8.33261 11.25 8C11.25 7.67317 11.1221 7.36272 10.8797 7.12033L10.8726 7.11321C10.6473 6.88175 10.3326 6.75 10 6.75Z" } })]);
|
|
336
|
-
},
|
|
337
|
-
Hi,
|
|
331
|
+
}, qi = [], Zi = /* @__PURE__ */ f(
|
|
338
332
|
Oi,
|
|
339
333
|
Bi,
|
|
334
|
+
qi,
|
|
340
335
|
!1,
|
|
341
336
|
null,
|
|
342
337
|
null
|
|
343
338
|
);
|
|
344
|
-
const
|
|
339
|
+
const Ui = Zi.exports;
|
|
345
340
|
let ca = 0;
|
|
346
|
-
const
|
|
341
|
+
const Ai = {
|
|
347
342
|
beforeCreate() {
|
|
348
343
|
this.uuid = ca.toString(), ca += 1;
|
|
349
344
|
}
|
|
350
345
|
};
|
|
351
|
-
var
|
|
346
|
+
var Pi = function() {
|
|
352
347
|
var a = this, i = a._self._c;
|
|
353
348
|
return i("svg", a._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", a.$attrs, !1), [a.$attrs["svg-title"] ? i("title", [a._v(a._s(a.$attrs["svg-title"]))]) : a._e(), i("path", { attrs: { fill: "#00112C", 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" } })]);
|
|
354
|
-
},
|
|
355
|
-
Ui,
|
|
349
|
+
}, Ni = [], Wi = /* @__PURE__ */ f(
|
|
356
350
|
Ai,
|
|
357
351
|
Pi,
|
|
352
|
+
Ni,
|
|
358
353
|
!1,
|
|
359
354
|
null,
|
|
360
355
|
null
|
|
361
356
|
);
|
|
362
|
-
const
|
|
363
|
-
[d.AUDIO]:
|
|
364
|
-
[d.COMPRESSED]:
|
|
365
|
-
[d.GENERIC]:
|
|
366
|
-
[d.IMAGE]:
|
|
367
|
-
[d.PDF]:
|
|
368
|
-
[d.SLIDES]:
|
|
369
|
-
[d.TABLE]:
|
|
370
|
-
[d.TEXT]:
|
|
371
|
-
[d.VIDEO]:
|
|
357
|
+
const Gi = Wi.exports, Yi = {
|
|
358
|
+
[d.AUDIO]: Ui,
|
|
359
|
+
[d.COMPRESSED]: Ei,
|
|
360
|
+
[d.GENERIC]: si,
|
|
361
|
+
[d.IMAGE]: Fi,
|
|
362
|
+
[d.PDF]: hi,
|
|
363
|
+
[d.SLIDES]: vi,
|
|
364
|
+
[d.TABLE]: Gi,
|
|
365
|
+
[d.TEXT]: yi,
|
|
366
|
+
[d.VIDEO]: Hi
|
|
372
367
|
};
|
|
373
|
-
function Yi(e) {
|
|
374
|
-
return Gi[e.type];
|
|
375
|
-
}
|
|
376
368
|
function Xi(e) {
|
|
369
|
+
return Yi[e.type];
|
|
370
|
+
}
|
|
371
|
+
function Ji(e) {
|
|
377
372
|
switch (e.type) {
|
|
378
373
|
case d.COMPRESSED:
|
|
379
374
|
case d.GENERIC:
|
|
@@ -387,7 +382,7 @@ function Xi(e) {
|
|
|
387
382
|
return "green";
|
|
388
383
|
}
|
|
389
384
|
}
|
|
390
|
-
const
|
|
385
|
+
const Ki = {
|
|
391
386
|
"en-US": {
|
|
392
387
|
cancel: "Cancel",
|
|
393
388
|
fileExceedsSizeLimit: "File exceeds size limit",
|
|
@@ -406,23 +401,23 @@ const Ji = {
|
|
|
406
401
|
remove: "Remover",
|
|
407
402
|
retry: "Tentar novamente"
|
|
408
403
|
}
|
|
409
|
-
},
|
|
404
|
+
}, Qi = {
|
|
410
405
|
name: "file-uploader-file-card",
|
|
411
|
-
i18n: { messages:
|
|
412
|
-
},
|
|
413
|
-
...
|
|
406
|
+
i18n: { messages: Ki }
|
|
407
|
+
}, at = /* @__PURE__ */ H({
|
|
408
|
+
...Qi,
|
|
414
409
|
props: {
|
|
415
410
|
file: null,
|
|
416
411
|
supportedFileTypes: { default: null }
|
|
417
412
|
},
|
|
418
413
|
emits: ["cancel", "remove", "retry"],
|
|
419
414
|
setup(e, { emit: a }) {
|
|
420
|
-
const i = e, t = 1200, { t:
|
|
415
|
+
const i = e, t = 1200, { t: p, locale: o } = O(), l = b(i.file.state === h.SUCCESS), c = m(() => URL.createObjectURL(i.file.data)), r = m(() => i.file.state === h.ERROR), v = m(() => i.file.errors.includes(x.ERROR_LOAD)), w = m(() => i.file.errors.includes(x.ERROR_SIZE)), C = m(() => i.file.errors.includes(x.ERROR_DIMENSIONS)), k = m(() => i.file.errors.includes(x.ERROR_TYPE)), E = m(() => i.file.state === h.LOADING), B = m(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), R = m(() => va(o.value, i.file.data.size)), L = b(), j = b(), q = Xa(L, j), I = m(() => ({
|
|
421
416
|
"b-file-uploader-file-card--error": r.value
|
|
422
417
|
})), T = m(() => ({
|
|
423
|
-
[`b-file-uploader-file-card__icon--${
|
|
418
|
+
[`b-file-uploader-file-card__icon--${Ji(i.file)}`]: l.value,
|
|
424
419
|
"b-file-uploader-file-card__icon--error": r.value
|
|
425
|
-
})), F = m(() => E.value ?
|
|
420
|
+
})), F = m(() => E.value ? Ia : r.value ? ra : l.value ? Xi(i.file) : za);
|
|
426
421
|
return N(
|
|
427
422
|
() => i.file.state,
|
|
428
423
|
(M) => {
|
|
@@ -432,33 +427,33 @@ const Ji = {
|
|
|
432
427
|
}, t);
|
|
433
428
|
}
|
|
434
429
|
}
|
|
435
|
-
), { __sfc: !0, ICON_TIMER: t, props: i, emit: a, t:
|
|
430
|
+
), { __sfc: !0, ICON_TIMER: t, props: i, emit: a, t: p, locale: o, showFileIcon: l, downloadUrl: c, hasError: r, hasLoadError: v, hasSizeError: w, hasDimensionsError: C, hasTypeError: k, isLoading: E, progressLabel: B, sizeLabel: R, fileNameRef: L, fileNameContainerRef: j, isFileNameTruncated: q, conditionalClasses: I, conditionalIconClasses: T, fileUploaderIcon: F, isVue2: ma, FileUploaderFileCardAnimation: Aa, BinIcon: Ya, CrossIcon: Ea, RefreshIcon: $a, vBentoTooltipDirective: Ta, BentoButton: da, BentoLink: La, BentoTypography: G };
|
|
436
431
|
}
|
|
437
432
|
});
|
|
438
|
-
var
|
|
433
|
+
var it = function() {
|
|
439
434
|
var a = this, i = a._self._c, t = a._self._setupProxy;
|
|
440
|
-
return i("div", { staticClass: "b-file-uploader-file-card", class: t.conditionalClasses }, [i("div", { staticClass: "b-file-uploader-file-card__details" }, [i("div", { staticClass: "b-file-uploader-file-card__info" }, [i(t.FileUploaderFileCardAnimation, { attrs: { name: t.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": t.showFileIcon } }, [i(t.fileUploaderIcon, { key: JSON.stringify(t.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: t.conditionalIconClasses, attrs: { small: "", "data-testid": "file-uploader-item-icon" } })], 1), i("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [i(t.BentoLink, { attrs: { download: a.file.data.name, to: t.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [i(t.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: t.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? i(t.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(t.progressLabel))]) : a.file.data.size ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { el: "span" } }, [a._v(a._s(t.sizeLabel))]) : a._e()], 1), t.hasSizeError ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("fileExceedsSizeLimit")) + " ")]) : a._e(), t.hasDimensionsError ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), t.hasTypeError && a.supportedFileTypes ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1), i("div", { staticClass: "b-file-uploader-file-card__actions" }, [t.hasLoadError ? i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(
|
|
435
|
+
return i("div", { staticClass: "b-file-uploader-file-card", class: t.conditionalClasses }, [i("div", { staticClass: "b-file-uploader-file-card__details" }, [i("div", { staticClass: "b-file-uploader-file-card__info" }, [i(t.FileUploaderFileCardAnimation, { attrs: { name: t.isVue2 ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3", "show-file-icon": t.showFileIcon } }, [i(t.fileUploaderIcon, { key: JSON.stringify(t.fileUploaderIcon), tag: "component", staticClass: "b-file-uploader-file-card__icon", class: t.conditionalIconClasses, attrs: { small: "", "data-testid": "file-uploader-item-icon" } })], 1), i("div", { ref: "fileNameContainerRef", staticClass: "b-file-uploader-file-card__file-name" }, [i(t.BentoLink, { attrs: { download: a.file.data.name, to: t.downloadUrl, "disable-typography": "", "is-not-routing": "", variant: "quiet" } }, [i(t.BentoTypography, { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive", value: t.isFileNameTruncated ? a.file.data.name : null, expression: "isFileNameTruncated ? file.data.name : null" }], ref: "fileNameRef", attrs: { stronger: "", el: "span" } }, [a._v(" " + a._s(a.file.data.name) + " ")])], 1)], 1), a.file.progress ? i(t.BentoTypography, { attrs: { el: "span" } }, [a._v(a._s(t.progressLabel))]) : a.file.data.size ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__file-size", attrs: { el: "span" } }, [a._v(a._s(t.sizeLabel))]) : a._e()], 1), t.hasSizeError ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("fileExceedsSizeLimit")) + " ")]) : a._e(), t.hasDimensionsError ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("imageDimensionsExceedLimits")) + " ")]) : a._e(), t.hasTypeError && a.supportedFileTypes ? i(t.BentoTypography, { staticClass: "b-file-uploader-file-card__error-message" }, [a._v(" " + a._s(t.t("fileTypeMustBe", { list: a.supportedFileTypes })) + " ")]) : a._e()], 1), i("div", { staticClass: "b-file-uploader-file-card__actions" }, [t.hasLoadError ? i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(p) {
|
|
441
436
|
return t.emit("retry");
|
|
442
437
|
} }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
|
|
443
438
|
return [i(t.RefreshIcon, { attrs: { "svg-title": t.t("retry") } })];
|
|
444
|
-
}, proxy: !0 }], null, !1, 3564309296) }, [a._v(" " + a._s(t.t("retry")) + " ")]) : a._e(), t.isLoading || t.hasError ? i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(
|
|
439
|
+
}, proxy: !0 }], null, !1, 3564309296) }, [a._v(" " + a._s(t.t("retry")) + " ")]) : a._e(), t.isLoading || t.hasError ? i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(p) {
|
|
445
440
|
return t.emit("cancel");
|
|
446
441
|
} }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
|
|
447
442
|
return [i(t.CrossIcon, { attrs: { "svg-title": t.t("cancel") } })];
|
|
448
|
-
}, proxy: !0 }], null, !1, 1692450141) }) : i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(
|
|
443
|
+
}, proxy: !0 }], null, !1, 1692450141) }) : i(t.BentoButton, { attrs: { variant: "tertiary" }, on: { click: function(p) {
|
|
449
444
|
return t.emit("remove");
|
|
450
445
|
} }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
|
|
451
446
|
return [i(t.BinIcon, { attrs: { "svg-title": t.t("remove") } })];
|
|
452
447
|
}, proxy: !0 }]) })], 1)]);
|
|
453
|
-
},
|
|
454
|
-
Qi,
|
|
448
|
+
}, tt = [], et = /* @__PURE__ */ f(
|
|
455
449
|
at,
|
|
456
450
|
it,
|
|
451
|
+
tt,
|
|
457
452
|
!1,
|
|
458
453
|
null,
|
|
459
454
|
"56f32ebc"
|
|
460
455
|
);
|
|
461
|
-
const
|
|
456
|
+
const nt = et.exports, ot = {
|
|
462
457
|
"en-US": {
|
|
463
458
|
maxFileSize: "Max file size: {size}",
|
|
464
459
|
maxImageDimensions: "Max image dimensions: {width} × {height}px",
|
|
@@ -468,8 +463,8 @@ const et = tt.exports, nt = {
|
|
|
468
463
|
supportedFileTypes: "Supported file types: {list}"
|
|
469
464
|
}
|
|
470
465
|
}, pt = {
|
|
471
|
-
i18n: { messages:
|
|
472
|
-
},
|
|
466
|
+
i18n: { messages: ot }
|
|
467
|
+
}, lt = /* @__PURE__ */ H({
|
|
473
468
|
...pt,
|
|
474
469
|
__name: "file-uploader-restrictions",
|
|
475
470
|
props: {
|
|
@@ -481,7 +476,7 @@ const et = tt.exports, nt = {
|
|
|
481
476
|
supportedFileTypes: { default: null }
|
|
482
477
|
},
|
|
483
478
|
setup(e) {
|
|
484
|
-
const a = e, { t: i, tc: t, locale:
|
|
479
|
+
const a = e, { t: i, tc: t, locale: p } = O(), o = m(() => ({
|
|
485
480
|
"b-file-uploader-restrictions--condensed": a.condensed,
|
|
486
481
|
"b-file-uploader-restrictions--disabled": a.disabled
|
|
487
482
|
}));
|
|
@@ -498,65 +493,21 @@ const et = tt.exports, nt = {
|
|
|
498
493
|
} = a.maxDimensions;
|
|
499
494
|
return r && v ? i("maxImageDimensions", { width: r, height: v }) : r ? i("maxImageWidth", { width: r }) : v ? i("maxImageHeight", { height: v }) : null;
|
|
500
495
|
});
|
|
501
|
-
return { __sfc: !0, props: a, t: i, tc: t, locale:
|
|
496
|
+
return { __sfc: !0, props: a, t: i, tc: t, locale: p, conditionalClasses: o, setRestrictionErrorClass: l, maxDimensionsLabel: c, BentoTypography: G, formatFileSize: va };
|
|
502
497
|
}
|
|
503
498
|
});
|
|
504
|
-
var
|
|
499
|
+
var st = function() {
|
|
505
500
|
var a = this, i = a._self._c, t = a._self._setupProxy;
|
|
506
501
|
return i("div", { staticClass: "b-file-uploader-restrictions", class: t.conditionalClasses }, [a.supportedFileTypes ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.supportedFileTypes.error) }, [a._v(" " + a._s(t.t("supportedFileTypes", { list: a.supportedFileTypes.value })) + " ")]) : a._e(), a.maxSize ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.maxSize.error) }, [a._v(" " + a._s(t.t("maxFileSize", { size: t.formatFileSize(t.locale, a.maxSize.value) })) + " ")]) : a._e(), a.maxDimensions ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.maxDimensions.error) }, [a._v(" " + a._s(t.maxDimensionsLabel) + " ")]) : a._e(), a.maxCount ? i(t.BentoTypography, { class: t.setRestrictionErrorClass(a.maxCount.error) }, [a._v(" " + a._s(t.tc("maxUpload", a.maxCount.value)) + " ")]) : a._e()], 1);
|
|
507
|
-
},
|
|
508
|
-
ot,
|
|
502
|
+
}, ct = [], rt = /* @__PURE__ */ f(
|
|
509
503
|
lt,
|
|
510
504
|
st,
|
|
505
|
+
ct,
|
|
511
506
|
!1,
|
|
512
507
|
null,
|
|
513
508
|
"3c1d05d1"
|
|
514
509
|
);
|
|
515
|
-
const
|
|
516
|
-
function dt(e) {
|
|
517
|
-
const { locale: a, t: i } = O();
|
|
518
|
-
return { supportedFileTypeList: m(() => {
|
|
519
|
-
const o = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
|
|
520
|
-
return e != null && e.value ? o.format(
|
|
521
|
-
e.value.split(",").map((p) => {
|
|
522
|
-
const l = p.trim();
|
|
523
|
-
switch (l) {
|
|
524
|
-
case "audio/*":
|
|
525
|
-
return i("audioFiles");
|
|
526
|
-
case "image/*":
|
|
527
|
-
return i("imageFiles");
|
|
528
|
-
case "video/*":
|
|
529
|
-
return i("videoFiles");
|
|
530
|
-
default:
|
|
531
|
-
return l.toUpperCase();
|
|
532
|
-
}
|
|
533
|
-
})
|
|
534
|
-
) : null;
|
|
535
|
-
}) };
|
|
536
|
-
}
|
|
537
|
-
const mt = {
|
|
538
|
-
"en-US": {
|
|
539
|
-
audioFiles: "audio files",
|
|
540
|
-
browseFiles: "Browse files",
|
|
541
|
-
dropArea: "Drop area",
|
|
542
|
-
dropFiles: "Drop file to upload | Drop files to upload",
|
|
543
|
-
fileExceedsSizeLimit: "File exceeds size limit",
|
|
544
|
-
imageFiles: "image files",
|
|
545
|
-
tooManyFiles: "Too many files",
|
|
546
|
-
upload: "Upload",
|
|
547
|
-
videoFiles: "video files",
|
|
548
|
-
warning: "Warning",
|
|
549
|
-
youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
|
|
550
|
-
},
|
|
551
|
-
"ja-JP": {
|
|
552
|
-
upload: "アップロード",
|
|
553
|
-
warning: "警告"
|
|
554
|
-
},
|
|
555
|
-
"pt-BR": {
|
|
556
|
-
upload: "Carregar",
|
|
557
|
-
warning: "Aviso"
|
|
558
|
-
}
|
|
559
|
-
}, ua = {
|
|
510
|
+
const dt = rt.exports, ua = {
|
|
560
511
|
"application/prs.cww": ["cww"],
|
|
561
512
|
"application/prs.xsf+xml": ["xsf"],
|
|
562
513
|
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
@@ -1614,20 +1565,20 @@ var g = function(e, a, i, t) {
|
|
|
1614
1565
|
if (typeof a == "function" ? e !== a || !t : !a.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1615
1566
|
return i === "m" ? t : i === "a" ? t.call(e) : t ? t.value : a.get(e);
|
|
1616
1567
|
}, z, $, y;
|
|
1617
|
-
class
|
|
1568
|
+
class mt {
|
|
1618
1569
|
constructor(...a) {
|
|
1619
1570
|
z.set(this, /* @__PURE__ */ new Map()), $.set(this, /* @__PURE__ */ new Map()), y.set(this, /* @__PURE__ */ new Map());
|
|
1620
1571
|
for (const i of a)
|
|
1621
1572
|
this.define(i);
|
|
1622
1573
|
}
|
|
1623
1574
|
define(a, i = !1) {
|
|
1624
|
-
for (let [t,
|
|
1625
|
-
t = t.toLowerCase(),
|
|
1626
|
-
const
|
|
1575
|
+
for (let [t, p] of Object.entries(a)) {
|
|
1576
|
+
t = t.toLowerCase(), p = p.map((c) => c.toLowerCase()), g(this, y, "f").has(t) || g(this, y, "f").set(t, /* @__PURE__ */ new Set());
|
|
1577
|
+
const o = g(this, y, "f").get(t);
|
|
1627
1578
|
let l = !0;
|
|
1628
|
-
for (let c of
|
|
1579
|
+
for (let c of p) {
|
|
1629
1580
|
const r = c.startsWith("*");
|
|
1630
|
-
if (c = r ? c.slice(1) : c,
|
|
1581
|
+
if (c = r ? c.slice(1) : c, o == null || o.add(c), l && g(this, $, "f").set(t, c), l = !1, r)
|
|
1631
1582
|
continue;
|
|
1632
1583
|
const v = g(this, z, "f").get(c);
|
|
1633
1584
|
if (v && v != t && !i)
|
|
@@ -1640,8 +1591,8 @@ class vt {
|
|
|
1640
1591
|
getType(a) {
|
|
1641
1592
|
if (typeof a != "string")
|
|
1642
1593
|
return null;
|
|
1643
|
-
const i = a.replace(/^.*[/\\]/, "").toLowerCase(), t = i.replace(/^.*\./, "").toLowerCase(),
|
|
1644
|
-
return !(t.length < i.length - 1) &&
|
|
1594
|
+
const i = a.replace(/^.*[/\\]/, "").toLowerCase(), t = i.replace(/^.*\./, "").toLowerCase(), p = i.length < a.length;
|
|
1595
|
+
return !(t.length < i.length - 1) && p ? null : g(this, z, "f").get(t) ?? null;
|
|
1645
1596
|
}
|
|
1646
1597
|
getExtension(a) {
|
|
1647
1598
|
var i;
|
|
@@ -1666,11 +1617,57 @@ class vt {
|
|
|
1666
1617
|
}
|
|
1667
1618
|
}
|
|
1668
1619
|
z = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap();
|
|
1669
|
-
const
|
|
1670
|
-
function
|
|
1671
|
-
return
|
|
1620
|
+
const xa = new mt(fa, ua)._freeze();
|
|
1621
|
+
function vt(e) {
|
|
1622
|
+
return e.includes("/") ? `.${xa.getExtension(e).toUpperCase()}` : e.toUpperCase();
|
|
1623
|
+
}
|
|
1624
|
+
function ut(e) {
|
|
1625
|
+
const { locale: a, t: i } = O();
|
|
1626
|
+
return { supportedFileTypeList: m(() => {
|
|
1627
|
+
const p = new Intl.ListFormat(a.value, { style: "short", type: "unit" });
|
|
1628
|
+
return e != null && e.value ? p.format(
|
|
1629
|
+
e.value.split(",").map((o) => {
|
|
1630
|
+
switch (o.trim()) {
|
|
1631
|
+
case "audio/*":
|
|
1632
|
+
return i("audioFiles");
|
|
1633
|
+
case "image/*":
|
|
1634
|
+
return i("imageFiles");
|
|
1635
|
+
case "video/*":
|
|
1636
|
+
return i("videoFiles");
|
|
1637
|
+
default:
|
|
1638
|
+
return vt(o);
|
|
1639
|
+
}
|
|
1640
|
+
})
|
|
1641
|
+
) : null;
|
|
1642
|
+
}) };
|
|
1643
|
+
}
|
|
1644
|
+
const ft = {
|
|
1645
|
+
"en-US": {
|
|
1646
|
+
audioFiles: "audio files",
|
|
1647
|
+
browseFiles: "Browse files",
|
|
1648
|
+
dropArea: "Drop area",
|
|
1649
|
+
dropFiles: "Drop file to upload | Drop files to upload",
|
|
1650
|
+
fileExceedsSizeLimit: "File exceeds size limit",
|
|
1651
|
+
imageFiles: "image files",
|
|
1652
|
+
tooManyFiles: "Too many files",
|
|
1653
|
+
upload: "Upload",
|
|
1654
|
+
videoFiles: "video files",
|
|
1655
|
+
warning: "Warning",
|
|
1656
|
+
youHaveExceededTheMaximum: "You have exceeded the maximum limit of {count} files. Please remove some files before proceeding."
|
|
1657
|
+
},
|
|
1658
|
+
"ja-JP": {
|
|
1659
|
+
upload: "アップロード",
|
|
1660
|
+
warning: "警告"
|
|
1661
|
+
},
|
|
1662
|
+
"pt-BR": {
|
|
1663
|
+
upload: "Carregar",
|
|
1664
|
+
warning: "Aviso"
|
|
1665
|
+
}
|
|
1666
|
+
};
|
|
1667
|
+
function xt(e) {
|
|
1668
|
+
return xa.getType(e) ?? e;
|
|
1672
1669
|
}
|
|
1673
|
-
function
|
|
1670
|
+
function gt({ maxCount: e, accept: a }) {
|
|
1674
1671
|
const i = W({
|
|
1675
1672
|
invalidTypes: !1,
|
|
1676
1673
|
partiallyInvalidTypes: !1,
|
|
@@ -1678,16 +1675,16 @@ function xt({ maxCount: e, accept: a }) {
|
|
|
1678
1675
|
}), t = W({
|
|
1679
1676
|
dragging: !1,
|
|
1680
1677
|
error: !1
|
|
1681
|
-
}),
|
|
1682
|
-
function
|
|
1678
|
+
}), p = m(() => a.value ? a.value.split(",").map((r) => xt(r.trim().toLocaleLowerCase())) : void 0);
|
|
1679
|
+
function o() {
|
|
1683
1680
|
t.dragging = !1, t.error = !1, i.invalidTypes = !1, i.partiallyInvalidTypes = !1, i.maxCountOverflow = !1;
|
|
1684
1681
|
}
|
|
1685
1682
|
function l(c, r) {
|
|
1686
|
-
if (t.dragging = !0, (!r.dataTransfer.types.includes("Files") || c > e.value) && (i.maxCountOverflow = !0, t.error = !0), !
|
|
1683
|
+
if (t.dragging = !0, (!r.dataTransfer.types.includes("Files") || c > e.value) && (i.maxCountOverflow = !0, t.error = !0), !p.value)
|
|
1687
1684
|
return;
|
|
1688
1685
|
let v = 0;
|
|
1689
1686
|
for (const w of r.dataTransfer.items)
|
|
1690
|
-
|
|
1687
|
+
p.value.includes(w.type) && v++;
|
|
1691
1688
|
if (v === 0) {
|
|
1692
1689
|
t.error = !0, i.invalidTypes = !0;
|
|
1693
1690
|
return;
|
|
@@ -1697,15 +1694,15 @@ function xt({ maxCount: e, accept: a }) {
|
|
|
1697
1694
|
return {
|
|
1698
1695
|
dragState: t,
|
|
1699
1696
|
dragErrors: i,
|
|
1700
|
-
resetDragState:
|
|
1697
|
+
resetDragState: o,
|
|
1701
1698
|
onDragEnterValidations: l
|
|
1702
1699
|
};
|
|
1703
1700
|
}
|
|
1704
|
-
const
|
|
1701
|
+
const ht = {
|
|
1705
1702
|
model: { prop: "modelValue" },
|
|
1706
|
-
i18n: { messages:
|
|
1707
|
-
},
|
|
1708
|
-
...
|
|
1703
|
+
i18n: { messages: ft }
|
|
1704
|
+
}, _t = /* @__PURE__ */ H({
|
|
1705
|
+
...ht,
|
|
1709
1706
|
__name: "file-uploader",
|
|
1710
1707
|
props: {
|
|
1711
1708
|
accept: { default: null },
|
|
@@ -1724,7 +1721,7 @@ const gt = {
|
|
|
1724
1721
|
},
|
|
1725
1722
|
emits: ["change", "update:modelValue", "error:upload"],
|
|
1726
1723
|
setup(e, { emit: a }) {
|
|
1727
|
-
const i = e, { t, tc:
|
|
1724
|
+
const i = e, { t, tc: p } = O(), { supportedFileTypeList: o } = ut(A(i, "accept")), l = b(null), c = b(null), r = P("input"), v = P("input-error"), { dragState: w, dragErrors: C, resetDragState: k, onDragEnterValidations: E } = gt({
|
|
1728
1725
|
accept: A(i, "accept"),
|
|
1729
1726
|
maxCount: A(i, "maxCount")
|
|
1730
1727
|
}), B = m(() => {
|
|
@@ -1744,8 +1741,8 @@ const gt = {
|
|
|
1744
1741
|
value: i.maxSize,
|
|
1745
1742
|
error: (s = l.value) == null ? void 0 : s.some((_) => _.errors.includes(x.ERROR_SIZE))
|
|
1746
1743
|
} : null,
|
|
1747
|
-
supportedFileTypes:
|
|
1748
|
-
value:
|
|
1744
|
+
supportedFileTypes: o.value ? {
|
|
1745
|
+
value: o.value,
|
|
1749
1746
|
error: C.invalidTypes || C.partiallyInvalidTypes || ((u = l.value) == null ? void 0 : u.some((_) => _.errors.includes(x.ERROR_TYPE)))
|
|
1750
1747
|
} : null
|
|
1751
1748
|
};
|
|
@@ -1770,7 +1767,7 @@ const gt = {
|
|
|
1770
1767
|
N(S, (n) => {
|
|
1771
1768
|
I.value || a("error:upload", n);
|
|
1772
1769
|
});
|
|
1773
|
-
function
|
|
1770
|
+
function ga(n) {
|
|
1774
1771
|
l.value = l.value.filter(({ id: s }) => s !== n.id);
|
|
1775
1772
|
}
|
|
1776
1773
|
function Z(n) {
|
|
@@ -1780,11 +1777,11 @@ const gt = {
|
|
|
1780
1777
|
errors: [],
|
|
1781
1778
|
progress: null,
|
|
1782
1779
|
state: h.LOADING,
|
|
1783
|
-
type:
|
|
1780
|
+
type: ii(n)
|
|
1784
1781
|
});
|
|
1785
|
-
return
|
|
1782
|
+
return ei(s, i.accept, i.maxDimensions), s;
|
|
1786
1783
|
}
|
|
1787
|
-
function
|
|
1784
|
+
function ha(n) {
|
|
1788
1785
|
var s;
|
|
1789
1786
|
((s = l.value) == null ? void 0 : s.length) === i.maxCount && n.preventDefault();
|
|
1790
1787
|
}
|
|
@@ -1795,7 +1792,7 @@ const gt = {
|
|
|
1795
1792
|
}
|
|
1796
1793
|
j.value ? l.value = [...l.value || [], ...Array.from(n).map((s) => Z(s))] : l.value = [Z(n[0])];
|
|
1797
1794
|
}
|
|
1798
|
-
function
|
|
1795
|
+
function _a(n) {
|
|
1799
1796
|
var u, _;
|
|
1800
1797
|
if (i.disabled)
|
|
1801
1798
|
return;
|
|
@@ -1806,17 +1803,17 @@ const gt = {
|
|
|
1806
1803
|
function V() {
|
|
1807
1804
|
R.value = null;
|
|
1808
1805
|
}
|
|
1809
|
-
function
|
|
1806
|
+
function ba(n) {
|
|
1810
1807
|
R.value === n.target && (V(), k());
|
|
1811
1808
|
}
|
|
1812
|
-
function
|
|
1809
|
+
function wa(n) {
|
|
1813
1810
|
n.preventDefault(), i.disabled && (n.dataTransfer.dropEffect = "none");
|
|
1814
1811
|
}
|
|
1815
|
-
function
|
|
1812
|
+
function Ca(n) {
|
|
1816
1813
|
var s;
|
|
1817
1814
|
i.disabled || (!C.invalidTypes && ((s = n.dataTransfer.files) != null && s.length) && U(n.dataTransfer.files), V(), k());
|
|
1818
1815
|
}
|
|
1819
|
-
function
|
|
1816
|
+
function ya() {
|
|
1820
1817
|
var n;
|
|
1821
1818
|
(n = c.value.files) != null && n.length && U(c.value.files), c.value.value = "";
|
|
1822
1819
|
}
|
|
@@ -1846,43 +1843,43 @@ const gt = {
|
|
|
1846
1843
|
a("change", s), a("update:modelValue", s);
|
|
1847
1844
|
} else
|
|
1848
1845
|
a("change"), a("update:modelValue");
|
|
1849
|
-
}), { __sfc: !0, t, tc:
|
|
1846
|
+
}), { __sfc: !0, t, tc: p, emit: a, props: i, supportedFileTypeList: o, files: l, inputRef: c, inputFieldId: r, errorId: v, dragState: w, dragErrors: C, resetDragState: k, onDragEnterValidations: E, fileUploadRestrictionsProps: B, enterTarget: R, conditionalClasses: L, isMultiple: j, hideArea: q, loadingStateExists: I, hasError: T, maxFileCountError: F, maxFileError: M, hasRestrictionError: S, removeFile: ga, processFile: Z, onInputClick: ha, onFileInput: U, onDragEnter: _a, resetEnterTarget: V, onDragLeave: ba, onDragOver: wa, onDrop: Ca, onInputChange: ya, verifyFileCount: Y, verifyFileSize: X, convertToFileList: J, UploadIcon: Oa, WarningFilledIcon: ra, BentoAlert: ja, BentoButton: da, BentoTypography: G, ErrorMessage: Ma, FieldLabel: Fa, FileUploaderFileCard: nt, FileUploaderRestrictions: dt };
|
|
1850
1847
|
}
|
|
1851
1848
|
});
|
|
1852
|
-
var
|
|
1853
|
-
var
|
|
1849
|
+
var bt = function() {
|
|
1850
|
+
var p;
|
|
1854
1851
|
var a = this, i = a._self._c, t = a._self._setupProxy;
|
|
1855
|
-
return i("div", { staticClass: "b-file-uploader", class: t.conditionalClasses }, [i(t.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { for: t.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), i("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: t.inputFieldId, type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: t.isMultiple }, on: { change: t.onInputChange, click: t.onInputClick } }), t.hideArea ? a._e() : i("div", { staticClass: "b-file-uploader__area", attrs: { "aria-label": t.t("dropArea"), tabindex: a.disabled ? -1 : 0 }, on: { click: function(
|
|
1852
|
+
return i("div", { staticClass: "b-file-uploader", class: t.conditionalClasses }, [i(t.FieldLabel, { staticClass: "b-file-uploader__label", attrs: { for: t.inputFieldId, label: a.label, optional: a.optional, required: a.required, "tooltip-text": a.tooltipText } }), i("input", { ref: "inputRef", staticClass: "b-file-uploader__input", attrs: { id: t.inputFieldId, type: "file", tabindex: "-1", "data-testid": "input", accept: a.accept, disabled: a.disabled, multiple: t.isMultiple }, on: { change: t.onInputChange, click: t.onInputClick } }), t.hideArea ? a._e() : i("div", { staticClass: "b-file-uploader__area", attrs: { "aria-label": t.t("dropArea"), tabindex: a.disabled ? -1 : 0 }, on: { click: function(o) {
|
|
1856
1853
|
return t.inputRef.click();
|
|
1857
|
-
}, dragenter: function(
|
|
1858
|
-
return
|
|
1859
|
-
}, dragleave: function(
|
|
1860
|
-
return
|
|
1861
|
-
}, drop: function(
|
|
1862
|
-
return
|
|
1863
|
-
}, dragover: t.onDragOver, "!keydown": [function(
|
|
1864
|
-
return !
|
|
1865
|
-
}, function(
|
|
1866
|
-
return !
|
|
1854
|
+
}, dragenter: function(o) {
|
|
1855
|
+
return o.stopPropagation(), o.preventDefault(), t.onDragEnter.apply(null, arguments);
|
|
1856
|
+
}, dragleave: function(o) {
|
|
1857
|
+
return o.stopPropagation(), o.preventDefault(), t.onDragLeave.apply(null, arguments);
|
|
1858
|
+
}, drop: function(o) {
|
|
1859
|
+
return o.stopPropagation(), o.preventDefault(), t.onDrop.apply(null, arguments);
|
|
1860
|
+
}, dragover: t.onDragOver, "!keydown": [function(o) {
|
|
1861
|
+
return !o.type.indexOf("key") && a._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : (o.preventDefault(), t.inputRef.click());
|
|
1862
|
+
}, function(o) {
|
|
1863
|
+
return !o.type.indexOf("key") && a._k(o.keyCode, "space", 32, o.key, [" ", "Spacebar"]) ? null : (o.preventDefault(), t.inputRef.click());
|
|
1867
1864
|
}] } }, [i("div", { staticClass: "b-file-uploader__icon" }, [t.hasError ? i(t.WarningFilledIcon, { attrs: { "svg-title": t.t("warning") } }) : i(t.UploadIcon, { attrs: { "svg-title": t.t("upload") } })], 1), a.condensed ? a._e() : [i(t.BentoTypography, { staticClass: "b-file-uploader__title", attrs: { el: "span", strongest: "" } }, [a._v(" " + a._s(t.tc("dropFiles", a.maxCount)) + " ")]), a.description ? i(t.BentoTypography, { staticClass: "b-file-uploader__description", attrs: { el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), i(t.FileUploaderRestrictions, a._b({}, "file-uploader-restrictions", t.fileUploadRestrictionsProps, !1))], i(t.BentoButton, { staticClass: "b-file-uploader__button", attrs: { disabled: a.disabled, variant: a.condensed ? "tertiary" : "secondary", condensed: "", tabindex: "-1" } }, [a._v(" " + a._s(t.t("browseFiles")) + " ")])], 2), t.hasError && a.errorMessage ? i(t.ErrorMessage, { staticClass: "b-file-uploader__error-message", attrs: { id: t.errorId, "error-message": a.errorMessage } }) : a._e(), a.condensed && a.description ? i(t.BentoTypography, { staticClass: "b-file-uploader__description b-file-uploader__description--condensed", attrs: { el: "span" } }, [a._v(" " + a._s(a.description) + " ")]) : a._e(), a.condensed ? i(t.FileUploaderRestrictions, a._b({}, "file-uploader-restrictions", t.fileUploadRestrictionsProps, !1)) : a._e(), t.maxFileCountError ? i(t.BentoAlert, { attrs: { type: "critical" }, scopedSlots: a._u([{ key: "description", fn: function() {
|
|
1868
1865
|
return [a._v(" " + a._s(t.t("youHaveExceededTheMaximum", { count: t.props.maxCount })) + " ")];
|
|
1869
|
-
}, proxy: !0 }], null, !1, 239749076) }, [a._v(" " + a._s(t.t("tooManyFiles")) + " ")]) : a._e(), i("div", { directives: [{ name: "show", rawName: "v-show", value: (
|
|
1870
|
-
return i(t.FileUploaderFileCard, { key:
|
|
1871
|
-
return t.removeFile(
|
|
1866
|
+
}, proxy: !0 }], null, !1, 239749076) }, [a._v(" " + a._s(t.t("tooManyFiles")) + " ")]) : a._e(), i("div", { directives: [{ name: "show", rawName: "v-show", value: (p = t.files) == null ? void 0 : p.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(t.files, function(o) {
|
|
1867
|
+
return i(t.FileUploaderFileCard, { key: o.id, attrs: { file: o, "supported-file-types": t.supportedFileTypeList }, on: { cancel: function(l) {
|
|
1868
|
+
return t.removeFile(o);
|
|
1872
1869
|
}, remove: function(l) {
|
|
1873
|
-
return t.removeFile(
|
|
1870
|
+
return t.removeFile(o);
|
|
1874
1871
|
} } });
|
|
1875
1872
|
}), 1)], 1);
|
|
1876
|
-
},
|
|
1877
|
-
ht,
|
|
1873
|
+
}, wt = [], Ct = /* @__PURE__ */ f(
|
|
1878
1874
|
_t,
|
|
1879
1875
|
bt,
|
|
1876
|
+
wt,
|
|
1880
1877
|
!1,
|
|
1881
1878
|
null,
|
|
1882
1879
|
"83f464d9"
|
|
1883
1880
|
);
|
|
1884
|
-
const
|
|
1881
|
+
const Bt = Ct.exports;
|
|
1885
1882
|
export {
|
|
1886
|
-
|
|
1883
|
+
Bt as f
|
|
1887
1884
|
};
|
|
1888
|
-
//# sourceMappingURL=file-uploader.
|
|
1885
|
+
//# sourceMappingURL=file-uploader.DaBMZSsB.js.map
|