cy-element-ui 1.0.39 → 1.0.41

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 (119) hide show
  1. package/README.md +8 -7
  2. package/lib/alert.js +13 -31
  3. package/lib/aside.js +77 -84
  4. package/lib/autocomplete.js +3969 -268
  5. package/lib/avatar.js +108 -108
  6. package/lib/backtop.js +118 -136
  7. package/lib/badge.js +112 -133
  8. package/lib/breadcrumb-item.js +8 -21
  9. package/lib/breadcrumb.js +8 -14
  10. package/lib/button-group.js +8 -14
  11. package/lib/button.js +8 -33
  12. package/lib/calendar.js +1549 -109
  13. package/lib/card.js +96 -104
  14. package/lib/carousel-item.js +456 -135
  15. package/lib/carousel.js +191 -179
  16. package/lib/cascader-panel.js +2275 -209
  17. package/lib/cascader.js +6410 -349
  18. package/lib/checkbox-button.js +52 -62
  19. package/lib/checkbox-group.js +51 -20
  20. package/lib/checkbox.js +51 -75
  21. package/lib/col.js +2 -2
  22. package/lib/collapse-item.js +829 -170
  23. package/lib/collapse.js +112 -118
  24. package/lib/color-picker.js +3917 -258
  25. package/lib/container.js +88 -95
  26. package/lib/date-picker.js +8736 -4669
  27. package/lib/descriptions-item.js +2 -2
  28. package/lib/descriptions.js +63 -8
  29. package/lib/dialog.js +1213 -75
  30. package/lib/divider.js +104 -120
  31. package/lib/drawer.js +897 -173
  32. package/lib/dropdown-item.js +47 -31
  33. package/lib/dropdown-menu.js +2275 -81
  34. package/lib/dropdown.js +1072 -136
  35. package/lib/element-ui.common.js +910 -4903
  36. package/lib/empty.js +625 -169
  37. package/lib/fileUpload.js +3593 -520
  38. package/lib/footer.js +77 -84
  39. package/lib/form-item.js +450 -99
  40. package/lib/form.js +33 -28
  41. package/lib/header.js +77 -84
  42. package/lib/icon.js +67 -72
  43. package/lib/image.js +1400 -152
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +311 -21
  46. package/lib/input-number.js +1438 -100
  47. package/lib/input.js +511 -151
  48. package/lib/link.js +9 -33
  49. package/lib/loading.js +808 -90
  50. package/lib/main.js +64 -71
  51. package/lib/menu-item-group.js +8 -20
  52. package/lib/menu-item.js +2912 -59
  53. package/lib/menu.js +745 -54
  54. package/lib/message-box.js +2556 -184
  55. package/lib/message.js +1117 -64
  56. package/lib/notification.js +1114 -67
  57. package/lib/option-group.js +47 -27
  58. package/lib/option.js +404 -43
  59. package/lib/page-header.js +683 -94
  60. package/lib/pagination.js +6078 -170
  61. package/lib/popconfirm.js +3514 -263
  62. package/lib/popover.js +2594 -93
  63. package/lib/progress.js +9 -62
  64. package/lib/radio-button.js +48 -55
  65. package/lib/radio-group.js +47 -26
  66. package/lib/radio.js +52 -67
  67. package/lib/rate.js +760 -152
  68. package/lib/result.js +39 -89
  69. package/lib/row.js +2 -2
  70. package/lib/scrollbar.js +735 -50
  71. package/lib/select.js +4294 -326
  72. package/lib/skeleton-item.js +13 -33
  73. package/lib/skeleton.js +116 -143
  74. package/lib/slider.js +4285 -254
  75. package/lib/spinner.js +100 -108
  76. package/lib/statistic.js +9627 -161
  77. package/lib/step.js +140 -186
  78. package/lib/steps.js +514 -111
  79. package/lib/subTitle.js +91 -100
  80. package/lib/submenu.js +2444 -123
  81. package/lib/switch.js +483 -67
  82. package/lib/tab-pane.js +10 -24
  83. package/lib/tabDialog.js +1548 -71
  84. package/lib/table-column.js +880 -32
  85. package/lib/table.js +4530 -744
  86. package/lib/tabs.js +432 -23
  87. package/lib/tag.js +4 -4
  88. package/lib/theme-chalk/gulpfile.js +27 -0
  89. package/lib/time-picker.js +5016 -566
  90. package/lib/time-select.js +4976 -313
  91. package/lib/timeline-item.js +114 -156
  92. package/lib/timeline.js +82 -82
  93. package/lib/tooltip.js +2566 -41
  94. package/lib/transfer.js +2143 -247
  95. package/lib/tree.js +1387 -180
  96. package/lib/treeSelect.js +3426 -153
  97. package/lib/upload.js +1154 -207
  98. package/package.json +10 -11
  99. package/packages/input-number/src/input-number.vue +7 -4
  100. package/packages/selectDisplayInput/index.js +8 -0
  101. package/packages/selectDisplayInput/src/main.vue +75 -0
  102. package/packages/theme-chalk/gulpfile.js +27 -0
  103. package/packages/theme-cy/gulpfile.js +27 -0
  104. package/packages/theme-cy/src/base.scss +3 -0
  105. package/packages/theme-cy/src/index.scss +1 -0
  106. package/packages/theme-cy/src/selectDisplayInput.scss +76 -0
  107. package/packages/theme-cy/src/treeSelect.scss +9 -4
  108. package/packages/treeSelect/src/main.vue +79 -0
  109. package/src/index.js +7 -4
  110. package/types/element-ui.d.ts +5 -1
  111. package/types/selectDisplayInput.d.ts +5 -0
  112. package/CHANGELOG.md +0 -280
  113. /package/{packages/theme-cy/lib → lib/theme-chalk}/base.css +0 -0
  114. /package/{packages/theme-cy/lib → lib/theme-chalk}/element.css +0 -0
  115. /package/{packages/theme-cy/lib → lib/theme-chalk}/fileUpload.css +0 -0
  116. /package/{packages/theme-cy/lib → lib/theme-chalk}/index.css +0 -0
  117. /package/{packages/theme-cy/lib → lib/theme-chalk}/subTitle.css +0 -0
  118. /package/{packages/theme-cy/lib → lib/theme-chalk}/tabDialog.css +0 -0
  119. /package/{packages/theme-cy/lib → lib/theme-chalk}/treeSelect.css +0 -0
@@ -82,12 +82,1011 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 91);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 55);
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
+ /***/ 1:
98
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
+
100
+ "use strict";
101
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return on; });
102
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return off; });
103
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return once; });
104
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return hasClass; });
105
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addClass; });
106
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return removeClass; });
107
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getStyle; });
108
+ /* unused harmony export setStyle */
109
+ /* unused harmony export isScroll */
110
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getScrollContainer; });
111
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isInContainer; });
112
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
113
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
114
+ 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; };
115
+
116
+ /* istanbul ignore next */
117
+
118
+
119
+
120
+ var isServer = vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer;
121
+ var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g;
122
+ var MOZ_HACK_REGEXP = /^moz([A-Z])/;
123
+ var ieVersion = isServer ? 0 : Number(document.documentMode);
124
+
125
+ /* istanbul ignore next */
126
+ var trim = function trim(string) {
127
+ return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
128
+ };
129
+ /* istanbul ignore next */
130
+ var camelCase = function camelCase(name) {
131
+ return name.replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {
132
+ return offset ? letter.toUpperCase() : letter;
133
+ }).replace(MOZ_HACK_REGEXP, 'Moz$1');
134
+ };
135
+
136
+ /* istanbul ignore next */
137
+ var on = function () {
138
+ if (!isServer && document.addEventListener) {
139
+ return function (element, event, handler) {
140
+ if (element && event && handler) {
141
+ element.addEventListener(event, handler, false);
142
+ }
143
+ };
144
+ } else {
145
+ return function (element, event, handler) {
146
+ if (element && event && handler) {
147
+ element.attachEvent('on' + event, handler);
148
+ }
149
+ };
150
+ }
151
+ }();
152
+
153
+ /* istanbul ignore next */
154
+ var off = function () {
155
+ if (!isServer && document.removeEventListener) {
156
+ return function (element, event, handler) {
157
+ if (element && event) {
158
+ element.removeEventListener(event, handler, false);
159
+ }
160
+ };
161
+ } else {
162
+ return function (element, event, handler) {
163
+ if (element && event) {
164
+ element.detachEvent('on' + event, handler);
165
+ }
166
+ };
167
+ }
168
+ }();
169
+
170
+ /* istanbul ignore next */
171
+ var once = function once(el, event, fn) {
172
+ var listener = function listener() {
173
+ if (fn) {
174
+ fn.apply(this, arguments);
175
+ }
176
+ off(el, event, listener);
177
+ };
178
+ on(el, event, listener);
179
+ };
180
+
181
+ /* istanbul ignore next */
182
+ function hasClass(el, cls) {
183
+ if (!el || !cls) return false;
184
+ if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');
185
+ if (el.classList) {
186
+ return el.classList.contains(cls);
187
+ } else {
188
+ return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;
189
+ }
190
+ };
191
+
192
+ /* istanbul ignore next */
193
+ function addClass(el, cls) {
194
+ if (!el) return;
195
+ var curClass = el.className;
196
+ var classes = (cls || '').split(' ');
197
+
198
+ for (var i = 0, j = classes.length; i < j; i++) {
199
+ var clsName = classes[i];
200
+ if (!clsName) continue;
201
+
202
+ if (el.classList) {
203
+ el.classList.add(clsName);
204
+ } else if (!hasClass(el, clsName)) {
205
+ curClass += ' ' + clsName;
206
+ }
207
+ }
208
+ if (!el.classList) {
209
+ el.setAttribute('class', curClass);
210
+ }
211
+ };
212
+
213
+ /* istanbul ignore next */
214
+ function removeClass(el, cls) {
215
+ if (!el || !cls) return;
216
+ var classes = cls.split(' ');
217
+ var curClass = ' ' + el.className + ' ';
218
+
219
+ for (var i = 0, j = classes.length; i < j; i++) {
220
+ var clsName = classes[i];
221
+ if (!clsName) continue;
222
+
223
+ if (el.classList) {
224
+ el.classList.remove(clsName);
225
+ } else if (hasClass(el, clsName)) {
226
+ curClass = curClass.replace(' ' + clsName + ' ', ' ');
227
+ }
228
+ }
229
+ if (!el.classList) {
230
+ el.setAttribute('class', trim(curClass));
231
+ }
232
+ };
233
+
234
+ /* istanbul ignore next */
235
+ var getStyle = ieVersion < 9 ? function (element, styleName) {
236
+ if (isServer) return;
237
+ if (!element || !styleName) return null;
238
+ styleName = camelCase(styleName);
239
+ if (styleName === 'float') {
240
+ styleName = 'styleFloat';
241
+ }
242
+ try {
243
+ switch (styleName) {
244
+ case 'opacity':
245
+ try {
246
+ return element.filters.item('alpha').opacity / 100;
247
+ } catch (e) {
248
+ return 1.0;
249
+ }
250
+ default:
251
+ return element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null;
252
+ }
253
+ } catch (e) {
254
+ return element.style[styleName];
255
+ }
256
+ } : function (element, styleName) {
257
+ if (isServer) return;
258
+ if (!element || !styleName) return null;
259
+ styleName = camelCase(styleName);
260
+ if (styleName === 'float') {
261
+ styleName = 'cssFloat';
262
+ }
263
+ try {
264
+ var computed = document.defaultView.getComputedStyle(element, '');
265
+ return element.style[styleName] || computed ? computed[styleName] : null;
266
+ } catch (e) {
267
+ return element.style[styleName];
268
+ }
269
+ };
270
+
271
+ /* istanbul ignore next */
272
+ function setStyle(element, styleName, value) {
273
+ if (!element || !styleName) return;
274
+
275
+ if ((typeof styleName === 'undefined' ? 'undefined' : _typeof(styleName)) === 'object') {
276
+ for (var prop in styleName) {
277
+ if (styleName.hasOwnProperty(prop)) {
278
+ setStyle(element, prop, styleName[prop]);
279
+ }
280
+ }
281
+ } else {
282
+ styleName = camelCase(styleName);
283
+ if (styleName === 'opacity' && ieVersion < 9) {
284
+ element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')';
285
+ } else {
286
+ element.style[styleName] = value;
287
+ }
288
+ }
289
+ };
290
+
291
+ var isScroll = function isScroll(el, vertical) {
292
+ if (isServer) return;
293
+
294
+ var determinedDirection = vertical !== null && vertical !== undefined;
295
+ var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
296
+
297
+ return overflow.match(/(scroll|auto|overlay)/);
298
+ };
299
+
300
+ var getScrollContainer = function getScrollContainer(el, vertical) {
301
+ if (isServer) return;
302
+
303
+ var parent = el;
304
+ while (parent) {
305
+ if ([window, document, document.documentElement].includes(parent)) {
306
+ return window;
307
+ }
308
+ if (isScroll(parent, vertical)) {
309
+ return parent;
310
+ }
311
+ parent = parent.parentNode;
312
+ }
313
+
314
+ return parent;
315
+ };
316
+
317
+ var isInContainer = function isInContainer(el, container) {
318
+ if (isServer || !el || !container) return false;
319
+
320
+ var elRect = el.getBoundingClientRect();
321
+ var containerRect = void 0;
322
+
323
+ if ([window, document, document.documentElement, null, undefined].includes(container)) {
324
+ containerRect = {
325
+ top: 0,
326
+ right: window.innerWidth,
327
+ bottom: window.innerHeight,
328
+ left: 0
329
+ };
330
+ } else {
331
+ containerRect = container.getBoundingClientRect();
332
+ }
333
+
334
+ return elRect.top < containerRect.bottom && elRect.bottom > containerRect.top && elRect.right > containerRect.left && elRect.left < containerRect.right;
335
+ };
336
+
337
+ /***/ }),
338
+
339
+ /***/ 12:
340
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
341
+
342
+ "use strict";
343
+ /* harmony import */ var element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
344
+
345
+ /**
346
+ * Show migrating guide in browser console.
347
+ *
348
+ * Usage:
349
+ * import Migrating from 'element-ui/src/mixins/migrating';
350
+ *
351
+ * mixins: [Migrating]
352
+ *
353
+ * add getMigratingConfig method for your component.
354
+ * getMigratingConfig() {
355
+ * return {
356
+ * props: {
357
+ * 'allow-no-selection': 'allow-no-selection is removed.',
358
+ * 'selection-mode': 'selection-mode is removed.'
359
+ * },
360
+ * events: {
361
+ * selectionchange: 'selectionchange is renamed to selection-change.'
362
+ * }
363
+ * };
364
+ * },
365
+ */
366
+ /* harmony default export */ __webpack_exports__["a"] = ({
367
+ mounted: function mounted() {
368
+ if (true) return;
369
+ if (!this.$vnode) return;
370
+
371
+ var _getMigratingConfig = this.getMigratingConfig(),
372
+ _getMigratingConfig$p = _getMigratingConfig.props,
373
+ props = _getMigratingConfig$p === undefined ? {} : _getMigratingConfig$p,
374
+ _getMigratingConfig$e = _getMigratingConfig.events,
375
+ events = _getMigratingConfig$e === undefined ? {} : _getMigratingConfig$e;
376
+
377
+ var _$vnode = this.$vnode,
378
+ data = _$vnode.data,
379
+ componentOptions = _$vnode.componentOptions;
380
+
381
+ var definedProps = data.attrs || {};
382
+ var definedEvents = componentOptions.listeners || {};
383
+
384
+ for (var propName in definedProps) {
385
+ propName = Object(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* kebabCase */ "q"])(propName); // compatible with camel case
386
+ if (props[propName]) {
387
+ console.warn('[Element Migrating][' + this.$options.name + '][Attribute]: ' + props[propName]);
388
+ }
389
+ }
390
+
391
+ for (var eventName in definedEvents) {
392
+ eventName = Object(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_0__[/* kebabCase */ "q"])(eventName); // compatible with camel case
393
+ if (events[eventName]) {
394
+ console.warn('[Element Migrating][' + this.$options.name + '][Event]: ' + events[eventName]);
395
+ }
396
+ }
397
+ },
398
+
399
+ methods: {
400
+ getMigratingConfig: function getMigratingConfig() {
401
+ return {
402
+ props: {},
403
+ events: {}
404
+ };
405
+ }
406
+ }
407
+ });
408
+
409
+ /***/ }),
410
+
411
+ /***/ 16:
412
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
413
+
414
+ "use strict";
415
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isDef; });
416
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isKorean; });
417
+ function isDef(val) {
418
+ return val !== undefined && val !== null;
419
+ }
420
+ function isKorean(text) {
421
+ var reg = /([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;
422
+ return reg.test(text);
423
+ }
424
+
425
+ /***/ }),
426
+
427
+ /***/ 18:
428
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
429
+
430
+ "use strict";
431
+ // ESM COMPAT FLAG
432
+ __webpack_require__.r(__webpack_exports__);
433
+
434
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=af7512c8
435
+ var render = function render() {
436
+ var _vm = this,
437
+ _c = _vm._self._c
438
+ return _c(
439
+ "div",
440
+ {
441
+ class: [
442
+ _vm.type === "textarea" ? "el-textarea" : "el-input",
443
+ _vm.inputSize ? "el-input--" + _vm.inputSize : "",
444
+ {
445
+ "is-disabled": _vm.inputDisabled,
446
+ "is-exceed": _vm.inputExceed,
447
+ "el-input-group": _vm.$slots.prepend || _vm.$slots.append,
448
+ "el-input-group--append": _vm.$slots.append,
449
+ "el-input-group--prepend": _vm.$slots.prepend,
450
+ "el-input--prefix": _vm.$slots.prefix || _vm.prefixIcon,
451
+ "el-input--suffix":
452
+ _vm.$slots.suffix ||
453
+ _vm.suffixIcon ||
454
+ _vm.clearable ||
455
+ _vm.showPassword,
456
+ },
457
+ ],
458
+ on: {
459
+ mouseenter: function ($event) {
460
+ _vm.hovering = true
461
+ },
462
+ mouseleave: function ($event) {
463
+ _vm.hovering = false
464
+ },
465
+ },
466
+ },
467
+ [
468
+ _vm.type !== "textarea"
469
+ ? [
470
+ _vm.$slots.prepend
471
+ ? _c(
472
+ "div",
473
+ { staticClass: "el-input-group__prepend" },
474
+ [_vm._t("prepend")],
475
+ 2
476
+ )
477
+ : _vm._e(),
478
+ _vm.type !== "textarea"
479
+ ? _c(
480
+ "input",
481
+ _vm._b(
482
+ {
483
+ ref: "input",
484
+ staticClass: "el-input__inner",
485
+ attrs: {
486
+ tabindex: _vm.tabindex,
487
+ type: _vm.showPassword
488
+ ? _vm.passwordVisible
489
+ ? "text"
490
+ : "password"
491
+ : _vm.type,
492
+ disabled: _vm.inputDisabled,
493
+ readonly: _vm.readonly,
494
+ autocomplete: _vm.autoComplete || _vm.autocomplete,
495
+ "aria-label": _vm.label,
496
+ },
497
+ on: {
498
+ compositionstart: _vm.handleCompositionStart,
499
+ compositionupdate: _vm.handleCompositionUpdate,
500
+ compositionend: _vm.handleCompositionEnd,
501
+ input: _vm.handleInput,
502
+ focus: _vm.handleFocus,
503
+ blur: _vm.handleBlur,
504
+ change: _vm.handleChange,
505
+ },
506
+ },
507
+ "input",
508
+ _vm.$attrs,
509
+ false
510
+ )
511
+ )
512
+ : _vm._e(),
513
+ _vm.$slots.prefix || _vm.prefixIcon
514
+ ? _c(
515
+ "span",
516
+ { staticClass: "el-input__prefix" },
517
+ [
518
+ _vm._t("prefix"),
519
+ _vm.prefixIcon
520
+ ? _c("i", {
521
+ staticClass: "el-input__icon",
522
+ class: _vm.prefixIcon,
523
+ })
524
+ : _vm._e(),
525
+ ],
526
+ 2
527
+ )
528
+ : _vm._e(),
529
+ _vm.getSuffixVisible()
530
+ ? _c("span", { staticClass: "el-input__suffix" }, [
531
+ _c(
532
+ "span",
533
+ { staticClass: "el-input__suffix-inner" },
534
+ [
535
+ !_vm.showClear ||
536
+ !_vm.showPwdVisible ||
537
+ !_vm.isWordLimitVisible
538
+ ? [
539
+ _vm._t("suffix"),
540
+ _vm.suffixIcon
541
+ ? _c("i", {
542
+ staticClass: "el-input__icon",
543
+ class: _vm.suffixIcon,
544
+ })
545
+ : _vm._e(),
546
+ ]
547
+ : _vm._e(),
548
+ _vm.showClear
549
+ ? _c("i", {
550
+ staticClass:
551
+ "el-input__icon el-icon-circle-close el-input__clear",
552
+ on: {
553
+ mousedown: function ($event) {
554
+ $event.preventDefault()
555
+ },
556
+ click: _vm.clear,
557
+ },
558
+ })
559
+ : _vm._e(),
560
+ _vm.showPwdVisible
561
+ ? _c("i", {
562
+ staticClass:
563
+ "el-input__icon el-icon-view el-input__clear",
564
+ on: { click: _vm.handlePasswordVisible },
565
+ })
566
+ : _vm._e(),
567
+ _vm.isWordLimitVisible
568
+ ? _c("span", { staticClass: "el-input__count" }, [
569
+ _c(
570
+ "span",
571
+ { staticClass: "el-input__count-inner" },
572
+ [
573
+ _vm._v(
574
+ "\n\t\t\t\t\t\t" +
575
+ _vm._s(_vm.textLength) +
576
+ "/" +
577
+ _vm._s(_vm.upperLimit) +
578
+ "\n\t\t\t\t\t"
579
+ ),
580
+ ]
581
+ ),
582
+ ])
583
+ : _vm._e(),
584
+ ],
585
+ 2
586
+ ),
587
+ _vm.validateState
588
+ ? _c("i", {
589
+ staticClass: "el-input__icon",
590
+ class: ["el-input__validateIcon", _vm.validateIcon],
591
+ })
592
+ : _vm._e(),
593
+ ])
594
+ : _vm._e(),
595
+ _vm.$slots.append
596
+ ? _c(
597
+ "div",
598
+ { staticClass: "el-input-group__append" },
599
+ [_vm._t("append")],
600
+ 2
601
+ )
602
+ : _vm._e(),
603
+ ]
604
+ : _c(
605
+ "textarea",
606
+ _vm._b(
607
+ {
608
+ ref: "textarea",
609
+ staticClass: "el-textarea__inner",
610
+ style: _vm.textareaStyle,
611
+ attrs: {
612
+ tabindex: _vm.tabindex,
613
+ disabled: _vm.inputDisabled,
614
+ readonly: _vm.readonly,
615
+ autocomplete: _vm.autoComplete || _vm.autocomplete,
616
+ "aria-label": _vm.label,
617
+ },
618
+ on: {
619
+ compositionstart: _vm.handleCompositionStart,
620
+ compositionupdate: _vm.handleCompositionUpdate,
621
+ compositionend: _vm.handleCompositionEnd,
622
+ input: _vm.handleInput,
623
+ focus: _vm.handleFocus,
624
+ blur: _vm.handleBlur,
625
+ change: _vm.handleChange,
626
+ },
627
+ },
628
+ "textarea",
629
+ _vm.$attrs,
630
+ false
631
+ )
632
+ ),
633
+ _vm.isWordLimitVisible && _vm.type === "textarea"
634
+ ? _c("span", { staticClass: "el-input__count" }, [
635
+ _vm._v(_vm._s(_vm.textLength) + "/" + _vm._s(_vm.upperLimit)),
636
+ ])
637
+ : _vm._e(),
638
+ ],
639
+ 2
640
+ )
641
+ }
642
+ var staticRenderFns = []
643
+ render._withStripped = true
644
+
645
+
646
+ // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=af7512c8
647
+
648
+ // EXTERNAL MODULE: ./src/mixins/emitter.js
649
+ var emitter = __webpack_require__(6);
650
+
651
+ // EXTERNAL MODULE: ./src/mixins/migrating.js
652
+ var migrating = __webpack_require__(12);
653
+
654
+ // CONCATENATED MODULE: ./packages/input/src/calcTextareaHeight.js
655
+ var hiddenTextarea = void 0;
656
+
657
+ var HIDDEN_STYLE = '\n\theight:0 !important;\n\tvisibility:hidden !important;\n\toverflow:hidden !important;\n\tposition:absolute !important;\n\tz-index:-1000 !important;\n\ttop:0 !important;\n\tright:0 !important\n';
658
+
659
+ var CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing'];
660
+
661
+ function calculateNodeStyling(targetElement) {
662
+ var style = window.getComputedStyle(targetElement);
663
+
664
+ var boxSizing = style.getPropertyValue('box-sizing');
665
+
666
+ var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top'));
667
+
668
+ var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width'));
669
+
670
+ var contextStyle = CONTEXT_STYLE.map(function (name) {
671
+ return name + ':' + style.getPropertyValue(name);
672
+ }).join(';');
673
+
674
+ return { contextStyle: contextStyle, paddingSize: paddingSize, borderSize: borderSize, boxSizing: boxSizing };
675
+ }
676
+
677
+ function calcTextareaHeight(targetElement) {
678
+ var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
679
+ var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
680
+
681
+ if (!hiddenTextarea) {
682
+ hiddenTextarea = document.createElement('textarea');
683
+ document.body.appendChild(hiddenTextarea);
684
+ }
685
+
686
+ var _calculateNodeStyling = calculateNodeStyling(targetElement),
687
+ paddingSize = _calculateNodeStyling.paddingSize,
688
+ borderSize = _calculateNodeStyling.borderSize,
689
+ boxSizing = _calculateNodeStyling.boxSizing,
690
+ contextStyle = _calculateNodeStyling.contextStyle;
691
+
692
+ hiddenTextarea.setAttribute('style', contextStyle + ';' + HIDDEN_STYLE);
693
+ hiddenTextarea.value = targetElement.value || targetElement.placeholder || '';
694
+
695
+ var height = hiddenTextarea.scrollHeight;
696
+ var result = {};
697
+
698
+ if (boxSizing === 'border-box') {
699
+ height = height + borderSize;
700
+ } else if (boxSizing === 'content-box') {
701
+ height = height - paddingSize;
702
+ }
703
+
704
+ hiddenTextarea.value = '';
705
+ var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;
706
+
707
+ if (minRows !== null) {
708
+ var minHeight = singleRowHeight * minRows;
709
+ if (boxSizing === 'border-box') {
710
+ minHeight = minHeight + paddingSize + borderSize;
711
+ }
712
+ height = Math.max(minHeight, height);
713
+ result.minHeight = minHeight + 'px';
714
+ }
715
+ if (maxRows !== null) {
716
+ var maxHeight = singleRowHeight * maxRows;
717
+ if (boxSizing === 'border-box') {
718
+ maxHeight = maxHeight + paddingSize + borderSize;
719
+ }
720
+ height = Math.min(maxHeight, height);
721
+ }
722
+ result.height = height + 'px';
723
+ hiddenTextarea.parentNode && hiddenTextarea.parentNode.removeChild(hiddenTextarea);
724
+ hiddenTextarea = null;
725
+ return result;
726
+ };
727
+ // EXTERNAL MODULE: ./src/utils/merge.js
728
+ var merge = __webpack_require__(7);
729
+
730
+ // EXTERNAL MODULE: ./src/utils/shared.js
731
+ var shared = __webpack_require__(16);
732
+
733
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=script&lang=js
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+ /* harmony default export */ var inputvue_type_script_lang_js = ({
742
+ name: 'ElInput',
743
+
744
+ componentName: 'ElInput',
745
+
746
+ mixins: [emitter["a" /* default */], migrating["a" /* default */]],
747
+
748
+ inheritAttrs: false,
749
+
750
+ inject: {
751
+ elForm: {
752
+ default: ''
753
+ },
754
+ elFormItem: {
755
+ default: ''
756
+ }
757
+ },
758
+
759
+ data: function data() {
760
+ return {
761
+ textareaCalcStyle: {},
762
+ hovering: false,
763
+ focused: false,
764
+ isComposing: false,
765
+ passwordVisible: false
766
+ };
767
+ },
768
+
769
+
770
+ props: {
771
+ value: [String, Number],
772
+ size: String,
773
+ resize: String,
774
+ form: String,
775
+ disabled: Boolean,
776
+ readonly: Boolean,
777
+ type: {
778
+ type: String,
779
+ default: 'text'
780
+ },
781
+ autosize: {
782
+ type: [Boolean, Object],
783
+ default: false
784
+ },
785
+ autocomplete: {
786
+ type: String,
787
+ default: 'off'
788
+ },
789
+ /** @Deprecated in next major version */
790
+ autoComplete: {
791
+ type: String,
792
+ validator: function validator(val) {
793
+ false && false;
794
+ return true;
795
+ }
796
+ },
797
+ validateEvent: {
798
+ type: Boolean,
799
+ default: true
800
+ },
801
+ suffixIcon: String,
802
+ prefixIcon: String,
803
+ label: String,
804
+ clearable: {
805
+ type: Boolean,
806
+ default: false
807
+ },
808
+ showPassword: {
809
+ type: Boolean,
810
+ default: false
811
+ },
812
+ showWordLimit: {
813
+ type: Boolean,
814
+ default: false
815
+ },
816
+ tabindex: String
817
+ },
818
+
819
+ computed: {
820
+ _elFormItemSize: function _elFormItemSize() {
821
+ return (this.elFormItem || {}).elFormItemSize;
822
+ },
823
+ validateState: function validateState() {
824
+ return this.elFormItem ? this.elFormItem.validateState : '';
825
+ },
826
+ needStatusIcon: function needStatusIcon() {
827
+ return this.elForm ? this.elForm.statusIcon : false;
828
+ },
829
+ validateIcon: function validateIcon() {
830
+ return {
831
+ validating: 'el-icon-loading',
832
+ success: 'el-icon-circle-check',
833
+ error: 'el-icon-circle-close'
834
+ }[this.validateState];
835
+ },
836
+ textareaStyle: function textareaStyle() {
837
+ return Object(merge["a" /* default */])({}, this.textareaCalcStyle, { resize: this.resize });
838
+ },
839
+ inputSize: function inputSize() {
840
+ return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
841
+ },
842
+ inputDisabled: function inputDisabled() {
843
+ return this.disabled || (this.elForm || {}).disabled;
844
+ },
845
+ nativeInputValue: function nativeInputValue() {
846
+ return this.value === null || this.value === undefined ? '' : String(this.value);
847
+ },
848
+ showClear: function showClear() {
849
+ return this.clearable && !this.inputDisabled && !this.readonly && this.nativeInputValue && (this.focused || this.hovering);
850
+ },
851
+ showPwdVisible: function showPwdVisible() {
852
+ return this.showPassword && !this.inputDisabled && !this.readonly && (!!this.nativeInputValue || this.focused);
853
+ },
854
+ isWordLimitVisible: function isWordLimitVisible() {
855
+ return this.showWordLimit && this.$attrs.maxlength && (this.type === 'text' || this.type === 'textarea') && !this.inputDisabled && !this.readonly && !this.showPassword;
856
+ },
857
+ upperLimit: function upperLimit() {
858
+ return this.$attrs.maxlength;
859
+ },
860
+ textLength: function textLength() {
861
+ if (typeof this.value === 'number') {
862
+ return String(this.value).length;
863
+ }
864
+
865
+ return (this.value || '').length;
866
+ },
867
+ inputExceed: function inputExceed() {
868
+ // show exceed style if length of initial value greater then maxlength
869
+ return this.isWordLimitVisible && this.textLength > this.upperLimit;
870
+ }
871
+ },
872
+
873
+ watch: {
874
+ value: function value(val) {
875
+ this.$nextTick(this.resizeTextarea);
876
+ if (this.validateEvent) {
877
+ this.dispatch('ElFormItem', 'el.form.change', [val]);
878
+ }
879
+ },
880
+
881
+ // native input value is set explicitly
882
+ // do not use v-model / :value in template
883
+ // see: https://github.com/ElemeFE/element/issues/14521
884
+ nativeInputValue: function nativeInputValue() {
885
+ this.setNativeInputValue();
886
+ },
887
+
888
+ // when change between <input> and <textarea>,
889
+ // update DOM dependent value and styles
890
+ // https://github.com/ElemeFE/element/issues/14857
891
+ type: function type() {
892
+ var _this = this;
893
+
894
+ this.$nextTick(function () {
895
+ _this.setNativeInputValue();
896
+ _this.resizeTextarea();
897
+ _this.updateIconOffset();
898
+ });
899
+ }
900
+ },
901
+
902
+ methods: {
903
+ focus: function focus() {
904
+ this.getInput().focus();
905
+ },
906
+ blur: function blur() {
907
+ this.getInput().blur();
908
+ },
909
+ getMigratingConfig: function getMigratingConfig() {
910
+ return {
911
+ props: {
912
+ 'icon': 'icon is removed, use suffix-icon / prefix-icon instead.',
913
+ 'on-icon-click': 'on-icon-click is removed.'
914
+ },
915
+ events: {
916
+ 'click': 'click is removed.'
917
+ }
918
+ };
919
+ },
920
+ handleBlur: function handleBlur(event) {
921
+ this.focused = false;
922
+ this.$emit('blur', event);
923
+ if (this.validateEvent) {
924
+ this.dispatch('ElFormItem', 'el.form.blur', [this.value]);
925
+ }
926
+ },
927
+ select: function select() {
928
+ this.getInput().select();
929
+ },
930
+ resizeTextarea: function resizeTextarea() {
931
+ if (this.$isServer) return;
932
+ var autosize = this.autosize,
933
+ type = this.type;
934
+
935
+ if (type !== 'textarea') return;
936
+ if (!autosize) {
937
+ this.textareaCalcStyle = {
938
+ minHeight: calcTextareaHeight(this.$refs.textarea).minHeight
939
+ };
940
+ return;
941
+ }
942
+ var minRows = autosize.minRows;
943
+ var maxRows = autosize.maxRows;
944
+
945
+ this.textareaCalcStyle = calcTextareaHeight(this.$refs.textarea, minRows, maxRows);
946
+ },
947
+ setNativeInputValue: function setNativeInputValue() {
948
+ var input = this.getInput();
949
+ if (!input) return;
950
+ if (input.value === this.nativeInputValue) return;
951
+ input.value = this.nativeInputValue;
952
+ },
953
+ handleFocus: function handleFocus(event) {
954
+ this.focused = true;
955
+ this.$emit('focus', event);
956
+ },
957
+ handleCompositionStart: function handleCompositionStart(event) {
958
+ this.$emit('compositionstart', event);
959
+ this.isComposing = true;
960
+ },
961
+ handleCompositionUpdate: function handleCompositionUpdate(event) {
962
+ this.$emit('compositionupdate', event);
963
+ var text = event.target.value;
964
+ var lastCharacter = text[text.length - 1] || '';
965
+ this.isComposing = !Object(shared["b" /* isKorean */])(lastCharacter);
966
+ },
967
+ handleCompositionEnd: function handleCompositionEnd(event) {
968
+ this.$emit('compositionend', event);
969
+ if (this.isComposing) {
970
+ this.isComposing = false;
971
+ this.handleInput(event);
972
+ }
973
+ },
974
+ handleInput: function handleInput(event) {
975
+ // should not emit input during composition
976
+ // see: https://github.com/ElemeFE/element/issues/10516
977
+ if (this.isComposing) return;
978
+
979
+ // hack for https://github.com/ElemeFE/element/issues/8548
980
+ // should remove the following line when we don't support IE
981
+ if (event.target.value === this.nativeInputValue) return;
982
+
983
+ this.$emit('input', event.target.value);
984
+
985
+ // ensure native input value is controlled
986
+ // see: https://github.com/ElemeFE/element/issues/12850
987
+ this.$nextTick(this.setNativeInputValue);
988
+ },
989
+ handleChange: function handleChange(event) {
990
+ this.$emit('change', event.target.value);
991
+ },
992
+ calcIconOffset: function calcIconOffset(place) {
993
+ var elList = [].slice.call(this.$el.querySelectorAll('.el-input__' + place) || []);
994
+ if (!elList.length) return;
995
+ var el = null;
996
+ for (var i = 0; i < elList.length; i++) {
997
+ if (elList[i].parentNode === this.$el) {
998
+ el = elList[i];
999
+ break;
1000
+ }
1001
+ }
1002
+ if (!el) return;
1003
+ var pendantMap = {
1004
+ suffix: 'append',
1005
+ prefix: 'prepend'
1006
+ };
1007
+
1008
+ var pendant = pendantMap[place];
1009
+ if (this.$slots[pendant]) {
1010
+ el.style.transform = 'translateX(' + (place === 'suffix' ? '-' : '') + this.$el.querySelector('.el-input-group__' + pendant).offsetWidth + 'px)';
1011
+ } else {
1012
+ el.removeAttribute('style');
1013
+ }
1014
+ },
1015
+ updateIconOffset: function updateIconOffset() {
1016
+ this.calcIconOffset('prefix');
1017
+ this.calcIconOffset('suffix');
1018
+ },
1019
+ clear: function clear() {
1020
+ this.$emit('input', '');
1021
+ this.$emit('change', '');
1022
+ this.$emit('clear');
1023
+ },
1024
+ handlePasswordVisible: function handlePasswordVisible() {
1025
+ var _this2 = this;
1026
+
1027
+ this.passwordVisible = !this.passwordVisible;
1028
+ this.$nextTick(function () {
1029
+ _this2.focus();
1030
+ });
1031
+ },
1032
+ getInput: function getInput() {
1033
+ return this.$refs.input || this.$refs.textarea;
1034
+ },
1035
+ getSuffixVisible: function getSuffixVisible() {
1036
+ return this.$slots.suffix || this.suffixIcon || this.showClear || this.showPassword || this.isWordLimitVisible || this.validateState && this.needStatusIcon;
1037
+ }
1038
+ },
1039
+
1040
+ created: function created() {
1041
+ this.$on('inputSelect', this.select);
1042
+ },
1043
+ mounted: function mounted() {
1044
+ this.setNativeInputValue();
1045
+ this.resizeTextarea();
1046
+ this.updateIconOffset();
1047
+ },
1048
+ updated: function updated() {
1049
+ this.$nextTick(this.updateIconOffset);
1050
+ }
1051
+ });
1052
+ // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=script&lang=js
1053
+ /* harmony default export */ var src_inputvue_type_script_lang_js = (inputvue_type_script_lang_js);
1054
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1055
+ var componentNormalizer = __webpack_require__(2);
1056
+
1057
+ // CONCATENATED MODULE: ./packages/input/src/input.vue
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+ /* normalize component */
1064
+
1065
+ var component = Object(componentNormalizer["a" /* default */])(
1066
+ src_inputvue_type_script_lang_js,
1067
+ render,
1068
+ staticRenderFns,
1069
+ false,
1070
+ null,
1071
+ null,
1072
+ null
1073
+
1074
+ )
1075
+
1076
+ /* harmony default export */ var input = (component.exports);
1077
+ // CONCATENATED MODULE: ./packages/input/index.js
1078
+
1079
+
1080
+ /* istanbul ignore next */
1081
+ input.install = function (Vue) {
1082
+ Vue.component(input.name, input);
1083
+ };
1084
+
1085
+ /* harmony default export */ var packages_input = __webpack_exports__["default"] = (input);
1086
+
1087
+ /***/ }),
1088
+
1089
+ /***/ 2:
91
1090
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
1091
 
93
1092
  "use strict";
@@ -192,31 +1191,292 @@ function normalizeComponent(
192
1191
 
193
1192
  /***/ }),
194
1193
 
195
- /***/ 10:
196
- /***/ (function(module, exports) {
1194
+ /***/ 3:
1195
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
1196
 
198
- module.exports = require("element-ui/lib/input");
1197
+ "use strict";
1198
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return noop; });
1199
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hasOwn; });
1200
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return toObject; });
1201
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getValueByPath; });
1202
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getPropByPath; });
1203
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return generateId; });
1204
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return valueEquals; });
1205
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return escapeRegexpString; });
1206
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return arrayFindIndex; });
1207
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return arrayFind; });
1208
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return coerceTruthyValueToArray; });
1209
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return isIE; });
1210
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return isEdge; });
1211
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return isFirefox; });
1212
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return autoprefixer; });
1213
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return kebabCase; });
1214
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return capitalize; });
1215
+ /* unused harmony export looseEqual */
1216
+ /* unused harmony export arrayEquals */
1217
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return isEqual; });
1218
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return isEmpty; });
1219
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return rafThrottle; });
1220
+ /* unused harmony export objToArray */
1221
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return isMac; });
1222
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1223
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
1224
+ /* harmony import */ var element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
1225
+ 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; };
1226
+
1227
+
1228
+
1229
+
1230
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
1231
+
1232
+ function noop() {};
1233
+
1234
+ function hasOwn(obj, key) {
1235
+ return hasOwnProperty.call(obj, key);
1236
+ };
199
1237
 
200
- /***/ }),
1238
+ function extend(to, _from) {
1239
+ for (var key in _from) {
1240
+ to[key] = _from[key];
1241
+ }
1242
+ return to;
1243
+ };
201
1244
 
202
- /***/ 2:
203
- /***/ (function(module, exports) {
1245
+ function toObject(arr) {
1246
+ var res = {};
1247
+ for (var i = 0; i < arr.length; i++) {
1248
+ if (arr[i]) {
1249
+ extend(res, arr[i]);
1250
+ }
1251
+ }
1252
+ return res;
1253
+ };
204
1254
 
205
- module.exports = require("element-ui/lib/utils/dom");
1255
+ var getValueByPath = function getValueByPath(object, prop) {
1256
+ prop = prop || '';
1257
+ var paths = prop.split('.');
1258
+ var current = object;
1259
+ var result = null;
1260
+ for (var i = 0, j = paths.length; i < j; i++) {
1261
+ var path = paths[i];
1262
+ if (!current) break;
1263
+
1264
+ if (i === j - 1) {
1265
+ result = current[path];
1266
+ break;
1267
+ }
1268
+ current = current[path];
1269
+ }
1270
+ return result;
1271
+ };
206
1272
 
207
- /***/ }),
1273
+ function getPropByPath(obj, path, strict) {
1274
+ var tempObj = obj;
1275
+ path = path.replace(/\[(\w+)\]/g, '.$1');
1276
+ path = path.replace(/^\./, '');
1277
+
1278
+ var keyArr = path.split('.');
1279
+ var i = 0;
1280
+ for (var len = keyArr.length; i < len - 1; ++i) {
1281
+ if (!tempObj && !strict) break;
1282
+ var key = keyArr[i];
1283
+ if (key in tempObj) {
1284
+ tempObj = tempObj[key];
1285
+ } else {
1286
+ if (strict) {
1287
+ throw new Error('please transfer a valid prop path to form item!');
1288
+ }
1289
+ break;
1290
+ }
1291
+ }
1292
+ return {
1293
+ o: tempObj,
1294
+ k: keyArr[i],
1295
+ v: tempObj ? tempObj[keyArr[i]] : null
1296
+ };
1297
+ };
208
1298
 
209
- /***/ 22:
210
- /***/ (function(module, exports) {
1299
+ var generateId = function generateId() {
1300
+ return Math.floor(Math.random() * 10000);
1301
+ };
211
1302
 
212
- module.exports = require("element-ui/lib/mixins/focus");
1303
+ var valueEquals = function valueEquals(a, b) {
1304
+ // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
1305
+ if (a === b) return true;
1306
+ if (!(a instanceof Array)) return false;
1307
+ if (!(b instanceof Array)) return false;
1308
+ if (a.length !== b.length) return false;
1309
+ for (var i = 0; i !== a.length; ++i) {
1310
+ if (a[i] !== b[i]) return false;
1311
+ }
1312
+ return true;
1313
+ };
213
1314
 
214
- /***/ }),
1315
+ var escapeRegexpString = function escapeRegexpString() {
1316
+ var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
1317
+ return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
1318
+ };
215
1319
 
216
- /***/ 3:
217
- /***/ (function(module, exports) {
1320
+ // TODO: use native Array.find, Array.findIndex when IE support is dropped
1321
+ var arrayFindIndex = function arrayFindIndex(arr, pred) {
1322
+ for (var i = 0; i !== arr.length; ++i) {
1323
+ if (pred(arr[i])) {
1324
+ return i;
1325
+ }
1326
+ }
1327
+ return -1;
1328
+ };
1329
+
1330
+ var arrayFind = function arrayFind(arr, pred) {
1331
+ var idx = arrayFindIndex(arr, pred);
1332
+ return idx !== -1 ? arr[idx] : undefined;
1333
+ };
1334
+
1335
+ // coerce truthy value to array
1336
+ var coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {
1337
+ if (Array.isArray(val)) {
1338
+ return val;
1339
+ } else if (val) {
1340
+ return [val];
1341
+ } else {
1342
+ return [];
1343
+ }
1344
+ };
1345
+
1346
+ var isIE = function isIE() {
1347
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !isNaN(Number(document.documentMode));
1348
+ };
1349
+
1350
+ var isEdge = function isEdge() {
1351
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
1352
+ };
1353
+
1354
+ var isFirefox = function isFirefox() {
1355
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
1356
+ };
1357
+
1358
+ var autoprefixer = function autoprefixer(style) {
1359
+ if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style;
1360
+ var rules = ['transform', 'transition', 'animation'];
1361
+ var prefixes = ['ms-', 'webkit-'];
1362
+ rules.forEach(function (rule) {
1363
+ var value = style[rule];
1364
+ if (rule && value) {
1365
+ prefixes.forEach(function (prefix) {
1366
+ style[prefix + rule] = value;
1367
+ });
1368
+ }
1369
+ });
1370
+ return style;
1371
+ };
1372
+
1373
+ var kebabCase = function kebabCase(str) {
1374
+ var hyphenateRE = /([^-])([A-Z])/g;
1375
+ return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
1376
+ };
1377
+
1378
+ var capitalize = function capitalize(str) {
1379
+ if (!Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isString */ "e"])(str)) return str;
1380
+ return str.charAt(0).toUpperCase() + str.slice(1);
1381
+ };
1382
+
1383
+ var looseEqual = function looseEqual(a, b) {
1384
+ var isObjectA = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(a);
1385
+ var isObjectB = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(b);
1386
+ if (isObjectA && isObjectB) {
1387
+ return JSON.stringify(a) === JSON.stringify(b);
1388
+ } else if (!isObjectA && !isObjectB) {
1389
+ return String(a) === String(b);
1390
+ } else {
1391
+ return false;
1392
+ }
1393
+ };
1394
+
1395
+ var arrayEquals = function arrayEquals(arrayA, arrayB) {
1396
+ arrayA = arrayA || [];
1397
+ arrayB = arrayB || [];
1398
+
1399
+ if (arrayA.length !== arrayB.length) {
1400
+ return false;
1401
+ }
1402
+
1403
+ for (var i = 0; i < arrayA.length; i++) {
1404
+ if (!looseEqual(arrayA[i], arrayB[i])) {
1405
+ return false;
1406
+ }
1407
+ }
1408
+
1409
+ return true;
1410
+ };
1411
+
1412
+ var isEqual = function isEqual(value1, value2) {
1413
+ if (Array.isArray(value1) && Array.isArray(value2)) {
1414
+ return arrayEquals(value1, value2);
1415
+ }
1416
+ return looseEqual(value1, value2);
1417
+ };
1418
+
1419
+ var isEmpty = function isEmpty(val) {
1420
+ // null or undefined
1421
+ if (val == null) return true;
1422
+
1423
+ if (typeof val === 'boolean') return false;
1424
+
1425
+ if (typeof val === 'number') return !val;
1426
+
1427
+ if (val instanceof Error) return val.message === '';
1428
+
1429
+ switch (Object.prototype.toString.call(val)) {
1430
+ // String or Array
1431
+ case '[object String]':
1432
+ case '[object Array]':
1433
+ return !val.length;
1434
+
1435
+ // Map or Set or File
1436
+ case '[object File]':
1437
+ case '[object Map]':
1438
+ case '[object Set]':
1439
+ {
1440
+ return !val.size;
1441
+ }
1442
+ // Plain Object
1443
+ case '[object Object]':
1444
+ {
1445
+ return !Object.keys(val).length;
1446
+ }
1447
+ }
1448
+
1449
+ return false;
1450
+ };
1451
+
1452
+ function rafThrottle(fn) {
1453
+ var locked = false;
1454
+ return function () {
1455
+ var _this = this;
218
1456
 
219
- module.exports = require("element-ui/lib/utils/util");
1457
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
1458
+ args[_key] = arguments[_key];
1459
+ }
1460
+
1461
+ if (locked) return;
1462
+ locked = true;
1463
+ window.requestAnimationFrame(function (_) {
1464
+ fn.apply(_this, args);
1465
+ locked = false;
1466
+ });
1467
+ };
1468
+ }
1469
+
1470
+ function objToArray(obj) {
1471
+ if (Array.isArray(obj)) {
1472
+ return obj;
1473
+ }
1474
+ return isEmpty(obj) ? [] : [obj];
1475
+ }
1476
+
1477
+ var isMac = function isMac() {
1478
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent);
1479
+ };
220
1480
 
221
1481
  /***/ }),
222
1482
 
@@ -224,10 +1484,24 @@ module.exports = require("element-ui/lib/utils/util");
224
1484
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
225
1485
 
226
1486
  "use strict";
227
- /* harmony import */ var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
228
- /* harmony import */ var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__);
1487
+ /* harmony default export */ __webpack_exports__["a"] = (function (ref) {
1488
+ return {
1489
+ methods: {
1490
+ focus: function focus() {
1491
+ this.$refs[ref].focus();
1492
+ }
1493
+ }
1494
+ };
1495
+ });;
1496
+
1497
+ /***/ }),
1498
+
1499
+ /***/ 33:
1500
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1501
+
1502
+ "use strict";
1503
+ /* harmony import */ var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
229
1504
  /* harmony import */ var element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
230
- /* harmony import */ var element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__);
231
1505
 
232
1506
 
233
1507
 
@@ -235,7 +1509,7 @@ module.exports = require("element-ui/lib/utils/util");
235
1509
  bind: function bind(el, binding, vnode) {
236
1510
  var interval = null;
237
1511
  var startTime = void 0;
238
- var maxIntervals = Object(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__["isMac"])() ? 100 : 200;
1512
+ var maxIntervals = Object(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__[/* isMac */ "p"])() ? 100 : 200;
239
1513
  var handler = function handler() {
240
1514
  return vnode.context[binding.expression].apply();
241
1515
  };
@@ -247,10 +1521,10 @@ module.exports = require("element-ui/lib/utils/util");
247
1521
  interval = null;
248
1522
  };
249
1523
 
250
- Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["on"])(el, 'mousedown', function (e) {
1524
+ Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* on */ "g"])(el, 'mousedown', function (e) {
251
1525
  if (e.button !== 0) return;
252
1526
  startTime = Date.now();
253
- Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["once"])(document, 'mouseup', clear);
1527
+ Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* once */ "h"])(document, 'mouseup', clear);
254
1528
  clearInterval(interval);
255
1529
  interval = setInterval(handler, maxIntervals);
256
1530
  });
@@ -259,18 +1533,72 @@ module.exports = require("element-ui/lib/utils/util");
259
1533
 
260
1534
  /***/ }),
261
1535
 
262
- /***/ 91:
1536
+ /***/ 4:
1537
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
1538
+
1539
+ "use strict";
1540
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isString; });
1541
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isObject; });
1542
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isHtmlElement; });
1543
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isFunction; });
1544
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isUndefined; });
1545
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isDefined; });
1546
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1547
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
1548
+ 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; };
1549
+
1550
+
1551
+
1552
+ function isString(obj) {
1553
+ return Object.prototype.toString.call(obj) === '[object String]';
1554
+ }
1555
+
1556
+ function isObject(obj) {
1557
+ return Object.prototype.toString.call(obj) === '[object Object]';
1558
+ }
1559
+
1560
+ function isHtmlElement(node) {
1561
+ return node && node.nodeType === Node.ELEMENT_NODE;
1562
+ }
1563
+
1564
+ /**
1565
+ * - Inspired:
1566
+ * https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js
1567
+ */
1568
+ var isFunction = function isFunction(functionToCheck) {
1569
+ var getType = {};
1570
+ return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
1571
+ };
1572
+
1573
+ if ( true && (typeof Int8Array === 'undefined' ? 'undefined' : _typeof(Int8Array)) !== 'object' && (vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer || typeof document.childNodes !== 'function')) {
1574
+ isFunction = function isFunction(obj) {
1575
+ return typeof obj === 'function' || false;
1576
+ };
1577
+ }
1578
+
1579
+
1580
+
1581
+ var isUndefined = function isUndefined(val) {
1582
+ return val === void 0;
1583
+ };
1584
+
1585
+ var isDefined = function isDefined(val) {
1586
+ return val !== undefined && val !== null;
1587
+ };
1588
+
1589
+ /***/ }),
1590
+
1591
+ /***/ 55:
263
1592
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
264
1593
 
265
1594
  "use strict";
266
1595
  // ESM COMPAT FLAG
267
1596
  __webpack_require__.r(__webpack_exports__);
268
1597
 
269
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=template&id=52cc163d
270
- var render = function () {
271
- var _vm = this
272
- var _h = _vm.$createElement
273
- var _c = _vm._self._c || _h
1598
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=template&id=52cc163d
1599
+ var render = function render() {
1600
+ var _vm = this,
1601
+ _c = _vm._self._c
274
1602
  return _c(
275
1603
  "div",
276
1604
  {
@@ -308,17 +1636,17 @@ var render = function () {
308
1636
  if (
309
1637
  !$event.type.indexOf("key") &&
310
1638
  _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")
311
- ) {
1639
+ )
312
1640
  return null
313
- }
314
- return _vm.decrease($event)
1641
+ return _vm.decrease.apply(null, arguments)
315
1642
  },
316
1643
  },
317
1644
  },
318
1645
  [
319
1646
  _c("i", {
320
- class:
321
- "el-icon-" + (_vm.controlsAtRight ? "arrow-down" : "minus"),
1647
+ class: `el-icon-${
1648
+ _vm.controlsAtRight ? "arrow-down" : "minus"
1649
+ }`,
322
1650
  }),
323
1651
  ]
324
1652
  )
@@ -343,16 +1671,15 @@ var render = function () {
343
1671
  if (
344
1672
  !$event.type.indexOf("key") &&
345
1673
  _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")
346
- ) {
1674
+ )
347
1675
  return null
348
- }
349
- return _vm.increase($event)
1676
+ return _vm.increase.apply(null, arguments)
350
1677
  },
351
1678
  },
352
1679
  },
353
1680
  [
354
1681
  _c("i", {
355
- class: "el-icon-" + (_vm.controlsAtRight ? "arrow-up" : "plus"),
1682
+ class: `el-icon-${_vm.controlsAtRight ? "arrow-up" : "plus"}`,
356
1683
  }),
357
1684
  ]
358
1685
  )
@@ -381,11 +1708,10 @@ var render = function () {
381
1708
  if (
382
1709
  !$event.type.indexOf("key") &&
383
1710
  _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"])
384
- ) {
1711
+ )
385
1712
  return null
386
- }
387
1713
  $event.preventDefault()
388
- return _vm.increase($event)
1714
+ return _vm.increase.apply(null, arguments)
389
1715
  },
390
1716
  function ($event) {
391
1717
  if (
@@ -394,11 +1720,10 @@ var render = function () {
394
1720
  "Down",
395
1721
  "ArrowDown",
396
1722
  ])
397
- ) {
1723
+ )
398
1724
  return null
399
- }
400
1725
  $event.preventDefault()
401
- return _vm.decrease($event)
1726
+ return _vm.decrease.apply(null, arguments)
402
1727
  },
403
1728
  ],
404
1729
  },
@@ -413,65 +1738,16 @@ render._withStripped = true
413
1738
 
414
1739
  // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=template&id=52cc163d
415
1740
 
416
- // EXTERNAL MODULE: external "element-ui/lib/input"
417
- var input_ = __webpack_require__(10);
418
- var input_default = /*#__PURE__*/__webpack_require__.n(input_);
1741
+ // EXTERNAL MODULE: ./packages/input/index.js + 6 modules
1742
+ var input = __webpack_require__(18);
419
1743
 
420
- // EXTERNAL MODULE: external "element-ui/lib/mixins/focus"
421
- var focus_ = __webpack_require__(22);
422
- var focus_default = /*#__PURE__*/__webpack_require__.n(focus_);
1744
+ // EXTERNAL MODULE: ./src/mixins/focus.js
1745
+ var mixins_focus = __webpack_require__(30);
423
1746
 
424
1747
  // EXTERNAL MODULE: ./src/directives/repeat-click.js
425
- var repeat_click = __webpack_require__(30);
1748
+ var repeat_click = __webpack_require__(33);
426
1749
 
427
1750
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=script&lang=js
428
- //
429
- //
430
- //
431
- //
432
- //
433
- //
434
- //
435
- //
436
- //
437
- //
438
- //
439
- //
440
- //
441
- //
442
- //
443
- //
444
- //
445
- //
446
- //
447
- //
448
- //
449
- //
450
- //
451
- //
452
- //
453
- //
454
- //
455
- //
456
- //
457
- //
458
- //
459
- //
460
- //
461
- //
462
- //
463
- //
464
- //
465
- //
466
- //
467
- //
468
- //
469
- //
470
- //
471
- //
472
- //
473
- //
474
- //
475
1751
 
476
1752
 
477
1753
 
@@ -479,7 +1755,7 @@ var repeat_click = __webpack_require__(30);
479
1755
 
480
1756
  /* harmony default export */ var input_numbervue_type_script_lang_js = ({
481
1757
  name: 'ElInputNumber',
482
- mixins: [focus_default()('input')],
1758
+ mixins: [Object(mixins_focus["a" /* default */])('input')],
483
1759
  inject: {
484
1760
  elForm: {
485
1761
  default: ''
@@ -492,7 +1768,7 @@ var repeat_click = __webpack_require__(30);
492
1768
  repeatClick: repeat_click["a" /* default */]
493
1769
  },
494
1770
  components: {
495
- ElInput: input_default.a
1771
+ ElInput: input["default"]
496
1772
  },
497
1773
  props: {
498
1774
  step: {
@@ -715,7 +1991,7 @@ var repeat_click = __webpack_require__(30);
715
1991
  // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=script&lang=js
716
1992
  /* harmony default export */ var src_input_numbervue_type_script_lang_js = (input_numbervue_type_script_lang_js);
717
1993
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
718
- var componentNormalizer = __webpack_require__(0);
1994
+ var componentNormalizer = __webpack_require__(2);
719
1995
 
720
1996
  // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue
721
1997
 
@@ -747,6 +2023,68 @@ input_number.install = function (Vue) {
747
2023
 
748
2024
  /* harmony default export */ var packages_input_number = __webpack_exports__["default"] = (input_number);
749
2025
 
2026
+ /***/ }),
2027
+
2028
+ /***/ 6:
2029
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2030
+
2031
+ "use strict";
2032
+ function _broadcast(componentName, eventName, params) {
2033
+ this.$children.forEach(function (child) {
2034
+ var name = child.$options.componentName;
2035
+
2036
+ if (name === componentName) {
2037
+ child.$emit.apply(child, [eventName].concat(params));
2038
+ } else {
2039
+ _broadcast.apply(child, [componentName, eventName].concat([params]));
2040
+ }
2041
+ });
2042
+ }
2043
+ /* harmony default export */ __webpack_exports__["a"] = ({
2044
+ methods: {
2045
+ dispatch: function dispatch(componentName, eventName, params) {
2046
+ var parent = this.$parent || this.$root;
2047
+ var name = parent.$options.componentName;
2048
+
2049
+ while (parent && (!name || name !== componentName)) {
2050
+ parent = parent.$parent;
2051
+
2052
+ if (parent) {
2053
+ name = parent.$options.componentName;
2054
+ }
2055
+ }
2056
+ if (parent) {
2057
+ parent.$emit.apply(parent, [eventName].concat(params));
2058
+ }
2059
+ },
2060
+ broadcast: function broadcast(componentName, eventName, params) {
2061
+ _broadcast.call(this, componentName, eventName, params);
2062
+ }
2063
+ }
2064
+ });
2065
+
2066
+ /***/ }),
2067
+
2068
+ /***/ 7:
2069
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2070
+
2071
+ "use strict";
2072
+ /* harmony default export */ __webpack_exports__["a"] = (function (target) {
2073
+ for (var i = 1, j = arguments.length; i < j; i++) {
2074
+ var source = arguments[i] || {};
2075
+ for (var prop in source) {
2076
+ if (source.hasOwnProperty(prop)) {
2077
+ var value = source[prop];
2078
+ if (value !== undefined) {
2079
+ target[prop] = value;
2080
+ }
2081
+ }
2082
+ }
2083
+ }
2084
+
2085
+ return target;
2086
+ });;
2087
+
750
2088
  /***/ })
751
2089
 
752
2090
  /******/ });