@vunk/form 2.14.18 → 2.14.20

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.
Files changed (54) hide show
  1. package/components/button/src/ctx.d.ts +8 -1
  2. package/components/button/src/index.vue.d.ts +43 -8
  3. package/components/card-input-collection/src/core.vue.d.ts +30 -9
  4. package/components/cascader/src/ctx.d.ts +63 -6
  5. package/components/cascader/src/index.vue.d.ts +155 -10
  6. package/components/color-picker/src/ctx.d.ts +14 -0
  7. package/components/color-picker/src/index.vue.d.ts +29 -0
  8. package/components/date-picker/src/ctx.d.ts +46 -4
  9. package/components/date-picker/src/index.vue.d.ts +266 -27
  10. package/components/date-picker-range/src/ctx.d.ts +48 -6
  11. package/components/date-picker-range/src/index.vue.d.ts +98 -13
  12. package/components/dialog-input-collection/src/dialog-form.vue.d.ts +4696 -48
  13. package/components/dialog-input-collection/src/index.vue.d.ts +4723 -54
  14. package/components/download-plus/src/index.vue.d.ts +45 -6
  15. package/components/esri-input-geojson/src/append.vue.d.ts +27 -6
  16. package/components/esri-input-geojson/src/ctx.d.ts +7 -1
  17. package/components/esri-input-geojson/src/index.vue.d.ts +13 -0
  18. package/components/fieldset/index.cjs +1 -17
  19. package/components/fieldset/index.mjs +1 -17
  20. package/components/form/src/ctx.d.ts +1 -1
  21. package/components/form/src/index.vue.d.ts +2867 -22
  22. package/components/form-item/src/core.vue.d.ts +27 -6
  23. package/components/input/src/ctx.d.ts +7 -1
  24. package/components/input/src/index.vue.d.ts +31 -0
  25. package/components/input-array/src/form-template.vue.d.ts +27 -6
  26. package/components/input-array/src/index.vue.d.ts +27 -6
  27. package/components/input-collection/src/core.vue.d.ts +27 -6
  28. package/components/input-link/src/ctx.d.ts +6 -0
  29. package/components/input-link/src/index.vue.d.ts +12 -0
  30. package/components/input-number/src/ctx.d.ts +10 -1
  31. package/components/input-number/src/index.vue.d.ts +55 -0
  32. package/components/input-tag/src/ctx.d.ts +17 -1
  33. package/components/input-tag/src/index.vue.d.ts +103 -3
  34. package/components/select/src/core.vue.d.ts +2 -2
  35. package/components/select/src/ctx.d.ts +1 -1
  36. package/components/select/src/index.vue.d.ts +1 -1
  37. package/components/tables-select/src/index.vue.d.ts +108 -12
  38. package/components/upload/index.cjs +93 -35
  39. package/components/upload/index.css +3 -0
  40. package/components/upload/index.mjs +95 -37
  41. package/components/upload/src/ctx.d.ts +1 -4
  42. package/components/upload/src/file.vue.d.ts +427 -6
  43. package/components/upload/src/index.vue.d.ts +427 -12
  44. package/components/upload-plus/src/index.vue.d.ts +45 -6
  45. package/components/van-cascader/index.cjs +40 -43
  46. package/components/van-cascader/index.mjs +41 -44
  47. package/components/van-cascader/src/ctx.d.ts +62 -5
  48. package/components/van-cascader/src/index.vue.d.ts +825 -1681
  49. package/components/var-datetime-picker/src/index.vue.d.ts +159 -25
  50. package/index.css +3 -0
  51. package/package.json +1 -1
  52. package/shared/element-plus/ctx.d.ts +7 -7
  53. package/shared/element-plus/instances.d.ts +45 -3
  54. package/shared/progress-it/index.cjs +3 -1
@@ -4919,6 +4919,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4919
4919
  } & {
4920
4920
  readonly default: true;
4921
4921
  };
4922
+ readonly modalPenetrable: BooleanConstructor;
4922
4923
  readonly openDelay: {
4923
4924
  readonly type: import("vue").PropType<number>;
4924
4925
  readonly required: false;
@@ -4967,16 +4968,45 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4967
4968
  } & {
4968
4969
  readonly default: "2";
4969
4970
  };
4971
+ readonly transition: {
4972
+ readonly type: import("vue").PropType<unknown>;
4973
+ readonly required: false;
4974
+ readonly validator: ((val: unknown) => boolean) | undefined;
4975
+ __epPropKey: true;
4976
+ } & {
4977
+ readonly default: undefined;
4978
+ };
4970
4979
  readonly center: BooleanConstructor;
4971
- readonly alignCenter: BooleanConstructor;
4980
+ readonly alignCenter: {
4981
+ readonly type: import("vue").PropType<boolean>;
4982
+ readonly required: false;
4983
+ readonly validator: ((val: unknown) => boolean) | undefined;
4984
+ __epPropKey: true;
4985
+ } & {
4986
+ readonly default: undefined;
4987
+ };
4972
4988
  readonly closeIcon: {
4973
4989
  readonly type: import("vue").PropType<unknown>;
4974
4990
  readonly required: false;
4975
4991
  readonly validator: ((val: unknown) => boolean) | undefined;
4976
4992
  __epPropKey: true;
4977
4993
  };
4978
- readonly draggable: BooleanConstructor;
4979
- readonly overflow: BooleanConstructor;
4994
+ readonly draggable: {
4995
+ readonly type: import("vue").PropType<boolean>;
4996
+ readonly required: false;
4997
+ readonly validator: ((val: unknown) => boolean) | undefined;
4998
+ __epPropKey: true;
4999
+ } & {
5000
+ readonly default: undefined;
5001
+ };
5002
+ readonly overflow: {
5003
+ readonly type: import("vue").PropType<boolean>;
5004
+ readonly required: false;
5005
+ readonly validator: ((val: unknown) => boolean) | undefined;
5006
+ __epPropKey: true;
5007
+ } & {
5008
+ readonly default: undefined;
5009
+ };
4980
5010
  readonly fullscreen: BooleanConstructor;
4981
5011
  readonly showClose: {
4982
5012
  readonly type: import("vue").PropType<boolean>;
@@ -5027,12 +5057,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5027
5057
  readonly title: string;
5028
5058
  readonly center: boolean;
5029
5059
  readonly overflow: boolean;
5060
+ readonly transition: unknown;
5030
5061
  readonly modelValue: boolean;
5031
5062
  readonly ariaLevel: string;
5032
5063
  readonly appendTo: string | HTMLElement;
5033
- readonly showClose: boolean;
5034
5064
  readonly alignCenter: boolean;
5035
5065
  readonly draggable: boolean;
5066
+ readonly showClose: boolean;
5036
5067
  readonly fullscreen: boolean;
5037
5068
  readonly closeOnClickModal: boolean;
5038
5069
  readonly closeOnPressEscape: boolean;
@@ -5043,6 +5074,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5043
5074
  readonly headerAriaLevel: string;
5044
5075
  readonly appendToBody: boolean;
5045
5076
  readonly destroyOnClose: boolean;
5077
+ readonly modalPenetrable: boolean;
5046
5078
  readonly trapFocus: boolean;
5047
5079
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
5048
5080
  P: {};
@@ -5100,6 +5132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5100
5132
  } & {
5101
5133
  readonly default: true;
5102
5134
  };
5135
+ readonly modalPenetrable: BooleanConstructor;
5103
5136
  readonly openDelay: {
5104
5137
  readonly type: import("vue").PropType<number>;
5105
5138
  readonly required: false;
@@ -5148,16 +5181,45 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5148
5181
  } & {
5149
5182
  readonly default: "2";
5150
5183
  };
5184
+ readonly transition: {
5185
+ readonly type: import("vue").PropType<unknown>;
5186
+ readonly required: false;
5187
+ readonly validator: ((val: unknown) => boolean) | undefined;
5188
+ __epPropKey: true;
5189
+ } & {
5190
+ readonly default: undefined;
5191
+ };
5151
5192
  readonly center: BooleanConstructor;
5152
- readonly alignCenter: BooleanConstructor;
5193
+ readonly alignCenter: {
5194
+ readonly type: import("vue").PropType<boolean>;
5195
+ readonly required: false;
5196
+ readonly validator: ((val: unknown) => boolean) | undefined;
5197
+ __epPropKey: true;
5198
+ } & {
5199
+ readonly default: undefined;
5200
+ };
5153
5201
  readonly closeIcon: {
5154
5202
  readonly type: import("vue").PropType<unknown>;
5155
5203
  readonly required: false;
5156
5204
  readonly validator: ((val: unknown) => boolean) | undefined;
5157
5205
  __epPropKey: true;
5158
5206
  };
5159
- readonly draggable: BooleanConstructor;
5160
- readonly overflow: BooleanConstructor;
5207
+ readonly draggable: {
5208
+ readonly type: import("vue").PropType<boolean>;
5209
+ readonly required: false;
5210
+ readonly validator: ((val: unknown) => boolean) | undefined;
5211
+ __epPropKey: true;
5212
+ } & {
5213
+ readonly default: undefined;
5214
+ };
5215
+ readonly overflow: {
5216
+ readonly type: import("vue").PropType<boolean>;
5217
+ readonly required: false;
5218
+ readonly validator: ((val: unknown) => boolean) | undefined;
5219
+ __epPropKey: true;
5220
+ } & {
5221
+ readonly default: undefined;
5222
+ };
5161
5223
  readonly fullscreen: BooleanConstructor;
5162
5224
  readonly showClose: {
5163
5225
  readonly type: import("vue").PropType<boolean>;
@@ -5200,12 +5262,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5200
5262
  readonly title: string;
5201
5263
  readonly center: boolean;
5202
5264
  readonly overflow: boolean;
5265
+ readonly transition: unknown;
5203
5266
  readonly modelValue: boolean;
5204
5267
  readonly ariaLevel: string;
5205
5268
  readonly appendTo: string | HTMLElement;
5206
- readonly showClose: boolean;
5207
5269
  readonly alignCenter: boolean;
5208
5270
  readonly draggable: boolean;
5271
+ readonly showClose: boolean;
5209
5272
  readonly fullscreen: boolean;
5210
5273
  readonly closeOnClickModal: boolean;
5211
5274
  readonly closeOnPressEscape: boolean;
@@ -5216,6 +5279,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5216
5279
  readonly headerAriaLevel: string;
5217
5280
  readonly appendToBody: boolean;
5218
5281
  readonly destroyOnClose: boolean;
5282
+ readonly modalPenetrable: boolean;
5219
5283
  readonly trapFocus: boolean;
5220
5284
  }>;
5221
5285
  __isFragment?: never;
@@ -5270,6 +5334,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5270
5334
  } & {
5271
5335
  readonly default: true;
5272
5336
  };
5337
+ readonly modalPenetrable: BooleanConstructor;
5273
5338
  readonly openDelay: {
5274
5339
  readonly type: import("vue").PropType<number>;
5275
5340
  readonly required: false;
@@ -5318,16 +5383,45 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5318
5383
  } & {
5319
5384
  readonly default: "2";
5320
5385
  };
5386
+ readonly transition: {
5387
+ readonly type: import("vue").PropType<unknown>;
5388
+ readonly required: false;
5389
+ readonly validator: ((val: unknown) => boolean) | undefined;
5390
+ __epPropKey: true;
5391
+ } & {
5392
+ readonly default: undefined;
5393
+ };
5321
5394
  readonly center: BooleanConstructor;
5322
- readonly alignCenter: BooleanConstructor;
5395
+ readonly alignCenter: {
5396
+ readonly type: import("vue").PropType<boolean>;
5397
+ readonly required: false;
5398
+ readonly validator: ((val: unknown) => boolean) | undefined;
5399
+ __epPropKey: true;
5400
+ } & {
5401
+ readonly default: undefined;
5402
+ };
5323
5403
  readonly closeIcon: {
5324
5404
  readonly type: import("vue").PropType<unknown>;
5325
5405
  readonly required: false;
5326
5406
  readonly validator: ((val: unknown) => boolean) | undefined;
5327
5407
  __epPropKey: true;
5328
5408
  };
5329
- readonly draggable: BooleanConstructor;
5330
- readonly overflow: BooleanConstructor;
5409
+ readonly draggable: {
5410
+ readonly type: import("vue").PropType<boolean>;
5411
+ readonly required: false;
5412
+ readonly validator: ((val: unknown) => boolean) | undefined;
5413
+ __epPropKey: true;
5414
+ } & {
5415
+ readonly default: undefined;
5416
+ };
5417
+ readonly overflow: {
5418
+ readonly type: import("vue").PropType<boolean>;
5419
+ readonly required: false;
5420
+ readonly validator: ((val: unknown) => boolean) | undefined;
5421
+ __epPropKey: true;
5422
+ } & {
5423
+ readonly default: undefined;
5424
+ };
5331
5425
  readonly fullscreen: BooleanConstructor;
5332
5426
  readonly showClose: {
5333
5427
  readonly type: import("vue").PropType<boolean>;
@@ -5378,12 +5472,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5378
5472
  readonly title: string;
5379
5473
  readonly center: boolean;
5380
5474
  readonly overflow: boolean;
5475
+ readonly transition: unknown;
5381
5476
  readonly modelValue: boolean;
5382
5477
  readonly ariaLevel: string;
5383
5478
  readonly appendTo: string | HTMLElement;
5384
- readonly showClose: boolean;
5385
5479
  readonly alignCenter: boolean;
5386
5480
  readonly draggable: boolean;
5481
+ readonly showClose: boolean;
5387
5482
  readonly fullscreen: boolean;
5388
5483
  readonly closeOnClickModal: boolean;
5389
5484
  readonly closeOnPressEscape: boolean;
@@ -5394,6 +5489,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5394
5489
  readonly headerAriaLevel: string;
5395
5490
  readonly appendToBody: boolean;
5396
5491
  readonly destroyOnClose: boolean;
5492
+ readonly modalPenetrable: boolean;
5397
5493
  readonly trapFocus: boolean;
5398
5494
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
5399
5495
  $slots: {
@@ -9,8 +9,9 @@ var vue = require('vue');
9
9
  var utilsObject = require('@vunk/core/shared/utils-object');
10
10
  var elementPlus$1 = require('@vunk/form/shared/element-plus');
11
11
  var index = require('../index.cjs');
12
- var utilsFunction = require('@vunk/core/shared/utils-function');
13
12
  var utilsFetch = require('@vunk/core/shared/utils-fetch');
13
+ var utilsFunction = require('@vunk/core/shared/utils-function');
14
+ var _function = require('@vunk/shared/function');
14
15
  var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
15
16
  var composables = require('@vunk/form/composables');
16
17
  var progress = require('@vunk/form/shared/progress-it');
@@ -22,10 +23,7 @@ const props = {
22
23
  type: String,
23
24
  default: ""
24
25
  },
25
- preview: {
26
- type: Boolean,
27
- default: false
28
- },
26
+ preview: null,
29
27
  beforeUpload: {
30
28
  type: Function,
31
29
  default: void 0
@@ -81,7 +79,8 @@ var _sfc_main$1 = vue.defineComponent({
81
79
  Close: index.close_default,
82
80
  CircleCheck: index.circle_check_default,
83
81
  Document: index.document_default,
84
- Download: index.download_default
82
+ Download: index.download_default,
83
+ ElButton: elementPlus.ElButton
85
84
  },
86
85
  props: {
87
86
  listType: {
@@ -105,12 +104,12 @@ var _sfc_main$1 = vue.defineComponent({
105
104
  default: void 0
106
105
  },
107
106
  preview: {
108
- type: Boolean,
107
+ type: [Boolean, Function],
109
108
  default: false
110
109
  }
111
110
  },
112
111
  emits: {
113
- "remove": (e) => e
112
+ remove: (e) => e
114
113
  },
115
114
  setup(props, { emit }) {
116
115
  const nsUpload = elementPlus.useNamespace("upload");
@@ -137,12 +136,23 @@ var _sfc_main$1 = vue.defineComponent({
137
136
  method: "GET"
138
137
  });
139
138
  };
139
+ const previewable = vue.computed(() => {
140
+ if (_function.isCallable(props.preview)) {
141
+ return props.preview(props.file);
142
+ }
143
+ return props.preview;
144
+ });
145
+ const handlePreview = (file = props.file) => {
146
+ previewable.value && props.onPreview(file);
147
+ };
140
148
  return {
141
149
  handleRemove,
142
150
  t,
143
151
  nsIcon,
144
152
  nsUpload,
145
- handleDownload
153
+ handleDownload,
154
+ handlePreview,
155
+ previewable
146
156
  };
147
157
  }
148
158
  });
@@ -150,13 +160,14 @@ var _sfc_main$1 = vue.defineComponent({
150
160
  const _hoisted_1$1 = ["src"];
151
161
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
152
162
  const _component_Document = vue.resolveComponent("Document");
153
- const _component_el_icon = vue.resolveComponent("el-icon");
163
+ const _component_ElIcon = vue.resolveComponent("ElIcon");
154
164
  const _component_Download = vue.resolveComponent("Download");
155
- const _component_el_progress = vue.resolveComponent("el-progress");
156
- const _component_circle_check = vue.resolveComponent("circle-check");
165
+ const _component_ElButton = vue.resolveComponent("ElButton");
166
+ const _component_ElProgress = vue.resolveComponent("ElProgress");
167
+ const _component_CircleCheck = vue.resolveComponent("CircleCheck");
157
168
  const _component_Check = vue.resolveComponent("Check");
158
169
  const _component_Close = vue.resolveComponent("Close");
159
- const _component_zoom_in = vue.resolveComponent("zoom-in");
170
+ const _component_ZoomIn = vue.resolveComponent("ZoomIn");
160
171
  const _component_Delete = vue.resolveComponent("Delete");
161
172
  return vue.openBlock(), vue.createElementBlock(
162
173
  vue.Fragment,
@@ -172,13 +183,19 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
172
183
  class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-thumbnail")),
173
184
  src: _ctx.file.url,
174
185
  alt: ""
175
- }, null, 10, _hoisted_1$1)) : (vue.openBlock(), vue.createBlock(_component_Document, { key: 1 }))
186
+ }, null, 10, _hoisted_1$1)) : (vue.openBlock(), vue.createBlock(_component_Document, {
187
+ key: 1,
188
+ class: vue.normalizeClass([
189
+ _ctx.nsUpload.be("list", "item-thumbnail"),
190
+ _ctx.nsIcon.m("document")
191
+ ])
192
+ }, null, 8, ["class"]))
176
193
  ],
177
194
  64
178
195
  /* STABLE_FRAGMENT */
179
196
  )) : vue.createCommentVNode("v-if", true),
180
197
  vue.createCommentVNode(" text "),
181
- _ctx.listType !== "picture" && (_ctx.file.status === "uploading" || _ctx.listType !== "picture-card") ? (vue.openBlock(), vue.createElementBlock(
198
+ _ctx.listType !== "picture-card" || _ctx.file.status === "uploading" ? (vue.openBlock(), vue.createElementBlock(
182
199
  "div",
183
200
  {
184
201
  key: 1,
@@ -189,10 +206,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
189
206
  "a",
190
207
  {
191
208
  class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-name")),
192
- onClick: _cache[1] || (_cache[1] = vue.withModifiers(($event) => _ctx.onPreview(_ctx.file), ["prevent"]))
209
+ onClick: _cache[1] || (_cache[1] = vue.withModifiers(($event) => _ctx.handlePreview(_ctx.file), ["prevent"]))
193
210
  },
194
211
  [
195
- vue.createVNode(_component_el_icon, {
212
+ vue.createVNode(_component_ElIcon, {
196
213
  class: vue.normalizeClass(_ctx.nsIcon.m("document"))
197
214
  }, {
198
215
  default: vue.withCtx(() => [
@@ -201,12 +218,12 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
201
218
  _: 1
202
219
  /* STABLE */
203
220
  }, 8, ["class"]),
204
- vue.createVNode(_component_el_icon, {
221
+ vue.createVNode(_component_ElIcon, {
205
222
  class: vue.normalizeClass([
206
223
  _ctx.nsIcon.m("download"),
207
224
  _ctx.nsIcon.m("download-primary")
208
225
  ]),
209
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.handleDownload(_ctx.file))
226
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => _ctx.handleDownload(_ctx.file), ["stop"]))
210
227
  }, {
211
228
  default: vue.withCtx(() => [
212
229
  vue.createVNode(_component_Download)
@@ -227,8 +244,47 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
227
244
  2
228
245
  /* CLASS */
229
246
  ),
230
- _ctx.file.status === "uploading" ? (vue.openBlock(), vue.createBlock(_component_el_progress, {
231
- key: 0,
247
+ _ctx.listType === "picture" ? (vue.openBlock(), vue.createElementBlock(
248
+ "div",
249
+ {
250
+ key: 0,
251
+ class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-file-actions"))
252
+ },
253
+ [
254
+ vue.createCommentVNode(" \u9884\u89C8 "),
255
+ vue.createVNode(_component_ElButton, {
256
+ disabled: !_ctx.previewable,
257
+ plain: "",
258
+ size: "small",
259
+ round: "",
260
+ onClick: _cache[2] || (_cache[2] = ($event) => _ctx.handlePreview(_ctx.file))
261
+ }, {
262
+ default: vue.withCtx(() => _cache[8] || (_cache[8] = [
263
+ vue.createTextVNode(" \u9884\u89C8 ")
264
+ ])),
265
+ _: 1,
266
+ __: [8]
267
+ }, 8, ["disabled"]),
268
+ vue.createCommentVNode(" \u4E0B\u8F7D "),
269
+ vue.createVNode(_component_ElButton, {
270
+ plain: "",
271
+ size: "small",
272
+ round: "",
273
+ type: "primary",
274
+ onClick: _cache[3] || (_cache[3] = ($event) => _ctx.handleDownload(_ctx.file))
275
+ }, {
276
+ default: vue.withCtx(() => _cache[9] || (_cache[9] = [
277
+ vue.createTextVNode(" \u4E0B\u8F7D ")
278
+ ])),
279
+ _: 1,
280
+ __: [9]
281
+ })
282
+ ],
283
+ 2
284
+ /* CLASS */
285
+ )) : vue.createCommentVNode("v-if", true),
286
+ _ctx.file.status === "uploading" ? (vue.openBlock(), vue.createBlock(_component_ElProgress, {
287
+ key: 1,
232
288
  type: _ctx.listType === "picture-card" ? "circle" : "line",
233
289
  "stroke-width": _ctx.listType === "picture-card" ? 6 : 2,
234
290
  percentage: Number(_ctx.file.percentage),
@@ -238,13 +294,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
238
294
  2
239
295
  /* CLASS */
240
296
  )) : vue.createCommentVNode("v-if", true),
297
+ vue.createCommentVNode(" label "),
241
298
  vue.createElementVNode(
242
299
  "label",
243
300
  {
244
301
  class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-status-label"))
245
302
  },
246
303
  [
247
- _ctx.listType === "text" ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
304
+ _ctx.listType === "text" ? (vue.openBlock(), vue.createBlock(_component_ElIcon, {
248
305
  key: 0,
249
306
  class: vue.normalizeClass([
250
307
  _ctx.nsIcon.m("upload-success"),
@@ -252,11 +309,11 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
252
309
  ])
253
310
  }, {
254
311
  default: vue.withCtx(() => [
255
- vue.createVNode(_component_circle_check)
312
+ vue.createVNode(_component_CircleCheck)
256
313
  ]),
257
314
  _: 1
258
315
  /* STABLE */
259
- }, 8, ["class"])) : ["picture-card", "picture"].includes(_ctx.listType) ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
316
+ }, 8, ["class"])) : ["picture-card", "picture"].includes(_ctx.listType) ? (vue.openBlock(), vue.createBlock(_component_ElIcon, {
260
317
  key: 1,
261
318
  class: vue.normalizeClass([_ctx.nsIcon.m("upload-success"), _ctx.nsIcon.m("check")])
262
319
  }, {
@@ -270,10 +327,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
270
327
  2
271
328
  /* CLASS */
272
329
  ),
273
- !_ctx.disabled ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
330
+ !_ctx.disabled ? (vue.openBlock(), vue.createBlock(_component_ElIcon, {
274
331
  key: 2,
275
332
  class: vue.normalizeClass(_ctx.nsIcon.m("close")),
276
- onClick: _cache[2] || (_cache[2] = ($event) => _ctx.handleRemove(_ctx.file))
333
+ onClick: _cache[4] || (_cache[4] = ($event) => _ctx.handleRemove(_ctx.file))
277
334
  }, {
278
335
  default: vue.withCtx(() => [
279
336
  vue.createVNode(_component_Close)
@@ -281,7 +338,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
281
338
  _: 1
282
339
  /* STABLE */
283
340
  }, 8, ["class"])) : vue.createCommentVNode("v-if", true),
284
- vue.createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),
341
+ vue.createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn "),
285
342
  vue.createCommentVNode(" This is a bug which needs to be fixed "),
286
343
  vue.createCommentVNode(" TODO: Fix the incorrect navigation interaction "),
287
344
  vue.createCommentVNode(` <i v-if="!disabled" :class="nsIcon.m('close-tip')">{{
@@ -295,19 +352,20 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
295
352
  class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-actions"))
296
353
  },
297
354
  [
298
- _ctx.preview ? (vue.openBlock(), vue.createElementBlock(
355
+ vue.createCommentVNode(" \u9884\u89C8 "),
356
+ _ctx.previewable ? (vue.openBlock(), vue.createElementBlock(
299
357
  "span",
300
358
  {
301
359
  key: 0,
302
360
  class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-preview")),
303
- onClick: _cache[3] || (_cache[3] = ($event) => _ctx.onPreview(_ctx.file))
361
+ onClick: _cache[5] || (_cache[5] = ($event) => _ctx.handlePreview(_ctx.file))
304
362
  },
305
363
  [
306
- vue.createVNode(_component_el_icon, {
364
+ vue.createVNode(_component_ElIcon, {
307
365
  class: vue.normalizeClass(_ctx.nsIcon.m("zoom-in"))
308
366
  }, {
309
367
  default: vue.withCtx(() => [
310
- vue.createVNode(_component_zoom_in)
368
+ vue.createVNode(_component_ZoomIn)
311
369
  ]),
312
370
  _: 1
313
371
  /* STABLE */
@@ -321,10 +379,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
321
379
  "span",
322
380
  {
323
381
  class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-download")),
324
- onClick: _cache[4] || (_cache[4] = ($event) => _ctx.handleDownload(_ctx.file))
382
+ onClick: _cache[6] || (_cache[6] = ($event) => _ctx.handleDownload(_ctx.file))
325
383
  },
326
384
  [
327
- vue.createVNode(_component_el_icon, {
385
+ vue.createVNode(_component_ElIcon, {
328
386
  class: vue.normalizeClass(_ctx.nsIcon.m("download"))
329
387
  }, {
330
388
  default: vue.withCtx(() => [
@@ -342,10 +400,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
342
400
  {
343
401
  key: 1,
344
402
  class: vue.normalizeClass(_ctx.nsUpload.be("list", "item-delete")),
345
- onClick: _cache[5] || (_cache[5] = ($event) => _ctx.handleRemove(_ctx.file))
403
+ onClick: _cache[7] || (_cache[7] = ($event) => _ctx.handleRemove(_ctx.file))
346
404
  },
347
405
  [
348
- vue.createVNode(_component_el_icon, {
406
+ vue.createVNode(_component_ElIcon, {
349
407
  class: vue.normalizeClass(_ctx.nsIcon.m("delete"))
350
408
  }, {
351
409
  default: vue.withCtx(() => [
@@ -7,6 +7,9 @@
7
7
  .el-upload-list__item-name .el-icon.el-icon--download-primary{
8
8
  color: var(--el-color-primary);
9
9
  }
10
+ .el-upload-list__item-file-actions{
11
+ margin-top: 4px;
12
+ }
10
13
  .vkf-upload {
11
14
  width: 100%;
12
15
  }