iov-design 2.15.60 → 2.15.62

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 (242) hide show
  1. package/README.md +148 -148
  2. package/lib/alert.js +24 -105
  3. package/lib/aside.js +24 -34
  4. package/lib/autocomplete.js +36 -240
  5. package/lib/avatar.js +21 -20
  6. package/lib/backtop.js +27 -52
  7. package/lib/badge.js +30 -58
  8. package/lib/breadcrumb-item.js +24 -53
  9. package/lib/breadcrumb.js +24 -37
  10. package/lib/button-group.js +24 -29
  11. package/lib/button.js +38 -60
  12. package/lib/calendar.js +29 -146
  13. package/lib/card.js +24 -51
  14. package/lib/carousel-item.js +30 -68
  15. package/lib/carousel.js +27 -159
  16. package/lib/cascader-panel.js +41 -64
  17. package/lib/cascader.js +37 -470
  18. package/lib/checkbox-button.js +28 -164
  19. package/lib/checkbox-group.js +24 -37
  20. package/lib/checkbox.js +35 -189
  21. package/lib/col.js +1 -0
  22. package/lib/collapse-item.js +27 -125
  23. package/lib/collapse.js +24 -37
  24. package/lib/color-picker.js +104 -424
  25. package/lib/container.js +24 -34
  26. package/lib/date-picker.js +126 -1981
  27. package/lib/descriptions-item.js +1 -0
  28. package/lib/descriptions.js +1 -0
  29. package/lib/dialog.js +24 -137
  30. package/lib/divider.js +29 -64
  31. package/lib/drawer.js +24 -139
  32. package/lib/dropdown-item.js +27 -45
  33. package/lib/dropdown-menu.js +24 -51
  34. package/lib/dropdown.js +21 -20
  35. package/lib/empty.js +24 -61
  36. package/lib/footer.js +24 -34
  37. package/lib/form-item.js +42 -128
  38. package/lib/form.js +27 -40
  39. package/lib/header.js +24 -34
  40. package/lib/icon.js +24 -29
  41. package/lib/image.js +36 -220
  42. package/lib/index.js +1 -1
  43. package/lib/infinite-scroll.js +1 -0
  44. package/lib/input-number.js +30 -163
  45. package/lib/input.js +42 -274
  46. package/lib/iov-design.common.js +1635 -11132
  47. package/lib/link.js +31 -56
  48. package/lib/loading.js +24 -77
  49. package/lib/locale/format.js +10 -10
  50. package/lib/main.js +24 -29
  51. package/lib/menu-item-group.js +24 -40
  52. package/lib/menu-item.js +27 -83
  53. package/lib/menu.js +21 -20
  54. package/lib/message-box.js +24 -321
  55. package/lib/message.js +30 -82
  56. package/lib/mixins/migrating.js +20 -20
  57. package/lib/notification.js +24 -109
  58. package/lib/option-group.js +24 -50
  59. package/lib/option.js +27 -76
  60. package/lib/page-header.js +24 -56
  61. package/lib/pagination.js +24 -97
  62. package/lib/popconfirm.js +24 -97
  63. package/lib/popover.js +24 -89
  64. package/lib/progress.js +30 -133
  65. package/lib/radio-button.js +29 -111
  66. package/lib/radio-group.js +24 -39
  67. package/lib/radio.js +36 -152
  68. package/lib/rate.js +24 -94
  69. package/lib/result.js +72 -187
  70. package/lib/row.js +1 -0
  71. package/lib/scrollbar.js +1 -0
  72. package/lib/select.js +48 -637
  73. package/lib/skeleton-item.js +36 -68
  74. package/lib/skeleton.js +28 -70
  75. package/lib/slider.js +36 -267
  76. package/lib/spinner.js +24 -51
  77. package/lib/statistic.js +24 -76
  78. package/lib/step.js +29 -118
  79. package/lib/steps.js +27 -40
  80. package/lib/submenu.js +21 -20
  81. package/lib/switch.js +24 -130
  82. package/lib/tab-pane.js +24 -52
  83. package/lib/table-column.js +1 -0
  84. package/lib/table.js +93 -633
  85. package/lib/tabs.js +34 -49
  86. package/lib/tag.js +21 -20
  87. package/lib/theme-chalk/autocomplete.css +1 -1
  88. package/lib/theme-chalk/base.css +1 -1
  89. package/lib/theme-chalk/cascader.css +1 -1
  90. package/lib/theme-chalk/date-picker.css +1 -1
  91. package/lib/theme-chalk/index.css +1 -1
  92. package/lib/theme-chalk/input-number.css +1 -1
  93. package/lib/theme-chalk/input.css +1 -1
  94. package/lib/theme-chalk/iovfont.css +1 -1
  95. package/lib/theme-chalk/link.css +1 -1
  96. package/lib/theme-chalk/message-box.css +1 -1
  97. package/lib/theme-chalk/pagination.css +1 -1
  98. package/lib/theme-chalk/select.css +1 -1
  99. package/lib/theme-chalk/slider.css +1 -1
  100. package/lib/theme-chalk/time-picker.css +1 -1
  101. package/lib/theme-chalk/transfer.css +1 -1
  102. package/lib/time-picker.js +58 -820
  103. package/lib/time-select.js +42 -303
  104. package/lib/timeline-item.js +29 -75
  105. package/lib/timeline.js +21 -20
  106. package/lib/tooltip.js +1 -0
  107. package/lib/transfer.js +36 -299
  108. package/lib/tree.js +54 -243
  109. package/lib/upload.js +86 -654
  110. package/lib/utils/clickoutside.js +7 -7
  111. package/lib/utils/vue-popper.js +7 -7
  112. package/package.json +154 -154
  113. package/packages/autocomplete/src/autocomplete-suggestions.vue +76 -76
  114. package/packages/autocomplete/src/autocomplete.vue +285 -285
  115. package/packages/button/src/button.vue +90 -90
  116. package/packages/calendar/src/date-table.vue +200 -200
  117. package/packages/calendar/src/main.vue +280 -280
  118. package/packages/carousel/src/item.vue +138 -138
  119. package/packages/carousel/src/main.vue +315 -315
  120. package/packages/cascader/src/cascader.vue +776 -776
  121. package/packages/cascader-panel/src/cascader-menu.vue +138 -138
  122. package/packages/cascader-panel/src/cascader-node.vue +246 -246
  123. package/packages/cascader-panel/src/cascader-panel.vue +391 -391
  124. package/packages/cascader-panel/src/node.js +166 -166
  125. package/packages/cascader-panel/src/store.js +58 -58
  126. package/packages/checkbox/src/checkbox-button.vue +199 -199
  127. package/packages/checkbox/src/checkbox-group.vue +49 -49
  128. package/packages/checkbox/src/checkbox.vue +225 -225
  129. package/packages/collapse/src/collapse-item.vue +114 -114
  130. package/packages/color-picker/src/components/picker-dropdown.vue +121 -121
  131. package/packages/color-picker/src/main.vue +188 -188
  132. package/packages/date-picker/src/basic/date-table.vue +441 -441
  133. package/packages/date-picker/src/basic/month-table.vue +269 -269
  134. package/packages/date-picker/src/basic/time-spinner.vue +304 -304
  135. package/packages/date-picker/src/basic/year-table.vue +111 -111
  136. package/packages/date-picker/src/panel/date-range.vue +680 -680
  137. package/packages/date-picker/src/panel/date.vue +609 -609
  138. package/packages/date-picker/src/panel/month-range.vue +289 -289
  139. package/packages/date-picker/src/panel/time-range.vue +248 -248
  140. package/packages/date-picker/src/panel/time-select.vue +178 -178
  141. package/packages/date-picker/src/panel/time.vue +186 -186
  142. package/packages/date-picker/src/picker.vue +967 -967
  143. package/packages/descriptions/src/index.js +180 -180
  144. package/packages/dialog/src/component.vue +262 -262
  145. package/packages/drawer/src/main.vue +205 -205
  146. package/packages/dropdown/src/dropdown-item.vue +37 -37
  147. package/packages/dropdown/src/dropdown-menu.vue +63 -63
  148. package/packages/dropdown/src/dropdown.vue +293 -293
  149. package/packages/empty/src/index.vue +70 -70
  150. package/packages/form/src/form-item.vue +324 -324
  151. package/packages/form/src/form.vue +182 -182
  152. package/packages/image/src/image-viewer.vue +330 -330
  153. package/packages/image/src/main.vue +249 -249
  154. package/packages/infinite-scroll/src/main.js +150 -150
  155. package/packages/input/src/input.vue +477 -477
  156. package/packages/input-number/src/input-number.vue +283 -283
  157. package/packages/loading/src/directive.js +133 -133
  158. package/packages/loading/src/index.js +106 -106
  159. package/packages/menu/src/menu-item.vue +112 -112
  160. package/packages/menu/src/menu.vue +325 -325
  161. package/packages/menu/src/submenu.vue +349 -349
  162. package/packages/message/src/main.js +91 -91
  163. package/packages/message-box/src/main.js +216 -216
  164. package/packages/message-box/src/main.vue +333 -333
  165. package/packages/notification/src/main.js +94 -94
  166. package/packages/page-header/src/main.vue +30 -30
  167. package/packages/pagination/src/pagination.js +390 -390
  168. package/packages/popconfirm/src/main.vue +104 -104
  169. package/packages/popover/src/main.vue +239 -239
  170. package/packages/radio/src/radio-button.vue +115 -115
  171. package/packages/radio/src/radio-group.vue +115 -115
  172. package/packages/radio/src/radio.vue +148 -148
  173. package/packages/rate/src/main.vue +348 -348
  174. package/packages/scrollbar/src/bar.js +92 -92
  175. package/packages/scrollbar/src/main.js +130 -130
  176. package/packages/select/src/option-group.vue +60 -60
  177. package/packages/select/src/option.vue +171 -171
  178. package/packages/select/src/select-dropdown.vue +74 -74
  179. package/packages/select/src/select.vue +979 -979
  180. package/packages/slider/src/button.vue +238 -238
  181. package/packages/slider/src/main.vue +427 -427
  182. package/packages/statistic/src/main.vue +204 -204
  183. package/packages/steps/src/steps.vue +68 -68
  184. package/packages/switch/src/component.vue +182 -182
  185. package/packages/table/src/config.js +153 -153
  186. package/packages/table/src/filter-panel.vue +194 -194
  187. package/packages/table/src/store/current.js +76 -76
  188. package/packages/table/src/store/helper.js +41 -41
  189. package/packages/table/src/store/index.js +147 -147
  190. package/packages/table/src/store/watcher.js +502 -502
  191. package/packages/table/src/table-body.js +469 -469
  192. package/packages/table/src/table-column.js +328 -328
  193. package/packages/table/src/table-header.js +571 -571
  194. package/packages/table/src/table-layout.js +249 -249
  195. package/packages/table/src/table-row.js +101 -101
  196. package/packages/table/src/table.vue +740 -740
  197. package/packages/table/src/util.js +273 -273
  198. package/packages/tabs/src/tab-bar.vue +57 -57
  199. package/packages/tabs/src/tab-nav.vue +294 -294
  200. package/packages/tabs/src/tabs.vue +201 -201
  201. package/packages/theme-chalk/src/button.scss +416 -416
  202. package/packages/theme-chalk/src/cascader.scss +252 -252
  203. package/packages/theme-chalk/src/checkbox.scss +419 -419
  204. package/packages/theme-chalk/src/common/var.scss +795 -795
  205. package/packages/theme-chalk/src/form.scss +201 -201
  206. package/packages/theme-chalk/src/input.scss +591 -591
  207. package/packages/theme-chalk/src/iovfont.scss +818 -803
  208. package/packages/theme-chalk/src/link.scss +8 -8
  209. package/packages/theme-chalk/src/message-box.scss +207 -207
  210. package/packages/theme-chalk/src/mixins/_button.scss +136 -136
  211. package/packages/theme-chalk/src/mixins/mixins.scss +190 -190
  212. package/packages/theme-chalk/src/radio-button.scss +115 -115
  213. package/packages/theme-chalk/src/select.scss +270 -270
  214. package/packages/theme-chalk/src/tabs.scss +755 -755
  215. package/packages/theme-chalk/src/upload.scss +568 -568
  216. package/packages/tooltip/src/main.js +242 -242
  217. package/packages/transfer/src/main.vue +231 -231
  218. package/packages/transfer/src/transfer-panel.vue +251 -251
  219. package/packages/tree/src/model/node.js +484 -484
  220. package/packages/tree/src/tree-node.vue +279 -279
  221. package/packages/tree/src/tree.vue +496 -496
  222. package/packages/upload/src/index.vue +420 -420
  223. package/packages/upload/src/upload-file.vue +98 -98
  224. package/packages/upload/src/upload-list.vue +115 -115
  225. package/packages/upload/src/upload-picture.vue +98 -98
  226. package/packages/upload/src/upload.vue +231 -231
  227. package/packages/upload/src/utils.js +31 -31
  228. package/src/directives/repeat-click.js +26 -26
  229. package/src/index.js +259 -259
  230. package/src/locale/format.js +46 -46
  231. package/src/locale/index.js +48 -48
  232. package/src/locale/lang/lo-LA.js +126 -126
  233. package/src/mixins/locale.js +9 -9
  234. package/src/mixins/migrating.js +54 -54
  235. package/src/transitions/collapse-transition.js +77 -77
  236. package/src/utils/clickoutside.js +76 -76
  237. package/src/utils/date-util.js +282 -282
  238. package/src/utils/popup/index.js +218 -218
  239. package/src/utils/popup/popup-manager.js +194 -194
  240. package/src/utils/util.js +245 -245
  241. package/src/utils/vdom.js +5 -5
  242. package/src/utils/vue-popper.js +198 -198
package/lib/upload.js CHANGED
@@ -98,20 +98,19 @@ module.exports =
98
98
  // This module is a runtime utility for cleaner component module output and will
99
99
  // be included in the final webpack user bundle.
100
100
 
101
- function normalizeComponent (
101
+ function normalizeComponent(
102
102
  scriptExports,
103
103
  render,
104
104
  staticRenderFns,
105
105
  functionalTemplate,
106
106
  injectStyles,
107
107
  scopeId,
108
- moduleIdentifier, /* server only */
108
+ moduleIdentifier /* server only */,
109
109
  shadowMode /* vue-cli only */
110
110
  ) {
111
111
  // Vue.extend constructor export interop
112
- var options = typeof scriptExports === 'function'
113
- ? scriptExports.options
114
- : scriptExports
112
+ var options =
113
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
115
114
 
116
115
  // render functions
117
116
  if (render) {
@@ -131,7 +130,8 @@ function normalizeComponent (
131
130
  }
132
131
 
133
132
  var hook
134
- if (moduleIdentifier) { // server build
133
+ if (moduleIdentifier) {
134
+ // server build
135
135
  hook = function (context) {
136
136
  // 2.3 injection
137
137
  context =
@@ -156,7 +156,12 @@ function normalizeComponent (
156
156
  options._ssrRegister = hook
157
157
  } else if (injectStyles) {
158
158
  hook = shadowMode
159
- ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
159
+ ? function () {
160
+ injectStyles.call(
161
+ this,
162
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
163
+ )
164
+ }
160
165
  : injectStyles
161
166
  }
162
167
 
@@ -165,18 +170,16 @@ function normalizeComponent (
165
170
  // for template-only hot-reload because in that case the render fn doesn't
166
171
  // go through the normalizer
167
172
  options._injectStyles = hook
168
- // register for functioal component in vue file
173
+ // register for functional component in vue file
169
174
  var originalRender = options.render
170
- options.render = function renderWithStyleInjection (h, context) {
175
+ options.render = function renderWithStyleInjection(h, context) {
171
176
  hook.call(context)
172
177
  return originalRender(h, context)
173
178
  }
174
179
  } else {
175
180
  // inject component registration as beforeCreate hook
176
181
  var existing = options.beforeCreate
177
- options.beforeCreate = existing
178
- ? [].concat(existing, hook)
179
- : [hook]
182
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
180
183
  }
181
184
  }
182
185
 
@@ -214,223 +217,19 @@ module.exports = require("iov-design/lib/progress");
214
217
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
215
218
 
216
219
  "use strict";
220
+ // ESM COMPAT FLAG
217
221
  __webpack_require__.r(__webpack_exports__);
218
222
 
219
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=template&id=173fedf5&
220
- var upload_listvue_type_template_id_173fedf5_render = function() {
221
- var _vm = this
222
- var _h = _vm.$createElement
223
- var _c = _vm._self._c || _h
224
- return _c(
225
- "ul",
226
- {
227
- class: [
228
- "el-upload-list",
229
- "el-upload-list--" + _vm.listType,
230
- { "is-disabled": _vm.disabled }
231
- ],
232
- attrs: { tag: "ul", name: "el-list" }
233
- },
234
- _vm._l(_vm.files, function(file) {
235
- return _c(
236
- "li",
237
- {
238
- key: file.uid,
239
- class: [
240
- "el-upload-list__item",
241
- "el-upload-list__item-" + _vm.size,
242
- "is-" + file.status,
243
- _vm.focusing ? "focusing" : ""
244
- ],
245
- attrs: { tabindex: "0" },
246
- on: {
247
- focus: function($event) {
248
- _vm.focusing = true
249
- },
250
- blur: function($event) {
251
- _vm.focusing = false
252
- },
253
- click: function($event) {
254
- _vm.focusing = false
255
- }
256
- }
257
- },
258
- [
259
- _vm._t(
260
- "default",
261
- [
262
- _c("div", { staticClass: "el-upload-list__file" }, [
263
- _c(
264
- "div",
265
- {
266
- staticClass: "el-upload-list__item-name",
267
- on: {
268
- click: function($event) {
269
- _vm.handleClick(file)
270
- }
271
- }
272
- },
273
- [
274
- ["picture-card", "picture"].includes(_vm.listType)
275
- ? _c(
276
- "span",
277
- { staticClass: "el-upload-list__item-thumbnail" },
278
- [
279
- _c(
280
- "el-image",
281
- {
282
- attrs: {
283
- src: file[_vm.fileUrlAlias],
284
- "preview-src-list": _vm.handlePreview
285
- ? []
286
- : [file[_vm.fileUrlAlias]],
287
- fit: "contain"
288
- }
289
- },
290
- [
291
- _c("i", {
292
- staticClass: "el-image__placeholder",
293
- attrs: { slot: "placeholder" },
294
- slot: "placeholder"
295
- }),
296
- _c("i", {
297
- staticClass: "el-image__error",
298
- attrs: { slot: "error" },
299
- slot: "error"
300
- })
301
- ]
302
- )
303
- ],
304
- 1
305
- )
306
- : ["text"].includes(_vm.listType)
307
- ? _c("i", {
308
- staticClass: "el-upload-list__icon",
309
- style: _vm.iconStyle(
310
- file.name || file[_vm.fileNameAlias]
311
- )
312
- })
313
- : _vm._e(),
314
- ["text", "picture"].includes(_vm.listType)
315
- ? _c("div", { staticClass: "el-upload-list__name" }, [
316
- _c("span", { staticClass: "file-name" }, [
317
- _vm._v(_vm._s(file.name || file[_vm.fileNameAlias]))
318
- ])
319
- ])
320
- : _vm._e()
321
- ]
322
- ),
323
- ["text", "picture"].includes(_vm.listType)
324
- ? _c(
325
- "div",
326
- { staticClass: "el-upload-list__item-status-label" },
327
- [
328
- file.status === "uploading"
329
- ? _c("el-progress", {
330
- staticClass: "el-upload-progress",
331
- attrs: {
332
- percentage: file.percentage,
333
- width: 14,
334
- "stroke-width": 7,
335
- "show-text": false,
336
- type: "circle",
337
- "stroke-linecap": "butt"
338
- }
339
- })
340
- : file.status === "success"
341
- ? _c("i", {
342
- staticClass: "el-upload-success iov-icon-success"
343
- })
344
- : _vm._e()
345
- ],
346
- 1
347
- )
348
- : ["picture-card"].includes(_vm.listType) &&
349
- file.status === "uploading"
350
- ? _c(
351
- "div",
352
- { staticClass: "el-upload-list__item-status-label" },
353
- [
354
- _c("el-progress", {
355
- staticClass: "el-upload-progress",
356
- attrs: {
357
- percentage: file.percentage,
358
- "stroke-width": 2,
359
- "show-text": false,
360
- type: "line",
361
- color: "#3F57FF",
362
- "define-back-color": "#F2F3F5"
363
- }
364
- }),
365
- _c(
366
- "span",
367
- { staticClass: "el-upload-progress__text" },
368
- [_vm._v("上传中")]
369
- )
370
- ],
371
- 1
372
- )
373
- : _vm._e()
374
- ]),
375
- !_vm.disabled && ["text", "picture"].includes(_vm.listType)
376
- ? _c("i", {
377
- staticClass: "iov-icon-delete",
378
- on: {
379
- click: function($event) {
380
- _vm.$emit("remove", file)
381
- }
382
- }
383
- })
384
- : _vm._e(),
385
- _vm.listType === "picture-card" && file.status === "success"
386
- ? _c("span", { staticClass: "el-upload-list__item-actions" }, [
387
- _vm.handlePreview
388
- ? _c("i", {
389
- staticClass:
390
- "el-upload-list__item-preview iov-icon-eye",
391
- on: {
392
- click: function($event) {
393
- $event.stopPropagation()
394
- _vm.handlePreview(file)
395
- }
396
- }
397
- })
398
- : _vm._e(),
399
- !_vm.disabled
400
- ? _c("i", {
401
- staticClass:
402
- "el-upload-list__item-delete iov-icon-delete",
403
- on: {
404
- click: function($event) {
405
- $event.stopPropagation()
406
- _vm.$emit("remove", file)
407
- }
408
- }
409
- })
410
- : _vm._e(),
411
- !_vm.disabled
412
- ? _c("i", {
413
- staticClass:
414
- "el-upload-list__item-update iov-icon-update"
415
- })
416
- : _vm._e()
417
- ])
418
- : _vm._e()
419
- ],
420
- { file: file }
421
- )
422
- ],
423
- 2
424
- )
425
- }),
426
- 0
427
- )
428
- }
223
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=template&id=2192c62a
224
+ var upload_listvue_type_template_id_2192c62a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{class:[
225
+ 'el-upload-list',
226
+ 'el-upload-list--' + _vm.listType,
227
+ { 'is-disabled': _vm.disabled }
228
+ ],attrs:{"tag":"ul","name":"el-list"}},_vm._l((_vm.files),function(file){return _c('li',{key:file.uid,class:['el-upload-list__item', 'el-upload-list__item-' + _vm.size, 'is-' + file.status, _vm.focusing ? 'focusing' : ''],attrs:{"tabindex":"0"},on:{"focus":function($event){_vm.focusing = true},"blur":function($event){_vm.focusing = false},"click":function($event){_vm.focusing = false}}},[_vm._t("default",[_c('div',{staticClass:"el-upload-list__file"},[_c('div',{staticClass:"el-upload-list__item-name",on:{"click":function($event){_vm.handleClick(file)}}},[(['picture-card', 'picture'].includes(_vm.listType))?_c('span',{staticClass:"el-upload-list__item-thumbnail"},[_c('el-image',{attrs:{"src":file[_vm.fileUrlAlias],"preview-src-list":_vm.handlePreview ? [] : [file[_vm.fileUrlAlias]],"fit":"contain"}},[_c('i',{staticClass:"el-image__placeholder",attrs:{"slot":"placeholder"},slot:"placeholder"}),_c('i',{staticClass:"el-image__error",attrs:{"slot":"error"},slot:"error"})])],1):(['text'].includes(_vm.listType))?_c('i',{staticClass:"el-upload-list__icon",style:(_vm.iconStyle(file.name || file[_vm.fileNameAlias]))}):_vm._e(),(['text', 'picture'].includes(_vm.listType))?_c('div',{staticClass:"el-upload-list__name"},[_c('span',{staticClass:"file-name"},[_vm._v(_vm._s(file.name || file[_vm.fileNameAlias]))])]):_vm._e()]),(['text', 'picture'].includes(_vm.listType))?_c('div',{staticClass:"el-upload-list__item-status-label"},[(file.status === 'uploading')?_c('el-progress',{staticClass:"el-upload-progress",attrs:{"percentage":file.percentage,"width":14,"stroke-width":7,"show-text":false,"type":"circle","stroke-linecap":"butt"}}):(file.status === 'success')?_c('i',{staticClass:"el-upload-success iov-icon-success"}):_vm._e()],1):(['picture-card'].includes(_vm.listType) && file.status === 'uploading')?_c('div',{staticClass:"el-upload-list__item-status-label"},[_c('el-progress',{staticClass:"el-upload-progress",attrs:{"percentage":file.percentage,"stroke-width":2,"show-text":false,"type":"line","color":"#3F57FF","define-back-color":"#F2F3F5"}}),_c('span',{staticClass:"el-upload-progress__text"},[_vm._v("上传中")])],1):_vm._e()]),(!_vm.disabled && ['text', 'picture'].includes(_vm.listType))?_c('i',{staticClass:"iov-icon-delete",on:{"click":function($event){_vm.$emit('remove', file)}}}):_vm._e(),(_vm.listType === 'picture-card' && file.status === 'success')?_c('span',{staticClass:"el-upload-list__item-actions"},[(_vm.handlePreview)?_c('i',{staticClass:"el-upload-list__item-preview iov-icon-eye",on:{"click":function($event){$event.stopPropagation();_vm.handlePreview(file)}}}):_vm._e(),(!_vm.disabled)?_c('i',{staticClass:"el-upload-list__item-delete iov-icon-delete",on:{"click":function($event){$event.stopPropagation();_vm.$emit('remove', file)}}}):_vm._e(),(!_vm.disabled)?_c('i',{staticClass:"el-upload-list__item-update iov-icon-update"}):_vm._e()]):_vm._e()],{file:file})],2)}),0)}
429
229
  var staticRenderFns = []
430
- upload_listvue_type_template_id_173fedf5_render._withStripped = true
230
+ upload_listvue_type_template_id_2192c62a_render._withStripped = true
431
231
 
432
-
433
- // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=template&id=173fedf5&
232
+ // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=template&id=2192c62a
434
233
 
435
234
  // EXTERNAL MODULE: external "iov-design/lib/progress"
436
235
  var progress_ = __webpack_require__(33);
@@ -483,7 +282,7 @@ function iconStyle(fileName) {
483
282
 
484
283
  return { 'background-image': 'url(' + (ICON_MAP[ext] || ICON_MAP.default) + ')' };
485
284
  }
486
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=script&lang=js&
285
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=script&lang=js
487
286
  //
488
287
  //
489
288
  //
@@ -556,7 +355,7 @@ function iconStyle(fileName) {
556
355
 
557
356
 
558
357
 
559
- /* harmony default export */ var upload_listvue_type_script_lang_js_ = ({
358
+ /* harmony default export */ var upload_listvue_type_script_lang_js = ({
560
359
  name: 'ElUploadList',
561
360
  data: function data() {
562
361
  return {
@@ -599,8 +398,8 @@ function iconStyle(fileName) {
599
398
  }
600
399
  }
601
400
  });
602
- // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=script&lang=js&
603
- /* harmony default export */ var src_upload_listvue_type_script_lang_js_ = (upload_listvue_type_script_lang_js_);
401
+ // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=script&lang=js
402
+ /* harmony default export */ var src_upload_listvue_type_script_lang_js = (upload_listvue_type_script_lang_js);
604
403
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
605
404
  var componentNormalizer = __webpack_require__(0);
606
405
 
@@ -613,8 +412,8 @@ var componentNormalizer = __webpack_require__(0);
613
412
  /* normalize component */
614
413
 
615
414
  var component = Object(componentNormalizer["a" /* default */])(
616
- src_upload_listvue_type_script_lang_js_,
617
- upload_listvue_type_template_id_173fedf5_render,
415
+ src_upload_listvue_type_script_lang_js,
416
+ upload_listvue_type_template_id_2192c62a_render,
618
417
  staticRenderFns,
619
418
  false,
620
419
  null,
@@ -623,189 +422,19 @@ var component = Object(componentNormalizer["a" /* default */])(
623
422
 
624
423
  )
625
424
 
626
- /* hot reload */
627
- if (false) { var api; }
628
- component.options.__file = "packages/upload/src/upload-list.vue"
629
425
  /* harmony default export */ var upload_list = (component.exports);
630
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-file.vue?vue&type=template&id=c998d85a&
631
- var upload_filevue_type_template_id_c998d85a_render = function() {
632
- var _vm = this
633
- var _h = _vm.$createElement
634
- var _c = _vm._self._c || _h
635
- return _c(
636
- "ul",
637
- {
638
- class: [
639
- "el-upload-list",
640
- "el-upload-list--" + _vm.listType,
641
- { "is-disabled": _vm.disabled }
642
- ]
643
- },
644
- _vm._l(_vm.files, function(file) {
645
- return _c(
646
- "li",
647
- {
648
- key: file.uid,
649
- class: [
650
- "el-upload-list__item",
651
- "is-" + file.status,
652
- _vm.focusing ? "focusing" : ""
653
- ],
654
- attrs: { tabindex: "0" },
655
- on: {
656
- focus: function($event) {
657
- _vm.focusing = true
658
- },
659
- blur: function($event) {
660
- _vm.focusing = false
661
- },
662
- click: function($event) {
663
- _vm.focusing = false
664
- }
665
- }
666
- },
667
- [
668
- _vm._t(
669
- "default",
670
- [
671
- _c("div", { staticClass: "el-upload-list__file" }, [
672
- file.status === "success"
673
- ? _c(
674
- "div",
675
- { staticClass: "el-upload-list__item-name" },
676
- [
677
- ["picture-card", "picture"].includes(_vm.listType)
678
- ? _c(
679
- "span",
680
- { staticClass: "el-upload-list__item-thumbnail" },
681
- [
682
- _c(
683
- "el-image",
684
- {
685
- attrs: {
686
- src: file[_vm.fileUrlAlias],
687
- "preview-src-list": [
688
- file[_vm.fileUrlAlias]
689
- ],
690
- fit: "contain"
691
- }
692
- },
693
- [
694
- _c("i", {
695
- staticClass: "el-image__placeholder",
696
- attrs: { slot: "placeholder" },
697
- slot: "placeholder"
698
- }),
699
- _c("i", {
700
- staticClass: "el-image__error",
701
- attrs: { slot: "error" },
702
- slot: "error"
703
- })
704
- ]
705
- )
706
- ],
707
- 1
708
- )
709
- : ["text"].includes(_vm.listType)
710
- ? _c("i", {
711
- staticClass: "el-upload-list__icon",
712
- style: _vm.iconStyle(file[_vm.fileNameAlias]),
713
- on: {
714
- click: function($event) {
715
- _vm.handleClick(file)
716
- }
717
- }
718
- })
719
- : _vm._e(),
720
- _c(
721
- "div",
722
- {
723
- staticClass: "el-upload-list__name",
724
- on: {
725
- click: function($event) {
726
- _vm.handleClick(file)
727
- }
728
- }
729
- },
730
- [
731
- _c("span", { staticClass: "file-name" }, [
732
- _vm._v(_vm._s(file[_vm.fileNameAlias]))
733
- ])
734
- ]
735
- ),
736
- _vm.size === "medium"
737
- ? _c(
738
- "el-button",
739
- {
740
- staticClass: "el-upload__btn",
741
- attrs: {
742
- slot: "trigger",
743
- round: "",
744
- size: "small"
745
- },
746
- slot: "trigger"
747
- },
748
- [_vm._v("重新上传")]
749
- )
750
- : _vm._e()
751
- ],
752
- 1
753
- )
754
- : _vm._e(),
755
- file.status === "uploading"
756
- ? _c(
757
- "div",
758
- { staticClass: "el-upload-list__item-status-label" },
759
- [
760
- _c("el-progress", {
761
- staticClass: "el-upload-progress",
762
- attrs: {
763
- percentage: file.percentage,
764
- "stroke-width": 2,
765
- "show-text": false,
766
- type: "line",
767
- color: "#3F57FF",
768
- "define-back-color": "#F2F3F5"
769
- }
770
- }),
771
- _c(
772
- "span",
773
- { staticClass: "el-upload-progress__text" },
774
- [_vm._v("文件上传中")]
775
- )
776
- ],
777
- 1
778
- )
779
- : _vm._e()
780
- ]),
781
- !_vm.disabled
782
- ? _c("i", {
783
- staticClass: "el-upload__remove iov-icon-close-mini",
784
- on: {
785
- click: function($event) {
786
- $event.stopPropagation()
787
- _vm.$emit("remove", file)
788
- }
789
- }
790
- })
791
- : _vm._e()
792
- ],
793
- { file: file }
794
- )
795
- ],
796
- 2
797
- )
798
- }),
799
- 0
800
- )
801
- }
802
- var upload_filevue_type_template_id_c998d85a_staticRenderFns = []
803
- upload_filevue_type_template_id_c998d85a_render._withStripped = true
426
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-file.vue?vue&type=template&id=3942f5c4
427
+ var upload_filevue_type_template_id_3942f5c4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{class:[
428
+ 'el-upload-list',
429
+ 'el-upload-list--' + _vm.listType,
430
+ { 'is-disabled': _vm.disabled }
431
+ ]},_vm._l((_vm.files),function(file){return _c('li',{key:file.uid,class:['el-upload-list__item', 'is-' + file.status, _vm.focusing ? 'focusing' : ''],attrs:{"tabindex":"0"},on:{"focus":function($event){_vm.focusing = true},"blur":function($event){_vm.focusing = false},"click":function($event){_vm.focusing = false}}},[_vm._t("default",[_c('div',{staticClass:"el-upload-list__file"},[(file.status === 'success')?_c('div',{staticClass:"el-upload-list__item-name"},[(['picture-card', 'picture'].includes(_vm.listType))?_c('span',{staticClass:"el-upload-list__item-thumbnail"},[_c('el-image',{attrs:{"src":file[_vm.fileUrlAlias],"preview-src-list":[file[_vm.fileUrlAlias]],"fit":"contain"}},[_c('i',{staticClass:"el-image__placeholder",attrs:{"slot":"placeholder"},slot:"placeholder"}),_c('i',{staticClass:"el-image__error",attrs:{"slot":"error"},slot:"error"})])],1):(['text'].includes(_vm.listType))?_c('i',{staticClass:"el-upload-list__icon",style:(_vm.iconStyle(file[_vm.fileNameAlias])),on:{"click":function($event){_vm.handleClick(file)}}}):_vm._e(),_c('div',{staticClass:"el-upload-list__name",on:{"click":function($event){_vm.handleClick(file)}}},[_c('span',{staticClass:"file-name"},[_vm._v(_vm._s(file[_vm.fileNameAlias]))])]),(_vm.size === 'medium')?_c('el-button',{staticClass:"el-upload__btn",attrs:{"slot":"trigger","round":"","size":"small"},slot:"trigger"},[_vm._v("重新上传")]):_vm._e()],1):_vm._e(),(file.status === 'uploading')?_c('div',{staticClass:"el-upload-list__item-status-label"},[_c('el-progress',{staticClass:"el-upload-progress",attrs:{"percentage":file.percentage,"stroke-width":2,"show-text":false,"type":"line","color":"#3F57FF","define-back-color":"#F2F3F5"}}),_c('span',{staticClass:"el-upload-progress__text"},[_vm._v("文件上传中")])],1):_vm._e()]),(!_vm.disabled)?_c('i',{staticClass:"el-upload__remove iov-icon-close-mini",on:{"click":function($event){$event.stopPropagation();_vm.$emit('remove', file)}}}):_vm._e()],{file:file})],2)}),0)}
432
+ var upload_filevue_type_template_id_3942f5c4_staticRenderFns = []
433
+ upload_filevue_type_template_id_3942f5c4_render._withStripped = true
804
434
 
435
+ // CONCATENATED MODULE: ./packages/upload/src/upload-file.vue?vue&type=template&id=3942f5c4
805
436
 
806
- // CONCATENATED MODULE: ./packages/upload/src/upload-file.vue?vue&type=template&id=c998d85a&
807
-
808
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-file.vue?vue&type=script&lang=js&
437
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-file.vue?vue&type=script&lang=js
809
438
  //
810
439
  //
811
440
  //
@@ -859,7 +488,7 @@ upload_filevue_type_template_id_c998d85a_render._withStripped = true
859
488
 
860
489
 
861
490
 
862
- /* harmony default export */ var upload_filevue_type_script_lang_js_ = ({
491
+ /* harmony default export */ var upload_filevue_type_script_lang_js = ({
863
492
  name: 'ElUploadFile',
864
493
  data: function data() {
865
494
  return {
@@ -904,8 +533,8 @@ upload_filevue_type_template_id_c998d85a_render._withStripped = true
904
533
  }
905
534
  }
906
535
  });
907
- // CONCATENATED MODULE: ./packages/upload/src/upload-file.vue?vue&type=script&lang=js&
908
- /* harmony default export */ var src_upload_filevue_type_script_lang_js_ = (upload_filevue_type_script_lang_js_);
536
+ // CONCATENATED MODULE: ./packages/upload/src/upload-file.vue?vue&type=script&lang=js
537
+ /* harmony default export */ var src_upload_filevue_type_script_lang_js = (upload_filevue_type_script_lang_js);
909
538
  // CONCATENATED MODULE: ./packages/upload/src/upload-file.vue
910
539
 
911
540
 
@@ -915,9 +544,9 @@ upload_filevue_type_template_id_c998d85a_render._withStripped = true
915
544
  /* normalize component */
916
545
 
917
546
  var upload_file_component = Object(componentNormalizer["a" /* default */])(
918
- src_upload_filevue_type_script_lang_js_,
919
- upload_filevue_type_template_id_c998d85a_render,
920
- upload_filevue_type_template_id_c998d85a_staticRenderFns,
547
+ src_upload_filevue_type_script_lang_js,
548
+ upload_filevue_type_template_id_3942f5c4_render,
549
+ upload_filevue_type_template_id_3942f5c4_staticRenderFns,
921
550
  false,
922
551
  null,
923
552
  null,
@@ -925,176 +554,19 @@ var upload_file_component = Object(componentNormalizer["a" /* default */])(
925
554
 
926
555
  )
927
556
 
928
- /* hot reload */
929
- if (false) { var upload_file_api; }
930
- upload_file_component.options.__file = "packages/upload/src/upload-file.vue"
931
557
  /* harmony default export */ var upload_file = (upload_file_component.exports);
932
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-picture.vue?vue&type=template&id=4be68a77&
933
- var upload_picturevue_type_template_id_4be68a77_render = function() {
934
- var _vm = this
935
- var _h = _vm.$createElement
936
- var _c = _vm._self._c || _h
937
- return _c(
938
- "ul",
939
- {
940
- class: [
941
- "el-upload-list",
942
- "el-upload-list--" + _vm.listType,
943
- { "is-disabled": _vm.disabled }
944
- ],
945
- attrs: { tag: "ul", name: "el-list" }
946
- },
947
- _vm._l(_vm.files, function(file) {
948
- return _c(
949
- "li",
950
- {
951
- key: file.uid,
952
- class: [
953
- "el-upload-list__item",
954
- "el-upload-list__item-" + _vm.size,
955
- "is-" + file.status,
956
- _vm.focusing ? "focusing" : ""
957
- ],
958
- attrs: { tabindex: "0" },
959
- on: {
960
- focus: function($event) {
961
- _vm.focusing = true
962
- },
963
- blur: function($event) {
964
- _vm.focusing = false
965
- },
966
- click: function($event) {
967
- _vm.focusing = false
968
- }
969
- }
970
- },
971
- [
972
- _vm._t(
973
- "default",
974
- [
975
- _c("div", { staticClass: "el-upload-list__file" }, [
976
- file.status === "success"
977
- ? _c(
978
- "div",
979
- {
980
- staticClass: "el-upload-list__item-name",
981
- on: {
982
- click: function($event) {
983
- _vm.handleClick(file)
984
- }
985
- }
986
- },
987
- [
988
- _c(
989
- "span",
990
- { staticClass: "el-upload-list__item-thumbnail" },
991
- [
992
- _c(
993
- "el-image",
994
- {
995
- attrs: {
996
- src: file[_vm.fileUrlAlias],
997
- "preview-src-list": _vm.handlePreview
998
- ? []
999
- : [file[_vm.fileUrlAlias]],
1000
- fit: "contain"
1001
- }
1002
- },
1003
- [
1004
- _c("i", {
1005
- staticClass: "el-image__placeholder",
1006
- attrs: { slot: "placeholder" },
1007
- slot: "placeholder"
1008
- }),
1009
- _c("i", {
1010
- staticClass: "el-image__error",
1011
- attrs: { slot: "error" },
1012
- slot: "error"
1013
- })
1014
- ]
1015
- )
1016
- ],
1017
- 1
1018
- )
1019
- ]
1020
- )
1021
- : _vm._e(),
1022
- file.status === "uploading"
1023
- ? _c(
1024
- "div",
1025
- { staticClass: "el-upload-list__item-status-label" },
1026
- [
1027
- _c("el-progress", {
1028
- staticClass: "el-upload-progress",
1029
- attrs: {
1030
- percentage: file.percentage,
1031
- "stroke-width": 2,
1032
- "show-text": false,
1033
- type: "line",
1034
- color: "#3F57FF",
1035
- "define-back-color": "#F2F3F5"
1036
- }
1037
- }),
1038
- _c(
1039
- "span",
1040
- { staticClass: "el-upload-progress__text" },
1041
- [_vm._v("上传中")]
1042
- )
1043
- ],
1044
- 1
1045
- )
1046
- : _vm._e()
1047
- ]),
1048
- file.status === "success"
1049
- ? _c("span", { staticClass: "el-upload-list__item-actions" }, [
1050
- _vm.handlePreview
1051
- ? _c("i", {
1052
- staticClass:
1053
- "el-upload-list__item-preview iov-icon-eye",
1054
- on: {
1055
- click: function($event) {
1056
- _vm.handlePreview(file)
1057
- }
1058
- }
1059
- })
1060
- : _vm._e(),
1061
- !_vm.disabled
1062
- ? _c("i", {
1063
- staticClass:
1064
- "el-upload-list__item-delete iov-icon-delete",
1065
- on: {
1066
- click: function($event) {
1067
- $event.stopPropagation()
1068
- _vm.$emit("remove", file)
1069
- }
1070
- }
1071
- })
1072
- : _vm._e(),
1073
- !_vm.disabled
1074
- ? _c("i", {
1075
- staticClass:
1076
- "el-upload-list__item-update iov-icon-update"
1077
- })
1078
- : _vm._e()
1079
- ])
1080
- : _vm._e()
1081
- ],
1082
- { file: file }
1083
- )
1084
- ],
1085
- 2
1086
- )
1087
- }),
1088
- 0
1089
- )
1090
- }
1091
- var upload_picturevue_type_template_id_4be68a77_staticRenderFns = []
1092
- upload_picturevue_type_template_id_4be68a77_render._withStripped = true
1093
-
558
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-picture.vue?vue&type=template&id=4efcdfee
559
+ var upload_picturevue_type_template_id_4efcdfee_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{class:[
560
+ 'el-upload-list',
561
+ 'el-upload-list--' + _vm.listType,
562
+ { 'is-disabled': _vm.disabled }
563
+ ],attrs:{"tag":"ul","name":"el-list"}},_vm._l((_vm.files),function(file){return _c('li',{key:file.uid,class:['el-upload-list__item', 'el-upload-list__item-' + _vm.size, 'is-' + file.status, _vm.focusing ? 'focusing' : ''],attrs:{"tabindex":"0"},on:{"focus":function($event){_vm.focusing = true},"blur":function($event){_vm.focusing = false},"click":function($event){_vm.focusing = false}}},[_vm._t("default",[_c('div',{staticClass:"el-upload-list__file"},[(file.status === 'success')?_c('div',{staticClass:"el-upload-list__item-name",on:{"click":function($event){_vm.handleClick(file)}}},[_c('span',{staticClass:"el-upload-list__item-thumbnail"},[_c('el-image',{attrs:{"src":file[_vm.fileUrlAlias],"preview-src-list":_vm.handlePreview ? [] : [file[_vm.fileUrlAlias]],"fit":"contain"}},[_c('i',{staticClass:"el-image__placeholder",attrs:{"slot":"placeholder"},slot:"placeholder"}),_c('i',{staticClass:"el-image__error",attrs:{"slot":"error"},slot:"error"})])],1)]):_vm._e(),(file.status === 'uploading')?_c('div',{staticClass:"el-upload-list__item-status-label"},[_c('el-progress',{staticClass:"el-upload-progress",attrs:{"percentage":file.percentage,"stroke-width":2,"show-text":false,"type":"line","color":"#3F57FF","define-back-color":"#F2F3F5"}}),_c('span',{staticClass:"el-upload-progress__text"},[_vm._v("上传中")])],1):_vm._e()]),(file.status === 'success')?_c('span',{staticClass:"el-upload-list__item-actions"},[(_vm.handlePreview)?_c('i',{staticClass:"el-upload-list__item-preview iov-icon-eye",on:{"click":function($event){_vm.handlePreview(file)}}}):_vm._e(),(!_vm.disabled)?_c('i',{staticClass:"el-upload-list__item-delete iov-icon-delete",on:{"click":function($event){$event.stopPropagation();_vm.$emit('remove', file)}}}):_vm._e(),(!_vm.disabled)?_c('i',{staticClass:"el-upload-list__item-update iov-icon-update"}):_vm._e()]):_vm._e()],{file:file})],2)}),0)}
564
+ var upload_picturevue_type_template_id_4efcdfee_staticRenderFns = []
565
+ upload_picturevue_type_template_id_4efcdfee_render._withStripped = true
1094
566
 
1095
- // CONCATENATED MODULE: ./packages/upload/src/upload-picture.vue?vue&type=template&id=4be68a77&
567
+ // CONCATENATED MODULE: ./packages/upload/src/upload-picture.vue?vue&type=template&id=4efcdfee
1096
568
 
1097
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-picture.vue?vue&type=script&lang=js&
569
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-picture.vue?vue&type=script&lang=js
1098
570
  //
1099
571
  //
1100
572
  //
@@ -1150,7 +622,7 @@ upload_picturevue_type_template_id_4be68a77_render._withStripped = true
1150
622
 
1151
623
 
1152
624
 
1153
- /* harmony default export */ var upload_picturevue_type_script_lang_js_ = ({
625
+ /* harmony default export */ var upload_picturevue_type_script_lang_js = ({
1154
626
  name: 'ElUploadPicture',
1155
627
  data: function data() {
1156
628
  return {
@@ -1193,8 +665,8 @@ upload_picturevue_type_template_id_4be68a77_render._withStripped = true
1193
665
  }
1194
666
  }
1195
667
  });
1196
- // CONCATENATED MODULE: ./packages/upload/src/upload-picture.vue?vue&type=script&lang=js&
1197
- /* harmony default export */ var src_upload_picturevue_type_script_lang_js_ = (upload_picturevue_type_script_lang_js_);
668
+ // CONCATENATED MODULE: ./packages/upload/src/upload-picture.vue?vue&type=script&lang=js
669
+ /* harmony default export */ var src_upload_picturevue_type_script_lang_js = (upload_picturevue_type_script_lang_js);
1198
670
  // CONCATENATED MODULE: ./packages/upload/src/upload-picture.vue
1199
671
 
1200
672
 
@@ -1204,9 +676,9 @@ upload_picturevue_type_template_id_4be68a77_render._withStripped = true
1204
676
  /* normalize component */
1205
677
 
1206
678
  var upload_picture_component = Object(componentNormalizer["a" /* default */])(
1207
- src_upload_picturevue_type_script_lang_js_,
1208
- upload_picturevue_type_template_id_4be68a77_render,
1209
- upload_picturevue_type_template_id_4be68a77_staticRenderFns,
679
+ src_upload_picturevue_type_script_lang_js,
680
+ upload_picturevue_type_template_id_4efcdfee_render,
681
+ upload_picturevue_type_template_id_4efcdfee_staticRenderFns,
1210
682
  false,
1211
683
  null,
1212
684
  null,
@@ -1214,9 +686,6 @@ var upload_picture_component = Object(componentNormalizer["a" /* default */])(
1214
686
 
1215
687
  )
1216
688
 
1217
- /* hot reload */
1218
- if (false) { var upload_picture_api; }
1219
- upload_picture_component.options.__file = "packages/upload/src/upload-picture.vue"
1220
689
  /* harmony default export */ var upload_picture = (upload_picture_component.exports);
1221
690
  // EXTERNAL MODULE: external "babel-helper-vue-jsx-merge-props"
1222
691
  var external_babel_helper_vue_jsx_merge_props_ = __webpack_require__(26);
@@ -1308,44 +777,16 @@ function upload(option) {
1308
777
  xhr.send(formData);
1309
778
  return xhr;
1310
779
  }
1311
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=template&id=7ebbf219&
1312
- var upload_draggervue_type_template_id_7ebbf219_render = function() {
1313
- var _vm = this
1314
- var _h = _vm.$createElement
1315
- var _c = _vm._self._c || _h
1316
- return _c(
1317
- "div",
1318
- {
1319
- staticClass: "el-upload-dragger",
1320
- class: {
1321
- "is-dragover": _vm.dragover
1322
- },
1323
- on: {
1324
- drop: function($event) {
1325
- $event.preventDefault()
1326
- return _vm.onDrop($event)
1327
- },
1328
- dragover: function($event) {
1329
- $event.preventDefault()
1330
- return _vm.onDragover($event)
1331
- },
1332
- dragleave: function($event) {
1333
- $event.preventDefault()
1334
- _vm.dragover = false
1335
- }
1336
- }
1337
- },
1338
- [_vm._t("default")],
1339
- 2
1340
- )
1341
- }
1342
- var upload_draggervue_type_template_id_7ebbf219_staticRenderFns = []
1343
- upload_draggervue_type_template_id_7ebbf219_render._withStripped = true
1344
-
780
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=template&id=4c315758
781
+ var upload_draggervue_type_template_id_4c315758_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"el-upload-dragger",class:{
782
+ 'is-dragover': _vm.dragover
783
+ },on:{"drop":function($event){$event.preventDefault();return _vm.onDrop($event)},"dragover":function($event){$event.preventDefault();return _vm.onDragover($event)},"dragleave":function($event){$event.preventDefault();_vm.dragover = false}}},[_vm._t("default")],2)}
784
+ var upload_draggervue_type_template_id_4c315758_staticRenderFns = []
785
+ upload_draggervue_type_template_id_4c315758_render._withStripped = true
1345
786
 
1346
- // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=template&id=7ebbf219&
787
+ // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=template&id=4c315758
1347
788
 
1348
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js&
789
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js
1349
790
  //
1350
791
  //
1351
792
  //
@@ -1360,7 +801,7 @@ upload_draggervue_type_template_id_7ebbf219_render._withStripped = true
1360
801
  //
1361
802
  //
1362
803
 
1363
- /* harmony default export */ var upload_draggervue_type_script_lang_js_ = ({
804
+ /* harmony default export */ var upload_draggervue_type_script_lang_js = ({
1364
805
  name: 'ElUploadDrag',
1365
806
  props: {
1366
807
  disabled: Boolean
@@ -1416,8 +857,8 @@ upload_draggervue_type_template_id_7ebbf219_render._withStripped = true
1416
857
  }
1417
858
  }
1418
859
  });
1419
- // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js&
1420
- /* harmony default export */ var src_upload_draggervue_type_script_lang_js_ = (upload_draggervue_type_script_lang_js_);
860
+ // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js
861
+ /* harmony default export */ var src_upload_draggervue_type_script_lang_js = (upload_draggervue_type_script_lang_js);
1421
862
  // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue
1422
863
 
1423
864
 
@@ -1427,9 +868,9 @@ upload_draggervue_type_template_id_7ebbf219_render._withStripped = true
1427
868
  /* normalize component */
1428
869
 
1429
870
  var upload_dragger_component = Object(componentNormalizer["a" /* default */])(
1430
- src_upload_draggervue_type_script_lang_js_,
1431
- upload_draggervue_type_template_id_7ebbf219_render,
1432
- upload_draggervue_type_template_id_7ebbf219_staticRenderFns,
871
+ src_upload_draggervue_type_script_lang_js,
872
+ upload_draggervue_type_template_id_4c315758_render,
873
+ upload_draggervue_type_template_id_4c315758_staticRenderFns,
1433
874
  false,
1434
875
  null,
1435
876
  null,
@@ -1437,17 +878,14 @@ var upload_dragger_component = Object(componentNormalizer["a" /* default */])(
1437
878
 
1438
879
  )
1439
880
 
1440
- /* hot reload */
1441
- if (false) { var upload_dragger_api; }
1442
- upload_dragger_component.options.__file = "packages/upload/src/upload-dragger.vue"
1443
881
  /* harmony default export */ var upload_dragger = (upload_dragger_component.exports);
1444
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload.vue?vue&type=script&lang=js&
882
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload.vue?vue&type=script&lang=js
1445
883
 
1446
884
 
1447
885
 
1448
886
 
1449
887
 
1450
- /* harmony default export */ var uploadvue_type_script_lang_js_ = ({
888
+ /* harmony default export */ var uploadvue_type_script_lang_js = ({
1451
889
  inject: ['uploader'],
1452
890
  components: {
1453
891
  UploadDragger: upload_dragger
@@ -1690,8 +1128,8 @@ upload_dragger_component.options.__file = "packages/upload/src/upload-dragger.vu
1690
1128
  );
1691
1129
  }
1692
1130
  });
1693
- // CONCATENATED MODULE: ./packages/upload/src/upload.vue?vue&type=script&lang=js&
1694
- /* harmony default export */ var src_uploadvue_type_script_lang_js_ = (uploadvue_type_script_lang_js_);
1131
+ // CONCATENATED MODULE: ./packages/upload/src/upload.vue?vue&type=script&lang=js
1132
+ /* harmony default export */ var src_uploadvue_type_script_lang_js = (uploadvue_type_script_lang_js);
1695
1133
  // CONCATENATED MODULE: ./packages/upload/src/upload.vue
1696
1134
  var upload_render, upload_staticRenderFns
1697
1135
 
@@ -1701,7 +1139,7 @@ var upload_render, upload_staticRenderFns
1701
1139
  /* normalize component */
1702
1140
 
1703
1141
  var upload_component = Object(componentNormalizer["a" /* default */])(
1704
- src_uploadvue_type_script_lang_js_,
1142
+ src_uploadvue_type_script_lang_js,
1705
1143
  upload_render,
1706
1144
  upload_staticRenderFns,
1707
1145
  false,
@@ -1711,15 +1149,12 @@ var upload_component = Object(componentNormalizer["a" /* default */])(
1711
1149
 
1712
1150
  )
1713
1151
 
1714
- /* hot reload */
1715
- if (false) { var upload_api; }
1716
- upload_component.options.__file = "packages/upload/src/upload.vue"
1717
1152
  /* harmony default export */ var src_upload = (upload_component.exports);
1718
1153
  // EXTERNAL MODULE: external "iov-design/lib/mixins/migrating"
1719
1154
  var migrating_ = __webpack_require__(11);
1720
1155
  var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_);
1721
1156
 
1722
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/index.vue?vue&type=script&lang=js&
1157
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/index.vue?vue&type=script&lang=js
1723
1158
 
1724
1159
 
1725
1160
 
@@ -1730,7 +1165,7 @@ var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_);
1730
1165
 
1731
1166
  function noop() {}
1732
1167
 
1733
- /* harmony default export */ var srcvue_type_script_lang_js_ = ({
1168
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
1734
1169
  name: 'ElUpload',
1735
1170
 
1736
1171
  mixins: [migrating_default.a],
@@ -2153,8 +1588,8 @@ function noop() {}
2153
1588
  );
2154
1589
  }
2155
1590
  });
2156
- // CONCATENATED MODULE: ./packages/upload/src/index.vue?vue&type=script&lang=js&
2157
- /* harmony default export */ var upload_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
1591
+ // CONCATENATED MODULE: ./packages/upload/src/index.vue?vue&type=script&lang=js
1592
+ /* harmony default export */ var upload_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2158
1593
  // CONCATENATED MODULE: ./packages/upload/src/index.vue
2159
1594
  var src_render, src_staticRenderFns
2160
1595
 
@@ -2164,7 +1599,7 @@ var src_render, src_staticRenderFns
2164
1599
  /* normalize component */
2165
1600
 
2166
1601
  var src_component = Object(componentNormalizer["a" /* default */])(
2167
- upload_srcvue_type_script_lang_js_,
1602
+ upload_srcvue_type_script_lang_js,
2168
1603
  src_render,
2169
1604
  src_staticRenderFns,
2170
1605
  false,
@@ -2174,9 +1609,6 @@ var src_component = Object(componentNormalizer["a" /* default */])(
2174
1609
 
2175
1610
  )
2176
1611
 
2177
- /* hot reload */
2178
- if (false) { var src_api; }
2179
- src_component.options.__file = "packages/upload/src/index.vue"
2180
1612
  /* harmony default export */ var src = (src_component.exports);
2181
1613
  // CONCATENATED MODULE: ./packages/upload/index.js
2182
1614