@adyen/bento-vue3 1.43.0 → 1.44.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/packages/vue2/src/components/button/components/button-actions/composables/use-stack-buttons/use-stack-buttons.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +50 -32
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +21 -15
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +56 -38
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +77 -53
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +4 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +20 -12
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.types.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +228 -180
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +27 -21
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +139 -97
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +208 -160
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +16 -1
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/tooltip/tooltip.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +48 -3
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +9 -6
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -1
- package/dist/action-bar.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/button-actions-with-menu.css +1 -1
- package/dist/assets/button-actions.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-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/header.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/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/button.js +7 -8
- package/dist/button.js.map +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.COQrEUYU.js → action-bar.B-_JS43H.js} +10 -9
- package/dist/chunks/action-bar.B-_JS43H.js.map +1 -0
- package/dist/chunks/{base-modal.ku0lyHOs.js → base-modal.BR_pB6eH.js} +2 -2
- package/dist/chunks/{base-modal.ku0lyHOs.js.map → base-modal.BR_pB6eH.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.GT_kNv28.js +119 -0
- package/dist/chunks/button-actions-with-menu.GT_kNv28.js.map +1 -0
- package/dist/chunks/button-actions.BjlQS6tm.js +322 -0
- package/dist/chunks/button-actions.BjlQS6tm.js.map +1 -0
- package/dist/chunks/{card.D_XL2TWr.js → card.BrEfcUoE.js} +2 -2
- package/dist/chunks/{card.D_XL2TWr.js.map → card.BrEfcUoE.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BUmkYc2R.js → checkbox-group.C5IweVVx.js} +2 -2
- package/dist/chunks/{checkbox-group.BUmkYc2R.js.map → checkbox-group.C5IweVVx.js.map} +1 -1
- package/dist/chunks/{checkbox.L94hTcPY.js → checkbox.B72ok3Yu.js} +15 -15
- package/dist/chunks/{checkbox.L94hTcPY.js.map → checkbox.B72ok3Yu.js.map} +1 -1
- package/dist/chunks/{code-snippet.DbUGxmYi.js → code-snippet.S5NdUu0p.js} +4 -4
- package/dist/chunks/{code-snippet.DbUGxmYi.js.map → code-snippet.S5NdUu0p.js.map} +1 -1
- package/dist/chunks/{dashboard-section.YU5gKDEJ.js → dashboard-section.LWxBcOV_.js} +2 -2
- package/dist/chunks/{dashboard-section.YU5gKDEJ.js.map → dashboard-section.LWxBcOV_.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BKfUevuM.js → dashed-underline.CRlWNPrd.js} +2 -2
- package/dist/chunks/{dashed-underline.BKfUevuM.js.map → dashed-underline.CRlWNPrd.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DI27ou71.js → data-grid-template.BZVeRN6g.js} +2 -2
- package/dist/chunks/{data-grid-template.DI27ou71.js.map → data-grid-template.BZVeRN6g.js.map} +1 -1
- package/dist/chunks/{data-grid.DgPWs1hH.js → data-grid.CKDW-rbM.js} +10 -10
- package/dist/chunks/{data-grid.DgPWs1hH.js.map → data-grid.CKDW-rbM.js.map} +1 -1
- package/dist/chunks/{date-picker.DDsfecHp.js → date-picker.BrZ2X1nQ.js} +3 -3
- package/dist/chunks/{date-picker.DDsfecHp.js.map → date-picker.BrZ2X1nQ.js.map} +1 -1
- package/dist/chunks/{date-range-picker.DjPmRy0E.js → date-range-picker.4y2goCI8.js} +6 -6
- package/dist/chunks/{date-range-picker.DjPmRy0E.js.map → date-range-picker.4y2goCI8.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.CcRQ1f4U.js → dropdown-default-textbox.ZjVeMHVC.js} +131 -120
- package/dist/chunks/{dropdown-default-textbox.CcRQ1f4U.js.map → dropdown-default-textbox.ZjVeMHVC.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.BKDmDRSv.js → dropdown-tag.ClKm4xAo.js} +2 -2
- package/dist/chunks/{dropdown-tag.BKDmDRSv.js.map → dropdown-tag.ClKm4xAo.js.map} +1 -1
- package/dist/chunks/dropdown.Sj2OLuEF.js +911 -0
- package/dist/chunks/{dropdown.DpjMobyf.js.map → dropdown.Sj2OLuEF.js.map} +1 -1
- package/dist/chunks/es6.C-HLzYPA.js +11 -0
- package/dist/chunks/{es6.b4enG1py.js.map → es6.C-HLzYPA.js.map} +1 -1
- package/dist/chunks/{file-uploader.cRbwpcAw.js → file-uploader.BgRbkW2V.js} +368 -365
- package/dist/chunks/file-uploader.BgRbkW2V.js.map +1 -0
- package/dist/chunks/{filter-bar.BwJTrH5U.js → filter-bar.CM1FZ02d.js} +16 -17
- package/dist/chunks/{filter-bar.BwJTrH5U.js.map → filter-bar.CM1FZ02d.js.map} +1 -1
- package/dist/chunks/{footer-actions.DvIVWqWv.js → footer-actions.Dvsb0g5Y.js} +2 -2
- package/dist/chunks/{footer-actions.DvIVWqWv.js.map → footer-actions.Dvsb0g5Y.js.map} +1 -1
- package/dist/chunks/{header.C0NBlBJv.js → header.8BzBNgxj.js} +23 -23
- package/dist/chunks/{header.C0NBlBJv.js.map → header.8BzBNgxj.js.map} +1 -1
- package/dist/chunks/{input-field-password.DxNS4MmO.js → input-field-password.CXsERnQX.js} +3 -3
- package/dist/chunks/{input-field-password.DxNS4MmO.js.map → input-field-password.CXsERnQX.js.map} +1 -1
- package/dist/chunks/{input-field.BQKEQIZd.js → input-field.C-7_iMIS.js} +2 -2
- package/dist/chunks/{input-field.BQKEQIZd.js.map → input-field.C-7_iMIS.js.map} +1 -1
- package/dist/chunks/{menu.BpqOdkxR.js → menu.hDynz4lc.js} +132 -104
- package/dist/chunks/menu.hDynz4lc.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.DtgTb1Xh.js → modal-fullscreen.BCGaxVNb.js} +2 -2
- package/dist/chunks/{modal-fullscreen.DtgTb1Xh.js.map → modal-fullscreen.BCGaxVNb.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js → modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js.map → modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js.map} +1 -1
- package/dist/chunks/{pagination.C34l_EYf.js → pagination.C9kqX5tD.js} +2 -2
- package/dist/chunks/{pagination.C34l_EYf.js.map → pagination.C9kqX5tD.js.map} +1 -1
- package/dist/chunks/{popover.D9Zw4w9l.js → popover.DwGgnCyn.js} +2 -2
- package/dist/chunks/{popover.D9Zw4w9l.js.map → popover.DwGgnCyn.js.map} +1 -1
- package/dist/chunks/{search-bar.Dy0dBek2.js → search-bar.DPC0amNg.js} +3 -3
- package/dist/chunks/{search-bar.Dy0dBek2.js.map → search-bar.DPC0amNg.js.map} +1 -1
- package/dist/chunks/{secondary-nav.DYFnrUIK.js → secondary-nav.DH7aXddE.js} +3 -3
- package/dist/chunks/{secondary-nav.DYFnrUIK.js.map → secondary-nav.DH7aXddE.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BY8o4PYF.js → selection-card-group.DDBJ423n.js} +19 -19
- package/dist/chunks/{selection-card-group.BY8o4PYF.js.map → selection-card-group.DDBJ423n.js.map} +1 -1
- package/dist/chunks/{sidepanel.BywianGe.js → sidepanel.8NclWh0V.js} +2 -2
- package/dist/chunks/{sidepanel.BywianGe.js.map → sidepanel.8NclWh0V.js.map} +1 -1
- package/dist/chunks/{teleport.CI0k6eaC.js → teleport.B255JhsV.js} +26 -17
- package/dist/chunks/teleport.B255JhsV.js.map +1 -0
- package/dist/chunks/{textarea.vAp6HFi9.js → textarea.D1weaQCC.js} +72 -68
- package/dist/chunks/{textarea.vAp6HFi9.js.map → textarea.D1weaQCC.js.map} +1 -1
- package/dist/chunks/{timeline-item.ND_EMuwP.js → timeline-item.BDYrjKhM.js} +3 -3
- package/dist/chunks/{timeline-item.ND_EMuwP.js.map → timeline-item.BDYrjKhM.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js → tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js.map → tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.BOZK76mN.js → use-cached-selected-values.B6beyyvX.js} +3 -3
- package/dist/chunks/{use-cached-selected-values.BOZK76mN.js.map → use-cached-selected-values.B6beyyvX.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +67 -68
- package/dist/index.js.map +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/internal.js +28 -24
- package/dist/internal.js.map +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/popover.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/@types/packages/vue2/src/components/button/button.demo.d.ts +0 -6
- package/dist/assets/loading-button.css +0 -1
- package/dist/chunks/action-bar.COQrEUYU.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.Bn7Kdx4v.js +0 -106
- package/dist/chunks/button-actions-with-menu.Bn7Kdx4v.js.map +0 -1
- package/dist/chunks/button-actions.Bjfo46Q_.js +0 -150
- package/dist/chunks/button-actions.Bjfo46Q_.js.map +0 -1
- package/dist/chunks/dropdown.DpjMobyf.js +0 -907
- package/dist/chunks/es6.b4enG1py.js +0 -10
- package/dist/chunks/file-uploader.cRbwpcAw.js.map +0 -1
- package/dist/chunks/loading-button.CNWhVIPK.js +0 -137
- package/dist/chunks/loading-button.CNWhVIPK.js.map +0 -1
- package/dist/chunks/menu.BpqOdkxR.js.map +0 -1
- package/dist/chunks/teleport.CI0k6eaC.js.map +0 -1
- package/dist/chunks/use-click-outside.D6aIgS15.js +0 -14
- package/dist/chunks/use-click-outside.D6aIgS15.js.map +0 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as l, createElementBlock as c, mergeProps as M, toDisplayString as f, createCommentVNode as m, createElementVNode as d, defineComponent as Y, unref as r, createBlock as v, Transition as Oe, withCtx as g, renderSlot as se, TransitionGroup as Fe, ref as k, onUnmounted as Te, onMounted as ke, computed as h, watch as ye, normalizeClass as T, createVNode as O, resolveDynamicComponent as xe, withDirectives as _e, createTextVNode as y, reactive as ie, toRef as Ze, withModifiers as P, withKeys as re, Fragment as ne, normalizeProps as le, guardReactiveProps as ze, renderList as Be, vShow as Ae } from "vue";
|
|
2
2
|
import { _ as L } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
-
import { W as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
3
|
+
import { W as Re } from "./warning-filled.OUOUbA6k.js";
|
|
4
|
+
import { B as Ne } from "./alert.B9V6kUmo.js";
|
|
5
|
+
import { B as W } from "./button.pwNCxwPu.js";
|
|
6
6
|
import { B as V } from "./typography.DNzU41ah.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import { g as
|
|
7
|
+
import { u as q } from "./i18n.CPGoe9tN.js";
|
|
8
|
+
import { g as ee } from "./generate-uid.D-HFI38h.js";
|
|
9
9
|
import { i as be } from "./index.CWuzEfiV.js";
|
|
10
|
-
import { C as
|
|
11
|
-
import { C as
|
|
12
|
-
import { R as
|
|
10
|
+
import { C as Ue } from "./checkmark-circle-fill.ClIf1E3H.js";
|
|
11
|
+
import { C as Pe } from "./cross.OvPfvoqX.js";
|
|
12
|
+
import { R as Ge } from "./refresh.DvQeGwUF.js";
|
|
13
13
|
import "./events.FNmSWp_P.js";
|
|
14
|
-
import { B as
|
|
15
|
-
import { B as
|
|
16
|
-
import { B as
|
|
17
|
-
import { F as
|
|
14
|
+
import { B as We } from "./tooltip.BvJoy09y.js";
|
|
15
|
+
import { B as je } from "./link.D7wA0jkY.js";
|
|
16
|
+
import { B as Ye } from "./loading-indicator.N_WV9Gwz.js";
|
|
17
|
+
import { F as qe, E as Xe } from "./error-message.BYXS0kUN.js";
|
|
18
18
|
import "../assets/file-uploader.css";
|
|
19
|
-
let
|
|
20
|
-
const
|
|
19
|
+
let oe = 0;
|
|
20
|
+
const Je = {
|
|
21
21
|
beforeCreate() {
|
|
22
|
-
this.uuid =
|
|
22
|
+
this.uuid = oe.toString(), oe += 1;
|
|
23
23
|
}
|
|
24
|
-
},
|
|
25
|
-
function
|
|
26
|
-
return
|
|
24
|
+
}, Ke = { key: 0 };
|
|
25
|
+
function Qe(e, t, s, n, o, p) {
|
|
26
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
27
27
|
class: "ui-assets-icons-16",
|
|
28
28
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
width: "16",
|
|
30
30
|
height: "16",
|
|
31
31
|
fill: "none"
|
|
32
32
|
}), [
|
|
33
|
-
e.$attrs["svg-title"] ? (
|
|
33
|
+
e.$attrs["svg-title"] ? (l(), c("title", Ke, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
34
34
|
t[0] || (t[0] = d("path", {
|
|
35
35
|
fill: "#00112C",
|
|
36
36
|
d: "M8.00011 0.939453L12.0608 5.00011L11.0001 6.06077L8.75 3.81066V11.75H7.25V3.81089L5.00011 6.06077L3.93945 5.00011L8.00011 0.939453Z"
|
|
@@ -41,50 +41,50 @@ function Ke(e, t, s, l, o, p) {
|
|
|
41
41
|
}, null, -1))
|
|
42
42
|
], 16);
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const e1 = /* @__PURE__ */ L(Je, [["render", Qe]]), t1 = /* @__PURE__ */ Y({
|
|
45
45
|
__name: "file-uploader-file-card-animation",
|
|
46
46
|
props: {
|
|
47
47
|
name: {},
|
|
48
48
|
showFileIcon: { type: Boolean }
|
|
49
49
|
},
|
|
50
50
|
setup(e) {
|
|
51
|
-
return (t, s) =>
|
|
51
|
+
return (t, s) => r(be) ? (l(), v(Oe, {
|
|
52
52
|
key: 0,
|
|
53
53
|
name: t.name,
|
|
54
54
|
mode: "out-in",
|
|
55
55
|
css: t.showFileIcon
|
|
56
56
|
}, {
|
|
57
57
|
default: g(() => [
|
|
58
|
-
|
|
58
|
+
se(t.$slots, "default")
|
|
59
59
|
]),
|
|
60
60
|
_: 3
|
|
61
|
-
}, 8, ["name", "css"])) : (
|
|
61
|
+
}, 8, ["name", "css"])) : (l(), v(Fe, {
|
|
62
62
|
key: 1,
|
|
63
63
|
name: t.name,
|
|
64
64
|
css: t.showFileIcon
|
|
65
65
|
}, {
|
|
66
66
|
default: g(() => [
|
|
67
|
-
|
|
67
|
+
se(t.$slots, "default")
|
|
68
68
|
]),
|
|
69
69
|
_: 3
|
|
70
70
|
}, 8, ["name", "css"]));
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
-
let
|
|
74
|
-
const
|
|
73
|
+
let ae = 0;
|
|
74
|
+
const s1 = {
|
|
75
75
|
beforeCreate() {
|
|
76
|
-
this.uuid =
|
|
76
|
+
this.uuid = ae.toString(), ae += 1;
|
|
77
77
|
}
|
|
78
|
-
},
|
|
79
|
-
function
|
|
80
|
-
return
|
|
78
|
+
}, i1 = { key: 0 };
|
|
79
|
+
function r1(e, t, s, n, o, p) {
|
|
80
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
81
81
|
class: "ui-assets-icons-16",
|
|
82
82
|
xmlns: "http://www.w3.org/2000/svg",
|
|
83
83
|
width: "16",
|
|
84
84
|
height: "16",
|
|
85
85
|
fill: "none"
|
|
86
86
|
}), [
|
|
87
|
-
e.$attrs["svg-title"] ? (
|
|
87
|
+
e.$attrs["svg-title"] ? (l(), c("title", i1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
88
88
|
t[0] || (t[0] = d("path", {
|
|
89
89
|
fill: "#00112C",
|
|
90
90
|
d: "M7.25 6.25H5.75V12.75H7.25V6.25Z"
|
|
@@ -99,17 +99,17 @@ function i1(e, t, s, l, o, p) {
|
|
|
99
99
|
}, null, -1))
|
|
100
100
|
], 16);
|
|
101
101
|
}
|
|
102
|
-
const n1 = /* @__PURE__ */ L(
|
|
102
|
+
const n1 = /* @__PURE__ */ L(s1, [["render", r1]]);
|
|
103
103
|
function l1(e, t) {
|
|
104
104
|
const s = k(!1);
|
|
105
|
-
let
|
|
105
|
+
let n;
|
|
106
106
|
function o() {
|
|
107
|
-
|
|
107
|
+
n && n.disconnect();
|
|
108
108
|
}
|
|
109
|
-
return
|
|
109
|
+
return Te(() => {
|
|
110
110
|
o();
|
|
111
111
|
}), ke(() => {
|
|
112
|
-
o(),
|
|
112
|
+
o(), n = new IntersectionObserver(
|
|
113
113
|
(p) => {
|
|
114
114
|
s.value = !p[0].isIntersecting;
|
|
115
115
|
},
|
|
@@ -117,32 +117,32 @@ function l1(e, t) {
|
|
|
117
117
|
root: t.value,
|
|
118
118
|
threshold: 1
|
|
119
119
|
}
|
|
120
|
-
),
|
|
120
|
+
), n.observe(e.value.$el);
|
|
121
121
|
}), s;
|
|
122
122
|
}
|
|
123
|
-
const
|
|
123
|
+
const ue = ["byte", "kilobyte", "megabyte", "gigabyte", "terabyte", "petabyte"];
|
|
124
124
|
function Ee(e, t) {
|
|
125
|
-
let s = 0,
|
|
126
|
-
for (;
|
|
127
|
-
|
|
125
|
+
let s = 0, n = t;
|
|
126
|
+
for (; n >= 1e3 && s < ue.length - 1; )
|
|
127
|
+
n /= 1e3, s++;
|
|
128
128
|
return new Intl.NumberFormat(e, {
|
|
129
129
|
style: "unit",
|
|
130
|
-
unit:
|
|
130
|
+
unit: ue[s],
|
|
131
131
|
unitDisplay: "short",
|
|
132
132
|
// Displays as "kB" instead of "kilobytes"
|
|
133
133
|
maximumFractionDigits: 2
|
|
134
134
|
// Limits to 2 decimal places
|
|
135
|
-
}).format(
|
|
135
|
+
}).format(n);
|
|
136
136
|
}
|
|
137
|
-
var
|
|
138
|
-
const
|
|
137
|
+
var S = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.SUCCESS = "success", e.ERROR = "error", e))(S || {}), w = /* @__PURE__ */ ((e) => (e.ERROR_SIZE = "error-size", e.ERROR_LOAD = "error-load", e.ERROR_DIMENSIONS = "error-dimensions", e.ERROR_TYPE = "error-type", e))(w || {}), j = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.DRAG_OVER = "drag-over", e.ERROR = "error", e.READONLY = "readonly", e))(j || {}), C = /* @__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))(C || {});
|
|
138
|
+
const o1 = [
|
|
139
139
|
"application/msword",
|
|
140
140
|
// .doc
|
|
141
141
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
142
142
|
// .docx
|
|
143
143
|
"application/rtf"
|
|
144
144
|
// .rtf
|
|
145
|
-
],
|
|
145
|
+
], a1 = [
|
|
146
146
|
"application/vnd.ms-excel",
|
|
147
147
|
// .xls
|
|
148
148
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
@@ -155,14 +155,14 @@ const r1 = [
|
|
|
155
155
|
// .numbers
|
|
156
156
|
"text/csv"
|
|
157
157
|
// .csv
|
|
158
|
-
],
|
|
158
|
+
], u1 = [
|
|
159
159
|
"application/vnd.ms-powerpoint",
|
|
160
160
|
// .ppt
|
|
161
161
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
162
162
|
// .pptx
|
|
163
163
|
"application/vnd.oasis.opendocument.presentation"
|
|
164
164
|
// .odp
|
|
165
|
-
],
|
|
165
|
+
], d1 = [
|
|
166
166
|
"application/zip",
|
|
167
167
|
// .zip
|
|
168
168
|
"application/vnd.rar",
|
|
@@ -184,63 +184,63 @@ const r1 = [
|
|
|
184
184
|
"application/vnd.ms-cab-compressed"
|
|
185
185
|
// .cab
|
|
186
186
|
];
|
|
187
|
-
function
|
|
188
|
-
return
|
|
187
|
+
function p1(e) {
|
|
188
|
+
return a1.includes(e.type) ? C.TABLE : e.type.startsWith("text/") || o1.includes(e.type) ? C.TEXT : e.type.startsWith("image/") ? C.IMAGE : e.type.startsWith("video/") ? C.VIDEO : e.type.startsWith("audio/") ? C.AUDIO : e.type === "application/pdf" ? C.PDF : u1.includes(e.type) ? C.SLIDES : d1.includes(e.type) ? C.COMPRESSED : C.GENERIC;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function f1(e, t) {
|
|
191
191
|
if (!t)
|
|
192
192
|
return !0;
|
|
193
|
-
const s = t.split(",").map((
|
|
194
|
-
for (const
|
|
195
|
-
if (
|
|
196
|
-
if (e.name.endsWith(
|
|
193
|
+
const s = t.split(",").map((n) => n.trim());
|
|
194
|
+
for (const n of s)
|
|
195
|
+
if (n.startsWith(".")) {
|
|
196
|
+
if (e.name.endsWith(n))
|
|
197
197
|
return !0;
|
|
198
|
-
} else if (
|
|
199
|
-
const o =
|
|
198
|
+
} else if (n.endsWith("/*")) {
|
|
199
|
+
const o = n.split("/")[0];
|
|
200
200
|
if (e.type.startsWith(o))
|
|
201
201
|
return !0;
|
|
202
|
-
} else if (e.type ===
|
|
202
|
+
} else if (e.type === n)
|
|
203
203
|
return !0;
|
|
204
204
|
return !1;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
const
|
|
208
|
-
if (!
|
|
209
|
-
o.state =
|
|
206
|
+
function c1(e, t, s) {
|
|
207
|
+
const n = new FileReader(), o = e;
|
|
208
|
+
if (!f1(o.data, t)) {
|
|
209
|
+
o.state = S.ERROR, o.errors.push(w.ERROR_TYPE);
|
|
210
210
|
return;
|
|
211
211
|
}
|
|
212
|
-
|
|
213
|
-
if (s && o.type ===
|
|
214
|
-
const
|
|
212
|
+
n.onload = (p) => {
|
|
213
|
+
if (s && o.type === C.IMAGE) {
|
|
214
|
+
const R = new Blob([p.target.result], { type: o.data.type }), I = URL.createObjectURL(R), a = new Image();
|
|
215
215
|
a.onload = function() {
|
|
216
|
-
(a.width > s.width || a.height > s.height) && (o.state =
|
|
216
|
+
(a.width > s.width || a.height > s.height) && (o.state = S.ERROR, o.errors.push(w.ERROR_DIMENSIONS)), URL.revokeObjectURL(I);
|
|
217
217
|
}, a.onerror = function() {
|
|
218
218
|
URL.revokeObjectURL(I);
|
|
219
219
|
}, a.src = I;
|
|
220
220
|
}
|
|
221
|
-
},
|
|
221
|
+
}, n.onprogress = (p) => {
|
|
222
222
|
p.lengthComputable && (o.progress = p.loaded / p.total * 100);
|
|
223
|
-
},
|
|
224
|
-
o.state !==
|
|
225
|
-
},
|
|
226
|
-
o.state =
|
|
227
|
-
},
|
|
223
|
+
}, n.onloadend = () => {
|
|
224
|
+
o.state !== S.ERROR && (o.state = S.SUCCESS), o.progress = null;
|
|
225
|
+
}, n.onerror = () => {
|
|
226
|
+
o.state = S.ERROR, o.errors.push(w.ERROR_LOAD), o.progress = null;
|
|
227
|
+
}, n.readAsArrayBuffer(o.data);
|
|
228
228
|
}
|
|
229
|
-
let
|
|
230
|
-
const
|
|
229
|
+
let de = 0;
|
|
230
|
+
const m1 = {
|
|
231
231
|
beforeCreate() {
|
|
232
|
-
this.uuid =
|
|
232
|
+
this.uuid = de.toString(), de += 1;
|
|
233
233
|
}
|
|
234
|
-
},
|
|
235
|
-
function
|
|
236
|
-
return
|
|
234
|
+
}, C1 = { key: 0 }, g1 = ["clip-path"], v1 = ["id"];
|
|
235
|
+
function h1(e, t, s, n, o, p) {
|
|
236
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
237
237
|
class: "ui-assets-icons-16",
|
|
238
238
|
xmlns: "http://www.w3.org/2000/svg",
|
|
239
239
|
width: "16",
|
|
240
240
|
height: "16",
|
|
241
241
|
fill: "none"
|
|
242
242
|
}), [
|
|
243
|
-
e.$attrs["svg-title"] ? (
|
|
243
|
+
e.$attrs["svg-title"] ? (l(), c("title", C1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
244
244
|
d("g", {
|
|
245
245
|
"clip-path": "url(#uia-icons-16-attachment__a" + e.uuid + ")"
|
|
246
246
|
}, t[0] || (t[0] = [
|
|
@@ -248,7 +248,7 @@ function v1(e, t, s, l, o, p) {
|
|
|
248
248
|
fill: "#00112C",
|
|
249
249
|
d: "M12.866 4.09026C11.5689 2.79315 9.4638 2.79315 8.1667 4.09026L2.7267 9.53026C1.95959 10.2974 1.95959 11.5425 2.7267 12.3096C3.49381 13.0767 4.73893 13.0767 5.50604 12.3096L10.946 6.8696C11.1831 6.63249 11.1831 6.24737 10.946 6.01026C10.7089 5.77316 10.3238 5.77316 10.0867 6.01026L4.75637 11.3406L3.69571 10.2799L9.02604 4.9496C9.84893 4.12671 11.1838 4.12671 12.0067 4.9496C12.8296 5.7725 12.8296 7.10737 12.0067 7.93026L6.5667 13.3703C5.2138 14.7232 3.01893 14.7232 1.66604 13.3703C0.313144 12.0174 0.313144 9.82249 1.66604 8.4696L7.10604 3.0296C8.98893 1.14671 12.0438 1.14671 13.9267 3.0296C15.8096 4.91249 15.8096 7.96737 13.9267 9.85026L11.1564 12.6206L10.0957 11.5599L12.866 8.7896C14.1631 7.49249 14.1631 5.38737 12.866 4.09026Z"
|
|
250
250
|
}, null, -1)
|
|
251
|
-
]), 8,
|
|
251
|
+
]), 8, g1),
|
|
252
252
|
d("defs", null, [
|
|
253
253
|
d("clipPath", {
|
|
254
254
|
id: "uia-icons-16-attachment__a" + e.uuid
|
|
@@ -258,70 +258,70 @@ function v1(e, t, s, l, o, p) {
|
|
|
258
258
|
height: "16",
|
|
259
259
|
fill: "#fff"
|
|
260
260
|
}, null, -1)
|
|
261
|
-
]), 8,
|
|
261
|
+
]), 8, v1)
|
|
262
262
|
])
|
|
263
263
|
], 16);
|
|
264
264
|
}
|
|
265
|
-
const
|
|
266
|
-
let
|
|
267
|
-
const
|
|
265
|
+
const $1 = /* @__PURE__ */ L(m1, [["render", h1]]);
|
|
266
|
+
let pe = 0;
|
|
267
|
+
const y1 = {
|
|
268
268
|
beforeCreate() {
|
|
269
|
-
this.uuid =
|
|
269
|
+
this.uuid = pe.toString(), pe += 1;
|
|
270
270
|
}
|
|
271
|
-
},
|
|
272
|
-
function
|
|
273
|
-
return
|
|
271
|
+
}, _1 = { key: 0 };
|
|
272
|
+
function R1(e, t, s, n, o, p) {
|
|
273
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
274
274
|
class: "ui-assets-icons-16",
|
|
275
275
|
xmlns: "http://www.w3.org/2000/svg",
|
|
276
276
|
width: "16",
|
|
277
277
|
height: "16",
|
|
278
278
|
fill: "none"
|
|
279
279
|
}), [
|
|
280
|
-
e.$attrs["svg-title"] ? (
|
|
280
|
+
e.$attrs["svg-title"] ? (l(), c("title", _1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
281
281
|
t[0] || (t[0] = d("path", {
|
|
282
282
|
fill: "#00112C",
|
|
283
283
|
d: "M13.75 9.58159C14.3412 9.30073 14.75 8.6981 14.75 8V2C14.75 1.0335 13.9665 0.25 13 0.25H3C2.0335 0.25 1.25 1.0335 1.25 2V8C1.25 8.6981 1.65876 9.30073 2.25 9.58159V11C2.25 11.4641 2.43438 11.9092 2.76256 12.2374C2.90555 12.3804 3.07072 12.4961 3.25 12.5811V14C3.25 14.4641 3.43438 14.9092 3.76256 15.2374C4.09075 15.5656 4.53587 15.75 5 15.75H11C11.4641 15.75 11.9092 15.5656 12.2374 15.2374C12.5656 14.9092 12.75 14.4641 12.75 14V12.5811C12.9293 12.4961 13.0945 12.3804 13.2374 12.2374C13.5656 11.9092 13.75 11.4641 13.75 11V9.58159ZM3 1.75H13C13.1381 1.75 13.25 1.86193 13.25 2V8C13.25 8.13807 13.1381 8.25 13 8.25H3C2.86193 8.25 2.75 8.13807 2.75 8V2C2.75 1.86193 2.86193 1.75 3 1.75ZM12.25 9.75V11C12.25 11.0663 12.2237 11.1299 12.1768 11.1768C12.1299 11.2237 12.0663 11.25 12 11.25H4C3.9337 11.25 3.87011 11.2237 3.82322 11.1768C3.77634 11.1299 3.75 11.0663 3.75 11V9.75H12.25ZM11.25 12.75V14C11.25 14.0663 11.2237 14.1299 11.1768 14.1768C11.1299 14.2237 11.0663 14.25 11 14.25H5C4.9337 14.25 4.87011 14.2237 4.82322 14.1768C4.77634 14.1299 4.75 14.0663 4.75 14V12.75H11.25Z"
|
|
284
284
|
}, null, -1))
|
|
285
285
|
], 16);
|
|
286
286
|
}
|
|
287
|
-
const b1 = /* @__PURE__ */ L(
|
|
288
|
-
let
|
|
287
|
+
const b1 = /* @__PURE__ */ L(y1, [["render", R1]]);
|
|
288
|
+
let fe = 0;
|
|
289
289
|
const E1 = {
|
|
290
290
|
beforeCreate() {
|
|
291
|
-
this.uuid =
|
|
291
|
+
this.uuid = fe.toString(), fe += 1;
|
|
292
292
|
}
|
|
293
|
-
},
|
|
294
|
-
function
|
|
295
|
-
return
|
|
293
|
+
}, w1 = { key: 0 };
|
|
294
|
+
function L1(e, t, s, n, o, p) {
|
|
295
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
296
296
|
class: "ui-assets-icons-16",
|
|
297
297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
298
298
|
width: "16",
|
|
299
299
|
height: "16",
|
|
300
300
|
fill: "none"
|
|
301
301
|
}), [
|
|
302
|
-
e.$attrs["svg-title"] ? (
|
|
302
|
+
e.$attrs["svg-title"] ? (l(), c("title", w1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
303
303
|
t[0] || (t[0] = d("path", {
|
|
304
304
|
fill: "#00112C",
|
|
305
305
|
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"
|
|
306
306
|
}, null, -1))
|
|
307
307
|
], 16);
|
|
308
308
|
}
|
|
309
|
-
const
|
|
310
|
-
let
|
|
311
|
-
const
|
|
309
|
+
const I1 = /* @__PURE__ */ L(E1, [["render", L1]]);
|
|
310
|
+
let ce = 0;
|
|
311
|
+
const V1 = {
|
|
312
312
|
beforeCreate() {
|
|
313
|
-
this.uuid =
|
|
313
|
+
this.uuid = ce.toString(), ce += 1;
|
|
314
314
|
}
|
|
315
|
-
},
|
|
316
|
-
function
|
|
317
|
-
return
|
|
315
|
+
}, H1 = { key: 0 };
|
|
316
|
+
function S1(e, t, s, n, o, p) {
|
|
317
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
318
318
|
class: "ui-assets-icons-16",
|
|
319
319
|
xmlns: "http://www.w3.org/2000/svg",
|
|
320
320
|
width: "16",
|
|
321
321
|
height: "16",
|
|
322
322
|
fill: "none"
|
|
323
323
|
}), [
|
|
324
|
-
e.$attrs["svg-title"] ? (
|
|
324
|
+
e.$attrs["svg-title"] ? (l(), c("title", H1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
325
325
|
t[0] || (t[0] = d("path", {
|
|
326
326
|
fill: "#00112C",
|
|
327
327
|
d: "M10.7461 8.25V9.75H5.24609V8.25H10.7461Z"
|
|
@@ -336,44 +336,44 @@ function H1(e, t, s, l, o, p) {
|
|
|
336
336
|
}, null, -1))
|
|
337
337
|
], 16);
|
|
338
338
|
}
|
|
339
|
-
const
|
|
340
|
-
let
|
|
341
|
-
const
|
|
339
|
+
const M1 = /* @__PURE__ */ L(V1, [["render", S1]]);
|
|
340
|
+
let me = 0;
|
|
341
|
+
const D1 = {
|
|
342
342
|
beforeCreate() {
|
|
343
|
-
this.uuid =
|
|
343
|
+
this.uuid = me.toString(), me += 1;
|
|
344
344
|
}
|
|
345
|
-
},
|
|
346
|
-
function
|
|
347
|
-
return
|
|
345
|
+
}, O1 = { key: 0 };
|
|
346
|
+
function F1(e, t, s, n, o, p) {
|
|
347
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
348
348
|
class: "ui-assets-icons-16",
|
|
349
349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
350
350
|
width: "16",
|
|
351
351
|
height: "16",
|
|
352
352
|
fill: "none"
|
|
353
353
|
}), [
|
|
354
|
-
e.$attrs["svg-title"] ? (
|
|
354
|
+
e.$attrs["svg-title"] ? (l(), c("title", O1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
355
355
|
t[0] || (t[0] = d("path", {
|
|
356
356
|
fill: "#00112C",
|
|
357
357
|
d: "M1.24609 4.5C1.24609 3.25579 2.25188 2.25 3.49609 2.25H6.37609C6.97727 2.25 7.54738 2.49062 7.96642 2.90967L10.0864 5.02967C10.2274 5.17062 10.4173 5.25 10.6161 5.25H12.4961C13.7403 5.25 14.7461 6.25579 14.7461 7.5V12.5C14.7461 13.7442 13.7403 14.75 12.4961 14.75H3.49609C2.25188 14.75 1.24609 13.7442 1.24609 12.5V4.5ZM3.49609 3.75C3.08031 3.75 2.74609 4.08421 2.74609 4.5V12.5C2.74609 12.9158 3.08031 13.25 3.49609 13.25H12.4961C12.9119 13.25 13.2461 12.9158 13.2461 12.5V7.5C13.2461 7.08421 12.9119 6.75 12.4961 6.75H10.6161C10.0149 6.75 9.44481 6.50938 9.02576 6.09033L6.90576 3.97033C6.76481 3.82938 6.57492 3.75 6.37609 3.75H3.49609Z"
|
|
358
358
|
}, null, -1))
|
|
359
359
|
], 16);
|
|
360
360
|
}
|
|
361
|
-
const
|
|
362
|
-
let
|
|
361
|
+
const T1 = /* @__PURE__ */ L(D1, [["render", F1]]);
|
|
362
|
+
let Ce = 0;
|
|
363
363
|
const k1 = {
|
|
364
364
|
beforeCreate() {
|
|
365
|
-
this.uuid =
|
|
365
|
+
this.uuid = Ce.toString(), Ce += 1;
|
|
366
366
|
}
|
|
367
|
-
},
|
|
368
|
-
function
|
|
369
|
-
return
|
|
367
|
+
}, x1 = { key: 0 };
|
|
368
|
+
function Z1(e, t, s, n, o, p) {
|
|
369
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
370
370
|
class: "ui-assets-icons-16",
|
|
371
371
|
xmlns: "http://www.w3.org/2000/svg",
|
|
372
372
|
width: "16",
|
|
373
373
|
height: "16",
|
|
374
374
|
fill: "none"
|
|
375
375
|
}), [
|
|
376
|
-
e.$attrs["svg-title"] ? (
|
|
376
|
+
e.$attrs["svg-title"] ? (l(), c("title", x1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
377
377
|
t[0] || (t[0] = d("path", {
|
|
378
378
|
fill: "#00112C",
|
|
379
379
|
d: "M9.99609 3.24805C8.47731 3.24805 7.24609 4.47926 7.24609 5.99805C7.24609 7.51683 8.47731 8.74805 9.99609 8.74805C11.5149 8.74805 12.7461 7.51683 12.7461 5.99805C12.7461 4.47926 11.5149 3.24805 9.99609 3.24805ZM8.74609 5.99805C8.74609 5.30769 9.30574 4.74805 9.99609 4.74805C10.6865 4.74805 11.2461 5.30769 11.2461 5.99805C11.2461 6.6884 10.6865 7.24805 9.99609 7.24805C9.30574 7.24805 8.74609 6.6884 8.74609 5.99805Z"
|
|
@@ -384,29 +384,29 @@ function x1(e, t, s, l, o, p) {
|
|
|
384
384
|
}, null, -1))
|
|
385
385
|
], 16);
|
|
386
386
|
}
|
|
387
|
-
const
|
|
388
|
-
let
|
|
389
|
-
const
|
|
387
|
+
const z1 = /* @__PURE__ */ L(k1, [["render", Z1]]);
|
|
388
|
+
let ge = 0;
|
|
389
|
+
const B1 = {
|
|
390
390
|
beforeCreate() {
|
|
391
|
-
this.uuid =
|
|
391
|
+
this.uuid = ge.toString(), ge += 1;
|
|
392
392
|
}
|
|
393
|
-
},
|
|
394
|
-
function
|
|
395
|
-
return
|
|
393
|
+
}, A1 = { key: 0 }, N1 = ["clip-path"], U1 = ["id"];
|
|
394
|
+
function P1(e, t, s, n, o, p) {
|
|
395
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
396
396
|
class: "ui-assets-icons-16",
|
|
397
397
|
xmlns: "http://www.w3.org/2000/svg",
|
|
398
398
|
width: "16",
|
|
399
399
|
height: "16",
|
|
400
400
|
fill: "none"
|
|
401
401
|
}), [
|
|
402
|
-
e.$attrs["svg-title"] ? (
|
|
402
|
+
e.$attrs["svg-title"] ? (l(), c("title", A1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
403
403
|
d("g", {
|
|
404
404
|
fill: "#00112C",
|
|
405
405
|
"clip-path": "url(#uia-icons-16-play_circle__a" + e.uuid + ")"
|
|
406
406
|
}, t[0] || (t[0] = [
|
|
407
407
|
d("path", { d: "M10.9722 8.00002L6.62012 5.09863V10.9014L10.9722 8.00002Z" }, null, -1),
|
|
408
408
|
d("path", { d: "M5.0342 0.839937C6.45033 0.253358 8.0086 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM9.21931 1.8701C8.00693 1.62894 6.75027 1.75271 5.60823 2.22576C4.46619 2.6988 3.49007 3.49988 2.80331 4.52769C2.11656 5.5555 1.75 6.76387 1.75 8C1.75 9.65761 2.40848 11.2473 3.58058 12.4194C4.75268 13.5915 6.3424 14.25 8 14.25C9.23613 14.25 10.4445 13.8834 11.4723 13.1967C12.5001 12.5099 13.3012 11.5338 13.7742 10.3918C14.2473 9.24974 14.3711 7.99307 14.1299 6.78069C13.8887 5.56831 13.2935 4.45466 12.4194 3.58059C11.5453 2.70651 10.4317 2.11125 9.21931 1.8701Z" }, null, -1)
|
|
409
|
-
]), 8,
|
|
409
|
+
]), 8, N1),
|
|
410
410
|
d("defs", null, [
|
|
411
411
|
d("clipPath", {
|
|
412
412
|
id: "uia-icons-16-play_circle__a" + e.uuid
|
|
@@ -416,26 +416,26 @@ function U1(e, t, s, l, o, p) {
|
|
|
416
416
|
height: "16",
|
|
417
417
|
fill: "#fff"
|
|
418
418
|
}, null, -1)
|
|
419
|
-
]), 8,
|
|
419
|
+
]), 8, U1)
|
|
420
420
|
])
|
|
421
421
|
], 16);
|
|
422
422
|
}
|
|
423
|
-
const
|
|
424
|
-
let
|
|
425
|
-
const
|
|
423
|
+
const G1 = /* @__PURE__ */ L(B1, [["render", P1]]);
|
|
424
|
+
let ve = 0;
|
|
425
|
+
const W1 = {
|
|
426
426
|
beforeCreate() {
|
|
427
|
-
this.uuid =
|
|
427
|
+
this.uuid = ve.toString(), ve += 1;
|
|
428
428
|
}
|
|
429
|
-
},
|
|
430
|
-
function
|
|
431
|
-
return
|
|
429
|
+
}, j1 = { key: 0 };
|
|
430
|
+
function Y1(e, t, s, n, o, p) {
|
|
431
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
432
432
|
class: "ui-assets-icons-16",
|
|
433
433
|
xmlns: "http://www.w3.org/2000/svg",
|
|
434
434
|
width: "16",
|
|
435
435
|
height: "16",
|
|
436
436
|
fill: "none"
|
|
437
437
|
}), [
|
|
438
|
-
e.$attrs["svg-title"] ? (
|
|
438
|
+
e.$attrs["svg-title"] ? (l(), c("title", j1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
439
439
|
t[0] || (t[0] = d("path", {
|
|
440
440
|
fill: "#00112C",
|
|
441
441
|
d: "M5.68934 2.25H8.75V13.75H5.68934L2.68934 10.75H0.25V5.25H2.68934L5.68934 2.25ZM6.31066 3.75L3.31066 6.75H1.75V9.25H3.31066L6.31066 12.25H7.25V3.75H6.31066Z"
|
|
@@ -450,57 +450,57 @@ function j1(e, t, s, l, o, p) {
|
|
|
450
450
|
}, null, -1))
|
|
451
451
|
], 16);
|
|
452
452
|
}
|
|
453
|
-
const
|
|
454
|
-
let
|
|
455
|
-
const
|
|
453
|
+
const q1 = /* @__PURE__ */ L(W1, [["render", Y1]]);
|
|
454
|
+
let he = 0;
|
|
455
|
+
const X1 = {
|
|
456
456
|
beforeCreate() {
|
|
457
|
-
this.uuid =
|
|
457
|
+
this.uuid = he.toString(), he += 1;
|
|
458
458
|
}
|
|
459
|
-
},
|
|
460
|
-
function
|
|
461
|
-
return
|
|
459
|
+
}, J1 = { key: 0 };
|
|
460
|
+
function K1(e, t, s, n, o, p) {
|
|
461
|
+
return l(), c("svg", M({ role: "img" }, e.$attrs, {
|
|
462
462
|
class: "ui-assets-icons-16",
|
|
463
463
|
xmlns: "http://www.w3.org/2000/svg",
|
|
464
464
|
width: "16",
|
|
465
465
|
height: "16",
|
|
466
466
|
fill: "none"
|
|
467
467
|
}), [
|
|
468
|
-
e.$attrs["svg-title"] ? (
|
|
468
|
+
e.$attrs["svg-title"] ? (l(), c("title", J1, f(e.$attrs["svg-title"]), 1)) : m("", !0),
|
|
469
469
|
t[0] || (t[0] = d("path", {
|
|
470
470
|
fill: "#00112C",
|
|
471
471
|
d: "M3.5 1.25L3.49505 1.25002C2.90084 1.25394 2.33208 1.49173 1.91191 1.91191C1.49173 2.33208 1.25392 2.90084 1.25 3.49505V12.5C1.25 13.0967 1.48705 13.669 1.90901 14.091C2.33097 14.5129 2.90326 14.75 3.5 14.75H12.5C13.0967 14.75 13.669 14.5129 14.091 14.091C14.5129 13.669 14.75 13.0967 14.75 12.5V3.5C14.75 2.90326 14.5129 2.33097 14.091 1.90901C13.669 1.48705 13.0967 1.25 12.5 1.25H3.5ZM5.25 2.75V5.25H2.75V3.5029C2.75185 3.30382 2.83175 3.11338 2.97257 2.97257C3.11338 2.83175 3.30382 2.75185 3.5029 2.75H5.25ZM5.25 6.75V9.25H2.75V6.75H5.25ZM6.75 9.25V6.75H13.25V9.25H6.75ZM5.25 10.75V13.25H3.5C3.30109 13.25 3.11032 13.171 2.96967 13.0303C2.82902 12.8897 2.75 12.6989 2.75 12.5V10.75H5.25ZM6.75 13.25V10.75H13.25V12.5C13.25 12.6989 13.171 12.8897 13.0303 13.0303C12.8897 13.171 12.6989 13.25 12.5 13.25H6.75ZM6.75 5.25V2.75H12.5C12.6989 2.75 12.8897 2.82902 13.0303 2.96967C13.171 3.11032 13.25 3.30109 13.25 3.5V5.25H6.75Z"
|
|
472
472
|
}, null, -1))
|
|
473
473
|
], 16);
|
|
474
474
|
}
|
|
475
|
-
const
|
|
476
|
-
[
|
|
477
|
-
[
|
|
478
|
-
[
|
|
479
|
-
[
|
|
480
|
-
[
|
|
481
|
-
[
|
|
482
|
-
[
|
|
483
|
-
[
|
|
484
|
-
[
|
|
475
|
+
const Q1 = /* @__PURE__ */ L(X1, [["render", K1]]), et = {
|
|
476
|
+
[C.AUDIO]: q1,
|
|
477
|
+
[C.COMPRESSED]: T1,
|
|
478
|
+
[C.GENERIC]: $1,
|
|
479
|
+
[C.IMAGE]: z1,
|
|
480
|
+
[C.PDF]: I1,
|
|
481
|
+
[C.SLIDES]: b1,
|
|
482
|
+
[C.TABLE]: Q1,
|
|
483
|
+
[C.TEXT]: M1,
|
|
484
|
+
[C.VIDEO]: G1
|
|
485
485
|
};
|
|
486
|
-
function et(e) {
|
|
487
|
-
return Q1[e.type];
|
|
488
|
-
}
|
|
489
486
|
function tt(e) {
|
|
487
|
+
return et[e.type];
|
|
488
|
+
}
|
|
489
|
+
function st(e) {
|
|
490
490
|
switch (e.type) {
|
|
491
|
-
case
|
|
492
|
-
case
|
|
491
|
+
case C.COMPRESSED:
|
|
492
|
+
case C.GENERIC:
|
|
493
493
|
return "grey";
|
|
494
|
-
case
|
|
495
|
-
case
|
|
494
|
+
case C.PDF:
|
|
495
|
+
case C.SLIDES:
|
|
496
496
|
return "orange";
|
|
497
|
-
case
|
|
497
|
+
case C.TEXT:
|
|
498
498
|
return "blue";
|
|
499
499
|
default:
|
|
500
500
|
return "green";
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
const
|
|
503
|
+
const we = {
|
|
504
504
|
"en-US": {
|
|
505
505
|
cancel: "Cancel",
|
|
506
506
|
fileExceedsSizeLimit: "File exceeds size limit",
|
|
@@ -519,10 +519,10 @@ const Re = {
|
|
|
519
519
|
remove: "削除",
|
|
520
520
|
retry: "再試行"
|
|
521
521
|
}
|
|
522
|
-
},
|
|
522
|
+
}, it = { class: "b-file-uploader-file-card__details" }, rt = { class: "b-file-uploader-file-card__info" }, nt = { class: "b-file-uploader-file-card__actions" }, lt = {
|
|
523
523
|
name: "file-uploader-file-card",
|
|
524
|
-
i18n: { messages:
|
|
525
|
-
},
|
|
524
|
+
i18n: { messages: we }
|
|
525
|
+
}, ot = /* @__PURE__ */ Y({
|
|
526
526
|
...lt,
|
|
527
527
|
props: {
|
|
528
528
|
file: {},
|
|
@@ -530,35 +530,35 @@ const Re = {
|
|
|
530
530
|
},
|
|
531
531
|
emits: ["cancel", "remove", "retry"],
|
|
532
532
|
setup(e, { emit: t }) {
|
|
533
|
-
const
|
|
534
|
-
"b-file-uploader-file-card--error":
|
|
535
|
-
})),
|
|
536
|
-
[`b-file-uploader-file-card__icon--${
|
|
537
|
-
"b-file-uploader-file-card__icon--error":
|
|
538
|
-
})),
|
|
539
|
-
return
|
|
540
|
-
() =>
|
|
533
|
+
const n = e, o = t, { t: p, locale: R } = q({ messages: we }), I = k(n.file.state === S.SUCCESS), a = h(() => URL.createObjectURL(n.file.data)), b = h(() => n.file.state === S.ERROR), F = h(() => n.file.errors.includes(w.ERROR_LOAD)), E = h(() => n.file.errors.includes(w.ERROR_SIZE)), B = h(() => n.file.errors.includes(w.ERROR_DIMENSIONS)), A = h(() => n.file.errors.includes(w.ERROR_TYPE)), Z = h(() => n.file.state === S.LOADING), z = h(() => n.file.progress && `(${n.file.progress.toFixed(0)}%)`), X = h(() => Ee(R.value, n.file.data.size)), G = k(), N = k(), J = l1(G, N), K = h(() => ({
|
|
534
|
+
"b-file-uploader-file-card--error": b.value
|
|
535
|
+
})), Q = h(() => ({
|
|
536
|
+
[`b-file-uploader-file-card__icon--${st(n.file)}`]: I.value,
|
|
537
|
+
"b-file-uploader-file-card__icon--error": b.value
|
|
538
|
+
})), U = h(() => Z.value ? Ye : b.value ? Re : I.value ? tt(n.file) : Ue);
|
|
539
|
+
return ye(
|
|
540
|
+
() => n.file.state,
|
|
541
541
|
(H) => {
|
|
542
|
-
if (H ===
|
|
543
|
-
const
|
|
544
|
-
I.value = !0, clearTimeout(
|
|
542
|
+
if (H === S.SUCCESS && !I.value) {
|
|
543
|
+
const D = setTimeout(() => {
|
|
544
|
+
I.value = !0, clearTimeout(D);
|
|
545
545
|
}, 1200);
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
), (H,
|
|
549
|
-
class:
|
|
548
|
+
), (H, D) => (l(), c("div", {
|
|
549
|
+
class: T(["b-file-uploader-file-card", K.value])
|
|
550
550
|
}, [
|
|
551
|
-
d("div",
|
|
552
|
-
d("div",
|
|
553
|
-
|
|
554
|
-
name:
|
|
551
|
+
d("div", it, [
|
|
552
|
+
d("div", rt, [
|
|
553
|
+
O(r(t1), {
|
|
554
|
+
name: r(be) ? "b-file-uploader-file-card__animation" : "b-file-uploader-file-card__animation--vue3",
|
|
555
555
|
"show-file-icon": I.value
|
|
556
556
|
}, {
|
|
557
557
|
default: g(() => [
|
|
558
|
-
(
|
|
559
|
-
key: JSON.stringify(
|
|
558
|
+
(l(), v(xe(U.value), {
|
|
559
|
+
key: JSON.stringify(U.value),
|
|
560
560
|
small: "",
|
|
561
|
-
class:
|
|
561
|
+
class: T(["b-file-uploader-file-card__icon", Q.value]),
|
|
562
562
|
"data-testid": "file-uploader-item-icon"
|
|
563
563
|
}, null, 8, ["class"]))
|
|
564
564
|
]),
|
|
@@ -566,10 +566,10 @@ const Re = {
|
|
|
566
566
|
}, 8, ["name", "show-file-icon"]),
|
|
567
567
|
d("div", {
|
|
568
568
|
ref_key: "fileNameContainerRef",
|
|
569
|
-
ref:
|
|
569
|
+
ref: N,
|
|
570
570
|
class: "b-file-uploader-file-card__file-name"
|
|
571
571
|
}, [
|
|
572
|
-
|
|
572
|
+
O(r(je), {
|
|
573
573
|
download: H.file.data.name,
|
|
574
574
|
to: a.value,
|
|
575
575
|
"disable-typography": "",
|
|
@@ -577,103 +577,105 @@ const Re = {
|
|
|
577
577
|
variant: "quiet"
|
|
578
578
|
}, {
|
|
579
579
|
default: g(() => [
|
|
580
|
-
|
|
580
|
+
_e((l(), v(r(V), {
|
|
581
581
|
ref_key: "fileNameRef",
|
|
582
|
-
ref:
|
|
582
|
+
ref: G,
|
|
583
583
|
stronger: "",
|
|
584
584
|
el: "span"
|
|
585
585
|
}, {
|
|
586
586
|
default: g(() => [
|
|
587
|
-
|
|
587
|
+
y(f(H.file.data.name), 1)
|
|
588
588
|
]),
|
|
589
589
|
_: 1
|
|
590
590
|
})), [
|
|
591
|
-
[
|
|
591
|
+
[r(We), r(J) ? H.file.data.name : null]
|
|
592
592
|
])
|
|
593
593
|
]),
|
|
594
594
|
_: 1
|
|
595
595
|
}, 8, ["download", "to"])
|
|
596
596
|
], 512),
|
|
597
|
-
H.file.progress ? (
|
|
597
|
+
H.file.progress ? (l(), v(r(V), {
|
|
598
598
|
key: 0,
|
|
599
599
|
el: "span"
|
|
600
600
|
}, {
|
|
601
601
|
default: g(() => [
|
|
602
|
-
|
|
602
|
+
y(f(z.value), 1)
|
|
603
603
|
]),
|
|
604
604
|
_: 1
|
|
605
|
-
})) : H.file.data.size ? (
|
|
605
|
+
})) : H.file.data.size ? (l(), v(r(V), {
|
|
606
606
|
key: 1,
|
|
607
607
|
class: "b-file-uploader-file-card__file-size",
|
|
608
608
|
el: "span"
|
|
609
609
|
}, {
|
|
610
610
|
default: g(() => [
|
|
611
|
-
|
|
611
|
+
y(f(X.value), 1)
|
|
612
612
|
]),
|
|
613
613
|
_: 1
|
|
614
|
-
})) :
|
|
614
|
+
})) : m("", !0)
|
|
615
615
|
]),
|
|
616
|
-
|
|
616
|
+
E.value ? (l(), v(r(V), {
|
|
617
617
|
key: 0,
|
|
618
618
|
class: "b-file-uploader-file-card__error-message"
|
|
619
619
|
}, {
|
|
620
620
|
default: g(() => [
|
|
621
|
-
|
|
621
|
+
y(f(r(p)("fileExceedsSizeLimit")), 1)
|
|
622
622
|
]),
|
|
623
623
|
_: 1
|
|
624
|
-
})) :
|
|
624
|
+
})) : m("", !0),
|
|
625
|
+
B.value ? (l(), v(r(V), {
|
|
625
626
|
key: 1,
|
|
626
627
|
class: "b-file-uploader-file-card__error-message"
|
|
627
628
|
}, {
|
|
628
629
|
default: g(() => [
|
|
629
|
-
|
|
630
|
+
y(f(r(p)("imageDimensionsExceedLimits")), 1)
|
|
630
631
|
]),
|
|
631
632
|
_: 1
|
|
632
|
-
})) :
|
|
633
|
+
})) : m("", !0),
|
|
634
|
+
A.value && H.supportedFileTypes ? (l(), v(r(V), {
|
|
633
635
|
key: 2,
|
|
634
636
|
class: "b-file-uploader-file-card__error-message"
|
|
635
637
|
}, {
|
|
636
638
|
default: g(() => [
|
|
637
|
-
|
|
639
|
+
y(f(r(p)("fileTypeMustBe", { list: H.supportedFileTypes })), 1)
|
|
638
640
|
]),
|
|
639
641
|
_: 1
|
|
640
|
-
})) :
|
|
642
|
+
})) : m("", !0)
|
|
641
643
|
]),
|
|
642
644
|
d("div", nt, [
|
|
643
|
-
|
|
645
|
+
F.value ? (l(), v(r(W), {
|
|
644
646
|
key: 0,
|
|
645
647
|
variant: "tertiary",
|
|
646
|
-
onClick:
|
|
648
|
+
onClick: D[0] || (D[0] = (x) => o("retry"))
|
|
647
649
|
}, {
|
|
648
650
|
iconLeft: g(() => [
|
|
649
|
-
|
|
650
|
-
"svg-title":
|
|
651
|
+
O(r(Ge), {
|
|
652
|
+
"svg-title": r(p)("retry")
|
|
651
653
|
}, null, 8, ["svg-title"])
|
|
652
654
|
]),
|
|
653
655
|
default: g(() => [
|
|
654
|
-
|
|
656
|
+
y(" " + f(r(p)("retry")), 1)
|
|
655
657
|
]),
|
|
656
658
|
_: 1
|
|
657
|
-
})) :
|
|
658
|
-
|
|
659
|
+
})) : m("", !0),
|
|
660
|
+
Z.value || b.value ? (l(), v(r(W), {
|
|
659
661
|
key: 1,
|
|
660
662
|
variant: "tertiary",
|
|
661
|
-
onClick:
|
|
663
|
+
onClick: D[1] || (D[1] = (x) => o("cancel"))
|
|
662
664
|
}, {
|
|
663
665
|
iconLeft: g(() => [
|
|
664
|
-
|
|
665
|
-
"svg-title":
|
|
666
|
+
O(r(Pe), {
|
|
667
|
+
"svg-title": r(p)("cancel")
|
|
666
668
|
}, null, 8, ["svg-title"])
|
|
667
669
|
]),
|
|
668
670
|
_: 1
|
|
669
|
-
})) : (
|
|
671
|
+
})) : (l(), v(r(W), {
|
|
670
672
|
key: 2,
|
|
671
673
|
variant: "tertiary",
|
|
672
|
-
onClick:
|
|
674
|
+
onClick: D[2] || (D[2] = (x) => o("remove"))
|
|
673
675
|
}, {
|
|
674
676
|
iconLeft: g(() => [
|
|
675
|
-
|
|
676
|
-
"svg-title":
|
|
677
|
+
O(r(n1), {
|
|
678
|
+
"svg-title": r(p)("remove")
|
|
677
679
|
}, null, 8, ["svg-title"])
|
|
678
680
|
]),
|
|
679
681
|
_: 1
|
|
@@ -681,7 +683,7 @@ const Re = {
|
|
|
681
683
|
])
|
|
682
684
|
], 2));
|
|
683
685
|
}
|
|
684
|
-
}),
|
|
686
|
+
}), at = /* @__PURE__ */ L(ot, [["__scopeId", "data-v-13fa0d5e"]]), Le = {
|
|
685
687
|
"en-US": {
|
|
686
688
|
maxFileSize: "Max file size: {size}",
|
|
687
689
|
maxImageDimensions: "Max image dimensions: {width} × {height}px",
|
|
@@ -690,10 +692,10 @@ const Re = {
|
|
|
690
692
|
maxUpload: "Max upload: {count} file | Max upload: {count} files",
|
|
691
693
|
supportedFileTypes: "Supported file types: {list}"
|
|
692
694
|
}
|
|
693
|
-
},
|
|
694
|
-
i18n: { messages:
|
|
695
|
-
},
|
|
696
|
-
...
|
|
695
|
+
}, ut = {
|
|
696
|
+
i18n: { messages: Le }
|
|
697
|
+
}, dt = /* @__PURE__ */ Y({
|
|
698
|
+
...ut,
|
|
697
699
|
__name: "file-uploader-restrictions",
|
|
698
700
|
props: {
|
|
699
701
|
condensed: { type: Boolean, default: null },
|
|
@@ -704,11 +706,11 @@ const Re = {
|
|
|
704
706
|
supportedFileTypes: { default: null }
|
|
705
707
|
},
|
|
706
708
|
setup(e) {
|
|
707
|
-
const t = e, { t: s, tc:
|
|
709
|
+
const t = e, { t: s, tc: n, locale: o } = q({ messages: Le }), p = h(() => ({
|
|
708
710
|
"b-file-uploader-restrictions--condensed": t.condensed,
|
|
709
711
|
"b-file-uploader-restrictions--disabled": t.disabled
|
|
710
712
|
}));
|
|
711
|
-
function
|
|
713
|
+
function R(a) {
|
|
712
714
|
return {
|
|
713
715
|
"b-file-uploader-restrictions--error": a
|
|
714
716
|
};
|
|
@@ -717,60 +719,60 @@ const Re = {
|
|
|
717
719
|
if (!t.maxDimensions)
|
|
718
720
|
return null;
|
|
719
721
|
const {
|
|
720
|
-
value: { width: a, height:
|
|
722
|
+
value: { width: a, height: b }
|
|
721
723
|
} = t.maxDimensions;
|
|
722
|
-
return a &&
|
|
724
|
+
return a && b ? s("maxImageDimensions", { width: a, height: b }) : a ? s("maxImageWidth", { width: a }) : b ? s("maxImageHeight", { height: b }) : null;
|
|
723
725
|
});
|
|
724
|
-
return (a,
|
|
725
|
-
class:
|
|
726
|
+
return (a, b) => (l(), c("div", {
|
|
727
|
+
class: T(["b-file-uploader-restrictions", p.value])
|
|
726
728
|
}, [
|
|
727
|
-
a.supportedFileTypes ? (
|
|
729
|
+
a.supportedFileTypes ? (l(), v(r(V), {
|
|
728
730
|
key: 0,
|
|
729
|
-
class:
|
|
731
|
+
class: T(R(a.supportedFileTypes.error))
|
|
730
732
|
}, {
|
|
731
733
|
default: g(() => [
|
|
732
|
-
|
|
734
|
+
y(f(r(s)("supportedFileTypes", { list: a.supportedFileTypes.value })), 1)
|
|
733
735
|
]),
|
|
734
736
|
_: 1
|
|
735
|
-
}, 8, ["class"])) :
|
|
736
|
-
a.maxSize ? (
|
|
737
|
+
}, 8, ["class"])) : m("", !0),
|
|
738
|
+
a.maxSize ? (l(), v(r(V), {
|
|
737
739
|
key: 1,
|
|
738
|
-
class:
|
|
740
|
+
class: T(R(a.maxSize.error))
|
|
739
741
|
}, {
|
|
740
742
|
default: g(() => [
|
|
741
|
-
|
|
743
|
+
y(f(r(s)("maxFileSize", { size: r(Ee)(r(o), a.maxSize.value) })), 1)
|
|
742
744
|
]),
|
|
743
745
|
_: 1
|
|
744
|
-
}, 8, ["class"])) :
|
|
745
|
-
a.maxDimensions ? (
|
|
746
|
+
}, 8, ["class"])) : m("", !0),
|
|
747
|
+
a.maxDimensions ? (l(), v(r(V), {
|
|
746
748
|
key: 2,
|
|
747
|
-
class:
|
|
749
|
+
class: T(R(a.maxDimensions.error))
|
|
748
750
|
}, {
|
|
749
751
|
default: g(() => [
|
|
750
|
-
|
|
752
|
+
y(f(I.value), 1)
|
|
751
753
|
]),
|
|
752
754
|
_: 1
|
|
753
|
-
}, 8, ["class"])) :
|
|
754
|
-
a.maxCount ? (
|
|
755
|
+
}, 8, ["class"])) : m("", !0),
|
|
756
|
+
a.maxCount ? (l(), v(r(V), {
|
|
755
757
|
key: 3,
|
|
756
|
-
class:
|
|
758
|
+
class: T(R(a.maxCount.error))
|
|
757
759
|
}, {
|
|
758
760
|
default: g(() => [
|
|
759
|
-
|
|
761
|
+
y(f(r(n)("maxUpload", a.maxCount.value)), 1)
|
|
760
762
|
]),
|
|
761
763
|
_: 1
|
|
762
|
-
}, 8, ["class"])) :
|
|
764
|
+
}, 8, ["class"])) : m("", !0)
|
|
763
765
|
], 2));
|
|
764
766
|
}
|
|
765
|
-
}),
|
|
766
|
-
function
|
|
767
|
-
const { locale: t, t: s } =
|
|
767
|
+
}), $e = /* @__PURE__ */ L(dt, [["__scopeId", "data-v-d7c2e9cd"]]);
|
|
768
|
+
function pt(e) {
|
|
769
|
+
const { locale: t, t: s } = q();
|
|
768
770
|
return { supportedFileTypeList: h(() => {
|
|
769
771
|
const o = new Intl.ListFormat(t.value, { style: "short", type: "unit" });
|
|
770
772
|
return e != null && e.value ? o.format(
|
|
771
773
|
e.value.split(",").map((p) => {
|
|
772
|
-
const
|
|
773
|
-
switch (
|
|
774
|
+
const R = p.trim();
|
|
775
|
+
switch (R) {
|
|
774
776
|
case "audio/*":
|
|
775
777
|
return s("audioFiles");
|
|
776
778
|
case "image/*":
|
|
@@ -778,13 +780,13 @@ function dt(e) {
|
|
|
778
780
|
case "video/*":
|
|
779
781
|
return s("videoFiles");
|
|
780
782
|
default:
|
|
781
|
-
return
|
|
783
|
+
return R.toUpperCase();
|
|
782
784
|
}
|
|
783
785
|
})
|
|
784
786
|
) : null;
|
|
785
787
|
}) };
|
|
786
788
|
}
|
|
787
|
-
const
|
|
789
|
+
const Ie = {
|
|
788
790
|
"en-US": {
|
|
789
791
|
audioFiles: "audio files",
|
|
790
792
|
browseFiles: "Browse files",
|
|
@@ -806,11 +808,11 @@ const Le = {
|
|
|
806
808
|
upload: "アップロード",
|
|
807
809
|
warning: "警告"
|
|
808
810
|
}
|
|
809
|
-
},
|
|
811
|
+
}, ft = ["id", "accept", "disabled", "multiple"], ct = ["aria-label", "tabindex"], mt = { class: "b-file-uploader__icon" }, Ct = { class: "b-file-uploader__files" }, gt = {
|
|
810
812
|
model: { prop: "modelValue" },
|
|
811
|
-
i18n: { messages:
|
|
812
|
-
},
|
|
813
|
-
...
|
|
813
|
+
i18n: { messages: Ie }
|
|
814
|
+
}, vt = /* @__PURE__ */ Y({
|
|
815
|
+
...gt,
|
|
814
816
|
__name: "file-uploader",
|
|
815
817
|
props: {
|
|
816
818
|
accept: { default: null },
|
|
@@ -829,121 +831,122 @@ const Le = {
|
|
|
829
831
|
},
|
|
830
832
|
emits: ["change", "update:modelValue"],
|
|
831
833
|
setup(e, { emit: t }) {
|
|
832
|
-
const s = e,
|
|
834
|
+
const s = e, n = t, { t: o, tc: p } = q({ messages: Ie }), R = ee("input"), I = ee("input-error"), a = k(null), b = k(), F = ie({
|
|
833
835
|
dragging: !1,
|
|
834
836
|
error: !1
|
|
835
|
-
}),
|
|
836
|
-
[`b-file-uploader--${
|
|
837
|
-
[`b-file-uploader--${
|
|
838
|
-
[`b-file-uploader--${
|
|
837
|
+
}), E = k(null), { supportedFileTypeList: B } = pt(Ze(s, "accept")), A = k(!1), Z = h(() => !!s.errorMessage || F.error), z = h(() => s.maxCount > 1), X = h(() => ({
|
|
838
|
+
[`b-file-uploader--${j.DISABLED}`]: s.disabled,
|
|
839
|
+
[`b-file-uploader--${j.DRAG_OVER}`]: F.dragging,
|
|
840
|
+
[`b-file-uploader--${j.ERROR}`]: Z.value,
|
|
839
841
|
"b-file-uploader--condensed": s.condensed
|
|
840
|
-
})),
|
|
842
|
+
})), G = h(() => {
|
|
841
843
|
var i;
|
|
842
|
-
return s.maxCount && ((i =
|
|
843
|
-
}),
|
|
844
|
-
var i, u,
|
|
844
|
+
return s.maxCount && ((i = E.value) == null ? void 0 : i.length) >= s.maxCount;
|
|
845
|
+
}), N = h(() => {
|
|
846
|
+
var i, u, $;
|
|
845
847
|
return {
|
|
846
848
|
condensed: s.condensed,
|
|
847
849
|
disabled: s.disabled,
|
|
848
|
-
maxCount:
|
|
850
|
+
maxCount: z.value ? {
|
|
849
851
|
value: s.maxCount,
|
|
850
|
-
error:
|
|
852
|
+
error: A.value
|
|
851
853
|
} : null,
|
|
852
854
|
maxDimensions: s.maxDimensions ? {
|
|
853
855
|
value: s.maxDimensions,
|
|
854
|
-
error: (i =
|
|
856
|
+
error: (i = E.value) == null ? void 0 : i.some((_) => _.errors.includes(w.ERROR_DIMENSIONS))
|
|
855
857
|
} : null,
|
|
856
858
|
maxSize: s.maxSize ? {
|
|
857
859
|
value: s.maxSize,
|
|
858
|
-
error: (u =
|
|
860
|
+
error: (u = E.value) == null ? void 0 : u.some((_) => _.errors.includes(w.ERROR_SIZE))
|
|
859
861
|
} : null,
|
|
860
|
-
supportedFileTypes:
|
|
861
|
-
value:
|
|
862
|
-
error: (
|
|
862
|
+
supportedFileTypes: B.value ? {
|
|
863
|
+
value: B.value,
|
|
864
|
+
error: ($ = E.value) == null ? void 0 : $.some((_) => _.errors.includes(w.ERROR_TYPE))
|
|
863
865
|
} : null
|
|
864
866
|
};
|
|
865
867
|
});
|
|
866
|
-
function
|
|
868
|
+
function J(i) {
|
|
867
869
|
const u = s.maxCount && i.length <= s.maxCount;
|
|
868
|
-
|
|
870
|
+
A.value = !u;
|
|
869
871
|
}
|
|
870
|
-
function
|
|
872
|
+
function K(i) {
|
|
871
873
|
s.maxSize && i.forEach((u) => {
|
|
872
|
-
const
|
|
873
|
-
|
|
874
|
+
const $ = u;
|
|
875
|
+
$.data.size > s.maxSize && ($.state = S.ERROR, $.errors.push(w.ERROR_SIZE));
|
|
874
876
|
});
|
|
875
877
|
}
|
|
876
|
-
function
|
|
878
|
+
function Q(i) {
|
|
877
879
|
i.preventDefault(), s.disabled && (i.dataTransfer.dropEffect = "none");
|
|
878
880
|
}
|
|
879
|
-
function
|
|
880
|
-
const u =
|
|
881
|
-
id:
|
|
881
|
+
function U(i) {
|
|
882
|
+
const u = ie({
|
|
883
|
+
id: ee("file"),
|
|
882
884
|
data: i,
|
|
883
|
-
|
|
884
|
-
|
|
885
|
+
errors: [],
|
|
886
|
+
state: S.LOADING,
|
|
887
|
+
type: p1(i),
|
|
885
888
|
progress: null
|
|
886
889
|
});
|
|
887
|
-
return
|
|
890
|
+
return c1(u, s.accept, s.maxDimensions), u;
|
|
888
891
|
}
|
|
889
892
|
function H(i) {
|
|
890
|
-
|
|
893
|
+
z.value ? E.value = [...E.value || [], ...Array.from(i).map((u) => U(u))] : E.value = [U(i[0])];
|
|
891
894
|
}
|
|
892
|
-
function
|
|
895
|
+
function D() {
|
|
893
896
|
var i, u;
|
|
894
897
|
if (s.maxCount === 1 && ((i = a.value.files) == null ? void 0 : i.length) > s.maxCount) {
|
|
895
|
-
|
|
898
|
+
x();
|
|
896
899
|
return;
|
|
897
900
|
}
|
|
898
901
|
(u = a.value.files) != null && u.length && H(a.value.files), a.value.value = "";
|
|
899
902
|
}
|
|
900
|
-
function
|
|
901
|
-
|
|
902
|
-
}
|
|
903
|
-
function Ie(i) {
|
|
904
|
-
var u;
|
|
905
|
-
R.value = i.target, !s.disabled && (T.dragging = !0, (!i.dataTransfer.types.includes("Files") || ((u = i.dataTransfer.items) == null ? void 0 : u.length) > s.maxCount) && (T.error = !0));
|
|
903
|
+
function x() {
|
|
904
|
+
b.value = null, !s.disabled && (F.dragging = !1, F.error = !1);
|
|
906
905
|
}
|
|
907
906
|
function Ve(i) {
|
|
908
|
-
|
|
907
|
+
var u;
|
|
908
|
+
b.value = i.target, !s.disabled && (F.dragging = !0, (!i.dataTransfer.types.includes("Files") || ((u = i.dataTransfer.items) == null ? void 0 : u.length) > s.maxCount) && (F.error = !0));
|
|
909
909
|
}
|
|
910
910
|
function He(i) {
|
|
911
|
-
|
|
911
|
+
b.value === i.target && x();
|
|
912
|
+
}
|
|
913
|
+
function Se(i) {
|
|
914
|
+
var u, $;
|
|
912
915
|
if (!s.disabled) {
|
|
913
916
|
if (s.maxCount === 1 && ((u = i.dataTransfer.files) == null ? void 0 : u.length) > s.maxCount) {
|
|
914
|
-
|
|
917
|
+
x();
|
|
915
918
|
return;
|
|
916
919
|
}
|
|
917
|
-
(
|
|
920
|
+
($ = i.dataTransfer.files) != null && $.length && H(i.dataTransfer.files), x();
|
|
918
921
|
}
|
|
919
922
|
}
|
|
920
|
-
function
|
|
921
|
-
|
|
923
|
+
function te(i) {
|
|
924
|
+
E.value = E.value.filter(({ id: u }) => u !== i.id);
|
|
922
925
|
}
|
|
923
|
-
function
|
|
926
|
+
function Me(i) {
|
|
924
927
|
const u = i.filter(
|
|
925
|
-
({
|
|
928
|
+
({ errors: $ }) => !$.includes(w.ERROR_LOAD) && !$.includes(w.ERROR_SIZE)
|
|
926
929
|
);
|
|
927
930
|
if (u.length) {
|
|
928
|
-
const
|
|
929
|
-
return u.forEach(({ data:
|
|
931
|
+
const $ = new DataTransfer();
|
|
932
|
+
return u.forEach(({ data: _ }) => $.items.add(_)), $.files;
|
|
930
933
|
}
|
|
931
934
|
}
|
|
932
|
-
return
|
|
935
|
+
return ye(E, (i) => {
|
|
933
936
|
if (i) {
|
|
934
|
-
|
|
935
|
-
const u =
|
|
936
|
-
|
|
937
|
+
J(i), K(i);
|
|
938
|
+
const u = Me(i);
|
|
939
|
+
n("change", u), n("update:modelValue", u);
|
|
937
940
|
} else
|
|
938
|
-
|
|
941
|
+
n("change"), n("update:modelValue");
|
|
939
942
|
}), (i, u) => {
|
|
940
|
-
var
|
|
941
|
-
return
|
|
942
|
-
class:
|
|
943
|
+
var $;
|
|
944
|
+
return l(), c("div", {
|
|
945
|
+
class: T(["b-file-uploader", X.value])
|
|
943
946
|
}, [
|
|
944
|
-
|
|
947
|
+
O(r(qe), {
|
|
945
948
|
condensed: i.condensed,
|
|
946
|
-
for:
|
|
949
|
+
for: r(R),
|
|
947
950
|
label: i.label,
|
|
948
951
|
optional: i.optional,
|
|
949
952
|
required: i.required,
|
|
@@ -951,7 +954,7 @@ const Le = {
|
|
|
951
954
|
class: "b-file-uploader__label"
|
|
952
955
|
}, null, 8, ["condensed", "for", "label", "optional", "required", "tooltip-text"]),
|
|
953
956
|
d("input", {
|
|
954
|
-
id:
|
|
957
|
+
id: r(R),
|
|
955
958
|
ref_key: "input",
|
|
956
959
|
ref: a,
|
|
957
960
|
type: "file",
|
|
@@ -960,57 +963,57 @@ const Le = {
|
|
|
960
963
|
class: "b-file-uploader__input",
|
|
961
964
|
accept: i.accept,
|
|
962
965
|
disabled: i.disabled,
|
|
963
|
-
multiple:
|
|
964
|
-
onChange:
|
|
965
|
-
}, null, 40,
|
|
966
|
-
|
|
966
|
+
multiple: z.value,
|
|
967
|
+
onChange: D
|
|
968
|
+
}, null, 40, ft),
|
|
969
|
+
G.value ? m("", !0) : (l(), c("div", {
|
|
967
970
|
key: 0,
|
|
968
971
|
class: "b-file-uploader__area",
|
|
969
|
-
"aria-label":
|
|
972
|
+
"aria-label": r(o)("dropArea"),
|
|
970
973
|
tabindex: i.disabled ? -1 : 0,
|
|
971
|
-
onClick: u[0] || (u[0] = (
|
|
972
|
-
onDragenter:
|
|
973
|
-
onDragleave:
|
|
974
|
-
onDrop:
|
|
975
|
-
onDragover:
|
|
974
|
+
onClick: u[0] || (u[0] = (_) => a.value.click()),
|
|
975
|
+
onDragenter: P(Ve, ["stop", "prevent"]),
|
|
976
|
+
onDragleave: P(He, ["stop", "prevent"]),
|
|
977
|
+
onDrop: P(Se, ["stop", "prevent"]),
|
|
978
|
+
onDragover: Q,
|
|
976
979
|
onKeydownCapture: [
|
|
977
|
-
u[1] || (u[1] =
|
|
978
|
-
u[2] || (u[2] =
|
|
980
|
+
u[1] || (u[1] = re(P((_) => a.value.click(), ["prevent"]), ["enter"])),
|
|
981
|
+
u[2] || (u[2] = re(P((_) => a.value.click(), ["prevent"]), ["space"]))
|
|
979
982
|
]
|
|
980
983
|
}, [
|
|
981
|
-
d("div",
|
|
982
|
-
|
|
984
|
+
d("div", mt, [
|
|
985
|
+
Z.value ? (l(), v(r(Re), {
|
|
983
986
|
key: 0,
|
|
984
|
-
"svg-title":
|
|
985
|
-
}, null, 8, ["svg-title"])) : (
|
|
987
|
+
"svg-title": r(o)("warning")
|
|
988
|
+
}, null, 8, ["svg-title"])) : (l(), v(r(e1), {
|
|
986
989
|
key: 1,
|
|
987
|
-
"svg-title":
|
|
990
|
+
"svg-title": r(o)("upload")
|
|
988
991
|
}, null, 8, ["svg-title"]))
|
|
989
992
|
]),
|
|
990
|
-
i.condensed ?
|
|
991
|
-
|
|
993
|
+
i.condensed ? m("", !0) : (l(), c(ne, { key: 0 }, [
|
|
994
|
+
O(r(V), {
|
|
992
995
|
el: "span",
|
|
993
996
|
strongest: "",
|
|
994
997
|
class: "b-file-uploader__title"
|
|
995
998
|
}, {
|
|
996
999
|
default: g(() => [
|
|
997
|
-
|
|
1000
|
+
y(f(r(p)("dropFiles", +!z.value)), 1)
|
|
998
1001
|
]),
|
|
999
1002
|
_: 1
|
|
1000
1003
|
}),
|
|
1001
|
-
i.description ? (
|
|
1004
|
+
i.description ? (l(), v(r(V), {
|
|
1002
1005
|
key: 0,
|
|
1003
1006
|
el: "span",
|
|
1004
1007
|
class: "b-file-uploader__description"
|
|
1005
1008
|
}, {
|
|
1006
1009
|
default: g(() => [
|
|
1007
|
-
|
|
1010
|
+
y(f(i.description), 1)
|
|
1008
1011
|
]),
|
|
1009
1012
|
_: 1
|
|
1010
|
-
})) :
|
|
1011
|
-
|
|
1013
|
+
})) : m("", !0),
|
|
1014
|
+
O(r($e), le(ze(N.value)), null, 16)
|
|
1012
1015
|
], 64)),
|
|
1013
|
-
|
|
1016
|
+
O(r(W), {
|
|
1014
1017
|
disabled: i.disabled,
|
|
1015
1018
|
variant: i.condensed ? "tertiary" : "secondary",
|
|
1016
1019
|
condensed: "",
|
|
@@ -1018,57 +1021,57 @@ const Le = {
|
|
|
1018
1021
|
class: "b-file-uploader__button"
|
|
1019
1022
|
}, {
|
|
1020
1023
|
default: g(() => [
|
|
1021
|
-
|
|
1024
|
+
y(f(r(o)("browseFiles")), 1)
|
|
1022
1025
|
]),
|
|
1023
1026
|
_: 1
|
|
1024
1027
|
}, 8, ["disabled", "variant"])
|
|
1025
|
-
], 40,
|
|
1026
|
-
|
|
1028
|
+
], 40, ct)),
|
|
1029
|
+
Z.value && i.errorMessage ? (l(), v(r(Xe), {
|
|
1027
1030
|
key: 1,
|
|
1028
|
-
id:
|
|
1031
|
+
id: r(I),
|
|
1029
1032
|
"error-message": i.errorMessage,
|
|
1030
1033
|
class: "b-file-uploader__error-message"
|
|
1031
|
-
}, null, 8, ["id", "error-message"])) :
|
|
1032
|
-
i.condensed && i.description ? (
|
|
1034
|
+
}, null, 8, ["id", "error-message"])) : m("", !0),
|
|
1035
|
+
i.condensed && i.description ? (l(), v(r(V), {
|
|
1033
1036
|
key: 2,
|
|
1034
1037
|
el: "span",
|
|
1035
1038
|
class: "b-file-uploader__description b-file-uploader__description--condensed"
|
|
1036
1039
|
}, {
|
|
1037
1040
|
default: g(() => [
|
|
1038
|
-
|
|
1041
|
+
y(f(i.description), 1)
|
|
1039
1042
|
]),
|
|
1040
1043
|
_: 1
|
|
1041
|
-
})) :
|
|
1042
|
-
i.condensed ? (
|
|
1043
|
-
|
|
1044
|
+
})) : m("", !0),
|
|
1045
|
+
i.condensed ? (l(), v(r($e), le(M({ key: 3 }, N.value)), null, 16)) : m("", !0),
|
|
1046
|
+
A.value ? (l(), v(r(Ne), {
|
|
1044
1047
|
key: 4,
|
|
1045
1048
|
type: "critical",
|
|
1046
1049
|
class: "b-file-uploader__alert"
|
|
1047
1050
|
}, {
|
|
1048
1051
|
description: g(() => [
|
|
1049
|
-
|
|
1052
|
+
y(f(r(o)("youHaveExceededTheMaximum", { count: s.maxCount })), 1)
|
|
1050
1053
|
]),
|
|
1051
1054
|
default: g(() => [
|
|
1052
|
-
|
|
1055
|
+
y(f(r(o)("tooManyFiles")) + " ", 1)
|
|
1053
1056
|
]),
|
|
1054
1057
|
_: 1
|
|
1055
|
-
})) :
|
|
1056
|
-
|
|
1057
|
-
(
|
|
1058
|
-
key:
|
|
1059
|
-
file:
|
|
1060
|
-
"supported-file-types":
|
|
1061
|
-
onCancel: (
|
|
1062
|
-
onRemove: (
|
|
1058
|
+
})) : m("", !0),
|
|
1059
|
+
_e(d("div", Ct, [
|
|
1060
|
+
(l(!0), c(ne, null, Be(E.value, (_) => (l(), v(r(at), {
|
|
1061
|
+
key: _.id,
|
|
1062
|
+
file: _,
|
|
1063
|
+
"supported-file-types": r(B),
|
|
1064
|
+
onCancel: (De) => te(_),
|
|
1065
|
+
onRemove: (De) => te(_)
|
|
1063
1066
|
}, null, 8, ["file", "supported-file-types", "onCancel", "onRemove"]))), 128))
|
|
1064
1067
|
], 512), [
|
|
1065
|
-
[
|
|
1068
|
+
[Ae, ($ = E.value) == null ? void 0 : $.length]
|
|
1066
1069
|
])
|
|
1067
1070
|
], 2);
|
|
1068
1071
|
};
|
|
1069
1072
|
}
|
|
1070
|
-
}),
|
|
1073
|
+
}), Tt = /* @__PURE__ */ L(vt, [["__scopeId", "data-v-d1d1f946"]]);
|
|
1071
1074
|
export {
|
|
1072
|
-
|
|
1075
|
+
Tt as f
|
|
1073
1076
|
};
|
|
1074
|
-
//# sourceMappingURL=file-uploader.
|
|
1077
|
+
//# sourceMappingURL=file-uploader.BgRbkW2V.js.map
|