@adyen/bento-vue2 1.45.0 → 1.46.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 +16661 -18774
- 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/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.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/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{accordion-item.CzKttO4w.js → accordion-item.BjXzREaK.js} +5 -5
- package/dist/chunks/{accordion-item.CzKttO4w.js.map → accordion-item.BjXzREaK.js.map} +1 -1
- package/dist/chunks/{action-bar.BXemSuq4.js → action-bar.e_2fmyN_.js} +7 -7
- package/dist/chunks/{action-bar.BXemSuq4.js.map → action-bar.e_2fmyN_.js.map} +1 -1
- package/dist/chunks/{alert.CAIp-87f.js → alert.BcfhueIA.js} +3 -3
- package/dist/chunks/{alert.CAIp-87f.js.map → alert.BcfhueIA.js.map} +1 -1
- package/dist/chunks/{avatar.BgwjpLQO.js → avatar.DXzyWKsI.js} +2 -2
- package/dist/chunks/{avatar.BgwjpLQO.js.map → avatar.DXzyWKsI.js.map} +1 -1
- package/dist/chunks/{base-button.-gx_u8Bd.js → base-button.BeMKxkgK.js} +2 -2
- package/dist/chunks/{base-button.-gx_u8Bd.js.map → base-button.BeMKxkgK.js.map} +1 -1
- package/dist/chunks/{base-modal.4JSNBM4T.js → base-modal.UPLi477L.js} +18 -18
- package/dist/chunks/{base-modal.4JSNBM4T.js.map → base-modal.UPLi477L.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.ieopdfI7.js → button-actions-with-menu.CyNvhDxN.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.ieopdfI7.js.map → button-actions-with-menu.CyNvhDxN.js.map} +1 -1
- package/dist/chunks/{button-actions.CtFB6iRj.js → button-actions.BaypoF5i.js} +3 -3
- package/dist/chunks/{button-actions.CtFB6iRj.js.map → button-actions.BaypoF5i.js.map} +1 -1
- package/dist/chunks/{button.BX6ZJxF7.js → button.Bx8WC-dy.js} +3 -3
- package/dist/chunks/{button.BX6ZJxF7.js.map → button.Bx8WC-dy.js.map} +1 -1
- package/dist/chunks/{calendar.BouORZfb.js → calendar.LXRuFfcw.js} +9 -9
- package/dist/chunks/{calendar.BouORZfb.js.map → calendar.LXRuFfcw.js.map} +1 -1
- package/dist/chunks/{card.BabmUkTG.js → card.INSvvGNH.js} +6 -6
- package/dist/chunks/{card.BabmUkTG.js.map → card.INSvvGNH.js.map} +1 -1
- package/dist/chunks/{checkbox-group.DbLznnsa.js → checkbox-group.BNVnOYKH.js} +7 -7
- package/dist/chunks/{checkbox-group.DbLznnsa.js.map → checkbox-group.BNVnOYKH.js.map} +1 -1
- package/dist/chunks/{checkbox.fhQLs-NN.js → checkbox.CcwY2CMn.js} +5 -5
- package/dist/chunks/{checkbox.fhQLs-NN.js.map → checkbox.CcwY2CMn.js.map} +1 -1
- package/dist/chunks/{chevron-left.PIu6yPqe.js → chevron-left.CtnrsqUy.js} +3 -3
- package/dist/chunks/{chevron-left.PIu6yPqe.js.map → chevron-left.CtnrsqUy.js.map} +1 -1
- package/dist/chunks/{chevron-up.DVfo78kV.js → chevron-up.B2uWhZf7.js} +3 -3
- package/dist/chunks/{chevron-up.DVfo78kV.js.map → chevron-up.B2uWhZf7.js.map} +1 -1
- package/dist/chunks/{code-snippet.5iJcUZSo.js → code-snippet.Bs7wIGi8.js} +113 -83
- package/dist/chunks/code-snippet.Bs7wIGi8.js.map +1 -0
- package/dist/chunks/{codemirror.CXFEqvAi.js → codemirror.OjJ-3ixa.js} +5180 -4862
- package/dist/chunks/codemirror.OjJ-3ixa.js.map +1 -0
- package/dist/chunks/{controls-group.CnXzOQkX.js → controls-group.CIdhlTk3.js} +3 -3
- package/dist/chunks/{controls-group.CnXzOQkX.js.map → controls-group.CIdhlTk3.js.map} +1 -1
- package/dist/chunks/{copy.DN0tClPm.js → copy.BakPR7GI.js} +4 -4
- package/dist/chunks/{copy.DN0tClPm.js.map → copy.BakPR7GI.js.map} +1 -1
- package/dist/chunks/{country.Bft91V1L.js → country.BegULkAC.js} +3 -3
- package/dist/chunks/{country.Bft91V1L.js.map → country.BegULkAC.js.map} +1 -1
- package/dist/chunks/{currency.BmI4Sqy5.js → currency.P7Psn_SK.js} +2 -2
- package/dist/chunks/{currency.BmI4Sqy5.js.map → currency.P7Psn_SK.js.map} +1 -1
- package/dist/chunks/{dashboard-section.DYXZhtop.js → dashboard-section.DUN8FB74.js} +5 -5
- package/dist/chunks/{dashboard-section.DYXZhtop.js.map → dashboard-section.DUN8FB74.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BvSZS1-m.js → dashed-underline.BDK3yEtw.js} +4 -4
- package/dist/chunks/{dashed-underline.BvSZS1-m.js.map → dashed-underline.BDK3yEtw.js.map} +1 -1
- package/dist/chunks/{data-grid-template.Du92TEFY.js → data-grid-template.BO2v-T1n.js} +4 -4
- package/dist/chunks/{data-grid-template.Du92TEFY.js.map → data-grid-template.BO2v-T1n.js.map} +1 -1
- package/dist/chunks/{data-grid.Kwtf1DMq.js → data-grid.NkQC0etq.js} +44 -44
- package/dist/chunks/{data-grid.Kwtf1DMq.js.map → data-grid.NkQC0etq.js.map} +1 -1
- package/dist/chunks/{date-picker.B7mTNghB.js → date-picker.DFgjvQgX.js} +11 -11
- package/dist/chunks/{date-picker.B7mTNghB.js.map → date-picker.DFgjvQgX.js.map} +1 -1
- package/dist/chunks/{date-range-picker.DPLri9D-.js → date-range-picker.BBC3TGYw.js} +241 -241
- package/dist/chunks/{date-range-picker.DPLri9D-.js.map → date-range-picker.BBC3TGYw.js.map} +1 -1
- package/dist/chunks/{date.1zs9CRhw.js → date.BQ29-2L1.js} +4 -2
- package/dist/chunks/{date.1zs9CRhw.js.map → date.BQ29-2L1.js.map} +1 -1
- package/dist/chunks/{dialog-page.DcJ7LaOE.js → dialog-page.Da2cxzZm.js} +31 -32
- package/dist/chunks/{dialog-page.DcJ7LaOE.js.map → dialog-page.Da2cxzZm.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.DBoSso4J.js → dropdown-default-textbox.CrylDCEX.js} +5 -5
- package/dist/chunks/{dropdown-default-textbox.DBoSso4J.js.map → dropdown-default-textbox.CrylDCEX.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.XIlES6IT.js → dropdown-tag.xVgcIWXL.js} +6 -6
- package/dist/chunks/{dropdown-tag.XIlES6IT.js.map → dropdown-tag.xVgcIWXL.js.map} +1 -1
- package/dist/chunks/{dropdown.BqsoncJr.js → dropdown.BkLc07G8.js} +196 -192
- package/dist/chunks/dropdown.BkLc07G8.js.map +1 -0
- package/dist/chunks/{empty-state.1TyzB5ju.js → empty-state.B6wjtgR0.js} +5 -5
- package/dist/chunks/{empty-state.1TyzB5ju.js.map → empty-state.B6wjtgR0.js.map} +1 -1
- package/dist/chunks/{error-message.Ccc1sTTp.js → error-message.Brg-AZjT.js} +3 -3
- package/dist/chunks/{error-message.Ccc1sTTp.js.map → error-message.Brg-AZjT.js.map} +1 -1
- package/dist/chunks/{es6.jIyAPBgt.js → es6.D11bE5vq.js} +6 -6
- package/dist/chunks/{es6.jIyAPBgt.js.map → es6.D11bE5vq.js.map} +1 -1
- package/dist/chunks/file-uploader.BePx7fcJ.js +1879 -0
- package/dist/chunks/file-uploader.BePx7fcJ.js.map +1 -0
- package/dist/chunks/{filter-bar.DT_-lVmf.js → filter-bar.BbVGpEJx.js} +48 -48
- package/dist/chunks/{filter-bar.DT_-lVmf.js.map → filter-bar.BbVGpEJx.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.IPM3AzHS.js → fixed-scroller.BE1hWLr6.js} +4 -4
- package/dist/chunks/{fixed-scroller.IPM3AzHS.js.map → fixed-scroller.BE1hWLr6.js.map} +1 -1
- package/dist/chunks/{focus-trap.CGypVwG6.js → focus-trap.DA_1lCcM.js} +2 -2
- package/dist/chunks/{focus-trap.CGypVwG6.js.map → focus-trap.DA_1lCcM.js.map} +1 -1
- package/dist/chunks/{footer-actions.D0uH9JWq.js → footer-actions.O24MYRgM.js} +4 -4
- package/dist/chunks/{footer-actions.D0uH9JWq.js.map → footer-actions.O24MYRgM.js.map} +1 -1
- package/dist/chunks/{form-layout-title.DN0jonFa.js → form-layout-title.DRuBsptB.js} +3 -3
- package/dist/chunks/{form-layout-title.DN0jonFa.js.map → form-layout-title.DRuBsptB.js.map} +1 -1
- package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.D-HFI38h.js} +2 -2
- package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.D-HFI38h.js.map} +1 -1
- package/dist/chunks/{header.BvZxtIOD.js → header.Bbwnv6Ei.js} +66 -66
- package/dist/chunks/{header.BvZxtIOD.js.map → header.Bbwnv6Ei.js.map} +1 -1
- package/dist/chunks/{index.D8ivUe7P.js → index.B5Tq465X.js} +5 -5
- package/dist/chunks/{index.D8ivUe7P.js.map → index.B5Tq465X.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.DEjsASNU.js → info-icon-with-popover.Cd3RQWUu.js} +4 -4
- package/dist/chunks/{info-icon-with-popover.DEjsASNU.js.map → info-icon-with-popover.Cd3RQWUu.js.map} +1 -1
- package/dist/chunks/{info-icon.0d0GzDe2.js → info-icon.BnSZeQm8.js} +3 -3
- package/dist/chunks/{info-icon.0d0GzDe2.js.map → info-icon.BnSZeQm8.js.map} +1 -1
- package/dist/chunks/{input-field-password.HRDEb0jL.js → input-field-password.CvKC9xjJ.js} +10 -10
- package/dist/chunks/{input-field-password.HRDEb0jL.js.map → input-field-password.CvKC9xjJ.js.map} +1 -1
- package/dist/chunks/input-field.Dgop3JWW.js +231 -0
- package/dist/chunks/input-field.Dgop3JWW.js.map +1 -0
- package/dist/chunks/{inspector.types.2YEArjPi.js → inspector.types.j1usQ6FN.js} +5 -5
- package/dist/chunks/{inspector.types.2YEArjPi.js.map → inspector.types.j1usQ6FN.js.map} +1 -1
- package/dist/chunks/{layout-row.BfS-cPky.js → layout-row.DAeZh7Rv.js} +3 -3
- package/dist/chunks/{layout-row.BfS-cPky.js.map → layout-row.DAeZh7Rv.js.map} +1 -1
- package/dist/chunks/{link.UOEUR35A.js → link.B2DE2ryp.js} +2 -2
- package/dist/chunks/{link.UOEUR35A.js.map → link.B2DE2ryp.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.Co0ycEdQ.js → listbox-option-tag.drC_50fU.js} +3 -3
- package/dist/chunks/{listbox-option-tag.Co0ycEdQ.js.map → listbox-option-tag.drC_50fU.js.map} +1 -1
- package/dist/chunks/{menu.CLaN9Eys.js → menu.DCRfI10M.js} +9 -9
- package/dist/chunks/{menu.CLaN9Eys.js.map → menu.DCRfI10M.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.B-qr1Szh.js → modal-fullscreen.DgDk6uxS.js} +7 -7
- package/dist/chunks/{modal-fullscreen.B-qr1Szh.js.map → modal-fullscreen.DgDk6uxS.js.map} +1 -1
- package/dist/chunks/{modal.wU3uUJKq.js → modal.B7giFLek.js} +6 -6
- package/dist/chunks/{modal.wU3uUJKq.js.map → modal.B7giFLek.js.map} +1 -1
- package/dist/chunks/{pagination.BM3FhtxJ.js → pagination.Dc0VbxFL.js} +5 -5
- package/dist/chunks/{pagination.BM3FhtxJ.js.map → pagination.Dc0VbxFL.js.map} +1 -1
- package/dist/chunks/{payment-method.UaERFtej.js → payment-method.CoXB0ZAW.js} +2 -2
- package/dist/chunks/{payment-method.UaERFtej.js.map → payment-method.CoXB0ZAW.js.map} +1 -1
- package/dist/chunks/{popover.DsUymZWJ.js → popover.D8pR_dbl.js} +5 -5
- package/dist/chunks/{popover.DsUymZWJ.js.map → popover.D8pR_dbl.js.map} +1 -1
- package/dist/chunks/{popper-container.B1iB2ovW.js → popper-container.B9qZTf2V.js} +3 -3
- package/dist/chunks/{popper-container.B1iB2ovW.js.map → popper-container.B9qZTf2V.js.map} +1 -1
- package/dist/chunks/{promo-banner.BXtIM4C9.js → promo-banner.Dd-JQMUD.js} +7 -7
- package/dist/chunks/{promo-banner.BXtIM4C9.js.map → promo-banner.Dd-JQMUD.js.map} +1 -1
- package/dist/chunks/{radio-group.DMob8x2J.js → radio-group.D5GEIgYv.js} +15 -15
- package/dist/chunks/{radio-group.DMob8x2J.js.map → radio-group.D5GEIgYv.js.map} +1 -1
- package/dist/chunks/{search-bar.rubkdbcD.js → search-bar.BN4grqVO.js} +3 -3
- package/dist/chunks/{search-bar.rubkdbcD.js.map → search-bar.BN4grqVO.js.map} +1 -1
- package/dist/chunks/{secondary-nav.DKSjc5bn.js → secondary-nav.C8UE8xly.js} +8 -8
- package/dist/chunks/{secondary-nav.DKSjc5bn.js.map → secondary-nav.C8UE8xly.js.map} +1 -1
- package/dist/chunks/{segmented-control.DL0W7lJ_.js → segmented-control.C6HPgkVm.js} +4 -4
- package/dist/chunks/{segmented-control.DL0W7lJ_.js.map → segmented-control.C6HPgkVm.js.map} +1 -1
- package/dist/chunks/{selection-card-group.iYyZ9yX4.js → selection-card-group.BT7FOlbF.js} +9 -9
- package/dist/chunks/{selection-card-group.iYyZ9yX4.js.map → selection-card-group.BT7FOlbF.js.map} +1 -1
- package/dist/chunks/{sidepanel.CQnLpV8A.js → sidepanel.PEMSN4Hj.js} +11 -11
- package/dist/chunks/{sidepanel.CQnLpV8A.js.map → sidepanel.PEMSN4Hj.js.map} +1 -1
- package/dist/chunks/{status.types.Cv6hHRMu.js → status.types.B0jtv0c7.js} +2 -2
- package/dist/chunks/{status.types.Cv6hHRMu.js.map → status.types.B0jtv0c7.js.map} +1 -1
- package/dist/chunks/{step.BsIdWhaZ.js → step.Dq4w23dP.js} +3 -3
- package/dist/chunks/{step.BsIdWhaZ.js.map → step.Dq4w23dP.js.map} +1 -1
- package/dist/chunks/{structured-list-item.BhBbmkbw.js → structured-list-item.-ch3UkPz.js} +6 -6
- package/dist/chunks/{structured-list-item.BhBbmkbw.js.map → structured-list-item.-ch3UkPz.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CicAOBVQ.js → summary-grid-item-custom.CLVYmhnp.js} +5 -5
- package/dist/chunks/{summary-grid-item-custom.CicAOBVQ.js.map → summary-grid-item-custom.CLVYmhnp.js.map} +1 -1
- package/dist/chunks/{tabs.9kObZry9.js → tabs.B0f1qiMR.js} +4 -4
- package/dist/chunks/{tabs.9kObZry9.js.map → tabs.B0f1qiMR.js.map} +1 -1
- package/dist/chunks/{tag.-YNhsBv7.js → tag.d36UYSWd.js} +3 -3
- package/dist/chunks/{tag.-YNhsBv7.js.map → tag.d36UYSWd.js.map} +1 -1
- package/dist/chunks/{textarea.Cf21WMwL.js → textarea.DORWuAZn.js} +6 -6
- package/dist/chunks/{textarea.Cf21WMwL.js.map → textarea.DORWuAZn.js.map} +1 -1
- package/dist/chunks/{timeline-item.Cu5b-Mqj.js → timeline-item.CUm_n51y.js} +12 -12
- package/dist/chunks/{timeline-item.Cu5b-Mqj.js.map → timeline-item.CUm_n51y.js.map} +1 -1
- package/dist/chunks/{toast.DgJbW9CL.js → toast.DCaWC_wv.js} +4 -4
- package/dist/chunks/{toast.DgJbW9CL.js.map → toast.DCaWC_wv.js.map} +1 -1
- package/dist/chunks/{toggle-button.Cf8C7p6e.js → toggle-button.DJqs599a.js} +2 -2
- package/dist/chunks/{toggle-button.Cf8C7p6e.js.map → toggle-button.DJqs599a.js.map} +1 -1
- package/dist/chunks/{toggle.CnS7qszG.js → toggle.INRYdQzz.js} +3 -3
- package/dist/chunks/{toggle.CnS7qszG.js.map → toggle.INRYdQzz.js.map} +1 -1
- package/dist/chunks/{tooltip.R2sqydIE.js → tooltip.CQGwmwt9.js} +4 -4
- package/dist/chunks/{tooltip.R2sqydIE.js.map → tooltip.CQGwmwt9.js.map} +1 -1
- package/dist/chunks/{tutorial.w2ZqeOh1.js → tutorial.B_8XNKvM.js} +9 -9
- package/dist/chunks/{tutorial.w2ZqeOh1.js.map → tutorial.B_8XNKvM.js.map} +1 -1
- package/dist/chunks/{typography.J1v_SPG3.js → typography.Bu_WAKdf.js} +1 -2
- package/dist/chunks/{typography.J1v_SPG3.js.map → typography.Bu_WAKdf.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js → use-bento-toast-controller.BVVMh0wc.js} +3 -3
- package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js.map → use-bento-toast-controller.BVVMh0wc.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.impKjAIS.js → use-cached-selected-values.DJl7FKT5.js} +19 -19
- package/dist/chunks/{use-cached-selected-values.impKjAIS.js.map → use-cached-selected-values.DJl7FKT5.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +1 -1
- package/dist/currency.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/date.js +1 -1
- 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/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +67 -67
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +12 -12
- package/dist/layout.js +1 -1
- 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/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +1 -0
- package/dist/styles/bento-light.css +1 -0
- package/dist/styles/bento.css +1 -0
- package/dist/styles/legacy.css +6 -5
- package/dist/styles/styleguide.css +1 -0
- 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/typography.js +1 -1
- package/dist/web-types.json +3 -3
- package/package.json +11 -7
- package/dist/chunks/code-snippet.5iJcUZSo.js.map +0 -1
- package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
- package/dist/chunks/dropdown.BqsoncJr.js.map +0 -1
- package/dist/chunks/file-uploader.C6kcnhqp.js +0 -729
- package/dist/chunks/file-uploader.C6kcnhqp.js.map +0 -1
- package/dist/chunks/input-field.D6N2kt7s.js +0 -228
- package/dist/chunks/input-field.D6N2kt7s.js.map +0 -1
|
@@ -0,0 +1,1879 @@
|
|
|
1
|
+
import { defineComponent as D, ref as b, onUnmounted as wa, onMounted as Ca, computed as m, watch as sa, reactive as P, toRef as U } from "vue";
|
|
2
|
+
import { n as f } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
3
|
+
import { W as ca } from "./warning-filled.CLKRzGMT.js";
|
|
4
|
+
import { B as ya } from "./alert.BcfhueIA.js";
|
|
5
|
+
import { B as ra } from "./button.Bx8WC-dy.js";
|
|
6
|
+
import { B as N } from "./typography.Bu_WAKdf.js";
|
|
7
|
+
import { u as H } from "./i18n.BQkEbtPM.js";
|
|
8
|
+
import { g as A } from "./generate-uid.D-HFI38h.js";
|
|
9
|
+
import { i as da } from "./index.Cl4_42j5.js";
|
|
10
|
+
import { C as ka } from "./checkmark-circle-fill.Cn7JN_Tk.js";
|
|
11
|
+
import { C as Ra } from "./cross.CsUPDmaA.js";
|
|
12
|
+
import { R as ja } from "./refresh.BKI9WwKh.js";
|
|
13
|
+
import { B as za } from "./link.B2DE2ryp.js";
|
|
14
|
+
import { B as Ea } from "./loading-indicator.z8COalOc.js";
|
|
15
|
+
import { B as $a } from "./tooltip.CQGwmwt9.js";
|
|
16
|
+
import { E as La, F as Ia } from "./error-message.Brg-AZjT.js";
|
|
17
|
+
import "../assets/file-uploader.css";
|
|
18
|
+
let X = 0;
|
|
19
|
+
const Ta = {
|
|
20
|
+
beforeCreate() {
|
|
21
|
+
this.uuid = X.toString(), X += 1;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
var Fa = function() {
|
|
25
|
+
var a = this, i = a._self._c;
|
|
26
|
+
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
|
+
}, Ma = [], Sa = /* @__PURE__ */ f(
|
|
28
|
+
Ta,
|
|
29
|
+
Fa,
|
|
30
|
+
Ma,
|
|
31
|
+
!1,
|
|
32
|
+
null,
|
|
33
|
+
null
|
|
34
|
+
);
|
|
35
|
+
const Va = Sa.exports, Da = /* @__PURE__ */ D({
|
|
36
|
+
__name: "file-uploader-file-card-animation",
|
|
37
|
+
props: {
|
|
38
|
+
name: null,
|
|
39
|
+
showFileIcon: { type: Boolean }
|
|
40
|
+
},
|
|
41
|
+
setup(e) {
|
|
42
|
+
return { __sfc: !0, isVue2: da };
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
var Ha = function() {
|
|
46
|
+
var a = this, i = a._self._c, t = a._self._setupProxy;
|
|
47
|
+
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
|
+
}, Oa = [], Ba = /* @__PURE__ */ f(
|
|
49
|
+
Da,
|
|
50
|
+
Ha,
|
|
51
|
+
Oa,
|
|
52
|
+
!1,
|
|
53
|
+
null,
|
|
54
|
+
null
|
|
55
|
+
);
|
|
56
|
+
const qa = Ba.exports;
|
|
57
|
+
let J = 0;
|
|
58
|
+
const Za = {
|
|
59
|
+
beforeCreate() {
|
|
60
|
+
this.uuid = J.toString(), J += 1;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var Ua = function() {
|
|
64
|
+
var a = this, i = a._self._c;
|
|
65
|
+
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
|
+
}, Aa = [], Pa = /* @__PURE__ */ f(
|
|
67
|
+
Za,
|
|
68
|
+
Ua,
|
|
69
|
+
Aa,
|
|
70
|
+
!1,
|
|
71
|
+
null,
|
|
72
|
+
null
|
|
73
|
+
);
|
|
74
|
+
const Na = Pa.exports;
|
|
75
|
+
function Wa(e, a) {
|
|
76
|
+
const i = b(!1);
|
|
77
|
+
let t;
|
|
78
|
+
function o() {
|
|
79
|
+
t && t.disconnect();
|
|
80
|
+
}
|
|
81
|
+
return wa(() => {
|
|
82
|
+
o();
|
|
83
|
+
}), Ca(() => {
|
|
84
|
+
o(), t = new IntersectionObserver(
|
|
85
|
+
(n) => {
|
|
86
|
+
i.value = !n[0].isIntersecting;
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
root: a.value,
|
|
90
|
+
threshold: 1
|
|
91
|
+
}
|
|
92
|
+
), t.observe(e.value.$el);
|
|
93
|
+
}), i;
|
|
94
|
+
}
|
|
95
|
+
const K = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
|
|
96
|
+
function ma(e, a) {
|
|
97
|
+
let i = 0, t = a;
|
|
98
|
+
for (; t >= 1e3 && i < K.length - 1; )
|
|
99
|
+
t /= 1e3, i++;
|
|
100
|
+
return new Intl.NumberFormat(e, {
|
|
101
|
+
style: "unit",
|
|
102
|
+
unit: K[i],
|
|
103
|
+
unitDisplay: "short",
|
|
104
|
+
// Displays as "kB" instead of "kilobytes"
|
|
105
|
+
maximumFractionDigits: 2
|
|
106
|
+
// Limits to 2 decimal places
|
|
107
|
+
}).format(t);
|
|
108
|
+
}
|
|
109
|
+
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 || {}), V = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(V || {}), 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 Ga = [
|
|
111
|
+
"application/msword",
|
|
112
|
+
// .doc
|
|
113
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
114
|
+
// .docx
|
|
115
|
+
"application/rtf"
|
|
116
|
+
// .rtf
|
|
117
|
+
], Ya = [
|
|
118
|
+
"application/vnd.ms-excel",
|
|
119
|
+
// .xls
|
|
120
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
121
|
+
// .xlsx
|
|
122
|
+
"application/vnd.oasis.opendocument.spreadsheet",
|
|
123
|
+
//.ods
|
|
124
|
+
"application/vnd.apple.numbers",
|
|
125
|
+
// .numbers
|
|
126
|
+
"application/x-iwork-numbers-sffnumbers",
|
|
127
|
+
// .numbers
|
|
128
|
+
"text/csv"
|
|
129
|
+
// .csv
|
|
130
|
+
], Xa = [
|
|
131
|
+
"application/vnd.ms-powerpoint",
|
|
132
|
+
// .ppt
|
|
133
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
134
|
+
// .pptx
|
|
135
|
+
"application/vnd.oasis.opendocument.presentation"
|
|
136
|
+
// .odp
|
|
137
|
+
], Ja = [
|
|
138
|
+
"application/zip",
|
|
139
|
+
// .zip
|
|
140
|
+
"application/vnd.rar",
|
|
141
|
+
// .rar
|
|
142
|
+
"application/x-7z-compressed",
|
|
143
|
+
// .7z
|
|
144
|
+
"application/gzip",
|
|
145
|
+
// .gz, .tar.gz, .tgz
|
|
146
|
+
"application/x-tar",
|
|
147
|
+
// .tar
|
|
148
|
+
"application/x-bzip2",
|
|
149
|
+
// .bz2
|
|
150
|
+
"application/x-xz",
|
|
151
|
+
// .xz
|
|
152
|
+
"application/x-lzma",
|
|
153
|
+
// .lzma
|
|
154
|
+
"application/x-compress",
|
|
155
|
+
// .Z
|
|
156
|
+
"application/vnd.ms-cab-compressed"
|
|
157
|
+
// .cab
|
|
158
|
+
];
|
|
159
|
+
function Ka(e) {
|
|
160
|
+
return Ya.includes(e.type) ? d.TABLE : e.type.startsWith("text/") || Ga.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 : Xa.includes(e.type) ? d.SLIDES : Ja.includes(e.type) ? d.COMPRESSED : d.GENERIC;
|
|
161
|
+
}
|
|
162
|
+
function Qa(e, a) {
|
|
163
|
+
if (!a)
|
|
164
|
+
return !0;
|
|
165
|
+
const i = a.split(",").map((t) => t.trim());
|
|
166
|
+
for (const t of i)
|
|
167
|
+
if (t.startsWith(".")) {
|
|
168
|
+
if (e.name.endsWith(t))
|
|
169
|
+
return !0;
|
|
170
|
+
} else if (t.endsWith("/*")) {
|
|
171
|
+
const o = t.split("/")[0];
|
|
172
|
+
if (e.type.startsWith(o))
|
|
173
|
+
return !0;
|
|
174
|
+
} else if (e.type === t)
|
|
175
|
+
return !0;
|
|
176
|
+
return !1;
|
|
177
|
+
}
|
|
178
|
+
function ai(e, a, i) {
|
|
179
|
+
const t = new FileReader(), o = e;
|
|
180
|
+
if (!Qa(o.data, a)) {
|
|
181
|
+
o.state = h.ERROR, o.errors.push(x.ERROR_TYPE);
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
t.onload = (n) => {
|
|
185
|
+
if (i && o.type === d.IMAGE) {
|
|
186
|
+
const l = new Blob([n.target.result], { type: o.data.type }), s = URL.createObjectURL(l), c = new Image();
|
|
187
|
+
c.onload = function() {
|
|
188
|
+
(c.width > i.width || c.height > i.height) && (o.state = h.ERROR, o.errors.push(x.ERROR_DIMENSIONS)), URL.revokeObjectURL(s);
|
|
189
|
+
}, c.onerror = function() {
|
|
190
|
+
URL.revokeObjectURL(s);
|
|
191
|
+
}, c.src = s;
|
|
192
|
+
}
|
|
193
|
+
}, t.onprogress = (n) => {
|
|
194
|
+
n.lengthComputable && (o.progress = n.loaded / n.total * 100);
|
|
195
|
+
}, t.onloadend = () => {
|
|
196
|
+
o.state !== h.ERROR && (o.state = h.SUCCESS), o.progress = null;
|
|
197
|
+
}, t.onerror = () => {
|
|
198
|
+
o.state = h.ERROR, o.errors.push(x.ERROR_LOAD), o.progress = null;
|
|
199
|
+
}, t.readAsArrayBuffer(o.data);
|
|
200
|
+
}
|
|
201
|
+
let Q = 0;
|
|
202
|
+
const ii = {
|
|
203
|
+
beforeCreate() {
|
|
204
|
+
this.uuid = Q.toString(), Q += 1;
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
var ti = function() {
|
|
208
|
+
var a = this, i = a._self._c;
|
|
209
|
+
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
|
+
}, ei = [], ni = /* @__PURE__ */ f(
|
|
211
|
+
ii,
|
|
212
|
+
ti,
|
|
213
|
+
ei,
|
|
214
|
+
!1,
|
|
215
|
+
null,
|
|
216
|
+
null
|
|
217
|
+
);
|
|
218
|
+
const pi = ni.exports;
|
|
219
|
+
let aa = 0;
|
|
220
|
+
const oi = {
|
|
221
|
+
beforeCreate() {
|
|
222
|
+
this.uuid = aa.toString(), aa += 1;
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
var li = function() {
|
|
226
|
+
var a = this, i = a._self._c;
|
|
227
|
+
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
|
+
}, si = [], ci = /* @__PURE__ */ f(
|
|
229
|
+
oi,
|
|
230
|
+
li,
|
|
231
|
+
si,
|
|
232
|
+
!1,
|
|
233
|
+
null,
|
|
234
|
+
null
|
|
235
|
+
);
|
|
236
|
+
const ri = ci.exports;
|
|
237
|
+
let ia = 0;
|
|
238
|
+
const di = {
|
|
239
|
+
beforeCreate() {
|
|
240
|
+
this.uuid = ia.toString(), ia += 1;
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
var mi = function() {
|
|
244
|
+
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: "M13.75 13.5C13.75 14.7442 12.7442 15.75 11.5 15.75H4.5C3.25579 15.75 2.25 14.7442 2.25 13.5V2.5C2.25 1.25579 3.25579 0.25 4.5 0.25H9.31055L13.75 4.68728V13.5ZM3.75 2.5V13.5C3.75 13.9158 4.08421 14.25 4.5 14.25H11.5C11.9158 14.25 12.25 13.9158 12.25 13.5V6.75H9.5C8.25736 6.75 7.25 5.74264 7.25 4.5V1.75H4.5C4.08421 1.75 3.75 2.08421 3.75 2.5ZM8.75 1.81052V4.5C8.75 4.91421 9.08579 5.25 9.5 5.25H12.1912L8.75 1.81052Z" } })]);
|
|
246
|
+
}, vi = [], ui = /* @__PURE__ */ f(
|
|
247
|
+
di,
|
|
248
|
+
mi,
|
|
249
|
+
vi,
|
|
250
|
+
!1,
|
|
251
|
+
null,
|
|
252
|
+
null
|
|
253
|
+
);
|
|
254
|
+
const fi = ui.exports;
|
|
255
|
+
let ta = 0;
|
|
256
|
+
const xi = {
|
|
257
|
+
beforeCreate() {
|
|
258
|
+
this.uuid = ta.toString(), ta += 1;
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
var gi = function() {
|
|
262
|
+
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: "M10.7461 8.25V9.75H5.24609V8.25H10.7461Z" } }), i("path", { attrs: { fill: "#00112C", d: "M5.24609 11.25H10.7461V12.75H5.24609V11.25Z" } }), i("path", { attrs: { fill: "#00112C", d: "M13.7461 13.5C13.7461 14.7442 12.7403 15.75 11.4961 15.75H4.49609C3.25188 15.75 2.24609 14.7442 2.24609 13.5V2.5C2.24609 1.25579 3.25188 0.25 4.49609 0.25H9.30665L13.7461 4.68728V13.5ZM3.74609 2.5V13.5C3.74609 13.9158 4.08031 14.25 4.49609 14.25H11.4961C11.9119 14.25 12.2461 13.9158 12.2461 13.5V6.75H9.49609C8.25345 6.75 7.24609 5.74264 7.24609 4.5V1.75H4.49609C4.08031 1.75 3.74609 2.08421 3.74609 2.5ZM8.74609 1.81052V4.5C8.74609 4.91421 9.08188 5.25 9.49609 5.25H12.1873L8.74609 1.81052Z" } })]);
|
|
264
|
+
}, hi = [], _i = /* @__PURE__ */ f(
|
|
265
|
+
xi,
|
|
266
|
+
gi,
|
|
267
|
+
hi,
|
|
268
|
+
!1,
|
|
269
|
+
null,
|
|
270
|
+
null
|
|
271
|
+
);
|
|
272
|
+
const bi = _i.exports;
|
|
273
|
+
let ea = 0;
|
|
274
|
+
const wi = {
|
|
275
|
+
beforeCreate() {
|
|
276
|
+
this.uuid = ea.toString(), ea += 1;
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
var Ci = function() {
|
|
280
|
+
var a = this, i = a._self._c;
|
|
281
|
+
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
|
+
}, yi = [], ki = /* @__PURE__ */ f(
|
|
283
|
+
wi,
|
|
284
|
+
Ci,
|
|
285
|
+
yi,
|
|
286
|
+
!1,
|
|
287
|
+
null,
|
|
288
|
+
null
|
|
289
|
+
);
|
|
290
|
+
const Ri = ki.exports;
|
|
291
|
+
let na = 0;
|
|
292
|
+
const ji = {
|
|
293
|
+
beforeCreate() {
|
|
294
|
+
this.uuid = na.toString(), na += 1;
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
var zi = function() {
|
|
298
|
+
var a = this, i = a._self._c;
|
|
299
|
+
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
|
+
}, Ei = [], $i = /* @__PURE__ */ f(
|
|
301
|
+
ji,
|
|
302
|
+
zi,
|
|
303
|
+
Ei,
|
|
304
|
+
!1,
|
|
305
|
+
null,
|
|
306
|
+
null
|
|
307
|
+
);
|
|
308
|
+
const Li = $i.exports;
|
|
309
|
+
let pa = 0;
|
|
310
|
+
const Ii = {
|
|
311
|
+
beforeCreate() {
|
|
312
|
+
this.uuid = pa.toString(), pa += 1;
|
|
313
|
+
}
|
|
314
|
+
};
|
|
315
|
+
var Ti = function() {
|
|
316
|
+
var a = this, i = a._self._c;
|
|
317
|
+
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
|
+
}, Fi = [], Mi = /* @__PURE__ */ f(
|
|
319
|
+
Ii,
|
|
320
|
+
Ti,
|
|
321
|
+
Fi,
|
|
322
|
+
!1,
|
|
323
|
+
null,
|
|
324
|
+
null
|
|
325
|
+
);
|
|
326
|
+
const Si = Mi.exports;
|
|
327
|
+
let oa = 0;
|
|
328
|
+
const Vi = {
|
|
329
|
+
beforeCreate() {
|
|
330
|
+
this.uuid = oa.toString(), oa += 1;
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
var Di = function() {
|
|
334
|
+
var a = this, i = a._self._c;
|
|
335
|
+
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
|
+
}, Hi = [], Oi = /* @__PURE__ */ f(
|
|
337
|
+
Vi,
|
|
338
|
+
Di,
|
|
339
|
+
Hi,
|
|
340
|
+
!1,
|
|
341
|
+
null,
|
|
342
|
+
null
|
|
343
|
+
);
|
|
344
|
+
const Bi = Oi.exports;
|
|
345
|
+
let la = 0;
|
|
346
|
+
const qi = {
|
|
347
|
+
beforeCreate() {
|
|
348
|
+
this.uuid = la.toString(), la += 1;
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
var Zi = function() {
|
|
352
|
+
var a = this, i = a._self._c;
|
|
353
|
+
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
|
+
}, Ui = [], Ai = /* @__PURE__ */ f(
|
|
355
|
+
qi,
|
|
356
|
+
Zi,
|
|
357
|
+
Ui,
|
|
358
|
+
!1,
|
|
359
|
+
null,
|
|
360
|
+
null
|
|
361
|
+
);
|
|
362
|
+
const Pi = Ai.exports, Ni = {
|
|
363
|
+
[d.AUDIO]: Bi,
|
|
364
|
+
[d.COMPRESSED]: Ri,
|
|
365
|
+
[d.GENERIC]: pi,
|
|
366
|
+
[d.IMAGE]: Li,
|
|
367
|
+
[d.PDF]: fi,
|
|
368
|
+
[d.SLIDES]: ri,
|
|
369
|
+
[d.TABLE]: Pi,
|
|
370
|
+
[d.TEXT]: bi,
|
|
371
|
+
[d.VIDEO]: Si
|
|
372
|
+
};
|
|
373
|
+
function Wi(e) {
|
|
374
|
+
return Ni[e.type];
|
|
375
|
+
}
|
|
376
|
+
function Gi(e) {
|
|
377
|
+
switch (e.type) {
|
|
378
|
+
case d.COMPRESSED:
|
|
379
|
+
case d.GENERIC:
|
|
380
|
+
return "grey";
|
|
381
|
+
case d.PDF:
|
|
382
|
+
case d.SLIDES:
|
|
383
|
+
return "orange";
|
|
384
|
+
case d.TEXT:
|
|
385
|
+
return "blue";
|
|
386
|
+
default:
|
|
387
|
+
return "green";
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
const Yi = {
|
|
391
|
+
"en-US": {
|
|
392
|
+
cancel: "Cancel",
|
|
393
|
+
fileExceedsSizeLimit: "File exceeds size limit",
|
|
394
|
+
fileTypeMustBe: "File type must be {list}",
|
|
395
|
+
imageDimensionsExceedLimits: "Image dimensions exceed limits",
|
|
396
|
+
remove: "Remove",
|
|
397
|
+
retry: "Retry"
|
|
398
|
+
},
|
|
399
|
+
"pt-BR": {
|
|
400
|
+
cancel: "Cancelar",
|
|
401
|
+
remove: "Remover",
|
|
402
|
+
retry: "Tentar novamente"
|
|
403
|
+
},
|
|
404
|
+
"ja-JP": {
|
|
405
|
+
cancel: "キャンセル",
|
|
406
|
+
remove: "削除",
|
|
407
|
+
retry: "再試行"
|
|
408
|
+
}
|
|
409
|
+
}, Xi = {
|
|
410
|
+
name: "file-uploader-file-card",
|
|
411
|
+
i18n: { messages: Yi }
|
|
412
|
+
}, Ji = /* @__PURE__ */ D({
|
|
413
|
+
...Xi,
|
|
414
|
+
props: {
|
|
415
|
+
file: null,
|
|
416
|
+
supportedFileTypes: { default: null }
|
|
417
|
+
},
|
|
418
|
+
emits: ["cancel", "remove", "retry"],
|
|
419
|
+
setup(e, { emit: a }) {
|
|
420
|
+
const i = e, t = 1200, { t: o, locale: n } = H(), l = b(i.file.state === h.SUCCESS), s = m(() => URL.createObjectURL(i.file.data)), c = 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), O = m(() => i.file.progress && `(${i.file.progress.toFixed(0)}%)`), R = m(() => ma(n.value, i.file.data.size)), I = b(), j = b(), B = Wa(I, j), T = m(() => ({
|
|
421
|
+
"b-file-uploader-file-card--error": c.value
|
|
422
|
+
})), F = m(() => ({
|
|
423
|
+
[`b-file-uploader-file-card__icon--${Gi(i.file)}`]: l.value,
|
|
424
|
+
"b-file-uploader-file-card__icon--error": c.value
|
|
425
|
+
})), M = m(() => E.value ? Ea : c.value ? ca : l.value ? Wi(i.file) : ka);
|
|
426
|
+
return sa(
|
|
427
|
+
() => i.file.state,
|
|
428
|
+
(q) => {
|
|
429
|
+
if (q === h.SUCCESS && !l.value) {
|
|
430
|
+
const $ = setTimeout(() => {
|
|
431
|
+
l.value = !0, clearTimeout($);
|
|
432
|
+
}, t);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
), { __sfc: !0, ICON_TIMER: t, props: i, emit: a, t: o, locale: n, showFileIcon: l, downloadUrl: s, hasError: c, hasLoadError: v, hasSizeError: w, hasDimensionsError: C, hasTypeError: k, isLoading: E, progressLabel: O, sizeLabel: R, fileNameRef: I, fileNameContainerRef: j, isFileNameTruncated: B, conditionalClasses: T, conditionalIconClasses: F, fileUploaderIcon: M, isVue2: da, FileUploaderFileCardAnimation: qa, BinIcon: Na, CrossIcon: Ra, RefreshIcon: ja, vBentoTooltipDirective: $a, BentoButton: ra, BentoLink: za, BentoTypography: N };
|
|
436
|
+
}
|
|
437
|
+
});
|
|
438
|
+
var Ki = function() {
|
|
439
|
+
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(o) {
|
|
441
|
+
return t.emit("retry");
|
|
442
|
+
} }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
|
|
443
|
+
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(o) {
|
|
445
|
+
return t.emit("cancel");
|
|
446
|
+
} }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
|
|
447
|
+
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(o) {
|
|
449
|
+
return t.emit("remove");
|
|
450
|
+
} }, scopedSlots: a._u([{ key: "iconLeft", fn: function() {
|
|
451
|
+
return [i(t.BinIcon, { attrs: { "svg-title": t.t("remove") } })];
|
|
452
|
+
}, proxy: !0 }]) })], 1)]);
|
|
453
|
+
}, Qi = [], at = /* @__PURE__ */ f(
|
|
454
|
+
Ji,
|
|
455
|
+
Ki,
|
|
456
|
+
Qi,
|
|
457
|
+
!1,
|
|
458
|
+
null,
|
|
459
|
+
"56f32ebc"
|
|
460
|
+
);
|
|
461
|
+
const it = at.exports, tt = {
|
|
462
|
+
"en-US": {
|
|
463
|
+
maxFileSize: "Max file size: {size}",
|
|
464
|
+
maxImageDimensions: "Max image dimensions: {width} × {height}px",
|
|
465
|
+
maxImageHeight: "Max image height: {height}px",
|
|
466
|
+
maxImageWidth: "Max image width: {width}px",
|
|
467
|
+
maxUpload: "Max upload: {count} file | Max upload: {count} files",
|
|
468
|
+
supportedFileTypes: "Supported file types: {list}"
|
|
469
|
+
}
|
|
470
|
+
}, et = {
|
|
471
|
+
i18n: { messages: tt }
|
|
472
|
+
}, nt = /* @__PURE__ */ D({
|
|
473
|
+
...et,
|
|
474
|
+
__name: "file-uploader-restrictions",
|
|
475
|
+
props: {
|
|
476
|
+
condensed: { default: null },
|
|
477
|
+
disabled: { default: null },
|
|
478
|
+
maxCount: { default: null },
|
|
479
|
+
maxDimensions: { default: null },
|
|
480
|
+
maxSize: { default: null },
|
|
481
|
+
supportedFileTypes: { default: null }
|
|
482
|
+
},
|
|
483
|
+
setup(e) {
|
|
484
|
+
const a = e, { t: i, tc: t, locale: o } = H(), n = m(() => ({
|
|
485
|
+
"b-file-uploader-restrictions--condensed": a.condensed,
|
|
486
|
+
"b-file-uploader-restrictions--disabled": a.disabled
|
|
487
|
+
}));
|
|
488
|
+
function l(c) {
|
|
489
|
+
return {
|
|
490
|
+
"b-file-uploader-restrictions--error": c
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
const s = m(() => {
|
|
494
|
+
if (!a.maxDimensions)
|
|
495
|
+
return null;
|
|
496
|
+
const {
|
|
497
|
+
value: { width: c, height: v }
|
|
498
|
+
} = a.maxDimensions;
|
|
499
|
+
return c && v ? i("maxImageDimensions", { width: c, height: v }) : c ? i("maxImageWidth", { width: c }) : v ? i("maxImageHeight", { height: v }) : null;
|
|
500
|
+
});
|
|
501
|
+
return { __sfc: !0, props: a, t: i, tc: t, locale: o, conditionalClasses: n, setRestrictionErrorClass: l, maxDimensionsLabel: s, BentoTypography: N, formatFileSize: ma };
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
var pt = function() {
|
|
505
|
+
var a = this, i = a._self._c, t = a._self._setupProxy;
|
|
506
|
+
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
|
+
}, ot = [], lt = /* @__PURE__ */ f(
|
|
508
|
+
nt,
|
|
509
|
+
pt,
|
|
510
|
+
ot,
|
|
511
|
+
!1,
|
|
512
|
+
null,
|
|
513
|
+
"3c1d05d1"
|
|
514
|
+
);
|
|
515
|
+
const st = lt.exports;
|
|
516
|
+
function ct(e) {
|
|
517
|
+
const { locale: a, t: i } = H();
|
|
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((n) => {
|
|
522
|
+
const l = n.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 rt = {
|
|
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
|
+
"pt-BR": {
|
|
552
|
+
upload: "Carregar",
|
|
553
|
+
warning: "Aviso"
|
|
554
|
+
},
|
|
555
|
+
"ja-JP": {
|
|
556
|
+
upload: "アップロード",
|
|
557
|
+
warning: "警告"
|
|
558
|
+
}
|
|
559
|
+
}, va = {
|
|
560
|
+
"application/prs.cww": ["cww"],
|
|
561
|
+
"application/prs.xsf+xml": ["xsf"],
|
|
562
|
+
"application/vnd.1000minds.decision-model+xml": ["1km"],
|
|
563
|
+
"application/vnd.3gpp.pic-bw-large": ["plb"],
|
|
564
|
+
"application/vnd.3gpp.pic-bw-small": ["psb"],
|
|
565
|
+
"application/vnd.3gpp.pic-bw-var": ["pvb"],
|
|
566
|
+
"application/vnd.3gpp2.tcap": ["tcap"],
|
|
567
|
+
"application/vnd.3m.post-it-notes": ["pwn"],
|
|
568
|
+
"application/vnd.accpac.simply.aso": ["aso"],
|
|
569
|
+
"application/vnd.accpac.simply.imp": ["imp"],
|
|
570
|
+
"application/vnd.acucobol": ["acu"],
|
|
571
|
+
"application/vnd.acucorp": ["atc", "acutc"],
|
|
572
|
+
"application/vnd.adobe.air-application-installer-package+zip": ["air"],
|
|
573
|
+
"application/vnd.adobe.formscentral.fcdt": ["fcdt"],
|
|
574
|
+
"application/vnd.adobe.fxp": ["fxp", "fxpl"],
|
|
575
|
+
"application/vnd.adobe.xdp+xml": ["xdp"],
|
|
576
|
+
"application/vnd.adobe.xfdf": ["*xfdf"],
|
|
577
|
+
"application/vnd.age": ["age"],
|
|
578
|
+
"application/vnd.ahead.space": ["ahead"],
|
|
579
|
+
"application/vnd.airzip.filesecure.azf": ["azf"],
|
|
580
|
+
"application/vnd.airzip.filesecure.azs": ["azs"],
|
|
581
|
+
"application/vnd.amazon.ebook": ["azw"],
|
|
582
|
+
"application/vnd.americandynamics.acc": ["acc"],
|
|
583
|
+
"application/vnd.amiga.ami": ["ami"],
|
|
584
|
+
"application/vnd.android.package-archive": ["apk"],
|
|
585
|
+
"application/vnd.anser-web-certificate-issue-initiation": ["cii"],
|
|
586
|
+
"application/vnd.anser-web-funds-transfer-initiation": ["fti"],
|
|
587
|
+
"application/vnd.antix.game-component": ["atx"],
|
|
588
|
+
"application/vnd.apple.installer+xml": ["mpkg"],
|
|
589
|
+
"application/vnd.apple.keynote": ["key"],
|
|
590
|
+
"application/vnd.apple.mpegurl": ["m3u8"],
|
|
591
|
+
"application/vnd.apple.numbers": ["numbers"],
|
|
592
|
+
"application/vnd.apple.pages": ["pages"],
|
|
593
|
+
"application/vnd.apple.pkpass": ["pkpass"],
|
|
594
|
+
"application/vnd.aristanetworks.swi": ["swi"],
|
|
595
|
+
"application/vnd.astraea-software.iota": ["iota"],
|
|
596
|
+
"application/vnd.audiograph": ["aep"],
|
|
597
|
+
"application/vnd.balsamiq.bmml+xml": ["bmml"],
|
|
598
|
+
"application/vnd.blueice.multipass": ["mpm"],
|
|
599
|
+
"application/vnd.bmi": ["bmi"],
|
|
600
|
+
"application/vnd.businessobjects": ["rep"],
|
|
601
|
+
"application/vnd.chemdraw+xml": ["cdxml"],
|
|
602
|
+
"application/vnd.chipnuts.karaoke-mmd": ["mmd"],
|
|
603
|
+
"application/vnd.cinderella": ["cdy"],
|
|
604
|
+
"application/vnd.citationstyles.style+xml": ["csl"],
|
|
605
|
+
"application/vnd.claymore": ["cla"],
|
|
606
|
+
"application/vnd.cloanto.rp9": ["rp9"],
|
|
607
|
+
"application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"],
|
|
608
|
+
"application/vnd.cluetrust.cartomobile-config": ["c11amc"],
|
|
609
|
+
"application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
|
|
610
|
+
"application/vnd.commonspace": ["csp"],
|
|
611
|
+
"application/vnd.contact.cmsg": ["cdbcmsg"],
|
|
612
|
+
"application/vnd.cosmocaller": ["cmc"],
|
|
613
|
+
"application/vnd.crick.clicker": ["clkx"],
|
|
614
|
+
"application/vnd.crick.clicker.keyboard": ["clkk"],
|
|
615
|
+
"application/vnd.crick.clicker.palette": ["clkp"],
|
|
616
|
+
"application/vnd.crick.clicker.template": ["clkt"],
|
|
617
|
+
"application/vnd.crick.clicker.wordbank": ["clkw"],
|
|
618
|
+
"application/vnd.criticaltools.wbs+xml": ["wbs"],
|
|
619
|
+
"application/vnd.ctc-posml": ["pml"],
|
|
620
|
+
"application/vnd.cups-ppd": ["ppd"],
|
|
621
|
+
"application/vnd.curl.car": ["car"],
|
|
622
|
+
"application/vnd.curl.pcurl": ["pcurl"],
|
|
623
|
+
"application/vnd.dart": ["dart"],
|
|
624
|
+
"application/vnd.data-vision.rdz": ["rdz"],
|
|
625
|
+
"application/vnd.dbf": ["dbf"],
|
|
626
|
+
"application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"],
|
|
627
|
+
"application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
|
|
628
|
+
"application/vnd.dece.unspecified": ["uvx", "uvvx"],
|
|
629
|
+
"application/vnd.dece.zip": ["uvz", "uvvz"],
|
|
630
|
+
"application/vnd.denovo.fcselayout-link": ["fe_launch"],
|
|
631
|
+
"application/vnd.dna": ["dna"],
|
|
632
|
+
"application/vnd.dolby.mlp": ["mlp"],
|
|
633
|
+
"application/vnd.dpgraph": ["dpg"],
|
|
634
|
+
"application/vnd.dreamfactory": ["dfac"],
|
|
635
|
+
"application/vnd.ds-keypoint": ["kpxx"],
|
|
636
|
+
"application/vnd.dvb.ait": ["ait"],
|
|
637
|
+
"application/vnd.dvb.service": ["svc"],
|
|
638
|
+
"application/vnd.dynageo": ["geo"],
|
|
639
|
+
"application/vnd.ecowin.chart": ["mag"],
|
|
640
|
+
"application/vnd.enliven": ["nml"],
|
|
641
|
+
"application/vnd.epson.esf": ["esf"],
|
|
642
|
+
"application/vnd.epson.msf": ["msf"],
|
|
643
|
+
"application/vnd.epson.quickanime": ["qam"],
|
|
644
|
+
"application/vnd.epson.salt": ["slt"],
|
|
645
|
+
"application/vnd.epson.ssf": ["ssf"],
|
|
646
|
+
"application/vnd.eszigno3+xml": ["es3", "et3"],
|
|
647
|
+
"application/vnd.ezpix-album": ["ez2"],
|
|
648
|
+
"application/vnd.ezpix-package": ["ez3"],
|
|
649
|
+
"application/vnd.fdf": ["*fdf"],
|
|
650
|
+
"application/vnd.fdsn.mseed": ["mseed"],
|
|
651
|
+
"application/vnd.fdsn.seed": ["seed", "dataless"],
|
|
652
|
+
"application/vnd.flographit": ["gph"],
|
|
653
|
+
"application/vnd.fluxtime.clip": ["ftc"],
|
|
654
|
+
"application/vnd.framemaker": ["fm", "frame", "maker", "book"],
|
|
655
|
+
"application/vnd.frogans.fnc": ["fnc"],
|
|
656
|
+
"application/vnd.frogans.ltf": ["ltf"],
|
|
657
|
+
"application/vnd.fsc.weblaunch": ["fsc"],
|
|
658
|
+
"application/vnd.fujitsu.oasys": ["oas"],
|
|
659
|
+
"application/vnd.fujitsu.oasys2": ["oa2"],
|
|
660
|
+
"application/vnd.fujitsu.oasys3": ["oa3"],
|
|
661
|
+
"application/vnd.fujitsu.oasysgp": ["fg5"],
|
|
662
|
+
"application/vnd.fujitsu.oasysprs": ["bh2"],
|
|
663
|
+
"application/vnd.fujixerox.ddd": ["ddd"],
|
|
664
|
+
"application/vnd.fujixerox.docuworks": ["xdw"],
|
|
665
|
+
"application/vnd.fujixerox.docuworks.binder": ["xbd"],
|
|
666
|
+
"application/vnd.fuzzysheet": ["fzs"],
|
|
667
|
+
"application/vnd.genomatix.tuxedo": ["txd"],
|
|
668
|
+
"application/vnd.geogebra.file": ["ggb"],
|
|
669
|
+
"application/vnd.geogebra.slides": ["ggs"],
|
|
670
|
+
"application/vnd.geogebra.tool": ["ggt"],
|
|
671
|
+
"application/vnd.geometry-explorer": ["gex", "gre"],
|
|
672
|
+
"application/vnd.geonext": ["gxt"],
|
|
673
|
+
"application/vnd.geoplan": ["g2w"],
|
|
674
|
+
"application/vnd.geospace": ["g3w"],
|
|
675
|
+
"application/vnd.gmx": ["gmx"],
|
|
676
|
+
"application/vnd.google-apps.document": ["gdoc"],
|
|
677
|
+
"application/vnd.google-apps.presentation": ["gslides"],
|
|
678
|
+
"application/vnd.google-apps.spreadsheet": ["gsheet"],
|
|
679
|
+
"application/vnd.google-earth.kml+xml": ["kml"],
|
|
680
|
+
"application/vnd.google-earth.kmz": ["kmz"],
|
|
681
|
+
"application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"],
|
|
682
|
+
"application/vnd.grafeq": ["gqf", "gqs"],
|
|
683
|
+
"application/vnd.groove-account": ["gac"],
|
|
684
|
+
"application/vnd.groove-help": ["ghf"],
|
|
685
|
+
"application/vnd.groove-identity-message": ["gim"],
|
|
686
|
+
"application/vnd.groove-injector": ["grv"],
|
|
687
|
+
"application/vnd.groove-tool-message": ["gtm"],
|
|
688
|
+
"application/vnd.groove-tool-template": ["tpl"],
|
|
689
|
+
"application/vnd.groove-vcard": ["vcg"],
|
|
690
|
+
"application/vnd.hal+xml": ["hal"],
|
|
691
|
+
"application/vnd.handheld-entertainment+xml": ["zmm"],
|
|
692
|
+
"application/vnd.hbci": ["hbci"],
|
|
693
|
+
"application/vnd.hhe.lesson-player": ["les"],
|
|
694
|
+
"application/vnd.hp-hpgl": ["hpgl"],
|
|
695
|
+
"application/vnd.hp-hpid": ["hpid"],
|
|
696
|
+
"application/vnd.hp-hps": ["hps"],
|
|
697
|
+
"application/vnd.hp-jlyt": ["jlt"],
|
|
698
|
+
"application/vnd.hp-pcl": ["pcl"],
|
|
699
|
+
"application/vnd.hp-pclxl": ["pclxl"],
|
|
700
|
+
"application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
|
|
701
|
+
"application/vnd.ibm.minipay": ["mpy"],
|
|
702
|
+
"application/vnd.ibm.modcap": ["afp", "listafp", "list3820"],
|
|
703
|
+
"application/vnd.ibm.rights-management": ["irm"],
|
|
704
|
+
"application/vnd.ibm.secure-container": ["sc"],
|
|
705
|
+
"application/vnd.iccprofile": ["icc", "icm"],
|
|
706
|
+
"application/vnd.igloader": ["igl"],
|
|
707
|
+
"application/vnd.immervision-ivp": ["ivp"],
|
|
708
|
+
"application/vnd.immervision-ivu": ["ivu"],
|
|
709
|
+
"application/vnd.insors.igm": ["igm"],
|
|
710
|
+
"application/vnd.intercon.formnet": ["xpw", "xpx"],
|
|
711
|
+
"application/vnd.intergeo": ["i2g"],
|
|
712
|
+
"application/vnd.intu.qbo": ["qbo"],
|
|
713
|
+
"application/vnd.intu.qfx": ["qfx"],
|
|
714
|
+
"application/vnd.ipunplugged.rcprofile": ["rcprofile"],
|
|
715
|
+
"application/vnd.irepository.package+xml": ["irp"],
|
|
716
|
+
"application/vnd.is-xpr": ["xpr"],
|
|
717
|
+
"application/vnd.isac.fcs": ["fcs"],
|
|
718
|
+
"application/vnd.jam": ["jam"],
|
|
719
|
+
"application/vnd.jcp.javame.midlet-rms": ["rms"],
|
|
720
|
+
"application/vnd.jisp": ["jisp"],
|
|
721
|
+
"application/vnd.joost.joda-archive": ["joda"],
|
|
722
|
+
"application/vnd.kahootz": ["ktz", "ktr"],
|
|
723
|
+
"application/vnd.kde.karbon": ["karbon"],
|
|
724
|
+
"application/vnd.kde.kchart": ["chrt"],
|
|
725
|
+
"application/vnd.kde.kformula": ["kfo"],
|
|
726
|
+
"application/vnd.kde.kivio": ["flw"],
|
|
727
|
+
"application/vnd.kde.kontour": ["kon"],
|
|
728
|
+
"application/vnd.kde.kpresenter": ["kpr", "kpt"],
|
|
729
|
+
"application/vnd.kde.kspread": ["ksp"],
|
|
730
|
+
"application/vnd.kde.kword": ["kwd", "kwt"],
|
|
731
|
+
"application/vnd.kenameaapp": ["htke"],
|
|
732
|
+
"application/vnd.kidspiration": ["kia"],
|
|
733
|
+
"application/vnd.kinar": ["kne", "knp"],
|
|
734
|
+
"application/vnd.koan": ["skp", "skd", "skt", "skm"],
|
|
735
|
+
"application/vnd.kodak-descriptor": ["sse"],
|
|
736
|
+
"application/vnd.las.las+xml": ["lasxml"],
|
|
737
|
+
"application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
|
|
738
|
+
"application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
|
|
739
|
+
"application/vnd.lotus-1-2-3": ["123"],
|
|
740
|
+
"application/vnd.lotus-approach": ["apr"],
|
|
741
|
+
"application/vnd.lotus-freelance": ["pre"],
|
|
742
|
+
"application/vnd.lotus-notes": ["nsf"],
|
|
743
|
+
"application/vnd.lotus-organizer": ["org"],
|
|
744
|
+
"application/vnd.lotus-screencam": ["scm"],
|
|
745
|
+
"application/vnd.lotus-wordpro": ["lwp"],
|
|
746
|
+
"application/vnd.macports.portpkg": ["portpkg"],
|
|
747
|
+
"application/vnd.mapbox-vector-tile": ["mvt"],
|
|
748
|
+
"application/vnd.mcd": ["mcd"],
|
|
749
|
+
"application/vnd.medcalcdata": ["mc1"],
|
|
750
|
+
"application/vnd.mediastation.cdkey": ["cdkey"],
|
|
751
|
+
"application/vnd.mfer": ["mwf"],
|
|
752
|
+
"application/vnd.mfmp": ["mfm"],
|
|
753
|
+
"application/vnd.micrografx.flo": ["flo"],
|
|
754
|
+
"application/vnd.micrografx.igx": ["igx"],
|
|
755
|
+
"application/vnd.mif": ["mif"],
|
|
756
|
+
"application/vnd.mobius.daf": ["daf"],
|
|
757
|
+
"application/vnd.mobius.dis": ["dis"],
|
|
758
|
+
"application/vnd.mobius.mbk": ["mbk"],
|
|
759
|
+
"application/vnd.mobius.mqy": ["mqy"],
|
|
760
|
+
"application/vnd.mobius.msl": ["msl"],
|
|
761
|
+
"application/vnd.mobius.plc": ["plc"],
|
|
762
|
+
"application/vnd.mobius.txf": ["txf"],
|
|
763
|
+
"application/vnd.mophun.application": ["mpn"],
|
|
764
|
+
"application/vnd.mophun.certificate": ["mpc"],
|
|
765
|
+
"application/vnd.mozilla.xul+xml": ["xul"],
|
|
766
|
+
"application/vnd.ms-artgalry": ["cil"],
|
|
767
|
+
"application/vnd.ms-cab-compressed": ["cab"],
|
|
768
|
+
"application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"],
|
|
769
|
+
"application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
|
|
770
|
+
"application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
|
|
771
|
+
"application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
|
|
772
|
+
"application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
|
|
773
|
+
"application/vnd.ms-fontobject": ["eot"],
|
|
774
|
+
"application/vnd.ms-htmlhelp": ["chm"],
|
|
775
|
+
"application/vnd.ms-ims": ["ims"],
|
|
776
|
+
"application/vnd.ms-lrm": ["lrm"],
|
|
777
|
+
"application/vnd.ms-officetheme": ["thmx"],
|
|
778
|
+
"application/vnd.ms-outlook": ["msg"],
|
|
779
|
+
"application/vnd.ms-pki.seccat": ["cat"],
|
|
780
|
+
"application/vnd.ms-pki.stl": ["*stl"],
|
|
781
|
+
"application/vnd.ms-powerpoint": ["ppt", "pps", "pot"],
|
|
782
|
+
"application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
|
|
783
|
+
"application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
|
|
784
|
+
"application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
|
|
785
|
+
"application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
|
|
786
|
+
"application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
|
|
787
|
+
"application/vnd.ms-project": ["*mpp", "mpt"],
|
|
788
|
+
"application/vnd.ms-word.document.macroenabled.12": ["docm"],
|
|
789
|
+
"application/vnd.ms-word.template.macroenabled.12": ["dotm"],
|
|
790
|
+
"application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"],
|
|
791
|
+
"application/vnd.ms-wpl": ["wpl"],
|
|
792
|
+
"application/vnd.ms-xpsdocument": ["xps"],
|
|
793
|
+
"application/vnd.mseq": ["mseq"],
|
|
794
|
+
"application/vnd.musician": ["mus"],
|
|
795
|
+
"application/vnd.muvee.style": ["msty"],
|
|
796
|
+
"application/vnd.mynfc": ["taglet"],
|
|
797
|
+
"application/vnd.nato.bindingdataobject+xml": ["bdo"],
|
|
798
|
+
"application/vnd.neurolanguage.nlu": ["nlu"],
|
|
799
|
+
"application/vnd.nitf": ["ntf", "nitf"],
|
|
800
|
+
"application/vnd.noblenet-directory": ["nnd"],
|
|
801
|
+
"application/vnd.noblenet-sealer": ["nns"],
|
|
802
|
+
"application/vnd.noblenet-web": ["nnw"],
|
|
803
|
+
"application/vnd.nokia.n-gage.ac+xml": ["*ac"],
|
|
804
|
+
"application/vnd.nokia.n-gage.data": ["ngdat"],
|
|
805
|
+
"application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
|
|
806
|
+
"application/vnd.nokia.radio-preset": ["rpst"],
|
|
807
|
+
"application/vnd.nokia.radio-presets": ["rpss"],
|
|
808
|
+
"application/vnd.novadigm.edm": ["edm"],
|
|
809
|
+
"application/vnd.novadigm.edx": ["edx"],
|
|
810
|
+
"application/vnd.novadigm.ext": ["ext"],
|
|
811
|
+
"application/vnd.oasis.opendocument.chart": ["odc"],
|
|
812
|
+
"application/vnd.oasis.opendocument.chart-template": ["otc"],
|
|
813
|
+
"application/vnd.oasis.opendocument.database": ["odb"],
|
|
814
|
+
"application/vnd.oasis.opendocument.formula": ["odf"],
|
|
815
|
+
"application/vnd.oasis.opendocument.formula-template": ["odft"],
|
|
816
|
+
"application/vnd.oasis.opendocument.graphics": ["odg"],
|
|
817
|
+
"application/vnd.oasis.opendocument.graphics-template": ["otg"],
|
|
818
|
+
"application/vnd.oasis.opendocument.image": ["odi"],
|
|
819
|
+
"application/vnd.oasis.opendocument.image-template": ["oti"],
|
|
820
|
+
"application/vnd.oasis.opendocument.presentation": ["odp"],
|
|
821
|
+
"application/vnd.oasis.opendocument.presentation-template": ["otp"],
|
|
822
|
+
"application/vnd.oasis.opendocument.spreadsheet": ["ods"],
|
|
823
|
+
"application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
|
|
824
|
+
"application/vnd.oasis.opendocument.text": ["odt"],
|
|
825
|
+
"application/vnd.oasis.opendocument.text-master": ["odm"],
|
|
826
|
+
"application/vnd.oasis.opendocument.text-template": ["ott"],
|
|
827
|
+
"application/vnd.oasis.opendocument.text-web": ["oth"],
|
|
828
|
+
"application/vnd.olpc-sugar": ["xo"],
|
|
829
|
+
"application/vnd.oma.dd2+xml": ["dd2"],
|
|
830
|
+
"application/vnd.openblox.game+xml": ["obgx"],
|
|
831
|
+
"application/vnd.openofficeorg.extension": ["oxt"],
|
|
832
|
+
"application/vnd.openstreetmap.data+xml": ["osm"],
|
|
833
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": [
|
|
834
|
+
"pptx"
|
|
835
|
+
],
|
|
836
|
+
"application/vnd.openxmlformats-officedocument.presentationml.slide": [
|
|
837
|
+
"sldx"
|
|
838
|
+
],
|
|
839
|
+
"application/vnd.openxmlformats-officedocument.presentationml.slideshow": [
|
|
840
|
+
"ppsx"
|
|
841
|
+
],
|
|
842
|
+
"application/vnd.openxmlformats-officedocument.presentationml.template": [
|
|
843
|
+
"potx"
|
|
844
|
+
],
|
|
845
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
|
|
846
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.template": [
|
|
847
|
+
"xltx"
|
|
848
|
+
],
|
|
849
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
|
|
850
|
+
"docx"
|
|
851
|
+
],
|
|
852
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.template": [
|
|
853
|
+
"dotx"
|
|
854
|
+
],
|
|
855
|
+
"application/vnd.osgeo.mapguide.package": ["mgp"],
|
|
856
|
+
"application/vnd.osgi.dp": ["dp"],
|
|
857
|
+
"application/vnd.osgi.subsystem": ["esa"],
|
|
858
|
+
"application/vnd.palm": ["pdb", "pqa", "oprc"],
|
|
859
|
+
"application/vnd.pawaafile": ["paw"],
|
|
860
|
+
"application/vnd.pg.format": ["str"],
|
|
861
|
+
"application/vnd.pg.osasli": ["ei6"],
|
|
862
|
+
"application/vnd.picsel": ["efif"],
|
|
863
|
+
"application/vnd.pmi.widget": ["wg"],
|
|
864
|
+
"application/vnd.pocketlearn": ["plf"],
|
|
865
|
+
"application/vnd.powerbuilder6": ["pbd"],
|
|
866
|
+
"application/vnd.previewsystems.box": ["box"],
|
|
867
|
+
"application/vnd.proteus.magazine": ["mgz"],
|
|
868
|
+
"application/vnd.publishare-delta-tree": ["qps"],
|
|
869
|
+
"application/vnd.pvi.ptid1": ["ptid"],
|
|
870
|
+
"application/vnd.pwg-xhtml-print+xml": ["xhtm"],
|
|
871
|
+
"application/vnd.quark.quarkxpress": [
|
|
872
|
+
"qxd",
|
|
873
|
+
"qxt",
|
|
874
|
+
"qwd",
|
|
875
|
+
"qwt",
|
|
876
|
+
"qxl",
|
|
877
|
+
"qxb"
|
|
878
|
+
],
|
|
879
|
+
"application/vnd.rar": ["rar"],
|
|
880
|
+
"application/vnd.realvnc.bed": ["bed"],
|
|
881
|
+
"application/vnd.recordare.musicxml": ["mxl"],
|
|
882
|
+
"application/vnd.recordare.musicxml+xml": ["musicxml"],
|
|
883
|
+
"application/vnd.rig.cryptonote": ["cryptonote"],
|
|
884
|
+
"application/vnd.rim.cod": ["cod"],
|
|
885
|
+
"application/vnd.rn-realmedia": ["rm"],
|
|
886
|
+
"application/vnd.rn-realmedia-vbr": ["rmvb"],
|
|
887
|
+
"application/vnd.route66.link66+xml": ["link66"],
|
|
888
|
+
"application/vnd.sailingtracker.track": ["st"],
|
|
889
|
+
"application/vnd.seemail": ["see"],
|
|
890
|
+
"application/vnd.sema": ["sema"],
|
|
891
|
+
"application/vnd.semd": ["semd"],
|
|
892
|
+
"application/vnd.semf": ["semf"],
|
|
893
|
+
"application/vnd.shana.informed.formdata": ["ifm"],
|
|
894
|
+
"application/vnd.shana.informed.formtemplate": ["itp"],
|
|
895
|
+
"application/vnd.shana.informed.interchange": ["iif"],
|
|
896
|
+
"application/vnd.shana.informed.package": ["ipk"],
|
|
897
|
+
"application/vnd.simtech-mindmapper": ["twd", "twds"],
|
|
898
|
+
"application/vnd.smaf": ["mmf"],
|
|
899
|
+
"application/vnd.smart.teacher": ["teacher"],
|
|
900
|
+
"application/vnd.software602.filler.form+xml": ["fo"],
|
|
901
|
+
"application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
|
|
902
|
+
"application/vnd.spotfire.dxp": ["dxp"],
|
|
903
|
+
"application/vnd.spotfire.sfs": ["sfs"],
|
|
904
|
+
"application/vnd.stardivision.calc": ["sdc"],
|
|
905
|
+
"application/vnd.stardivision.draw": ["sda"],
|
|
906
|
+
"application/vnd.stardivision.impress": ["sdd"],
|
|
907
|
+
"application/vnd.stardivision.math": ["smf"],
|
|
908
|
+
"application/vnd.stardivision.writer": ["sdw", "vor"],
|
|
909
|
+
"application/vnd.stardivision.writer-global": ["sgl"],
|
|
910
|
+
"application/vnd.stepmania.package": ["smzip"],
|
|
911
|
+
"application/vnd.stepmania.stepchart": ["sm"],
|
|
912
|
+
"application/vnd.sun.wadl+xml": ["wadl"],
|
|
913
|
+
"application/vnd.sun.xml.calc": ["sxc"],
|
|
914
|
+
"application/vnd.sun.xml.calc.template": ["stc"],
|
|
915
|
+
"application/vnd.sun.xml.draw": ["sxd"],
|
|
916
|
+
"application/vnd.sun.xml.draw.template": ["std"],
|
|
917
|
+
"application/vnd.sun.xml.impress": ["sxi"],
|
|
918
|
+
"application/vnd.sun.xml.impress.template": ["sti"],
|
|
919
|
+
"application/vnd.sun.xml.math": ["sxm"],
|
|
920
|
+
"application/vnd.sun.xml.writer": ["sxw"],
|
|
921
|
+
"application/vnd.sun.xml.writer.global": ["sxg"],
|
|
922
|
+
"application/vnd.sun.xml.writer.template": ["stw"],
|
|
923
|
+
"application/vnd.sus-calendar": ["sus", "susp"],
|
|
924
|
+
"application/vnd.svd": ["svd"],
|
|
925
|
+
"application/vnd.symbian.install": ["sis", "sisx"],
|
|
926
|
+
"application/vnd.syncml+xml": ["xsm"],
|
|
927
|
+
"application/vnd.syncml.dm+wbxml": ["bdm"],
|
|
928
|
+
"application/vnd.syncml.dm+xml": ["xdm"],
|
|
929
|
+
"application/vnd.syncml.dmddf+xml": ["ddf"],
|
|
930
|
+
"application/vnd.tao.intent-module-archive": ["tao"],
|
|
931
|
+
"application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"],
|
|
932
|
+
"application/vnd.tmobile-livetv": ["tmo"],
|
|
933
|
+
"application/vnd.trid.tpt": ["tpt"],
|
|
934
|
+
"application/vnd.triscape.mxs": ["mxs"],
|
|
935
|
+
"application/vnd.trueapp": ["tra"],
|
|
936
|
+
"application/vnd.ufdl": ["ufd", "ufdl"],
|
|
937
|
+
"application/vnd.uiq.theme": ["utz"],
|
|
938
|
+
"application/vnd.umajin": ["umj"],
|
|
939
|
+
"application/vnd.unity": ["unityweb"],
|
|
940
|
+
"application/vnd.uoml+xml": ["uoml", "uo"],
|
|
941
|
+
"application/vnd.vcx": ["vcx"],
|
|
942
|
+
"application/vnd.visio": ["vsd", "vst", "vss", "vsw"],
|
|
943
|
+
"application/vnd.visionary": ["vis"],
|
|
944
|
+
"application/vnd.vsf": ["vsf"],
|
|
945
|
+
"application/vnd.wap.wbxml": ["wbxml"],
|
|
946
|
+
"application/vnd.wap.wmlc": ["wmlc"],
|
|
947
|
+
"application/vnd.wap.wmlscriptc": ["wmlsc"],
|
|
948
|
+
"application/vnd.webturbo": ["wtb"],
|
|
949
|
+
"application/vnd.wolfram.player": ["nbp"],
|
|
950
|
+
"application/vnd.wordperfect": ["wpd"],
|
|
951
|
+
"application/vnd.wqd": ["wqd"],
|
|
952
|
+
"application/vnd.wt.stf": ["stf"],
|
|
953
|
+
"application/vnd.xara": ["xar"],
|
|
954
|
+
"application/vnd.xfdl": ["xfdl"],
|
|
955
|
+
"application/vnd.yamaha.hv-dic": ["hvd"],
|
|
956
|
+
"application/vnd.yamaha.hv-script": ["hvs"],
|
|
957
|
+
"application/vnd.yamaha.hv-voice": ["hvp"],
|
|
958
|
+
"application/vnd.yamaha.openscoreformat": ["osf"],
|
|
959
|
+
"application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
|
|
960
|
+
"application/vnd.yamaha.smaf-audio": ["saf"],
|
|
961
|
+
"application/vnd.yamaha.smaf-phrase": ["spf"],
|
|
962
|
+
"application/vnd.yellowriver-custom-menu": ["cmp"],
|
|
963
|
+
"application/vnd.zul": ["zir", "zirz"],
|
|
964
|
+
"application/vnd.zzazz.deck+xml": ["zaz"],
|
|
965
|
+
"application/x-7z-compressed": ["7z"],
|
|
966
|
+
"application/x-abiword": ["abw"],
|
|
967
|
+
"application/x-ace-compressed": ["ace"],
|
|
968
|
+
"application/x-apple-diskimage": ["*dmg"],
|
|
969
|
+
"application/x-arj": ["arj"],
|
|
970
|
+
"application/x-authorware-bin": ["aab", "x32", "u32", "vox"],
|
|
971
|
+
"application/x-authorware-map": ["aam"],
|
|
972
|
+
"application/x-authorware-seg": ["aas"],
|
|
973
|
+
"application/x-bcpio": ["bcpio"],
|
|
974
|
+
"application/x-bdoc": ["*bdoc"],
|
|
975
|
+
"application/x-bittorrent": ["torrent"],
|
|
976
|
+
"application/x-blorb": ["blb", "blorb"],
|
|
977
|
+
"application/x-bzip": ["bz"],
|
|
978
|
+
"application/x-bzip2": ["bz2", "boz"],
|
|
979
|
+
"application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"],
|
|
980
|
+
"application/x-cdlink": ["vcd"],
|
|
981
|
+
"application/x-cfs-compressed": ["cfs"],
|
|
982
|
+
"application/x-chat": ["chat"],
|
|
983
|
+
"application/x-chess-pgn": ["pgn"],
|
|
984
|
+
"application/x-chrome-extension": ["crx"],
|
|
985
|
+
"application/x-cocoa": ["cco"],
|
|
986
|
+
"application/x-conference": ["nsc"],
|
|
987
|
+
"application/x-cpio": ["cpio"],
|
|
988
|
+
"application/x-csh": ["csh"],
|
|
989
|
+
"application/x-debian-package": ["*deb", "udeb"],
|
|
990
|
+
"application/x-dgc-compressed": ["dgc"],
|
|
991
|
+
"application/x-director": [
|
|
992
|
+
"dir",
|
|
993
|
+
"dcr",
|
|
994
|
+
"dxr",
|
|
995
|
+
"cst",
|
|
996
|
+
"cct",
|
|
997
|
+
"cxt",
|
|
998
|
+
"w3d",
|
|
999
|
+
"fgd",
|
|
1000
|
+
"swa"
|
|
1001
|
+
],
|
|
1002
|
+
"application/x-doom": ["wad"],
|
|
1003
|
+
"application/x-dtbncx+xml": ["ncx"],
|
|
1004
|
+
"application/x-dtbook+xml": ["dtb"],
|
|
1005
|
+
"application/x-dtbresource+xml": ["res"],
|
|
1006
|
+
"application/x-dvi": ["dvi"],
|
|
1007
|
+
"application/x-envoy": ["evy"],
|
|
1008
|
+
"application/x-eva": ["eva"],
|
|
1009
|
+
"application/x-font-bdf": ["bdf"],
|
|
1010
|
+
"application/x-font-ghostscript": ["gsf"],
|
|
1011
|
+
"application/x-font-linux-psf": ["psf"],
|
|
1012
|
+
"application/x-font-pcf": ["pcf"],
|
|
1013
|
+
"application/x-font-snf": ["snf"],
|
|
1014
|
+
"application/x-font-type1": ["pfa", "pfb", "pfm", "afm"],
|
|
1015
|
+
"application/x-freearc": ["arc"],
|
|
1016
|
+
"application/x-futuresplash": ["spl"],
|
|
1017
|
+
"application/x-gca-compressed": ["gca"],
|
|
1018
|
+
"application/x-glulx": ["ulx"],
|
|
1019
|
+
"application/x-gnumeric": ["gnumeric"],
|
|
1020
|
+
"application/x-gramps-xml": ["gramps"],
|
|
1021
|
+
"application/x-gtar": ["gtar"],
|
|
1022
|
+
"application/x-hdf": ["hdf"],
|
|
1023
|
+
"application/x-httpd-php": ["php"],
|
|
1024
|
+
"application/x-install-instructions": ["install"],
|
|
1025
|
+
"application/x-iso9660-image": ["*iso"],
|
|
1026
|
+
"application/x-iwork-keynote-sffkey": ["*key"],
|
|
1027
|
+
"application/x-iwork-numbers-sffnumbers": ["*numbers"],
|
|
1028
|
+
"application/x-iwork-pages-sffpages": ["*pages"],
|
|
1029
|
+
"application/x-java-archive-diff": ["jardiff"],
|
|
1030
|
+
"application/x-java-jnlp-file": ["jnlp"],
|
|
1031
|
+
"application/x-keepass2": ["kdbx"],
|
|
1032
|
+
"application/x-latex": ["latex"],
|
|
1033
|
+
"application/x-lua-bytecode": ["luac"],
|
|
1034
|
+
"application/x-lzh-compressed": ["lzh", "lha"],
|
|
1035
|
+
"application/x-makeself": ["run"],
|
|
1036
|
+
"application/x-mie": ["mie"],
|
|
1037
|
+
"application/x-mobipocket-ebook": ["*prc", "mobi"],
|
|
1038
|
+
"application/x-ms-application": ["application"],
|
|
1039
|
+
"application/x-ms-shortcut": ["lnk"],
|
|
1040
|
+
"application/x-ms-wmd": ["wmd"],
|
|
1041
|
+
"application/x-ms-wmz": ["wmz"],
|
|
1042
|
+
"application/x-ms-xbap": ["xbap"],
|
|
1043
|
+
"application/x-msaccess": ["mdb"],
|
|
1044
|
+
"application/x-msbinder": ["obd"],
|
|
1045
|
+
"application/x-mscardfile": ["crd"],
|
|
1046
|
+
"application/x-msclip": ["clp"],
|
|
1047
|
+
"application/x-msdos-program": ["*exe"],
|
|
1048
|
+
"application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"],
|
|
1049
|
+
"application/x-msmediaview": ["mvb", "m13", "m14"],
|
|
1050
|
+
"application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"],
|
|
1051
|
+
"application/x-msmoney": ["mny"],
|
|
1052
|
+
"application/x-mspublisher": ["pub"],
|
|
1053
|
+
"application/x-msschedule": ["scd"],
|
|
1054
|
+
"application/x-msterminal": ["trm"],
|
|
1055
|
+
"application/x-mswrite": ["wri"],
|
|
1056
|
+
"application/x-netcdf": ["nc", "cdf"],
|
|
1057
|
+
"application/x-ns-proxy-autoconfig": ["pac"],
|
|
1058
|
+
"application/x-nzb": ["nzb"],
|
|
1059
|
+
"application/x-perl": ["pl", "pm"],
|
|
1060
|
+
"application/x-pilot": ["*prc", "*pdb"],
|
|
1061
|
+
"application/x-pkcs12": ["p12", "pfx"],
|
|
1062
|
+
"application/x-pkcs7-certificates": ["p7b", "spc"],
|
|
1063
|
+
"application/x-pkcs7-certreqresp": ["p7r"],
|
|
1064
|
+
"application/x-rar-compressed": ["*rar"],
|
|
1065
|
+
"application/x-redhat-package-manager": ["rpm"],
|
|
1066
|
+
"application/x-research-info-systems": ["ris"],
|
|
1067
|
+
"application/x-sea": ["sea"],
|
|
1068
|
+
"application/x-sh": ["sh"],
|
|
1069
|
+
"application/x-shar": ["shar"],
|
|
1070
|
+
"application/x-shockwave-flash": ["swf"],
|
|
1071
|
+
"application/x-silverlight-app": ["xap"],
|
|
1072
|
+
"application/x-sql": ["*sql"],
|
|
1073
|
+
"application/x-stuffit": ["sit"],
|
|
1074
|
+
"application/x-stuffitx": ["sitx"],
|
|
1075
|
+
"application/x-subrip": ["srt"],
|
|
1076
|
+
"application/x-sv4cpio": ["sv4cpio"],
|
|
1077
|
+
"application/x-sv4crc": ["sv4crc"],
|
|
1078
|
+
"application/x-t3vm-image": ["t3"],
|
|
1079
|
+
"application/x-tads": ["gam"],
|
|
1080
|
+
"application/x-tar": ["tar"],
|
|
1081
|
+
"application/x-tcl": ["tcl", "tk"],
|
|
1082
|
+
"application/x-tex": ["tex"],
|
|
1083
|
+
"application/x-tex-tfm": ["tfm"],
|
|
1084
|
+
"application/x-texinfo": ["texinfo", "texi"],
|
|
1085
|
+
"application/x-tgif": ["*obj"],
|
|
1086
|
+
"application/x-ustar": ["ustar"],
|
|
1087
|
+
"application/x-virtualbox-hdd": ["hdd"],
|
|
1088
|
+
"application/x-virtualbox-ova": ["ova"],
|
|
1089
|
+
"application/x-virtualbox-ovf": ["ovf"],
|
|
1090
|
+
"application/x-virtualbox-vbox": ["vbox"],
|
|
1091
|
+
"application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
|
|
1092
|
+
"application/x-virtualbox-vdi": ["vdi"],
|
|
1093
|
+
"application/x-virtualbox-vhd": ["vhd"],
|
|
1094
|
+
"application/x-virtualbox-vmdk": ["vmdk"],
|
|
1095
|
+
"application/x-wais-source": ["src"],
|
|
1096
|
+
"application/x-web-app-manifest+json": ["webapp"],
|
|
1097
|
+
"application/x-x509-ca-cert": ["der", "crt", "pem"],
|
|
1098
|
+
"application/x-xfig": ["fig"],
|
|
1099
|
+
"application/x-xliff+xml": ["*xlf"],
|
|
1100
|
+
"application/x-xpinstall": ["xpi"],
|
|
1101
|
+
"application/x-xz": ["xz"],
|
|
1102
|
+
"application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"],
|
|
1103
|
+
"audio/vnd.dece.audio": ["uva", "uvva"],
|
|
1104
|
+
"audio/vnd.digital-winds": ["eol"],
|
|
1105
|
+
"audio/vnd.dra": ["dra"],
|
|
1106
|
+
"audio/vnd.dts": ["dts"],
|
|
1107
|
+
"audio/vnd.dts.hd": ["dtshd"],
|
|
1108
|
+
"audio/vnd.lucent.voice": ["lvp"],
|
|
1109
|
+
"audio/vnd.ms-playready.media.pya": ["pya"],
|
|
1110
|
+
"audio/vnd.nuera.ecelp4800": ["ecelp4800"],
|
|
1111
|
+
"audio/vnd.nuera.ecelp7470": ["ecelp7470"],
|
|
1112
|
+
"audio/vnd.nuera.ecelp9600": ["ecelp9600"],
|
|
1113
|
+
"audio/vnd.rip": ["rip"],
|
|
1114
|
+
"audio/x-aac": ["*aac"],
|
|
1115
|
+
"audio/x-aiff": ["aif", "aiff", "aifc"],
|
|
1116
|
+
"audio/x-caf": ["caf"],
|
|
1117
|
+
"audio/x-flac": ["flac"],
|
|
1118
|
+
"audio/x-m4a": ["*m4a"],
|
|
1119
|
+
"audio/x-matroska": ["mka"],
|
|
1120
|
+
"audio/x-mpegurl": ["m3u"],
|
|
1121
|
+
"audio/x-ms-wax": ["wax"],
|
|
1122
|
+
"audio/x-ms-wma": ["wma"],
|
|
1123
|
+
"audio/x-pn-realaudio": ["ram", "ra"],
|
|
1124
|
+
"audio/x-pn-realaudio-plugin": ["rmp"],
|
|
1125
|
+
"audio/x-realaudio": ["*ra"],
|
|
1126
|
+
"audio/x-wav": ["*wav"],
|
|
1127
|
+
"chemical/x-cdx": ["cdx"],
|
|
1128
|
+
"chemical/x-cif": ["cif"],
|
|
1129
|
+
"chemical/x-cmdf": ["cmdf"],
|
|
1130
|
+
"chemical/x-cml": ["cml"],
|
|
1131
|
+
"chemical/x-csml": ["csml"],
|
|
1132
|
+
"chemical/x-xyz": ["xyz"],
|
|
1133
|
+
"image/prs.btif": ["btif", "btf"],
|
|
1134
|
+
"image/prs.pti": ["pti"],
|
|
1135
|
+
"image/vnd.adobe.photoshop": ["psd"],
|
|
1136
|
+
"image/vnd.airzip.accelerator.azv": ["azv"],
|
|
1137
|
+
"image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"],
|
|
1138
|
+
"image/vnd.djvu": ["djvu", "djv"],
|
|
1139
|
+
"image/vnd.dvb.subtitle": ["*sub"],
|
|
1140
|
+
"image/vnd.dwg": ["dwg"],
|
|
1141
|
+
"image/vnd.dxf": ["dxf"],
|
|
1142
|
+
"image/vnd.fastbidsheet": ["fbs"],
|
|
1143
|
+
"image/vnd.fpx": ["fpx"],
|
|
1144
|
+
"image/vnd.fst": ["fst"],
|
|
1145
|
+
"image/vnd.fujixerox.edmics-mmr": ["mmr"],
|
|
1146
|
+
"image/vnd.fujixerox.edmics-rlc": ["rlc"],
|
|
1147
|
+
"image/vnd.microsoft.icon": ["ico"],
|
|
1148
|
+
"image/vnd.ms-dds": ["dds"],
|
|
1149
|
+
"image/vnd.ms-modi": ["mdi"],
|
|
1150
|
+
"image/vnd.ms-photo": ["wdp"],
|
|
1151
|
+
"image/vnd.net-fpx": ["npx"],
|
|
1152
|
+
"image/vnd.pco.b16": ["b16"],
|
|
1153
|
+
"image/vnd.tencent.tap": ["tap"],
|
|
1154
|
+
"image/vnd.valve.source.texture": ["vtf"],
|
|
1155
|
+
"image/vnd.wap.wbmp": ["wbmp"],
|
|
1156
|
+
"image/vnd.xiff": ["xif"],
|
|
1157
|
+
"image/vnd.zbrush.pcx": ["pcx"],
|
|
1158
|
+
"image/x-3ds": ["3ds"],
|
|
1159
|
+
"image/x-cmu-raster": ["ras"],
|
|
1160
|
+
"image/x-cmx": ["cmx"],
|
|
1161
|
+
"image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"],
|
|
1162
|
+
"image/x-icon": ["*ico"],
|
|
1163
|
+
"image/x-jng": ["jng"],
|
|
1164
|
+
"image/x-mrsid-image": ["sid"],
|
|
1165
|
+
"image/x-ms-bmp": ["*bmp"],
|
|
1166
|
+
"image/x-pcx": ["*pcx"],
|
|
1167
|
+
"image/x-pict": ["pic", "pct"],
|
|
1168
|
+
"image/x-portable-anymap": ["pnm"],
|
|
1169
|
+
"image/x-portable-bitmap": ["pbm"],
|
|
1170
|
+
"image/x-portable-graymap": ["pgm"],
|
|
1171
|
+
"image/x-portable-pixmap": ["ppm"],
|
|
1172
|
+
"image/x-rgb": ["rgb"],
|
|
1173
|
+
"image/x-tga": ["tga"],
|
|
1174
|
+
"image/x-xbitmap": ["xbm"],
|
|
1175
|
+
"image/x-xpixmap": ["xpm"],
|
|
1176
|
+
"image/x-xwindowdump": ["xwd"],
|
|
1177
|
+
"message/vnd.wfa.wsc": ["wsc"],
|
|
1178
|
+
"model/vnd.bary": ["bary"],
|
|
1179
|
+
"model/vnd.cld": ["cld"],
|
|
1180
|
+
"model/vnd.collada+xml": ["dae"],
|
|
1181
|
+
"model/vnd.dwf": ["dwf"],
|
|
1182
|
+
"model/vnd.gdl": ["gdl"],
|
|
1183
|
+
"model/vnd.gtw": ["gtw"],
|
|
1184
|
+
"model/vnd.mts": ["*mts"],
|
|
1185
|
+
"model/vnd.opengex": ["ogex"],
|
|
1186
|
+
"model/vnd.parasolid.transmit.binary": ["x_b"],
|
|
1187
|
+
"model/vnd.parasolid.transmit.text": ["x_t"],
|
|
1188
|
+
"model/vnd.pytha.pyox": ["pyo", "pyox"],
|
|
1189
|
+
"model/vnd.sap.vds": ["vds"],
|
|
1190
|
+
"model/vnd.usda": ["usda"],
|
|
1191
|
+
"model/vnd.usdz+zip": ["usdz"],
|
|
1192
|
+
"model/vnd.valve.source.compiled-map": ["bsp"],
|
|
1193
|
+
"model/vnd.vtu": ["vtu"],
|
|
1194
|
+
"text/prs.lines.tag": ["dsc"],
|
|
1195
|
+
"text/vnd.curl": ["curl"],
|
|
1196
|
+
"text/vnd.curl.dcurl": ["dcurl"],
|
|
1197
|
+
"text/vnd.curl.mcurl": ["mcurl"],
|
|
1198
|
+
"text/vnd.curl.scurl": ["scurl"],
|
|
1199
|
+
"text/vnd.dvb.subtitle": ["sub"],
|
|
1200
|
+
"text/vnd.familysearch.gedcom": ["ged"],
|
|
1201
|
+
"text/vnd.fly": ["fly"],
|
|
1202
|
+
"text/vnd.fmi.flexstor": ["flx"],
|
|
1203
|
+
"text/vnd.graphviz": ["gv"],
|
|
1204
|
+
"text/vnd.in3d.3dml": ["3dml"],
|
|
1205
|
+
"text/vnd.in3d.spot": ["spot"],
|
|
1206
|
+
"text/vnd.sun.j2me.app-descriptor": ["jad"],
|
|
1207
|
+
"text/vnd.wap.wml": ["wml"],
|
|
1208
|
+
"text/vnd.wap.wmlscript": ["wmls"],
|
|
1209
|
+
"text/x-asm": ["s", "asm"],
|
|
1210
|
+
"text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"],
|
|
1211
|
+
"text/x-component": ["htc"],
|
|
1212
|
+
"text/x-fortran": ["f", "for", "f77", "f90"],
|
|
1213
|
+
"text/x-handlebars-template": ["hbs"],
|
|
1214
|
+
"text/x-java-source": ["java"],
|
|
1215
|
+
"text/x-lua": ["lua"],
|
|
1216
|
+
"text/x-markdown": ["mkd"],
|
|
1217
|
+
"text/x-nfo": ["nfo"],
|
|
1218
|
+
"text/x-opml": ["opml"],
|
|
1219
|
+
"text/x-org": ["*org"],
|
|
1220
|
+
"text/x-pascal": ["p", "pas"],
|
|
1221
|
+
"text/x-processing": ["pde"],
|
|
1222
|
+
"text/x-sass": ["sass"],
|
|
1223
|
+
"text/x-scss": ["scss"],
|
|
1224
|
+
"text/x-setext": ["etx"],
|
|
1225
|
+
"text/x-sfv": ["sfv"],
|
|
1226
|
+
"text/x-suse-ymp": ["ymp"],
|
|
1227
|
+
"text/x-uuencode": ["uu"],
|
|
1228
|
+
"text/x-vcalendar": ["vcs"],
|
|
1229
|
+
"text/x-vcard": ["vcf"],
|
|
1230
|
+
"video/vnd.dece.hd": ["uvh", "uvvh"],
|
|
1231
|
+
"video/vnd.dece.mobile": ["uvm", "uvvm"],
|
|
1232
|
+
"video/vnd.dece.pd": ["uvp", "uvvp"],
|
|
1233
|
+
"video/vnd.dece.sd": ["uvs", "uvvs"],
|
|
1234
|
+
"video/vnd.dece.video": ["uvv", "uvvv"],
|
|
1235
|
+
"video/vnd.dvb.file": ["dvb"],
|
|
1236
|
+
"video/vnd.fvt": ["fvt"],
|
|
1237
|
+
"video/vnd.mpegurl": ["mxu", "m4u"],
|
|
1238
|
+
"video/vnd.ms-playready.media.pyv": ["pyv"],
|
|
1239
|
+
"video/vnd.uvvu.mp4": ["uvu", "uvvu"],
|
|
1240
|
+
"video/vnd.vivo": ["viv"],
|
|
1241
|
+
"video/x-f4v": ["f4v"],
|
|
1242
|
+
"video/x-fli": ["fli"],
|
|
1243
|
+
"video/x-flv": ["flv"],
|
|
1244
|
+
"video/x-m4v": ["m4v"],
|
|
1245
|
+
"video/x-matroska": ["mkv", "mk3d", "mks"],
|
|
1246
|
+
"video/x-mng": ["mng"],
|
|
1247
|
+
"video/x-ms-asf": ["asf", "asx"],
|
|
1248
|
+
"video/x-ms-vob": ["vob"],
|
|
1249
|
+
"video/x-ms-wm": ["wm"],
|
|
1250
|
+
"video/x-ms-wmv": ["wmv"],
|
|
1251
|
+
"video/x-ms-wmx": ["wmx"],
|
|
1252
|
+
"video/x-ms-wvx": ["wvx"],
|
|
1253
|
+
"video/x-msvideo": ["avi"],
|
|
1254
|
+
"video/x-sgi-movie": ["movie"],
|
|
1255
|
+
"video/x-smv": ["smv"],
|
|
1256
|
+
"x-conference/x-cooltalk": ["ice"]
|
|
1257
|
+
};
|
|
1258
|
+
Object.freeze(va);
|
|
1259
|
+
const ua = {
|
|
1260
|
+
"application/andrew-inset": ["ez"],
|
|
1261
|
+
"application/appinstaller": ["appinstaller"],
|
|
1262
|
+
"application/applixware": ["aw"],
|
|
1263
|
+
"application/appx": ["appx"],
|
|
1264
|
+
"application/appxbundle": ["appxbundle"],
|
|
1265
|
+
"application/atom+xml": ["atom"],
|
|
1266
|
+
"application/atomcat+xml": ["atomcat"],
|
|
1267
|
+
"application/atomdeleted+xml": ["atomdeleted"],
|
|
1268
|
+
"application/atomsvc+xml": ["atomsvc"],
|
|
1269
|
+
"application/atsc-dwd+xml": ["dwd"],
|
|
1270
|
+
"application/atsc-held+xml": ["held"],
|
|
1271
|
+
"application/atsc-rsat+xml": ["rsat"],
|
|
1272
|
+
"application/automationml-aml+xml": ["aml"],
|
|
1273
|
+
"application/automationml-amlx+zip": ["amlx"],
|
|
1274
|
+
"application/bdoc": ["bdoc"],
|
|
1275
|
+
"application/calendar+xml": ["xcs"],
|
|
1276
|
+
"application/ccxml+xml": ["ccxml"],
|
|
1277
|
+
"application/cdfx+xml": ["cdfx"],
|
|
1278
|
+
"application/cdmi-capability": ["cdmia"],
|
|
1279
|
+
"application/cdmi-container": ["cdmic"],
|
|
1280
|
+
"application/cdmi-domain": ["cdmid"],
|
|
1281
|
+
"application/cdmi-object": ["cdmio"],
|
|
1282
|
+
"application/cdmi-queue": ["cdmiq"],
|
|
1283
|
+
"application/cpl+xml": ["cpl"],
|
|
1284
|
+
"application/cu-seeme": ["cu"],
|
|
1285
|
+
"application/cwl": ["cwl"],
|
|
1286
|
+
"application/dash+xml": ["mpd"],
|
|
1287
|
+
"application/dash-patch+xml": ["mpp"],
|
|
1288
|
+
"application/davmount+xml": ["davmount"],
|
|
1289
|
+
"application/docbook+xml": ["dbk"],
|
|
1290
|
+
"application/dssc+der": ["dssc"],
|
|
1291
|
+
"application/dssc+xml": ["xdssc"],
|
|
1292
|
+
"application/ecmascript": ["ecma"],
|
|
1293
|
+
"application/emma+xml": ["emma"],
|
|
1294
|
+
"application/emotionml+xml": ["emotionml"],
|
|
1295
|
+
"application/epub+zip": ["epub"],
|
|
1296
|
+
"application/exi": ["exi"],
|
|
1297
|
+
"application/express": ["exp"],
|
|
1298
|
+
"application/fdf": ["fdf"],
|
|
1299
|
+
"application/fdt+xml": ["fdt"],
|
|
1300
|
+
"application/font-tdpfr": ["pfr"],
|
|
1301
|
+
"application/geo+json": ["geojson"],
|
|
1302
|
+
"application/gml+xml": ["gml"],
|
|
1303
|
+
"application/gpx+xml": ["gpx"],
|
|
1304
|
+
"application/gxf": ["gxf"],
|
|
1305
|
+
"application/gzip": ["gz"],
|
|
1306
|
+
"application/hjson": ["hjson"],
|
|
1307
|
+
"application/hyperstudio": ["stk"],
|
|
1308
|
+
"application/inkml+xml": ["ink", "inkml"],
|
|
1309
|
+
"application/ipfix": ["ipfix"],
|
|
1310
|
+
"application/its+xml": ["its"],
|
|
1311
|
+
"application/java-archive": ["jar", "war", "ear"],
|
|
1312
|
+
"application/java-serialized-object": ["ser"],
|
|
1313
|
+
"application/java-vm": ["class"],
|
|
1314
|
+
"application/javascript": ["*js"],
|
|
1315
|
+
"application/json": ["json", "map"],
|
|
1316
|
+
"application/json5": ["json5"],
|
|
1317
|
+
"application/jsonml+json": ["jsonml"],
|
|
1318
|
+
"application/ld+json": ["jsonld"],
|
|
1319
|
+
"application/lgr+xml": ["lgr"],
|
|
1320
|
+
"application/lost+xml": ["lostxml"],
|
|
1321
|
+
"application/mac-binhex40": ["hqx"],
|
|
1322
|
+
"application/mac-compactpro": ["cpt"],
|
|
1323
|
+
"application/mads+xml": ["mads"],
|
|
1324
|
+
"application/manifest+json": ["webmanifest"],
|
|
1325
|
+
"application/marc": ["mrc"],
|
|
1326
|
+
"application/marcxml+xml": ["mrcx"],
|
|
1327
|
+
"application/mathematica": ["ma", "nb", "mb"],
|
|
1328
|
+
"application/mathml+xml": ["mathml"],
|
|
1329
|
+
"application/mbox": ["mbox"],
|
|
1330
|
+
"application/media-policy-dataset+xml": ["mpf"],
|
|
1331
|
+
"application/mediaservercontrol+xml": ["mscml"],
|
|
1332
|
+
"application/metalink+xml": ["metalink"],
|
|
1333
|
+
"application/metalink4+xml": ["meta4"],
|
|
1334
|
+
"application/mets+xml": ["mets"],
|
|
1335
|
+
"application/mmt-aei+xml": ["maei"],
|
|
1336
|
+
"application/mmt-usd+xml": ["musd"],
|
|
1337
|
+
"application/mods+xml": ["mods"],
|
|
1338
|
+
"application/mp21": ["m21", "mp21"],
|
|
1339
|
+
"application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"],
|
|
1340
|
+
"application/msix": ["msix"],
|
|
1341
|
+
"application/msixbundle": ["msixbundle"],
|
|
1342
|
+
"application/msword": ["doc", "dot"],
|
|
1343
|
+
"application/mxf": ["mxf"],
|
|
1344
|
+
"application/n-quads": ["nq"],
|
|
1345
|
+
"application/n-triples": ["nt"],
|
|
1346
|
+
"application/node": ["cjs"],
|
|
1347
|
+
"application/octet-stream": [
|
|
1348
|
+
"bin",
|
|
1349
|
+
"dms",
|
|
1350
|
+
"lrf",
|
|
1351
|
+
"mar",
|
|
1352
|
+
"so",
|
|
1353
|
+
"dist",
|
|
1354
|
+
"distz",
|
|
1355
|
+
"pkg",
|
|
1356
|
+
"bpk",
|
|
1357
|
+
"dump",
|
|
1358
|
+
"elc",
|
|
1359
|
+
"deploy",
|
|
1360
|
+
"exe",
|
|
1361
|
+
"dll",
|
|
1362
|
+
"deb",
|
|
1363
|
+
"dmg",
|
|
1364
|
+
"iso",
|
|
1365
|
+
"img",
|
|
1366
|
+
"msi",
|
|
1367
|
+
"msp",
|
|
1368
|
+
"msm",
|
|
1369
|
+
"buffer"
|
|
1370
|
+
],
|
|
1371
|
+
"application/oda": ["oda"],
|
|
1372
|
+
"application/oebps-package+xml": ["opf"],
|
|
1373
|
+
"application/ogg": ["ogx"],
|
|
1374
|
+
"application/omdoc+xml": ["omdoc"],
|
|
1375
|
+
"application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
|
|
1376
|
+
"application/oxps": ["oxps"],
|
|
1377
|
+
"application/p2p-overlay+xml": ["relo"],
|
|
1378
|
+
"application/patch-ops-error+xml": ["xer"],
|
|
1379
|
+
"application/pdf": ["pdf"],
|
|
1380
|
+
"application/pgp-encrypted": ["pgp"],
|
|
1381
|
+
"application/pgp-keys": ["asc"],
|
|
1382
|
+
"application/pgp-signature": ["sig", "*asc"],
|
|
1383
|
+
"application/pics-rules": ["prf"],
|
|
1384
|
+
"application/pkcs10": ["p10"],
|
|
1385
|
+
"application/pkcs7-mime": ["p7m", "p7c"],
|
|
1386
|
+
"application/pkcs7-signature": ["p7s"],
|
|
1387
|
+
"application/pkcs8": ["p8"],
|
|
1388
|
+
"application/pkix-attr-cert": ["ac"],
|
|
1389
|
+
"application/pkix-cert": ["cer"],
|
|
1390
|
+
"application/pkix-crl": ["crl"],
|
|
1391
|
+
"application/pkix-pkipath": ["pkipath"],
|
|
1392
|
+
"application/pkixcmp": ["pki"],
|
|
1393
|
+
"application/pls+xml": ["pls"],
|
|
1394
|
+
"application/postscript": ["ai", "eps", "ps"],
|
|
1395
|
+
"application/provenance+xml": ["provx"],
|
|
1396
|
+
"application/pskc+xml": ["pskcxml"],
|
|
1397
|
+
"application/raml+yaml": ["raml"],
|
|
1398
|
+
"application/rdf+xml": ["rdf", "owl"],
|
|
1399
|
+
"application/reginfo+xml": ["rif"],
|
|
1400
|
+
"application/relax-ng-compact-syntax": ["rnc"],
|
|
1401
|
+
"application/resource-lists+xml": ["rl"],
|
|
1402
|
+
"application/resource-lists-diff+xml": ["rld"],
|
|
1403
|
+
"application/rls-services+xml": ["rs"],
|
|
1404
|
+
"application/route-apd+xml": ["rapd"],
|
|
1405
|
+
"application/route-s-tsid+xml": ["sls"],
|
|
1406
|
+
"application/route-usd+xml": ["rusd"],
|
|
1407
|
+
"application/rpki-ghostbusters": ["gbr"],
|
|
1408
|
+
"application/rpki-manifest": ["mft"],
|
|
1409
|
+
"application/rpki-roa": ["roa"],
|
|
1410
|
+
"application/rsd+xml": ["rsd"],
|
|
1411
|
+
"application/rss+xml": ["rss"],
|
|
1412
|
+
"application/rtf": ["rtf"],
|
|
1413
|
+
"application/sbml+xml": ["sbml"],
|
|
1414
|
+
"application/scvp-cv-request": ["scq"],
|
|
1415
|
+
"application/scvp-cv-response": ["scs"],
|
|
1416
|
+
"application/scvp-vp-request": ["spq"],
|
|
1417
|
+
"application/scvp-vp-response": ["spp"],
|
|
1418
|
+
"application/sdp": ["sdp"],
|
|
1419
|
+
"application/senml+xml": ["senmlx"],
|
|
1420
|
+
"application/sensml+xml": ["sensmlx"],
|
|
1421
|
+
"application/set-payment-initiation": ["setpay"],
|
|
1422
|
+
"application/set-registration-initiation": ["setreg"],
|
|
1423
|
+
"application/shf+xml": ["shf"],
|
|
1424
|
+
"application/sieve": ["siv", "sieve"],
|
|
1425
|
+
"application/smil+xml": ["smi", "smil"],
|
|
1426
|
+
"application/sparql-query": ["rq"],
|
|
1427
|
+
"application/sparql-results+xml": ["srx"],
|
|
1428
|
+
"application/sql": ["sql"],
|
|
1429
|
+
"application/srgs": ["gram"],
|
|
1430
|
+
"application/srgs+xml": ["grxml"],
|
|
1431
|
+
"application/sru+xml": ["sru"],
|
|
1432
|
+
"application/ssdl+xml": ["ssdl"],
|
|
1433
|
+
"application/ssml+xml": ["ssml"],
|
|
1434
|
+
"application/swid+xml": ["swidtag"],
|
|
1435
|
+
"application/tei+xml": ["tei", "teicorpus"],
|
|
1436
|
+
"application/thraud+xml": ["tfi"],
|
|
1437
|
+
"application/timestamped-data": ["tsd"],
|
|
1438
|
+
"application/toml": ["toml"],
|
|
1439
|
+
"application/trig": ["trig"],
|
|
1440
|
+
"application/ttml+xml": ["ttml"],
|
|
1441
|
+
"application/ubjson": ["ubj"],
|
|
1442
|
+
"application/urc-ressheet+xml": ["rsheet"],
|
|
1443
|
+
"application/urc-targetdesc+xml": ["td"],
|
|
1444
|
+
"application/voicexml+xml": ["vxml"],
|
|
1445
|
+
"application/wasm": ["wasm"],
|
|
1446
|
+
"application/watcherinfo+xml": ["wif"],
|
|
1447
|
+
"application/widget": ["wgt"],
|
|
1448
|
+
"application/winhlp": ["hlp"],
|
|
1449
|
+
"application/wsdl+xml": ["wsdl"],
|
|
1450
|
+
"application/wspolicy+xml": ["wspolicy"],
|
|
1451
|
+
"application/xaml+xml": ["xaml"],
|
|
1452
|
+
"application/xcap-att+xml": ["xav"],
|
|
1453
|
+
"application/xcap-caps+xml": ["xca"],
|
|
1454
|
+
"application/xcap-diff+xml": ["xdf"],
|
|
1455
|
+
"application/xcap-el+xml": ["xel"],
|
|
1456
|
+
"application/xcap-ns+xml": ["xns"],
|
|
1457
|
+
"application/xenc+xml": ["xenc"],
|
|
1458
|
+
"application/xfdf": ["xfdf"],
|
|
1459
|
+
"application/xhtml+xml": ["xhtml", "xht"],
|
|
1460
|
+
"application/xliff+xml": ["xlf"],
|
|
1461
|
+
"application/xml": ["xml", "xsl", "xsd", "rng"],
|
|
1462
|
+
"application/xml-dtd": ["dtd"],
|
|
1463
|
+
"application/xop+xml": ["xop"],
|
|
1464
|
+
"application/xproc+xml": ["xpl"],
|
|
1465
|
+
"application/xslt+xml": ["*xsl", "xslt"],
|
|
1466
|
+
"application/xspf+xml": ["xspf"],
|
|
1467
|
+
"application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
|
|
1468
|
+
"application/yang": ["yang"],
|
|
1469
|
+
"application/yin+xml": ["yin"],
|
|
1470
|
+
"application/zip": ["zip"],
|
|
1471
|
+
"audio/3gpp": ["*3gpp"],
|
|
1472
|
+
"audio/aac": ["adts", "aac"],
|
|
1473
|
+
"audio/adpcm": ["adp"],
|
|
1474
|
+
"audio/amr": ["amr"],
|
|
1475
|
+
"audio/basic": ["au", "snd"],
|
|
1476
|
+
"audio/midi": ["mid", "midi", "kar", "rmi"],
|
|
1477
|
+
"audio/mobile-xmf": ["mxmf"],
|
|
1478
|
+
"audio/mp3": ["*mp3"],
|
|
1479
|
+
"audio/mp4": ["m4a", "mp4a"],
|
|
1480
|
+
"audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
|
|
1481
|
+
"audio/ogg": ["oga", "ogg", "spx", "opus"],
|
|
1482
|
+
"audio/s3m": ["s3m"],
|
|
1483
|
+
"audio/silk": ["sil"],
|
|
1484
|
+
"audio/wav": ["wav"],
|
|
1485
|
+
"audio/wave": ["*wav"],
|
|
1486
|
+
"audio/webm": ["weba"],
|
|
1487
|
+
"audio/xm": ["xm"],
|
|
1488
|
+
"font/collection": ["ttc"],
|
|
1489
|
+
"font/otf": ["otf"],
|
|
1490
|
+
"font/ttf": ["ttf"],
|
|
1491
|
+
"font/woff": ["woff"],
|
|
1492
|
+
"font/woff2": ["woff2"],
|
|
1493
|
+
"image/aces": ["exr"],
|
|
1494
|
+
"image/apng": ["apng"],
|
|
1495
|
+
"image/avci": ["avci"],
|
|
1496
|
+
"image/avcs": ["avcs"],
|
|
1497
|
+
"image/avif": ["avif"],
|
|
1498
|
+
"image/bmp": ["bmp", "dib"],
|
|
1499
|
+
"image/cgm": ["cgm"],
|
|
1500
|
+
"image/dicom-rle": ["drle"],
|
|
1501
|
+
"image/dpx": ["dpx"],
|
|
1502
|
+
"image/emf": ["emf"],
|
|
1503
|
+
"image/fits": ["fits"],
|
|
1504
|
+
"image/g3fax": ["g3"],
|
|
1505
|
+
"image/gif": ["gif"],
|
|
1506
|
+
"image/heic": ["heic"],
|
|
1507
|
+
"image/heic-sequence": ["heics"],
|
|
1508
|
+
"image/heif": ["heif"],
|
|
1509
|
+
"image/heif-sequence": ["heifs"],
|
|
1510
|
+
"image/hej2k": ["hej2"],
|
|
1511
|
+
"image/hsj2": ["hsj2"],
|
|
1512
|
+
"image/ief": ["ief"],
|
|
1513
|
+
"image/jls": ["jls"],
|
|
1514
|
+
"image/jp2": ["jp2", "jpg2"],
|
|
1515
|
+
"image/jpeg": ["jpeg", "jpg", "jpe"],
|
|
1516
|
+
"image/jph": ["jph"],
|
|
1517
|
+
"image/jphc": ["jhc"],
|
|
1518
|
+
"image/jpm": ["jpm", "jpgm"],
|
|
1519
|
+
"image/jpx": ["jpx", "jpf"],
|
|
1520
|
+
"image/jxl": ["jxl"],
|
|
1521
|
+
"image/jxr": ["jxr"],
|
|
1522
|
+
"image/jxra": ["jxra"],
|
|
1523
|
+
"image/jxrs": ["jxrs"],
|
|
1524
|
+
"image/jxs": ["jxs"],
|
|
1525
|
+
"image/jxsc": ["jxsc"],
|
|
1526
|
+
"image/jxsi": ["jxsi"],
|
|
1527
|
+
"image/jxss": ["jxss"],
|
|
1528
|
+
"image/ktx": ["ktx"],
|
|
1529
|
+
"image/ktx2": ["ktx2"],
|
|
1530
|
+
"image/png": ["png"],
|
|
1531
|
+
"image/sgi": ["sgi"],
|
|
1532
|
+
"image/svg+xml": ["svg", "svgz"],
|
|
1533
|
+
"image/t38": ["t38"],
|
|
1534
|
+
"image/tiff": ["tif", "tiff"],
|
|
1535
|
+
"image/tiff-fx": ["tfx"],
|
|
1536
|
+
"image/webp": ["webp"],
|
|
1537
|
+
"image/wmf": ["wmf"],
|
|
1538
|
+
"message/disposition-notification": ["disposition-notification"],
|
|
1539
|
+
"message/global": ["u8msg"],
|
|
1540
|
+
"message/global-delivery-status": ["u8dsn"],
|
|
1541
|
+
"message/global-disposition-notification": ["u8mdn"],
|
|
1542
|
+
"message/global-headers": ["u8hdr"],
|
|
1543
|
+
"message/rfc822": ["eml", "mime"],
|
|
1544
|
+
"model/3mf": ["3mf"],
|
|
1545
|
+
"model/gltf+json": ["gltf"],
|
|
1546
|
+
"model/gltf-binary": ["glb"],
|
|
1547
|
+
"model/iges": ["igs", "iges"],
|
|
1548
|
+
"model/jt": ["jt"],
|
|
1549
|
+
"model/mesh": ["msh", "mesh", "silo"],
|
|
1550
|
+
"model/mtl": ["mtl"],
|
|
1551
|
+
"model/obj": ["obj"],
|
|
1552
|
+
"model/prc": ["prc"],
|
|
1553
|
+
"model/step+xml": ["stpx"],
|
|
1554
|
+
"model/step+zip": ["stpz"],
|
|
1555
|
+
"model/step-xml+zip": ["stpxz"],
|
|
1556
|
+
"model/stl": ["stl"],
|
|
1557
|
+
"model/u3d": ["u3d"],
|
|
1558
|
+
"model/vrml": ["wrl", "vrml"],
|
|
1559
|
+
"model/x3d+binary": ["*x3db", "x3dbz"],
|
|
1560
|
+
"model/x3d+fastinfoset": ["x3db"],
|
|
1561
|
+
"model/x3d+vrml": ["*x3dv", "x3dvz"],
|
|
1562
|
+
"model/x3d+xml": ["x3d", "x3dz"],
|
|
1563
|
+
"model/x3d-vrml": ["x3dv"],
|
|
1564
|
+
"text/cache-manifest": ["appcache", "manifest"],
|
|
1565
|
+
"text/calendar": ["ics", "ifb"],
|
|
1566
|
+
"text/coffeescript": ["coffee", "litcoffee"],
|
|
1567
|
+
"text/css": ["css"],
|
|
1568
|
+
"text/csv": ["csv"],
|
|
1569
|
+
"text/html": ["html", "htm", "shtml"],
|
|
1570
|
+
"text/jade": ["jade"],
|
|
1571
|
+
"text/javascript": ["js", "mjs"],
|
|
1572
|
+
"text/jsx": ["jsx"],
|
|
1573
|
+
"text/less": ["less"],
|
|
1574
|
+
"text/markdown": ["md", "markdown"],
|
|
1575
|
+
"text/mathml": ["mml"],
|
|
1576
|
+
"text/mdx": ["mdx"],
|
|
1577
|
+
"text/n3": ["n3"],
|
|
1578
|
+
"text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
|
|
1579
|
+
"text/richtext": ["rtx"],
|
|
1580
|
+
"text/rtf": ["*rtf"],
|
|
1581
|
+
"text/sgml": ["sgml", "sgm"],
|
|
1582
|
+
"text/shex": ["shex"],
|
|
1583
|
+
"text/slim": ["slim", "slm"],
|
|
1584
|
+
"text/spdx": ["spdx"],
|
|
1585
|
+
"text/stylus": ["stylus", "styl"],
|
|
1586
|
+
"text/tab-separated-values": ["tsv"],
|
|
1587
|
+
"text/troff": ["t", "tr", "roff", "man", "me", "ms"],
|
|
1588
|
+
"text/turtle": ["ttl"],
|
|
1589
|
+
"text/uri-list": ["uri", "uris", "urls"],
|
|
1590
|
+
"text/vcard": ["vcard"],
|
|
1591
|
+
"text/vtt": ["vtt"],
|
|
1592
|
+
"text/wgsl": ["wgsl"],
|
|
1593
|
+
"text/xml": ["*xml"],
|
|
1594
|
+
"text/yaml": ["yaml", "yml"],
|
|
1595
|
+
"video/3gpp": ["3gp", "3gpp"],
|
|
1596
|
+
"video/3gpp2": ["3g2"],
|
|
1597
|
+
"video/h261": ["h261"],
|
|
1598
|
+
"video/h263": ["h263"],
|
|
1599
|
+
"video/h264": ["h264"],
|
|
1600
|
+
"video/iso.segment": ["m4s"],
|
|
1601
|
+
"video/jpeg": ["jpgv"],
|
|
1602
|
+
"video/jpm": ["*jpm", "*jpgm"],
|
|
1603
|
+
"video/mj2": ["mj2", "mjp2"],
|
|
1604
|
+
"video/mp2t": ["ts", "m2t", "m2ts", "mts"],
|
|
1605
|
+
"video/mp4": ["mp4", "mp4v", "mpg4"],
|
|
1606
|
+
"video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
|
|
1607
|
+
"video/ogg": ["ogv"],
|
|
1608
|
+
"video/quicktime": ["qt", "mov"],
|
|
1609
|
+
"video/webm": ["webm"]
|
|
1610
|
+
};
|
|
1611
|
+
Object.freeze(ua);
|
|
1612
|
+
var g = function(e, a, i, t) {
|
|
1613
|
+
if (i === "a" && !t) throw new TypeError("Private accessor was defined without a getter");
|
|
1614
|
+
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
|
+
return i === "m" ? t : i === "a" ? t.call(e) : t ? t.value : a.get(e);
|
|
1616
|
+
}, z, L, y;
|
|
1617
|
+
class dt {
|
|
1618
|
+
constructor(...a) {
|
|
1619
|
+
z.set(this, /* @__PURE__ */ new Map()), L.set(this, /* @__PURE__ */ new Map()), y.set(this, /* @__PURE__ */ new Map());
|
|
1620
|
+
for (const i of a)
|
|
1621
|
+
this.define(i);
|
|
1622
|
+
}
|
|
1623
|
+
define(a, i = !1) {
|
|
1624
|
+
for (let [t, o] of Object.entries(a)) {
|
|
1625
|
+
t = t.toLowerCase(), o = o.map((s) => s.toLowerCase()), g(this, y, "f").has(t) || g(this, y, "f").set(t, /* @__PURE__ */ new Set());
|
|
1626
|
+
const n = g(this, y, "f").get(t);
|
|
1627
|
+
let l = !0;
|
|
1628
|
+
for (let s of o) {
|
|
1629
|
+
const c = s.startsWith("*");
|
|
1630
|
+
if (s = c ? s.slice(1) : s, n == null || n.add(s), l && g(this, L, "f").set(t, s), l = !1, c)
|
|
1631
|
+
continue;
|
|
1632
|
+
const v = g(this, z, "f").get(s);
|
|
1633
|
+
if (v && v != t && !i)
|
|
1634
|
+
throw new Error(`"${t} -> ${s}" conflicts with "${v} -> ${s}". Pass \`force=true\` to override this definition.`);
|
|
1635
|
+
g(this, z, "f").set(s, t);
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
return this;
|
|
1639
|
+
}
|
|
1640
|
+
getType(a) {
|
|
1641
|
+
if (typeof a != "string")
|
|
1642
|
+
return null;
|
|
1643
|
+
const i = a.replace(/^.*[/\\]/, "").toLowerCase(), t = i.replace(/^.*\./, "").toLowerCase(), o = i.length < a.length;
|
|
1644
|
+
return !(t.length < i.length - 1) && o ? null : g(this, z, "f").get(t) ?? null;
|
|
1645
|
+
}
|
|
1646
|
+
getExtension(a) {
|
|
1647
|
+
var i;
|
|
1648
|
+
return typeof a != "string" ? null : (a = (i = a == null ? void 0 : a.split) == null ? void 0 : i.call(a, ";")[0], (a && g(this, L, "f").get(a.trim().toLowerCase())) ?? null);
|
|
1649
|
+
}
|
|
1650
|
+
getAllExtensions(a) {
|
|
1651
|
+
return typeof a != "string" ? null : g(this, y, "f").get(a.toLowerCase()) ?? null;
|
|
1652
|
+
}
|
|
1653
|
+
_freeze() {
|
|
1654
|
+
this.define = () => {
|
|
1655
|
+
throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
|
|
1656
|
+
}, Object.freeze(this);
|
|
1657
|
+
for (const a of g(this, y, "f").values())
|
|
1658
|
+
Object.freeze(a);
|
|
1659
|
+
return this;
|
|
1660
|
+
}
|
|
1661
|
+
_getTestState() {
|
|
1662
|
+
return {
|
|
1663
|
+
types: g(this, z, "f"),
|
|
1664
|
+
extensions: g(this, L, "f")
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
z = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap();
|
|
1669
|
+
const mt = new dt(ua, va)._freeze();
|
|
1670
|
+
function vt(e) {
|
|
1671
|
+
return mt.getType(e) ?? e;
|
|
1672
|
+
}
|
|
1673
|
+
function ut({ maxCount: e, accept: a }) {
|
|
1674
|
+
const i = P({
|
|
1675
|
+
invalidTypes: !1,
|
|
1676
|
+
partiallyInvalidTypes: !1,
|
|
1677
|
+
maxCountOverflow: !1
|
|
1678
|
+
}), t = P({
|
|
1679
|
+
dragging: !1,
|
|
1680
|
+
error: !1
|
|
1681
|
+
}), o = m(() => a.value ? a.value.split(",").map((c) => vt(c.trim().toLocaleLowerCase())) : void 0);
|
|
1682
|
+
function n() {
|
|
1683
|
+
t.dragging = !1, t.error = !1, i.invalidTypes = !1, i.partiallyInvalidTypes = !1, i.maxCountOverflow = !1;
|
|
1684
|
+
}
|
|
1685
|
+
function l(s, c) {
|
|
1686
|
+
if (t.dragging = !0, (!c.dataTransfer.types.includes("Files") || s > e.value) && (i.maxCountOverflow = !0, t.error = !0), !o.value)
|
|
1687
|
+
return;
|
|
1688
|
+
let v = 0;
|
|
1689
|
+
for (const w of c.dataTransfer.items)
|
|
1690
|
+
o.value.includes(w.type) && v++;
|
|
1691
|
+
if (v === 0) {
|
|
1692
|
+
t.error = !0, i.invalidTypes = !0;
|
|
1693
|
+
return;
|
|
1694
|
+
}
|
|
1695
|
+
!i.invalidTypes && v !== c.dataTransfer.items.length && (t.error = !0, i.partiallyInvalidTypes = !0);
|
|
1696
|
+
}
|
|
1697
|
+
return {
|
|
1698
|
+
dragState: t,
|
|
1699
|
+
dragErrors: i,
|
|
1700
|
+
resetDragState: n,
|
|
1701
|
+
onDragEnterValidations: l
|
|
1702
|
+
};
|
|
1703
|
+
}
|
|
1704
|
+
const ft = {
|
|
1705
|
+
model: { prop: "modelValue" },
|
|
1706
|
+
i18n: { messages: rt }
|
|
1707
|
+
}, xt = /* @__PURE__ */ D({
|
|
1708
|
+
...ft,
|
|
1709
|
+
__name: "file-uploader",
|
|
1710
|
+
props: {
|
|
1711
|
+
accept: { default: null },
|
|
1712
|
+
condensed: { type: Boolean },
|
|
1713
|
+
description: { default: null },
|
|
1714
|
+
disabled: { type: Boolean },
|
|
1715
|
+
errorMessage: { default: null },
|
|
1716
|
+
label: null,
|
|
1717
|
+
maxCount: { default: 1 },
|
|
1718
|
+
maxDimensions: { default: null },
|
|
1719
|
+
maxSize: { default: null },
|
|
1720
|
+
modelValue: { default: null },
|
|
1721
|
+
optional: { type: Boolean },
|
|
1722
|
+
required: { type: Boolean },
|
|
1723
|
+
tooltipText: { default: null }
|
|
1724
|
+
},
|
|
1725
|
+
emits: ["change", "update:modelValue"],
|
|
1726
|
+
setup(e, { emit: a }) {
|
|
1727
|
+
const i = e, { t, tc: o } = H(), { supportedFileTypeList: n } = ct(U(i, "accept")), l = b(null), s = b(null), c = A("input"), v = A("input-error"), { dragState: w, dragErrors: C, resetDragState: k, onDragEnterValidations: E } = ut({
|
|
1728
|
+
accept: U(i, "accept"),
|
|
1729
|
+
maxCount: U(i, "maxCount")
|
|
1730
|
+
}), O = m(() => {
|
|
1731
|
+
var p, r, u;
|
|
1732
|
+
return {
|
|
1733
|
+
condensed: i.condensed,
|
|
1734
|
+
disabled: i.disabled,
|
|
1735
|
+
maxCount: j.value ? {
|
|
1736
|
+
value: i.maxCount,
|
|
1737
|
+
error: C.maxCountOverflow || F.value
|
|
1738
|
+
} : null,
|
|
1739
|
+
maxDimensions: i.maxDimensions ? {
|
|
1740
|
+
value: i.maxDimensions,
|
|
1741
|
+
error: (p = l.value) == null ? void 0 : p.some((_) => _.errors.includes(x.ERROR_DIMENSIONS))
|
|
1742
|
+
} : null,
|
|
1743
|
+
maxSize: i.maxSize ? {
|
|
1744
|
+
value: i.maxSize,
|
|
1745
|
+
error: (r = l.value) == null ? void 0 : r.some((_) => _.errors.includes(x.ERROR_SIZE))
|
|
1746
|
+
} : null,
|
|
1747
|
+
supportedFileTypes: n.value ? {
|
|
1748
|
+
value: n.value,
|
|
1749
|
+
error: C.invalidTypes || C.partiallyInvalidTypes || ((u = l.value) == null ? void 0 : u.some((_) => _.errors.includes(x.ERROR_TYPE)))
|
|
1750
|
+
} : null
|
|
1751
|
+
};
|
|
1752
|
+
}), R = b(), I = m(() => ({
|
|
1753
|
+
[`b-file-uploader--${V.DISABLED}`]: i.disabled,
|
|
1754
|
+
[`b-file-uploader--${V.DRAG_OVER}`]: w.dragging,
|
|
1755
|
+
[`b-file-uploader--${V.ERROR}`]: T.value,
|
|
1756
|
+
"b-file-uploader--condensed": i.condensed
|
|
1757
|
+
})), j = m(() => i.maxCount > 1), B = m(() => {
|
|
1758
|
+
var p;
|
|
1759
|
+
return i.maxCount && ((p = l.value) == null ? void 0 : p.length) >= i.maxCount;
|
|
1760
|
+
}), T = m(() => !!i.errorMessage || w.error), F = m(() => {
|
|
1761
|
+
var p;
|
|
1762
|
+
return ((p = l.value) == null ? void 0 : p.length) > i.maxCount;
|
|
1763
|
+
}), M = b(!1);
|
|
1764
|
+
function q(p) {
|
|
1765
|
+
l.value = l.value.filter(({ id: r }) => r !== p.id);
|
|
1766
|
+
}
|
|
1767
|
+
function $(p) {
|
|
1768
|
+
const r = P({
|
|
1769
|
+
id: A("file"),
|
|
1770
|
+
data: p,
|
|
1771
|
+
errors: [],
|
|
1772
|
+
progress: null,
|
|
1773
|
+
state: h.LOADING,
|
|
1774
|
+
type: Ka(p)
|
|
1775
|
+
});
|
|
1776
|
+
return ai(r, i.accept, i.maxDimensions), r;
|
|
1777
|
+
}
|
|
1778
|
+
function fa(p) {
|
|
1779
|
+
var r;
|
|
1780
|
+
((r = l.value) == null ? void 0 : r.length) === i.maxCount && p.preventDefault();
|
|
1781
|
+
}
|
|
1782
|
+
function Z(p) {
|
|
1783
|
+
if (i.maxCount === 1 && p.length > i.maxCount) {
|
|
1784
|
+
S(), k();
|
|
1785
|
+
return;
|
|
1786
|
+
}
|
|
1787
|
+
j.value ? l.value = [...l.value || [], ...Array.from(p).map((r) => $(r))] : l.value = [$(p[0])];
|
|
1788
|
+
}
|
|
1789
|
+
function xa(p) {
|
|
1790
|
+
var u, _;
|
|
1791
|
+
if (i.disabled)
|
|
1792
|
+
return;
|
|
1793
|
+
R.value = p.target;
|
|
1794
|
+
const r = (((u = p.dataTransfer.items) == null ? void 0 : u.length) ?? 0) + (((_ = l.value) == null ? void 0 : _.length) ?? 0);
|
|
1795
|
+
E(r, p);
|
|
1796
|
+
}
|
|
1797
|
+
function S() {
|
|
1798
|
+
R.value = null;
|
|
1799
|
+
}
|
|
1800
|
+
function ga(p) {
|
|
1801
|
+
R.value === p.target && (S(), k());
|
|
1802
|
+
}
|
|
1803
|
+
function ha(p) {
|
|
1804
|
+
p.preventDefault(), i.disabled && (p.dataTransfer.dropEffect = "none");
|
|
1805
|
+
}
|
|
1806
|
+
function _a(p) {
|
|
1807
|
+
var r;
|
|
1808
|
+
i.disabled || (!C.invalidTypes && ((r = p.dataTransfer.files) != null && r.length) && Z(p.dataTransfer.files), S(), k());
|
|
1809
|
+
}
|
|
1810
|
+
function ba() {
|
|
1811
|
+
var p;
|
|
1812
|
+
(p = s.value.files) != null && p.length && Z(s.value.files), s.value.value = "";
|
|
1813
|
+
}
|
|
1814
|
+
function W(p) {
|
|
1815
|
+
const r = i.maxCount && p.length <= i.maxCount;
|
|
1816
|
+
M.value = !r;
|
|
1817
|
+
}
|
|
1818
|
+
function G(p) {
|
|
1819
|
+
i.maxSize && p.forEach((r) => {
|
|
1820
|
+
const u = r;
|
|
1821
|
+
u.data.size > i.maxSize && (u.state = h.ERROR, u.errors.push(x.ERROR_SIZE));
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
function Y(p) {
|
|
1825
|
+
const r = p.filter(
|
|
1826
|
+
({ errors: u }) => !u.includes(x.ERROR_LOAD) && !u.includes(x.ERROR_SIZE)
|
|
1827
|
+
);
|
|
1828
|
+
if (r.length) {
|
|
1829
|
+
const u = new DataTransfer();
|
|
1830
|
+
return r.forEach(({ data: _ }) => u.items.add(_)), u.files;
|
|
1831
|
+
}
|
|
1832
|
+
}
|
|
1833
|
+
return sa(l, (p) => {
|
|
1834
|
+
if (p) {
|
|
1835
|
+
W(p), G(p);
|
|
1836
|
+
const r = Y(p);
|
|
1837
|
+
a("change", r), a("update:modelValue", r);
|
|
1838
|
+
} else
|
|
1839
|
+
a("change"), a("update:modelValue");
|
|
1840
|
+
}), { __sfc: !0, t, tc: o, emit: a, props: i, supportedFileTypeList: n, files: l, inputRef: s, inputFieldId: c, errorId: v, dragState: w, dragErrors: C, resetDragState: k, onDragEnterValidations: E, fileUploadRestrictionsProps: O, enterTarget: R, conditionalClasses: I, isMultiple: j, hideArea: B, hasError: T, maxFileCountError: F, maxFileError: M, removeFile: q, processFile: $, onInputClick: fa, onFileInput: Z, onDragEnter: xa, resetEnterTarget: S, onDragLeave: ga, onDragOver: ha, onDrop: _a, onInputChange: ba, verifyFileCount: W, verifyFileSize: G, convertToFileList: Y, UploadIcon: Va, WarningFilledIcon: ca, BentoAlert: ya, BentoButton: ra, BentoTypography: N, ErrorMessage: La, FieldLabel: Ia, FileUploaderFileCard: it, FileUploaderRestrictions: st };
|
|
1841
|
+
}
|
|
1842
|
+
});
|
|
1843
|
+
var gt = function() {
|
|
1844
|
+
var o;
|
|
1845
|
+
var a = this, i = a._self._c, t = a._self._setupProxy;
|
|
1846
|
+
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(n) {
|
|
1847
|
+
return t.inputRef.click();
|
|
1848
|
+
}, dragenter: function(n) {
|
|
1849
|
+
return n.stopPropagation(), n.preventDefault(), t.onDragEnter.apply(null, arguments);
|
|
1850
|
+
}, dragleave: function(n) {
|
|
1851
|
+
return n.stopPropagation(), n.preventDefault(), t.onDragLeave.apply(null, arguments);
|
|
1852
|
+
}, drop: function(n) {
|
|
1853
|
+
return n.stopPropagation(), n.preventDefault(), t.onDrop.apply(null, arguments);
|
|
1854
|
+
}, dragover: t.onDragOver, "!keydown": [function(n) {
|
|
1855
|
+
return !n.type.indexOf("key") && a._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : (n.preventDefault(), t.inputRef.click());
|
|
1856
|
+
}, function(n) {
|
|
1857
|
+
return !n.type.indexOf("key") && a._k(n.keyCode, "space", 32, n.key, [" ", "Spacebar"]) ? null : (n.preventDefault(), t.inputRef.click());
|
|
1858
|
+
}] } }, [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() {
|
|
1859
|
+
return [a._v(" " + a._s(t.t("youHaveExceededTheMaximum", { count: t.props.maxCount })) + " ")];
|
|
1860
|
+
}, proxy: !0 }], null, !1, 239749076) }, [a._v(" " + a._s(t.t("tooManyFiles")) + " ")]) : a._e(), i("div", { directives: [{ name: "show", rawName: "v-show", value: (o = t.files) == null ? void 0 : o.length, expression: "files?.length" }], staticClass: "b-file-uploader__files" }, a._l(t.files, function(n) {
|
|
1861
|
+
return i(t.FileUploaderFileCard, { key: n.id, attrs: { file: n, "supported-file-types": t.supportedFileTypeList }, on: { cancel: function(l) {
|
|
1862
|
+
return t.removeFile(n);
|
|
1863
|
+
}, remove: function(l) {
|
|
1864
|
+
return t.removeFile(n);
|
|
1865
|
+
} } });
|
|
1866
|
+
}), 1)], 1);
|
|
1867
|
+
}, ht = [], _t = /* @__PURE__ */ f(
|
|
1868
|
+
xt,
|
|
1869
|
+
gt,
|
|
1870
|
+
ht,
|
|
1871
|
+
!1,
|
|
1872
|
+
null,
|
|
1873
|
+
"2bfb73de"
|
|
1874
|
+
);
|
|
1875
|
+
const Vt = _t.exports;
|
|
1876
|
+
export {
|
|
1877
|
+
Vt as f
|
|
1878
|
+
};
|
|
1879
|
+
//# sourceMappingURL=file-uploader.BePx7fcJ.js.map
|