@vunk/form 1.2.2 → 1.3.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/components/download-plus/index.cjs +4 -4
- package/components/download-plus/index.mjs +4 -4
- package/components/form-item/index.cjs +3 -4
- package/components/form-item/index.mjs +3 -4
- package/components/input/index.cjs +2 -2
- package/components/input/index.mjs +2 -2
- package/components/monaco-editor/index.cjs +83 -0
- package/components/monaco-editor/index.css +3 -0
- package/components/monaco-editor/index.mjs +77 -0
- package/components/slider/index.cjs +3 -3
- package/components/slider/index.mjs +3 -3
- package/components/templates-default/index.cjs +41 -26
- package/components/templates-default/index.mjs +41 -26
- package/components/upload/index.cjs +2 -2
- package/components/upload/index.mjs +2 -2
- package/components/upload-plus/index.cjs +19 -20
- package/components/upload-plus/index.mjs +19 -20
- package/components/vditor/index.cjs +43 -408
- package/components/vditor/index.mjs +44 -409
- package/composables/useSourceManager.d.ts +1 -1
- package/index.css +4 -13
- package/package.json +9 -4
- package/shared/element-plus/ctx.d.ts +3 -3
- package/shared/element-plus/instances.d.ts +2 -2
- package/components/button/index.d.ts +0 -4
- package/components/button/src/ctx.d.ts +0 -96
- package/components/button/src/index.vue.d.ts +0 -219
- package/components/button/src/types.d.ts +0 -13
- package/components/cascader/index.d.ts +0 -6
- package/components/cascader/src/ctx.d.ts +0 -120
- package/components/cascader/src/index.vue.d.ts +0 -291
- package/components/cascader/src/types.d.ts +0 -7
- package/components/cascader/src/use.d.ts +0 -5
- package/components/checkbox/index.d.ts +0 -5
- package/components/checkbox/src/ctx.d.ts +0 -89
- package/components/checkbox/src/index.vue.d.ts +0 -203
- package/components/checkbox/src/types.d.ts +0 -8
- package/components/color-picker/index.d.ts +0 -4
- package/components/color-picker/src/ctx.d.ts +0 -80
- package/components/color-picker/src/index.vue.d.ts +0 -192
- package/components/color-picker/src/types.d.ts +0 -7
- package/components/date-picker/index.d.ts +0 -5
- package/components/date-picker/src/ctx.d.ts +0 -158
- package/components/date-picker/src/index.vue.d.ts +0 -376
- package/components/date-picker/src/types.d.ts +0 -20
- package/components/date-picker-range/index.d.ts +0 -4
- package/components/date-picker-range/src/ctx.d.ts +0 -177
- package/components/date-picker-range/src/index.vue.d.ts +0 -398
- package/components/date-picker-range/src/types.d.ts +0 -12
- package/components/download-plus/index.d.ts +0 -4
- package/components/download-plus/src/api.d.ts +0 -13
- package/components/download-plus/src/const.d.ts +0 -9
- package/components/download-plus/src/ctx.d.ts +0 -84
- package/components/download-plus/src/index.vue.d.ts +0 -206
- package/components/download-plus/src/types.d.ts +0 -17
- package/components/esri-input-geojson/index.d.ts +0 -6
- package/components/esri-input-geojson/src/append.vue.d.ts +0 -32
- package/components/esri-input-geojson/src/const.d.ts +0 -12
- package/components/esri-input-geojson/src/ctx.d.ts +0 -223
- package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
- package/components/esri-input-geojson/src/index.vue.d.ts +0 -549
- package/components/esri-input-geojson/src/types.d.ts +0 -22
- package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -296
- package/components/form/index.d.ts +0 -5
- package/components/form/src/ctx.d.ts +0 -84
- package/components/form/src/index.vue.d.ts +0 -455
- package/components/form/src/types.d.ts +0 -12
- package/components/form/src/utils.d.ts +0 -15
- package/components/form-item/index.d.ts +0 -5
- package/components/form-item/src/ctx.d.ts +0 -62
- package/components/form-item/src/index.vue.d.ts +0 -140
- package/components/form-item/src/types.d.ts +0 -6
- package/components/form-item-renderer/index.d.ts +0 -5
- package/components/form-item-renderer/src/ctx.d.ts +0 -16
- package/components/form-item-renderer/src/index.vue.d.ts +0 -38
- package/components/form-item-renderer/src/symbols.d.ts +0 -2
- package/components/form-item-renderer/src/types.d.ts +0 -7
- package/components/form-item-renderer-template/index.d.ts +0 -4
- package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
- package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
- package/components/form-item-renderer-template/src/types.d.ts +0 -1
- package/components/geoinput/index.d.ts +0 -4
- package/components/geoinput/src/ctx.d.ts +0 -228
- package/components/geoinput/src/index.vue.d.ts +0 -496
- package/components/geoinput/src/types.d.ts +0 -12
- package/components/geoinput-read/index.d.ts +0 -5
- package/components/geoinput-read/src/append.vue.d.ts +0 -6
- package/components/geoinput-read/src/core.vue.d.ts +0 -482
- package/components/geoinput-read/src/ctx.d.ts +0 -199
- package/components/geoinput-read/src/index.vue.d.ts +0 -441
- package/components/geoinput-read/src/types.d.ts +0 -3
- package/components/geoinput-update/index.d.ts +0 -5
- package/components/geoinput-update/src/append.vue.d.ts +0 -20
- package/components/geoinput-update/src/ctx.d.ts +0 -207
- package/components/geoinput-update/src/index.vue.d.ts +0 -508
- package/components/geoinput-update/src/types.d.ts +0 -6
- package/components/input/index.d.ts +0 -5
- package/components/input/src/ctx.d.ts +0 -148
- package/components/input/src/index.vue.d.ts +0 -343
- package/components/input/src/types.d.ts +0 -13
- package/components/input-link/index.d.ts +0 -4
- package/components/input-link/src/ctx.d.ts +0 -179
- package/components/input-link/src/index.vue.d.ts +0 -373
- package/components/input-link/src/types.d.ts +0 -7
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/src/ctx.d.ts +0 -90
- package/components/input-number/src/index.vue.d.ts +0 -216
- package/components/input-number/src/types.d.ts +0 -8
- package/components/radio/index.d.ts +0 -4
- package/components/radio/src/ctx.d.ts +0 -82
- package/components/radio/src/index.vue.d.ts +0 -195
- package/components/radio/src/types.d.ts +0 -8
- package/components/select/index.d.ts +0 -4
- package/components/select/src/ctx.d.ts +0 -156
- package/components/select/src/index.vue.d.ts +0 -492
- package/components/select/src/types.d.ts +0 -11
- package/components/slider/index.d.ts +0 -4
- package/components/slider/src/ctx.d.ts +0 -127
- package/components/slider/src/index.vue.d.ts +0 -328
- package/components/slider/src/types.d.ts +0 -7
- package/components/switch/index.d.ts +0 -4
- package/components/switch/src/ctx.d.ts +0 -114
- package/components/switch/src/index.vue.d.ts +0 -273
- package/components/switch/src/types.d.ts +0 -8
- package/components/templates-default/index.d.ts +0 -4
- package/components/templates-default/src/ctx.d.ts +0 -19
- package/components/templates-default/src/index.vue.d.ts +0 -43
- package/components/templates-default/src/types.d.ts +0 -53
- package/components/templates-element-plus/index.d.ts +0 -4
- package/components/templates-element-plus/src/ctx.d.ts +0 -9
- package/components/templates-element-plus/src/index.vue.d.ts +0 -19
- package/components/templates-element-plus/src/types.d.ts +0 -13
- package/components/templates-esri/index.d.ts +0 -4
- package/components/templates-esri/src/ctx.d.ts +0 -11
- package/components/templates-esri/src/index.vue.d.ts +0 -20
- package/components/templates-esri/src/types.d.ts +0 -2
- package/components/templates-layout/index.d.ts +0 -4
- package/components/templates-layout/src/ctx.d.ts +0 -9
- package/components/templates-layout/src/index.vue.d.ts +0 -19
- package/components/templates-layout/src/types.d.ts +0 -32
- package/components/templates-mapbox/index.d.ts +0 -4
- package/components/templates-mapbox/src/ctx.d.ts +0 -11
- package/components/templates-mapbox/src/index.vue.d.ts +0 -20
- package/components/templates-mapbox/src/types.d.ts +0 -3
- package/components/templates-variant/index.d.ts +0 -4
- package/components/templates-variant/src/ctx.d.ts +0 -11
- package/components/templates-variant/src/index.vue.d.ts +0 -20
- package/components/templates-variant/src/types.d.ts +0 -2
- package/components/upload/index.d.ts +0 -5
- package/components/upload/src/ctx.d.ts +0 -180
- package/components/upload/src/file.vue.d.ts +0 -106
- package/components/upload/src/index.vue.d.ts +0 -427
- package/components/upload/src/types.d.ts +0 -7
- package/components/upload-plus/index.d.ts +0 -6
- package/components/upload-plus/src/api.d.ts +0 -38
- package/components/upload-plus/src/const.d.ts +0 -9
- package/components/upload-plus/src/ctx.d.ts +0 -103
- package/components/upload-plus/src/index.vue.d.ts +0 -215
- package/components/upload-plus/src/types.d.ts +0 -32
- package/components/van-cascader/index.d.ts +0 -4
- package/components/van-cascader/src/ctx.d.ts +0 -118
- package/components/van-cascader/src/index.vue.d.ts +0 -275
- package/components/van-cascader/src/types.d.ts +0 -1
- package/components/var-datetime-picker/index.d.ts +0 -4
- package/components/var-datetime-picker/src/const.d.ts +0 -10
- package/components/var-datetime-picker/src/ctx.d.ts +0 -67
- package/components/var-datetime-picker/src/index.vue.d.ts +0 -157
- package/components/var-datetime-picker/src/types.d.ts +0 -22
- package/components/vditor/index.css +0 -12
- package/components/vditor/index.d.ts +0 -4
- package/components/vditor/src/ctx.d.ts +0 -31
- package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
- package/components/vditor/src/handle-value.vue.d.ts +0 -18
- package/components/vditor/src/index.vue.d.ts +0 -66
- package/components/vditor/src/types.d.ts +0 -9
- package/components/vditor/src/use.d.ts +0 -4
|
@@ -51,8 +51,8 @@ var _sfc_main = defineComponent({
|
|
|
51
51
|
VkfInputLink,
|
|
52
52
|
VkfSlider
|
|
53
53
|
},
|
|
54
|
-
emits,
|
|
55
54
|
props,
|
|
55
|
+
emits,
|
|
56
56
|
setup(props2) {
|
|
57
57
|
const getFormDataValue = (raw) => {
|
|
58
58
|
const prop = raw.prop;
|
|
@@ -105,12 +105,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
105
105
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
106
106
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfColorPicker, mergeProps({
|
|
107
107
|
key: 0,
|
|
108
|
-
|
|
108
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
109
|
+
}, sourceData, {
|
|
109
110
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
110
111
|
k: sourceData.prop,
|
|
111
112
|
v: $event
|
|
112
113
|
})
|
|
113
|
-
}
|
|
114
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
114
115
|
]),
|
|
115
116
|
_: 1
|
|
116
117
|
/* STABLE */
|
|
@@ -119,12 +120,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
119
120
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
120
121
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfUpload, mergeProps({
|
|
121
122
|
key: 0,
|
|
122
|
-
|
|
123
|
+
"file-list": _ctx.getFormDataValue(raw)
|
|
124
|
+
}, sourceData, {
|
|
123
125
|
"onUpdate:fileList": ($event) => _ctx.$emit("setData", {
|
|
124
126
|
k: sourceData.prop,
|
|
125
127
|
v: $event
|
|
126
128
|
})
|
|
127
|
-
}
|
|
129
|
+
}), null, 16, ["file-list", "onUpdate:fileList"])) : createCommentVNode("v-if", true)
|
|
128
130
|
]),
|
|
129
131
|
_: 1
|
|
130
132
|
/* STABLE */
|
|
@@ -133,12 +135,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
133
135
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
134
136
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfCheckbox, mergeProps({
|
|
135
137
|
key: 0,
|
|
136
|
-
|
|
138
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
139
|
+
}, sourceData, {
|
|
137
140
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
138
141
|
k: sourceData.prop,
|
|
139
142
|
v: $event
|
|
140
143
|
})
|
|
141
|
-
}
|
|
144
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
142
145
|
]),
|
|
143
146
|
_: 1
|
|
144
147
|
/* STABLE */
|
|
@@ -147,12 +150,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
147
150
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
148
151
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfRadio, mergeProps({
|
|
149
152
|
key: 0,
|
|
150
|
-
|
|
153
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
154
|
+
}, sourceData, {
|
|
151
155
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
152
156
|
k: sourceData.prop,
|
|
153
157
|
v: $event
|
|
154
158
|
})
|
|
155
|
-
}
|
|
159
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
156
160
|
]),
|
|
157
161
|
_: 1
|
|
158
162
|
/* STABLE */
|
|
@@ -161,12 +165,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
161
165
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
162
166
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInput, mergeProps({
|
|
163
167
|
key: 0,
|
|
164
|
-
|
|
168
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
169
|
+
}, sourceData, {
|
|
165
170
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
166
171
|
k: sourceData.prop,
|
|
167
172
|
v: $event
|
|
168
173
|
})
|
|
169
|
-
}
|
|
174
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
170
175
|
]),
|
|
171
176
|
_: 1
|
|
172
177
|
/* STABLE */
|
|
@@ -175,12 +180,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
175
180
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
176
181
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSwitch, mergeProps({
|
|
177
182
|
key: 0,
|
|
178
|
-
|
|
183
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
184
|
+
}, sourceData, {
|
|
179
185
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
180
186
|
k: sourceData.prop,
|
|
181
187
|
v: $event
|
|
182
188
|
})
|
|
183
|
-
}
|
|
189
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
184
190
|
]),
|
|
185
191
|
_: 1
|
|
186
192
|
/* STABLE */
|
|
@@ -189,12 +195,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
189
195
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
190
196
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSelect, mergeProps({
|
|
191
197
|
key: 0,
|
|
192
|
-
|
|
198
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
199
|
+
}, sourceData, {
|
|
193
200
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
194
201
|
k: sourceData.prop,
|
|
195
202
|
v: $event
|
|
196
203
|
})
|
|
197
|
-
}
|
|
204
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
198
205
|
]),
|
|
199
206
|
_: 1
|
|
200
207
|
/* STABLE */
|
|
@@ -203,12 +210,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
203
210
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
204
211
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfDatePicker, mergeProps({
|
|
205
212
|
key: 0,
|
|
206
|
-
|
|
213
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
214
|
+
}, sourceData, {
|
|
207
215
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
208
216
|
k: sourceData.prop,
|
|
209
217
|
v: $event
|
|
210
218
|
})
|
|
211
|
-
}
|
|
219
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
212
220
|
]),
|
|
213
221
|
_: 1
|
|
214
222
|
/* STABLE */
|
|
@@ -217,12 +225,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
217
225
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
218
226
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInputNumber, mergeProps({
|
|
219
227
|
key: 0,
|
|
220
|
-
|
|
228
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
229
|
+
}, sourceData, {
|
|
221
230
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
222
231
|
k: sourceData.prop,
|
|
223
232
|
v: $event
|
|
224
233
|
})
|
|
225
|
-
}
|
|
234
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
226
235
|
]),
|
|
227
236
|
_: 1
|
|
228
237
|
/* STABLE */
|
|
@@ -231,12 +240,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
240
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
232
241
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfCascader, mergeProps({
|
|
233
242
|
key: 0,
|
|
234
|
-
|
|
243
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
244
|
+
}, sourceData, {
|
|
235
245
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
236
246
|
k: sourceData.prop,
|
|
237
247
|
v: $event
|
|
238
248
|
})
|
|
239
|
-
}
|
|
249
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
240
250
|
]),
|
|
241
251
|
_: 1
|
|
242
252
|
/* STABLE */
|
|
@@ -246,12 +256,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
246
256
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
247
257
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfInputLink, mergeProps({
|
|
248
258
|
key: 0,
|
|
249
|
-
|
|
259
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
260
|
+
}, sourceData, {
|
|
250
261
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
251
262
|
k: sourceData.prop,
|
|
252
263
|
v: $event
|
|
253
264
|
})
|
|
254
|
-
}
|
|
265
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
255
266
|
]),
|
|
256
267
|
_: 1
|
|
257
268
|
/* STABLE */
|
|
@@ -261,12 +272,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
261
272
|
default: withCtx(({ data: sourceData, templateIf, raw }) => [
|
|
262
273
|
templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfSlider, mergeProps({
|
|
263
274
|
key: 0,
|
|
264
|
-
|
|
275
|
+
"model-value": _ctx.getFormDataValue(raw)
|
|
276
|
+
}, sourceData, {
|
|
265
277
|
"onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
|
|
266
278
|
k: sourceData.prop,
|
|
267
279
|
v: $event
|
|
268
280
|
})
|
|
269
|
-
}
|
|
281
|
+
}), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
|
|
270
282
|
]),
|
|
271
283
|
_: 1
|
|
272
284
|
/* STABLE */
|
|
@@ -296,7 +308,10 @@ var types = /*#__PURE__*/Object.freeze({
|
|
|
296
308
|
});
|
|
297
309
|
|
|
298
310
|
VkfTemplatesDefault.install = (app) => {
|
|
299
|
-
app.component(
|
|
311
|
+
app.component(
|
|
312
|
+
VkfTemplatesDefault.name || "VkfTemplatesDefault",
|
|
313
|
+
VkfTemplatesDefault
|
|
314
|
+
);
|
|
300
315
|
};
|
|
301
316
|
|
|
302
317
|
export { VkfTemplatesDefault, types as __VkfTemplatesDefault, VkfTemplatesDefault as default };
|
|
@@ -447,9 +447,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
447
447
|
default: vue.withCtx(() => [
|
|
448
448
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
449
449
|
vue.createVNode(_component_ElLink, { type: "primary" }, {
|
|
450
|
-
default: vue.withCtx(() => [
|
|
450
|
+
default: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
451
451
|
vue.createTextVNode(" + \u9009\u62E9\u6587\u4EF6 ")
|
|
452
|
-
]),
|
|
452
|
+
])),
|
|
453
453
|
_: 1
|
|
454
454
|
/* STABLE */
|
|
455
455
|
})
|
|
@@ -443,9 +443,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
443
443
|
default: withCtx(() => [
|
|
444
444
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
445
445
|
createVNode(_component_ElLink, { type: "primary" }, {
|
|
446
|
-
default: withCtx(() => [
|
|
446
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
447
447
|
createTextVNode(" + \u9009\u62E9\u6587\u4EF6 ")
|
|
448
|
-
]),
|
|
448
|
+
])),
|
|
449
449
|
_: 1
|
|
450
450
|
/* STABLE */
|
|
451
451
|
})
|
|
@@ -18484,18 +18484,11 @@ const _hoisted_3 = {
|
|
|
18484
18484
|
key: 0,
|
|
18485
18485
|
class: "vkf-upload-plus-msg-x"
|
|
18486
18486
|
};
|
|
18487
|
-
const _hoisted_4 =
|
|
18488
|
-
"span",
|
|
18489
|
-
{ class: "vkf-upload-plus-msg" },
|
|
18490
|
-
" \u4E0A\u4F20\u6210\u529F ",
|
|
18491
|
-
-1
|
|
18492
|
-
/* HOISTED */
|
|
18493
|
-
);
|
|
18494
|
-
const _hoisted_5 = {
|
|
18487
|
+
const _hoisted_4 = {
|
|
18495
18488
|
key: 1,
|
|
18496
18489
|
class: "vkf-upload-plus-cube-x"
|
|
18497
18490
|
};
|
|
18498
|
-
const
|
|
18491
|
+
const _hoisted_5 = ["id", "accept"];
|
|
18499
18492
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18500
18493
|
const _component_ElInput = vue.resolveComponent("ElInput");
|
|
18501
18494
|
const _component_SuccessFilled = vue.resolveComponent("SuccessFilled");
|
|
@@ -18532,9 +18525,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18532
18525
|
_: 1
|
|
18533
18526
|
/* STABLE */
|
|
18534
18527
|
}),
|
|
18535
|
-
|
|
18528
|
+
_cache[1] || (_cache[1] = vue.createElementVNode(
|
|
18529
|
+
"span",
|
|
18530
|
+
{ class: "vkf-upload-plus-msg" },
|
|
18531
|
+
" \u4E0A\u4F20\u6210\u529F ",
|
|
18532
|
+
-1
|
|
18533
|
+
/* HOISTED */
|
|
18534
|
+
))
|
|
18536
18535
|
])) : vue.createCommentVNode("v-if", true),
|
|
18537
|
-
_ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (vue.openBlock(), vue.createElementBlock("div",
|
|
18536
|
+
_ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
18538
18537
|
(vue.openBlock(true), vue.createElementBlock(
|
|
18539
18538
|
vue.Fragment,
|
|
18540
18539
|
null,
|
|
@@ -18582,16 +18581,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18582
18581
|
class: "vkf-upload-plus-input",
|
|
18583
18582
|
accept: _ctx.accept,
|
|
18584
18583
|
onChange: _cache[0] || (_cache[0] = (...args) => _ctx.handleFileChange && _ctx.handleFileChange(...args))
|
|
18585
|
-
}, null, 40,
|
|
18584
|
+
}, null, 40, _hoisted_5),
|
|
18586
18585
|
vue.createVNode(_component_el_button_group, { class: "vkf-upload-plus-btng" }, {
|
|
18587
18586
|
default: vue.withCtx(() => [
|
|
18588
18587
|
_ctx.merging ? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_ElButton, {
|
|
18589
18588
|
key: 0,
|
|
18590
18589
|
type: "success"
|
|
18591
18590
|
}, {
|
|
18592
|
-
default: vue.withCtx(() => [
|
|
18591
|
+
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
18593
18592
|
vue.createTextVNode(" \u5408\u5E76 ")
|
|
18594
|
-
]),
|
|
18593
|
+
])),
|
|
18595
18594
|
_: 1
|
|
18596
18595
|
/* STABLE */
|
|
18597
18596
|
})), [
|
|
@@ -18601,9 +18600,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18601
18600
|
type: "danger",
|
|
18602
18601
|
onClick: _ctx.handlePause
|
|
18603
18602
|
}, {
|
|
18604
|
-
default: vue.withCtx(() => [
|
|
18603
|
+
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
18605
18604
|
vue.createTextVNode(" \u6682\u505C ")
|
|
18606
|
-
]),
|
|
18605
|
+
])),
|
|
18607
18606
|
_: 1
|
|
18608
18607
|
/* STABLE */
|
|
18609
18608
|
}, 8, ["onClick"])) : _ctx.fileStatus === _ctx.Status.done ? (vue.openBlock(), vue.createBlock(_component_ElButton, {
|
|
@@ -18611,9 +18610,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18611
18610
|
type: "success",
|
|
18612
18611
|
disabled: ""
|
|
18613
18612
|
}, {
|
|
18614
|
-
default: vue.withCtx(() => [
|
|
18613
|
+
default: vue.withCtx(() => _cache[4] || (_cache[4] = [
|
|
18615
18614
|
vue.createTextVNode(" \u5DF2\u4F20 ")
|
|
18616
|
-
]),
|
|
18615
|
+
])),
|
|
18617
18616
|
_: 1
|
|
18618
18617
|
/* STABLE */
|
|
18619
18618
|
})) : (vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
@@ -18622,9 +18621,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18622
18621
|
disabled: !_ctx.containerFile,
|
|
18623
18622
|
onClick: _ctx.handleUpload
|
|
18624
18623
|
}, {
|
|
18625
|
-
default: vue.withCtx(() => [
|
|
18624
|
+
default: vue.withCtx(() => _cache[5] || (_cache[5] = [
|
|
18626
18625
|
vue.createTextVNode(" \u4E0A\u4F20 ")
|
|
18627
|
-
]),
|
|
18626
|
+
])),
|
|
18628
18627
|
_: 1
|
|
18629
18628
|
/* STABLE */
|
|
18630
18629
|
}, 8, ["disabled", "onClick"]))
|
|
@@ -18480,18 +18480,11 @@ const _hoisted_3 = {
|
|
|
18480
18480
|
key: 0,
|
|
18481
18481
|
class: "vkf-upload-plus-msg-x"
|
|
18482
18482
|
};
|
|
18483
|
-
const _hoisted_4 =
|
|
18484
|
-
"span",
|
|
18485
|
-
{ class: "vkf-upload-plus-msg" },
|
|
18486
|
-
" \u4E0A\u4F20\u6210\u529F ",
|
|
18487
|
-
-1
|
|
18488
|
-
/* HOISTED */
|
|
18489
|
-
);
|
|
18490
|
-
const _hoisted_5 = {
|
|
18483
|
+
const _hoisted_4 = {
|
|
18491
18484
|
key: 1,
|
|
18492
18485
|
class: "vkf-upload-plus-cube-x"
|
|
18493
18486
|
};
|
|
18494
|
-
const
|
|
18487
|
+
const _hoisted_5 = ["id", "accept"];
|
|
18495
18488
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18496
18489
|
const _component_ElInput = resolveComponent("ElInput");
|
|
18497
18490
|
const _component_SuccessFilled = resolveComponent("SuccessFilled");
|
|
@@ -18528,9 +18521,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18528
18521
|
_: 1
|
|
18529
18522
|
/* STABLE */
|
|
18530
18523
|
}),
|
|
18531
|
-
|
|
18524
|
+
_cache[1] || (_cache[1] = createElementVNode(
|
|
18525
|
+
"span",
|
|
18526
|
+
{ class: "vkf-upload-plus-msg" },
|
|
18527
|
+
" \u4E0A\u4F20\u6210\u529F ",
|
|
18528
|
+
-1
|
|
18529
|
+
/* HOISTED */
|
|
18530
|
+
))
|
|
18532
18531
|
])) : createCommentVNode("v-if", true),
|
|
18533
|
-
_ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (openBlock(), createElementBlock("div",
|
|
18532
|
+
_ctx.fileStatus === _ctx.Status.uploading || _ctx.fileStatus === _ctx.Status.pause ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
18534
18533
|
(openBlock(true), createElementBlock(
|
|
18535
18534
|
Fragment,
|
|
18536
18535
|
null,
|
|
@@ -18578,16 +18577,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18578
18577
|
class: "vkf-upload-plus-input",
|
|
18579
18578
|
accept: _ctx.accept,
|
|
18580
18579
|
onChange: _cache[0] || (_cache[0] = (...args) => _ctx.handleFileChange && _ctx.handleFileChange(...args))
|
|
18581
|
-
}, null, 40,
|
|
18580
|
+
}, null, 40, _hoisted_5),
|
|
18582
18581
|
createVNode(_component_el_button_group, { class: "vkf-upload-plus-btng" }, {
|
|
18583
18582
|
default: withCtx(() => [
|
|
18584
18583
|
_ctx.merging ? withDirectives((openBlock(), createBlock(_component_ElButton, {
|
|
18585
18584
|
key: 0,
|
|
18586
18585
|
type: "success"
|
|
18587
18586
|
}, {
|
|
18588
|
-
default: withCtx(() => [
|
|
18587
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
18589
18588
|
createTextVNode(" \u5408\u5E76 ")
|
|
18590
|
-
]),
|
|
18589
|
+
])),
|
|
18591
18590
|
_: 1
|
|
18592
18591
|
/* STABLE */
|
|
18593
18592
|
})), [
|
|
@@ -18597,9 +18596,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18597
18596
|
type: "danger",
|
|
18598
18597
|
onClick: _ctx.handlePause
|
|
18599
18598
|
}, {
|
|
18600
|
-
default: withCtx(() => [
|
|
18599
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
18601
18600
|
createTextVNode(" \u6682\u505C ")
|
|
18602
|
-
]),
|
|
18601
|
+
])),
|
|
18603
18602
|
_: 1
|
|
18604
18603
|
/* STABLE */
|
|
18605
18604
|
}, 8, ["onClick"])) : _ctx.fileStatus === _ctx.Status.done ? (openBlock(), createBlock(_component_ElButton, {
|
|
@@ -18607,9 +18606,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18607
18606
|
type: "success",
|
|
18608
18607
|
disabled: ""
|
|
18609
18608
|
}, {
|
|
18610
|
-
default: withCtx(() => [
|
|
18609
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
18611
18610
|
createTextVNode(" \u5DF2\u4F20 ")
|
|
18612
|
-
]),
|
|
18611
|
+
])),
|
|
18613
18612
|
_: 1
|
|
18614
18613
|
/* STABLE */
|
|
18615
18614
|
})) : (openBlock(), createBlock(_component_el_button, {
|
|
@@ -18618,9 +18617,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
18618
18617
|
disabled: !_ctx.containerFile,
|
|
18619
18618
|
onClick: _ctx.handleUpload
|
|
18620
18619
|
}, {
|
|
18621
|
-
default: withCtx(() => [
|
|
18620
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
18622
18621
|
createTextVNode(" \u4E0A\u4F20 ")
|
|
18623
|
-
]),
|
|
18622
|
+
])),
|
|
18624
18623
|
_: 1
|
|
18625
18624
|
/* STABLE */
|
|
18626
18625
|
}, 8, ["disabled", "onClick"]))
|