@web-utils/component 2.7.29 → 2.7.31
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/chunks/{config.7dec2bf2.js → config.75161c38.js} +29 -29
- package/dist/chunks/confirmable-mixin.851d6299.js +137 -0
- package/dist/chunks/dataformat.b8c8c01a.js +237 -0
- package/dist/chunks/detail.6135ade5.js +55 -0
- package/dist/chunks/dic.e57b75f2.js +215 -0
- package/dist/chunks/{event.fc358074.js → event.812c361c.js} +54 -23
- package/dist/chunks/{form-input-mixin.760cd65d.js → form-input-mixin.3e63b57f.js} +4 -4
- package/dist/chunks/{form-item-mixin.fa314b67.js → form-item-mixin.a56c101a.js} +44 -17
- package/dist/chunks/{form-pick-mixin.c4e0391b.js → form-pick-mixin.822300f3.js} +1 -1
- package/dist/chunks/{init.e0133910.js → init.38cbb3a2.js} +41 -21
- package/dist/chunks/{input-number-mixin.6849fa63.js → input-number-mixin.44b78389.js} +4 -4
- package/dist/chunks/{mixins.6a394a6c.js → mixins.e1939731.js} +3 -2
- package/dist/chunks/{packages.419bde01.js → packages.c4ea639d.js} +12 -6
- package/dist/chunks/{permission.07c49abf.js → permission.9c766972.js} +6 -1
- package/dist/chunks/slot.55598d0f.js +35 -0
- package/dist/chunks/{tab-mixin.9d568df9.js → tab-mixin.9d848bf6.js} +29 -11
- package/dist/chunks/util.b0d0b0ad.js +478 -0
- package/dist/chunks/{utils.d7f73f8d.js → utils.2a3ffac9.js} +89 -24
- package/dist/chunks/{utils.f44207f4.js → utils.a8891d2c.js} +9 -5
- package/dist/chunks/vueComponentNormalizer.9c6b8b3d.js +59 -0
- package/dist/components/address-input/index.js +30 -17
- package/dist/components/address-input/style.css +15 -1
- package/dist/components/affix/index.js +78 -28
- package/dist/components/affix/style.css +5 -1
- package/dist/components/aside-menu/index.js +14 -8
- package/dist/components/aside-menu/style.css +9 -1
- package/dist/components/avatar/index.js +33 -15
- package/dist/components/avatar/style.css +57 -1
- package/dist/components/awesome-button/index.js +45 -31
- package/dist/components/base.css +410 -1
- package/dist/components/capsule-tab/index.js +13 -7
- package/dist/components/capsule-tab/style.css +32 -1
- package/dist/components/card/index.js +33 -20
- package/dist/components/card/style.css +90 -1
- package/dist/components/carousel/index.js +18 -12
- package/dist/components/carousel/style.css +41 -1
- package/dist/components/chat/index.js +245 -139
- package/dist/components/chat/style.css +279 -1
- package/dist/components/chunk-file-uploader/index.js +63 -29
- package/dist/components/chunk-file-uploader/style.css +4 -1
- package/dist/components/chunk-file-uploader-button/index.js +15 -9
- package/dist/components/chunk-file-uploader-button/style.css +17 -1
- package/dist/components/chunk-file-uploader-drop/index.js +45 -27
- package/dist/components/chunk-file-uploader-drop/style.css +12 -1
- package/dist/components/chunk-file-uploader-file/index.js +150 -73
- package/dist/components/chunk-file-uploader-file/style.css +125 -1
- package/dist/components/chunk-file-uploader-files/index.js +15 -9
- package/dist/components/chunk-file-uploader-files/style.css +9 -1
- package/dist/components/chunk-file-uploader-list/index.js +16 -10
- package/dist/components/chunk-file-uploader-list/style.css +9 -1
- package/dist/components/chunk-file-uploader-un-support/index.js +18 -10
- package/dist/components/chunk-file-uploader-un-support/style.css +6 -1
- package/dist/components/code-mirror-editor/index.js +75 -47
- package/dist/components/code-mirror-editor/style.css +17 -1
- package/dist/components/color-picker/index.js +62 -39
- package/dist/components/column/index.js +54 -29
- package/dist/components/column-default/index.js +47 -33
- package/dist/components/column-dynamic/index.js +26 -19
- package/dist/components/column-menu/index.js +98 -86
- package/dist/components/column-slot/index.js +135 -75
- package/dist/components/comment/index.js +28 -15
- package/dist/components/comment/style.css +92 -1
- package/dist/components/confirm-button/index.js +7 -5
- package/dist/components/confirmable/index.js +5 -4
- package/dist/components/context-menu/index.js +54 -32
- package/dist/components/context-menu/style.css +88 -1
- package/dist/components/count-up/index.js +55 -38
- package/dist/components/custom-scrollbar/index.js +45 -21
- package/dist/components/data-box/index.js +22 -16
- package/dist/components/data-box/style.css +58 -1
- package/dist/components/data-card/index.js +21 -15
- package/dist/components/data-card/style.css +46 -1
- package/dist/components/data-cardtext/index.js +19 -13
- package/dist/components/data-cardtext/style.css +36 -1
- package/dist/components/data-display/index.js +22 -16
- package/dist/components/data-display/style.css +37 -1
- package/dist/components/data-icons/index.js +23 -17
- package/dist/components/data-icons/style.css +53 -1
- package/dist/components/data-imgtext/index.js +26 -20
- package/dist/components/data-imgtext/style.css +70 -1
- package/dist/components/data-operatext/index.js +20 -14
- package/dist/components/data-operatext/style.css +81 -1
- package/dist/components/data-panel/index.js +21 -15
- package/dist/components/data-panel/style.css +37 -1
- package/dist/components/data-pay/index.js +29 -23
- package/dist/components/data-pay/style.css +102 -1
- package/dist/components/data-price/index.js +19 -13
- package/dist/components/data-price/style.css +81 -1
- package/dist/components/data-progress/index.js +26 -20
- package/dist/components/data-progress/style.css +30 -1
- package/dist/components/data-rotate/index.js +21 -15
- package/dist/components/data-rotate/style.css +50 -1
- package/dist/components/data-table-picker/index.js +47 -28
- package/dist/components/data-tabs/index.js +22 -16
- package/dist/components/data-tabs/style.css +70 -1
- package/dist/components/dialog-column/index.js +46 -33
- package/dist/components/dialog-excel/index.js +102 -53
- package/dist/components/dialog-filter/index.js +64 -51
- package/dist/components/dialog-form/index.js +56 -115
- package/dist/components/dialog-form/style.css +10 -1
- package/dist/components/dynamic-table/index.js +66 -42
- package/dist/components/dynamic-table/style.css +30 -1
- package/dist/components/e-charts/index.js +127 -46
- package/dist/components/e-charts/style.css +10 -1
- package/dist/components/easy-popup/index.js +32 -14
- package/dist/components/easy-popup/style.css +18 -1
- package/dist/components/editable-progress/index.js +64 -31
- package/dist/components/editable-progress/style.css +37 -1
- package/dist/components/editable-tree/index.js +513 -287
- package/dist/components/editable-tree/style.css +82 -1
- package/dist/components/egd-collapse/index.js +25 -12
- package/dist/components/egd-collapse-item/index.js +41 -25
- package/dist/components/element-dialog/index.js +101 -48
- package/dist/components/element-dialog/style.css +88 -1
- package/dist/components/empty-view/index.js +13 -7
- package/dist/components/empty-view/style.css +17 -1
- package/dist/components/error-view/index.js +12 -6
- package/dist/components/error-view/style.css +17 -1
- package/dist/components/flex-column/index.js +39 -17
- package/dist/components/flex-item/index.js +59 -24
- package/dist/components/flex-row/index.js +39 -17
- package/dist/components/flex-scroller/index.js +13 -7
- package/dist/components/flex-scroller/style.css +20 -1
- package/dist/components/flow/index.js +116 -64
- package/dist/components/flow/style.css +44 -1
- package/dist/components/flow-node/index.js +29 -21
- package/dist/components/flow-viewer/index.js +97 -52
- package/dist/components/flow-viewer/style.css +19 -1
- package/dist/components/form-button/index.js +12 -8
- package/dist/components/form-cascader/index.js +55 -40
- package/dist/components/form-checkbox-group/index.js +90 -60
- package/dist/components/form-checkbox-group/style.css +51 -1
- package/dist/components/form-date-picker/index.js +113 -44
- package/dist/components/form-group/index.js +23 -17
- package/dist/components/form-group/style.css +76 -1
- package/dist/components/form-holder/index.js +41 -30
- package/dist/components/form-input/index.js +42 -31
- package/dist/components/form-input-email/index.js +47 -30
- package/dist/components/form-input-id-card/index.js +40 -29
- package/dist/components/form-input-number/index.js +50 -38
- package/dist/components/form-input-number/style.css +12 -1
- package/dist/components/form-input-phone-number/index.js +40 -29
- package/dist/components/form-input-time/index.js +40 -29
- package/dist/components/form-item/index.js +99 -47
- package/dist/components/form-item/style.css +11 -1
- package/dist/components/form-item-config-provider/index.js +9 -8
- package/dist/components/form-item-group/index.js +69 -43
- package/dist/components/form-item-group/style.css +30 -1
- package/dist/components/form-radio-group/index.js +77 -53
- package/dist/components/form-radio-group/style.css +53 -1
- package/dist/components/form-select/index.js +71 -51
- package/dist/components/form-switch/index.js +41 -30
- package/dist/components/form-temp/index.js +49 -29
- package/dist/components/form-textarea/index.js +45 -34
- package/dist/components/form-view/index.js +152 -81
- package/dist/components/form-view/style.css +158 -1
- package/dist/components/fy-array/index.js +51 -43
- package/dist/components/fy-array/style.css +18 -1
- package/dist/components/fy-article/index.js +24 -13
- package/dist/components/fy-article/style.css +40 -1
- package/dist/components/fy-cascader/index.js +39 -29
- package/dist/components/fy-checkbox/index.js +38 -27
- package/dist/components/fy-checkbox/style.css +15 -1
- package/dist/components/fy-code/index.js +19 -12
- package/dist/components/fy-curd/index.js +290 -152
- package/dist/components/fy-curd/style.css +239 -1
- package/dist/components/fy-date/index.js +24 -18
- package/dist/components/fy-date/style.css +21 -1
- package/dist/components/fy-dialog-form/index.js +127 -54
- package/dist/components/fy-draggable/index.js +196 -73
- package/dist/components/fy-draggable/style.css +136 -1
- package/dist/components/fy-dynamic/index.js +116 -73
- package/dist/components/fy-dynamic/style.css +35 -1
- package/dist/components/fy-empty/index.js +15 -9
- package/dist/components/fy-empty/style.css +24 -1
- package/dist/components/fy-form/index.js +399 -221
- package/dist/components/fy-form/style.css +79 -1
- package/dist/components/fy-form-design/index.js +2267 -1630
- package/dist/components/fy-form-design/style.css +578 -1
- package/dist/components/fy-form-menu/index.js +43 -35
- package/dist/components/fy-input/index.js +46 -35
- package/dist/components/fy-input-color/index.js +40 -33
- package/dist/components/fy-input-icon/index.js +58 -37
- package/dist/components/fy-input-icon/style.css +39 -1
- package/dist/components/fy-input-map/index.js +113 -68
- package/dist/components/fy-input-map/style.css +50 -1
- package/dist/components/fy-input-number/index.js +29 -24
- package/dist/components/fy-input-table/index.js +82 -48
- package/dist/components/fy-input-table/style.css +10 -1
- package/dist/components/fy-input-tree/index.js +104 -60
- package/dist/components/fy-input-tree/style.css +25 -1
- package/dist/components/fy-progress/index.js +15 -10
- package/dist/components/fy-radio/index.js +20 -14
- package/dist/components/fy-radio/style.css +12 -1
- package/dist/components/fy-rate/index.js +21 -15
- package/dist/components/fy-rate/style.css +9 -1
- package/dist/components/fy-select/index.js +73 -55
- package/dist/components/fy-select/style.css +25 -1
- package/dist/components/fy-slider/index.js +22 -17
- package/dist/components/fy-switch/index.js +17 -12
- package/dist/components/fy-tabs/index.js +20 -12
- package/dist/components/fy-tabs/style.css +6 -0
- package/dist/components/fy-time/index.js +29 -18
- package/dist/components/fy-title/index.js +16 -8
- package/dist/components/fy-title/style.css +11 -1
- package/dist/components/fy-tree/index.js +135 -72
- package/dist/components/fy-tree/style.css +46 -1
- package/dist/components/fy-u-editor/index.js +172 -67
- package/dist/components/fy-u-editor/style.css +15 -1
- package/dist/components/fy-upload/index.js +317 -148
- package/dist/components/fy-upload/style.css +60 -1
- package/dist/components/guide-steps/index.js +31 -17
- package/dist/components/guide-steps/style.css +34 -1
- package/dist/components/header-menu/index.js +86 -66
- package/dist/components/header-search/index.js +92 -60
- package/dist/components/highlight-j-s/index.js +28 -15
- package/dist/components/highlight-j-s/style.css +21 -1
- package/dist/components/icon-card/index.js +13 -7
- package/dist/components/icon-card/style.css +56 -1
- package/dist/components/icon-temp/index.js +12 -6
- package/dist/components/icon-temp/style.css +21 -1
- package/dist/components/iframe-window/index.js +20 -14
- package/dist/components/iframe-window/style.css +20 -1
- package/dist/components/image-cropper/index.js +71 -162
- package/dist/components/image-cropper/style.css +34 -1
- package/dist/components/image-preview/index.js +78 -170
- package/dist/components/image-preview/style.css +72 -1
- package/dist/components/image-viewer/index.js +40 -22
- package/dist/components/image-viewer/style.css +21 -1
- package/dist/components/input-number/index.js +122 -56
- package/dist/components/input-number/style.css +15 -1
- package/dist/components/input-number-range/index.js +32 -20
- package/dist/components/input-number-range/style.css +12 -1
- package/dist/components/keep-view-alive/index.js +68 -21
- package/dist/components/keyboard/index.js +217 -132
- package/dist/components/keyboard/style.css +547 -1
- package/dist/components/license/index.js +81 -35
- package/dist/components/loading-view/index.js +12 -6
- package/dist/components/loading-view/style.css +17 -1
- package/dist/components/login/index.js +91 -62
- package/dist/components/login/style.css +25 -1
- package/dist/components/name-avatar/index.js +32 -10
- package/dist/components/name-avatar/style.css +35 -1
- package/dist/components/nav-bar/index.js +21 -11
- package/dist/components/nav-bar/style.css +17 -1
- package/dist/components/not-implement/index.js +16 -8
- package/dist/components/not-implement/style.css +15 -1
- package/dist/components/notice/index.js +40 -27
- package/dist/components/notice/style.css +54 -1
- package/dist/components/page/index.js +13 -7
- package/dist/components/page/style.css +12 -1
- package/dist/components/page-header/index.js +15 -9
- package/dist/components/page-header/style.css +14 -1
- package/dist/components/page-index/index.js +62 -37
- package/dist/components/page-index/style.css +23 -1
- package/dist/components/page-index-top/index.js +53 -34
- package/dist/components/page-skeleton/index.js +15 -9
- package/dist/components/page-skeleton/style.css +23 -1
- package/dist/components/page-skeleton-new/index.js +15 -9
- package/dist/components/page-skeleton-new/style.css +42 -1
- package/dist/components/pageable-table/index.js +187 -106
- package/dist/components/pageable-table/style.css +72 -1
- package/dist/components/pageable-view/index.js +164 -80
- package/dist/components/pageable-view/style.css +69 -1
- package/dist/components/photo-swipe/index.js +92 -46
- package/dist/components/process-designer/index.js +961 -772
- package/dist/components/process-designer/style.css +1186 -1
- package/dist/components/properties-panel/index.js +1488 -1044
- package/dist/components/properties-panel/style.css +122 -1
- package/dist/components/queue/index.js +24 -12
- package/dist/components/record-video/index.js +53 -27
- package/dist/components/record-video/style.css +53 -1
- package/dist/components/resize-observer/index.js +52 -18
- package/dist/components/resize-observer/style.css +31 -1
- package/dist/components/search/index.js +41 -22
- package/dist/components/search/style.css +57 -1
- package/dist/components/search-popover/index.js +153 -91
- package/dist/components/search-popover/style.css +93 -1
- package/dist/components/sign/index.js +138 -35
- package/dist/components/sign/style.css +12 -1
- package/dist/components/sign-panel/index.js +96 -46
- package/dist/components/sign-panel/style.css +97 -1
- package/dist/components/skeleton/index.js +22 -12
- package/dist/components/skeleton/style.css +61 -1
- package/dist/components/split-pane/index.js +125 -60
- package/dist/components/split-pane/style.css +100 -1
- package/dist/components/stateful/index.js +8 -5
- package/dist/components/stateful/style.css +33 -1
- package/dist/components/static-pageable-table/index.js +22 -15
- package/dist/components/static-pageable-table/style.css +9 -1
- package/dist/components/swiper/index.js +127 -58
- package/dist/components/swiper/style.css +43 -1
- package/dist/components/tab/index.js +34 -16
- package/dist/components/tab/style.css +122 -1
- package/dist/components/tab-item/index.js +14 -9
- package/dist/components/table-column/index.js +26 -17
- package/dist/components/table-page/index.js +42 -23
- package/dist/components/table-view/index.js +162 -87
- package/dist/components/table-view/style.css +95 -1
- package/dist/components/tag-render/index.js +41 -22
- package/dist/components/tag-render/style.css +33 -1
- package/dist/components/text-ellipsis/index.js +48 -26
- package/dist/components/text-ellipsis/style.css +9 -1
- package/dist/components/tinymce-editor/index.js +80 -60
- package/dist/components/tinymce-editor/style.css +43 -1
- package/dist/components/tinymce-wrapper/index.js +77 -41
- package/dist/components/tinymce-wrapper/style.css +36 -1
- package/dist/components/toolbar/index.js +46 -25
- package/dist/components/toolbar/style.css +39 -1
- package/dist/components/toolbar-button/index.js +46 -35
- package/dist/components/toolbar-button/style.css +21 -1
- package/dist/components/trigger/index.js +15 -8
- package/dist/components/verify/index.js +15 -8
- package/dist/components/verify/style.css +15 -1
- package/dist/components/vue-tags-input/index.js +233 -113
- package/dist/components/vue-tags-input/style.css +688 -1
- package/dist/components/watermark/index.js +33 -14
- package/dist/components/watermark/style.css +11 -1
- package/dist/index.css +2434 -1750
- package/dist/index.es.js +15982 -9409
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/dist/chunks/confirmable-mixin.35bd1934.js +0 -104
- package/dist/chunks/dataformat.9cc4428a.js +0 -158
- package/dist/chunks/detail.544c52b0.js +0 -29
- package/dist/chunks/dic.9de2fe5a.js +0 -135
- package/dist/chunks/slot.a7387ecc.js +0 -27
- package/dist/chunks/util.89913643.js +0 -261
- package/dist/chunks/vueComponentNormalizer.77ec6792.js +0 -32
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import Uploader from "simple-uploader.js";
|
|
2
|
-
import { s as secondsToStr } from "../../chunks/utils.
|
|
3
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
2
|
+
import { s as secondsToStr } from "../../chunks/utils.a8891d2c.js";
|
|
3
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
4
4
|
const events = ["fileProgress", "fileSuccess", "fileComplete", "fileError"];
|
|
5
5
|
var render = function() {
|
|
6
|
-
var _vm = this
|
|
6
|
+
var _vm = this;
|
|
7
|
+
var _h = _vm.$createElement;
|
|
8
|
+
var _c = _vm._self._c || _h;
|
|
7
9
|
return _c("div", {
|
|
8
10
|
staticClass: "chunk-file-uploader-file",
|
|
9
11
|
attrs: {
|
|
10
|
-
status: _vm.status
|
|
12
|
+
"status": _vm.status
|
|
11
13
|
}
|
|
12
14
|
}, [_vm._t("default", function() {
|
|
13
15
|
return [_c("div", {
|
|
@@ -15,12 +17,12 @@ var render = function() {
|
|
|
15
17
|
}, [_c("div", {
|
|
16
18
|
staticClass: "chunk-file-uploader-file-name",
|
|
17
19
|
attrs: {
|
|
18
|
-
title: _vm.file.name
|
|
20
|
+
"title": _vm.file.name
|
|
19
21
|
}
|
|
20
22
|
}, [_c("i", {
|
|
21
23
|
staticClass: "chunk-file-uploader-file-icon",
|
|
22
24
|
attrs: {
|
|
23
|
-
icon: _vm.fileCategory
|
|
25
|
+
"icon": _vm.fileCategory
|
|
24
26
|
}
|
|
25
27
|
}), _vm._v(_vm._s(_vm.file.name) + " ")]), _c("div", {
|
|
26
28
|
staticClass: "chunk-file-uploader-file-size"
|
|
@@ -55,49 +57,51 @@ var render = function() {
|
|
|
55
57
|
}, [_c("span", {
|
|
56
58
|
staticClass: "chunk-file-uploader-file-pause",
|
|
57
59
|
on: {
|
|
58
|
-
click: _vm.pause
|
|
60
|
+
"click": _vm.pause
|
|
59
61
|
}
|
|
60
62
|
}), _c("span", {
|
|
61
63
|
staticClass: "chunk-file-uploader-file-resume",
|
|
62
64
|
on: {
|
|
63
|
-
click: _vm.resume
|
|
65
|
+
"click": _vm.resume
|
|
64
66
|
}
|
|
65
67
|
}, [_vm._v("️")]), _c("span", {
|
|
66
68
|
staticClass: "chunk-file-uploader-file-retry",
|
|
67
69
|
on: {
|
|
68
|
-
click: _vm.retry
|
|
70
|
+
"click": _vm.retry
|
|
69
71
|
}
|
|
70
72
|
}), _c("span", {
|
|
71
73
|
staticClass: "chunk-file-uploader-file-remove",
|
|
72
74
|
on: {
|
|
73
|
-
click: _vm.remove
|
|
75
|
+
"click": _vm.remove
|
|
74
76
|
}
|
|
75
77
|
})])])];
|
|
76
78
|
}, {
|
|
77
|
-
file: _vm.file,
|
|
78
|
-
list: _vm.list,
|
|
79
|
-
status: _vm.status,
|
|
80
|
-
paused: _vm.paused,
|
|
81
|
-
error: _vm.error,
|
|
82
|
-
response: _vm.response,
|
|
83
|
-
averageSpeed: _vm.averageSpeed,
|
|
84
|
-
formatedAverageSpeed: _vm.formatedAverageSpeed,
|
|
85
|
-
currentSpeed: _vm.currentSpeed,
|
|
86
|
-
isComplete: _vm.isComplete,
|
|
87
|
-
isUploading: _vm.isUploading,
|
|
88
|
-
size: _vm.size,
|
|
89
|
-
formatedSize: _vm.formatedSize,
|
|
90
|
-
uploadedSize: _vm.uploadedSize,
|
|
91
|
-
progress: _vm.progress,
|
|
92
|
-
progressStyle: _vm.progressStyle,
|
|
93
|
-
progressingClass: _vm.progressingClass,
|
|
94
|
-
timeRemaining: _vm.timeRemaining,
|
|
95
|
-
formatedTimeRemaining: _vm.formatedTimeRemaining,
|
|
96
|
-
type: _vm.type,
|
|
97
|
-
extension: _vm.extension,
|
|
98
|
-
fileCategory: _vm.fileCategory
|
|
79
|
+
"file": _vm.file,
|
|
80
|
+
"list": _vm.list,
|
|
81
|
+
"status": _vm.status,
|
|
82
|
+
"paused": _vm.paused,
|
|
83
|
+
"error": _vm.error,
|
|
84
|
+
"response": _vm.response,
|
|
85
|
+
"averageSpeed": _vm.averageSpeed,
|
|
86
|
+
"formatedAverageSpeed": _vm.formatedAverageSpeed,
|
|
87
|
+
"currentSpeed": _vm.currentSpeed,
|
|
88
|
+
"isComplete": _vm.isComplete,
|
|
89
|
+
"isUploading": _vm.isUploading,
|
|
90
|
+
"size": _vm.size,
|
|
91
|
+
"formatedSize": _vm.formatedSize,
|
|
92
|
+
"uploadedSize": _vm.uploadedSize,
|
|
93
|
+
"progress": _vm.progress,
|
|
94
|
+
"progressStyle": _vm.progressStyle,
|
|
95
|
+
"progressingClass": _vm.progressingClass,
|
|
96
|
+
"timeRemaining": _vm.timeRemaining,
|
|
97
|
+
"formatedTimeRemaining": _vm.formatedTimeRemaining,
|
|
98
|
+
"type": _vm.type,
|
|
99
|
+
"extension": _vm.extension,
|
|
100
|
+
"fileCategory": _vm.fileCategory
|
|
99
101
|
})], 2);
|
|
100
|
-
}
|
|
102
|
+
};
|
|
103
|
+
var staticRenderFns = [];
|
|
104
|
+
const ChunkFileUploaderFile_vue_vue_type_style_index_0_lang = "";
|
|
101
105
|
const __vue2_script = {
|
|
102
106
|
name: "ChunkFileUploaderFile",
|
|
103
107
|
props: {
|
|
@@ -109,18 +113,18 @@ const __vue2_script = {
|
|
|
109
113
|
},
|
|
110
114
|
list: {
|
|
111
115
|
type: Boolean,
|
|
112
|
-
default:
|
|
116
|
+
default: false
|
|
113
117
|
}
|
|
114
118
|
},
|
|
115
119
|
data() {
|
|
116
120
|
return {
|
|
117
121
|
response: null,
|
|
118
|
-
paused:
|
|
119
|
-
error:
|
|
122
|
+
paused: false,
|
|
123
|
+
error: false,
|
|
120
124
|
averageSpeed: 0,
|
|
121
125
|
currentSpeed: 0,
|
|
122
|
-
isComplete:
|
|
123
|
-
isUploading:
|
|
126
|
+
isComplete: false,
|
|
127
|
+
isUploading: false,
|
|
124
128
|
size: 0,
|
|
125
129
|
formatedSize: "",
|
|
126
130
|
uploadedSize: 0,
|
|
@@ -134,8 +138,10 @@ const __vue2_script = {
|
|
|
134
138
|
computed: {
|
|
135
139
|
fileCategory() {
|
|
136
140
|
const extension = this.extension;
|
|
137
|
-
|
|
138
|
-
|
|
141
|
+
const isFolder = this.file.isFolder;
|
|
142
|
+
let type = isFolder ? "folder" : "unknown";
|
|
143
|
+
const categoryMap = this.file.uploader.opts.categoryMap;
|
|
144
|
+
const typeMap = categoryMap || {
|
|
139
145
|
image: ["gif", "jpg", "jpeg", "png", "bmp", "webp"],
|
|
140
146
|
video: ["mp4", "m3u8", "rmvb", "avi", "swf", "3gp", "mkv", "flv"],
|
|
141
147
|
audio: ["mp3", "wav", "wma", "ogg", "aac", "flac"],
|
|
@@ -155,12 +161,17 @@ const __vue2_script = {
|
|
|
155
161
|
"pptx"
|
|
156
162
|
]
|
|
157
163
|
};
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
164
|
+
Object.keys(typeMap).forEach((_type) => {
|
|
165
|
+
const extensions = typeMap[_type];
|
|
166
|
+
if (extensions.indexOf(extension) > -1) {
|
|
167
|
+
type = _type;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
return type;
|
|
161
171
|
},
|
|
162
172
|
progressStyle() {
|
|
163
|
-
const progress = Math.floor(this.progress * 100)
|
|
173
|
+
const progress = Math.floor(this.progress * 100);
|
|
174
|
+
const style = `translateX(${Math.floor(progress - 100)}%)`;
|
|
164
175
|
return {
|
|
165
176
|
progress: `${progress}%`,
|
|
166
177
|
webkitTransform: style,
|
|
@@ -173,32 +184,62 @@ const __vue2_script = {
|
|
|
173
184
|
return `${Uploader.utils.formatSize(this.averageSpeed)} / s`;
|
|
174
185
|
},
|
|
175
186
|
status() {
|
|
176
|
-
const { isUploading, isComplete, isError, paused } = this
|
|
177
|
-
|
|
187
|
+
const { isUploading, isComplete, isError, paused } = this;
|
|
188
|
+
const { md5Computing } = this.file;
|
|
189
|
+
if (md5Computing) {
|
|
190
|
+
return "md5";
|
|
191
|
+
} else if (isComplete) {
|
|
192
|
+
return "success";
|
|
193
|
+
} else if (isError) {
|
|
194
|
+
return "error";
|
|
195
|
+
} else if (isUploading) {
|
|
196
|
+
return "uploading";
|
|
197
|
+
} else if (paused) {
|
|
198
|
+
return "paused";
|
|
199
|
+
} else {
|
|
200
|
+
return "waiting";
|
|
201
|
+
}
|
|
178
202
|
},
|
|
179
203
|
statusText() {
|
|
180
|
-
const status = this.status
|
|
204
|
+
const status = this.status;
|
|
205
|
+
const fileStatusText = this.file.uploader.fileStatusText;
|
|
181
206
|
let txt = status;
|
|
182
|
-
|
|
207
|
+
if (typeof fileStatusText === "function") {
|
|
208
|
+
txt = fileStatusText(status, this.response);
|
|
209
|
+
} else {
|
|
210
|
+
txt = fileStatusText[status];
|
|
211
|
+
}
|
|
212
|
+
return txt || "";
|
|
183
213
|
},
|
|
184
214
|
formatedTimeRemaining() {
|
|
185
|
-
const timeRemaining = this.timeRemaining
|
|
186
|
-
|
|
215
|
+
const timeRemaining = this.timeRemaining;
|
|
216
|
+
const file = this.file;
|
|
217
|
+
if (timeRemaining === Number.POSITIVE_INFINITY || timeRemaining === 0) {
|
|
187
218
|
return "";
|
|
219
|
+
}
|
|
188
220
|
let parsedTimeRemaining = secondsToStr(timeRemaining);
|
|
189
221
|
const parseTimeRemaining = file.uploader.opts.parseTimeRemaining;
|
|
190
|
-
|
|
222
|
+
if (parseTimeRemaining) {
|
|
223
|
+
parsedTimeRemaining = parseTimeRemaining(timeRemaining, parsedTimeRemaining);
|
|
224
|
+
}
|
|
225
|
+
return parsedTimeRemaining;
|
|
191
226
|
}
|
|
192
227
|
},
|
|
193
228
|
watch: {
|
|
194
229
|
status(newStatus, oldStatus) {
|
|
195
|
-
oldStatus && newStatus === "uploading" && oldStatus !== "uploading"
|
|
196
|
-
this.
|
|
197
|
-
|
|
230
|
+
if (oldStatus && newStatus === "uploading" && oldStatus !== "uploading") {
|
|
231
|
+
this.tid = setTimeout(() => {
|
|
232
|
+
this.progressingClass = "uploader-file-progressing";
|
|
233
|
+
}, 200);
|
|
234
|
+
} else {
|
|
235
|
+
clearTimeout(this.tid);
|
|
236
|
+
this.progressingClass = "";
|
|
237
|
+
}
|
|
198
238
|
}
|
|
199
239
|
},
|
|
200
240
|
mounted() {
|
|
201
|
-
const staticProps = ["paused", "error", "averageSpeed", "currentSpeed"]
|
|
241
|
+
const staticProps = ["paused", "error", "averageSpeed", "currentSpeed"];
|
|
242
|
+
const fnProps = [
|
|
202
243
|
"isComplete",
|
|
203
244
|
"isUploading",
|
|
204
245
|
{
|
|
@@ -226,12 +267,21 @@ const __vue2_script = {
|
|
|
226
267
|
];
|
|
227
268
|
staticProps.forEach((prop) => {
|
|
228
269
|
this[prop] = this.file[prop];
|
|
229
|
-
}), fnProps.forEach((fnProp) => {
|
|
230
|
-
typeof fnProp == "string" ? this[fnProp] = this.file[fnProp]() : this[fnProp.key] = this.file[fnProp.fn]();
|
|
231
270
|
});
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
271
|
+
fnProps.forEach((fnProp) => {
|
|
272
|
+
if (typeof fnProp === "string") {
|
|
273
|
+
this[fnProp] = this.file[fnProp]();
|
|
274
|
+
} else {
|
|
275
|
+
this[fnProp.key] = this.file[fnProp.fn]();
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
const handlers = this._handlers = {};
|
|
279
|
+
const eventHandler = (event) => {
|
|
280
|
+
handlers[event] = (...args) => {
|
|
281
|
+
this.fileEventsHandler(event, args);
|
|
282
|
+
};
|
|
283
|
+
return handlers[event];
|
|
284
|
+
};
|
|
235
285
|
events.forEach((event) => {
|
|
236
286
|
this.file.uploader.on(event, eventHandler(event));
|
|
237
287
|
});
|
|
@@ -239,23 +289,31 @@ const __vue2_script = {
|
|
|
239
289
|
destroyed() {
|
|
240
290
|
events.forEach((event) => {
|
|
241
291
|
this.file.uploader.off(event, this._handlers[event]);
|
|
242
|
-
})
|
|
292
|
+
});
|
|
293
|
+
this._handlers = null;
|
|
243
294
|
},
|
|
244
295
|
methods: {
|
|
245
296
|
_actionCheck() {
|
|
246
|
-
this.paused = this.file.paused
|
|
297
|
+
this.paused = this.file.paused;
|
|
298
|
+
this.error = this.file.error;
|
|
299
|
+
this.isUploading = this.file.isUploading();
|
|
247
300
|
},
|
|
248
301
|
pause() {
|
|
249
|
-
this.file.pause()
|
|
302
|
+
this.file.pause();
|
|
303
|
+
this._actionCheck();
|
|
304
|
+
this._fileProgress();
|
|
250
305
|
},
|
|
251
306
|
resume() {
|
|
252
|
-
this.file.resume()
|
|
307
|
+
this.file.resume();
|
|
308
|
+
this._actionCheck();
|
|
253
309
|
},
|
|
254
310
|
remove() {
|
|
255
|
-
this.$set(this.file, "canceled",
|
|
311
|
+
this.$set(this.file, "canceled", true);
|
|
312
|
+
this.file.cancel();
|
|
256
313
|
},
|
|
257
314
|
retry() {
|
|
258
|
-
this.file.retry()
|
|
315
|
+
this.file.retry();
|
|
316
|
+
this._actionCheck();
|
|
259
317
|
},
|
|
260
318
|
processResponse(message) {
|
|
261
319
|
let res = message;
|
|
@@ -266,7 +324,9 @@ const __vue2_script = {
|
|
|
266
324
|
this.response = res;
|
|
267
325
|
},
|
|
268
326
|
fileEventsHandler(event, args) {
|
|
269
|
-
const rootFile = args[0]
|
|
327
|
+
const rootFile = args[0];
|
|
328
|
+
const file = args[1];
|
|
329
|
+
const target = this.list ? rootFile : file;
|
|
270
330
|
if (this.file === target) {
|
|
271
331
|
if (this.list && event === "fileSuccess") {
|
|
272
332
|
this.processResponse(args[2]);
|
|
@@ -276,32 +336,49 @@ const __vue2_script = {
|
|
|
276
336
|
}
|
|
277
337
|
},
|
|
278
338
|
_fileProgress() {
|
|
279
|
-
this.progress = this.file.progress()
|
|
339
|
+
this.progress = this.file.progress();
|
|
340
|
+
this.averageSpeed = this.file.averageSpeed;
|
|
341
|
+
this.currentSpeed = this.file.currentSpeed;
|
|
342
|
+
this.timeRemaining = this.file.timeRemaining();
|
|
343
|
+
this.uploadedSize = this.file.sizeUploaded();
|
|
344
|
+
this._actionCheck();
|
|
280
345
|
},
|
|
281
346
|
_fileSuccess(rootFile, file, message) {
|
|
282
|
-
|
|
347
|
+
if (rootFile) {
|
|
348
|
+
this.processResponse(message);
|
|
349
|
+
}
|
|
350
|
+
this._fileProgress();
|
|
351
|
+
this.error = false;
|
|
352
|
+
this.isComplete = true;
|
|
353
|
+
this.isUploading = false;
|
|
283
354
|
},
|
|
284
355
|
_fileComplete() {
|
|
285
356
|
this._fileSuccess();
|
|
286
357
|
},
|
|
287
358
|
_fileError(rootFile, file, message) {
|
|
288
|
-
this._fileProgress()
|
|
359
|
+
this._fileProgress();
|
|
360
|
+
this.processResponse(message);
|
|
361
|
+
this.error = true;
|
|
362
|
+
this.isComplete = false;
|
|
363
|
+
this.isUploading = false;
|
|
289
364
|
}
|
|
290
365
|
}
|
|
291
|
-
}
|
|
366
|
+
};
|
|
367
|
+
const __cssModules = {};
|
|
292
368
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
293
369
|
__vue2_script,
|
|
294
370
|
render,
|
|
295
371
|
staticRenderFns,
|
|
296
|
-
|
|
372
|
+
false,
|
|
297
373
|
__vue2_injectStyles,
|
|
298
374
|
null,
|
|
299
375
|
null,
|
|
300
376
|
null
|
|
301
377
|
);
|
|
302
378
|
function __vue2_injectStyles(context) {
|
|
303
|
-
for (let o in __cssModules)
|
|
379
|
+
for (let o in __cssModules) {
|
|
304
380
|
this[o] = __cssModules[o];
|
|
381
|
+
}
|
|
305
382
|
}
|
|
306
383
|
const ChunkFileUploaderFile = /* @__PURE__ */ function() {
|
|
307
384
|
return __component__.exports;
|
|
@@ -1 +1,125 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.chunk-file-uploader-file {
|
|
8
|
+
position: relative;
|
|
9
|
+
height: 49px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
line-height: 49px;
|
|
12
|
+
border-bottom: 1px solid #cdcdcd;
|
|
13
|
+
}
|
|
14
|
+
.chunk-file-uploader-file[status=waiting] .chunk-file-uploader-file-pause, .chunk-file-uploader-file[status=uploading] .chunk-file-uploader-file-pause {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
.chunk-file-uploader-file[status=paused] .chunk-file-uploader-file-resume {
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
.chunk-file-uploader-file[status=error] .chunk-file-uploader-file-retry {
|
|
21
|
+
display: block;
|
|
22
|
+
}
|
|
23
|
+
.chunk-file-uploader-file[status=success] .chunk-file-uploader-file-remove {
|
|
24
|
+
display: none;
|
|
25
|
+
}
|
|
26
|
+
.chunk-file-uploader-file[status=error] .chunk-file-uploader-file-progress {
|
|
27
|
+
background: #ffe0e0;
|
|
28
|
+
}
|
|
29
|
+
.chunk-file-uploader-file-progress {
|
|
30
|
+
position: absolute;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100%;
|
|
33
|
+
background: #e2eeff;
|
|
34
|
+
transform: translateX(-100%);
|
|
35
|
+
}
|
|
36
|
+
.chunk-file-uploader-file-progressing {
|
|
37
|
+
transition: all 0.4s linear;
|
|
38
|
+
}
|
|
39
|
+
.chunk-file-uploader-file-info {
|
|
40
|
+
position: relative;
|
|
41
|
+
z-index: 1;
|
|
42
|
+
height: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: row;
|
|
46
|
+
}
|
|
47
|
+
.chunk-file-uploader-file-info:hover {
|
|
48
|
+
background-color: rgba(240, 240, 240, 0.2);
|
|
49
|
+
}
|
|
50
|
+
.chunk-file-uploader-file-info i, .chunk-file-uploader-file-info em {
|
|
51
|
+
font-style: normal;
|
|
52
|
+
}
|
|
53
|
+
.chunk-file-uploader-file-name, .chunk-file-uploader-file-size, .chunk-file-uploader-file-meta, .chunk-file-uploader-file-status, .chunk-file-uploader-file-actions {
|
|
54
|
+
position: relative;
|
|
55
|
+
height: 100%;
|
|
56
|
+
padding: 0 10px;
|
|
57
|
+
}
|
|
58
|
+
.chunk-file-uploader-file-size, .chunk-file-uploader-file-meta, .chunk-file-uploader-file-status, .chunk-file-uploader-file-actions {
|
|
59
|
+
flex-shrink: 0;
|
|
60
|
+
}
|
|
61
|
+
.chunk-file-uploader-file-name {
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
white-space: nowrap;
|
|
64
|
+
text-indent: 14px;
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
flex: 1 1 auto;
|
|
67
|
+
}
|
|
68
|
+
.chunk-file-uploader-file-icon {
|
|
69
|
+
display: inline-block;
|
|
70
|
+
width: 24px;
|
|
71
|
+
height: 24px;
|
|
72
|
+
margin-top: 13px;
|
|
73
|
+
margin-right: 8px;
|
|
74
|
+
vertical-align: top;
|
|
75
|
+
}
|
|
76
|
+
.chunk-file-uploader-file-icon::before {
|
|
77
|
+
display: block;
|
|
78
|
+
height: 100%;
|
|
79
|
+
color: #808080;
|
|
80
|
+
font-size: 24px;
|
|
81
|
+
line-height: 1;
|
|
82
|
+
text-indent: 0;
|
|
83
|
+
content: "📃";
|
|
84
|
+
}
|
|
85
|
+
.chunk-file-uploader-file-icon[icon=folder]::before {
|
|
86
|
+
content: "📂";
|
|
87
|
+
}
|
|
88
|
+
.chunk-file-uploader-file-icon[icon=image]::before {
|
|
89
|
+
content: "📊";
|
|
90
|
+
}
|
|
91
|
+
.chunk-file-uploader-file-icon[icon=video]::before {
|
|
92
|
+
content: "📹";
|
|
93
|
+
}
|
|
94
|
+
.chunk-file-uploader-file-icon[icon=audio]::before {
|
|
95
|
+
content: "🎵";
|
|
96
|
+
}
|
|
97
|
+
.chunk-file-uploader-file-icon[icon=document]::before {
|
|
98
|
+
content: "📋";
|
|
99
|
+
}
|
|
100
|
+
.chunk-file-uploader-file-actions > span {
|
|
101
|
+
display: none;
|
|
102
|
+
float: left;
|
|
103
|
+
width: 16px;
|
|
104
|
+
height: 16px;
|
|
105
|
+
margin-top: 16px;
|
|
106
|
+
margin-right: 10px;
|
|
107
|
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAABkCAYAAAD0ZHJ6AAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAACxMAAAsTAQCanBgAAARkSURBVGje7ZnfS1NRHMAH4ptPkvQSuAdBkCxD8FUQJMEULUgzy1KyyPVQ4JMiiP4Bvg6EwUQQfMmwhwRDshwaKUjDVCgoSdDNHkzTJZ6+Z37Purve8+PeTb2TM/ggu+ew89l33x8H9BBCPG7GowXTJej3+wnDvEm0JuLC04+EYWftVAUv+fiCvDUdQR1BHUEdQR3BTIygvixoQS14XgTtthLVdpNWwXRLqvQ724LplFRtyrYF0yVpFLQrKRVMh6RZ0I6kkmCqklaCqpKZH0FX56Crq9jVfdDVk0RfFrSgFsxkQVmLcdKCVrKySCrryhPEyYShhzOcrFtG0EoilfHHk1CRU5rF6ZjNZhlVOW6RnMSVyyilKies4pO41diVy8wIujoHXV3FGdMHXTtJKLFYTLhZtq4vC1rwXApCZTIqgR6g1PBMCO9DL3bMMSqBHqDU8EyISDAHiGKvWwcCQG2KgjlAFCDAOhAAap0K5gKLphk8mqJgLrCIgoxRJ4J5wKpJ7gAoMkn5EBXBPGDVJHcAFJmkfIhQcAql1oBpTvTol9gG9pm4RHAKpdaAaU706JfYBvaZuJVgPQrt4sFlnOh5MC/p3lmJYD0K7eLBZZzoeTAv6d5ZnuAYHjpgEOnk5F0ufhG6v1ggOIaHDhhEOjl5l4tfhO4vthLcwAMrFNvLJO5vEwhu4IEViu1lEve3WQmyoihQFBzG/V0CQVYUBYqCw7i/SxTBcpsRbFeIYLnNCLZbCY5b5KAnxRwct8hBj9McZFVMW0ihRNBuFdMWUigRlFaxuQ9WWYjRMTiIe5z0wSoLMToGB3GPsA9aTZIJoB+nRgBnM1tzOkkmgH6cGgGczWzNpzqLx3n/aULJJgezeNw07oxQySbVywKjBOgFRnDs+VEsx8FlgVEC9AIjOPb8KJYjvSzoG7UW1IJaUAtqQS14toLNM5fN5APdwBJA8G83Pk/aK/rgzVvXzeQD3cASQPBvNz5P2ssTzAaGUIrHEO6zI5gNDKEUjyHcxxWkh4Ylcowwk1QQpIeGJXKMMJO0EgwqyjGCioJBJvDrxRMSuVOTJEXfbz1/bHwWtBL0yoQehK6RucgE+bGzanzulQh6E3IgQV+xpc8kcrfuSO7eTfJ3ZYmQw0Oy9azVKOk1C/bJ5D5F38YPeLfx0rjWJxHsS0SqsSYuxySjj5qO5Oj7xQWy2VBtFOwzCy6ryH3YfE3uh64Y1xckgstJPydEjkkeHv07Iy4Xaao15+KCWTBx6M/db+T9xivSErqaJDdzXI6yLRE8Vgg0coex/SPJvT0SbWu0KpZtbgSpCH3NRt7I5OxHkObc6heU+/M/J5vrpBFM5GBLqCQux14COXs5CNXK5OjPGm1tSMrJSOMNYQ4mVTGV/L6zTL7+DovkbFUxbSW0Wo05l8hJWsU+cRWfSh+Mt5Lb1ck/J1TvVsdDaR/MiEni+llsdZuZp62EViu+96bpNjNPWwmtVnzvFd5m9IVVC54x/wA7gNvqFG9vXQAAAABJRU5ErkJggg==") no-repeat 0 0;
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
}
|
|
110
|
+
.chunk-file-uploader-file-actions > span:hover {
|
|
111
|
+
background-position-x: -21px;
|
|
112
|
+
}
|
|
113
|
+
.chunk-file-uploader-file-actions .chunk-file-uploader-file-pause {
|
|
114
|
+
background-position-y: 0;
|
|
115
|
+
}
|
|
116
|
+
.chunk-file-uploader-file-actions .chunk-file-uploader-file-resume {
|
|
117
|
+
background-position-y: -17px;
|
|
118
|
+
}
|
|
119
|
+
.chunk-file-uploader-file-actions .chunk-file-uploader-file-retry {
|
|
120
|
+
background-position-y: -53px;
|
|
121
|
+
}
|
|
122
|
+
.chunk-file-uploader-file-actions .chunk-file-uploader-file-remove {
|
|
123
|
+
display: block;
|
|
124
|
+
background-position-y: -34px;
|
|
125
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { u as uploaderMixin } from "../../chunks/mixins.
|
|
2
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
1
|
+
import { u as uploaderMixin } from "../../chunks/mixins.e1939731.js";
|
|
2
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
3
3
|
var render = function() {
|
|
4
|
-
var _vm = this
|
|
4
|
+
var _vm = this;
|
|
5
|
+
var _h = _vm.$createElement;
|
|
6
|
+
var _c = _vm._self._c || _h;
|
|
5
7
|
return _c("div", {
|
|
6
8
|
staticClass: "uploader-files"
|
|
7
9
|
}, [_vm._t("default", function() {
|
|
@@ -10,14 +12,16 @@ var render = function() {
|
|
|
10
12
|
key: file.id
|
|
11
13
|
}, [_c("ChunkFileUploaderFile", {
|
|
12
14
|
attrs: {
|
|
13
|
-
file
|
|
15
|
+
"file": file
|
|
14
16
|
}
|
|
15
17
|
})], 1);
|
|
16
18
|
}), 0)];
|
|
17
19
|
}, {
|
|
18
|
-
files: _vm.files
|
|
20
|
+
"files": _vm.files
|
|
19
21
|
})], 2);
|
|
20
|
-
}
|
|
22
|
+
};
|
|
23
|
+
var staticRenderFns = [];
|
|
24
|
+
const ChunkFileUploaderFiles_vue_vue_type_style_index_0_lang = "";
|
|
21
25
|
const __vue2_script = {
|
|
22
26
|
name: "ChunkFileUploaderFiles",
|
|
23
27
|
mixins: [uploaderMixin],
|
|
@@ -26,20 +30,22 @@ const __vue2_script = {
|
|
|
26
30
|
return this.uploader.files;
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
|
-
}
|
|
33
|
+
};
|
|
34
|
+
const __cssModules = {};
|
|
30
35
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
31
36
|
__vue2_script,
|
|
32
37
|
render,
|
|
33
38
|
staticRenderFns,
|
|
34
|
-
|
|
39
|
+
false,
|
|
35
40
|
__vue2_injectStyles,
|
|
36
41
|
null,
|
|
37
42
|
null,
|
|
38
43
|
null
|
|
39
44
|
);
|
|
40
45
|
function __vue2_injectStyles(context) {
|
|
41
|
-
for (let o in __cssModules)
|
|
46
|
+
for (let o in __cssModules) {
|
|
42
47
|
this[o] = __cssModules[o];
|
|
48
|
+
}
|
|
43
49
|
}
|
|
44
50
|
const ChunkFileUploaderFiles = /* @__PURE__ */ function() {
|
|
45
51
|
return __component__.exports;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { u as uploaderMixin } from "../../chunks/mixins.
|
|
2
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
1
|
+
import { u as uploaderMixin } from "../../chunks/mixins.e1939731.js";
|
|
2
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
3
3
|
var render = function() {
|
|
4
|
-
var _vm = this
|
|
4
|
+
var _vm = this;
|
|
5
|
+
var _h = _vm.$createElement;
|
|
6
|
+
var _c = _vm._self._c || _h;
|
|
5
7
|
return _c("div", {
|
|
6
8
|
staticClass: "uploader-list"
|
|
7
9
|
}, [_vm._t("default", function() {
|
|
@@ -10,15 +12,17 @@ var render = function() {
|
|
|
10
12
|
key: file.id
|
|
11
13
|
}, [_c("ChunkFileUploaderFile", {
|
|
12
14
|
attrs: {
|
|
13
|
-
file,
|
|
14
|
-
list:
|
|
15
|
+
"file": file,
|
|
16
|
+
"list": true
|
|
15
17
|
}
|
|
16
18
|
})], 1);
|
|
17
19
|
}), 0)];
|
|
18
20
|
}, {
|
|
19
|
-
fileList: _vm.fileList
|
|
21
|
+
"fileList": _vm.fileList
|
|
20
22
|
})], 2);
|
|
21
|
-
}
|
|
23
|
+
};
|
|
24
|
+
var staticRenderFns = [];
|
|
25
|
+
const ChunkFileUploaderList_vue_vue_type_style_index_0_lang = "";
|
|
22
26
|
const __vue2_script = {
|
|
23
27
|
name: "ChunkFileUploaderList",
|
|
24
28
|
mixins: [uploaderMixin],
|
|
@@ -27,20 +31,22 @@ const __vue2_script = {
|
|
|
27
31
|
return this.uploader.fileList;
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
|
-
}
|
|
34
|
+
};
|
|
35
|
+
const __cssModules = {};
|
|
31
36
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
32
37
|
__vue2_script,
|
|
33
38
|
render,
|
|
34
39
|
staticRenderFns,
|
|
35
|
-
|
|
40
|
+
false,
|
|
36
41
|
__vue2_injectStyles,
|
|
37
42
|
null,
|
|
38
43
|
null,
|
|
39
44
|
null
|
|
40
45
|
);
|
|
41
46
|
function __vue2_injectStyles(context) {
|
|
42
|
-
for (let o in __cssModules)
|
|
47
|
+
for (let o in __cssModules) {
|
|
43
48
|
this[o] = __cssModules[o];
|
|
49
|
+
}
|
|
44
50
|
}
|
|
45
51
|
const ChunkFileUploaderList = /* @__PURE__ */ function() {
|
|
46
52
|
return __component__.exports;
|