cy-element-ui 1.0.49 → 1.0.51

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 (98) hide show
  1. package/lib/alert.js +108 -108
  2. package/lib/aside.js +77 -77
  3. package/lib/autocomplete.js +359 -5198
  4. package/lib/avatar.js +4 -4
  5. package/lib/backtop.js +101 -192
  6. package/lib/badge.js +108 -108
  7. package/lib/breadcrumb-item.js +108 -108
  8. package/lib/breadcrumb.js +94 -94
  9. package/lib/button-group.js +4 -4
  10. package/lib/button.js +4 -4
  11. package/lib/calendar.js +137 -1734
  12. package/lib/card.js +96 -96
  13. package/lib/carousel-item.js +108 -452
  14. package/lib/carousel.js +105 -1256
  15. package/lib/cascader-panel.js +191 -3524
  16. package/lib/cascader.js +709 -8069
  17. package/lib/checkbox-button.js +119 -151
  18. package/lib/checkbox-group.js +15 -47
  19. package/lib/checkbox.js +15 -47
  20. package/lib/col.js +2 -2
  21. package/lib/collapse-item.js +110 -815
  22. package/lib/collapse.js +108 -108
  23. package/lib/color-picker.js +835 -4712
  24. package/lib/container.js +88 -88
  25. package/lib/date-picker.js +4596 -10622
  26. package/lib/descriptions-item.js +2 -2
  27. package/lib/descriptions.js +8 -63
  28. package/lib/dialog.js +22 -1200
  29. package/lib/divider.js +104 -104
  30. package/lib/drawer.js +105 -875
  31. package/lib/dropdown-item.js +96 -128
  32. package/lib/dropdown-menu.js +99 -2301
  33. package/lib/dropdown.js +54 -990
  34. package/lib/element-ui.common.js +29758 -47436
  35. package/lib/empty.js +99 -793
  36. package/lib/fileUpload.js +25 -2541
  37. package/lib/footer.js +77 -77
  38. package/lib/form-item.js +208 -3311
  39. package/lib/form.js +115 -129
  40. package/lib/header.js +77 -77
  41. package/lib/icon.js +67 -67
  42. package/lib/image.js +146 -1662
  43. package/lib/index.js +1 -1
  44. package/lib/infinite-scroll.js +26 -435
  45. package/lib/input-number.js +24 -1458
  46. package/lib/input.js +37 -509
  47. package/lib/link.js +4 -4
  48. package/lib/loading.js +149 -886
  49. package/lib/main.js +64 -64
  50. package/lib/menu-item-group.js +103 -103
  51. package/lib/menu-item.js +137 -3140
  52. package/lib/menu.js +123 -1058
  53. package/lib/message-box.js +179 -2734
  54. package/lib/message.js +118 -1196
  55. package/lib/notification.js +118 -1195
  56. package/lib/option-group.js +119 -151
  57. package/lib/option.js +16 -392
  58. package/lib/page-header.js +87 -781
  59. package/lib/pagination.js +642 -7743
  60. package/lib/popconfirm.js +219 -3606
  61. package/lib/popover.js +99 -2624
  62. package/lib/progress.js +4 -4
  63. package/lib/radio-button.js +119 -151
  64. package/lib/radio-group.js +119 -151
  65. package/lib/radio.js +15 -47
  66. package/lib/rate.js +113 -756
  67. package/lib/result.js +108 -108
  68. package/lib/row.js +2 -2
  69. package/lib/scrollbar.js +41 -1813
  70. package/lib/select.js +209 -5547
  71. package/lib/selectDisplayInput.js +4 -4
  72. package/lib/skeleton-item.js +108 -108
  73. package/lib/skeleton.js +108 -108
  74. package/lib/slider.js +815 -5053
  75. package/lib/spinner.js +100 -100
  76. package/lib/statistic.js +112 -9600
  77. package/lib/step.js +108 -108
  78. package/lib/steps.js +99 -514
  79. package/lib/subTitle.js +91 -91
  80. package/lib/submenu.js +76 -2397
  81. package/lib/switch.js +127 -582
  82. package/lib/tab-pane.js +108 -108
  83. package/lib/tabDialog.js +104 -1630
  84. package/lib/table-column.js +267 -1115
  85. package/lib/table.js +1289 -7121
  86. package/lib/tabs.js +113 -1615
  87. package/lib/tag.js +4 -4
  88. package/lib/time-picker.js +554 -6491
  89. package/lib/time-select.js +407 -6334
  90. package/lib/timeline-item.js +108 -108
  91. package/lib/timeline.js +4 -4
  92. package/lib/tooltip.js +44 -2688
  93. package/lib/transfer.js +146 -2238
  94. package/lib/tree.js +148 -1563
  95. package/lib/treeSelect.js +106 -3421
  96. package/lib/upload.js +31 -1198
  97. package/package.json +1 -1
  98. package/src/index.js +1 -1
package/lib/upload.js CHANGED
@@ -82,462 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 69);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 63);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
90
  /***/ 0:
91
- /***/ (function(module, exports) {
92
-
93
- module.exports = require("vue");
94
-
95
- /***/ }),
96
-
97
- /***/ 11:
98
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
-
100
- "use strict";
101
-
102
- // EXPORTS
103
- __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ t; });
104
-
105
- // UNUSED EXPORTS: use, i18n
106
-
107
- // CONCATENATED MODULE: ./src/locale/lang/zh-CN.js
108
- /* harmony default export */ var zh_CN = ({
109
- el: {
110
- colorpicker: {
111
- confirm: '确定',
112
- clear: '清空'
113
- },
114
- datepicker: {
115
- now: '此刻',
116
- today: '今天',
117
- cancel: '取消',
118
- clear: '清空',
119
- confirm: '确定',
120
- selectDate: '选择日期',
121
- selectTime: '选择时间',
122
- startDate: '开始日期',
123
- startTime: '开始时间',
124
- endDate: '结束日期',
125
- endTime: '结束时间',
126
- prevYear: '前一年',
127
- nextYear: '后一年',
128
- prevMonth: '上个月',
129
- nextMonth: '下个月',
130
- year: '年',
131
- month1: '1 月',
132
- month2: '2 月',
133
- month3: '3 月',
134
- month4: '4 月',
135
- month5: '5 月',
136
- month6: '6 月',
137
- month7: '7 月',
138
- month8: '8 月',
139
- month9: '9 月',
140
- month10: '10 月',
141
- month11: '11 月',
142
- month12: '12 月',
143
- // week: '周次',
144
- weeks: {
145
- sun: '日',
146
- mon: '一',
147
- tue: '二',
148
- wed: '三',
149
- thu: '四',
150
- fri: '五',
151
- sat: '六'
152
- },
153
- months: {
154
- jan: '一月',
155
- feb: '二月',
156
- mar: '三月',
157
- apr: '四月',
158
- may: '五月',
159
- jun: '六月',
160
- jul: '七月',
161
- aug: '八月',
162
- sep: '九月',
163
- oct: '十月',
164
- nov: '十一月',
165
- dec: '十二月'
166
- }
167
- },
168
- select: {
169
- loading: '加载中',
170
- noMatch: '无匹配数据',
171
- noData: '无数据',
172
- placeholder: '请选择'
173
- },
174
- cascader: {
175
- noMatch: '无匹配数据',
176
- loading: '加载中',
177
- placeholder: '请选择',
178
- noData: '暂无数据'
179
- },
180
- pagination: {
181
- goto: '前往',
182
- pagesize: '条/页',
183
- total: '共 {total} 条',
184
- pageClassifier: '页'
185
- },
186
- messagebox: {
187
- title: '提示',
188
- confirm: '确定',
189
- cancel: '取消',
190
- error: '输入的数据不合法!'
191
- },
192
- upload: {
193
- deleteTip: '按 delete 键可删除',
194
- delete: '删除',
195
- preview: '查看图片',
196
- continue: '继续上传'
197
- },
198
- table: {
199
- emptyText: '暂无数据',
200
- confirmFilter: '筛选',
201
- resetFilter: '重置',
202
- clearFilter: '全部',
203
- sumText: '合计'
204
- },
205
- tree: {
206
- emptyText: '暂无数据'
207
- },
208
- transfer: {
209
- noMatch: '无匹配数据',
210
- noData: '无数据',
211
- titles: ['列表 1', '列表 2'],
212
- filterPlaceholder: '请输入搜索内容',
213
- noCheckedFormat: '共 {total} 项',
214
- hasCheckedFormat: '已选 {checked}/{total} 项'
215
- },
216
- image: {
217
- error: '加载失败'
218
- },
219
- pageHeader: {
220
- title: '返回'
221
- },
222
- popconfirm: {
223
- confirmButtonText: '确定',
224
- cancelButtonText: '取消'
225
- },
226
- empty: {
227
- description: '暂无数据'
228
- }
229
- }
230
- });
231
- // EXTERNAL MODULE: external "vue"
232
- var external_vue_ = __webpack_require__(0);
233
- var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
234
-
235
- // EXTERNAL MODULE: ./node_modules/deepmerge/dist/cjs.js
236
- var cjs = __webpack_require__(15);
237
- var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
238
-
239
- // EXTERNAL MODULE: ./src/utils/util.js
240
- var util = __webpack_require__(3);
241
-
242
- // CONCATENATED MODULE: ./src/locale/format.js
243
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
244
-
245
-
246
-
247
- var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
248
- /**
249
- * String format template
250
- * - Inspired:
251
- * https://github.com/Matt-Esch/string-template/index.js
252
- */
253
- /* harmony default export */ var format = (function (Vue) {
254
- /**
255
- * template
256
- *
257
- * @param {String} string
258
- * @param {Array} ...args
259
- * @return {String}
260
- */
261
-
262
- function template(string) {
263
- for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
264
- args[_key - 1] = arguments[_key];
265
- }
266
-
267
- if (args.length === 1 && _typeof(args[0]) === 'object') {
268
- args = args[0];
269
- }
270
-
271
- if (!args || !args.hasOwnProperty) {
272
- args = {};
273
- }
274
-
275
- return string.replace(RE_NARGS, function (match, prefix, i, index) {
276
- var result = void 0;
277
-
278
- if (string[index - 1] === '{' && string[index + match.length] === '}') {
279
- return i;
280
- } else {
281
- result = Object(util["j" /* hasOwn */])(args, i) ? args[i] : null;
282
- if (result === null || result === undefined) {
283
- return '';
284
- }
285
-
286
- return result;
287
- }
288
- });
289
- }
290
-
291
- return template;
292
- });
293
- // CONCATENATED MODULE: ./src/locale/index.js
294
-
295
-
296
-
297
-
298
-
299
- var locale_format = format(external_vue_default.a);
300
- var lang = zh_CN;
301
- var merged = false;
302
- var locale_i18nHandler = function i18nHandler() {
303
- var vuei18n = Object.getPrototypeOf(this || external_vue_default.a).$t;
304
- if (typeof vuei18n === 'function' && !!external_vue_default.a.locale) {
305
- if (!merged) {
306
- merged = true;
307
- external_vue_default.a.locale(external_vue_default.a.config.lang, cjs_default()(lang, external_vue_default.a.locale(external_vue_default.a.config.lang) || {}, { clone: true }));
308
- }
309
- return vuei18n.apply(this, arguments);
310
- }
311
- };
312
-
313
- var t = function t(path, options) {
314
- var value = locale_i18nHandler.apply(this, arguments);
315
- if (value !== null && value !== undefined) return value;
316
-
317
- var array = path.split('.');
318
- var current = lang;
319
-
320
- for (var i = 0, j = array.length; i < j; i++) {
321
- var property = array[i];
322
- value = current[property];
323
- if (i === j - 1) return locale_format(value, options);
324
- if (!value) return '';
325
- current = value;
326
- }
327
- return '';
328
- };
329
-
330
- var use = function use(l) {
331
- lang = l || lang;
332
- };
333
-
334
- var i18n = function i18n(fn) {
335
- locale_i18nHandler = fn || locale_i18nHandler;
336
- };
337
-
338
- /* harmony default export */ var locale = ({ use: use, t: t, i18n: i18n });
339
-
340
- /***/ }),
341
-
342
- /***/ 12:
343
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
344
-
345
- "use strict";
346
- /* harmony import */ var element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
347
-
348
- /**
349
- * Show migrating guide in browser console.
350
- *
351
- * Usage:
352
- * import Migrating from 'element-ui/src/mixins/migrating';
353
- *
354
- * mixins: [Migrating]
355
- *
356
- * add getMigratingConfig method for your component.
357
- * getMigratingConfig() {
358
- * return {
359
- * props: {
360
- * 'allow-no-selection': 'allow-no-selection is removed.',
361
- * 'selection-mode': 'selection-mode is removed.'
362
- * },
363
- * events: {
364
- * selectionchange: 'selectionchange is renamed to selection-change.'
365
- * }
366
- * };
367
- * },
368
- */
369
- /* harmony default export */ __webpack_exports__["a"] = ({
370
- mounted: function mounted() {
371
- if (true) return;
372
- if (!this.$vnode) return;
373
-
374
- var _getMigratingConfig = this.getMigratingConfig(),
375
- _getMigratingConfig$p = _getMigratingConfig.props,
376
- props = _getMigratingConfig$p === undefined ? {} : _getMigratingConfig$p,
377
- _getMigratingConfig$e = _getMigratingConfig.events,
378
- events = _getMigratingConfig$e === undefined ? {} : _getMigratingConfig$e;
379
-
380
- var _$vnode = this.$vnode,
381
- data = _$vnode.data,
382
- componentOptions = _$vnode.componentOptions;
383
-
384
- var definedProps = data.attrs || {};
385
- var definedEvents = componentOptions.listeners || {};
386
-
387
- for (var propName in definedProps) {
388
- propName = Object(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* kebabCase */ "q"])(propName); // compatible with camel case
389
- if (props[propName]) {
390
- console.warn('[Element Migrating][' + this.$options.name + '][Attribute]: ' + props[propName]);
391
- }
392
- }
393
-
394
- for (var eventName in definedEvents) {
395
- eventName = Object(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* kebabCase */ "q"])(eventName); // compatible with camel case
396
- if (events[eventName]) {
397
- console.warn('[Element Migrating][' + this.$options.name + '][Event]: ' + events[eventName]);
398
- }
399
- }
400
- },
401
-
402
- methods: {
403
- getMigratingConfig: function getMigratingConfig() {
404
- return {
405
- props: {},
406
- events: {}
407
- };
408
- }
409
- }
410
- });
411
-
412
- /***/ }),
413
-
414
- /***/ 13:
415
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
416
-
417
- "use strict";
418
- /* harmony import */ var element_ui_src_locale__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
419
-
420
-
421
- /* harmony default export */ __webpack_exports__["a"] = ({
422
- methods: {
423
- t: function t() {
424
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
425
- args[_key] = arguments[_key];
426
- }
427
-
428
- return element_ui_src_locale__WEBPACK_IMPORTED_MODULE_0__[/* t */ "a"].apply(this, args);
429
- }
430
- }
431
- });
432
-
433
- /***/ }),
434
-
435
- /***/ 15:
436
- /***/ (function(module, exports, __webpack_require__) {
437
-
438
- "use strict";
439
-
440
-
441
- var isMergeableObject = function isMergeableObject(value) {
442
- return isNonNullObject(value)
443
- && !isSpecial(value)
444
- };
445
-
446
- function isNonNullObject(value) {
447
- return !!value && typeof value === 'object'
448
- }
449
-
450
- function isSpecial(value) {
451
- var stringValue = Object.prototype.toString.call(value);
452
-
453
- return stringValue === '[object RegExp]'
454
- || stringValue === '[object Date]'
455
- || isReactElement(value)
456
- }
457
-
458
- // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
459
- var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
460
- var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
461
-
462
- function isReactElement(value) {
463
- return value.$$typeof === REACT_ELEMENT_TYPE
464
- }
465
-
466
- function emptyTarget(val) {
467
- return Array.isArray(val) ? [] : {}
468
- }
469
-
470
- function cloneIfNecessary(value, optionsArgument) {
471
- var clone = optionsArgument && optionsArgument.clone === true;
472
- return (clone && isMergeableObject(value)) ? deepmerge(emptyTarget(value), value, optionsArgument) : value
473
- }
474
-
475
- function defaultArrayMerge(target, source, optionsArgument) {
476
- var destination = target.slice();
477
- source.forEach(function(e, i) {
478
- if (typeof destination[i] === 'undefined') {
479
- destination[i] = cloneIfNecessary(e, optionsArgument);
480
- } else if (isMergeableObject(e)) {
481
- destination[i] = deepmerge(target[i], e, optionsArgument);
482
- } else if (target.indexOf(e) === -1) {
483
- destination.push(cloneIfNecessary(e, optionsArgument));
484
- }
485
- });
486
- return destination
487
- }
488
-
489
- function mergeObject(target, source, optionsArgument) {
490
- var destination = {};
491
- if (isMergeableObject(target)) {
492
- Object.keys(target).forEach(function(key) {
493
- destination[key] = cloneIfNecessary(target[key], optionsArgument);
494
- });
495
- }
496
- Object.keys(source).forEach(function(key) {
497
- if (!isMergeableObject(source[key]) || !target[key]) {
498
- destination[key] = cloneIfNecessary(source[key], optionsArgument);
499
- } else {
500
- destination[key] = deepmerge(target[key], source[key], optionsArgument);
501
- }
502
- });
503
- return destination
504
- }
505
-
506
- function deepmerge(target, source, optionsArgument) {
507
- var sourceIsArray = Array.isArray(source);
508
- var targetIsArray = Array.isArray(target);
509
- var options = optionsArgument || { arrayMerge: defaultArrayMerge };
510
- var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
511
-
512
- if (!sourceAndTargetTypesMatch) {
513
- return cloneIfNecessary(source, optionsArgument)
514
- } else if (sourceIsArray) {
515
- var arrayMerge = options.arrayMerge || defaultArrayMerge;
516
- return arrayMerge(target, source, optionsArgument)
517
- } else {
518
- return mergeObject(target, source, optionsArgument)
519
- }
520
- }
521
-
522
- deepmerge.all = function deepmergeAll(array, optionsArgument) {
523
- if (!Array.isArray(array) || array.length < 2) {
524
- throw new Error('first argument should be an array with at least two elements')
525
- }
526
-
527
- // we are sure there are at least 2 values, so it is safe to have no initial value
528
- return array.reduce(function(prev, next) {
529
- return deepmerge(prev, next, optionsArgument)
530
- })
531
- };
532
-
533
- var deepmerge_1 = deepmerge;
534
-
535
- module.exports = deepmerge_1;
536
-
537
-
538
- /***/ }),
539
-
540
- /***/ 2:
541
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
542
92
 
543
93
  "use strict";
@@ -642,755 +192,35 @@ function normalizeComponent(
642
192
 
643
193
  /***/ }),
644
194
 
645
- /***/ 3:
646
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
647
-
648
- "use strict";
649
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return noop; });
650
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hasOwn; });
651
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return toObject; });
652
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getValueByPath; });
653
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getPropByPath; });
654
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return generateId; });
655
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return valueEquals; });
656
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return escapeRegexpString; });
657
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return arrayFindIndex; });
658
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return arrayFind; });
659
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return coerceTruthyValueToArray; });
660
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return isIE; });
661
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return isEdge; });
662
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return isFirefox; });
663
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return autoprefixer; });
664
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return kebabCase; });
665
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return capitalize; });
666
- /* unused harmony export looseEqual */
667
- /* unused harmony export arrayEquals */
668
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return isEqual; });
669
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return isEmpty; });
670
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return rafThrottle; });
671
- /* unused harmony export objToArray */
672
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return isMac; });
673
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
674
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
675
- /* harmony import */ var element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
676
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
677
-
678
-
679
-
680
-
681
- var hasOwnProperty = Object.prototype.hasOwnProperty;
682
-
683
- function noop() {};
684
-
685
- function hasOwn(obj, key) {
686
- return hasOwnProperty.call(obj, key);
687
- };
688
-
689
- function extend(to, _from) {
690
- for (var key in _from) {
691
- to[key] = _from[key];
692
- }
693
- return to;
694
- };
695
-
696
- function toObject(arr) {
697
- var res = {};
698
- for (var i = 0; i < arr.length; i++) {
699
- if (arr[i]) {
700
- extend(res, arr[i]);
701
- }
702
- }
703
- return res;
704
- };
705
-
706
- var getValueByPath = function getValueByPath(object, prop) {
707
- prop = prop || '';
708
- var paths = prop.split('.');
709
- var current = object;
710
- var result = null;
711
- for (var i = 0, j = paths.length; i < j; i++) {
712
- var path = paths[i];
713
- if (!current) break;
714
-
715
- if (i === j - 1) {
716
- result = current[path];
717
- break;
718
- }
719
- current = current[path];
720
- }
721
- return result;
722
- };
723
-
724
- function getPropByPath(obj, path, strict) {
725
- var tempObj = obj;
726
- path = path.replace(/\[(\w+)\]/g, '.$1');
727
- path = path.replace(/^\./, '');
728
-
729
- var keyArr = path.split('.');
730
- var i = 0;
731
- for (var len = keyArr.length; i < len - 1; ++i) {
732
- if (!tempObj && !strict) break;
733
- var key = keyArr[i];
734
- if (key in tempObj) {
735
- tempObj = tempObj[key];
736
- } else {
737
- if (strict) {
738
- throw new Error('please transfer a valid prop path to form item!');
739
- }
740
- break;
741
- }
742
- }
743
- return {
744
- o: tempObj,
745
- k: keyArr[i],
746
- v: tempObj ? tempObj[keyArr[i]] : null
747
- };
748
- };
749
-
750
- var generateId = function generateId() {
751
- return Math.floor(Math.random() * 10000);
752
- };
753
-
754
- var valueEquals = function valueEquals(a, b) {
755
- // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
756
- if (a === b) return true;
757
- if (!(a instanceof Array)) return false;
758
- if (!(b instanceof Array)) return false;
759
- if (a.length !== b.length) return false;
760
- for (var i = 0; i !== a.length; ++i) {
761
- if (a[i] !== b[i]) return false;
762
- }
763
- return true;
764
- };
765
-
766
- var escapeRegexpString = function escapeRegexpString() {
767
- var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
768
- return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
769
- };
770
-
771
- // TODO: use native Array.find, Array.findIndex when IE support is dropped
772
- var arrayFindIndex = function arrayFindIndex(arr, pred) {
773
- for (var i = 0; i !== arr.length; ++i) {
774
- if (pred(arr[i])) {
775
- return i;
776
- }
777
- }
778
- return -1;
779
- };
780
-
781
- var arrayFind = function arrayFind(arr, pred) {
782
- var idx = arrayFindIndex(arr, pred);
783
- return idx !== -1 ? arr[idx] : undefined;
784
- };
785
-
786
- // coerce truthy value to array
787
- var coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {
788
- if (Array.isArray(val)) {
789
- return val;
790
- } else if (val) {
791
- return [val];
792
- } else {
793
- return [];
794
- }
795
- };
796
-
797
- var isIE = function isIE() {
798
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !isNaN(Number(document.documentMode));
799
- };
800
-
801
- var isEdge = function isEdge() {
802
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
803
- };
804
-
805
- var isFirefox = function isFirefox() {
806
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
807
- };
808
-
809
- var autoprefixer = function autoprefixer(style) {
810
- if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style;
811
- var rules = ['transform', 'transition', 'animation'];
812
- var prefixes = ['ms-', 'webkit-'];
813
- rules.forEach(function (rule) {
814
- var value = style[rule];
815
- if (rule && value) {
816
- prefixes.forEach(function (prefix) {
817
- style[prefix + rule] = value;
818
- });
819
- }
820
- });
821
- return style;
822
- };
823
-
824
- var kebabCase = function kebabCase(str) {
825
- var hyphenateRE = /([^-])([A-Z])/g;
826
- return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
827
- };
828
-
829
- var capitalize = function capitalize(str) {
830
- if (!Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isString */ "e"])(str)) return str;
831
- return str.charAt(0).toUpperCase() + str.slice(1);
832
- };
833
-
834
- var looseEqual = function looseEqual(a, b) {
835
- var isObjectA = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(a);
836
- var isObjectB = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(b);
837
- if (isObjectA && isObjectB) {
838
- return JSON.stringify(a) === JSON.stringify(b);
839
- } else if (!isObjectA && !isObjectB) {
840
- return String(a) === String(b);
841
- } else {
842
- return false;
843
- }
844
- };
845
-
846
- var arrayEquals = function arrayEquals(arrayA, arrayB) {
847
- arrayA = arrayA || [];
848
- arrayB = arrayB || [];
849
-
850
- if (arrayA.length !== arrayB.length) {
851
- return false;
852
- }
853
-
854
- for (var i = 0; i < arrayA.length; i++) {
855
- if (!looseEqual(arrayA[i], arrayB[i])) {
856
- return false;
857
- }
858
- }
859
-
860
- return true;
861
- };
862
-
863
- var isEqual = function isEqual(value1, value2) {
864
- if (Array.isArray(value1) && Array.isArray(value2)) {
865
- return arrayEquals(value1, value2);
866
- }
867
- return looseEqual(value1, value2);
868
- };
869
-
870
- var isEmpty = function isEmpty(val) {
871
- // null or undefined
872
- if (val == null) return true;
873
-
874
- if (typeof val === 'boolean') return false;
875
-
876
- if (typeof val === 'number') return !val;
877
-
878
- if (val instanceof Error) return val.message === '';
879
-
880
- switch (Object.prototype.toString.call(val)) {
881
- // String or Array
882
- case '[object String]':
883
- case '[object Array]':
884
- return !val.length;
885
-
886
- // Map or Set or File
887
- case '[object File]':
888
- case '[object Map]':
889
- case '[object Set]':
890
- {
891
- return !val.size;
892
- }
893
- // Plain Object
894
- case '[object Object]':
895
- {
896
- return !Object.keys(val).length;
897
- }
898
- }
899
-
900
- return false;
901
- };
902
-
903
- function rafThrottle(fn) {
904
- var locked = false;
905
- return function () {
906
- var _this = this;
907
-
908
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
909
- args[_key] = arguments[_key];
910
- }
911
-
912
- if (locked) return;
913
- locked = true;
914
- window.requestAnimationFrame(function (_) {
915
- fn.apply(_this, args);
916
- locked = false;
917
- });
918
- };
919
- }
920
-
921
- function objToArray(obj) {
922
- if (Array.isArray(obj)) {
923
- return obj;
924
- }
925
- return isEmpty(obj) ? [] : [obj];
926
- }
195
+ /***/ 11:
196
+ /***/ (function(module, exports) {
927
197
 
928
- var isMac = function isMac() {
929
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent);
930
- };
198
+ module.exports = require("element-ui/src/mixins/migrating");
931
199
 
932
200
  /***/ }),
933
201
 
934
- /***/ 31:
202
+ /***/ 26:
935
203
  /***/ (function(module, exports) {
936
204
 
937
- var nestRE = /^(attrs|props|on|nativeOn|class|style|hook)$/
938
-
939
- module.exports = function mergeJSXProps (objs) {
940
- return objs.reduce(function (a, b) {
941
- var aa, bb, key, nestedKey, temp
942
- for (key in b) {
943
- aa = a[key]
944
- bb = b[key]
945
- if (aa && nestRE.test(key)) {
946
- // normalize class
947
- if (key === 'class') {
948
- if (typeof aa === 'string') {
949
- temp = aa
950
- a[key] = aa = {}
951
- aa[temp] = true
952
- }
953
- if (typeof bb === 'string') {
954
- temp = bb
955
- b[key] = bb = {}
956
- bb[temp] = true
957
- }
958
- }
959
- if (key === 'on' || key === 'nativeOn' || key === 'hook') {
960
- // merge functions
961
- for (nestedKey in bb) {
962
- aa[nestedKey] = mergeFn(aa[nestedKey], bb[nestedKey])
963
- }
964
- } else if (Array.isArray(aa)) {
965
- a[key] = aa.concat(bb)
966
- } else if (Array.isArray(bb)) {
967
- a[key] = [aa].concat(bb)
968
- } else {
969
- for (nestedKey in bb) {
970
- aa[nestedKey] = bb[nestedKey]
971
- }
972
- }
973
- } else {
974
- a[key] = b[key]
975
- }
976
- }
977
- return a
978
- }, {})
979
- }
980
-
981
- function mergeFn (a, b) {
982
- return function () {
983
- a && a.apply(this, arguments)
984
- b && b.apply(this, arguments)
985
- }
986
- }
987
-
205
+ module.exports = require("babel-helper-vue-jsx-merge-props");
988
206
 
989
207
  /***/ }),
990
208
 
991
- /***/ 37:
992
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
993
-
994
- "use strict";
995
- // ESM COMPAT FLAG
996
- __webpack_require__.r(__webpack_exports__);
997
-
998
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=279ef2ef
999
- var render = function render() {
1000
- var _vm = this,
1001
- _c = _vm._self._c
1002
- return _c(
1003
- "div",
1004
- {
1005
- staticClass: "el-progress",
1006
- class: [
1007
- "el-progress--" + _vm.type,
1008
- _vm.status ? "is-" + _vm.status : "",
1009
- {
1010
- "el-progress--without-text": !_vm.showText,
1011
- "el-progress--text-inside": _vm.textInside,
1012
- },
1013
- ],
1014
- attrs: {
1015
- role: "progressbar",
1016
- "aria-valuenow": _vm.percentage,
1017
- "aria-valuemin": "0",
1018
- "aria-valuemax": "100",
1019
- },
1020
- },
1021
- [
1022
- _vm.type === "line"
1023
- ? _c("div", { staticClass: "el-progress-bar" }, [
1024
- _c(
1025
- "div",
1026
- {
1027
- staticClass: "el-progress-bar__outer",
1028
- style: {
1029
- height: _vm.strokeWidth + "px",
1030
- backgroundColor: _vm.defineBackColor,
1031
- },
1032
- },
1033
- [
1034
- _c(
1035
- "div",
1036
- {
1037
- staticClass: "el-progress-bar__inner",
1038
- style: _vm.barStyle,
1039
- },
1040
- [
1041
- _vm.showText && _vm.textInside
1042
- ? _c(
1043
- "div",
1044
- {
1045
- staticClass: "el-progress-bar__innerText",
1046
- style: { color: _vm.textColor },
1047
- },
1048
- [_vm._v(_vm._s(_vm.content))]
1049
- )
1050
- : _vm._e(),
1051
- ]
1052
- ),
1053
- ]
1054
- ),
1055
- ])
1056
- : _c(
1057
- "div",
1058
- {
1059
- staticClass: "el-progress-circle",
1060
- style: { height: _vm.width + "px", width: _vm.width + "px" },
1061
- },
1062
- [
1063
- _c("svg", { attrs: { viewBox: "0 0 100 100" } }, [
1064
- _c("path", {
1065
- staticClass: "el-progress-circle__track",
1066
- style: _vm.trailPathStyle,
1067
- attrs: {
1068
- d: _vm.trackPath,
1069
- stroke: _vm.defineBackColor,
1070
- "stroke-width": _vm.relativeStrokeWidth,
1071
- fill: "none",
1072
- },
1073
- }),
1074
- _c("path", {
1075
- staticClass: "el-progress-circle__path",
1076
- style: _vm.circlePathStyle,
1077
- attrs: {
1078
- d: _vm.trackPath,
1079
- stroke: _vm.stroke,
1080
- fill: "none",
1081
- "stroke-linecap": _vm.strokeLinecap,
1082
- "stroke-width": _vm.percentage
1083
- ? _vm.relativeStrokeWidth
1084
- : 0,
1085
- },
1086
- }),
1087
- ]),
1088
- ]
1089
- ),
1090
- _vm.showText && !_vm.textInside
1091
- ? _c(
1092
- "div",
1093
- {
1094
- staticClass: "el-progress__text",
1095
- style: {
1096
- fontSize: _vm.progressTextSize + "px",
1097
- color: _vm.textColor,
1098
- },
1099
- },
1100
- [
1101
- !_vm.status
1102
- ? [_vm._v(_vm._s(_vm.content))]
1103
- : _c("i", { class: _vm.iconClass }),
1104
- ],
1105
- 2
1106
- )
1107
- : _vm._e(),
1108
- ]
1109
- )
1110
- }
1111
- var staticRenderFns = []
1112
- render._withStripped = true
1113
-
1114
-
1115
- // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=279ef2ef
1116
-
1117
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=script&lang=js
1118
-
1119
- /* harmony default export */ var progressvue_type_script_lang_js = ({
1120
- name: 'ElProgress',
1121
- props: {
1122
- type: {
1123
- type: String,
1124
- default: 'line',
1125
- validator: function validator(val) {
1126
- return ['line', 'circle', 'dashboard'].indexOf(val) > -1;
1127
- }
1128
- },
1129
- percentage: {
1130
- type: Number,
1131
- default: 0,
1132
- required: true,
1133
- validator: function validator(val) {
1134
- return val >= 0 && val <= 100;
1135
- }
1136
- },
1137
- status: {
1138
- type: String,
1139
- validator: function validator(val) {
1140
- return ['success', 'exception', 'warning'].indexOf(val) > -1;
1141
- }
1142
- },
1143
- strokeWidth: {
1144
- type: Number,
1145
- default: 6
1146
- },
1147
- strokeLinecap: {
1148
- type: String,
1149
- default: 'round'
1150
- },
1151
- textInside: {
1152
- type: Boolean,
1153
- default: false
1154
- },
1155
- width: {
1156
- type: Number,
1157
- default: 126
1158
- },
1159
- showText: {
1160
- type: Boolean,
1161
- default: true
1162
- },
1163
- color: {
1164
- type: [String, Array, Function],
1165
- default: ''
1166
- },
1167
- defineBackColor: {
1168
- type: [String, Array, Function],
1169
- default: '#ebeef5'
1170
- },
1171
- textColor: {
1172
- type: [String, Array, Function],
1173
- default: '#606266'
1174
- },
1175
- format: Function
1176
- },
1177
- computed: {
1178
- barStyle: function barStyle() {
1179
- var style = {};
1180
- style.width = this.percentage + '%';
1181
- style.backgroundColor = this.getCurrentColor(this.percentage);
1182
- return style;
1183
- },
1184
- relativeStrokeWidth: function relativeStrokeWidth() {
1185
- return (this.strokeWidth / this.width * 100).toFixed(1);
1186
- },
1187
- radius: function radius() {
1188
- if (this.type === 'circle' || this.type === 'dashboard') {
1189
- return parseInt(50 - parseFloat(this.relativeStrokeWidth) / 2, 10);
1190
- } else {
1191
- return 0;
1192
- }
1193
- },
1194
- trackPath: function trackPath() {
1195
- var radius = this.radius;
1196
- var isDashboard = this.type === 'dashboard';
1197
- return '\n\t\t\t\t\tM 50 50\n\t\t\t\t\tm 0 ' + (isDashboard ? '' : '-') + radius + '\n\t\t\t\t\ta ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '-' : '') + radius * 2 + '\n\t\t\t\t\ta ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '' : '-') + radius * 2 + '\n\t\t\t\t\t';
1198
- },
1199
- perimeter: function perimeter() {
1200
- return 2 * Math.PI * this.radius;
1201
- },
1202
- rate: function rate() {
1203
- return this.type === 'dashboard' ? 0.75 : 1;
1204
- },
1205
- strokeDashoffset: function strokeDashoffset() {
1206
- var offset = -1 * this.perimeter * (1 - this.rate) / 2;
1207
- return offset + 'px';
1208
- },
1209
- trailPathStyle: function trailPathStyle() {
1210
- return {
1211
- strokeDasharray: this.perimeter * this.rate + 'px, ' + this.perimeter + 'px',
1212
- strokeDashoffset: this.strokeDashoffset
1213
- };
1214
- },
1215
- circlePathStyle: function circlePathStyle() {
1216
- return {
1217
- strokeDasharray: this.perimeter * this.rate * (this.percentage / 100) + 'px, ' + this.perimeter + 'px',
1218
- strokeDashoffset: this.strokeDashoffset,
1219
- transition: 'stroke-dasharray 0.6s ease 0s, stroke 0.6s ease'
1220
- };
1221
- },
1222
- stroke: function stroke() {
1223
- var ret = void 0;
1224
- if (this.color) {
1225
- ret = this.getCurrentColor(this.percentage);
1226
- } else {
1227
- switch (this.status) {
1228
- case 'success':
1229
- ret = '#13ce66';
1230
- break;
1231
- case 'exception':
1232
- ret = '#ff4949';
1233
- break;
1234
- case 'warning':
1235
- ret = '#e6a23c';
1236
- break;
1237
- default:
1238
- ret = '#20a0ff';
1239
- }
1240
- }
1241
- return ret;
1242
- },
1243
- iconClass: function iconClass() {
1244
- if (this.status === 'warning') {
1245
- return 'el-icon-warning';
1246
- }
1247
- if (this.type === 'line') {
1248
- return this.status === 'success' ? 'el-icon-circle-check' : 'el-icon-circle-close';
1249
- } else {
1250
- return this.status === 'success' ? 'el-icon-check' : 'el-icon-close';
1251
- }
1252
- },
1253
- progressTextSize: function progressTextSize() {
1254
- return this.type === 'line' ? 12 + this.strokeWidth * 0.4 : this.width * 0.111111 + 2;
1255
- },
1256
- content: function content() {
1257
- if (typeof this.format === 'function') {
1258
- return this.format(this.percentage) || '';
1259
- } else {
1260
- return this.percentage + '%';
1261
- }
1262
- }
1263
- },
1264
- methods: {
1265
- getCurrentColor: function getCurrentColor(percentage) {
1266
- if (typeof this.color === 'function') {
1267
- return this.color(percentage);
1268
- } else if (typeof this.color === 'string') {
1269
- return this.color;
1270
- } else {
1271
- return this.getLevelColor(percentage);
1272
- }
1273
- },
1274
- getLevelColor: function getLevelColor(percentage) {
1275
- var colorArray = this.getColorArray().sort(function (a, b) {
1276
- return a.percentage - b.percentage;
1277
- });
1278
-
1279
- for (var i = 0; i < colorArray.length; i++) {
1280
- if (colorArray[i].percentage > percentage) {
1281
- return colorArray[i].color;
1282
- }
1283
- }
1284
- return colorArray[colorArray.length - 1].color;
1285
- },
1286
- getColorArray: function getColorArray() {
1287
- var color = this.color;
1288
- var span = 100 / color.length;
1289
- return color.map(function (seriesColor, index) {
1290
- if (typeof seriesColor === 'string') {
1291
- return {
1292
- color: seriesColor,
1293
- percentage: (index + 1) * span
1294
- };
1295
- }
1296
- return seriesColor;
1297
- });
1298
- }
1299
- }
1300
- });
1301
- // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=script&lang=js
1302
- /* harmony default export */ var src_progressvue_type_script_lang_js = (progressvue_type_script_lang_js);
1303
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1304
- var componentNormalizer = __webpack_require__(2);
1305
-
1306
- // CONCATENATED MODULE: ./packages/progress/src/progress.vue
1307
-
1308
-
1309
-
1310
-
1311
-
1312
- /* normalize component */
1313
-
1314
- var component = Object(componentNormalizer["a" /* default */])(
1315
- src_progressvue_type_script_lang_js,
1316
- render,
1317
- staticRenderFns,
1318
- false,
1319
- null,
1320
- null,
1321
- null
1322
-
1323
- )
1324
-
1325
- /* harmony default export */ var progress = (component.exports);
1326
- // CONCATENATED MODULE: ./packages/progress/index.js
1327
-
1328
-
1329
- /* istanbul ignore next */
1330
- progress.install = function (Vue) {
1331
- Vue.component(progress.name, progress);
1332
- };
209
+ /***/ 44:
210
+ /***/ (function(module, exports) {
1333
211
 
1334
- /* harmony default export */ var packages_progress = __webpack_exports__["default"] = (progress);
212
+ module.exports = require("element-ui/packages/progress");
1335
213
 
1336
214
  /***/ }),
1337
215
 
1338
- /***/ 4:
1339
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1340
-
1341
- "use strict";
1342
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isString; });
1343
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isObject; });
1344
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isHtmlElement; });
1345
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isFunction; });
1346
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isUndefined; });
1347
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isDefined; });
1348
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1349
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
1350
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
1351
-
1352
-
1353
-
1354
- function isString(obj) {
1355
- return Object.prototype.toString.call(obj) === '[object String]';
1356
- }
1357
-
1358
- function isObject(obj) {
1359
- return Object.prototype.toString.call(obj) === '[object Object]';
1360
- }
1361
-
1362
- function isHtmlElement(node) {
1363
- return node && node.nodeType === Node.ELEMENT_NODE;
1364
- }
1365
-
1366
- /**
1367
- * - Inspired:
1368
- * https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js
1369
- */
1370
- var isFunction = function isFunction(functionToCheck) {
1371
- var getType = {};
1372
- return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
1373
- };
1374
-
1375
- if ( true && (typeof Int8Array === 'undefined' ? 'undefined' : _typeof(Int8Array)) !== 'object' && (vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer || typeof document.childNodes !== 'function')) {
1376
- isFunction = function isFunction(obj) {
1377
- return typeof obj === 'function' || false;
1378
- };
1379
- }
1380
-
1381
-
1382
-
1383
- var isUndefined = function isUndefined(val) {
1384
- return val === void 0;
1385
- };
216
+ /***/ 6:
217
+ /***/ (function(module, exports) {
1386
218
 
1387
- var isDefined = function isDefined(val) {
1388
- return val !== undefined && val !== null;
1389
- };
219
+ module.exports = require("element-ui/src/mixins/locale");
1390
220
 
1391
221
  /***/ }),
1392
222
 
1393
- /***/ 69:
223
+ /***/ 63:
1394
224
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1395
225
 
1396
226
  "use strict";
@@ -1566,11 +396,13 @@ upload_listvue_type_template_id_f52834b0_render._withStripped = true
1566
396
 
1567
397
  // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=template&id=f52834b0
1568
398
 
1569
- // EXTERNAL MODULE: ./src/mixins/locale.js
1570
- var locale = __webpack_require__(13);
399
+ // EXTERNAL MODULE: external "element-ui/src/mixins/locale"
400
+ var locale_ = __webpack_require__(6);
401
+ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
1571
402
 
1572
- // EXTERNAL MODULE: ./packages/progress/index.js + 5 modules
1573
- var progress = __webpack_require__(37);
403
+ // EXTERNAL MODULE: external "element-ui/packages/progress"
404
+ var progress_ = __webpack_require__(44);
405
+ var progress_default = /*#__PURE__*/__webpack_require__.n(progress_);
1574
406
 
1575
407
  // 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
1576
408
 
@@ -1581,7 +413,7 @@ var progress = __webpack_require__(37);
1581
413
 
1582
414
  name: 'ElUploadList',
1583
415
 
1584
- mixins: [locale["a" /* default */]],
416
+ mixins: [locale_default.a],
1585
417
 
1586
418
  data: function data() {
1587
419
  return {
@@ -1589,7 +421,7 @@ var progress = __webpack_require__(37);
1589
421
  };
1590
422
  },
1591
423
 
1592
- components: { ElProgress: progress["default"] },
424
+ components: { ElProgress: progress_default.a },
1593
425
 
1594
426
  props: {
1595
427
  files: {
@@ -1617,7 +449,7 @@ var progress = __webpack_require__(37);
1617
449
  // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=script&lang=js
1618
450
  /* harmony default export */ var src_upload_listvue_type_script_lang_js = (upload_listvue_type_script_lang_js);
1619
451
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1620
- var componentNormalizer = __webpack_require__(2);
452
+ var componentNormalizer = __webpack_require__(0);
1621
453
 
1622
454
  // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue
1623
455
 
@@ -1639,9 +471,9 @@ var component = Object(componentNormalizer["a" /* default */])(
1639
471
  )
1640
472
 
1641
473
  /* harmony default export */ var upload_list = (component.exports);
1642
- // EXTERNAL MODULE: ./node_modules/babel-helper-vue-jsx-merge-props/index.js
1643
- var babel_helper_vue_jsx_merge_props = __webpack_require__(31);
1644
- var babel_helper_vue_jsx_merge_props_default = /*#__PURE__*/__webpack_require__.n(babel_helper_vue_jsx_merge_props);
474
+ // EXTERNAL MODULE: external "babel-helper-vue-jsx-merge-props"
475
+ var external_babel_helper_vue_jsx_merge_props_ = __webpack_require__(26);
476
+ var external_babel_helper_vue_jsx_merge_props_default = /*#__PURE__*/__webpack_require__.n(external_babel_helper_vue_jsx_merge_props_);
1645
477
 
1646
478
  // CONCATENATED MODULE: ./packages/upload/src/ajax.js
1647
479
  function getError(action, option, xhr) {
@@ -2059,7 +891,7 @@ var upload_dragger_component = Object(componentNormalizer["a" /* default */])(
2059
891
  data.class['el-upload--' + listType] = true;
2060
892
  return h(
2061
893
  'div',
2062
- babel_helper_vue_jsx_merge_props_default()([data, {
894
+ external_babel_helper_vue_jsx_merge_props_default()([data, {
2063
895
  attrs: { tabindex: '0' }
2064
896
  }]),
2065
897
  [drag ? h(
@@ -2101,8 +933,9 @@ var upload_component = Object(componentNormalizer["a" /* default */])(
2101
933
  )
2102
934
 
2103
935
  /* harmony default export */ var src_upload = (upload_component.exports);
2104
- // EXTERNAL MODULE: ./src/mixins/migrating.js
2105
- var migrating = __webpack_require__(12);
936
+ // EXTERNAL MODULE: external "element-ui/src/mixins/migrating"
937
+ var migrating_ = __webpack_require__(11);
938
+ var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_);
2106
939
 
2107
940
  // 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
2108
941
 
@@ -2116,10 +949,10 @@ function noop() {}
2116
949
  /* harmony default export */ var srcvue_type_script_lang_js = ({
2117
950
  name: 'ElUpload',
2118
951
 
2119
- mixins: [migrating["a" /* default */]],
952
+ mixins: [migrating_default.a],
2120
953
 
2121
954
  components: {
2122
- ElProgress: progress["default"],
955
+ ElProgress: progress_default.a,
2123
956
  UploadList: upload_list,
2124
957
  Upload: src_upload
2125
958
  },