@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.
Files changed (176) hide show
  1. package/components/download-plus/index.cjs +4 -4
  2. package/components/download-plus/index.mjs +4 -4
  3. package/components/form-item/index.cjs +3 -4
  4. package/components/form-item/index.mjs +3 -4
  5. package/components/input/index.cjs +2 -2
  6. package/components/input/index.mjs +2 -2
  7. package/components/monaco-editor/index.cjs +83 -0
  8. package/components/monaco-editor/index.css +3 -0
  9. package/components/monaco-editor/index.mjs +77 -0
  10. package/components/slider/index.cjs +3 -3
  11. package/components/slider/index.mjs +3 -3
  12. package/components/templates-default/index.cjs +41 -26
  13. package/components/templates-default/index.mjs +41 -26
  14. package/components/upload/index.cjs +2 -2
  15. package/components/upload/index.mjs +2 -2
  16. package/components/upload-plus/index.cjs +19 -20
  17. package/components/upload-plus/index.mjs +19 -20
  18. package/components/vditor/index.cjs +43 -408
  19. package/components/vditor/index.mjs +44 -409
  20. package/composables/useSourceManager.d.ts +1 -1
  21. package/index.css +4 -13
  22. package/package.json +9 -4
  23. package/shared/element-plus/ctx.d.ts +3 -3
  24. package/shared/element-plus/instances.d.ts +2 -2
  25. package/components/button/index.d.ts +0 -4
  26. package/components/button/src/ctx.d.ts +0 -96
  27. package/components/button/src/index.vue.d.ts +0 -219
  28. package/components/button/src/types.d.ts +0 -13
  29. package/components/cascader/index.d.ts +0 -6
  30. package/components/cascader/src/ctx.d.ts +0 -120
  31. package/components/cascader/src/index.vue.d.ts +0 -291
  32. package/components/cascader/src/types.d.ts +0 -7
  33. package/components/cascader/src/use.d.ts +0 -5
  34. package/components/checkbox/index.d.ts +0 -5
  35. package/components/checkbox/src/ctx.d.ts +0 -89
  36. package/components/checkbox/src/index.vue.d.ts +0 -203
  37. package/components/checkbox/src/types.d.ts +0 -8
  38. package/components/color-picker/index.d.ts +0 -4
  39. package/components/color-picker/src/ctx.d.ts +0 -80
  40. package/components/color-picker/src/index.vue.d.ts +0 -192
  41. package/components/color-picker/src/types.d.ts +0 -7
  42. package/components/date-picker/index.d.ts +0 -5
  43. package/components/date-picker/src/ctx.d.ts +0 -158
  44. package/components/date-picker/src/index.vue.d.ts +0 -376
  45. package/components/date-picker/src/types.d.ts +0 -20
  46. package/components/date-picker-range/index.d.ts +0 -4
  47. package/components/date-picker-range/src/ctx.d.ts +0 -177
  48. package/components/date-picker-range/src/index.vue.d.ts +0 -398
  49. package/components/date-picker-range/src/types.d.ts +0 -12
  50. package/components/download-plus/index.d.ts +0 -4
  51. package/components/download-plus/src/api.d.ts +0 -13
  52. package/components/download-plus/src/const.d.ts +0 -9
  53. package/components/download-plus/src/ctx.d.ts +0 -84
  54. package/components/download-plus/src/index.vue.d.ts +0 -206
  55. package/components/download-plus/src/types.d.ts +0 -17
  56. package/components/esri-input-geojson/index.d.ts +0 -6
  57. package/components/esri-input-geojson/src/append.vue.d.ts +0 -32
  58. package/components/esri-input-geojson/src/const.d.ts +0 -12
  59. package/components/esri-input-geojson/src/ctx.d.ts +0 -223
  60. package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
  61. package/components/esri-input-geojson/src/index.vue.d.ts +0 -549
  62. package/components/esri-input-geojson/src/types.d.ts +0 -22
  63. package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -296
  64. package/components/form/index.d.ts +0 -5
  65. package/components/form/src/ctx.d.ts +0 -84
  66. package/components/form/src/index.vue.d.ts +0 -455
  67. package/components/form/src/types.d.ts +0 -12
  68. package/components/form/src/utils.d.ts +0 -15
  69. package/components/form-item/index.d.ts +0 -5
  70. package/components/form-item/src/ctx.d.ts +0 -62
  71. package/components/form-item/src/index.vue.d.ts +0 -140
  72. package/components/form-item/src/types.d.ts +0 -6
  73. package/components/form-item-renderer/index.d.ts +0 -5
  74. package/components/form-item-renderer/src/ctx.d.ts +0 -16
  75. package/components/form-item-renderer/src/index.vue.d.ts +0 -38
  76. package/components/form-item-renderer/src/symbols.d.ts +0 -2
  77. package/components/form-item-renderer/src/types.d.ts +0 -7
  78. package/components/form-item-renderer-template/index.d.ts +0 -4
  79. package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
  80. package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
  81. package/components/form-item-renderer-template/src/types.d.ts +0 -1
  82. package/components/geoinput/index.d.ts +0 -4
  83. package/components/geoinput/src/ctx.d.ts +0 -228
  84. package/components/geoinput/src/index.vue.d.ts +0 -496
  85. package/components/geoinput/src/types.d.ts +0 -12
  86. package/components/geoinput-read/index.d.ts +0 -5
  87. package/components/geoinput-read/src/append.vue.d.ts +0 -6
  88. package/components/geoinput-read/src/core.vue.d.ts +0 -482
  89. package/components/geoinput-read/src/ctx.d.ts +0 -199
  90. package/components/geoinput-read/src/index.vue.d.ts +0 -441
  91. package/components/geoinput-read/src/types.d.ts +0 -3
  92. package/components/geoinput-update/index.d.ts +0 -5
  93. package/components/geoinput-update/src/append.vue.d.ts +0 -20
  94. package/components/geoinput-update/src/ctx.d.ts +0 -207
  95. package/components/geoinput-update/src/index.vue.d.ts +0 -508
  96. package/components/geoinput-update/src/types.d.ts +0 -6
  97. package/components/input/index.d.ts +0 -5
  98. package/components/input/src/ctx.d.ts +0 -148
  99. package/components/input/src/index.vue.d.ts +0 -343
  100. package/components/input/src/types.d.ts +0 -13
  101. package/components/input-link/index.d.ts +0 -4
  102. package/components/input-link/src/ctx.d.ts +0 -179
  103. package/components/input-link/src/index.vue.d.ts +0 -373
  104. package/components/input-link/src/types.d.ts +0 -7
  105. package/components/input-number/index.d.ts +0 -4
  106. package/components/input-number/src/ctx.d.ts +0 -90
  107. package/components/input-number/src/index.vue.d.ts +0 -216
  108. package/components/input-number/src/types.d.ts +0 -8
  109. package/components/radio/index.d.ts +0 -4
  110. package/components/radio/src/ctx.d.ts +0 -82
  111. package/components/radio/src/index.vue.d.ts +0 -195
  112. package/components/radio/src/types.d.ts +0 -8
  113. package/components/select/index.d.ts +0 -4
  114. package/components/select/src/ctx.d.ts +0 -156
  115. package/components/select/src/index.vue.d.ts +0 -492
  116. package/components/select/src/types.d.ts +0 -11
  117. package/components/slider/index.d.ts +0 -4
  118. package/components/slider/src/ctx.d.ts +0 -127
  119. package/components/slider/src/index.vue.d.ts +0 -328
  120. package/components/slider/src/types.d.ts +0 -7
  121. package/components/switch/index.d.ts +0 -4
  122. package/components/switch/src/ctx.d.ts +0 -114
  123. package/components/switch/src/index.vue.d.ts +0 -273
  124. package/components/switch/src/types.d.ts +0 -8
  125. package/components/templates-default/index.d.ts +0 -4
  126. package/components/templates-default/src/ctx.d.ts +0 -19
  127. package/components/templates-default/src/index.vue.d.ts +0 -43
  128. package/components/templates-default/src/types.d.ts +0 -53
  129. package/components/templates-element-plus/index.d.ts +0 -4
  130. package/components/templates-element-plus/src/ctx.d.ts +0 -9
  131. package/components/templates-element-plus/src/index.vue.d.ts +0 -19
  132. package/components/templates-element-plus/src/types.d.ts +0 -13
  133. package/components/templates-esri/index.d.ts +0 -4
  134. package/components/templates-esri/src/ctx.d.ts +0 -11
  135. package/components/templates-esri/src/index.vue.d.ts +0 -20
  136. package/components/templates-esri/src/types.d.ts +0 -2
  137. package/components/templates-layout/index.d.ts +0 -4
  138. package/components/templates-layout/src/ctx.d.ts +0 -9
  139. package/components/templates-layout/src/index.vue.d.ts +0 -19
  140. package/components/templates-layout/src/types.d.ts +0 -32
  141. package/components/templates-mapbox/index.d.ts +0 -4
  142. package/components/templates-mapbox/src/ctx.d.ts +0 -11
  143. package/components/templates-mapbox/src/index.vue.d.ts +0 -20
  144. package/components/templates-mapbox/src/types.d.ts +0 -3
  145. package/components/templates-variant/index.d.ts +0 -4
  146. package/components/templates-variant/src/ctx.d.ts +0 -11
  147. package/components/templates-variant/src/index.vue.d.ts +0 -20
  148. package/components/templates-variant/src/types.d.ts +0 -2
  149. package/components/upload/index.d.ts +0 -5
  150. package/components/upload/src/ctx.d.ts +0 -180
  151. package/components/upload/src/file.vue.d.ts +0 -106
  152. package/components/upload/src/index.vue.d.ts +0 -427
  153. package/components/upload/src/types.d.ts +0 -7
  154. package/components/upload-plus/index.d.ts +0 -6
  155. package/components/upload-plus/src/api.d.ts +0 -38
  156. package/components/upload-plus/src/const.d.ts +0 -9
  157. package/components/upload-plus/src/ctx.d.ts +0 -103
  158. package/components/upload-plus/src/index.vue.d.ts +0 -215
  159. package/components/upload-plus/src/types.d.ts +0 -32
  160. package/components/van-cascader/index.d.ts +0 -4
  161. package/components/van-cascader/src/ctx.d.ts +0 -118
  162. package/components/van-cascader/src/index.vue.d.ts +0 -275
  163. package/components/van-cascader/src/types.d.ts +0 -1
  164. package/components/var-datetime-picker/index.d.ts +0 -4
  165. package/components/var-datetime-picker/src/const.d.ts +0 -10
  166. package/components/var-datetime-picker/src/ctx.d.ts +0 -67
  167. package/components/var-datetime-picker/src/index.vue.d.ts +0 -157
  168. package/components/var-datetime-picker/src/types.d.ts +0 -22
  169. package/components/vditor/index.css +0 -12
  170. package/components/vditor/index.d.ts +0 -4
  171. package/components/vditor/src/ctx.d.ts +0 -31
  172. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  173. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  174. package/components/vditor/src/index.vue.d.ts +0 -66
  175. package/components/vditor/src/types.d.ts +0 -9
  176. 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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- fileList: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["fileList", "onUpdate:fileList"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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
- modelValue: _ctx.getFormDataValue(raw),
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
- }, sourceData), null, 16, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
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(VkfTemplatesDefault.name, VkfTemplatesDefault);
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 = /* @__PURE__ */ vue.createElementVNode(
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 _hoisted_6 = ["id", "accept"];
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
- _hoisted_4
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", _hoisted_5, [
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, _hoisted_6),
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 = /* @__PURE__ */ createElementVNode(
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 _hoisted_6 = ["id", "accept"];
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
- _hoisted_4
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", _hoisted_5, [
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, _hoisted_6),
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"]))