cy-element-ui 1.0.8 → 1.0.10

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 (107) hide show
  1. package/lib/alert.js +2 -2
  2. package/lib/aside.js +76 -76
  3. package/lib/autocomplete.js +61 -75
  4. package/lib/avatar.js +2 -2
  5. package/lib/backtop.js +109 -109
  6. package/lib/badge.js +2 -2
  7. package/lib/breadcrumb-item.js +4 -4
  8. package/lib/breadcrumb.js +2 -2
  9. package/lib/button-group.js +2 -2
  10. package/lib/calendar.js +391 -452
  11. package/lib/card.js +2 -2
  12. package/lib/carousel-item.js +9 -9
  13. package/lib/carousel.js +25 -25
  14. package/lib/cascader-panel.js +30 -34
  15. package/lib/cascader.js +101 -116
  16. package/lib/checkbox-button.js +4 -4
  17. package/lib/checkbox-group.js +2 -2
  18. package/lib/col.js +2 -2
  19. package/lib/collapse-item.js +936 -851
  20. package/lib/collapse.js +2 -2
  21. package/lib/color-picker.js +62 -76
  22. package/lib/container.js +2 -2
  23. package/lib/date-picker.js +450 -474
  24. package/lib/descriptions-item.js +2 -2
  25. package/lib/descriptions.js +4 -4
  26. package/lib/dialog.js +5 -9
  27. package/lib/divider.js +105 -105
  28. package/lib/drawer.js +109 -109
  29. package/lib/dropdown-item.js +2 -2
  30. package/lib/dropdown-menu.js +65 -65
  31. package/lib/dropdown.js +1206 -1112
  32. package/lib/element-ui.common.js +43826 -48176
  33. package/lib/empty.js +6 -20
  34. package/lib/fileUpload.js +62 -77
  35. package/lib/footer.js +76 -76
  36. package/lib/form-item.js +7 -21
  37. package/lib/form.js +11 -11
  38. package/lib/header.js +2 -2
  39. package/lib/icon.js +2 -2
  40. package/lib/image.js +22 -36
  41. package/lib/index.js +1 -1
  42. package/lib/infinite-scroll.js +8 -8
  43. package/lib/input-number.js +5 -9
  44. package/lib/link.js +2 -2
  45. package/lib/loading.js +33 -33
  46. package/lib/main.js +65 -65
  47. package/lib/menu-item-group.js +2 -2
  48. package/lib/menu-item.js +63 -78
  49. package/lib/menu.js +2 -16
  50. package/lib/message-box.js +22 -36
  51. package/lib/message.js +8 -22
  52. package/lib/notification.js +8 -22
  53. package/lib/option-group.js +2 -2
  54. package/lib/option.js +14 -18
  55. package/lib/page-header.js +109 -109
  56. package/lib/pagination.js +100 -114
  57. package/lib/popconfirm.js +59 -74
  58. package/lib/popover.js +52 -56
  59. package/lib/progress.js +4 -4
  60. package/lib/radio-button.js +4 -4
  61. package/lib/radio-group.js +4 -4
  62. package/lib/radio.js +2 -2
  63. package/lib/rate.js +18 -18
  64. package/lib/result.js +2 -2
  65. package/lib/row.js +2 -2
  66. package/lib/scrollbar.js +6 -6
  67. package/lib/select.js +82 -86
  68. package/lib/skeleton-item.js +2 -2
  69. package/lib/skeleton.js +107 -107
  70. package/lib/slider.js +72 -86
  71. package/lib/spinner.js +2 -2
  72. package/lib/step.js +2 -2
  73. package/lib/steps.js +9 -9
  74. package/lib/subTitle.js +91 -91
  75. package/lib/submenu.js +250 -250
  76. package/lib/switch.js +883 -811
  77. package/lib/tab-pane.js +2 -2
  78. package/lib/tabDialog.js +19 -33
  79. package/lib/table-column.js +13 -13
  80. package/lib/table.js +96 -110
  81. package/lib/tabs.js +8 -22
  82. package/lib/tag.js +2 -2
  83. package/lib/theme-chalk/src/index.scss +0 -1
  84. package/lib/time-picker.js +450 -474
  85. package/lib/time-select.js +437 -461
  86. package/lib/timeline-item.js +107 -107
  87. package/lib/timeline.js +2 -2
  88. package/lib/tooltip.js +54 -55
  89. package/lib/transfer.js +15 -29
  90. package/lib/tree.js +22 -36
  91. package/lib/treeSelect.js +58 -73
  92. package/lib/upload.js +28 -32
  93. package/lib/utils/date.js +10 -3
  94. package/lib/utils/date_source.js +290 -304
  95. package/lib/utils/lodash_source.js +9290 -9290
  96. package/package.json +1 -1
  97. package/packages/theme-chalk/src/index.scss +0 -1
  98. package/src/index.js +1 -4
  99. package/src/utils/date.js +2 -2
  100. package/src/utils/date_source.js +305 -321
  101. package/src/utils/lodash_source.js +18079 -18064
  102. package/lib/statistic.js +0 -10484
  103. package/lib/theme-chalk/src/statistic.scss +0 -38
  104. package/packages/statistic/index.js +0 -8
  105. package/packages/statistic/src/main.vue +0 -203
  106. package/packages/theme-chalk/src/statistic.scss +0 -38
  107. package/types/statistic.d.ts +0 -37
package/lib/submenu.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 214);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 199);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -350,83 +350,6 @@ module.exports = require("core-js/modules/web.dom-collections.for-each.js");
350
350
 
351
351
  /***/ }),
352
352
 
353
- /***/ 101:
354
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
355
-
356
- "use strict";
357
- /* harmony import */ var _utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
358
-
359
- var Transition = /*#__PURE__*/function () {
360
- function Transition() {}
361
- var _proto = Transition.prototype;
362
- _proto.beforeEnter = function beforeEnter(el) {
363
- Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* addClass */ "a"])(el, 'collapse-transition');
364
- if (!el.dataset) el.dataset = {};
365
- el.dataset.oldPaddingTop = el.style.paddingTop;
366
- el.dataset.oldPaddingBottom = el.style.paddingBottom;
367
- el.style.height = '0';
368
- el.style.paddingTop = 0;
369
- el.style.paddingBottom = 0;
370
- };
371
- _proto.enter = function enter(el) {
372
- el.dataset.oldOverflow = el.style.overflow;
373
- if (el.scrollHeight !== 0) {
374
- el.style.height = el.scrollHeight + 'px';
375
- el.style.paddingTop = el.dataset.oldPaddingTop;
376
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
377
- } else {
378
- el.style.height = '';
379
- el.style.paddingTop = el.dataset.oldPaddingTop;
380
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
381
- }
382
- el.style.overflow = 'hidden';
383
- };
384
- _proto.afterEnter = function afterEnter(el) {
385
- // for safari: remove class then reset height is necessary
386
- Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* removeClass */ "i"])(el, 'collapse-transition');
387
- el.style.height = '';
388
- el.style.overflow = el.dataset.oldOverflow;
389
- };
390
- _proto.beforeLeave = function beforeLeave(el) {
391
- if (!el.dataset) el.dataset = {};
392
- el.dataset.oldPaddingTop = el.style.paddingTop;
393
- el.dataset.oldPaddingBottom = el.style.paddingBottom;
394
- el.dataset.oldOverflow = el.style.overflow;
395
- el.style.height = el.scrollHeight + 'px';
396
- el.style.overflow = 'hidden';
397
- };
398
- _proto.leave = function leave(el) {
399
- if (el.scrollHeight !== 0) {
400
- // for safari: add class after set height, or it will jump to zero height suddenly, weired
401
- Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* addClass */ "a"])(el, 'collapse-transition');
402
- el.style.height = 0;
403
- el.style.paddingTop = 0;
404
- el.style.paddingBottom = 0;
405
- }
406
- };
407
- _proto.afterLeave = function afterLeave(el) {
408
- Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* removeClass */ "i"])(el, 'collapse-transition');
409
- el.style.height = '';
410
- el.style.overflow = el.dataset.oldOverflow;
411
- el.style.paddingTop = el.dataset.oldPaddingTop;
412
- el.style.paddingBottom = el.dataset.oldPaddingBottom;
413
- };
414
- return Transition;
415
- }();
416
- /* harmony default export */ __webpack_exports__["a"] = ({
417
- name: 'ElCollapseTransition',
418
- functional: true,
419
- render: function render(h, _ref) {
420
- var children = _ref.children;
421
- var data = {
422
- on: new Transition()
423
- };
424
- return h('transition', data, children);
425
- }
426
- });
427
-
428
- /***/ }),
429
-
430
353
  /***/ 11:
431
354
  /***/ (function(module, exports) {
432
355
 
@@ -434,7 +357,7 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
434
357
 
435
358
  /***/ }),
436
359
 
437
- /***/ 114:
360
+ /***/ 110:
438
361
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
439
362
 
440
363
  "use strict";
@@ -585,126 +508,7 @@ module.exports = require("core-js/modules/es.array.filter.js");
585
508
 
586
509
  /***/ }),
587
510
 
588
- /***/ 2:
589
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
590
-
591
- "use strict";
592
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
593
- /* globals __VUE_SSR_CONTEXT__ */
594
-
595
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
596
- // This module is a runtime utility for cleaner component module output and will
597
- // be included in the final webpack user bundle.
598
-
599
- function normalizeComponent(
600
- scriptExports,
601
- render,
602
- staticRenderFns,
603
- functionalTemplate,
604
- injectStyles,
605
- scopeId,
606
- moduleIdentifier /* server only */,
607
- shadowMode /* vue-cli only */
608
- ) {
609
- // Vue.extend constructor export interop
610
- var options =
611
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
612
-
613
- // render functions
614
- if (render) {
615
- options.render = render
616
- options.staticRenderFns = staticRenderFns
617
- options._compiled = true
618
- }
619
-
620
- // functional template
621
- if (functionalTemplate) {
622
- options.functional = true
623
- }
624
-
625
- // scopedId
626
- if (scopeId) {
627
- options._scopeId = 'data-v-' + scopeId
628
- }
629
-
630
- var hook
631
- if (moduleIdentifier) {
632
- // server build
633
- hook = function (context) {
634
- // 2.3 injection
635
- context =
636
- context || // cached call
637
- (this.$vnode && this.$vnode.ssrContext) || // stateful
638
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
639
- // 2.2 with runInNewContext: true
640
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
641
- context = __VUE_SSR_CONTEXT__
642
- }
643
- // inject component styles
644
- if (injectStyles) {
645
- injectStyles.call(this, context)
646
- }
647
- // register component module identifier for async chunk inferrence
648
- if (context && context._registeredComponents) {
649
- context._registeredComponents.add(moduleIdentifier)
650
- }
651
- }
652
- // used by ssr in case component is cached and beforeCreate
653
- // never gets called
654
- options._ssrRegister = hook
655
- } else if (injectStyles) {
656
- hook = shadowMode
657
- ? function () {
658
- injectStyles.call(
659
- this,
660
- (options.functional ? this.parent : this).$root.$options.shadowRoot
661
- )
662
- }
663
- : injectStyles
664
- }
665
-
666
- if (hook) {
667
- if (options.functional) {
668
- // for template-only hot-reload because in that case the render fn doesn't
669
- // go through the normalizer
670
- options._injectStyles = hook
671
- // register for functional component in vue file
672
- var originalRender = options.render
673
- options.render = function renderWithStyleInjection(h, context) {
674
- hook.call(context)
675
- return originalRender(h, context)
676
- }
677
- } else {
678
- // inject component registration as beforeCreate hook
679
- var existing = options.beforeCreate
680
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
681
- }
682
- }
683
-
684
- return {
685
- exports: scriptExports,
686
- options: options
687
- }
688
- }
689
-
690
-
691
- /***/ }),
692
-
693
- /***/ 20:
694
- /***/ (function(module, exports) {
695
-
696
- module.exports = require("core-js/modules/es.array.map.js");
697
-
698
- /***/ }),
699
-
700
- /***/ 21:
701
- /***/ (function(module, exports) {
702
-
703
- module.exports = require("core-js/modules/es.array.concat.js");
704
-
705
- /***/ }),
706
-
707
- /***/ 214:
511
+ /***/ 199:
708
512
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
709
513
 
710
514
  "use strict";
@@ -727,10 +531,10 @@ var es_object_to_string_js_ = __webpack_require__(3);
727
531
  var web_dom_collections_for_each_js_ = __webpack_require__(10);
728
532
 
729
533
  // EXTERNAL MODULE: ./src/transitions/collapse-transition.js
730
- var collapse_transition = __webpack_require__(101);
534
+ var collapse_transition = __webpack_require__(99);
731
535
 
732
536
  // EXTERNAL MODULE: ./packages/menu/src/menu-mixin.js
733
- var menu_mixin = __webpack_require__(114);
537
+ var menu_mixin = __webpack_require__(110);
734
538
 
735
539
  // EXTERNAL MODULE: ./src/mixins/emitter.js
736
540
  var emitter = __webpack_require__(14);
@@ -1121,6 +925,125 @@ submenu.install = function (Vue) {
1121
925
 
1122
926
  /***/ }),
1123
927
 
928
+ /***/ 2:
929
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
930
+
931
+ "use strict";
932
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
933
+ /* globals __VUE_SSR_CONTEXT__ */
934
+
935
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
936
+ // This module is a runtime utility for cleaner component module output and will
937
+ // be included in the final webpack user bundle.
938
+
939
+ function normalizeComponent(
940
+ scriptExports,
941
+ render,
942
+ staticRenderFns,
943
+ functionalTemplate,
944
+ injectStyles,
945
+ scopeId,
946
+ moduleIdentifier /* server only */,
947
+ shadowMode /* vue-cli only */
948
+ ) {
949
+ // Vue.extend constructor export interop
950
+ var options =
951
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
952
+
953
+ // render functions
954
+ if (render) {
955
+ options.render = render
956
+ options.staticRenderFns = staticRenderFns
957
+ options._compiled = true
958
+ }
959
+
960
+ // functional template
961
+ if (functionalTemplate) {
962
+ options.functional = true
963
+ }
964
+
965
+ // scopedId
966
+ if (scopeId) {
967
+ options._scopeId = 'data-v-' + scopeId
968
+ }
969
+
970
+ var hook
971
+ if (moduleIdentifier) {
972
+ // server build
973
+ hook = function (context) {
974
+ // 2.3 injection
975
+ context =
976
+ context || // cached call
977
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
978
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
979
+ // 2.2 with runInNewContext: true
980
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
981
+ context = __VUE_SSR_CONTEXT__
982
+ }
983
+ // inject component styles
984
+ if (injectStyles) {
985
+ injectStyles.call(this, context)
986
+ }
987
+ // register component module identifier for async chunk inferrence
988
+ if (context && context._registeredComponents) {
989
+ context._registeredComponents.add(moduleIdentifier)
990
+ }
991
+ }
992
+ // used by ssr in case component is cached and beforeCreate
993
+ // never gets called
994
+ options._ssrRegister = hook
995
+ } else if (injectStyles) {
996
+ hook = shadowMode
997
+ ? function () {
998
+ injectStyles.call(
999
+ this,
1000
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
1001
+ )
1002
+ }
1003
+ : injectStyles
1004
+ }
1005
+
1006
+ if (hook) {
1007
+ if (options.functional) {
1008
+ // for template-only hot-reload because in that case the render fn doesn't
1009
+ // go through the normalizer
1010
+ options._injectStyles = hook
1011
+ // register for functional component in vue file
1012
+ var originalRender = options.render
1013
+ options.render = function renderWithStyleInjection(h, context) {
1014
+ hook.call(context)
1015
+ return originalRender(h, context)
1016
+ }
1017
+ } else {
1018
+ // inject component registration as beforeCreate hook
1019
+ var existing = options.beforeCreate
1020
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
1021
+ }
1022
+ }
1023
+
1024
+ return {
1025
+ exports: scriptExports,
1026
+ options: options
1027
+ }
1028
+ }
1029
+
1030
+
1031
+ /***/ }),
1032
+
1033
+ /***/ 20:
1034
+ /***/ (function(module, exports) {
1035
+
1036
+ module.exports = require("core-js/modules/es.array.map.js");
1037
+
1038
+ /***/ }),
1039
+
1040
+ /***/ 21:
1041
+ /***/ (function(module, exports) {
1042
+
1043
+ module.exports = require("core-js/modules/es.array.concat.js");
1044
+
1045
+ /***/ }),
1046
+
1124
1047
  /***/ 22:
1125
1048
  /***/ (function(module, exports) {
1126
1049
 
@@ -1191,7 +1114,7 @@ var es_regexp_exec_js_ = __webpack_require__(7);
1191
1114
  var es_string_split_js_ = __webpack_require__(59);
1192
1115
 
1193
1116
  // EXTERNAL MODULE: external "core-js/modules/es.string.trim.js"
1194
- var es_string_trim_js_ = __webpack_require__(55);
1117
+ var es_string_trim_js_ = __webpack_require__(56);
1195
1118
 
1196
1119
  // EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
1197
1120
  var web_dom_collections_for_each_js_ = __webpack_require__(10);
@@ -1598,7 +1521,7 @@ module.exports = require("core-js/modules/es.function.name.js");
1598
1521
 
1599
1522
 
1600
1523
 
1601
- var PopperJS = vue__WEBPACK_IMPORTED_MODULE_3___default.a.prototype.$isServer ? function () {} : __webpack_require__(73);
1524
+ var PopperJS = vue__WEBPACK_IMPORTED_MODULE_3___default.a.prototype.$isServer ? function () {} : __webpack_require__(71);
1602
1525
  var stop = function stop(e) {
1603
1526
  return e.stopPropagation();
1604
1527
  };
@@ -1781,7 +1704,7 @@ module.exports = require("core-js/modules/es.array.includes.js");
1781
1704
 
1782
1705
  /***/ }),
1783
1706
 
1784
- /***/ 55:
1707
+ /***/ 56:
1785
1708
  /***/ (function(module, exports) {
1786
1709
 
1787
1710
  module.exports = require("core-js/modules/es.string.trim.js");
@@ -1807,47 +1730,6 @@ module.exports = require("core-js/modules/es.number.constructor.js");
1807
1730
 
1808
1731
  module.exports = require("core-js/modules/es.object.assign.js");
1809
1732
 
1810
- /***/ }),
1811
-
1812
- /***/ 66:
1813
- /***/ (function(module, exports) {
1814
-
1815
- /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {/* globals __webpack_amd_options__ */
1816
- module.exports = __webpack_amd_options__;
1817
-
1818
- /* WEBPACK VAR INJECTION */}.call(this, {}))
1819
-
1820
- /***/ }),
1821
-
1822
- /***/ 67:
1823
- /***/ (function(module, exports) {
1824
-
1825
- module.exports = function(originalModule) {
1826
- if (!originalModule.webpackPolyfill) {
1827
- var module = Object.create(originalModule);
1828
- // module.parent = undefined by default
1829
- if (!module.children) module.children = [];
1830
- Object.defineProperty(module, "loaded", {
1831
- enumerable: true,
1832
- get: function() {
1833
- return module.l;
1834
- }
1835
- });
1836
- Object.defineProperty(module, "id", {
1837
- enumerable: true,
1838
- get: function() {
1839
- return module.i;
1840
- }
1841
- });
1842
- Object.defineProperty(module, "exports", {
1843
- enumerable: true
1844
- });
1845
- module.webpackPolyfill = 1;
1846
- }
1847
- return module;
1848
- };
1849
-
1850
-
1851
1733
  /***/ }),
1852
1734
 
1853
1735
  /***/ 7:
@@ -1857,7 +1739,7 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
1857
1739
 
1858
1740
  /***/ }),
1859
1741
 
1860
- /***/ 73:
1742
+ /***/ 71:
1861
1743
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1862
1744
 
1863
1745
  "use strict";
@@ -1870,7 +1752,7 @@ __webpack_require__.r(__webpack_exports__);
1870
1752
  /* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_2__);
1871
1753
  /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(60);
1872
1754
  /* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_3__);
1873
- /* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74);
1755
+ /* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73);
1874
1756
  /* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_4__);
1875
1757
  /* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17);
1876
1758
  /* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__);
@@ -1926,7 +1808,7 @@ __webpack_require__.r(__webpack_exports__);
1926
1808
  //
1927
1809
  ;
1928
1810
  (function (root, factory) {
1929
- if (typeof define === 'function' && __webpack_require__(66)) {
1811
+ if (typeof define === 'function' && __webpack_require__(74)) {
1930
1812
  // AMD. Register as an anonymous module.
1931
1813
  define(factory);
1932
1814
  } else if ( true && module.exports) {
@@ -3125,15 +3007,133 @@ __webpack_require__.r(__webpack_exports__);
3125
3007
  }
3126
3008
  return Popper;
3127
3009
  });
3128
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(67)(module)))
3010
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(72)(module)))
3129
3011
 
3130
3012
  /***/ }),
3131
3013
 
3132
- /***/ 74:
3014
+ /***/ 72:
3015
+ /***/ (function(module, exports) {
3016
+
3017
+ module.exports = function(originalModule) {
3018
+ if (!originalModule.webpackPolyfill) {
3019
+ var module = Object.create(originalModule);
3020
+ // module.parent = undefined by default
3021
+ if (!module.children) module.children = [];
3022
+ Object.defineProperty(module, "loaded", {
3023
+ enumerable: true,
3024
+ get: function() {
3025
+ return module.l;
3026
+ }
3027
+ });
3028
+ Object.defineProperty(module, "id", {
3029
+ enumerable: true,
3030
+ get: function() {
3031
+ return module.i;
3032
+ }
3033
+ });
3034
+ Object.defineProperty(module, "exports", {
3035
+ enumerable: true
3036
+ });
3037
+ module.webpackPolyfill = 1;
3038
+ }
3039
+ return module;
3040
+ };
3041
+
3042
+
3043
+ /***/ }),
3044
+
3045
+ /***/ 73:
3133
3046
  /***/ (function(module, exports) {
3134
3047
 
3135
3048
  module.exports = require("core-js/modules/es.object.get-own-property-descriptor.js");
3136
3049
 
3050
+ /***/ }),
3051
+
3052
+ /***/ 74:
3053
+ /***/ (function(module, exports) {
3054
+
3055
+ /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {/* globals __webpack_amd_options__ */
3056
+ module.exports = __webpack_amd_options__;
3057
+
3058
+ /* WEBPACK VAR INJECTION */}.call(this, {}))
3059
+
3060
+ /***/ }),
3061
+
3062
+ /***/ 99:
3063
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3064
+
3065
+ "use strict";
3066
+ /* harmony import */ var _utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
3067
+
3068
+ var Transition = /*#__PURE__*/function () {
3069
+ function Transition() {}
3070
+ var _proto = Transition.prototype;
3071
+ _proto.beforeEnter = function beforeEnter(el) {
3072
+ Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* addClass */ "a"])(el, 'collapse-transition');
3073
+ if (!el.dataset) el.dataset = {};
3074
+ el.dataset.oldPaddingTop = el.style.paddingTop;
3075
+ el.dataset.oldPaddingBottom = el.style.paddingBottom;
3076
+ el.style.height = '0';
3077
+ el.style.paddingTop = 0;
3078
+ el.style.paddingBottom = 0;
3079
+ };
3080
+ _proto.enter = function enter(el) {
3081
+ el.dataset.oldOverflow = el.style.overflow;
3082
+ if (el.scrollHeight !== 0) {
3083
+ el.style.height = el.scrollHeight + 'px';
3084
+ el.style.paddingTop = el.dataset.oldPaddingTop;
3085
+ el.style.paddingBottom = el.dataset.oldPaddingBottom;
3086
+ } else {
3087
+ el.style.height = '';
3088
+ el.style.paddingTop = el.dataset.oldPaddingTop;
3089
+ el.style.paddingBottom = el.dataset.oldPaddingBottom;
3090
+ }
3091
+ el.style.overflow = 'hidden';
3092
+ };
3093
+ _proto.afterEnter = function afterEnter(el) {
3094
+ // for safari: remove class then reset height is necessary
3095
+ Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* removeClass */ "i"])(el, 'collapse-transition');
3096
+ el.style.height = '';
3097
+ el.style.overflow = el.dataset.oldOverflow;
3098
+ };
3099
+ _proto.beforeLeave = function beforeLeave(el) {
3100
+ if (!el.dataset) el.dataset = {};
3101
+ el.dataset.oldPaddingTop = el.style.paddingTop;
3102
+ el.dataset.oldPaddingBottom = el.style.paddingBottom;
3103
+ el.dataset.oldOverflow = el.style.overflow;
3104
+ el.style.height = el.scrollHeight + 'px';
3105
+ el.style.overflow = 'hidden';
3106
+ };
3107
+ _proto.leave = function leave(el) {
3108
+ if (el.scrollHeight !== 0) {
3109
+ // for safari: add class after set height, or it will jump to zero height suddenly, weired
3110
+ Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* addClass */ "a"])(el, 'collapse-transition');
3111
+ el.style.height = 0;
3112
+ el.style.paddingTop = 0;
3113
+ el.style.paddingBottom = 0;
3114
+ }
3115
+ };
3116
+ _proto.afterLeave = function afterLeave(el) {
3117
+ Object(_utils_dom__WEBPACK_IMPORTED_MODULE_0__[/* removeClass */ "i"])(el, 'collapse-transition');
3118
+ el.style.height = '';
3119
+ el.style.overflow = el.dataset.oldOverflow;
3120
+ el.style.paddingTop = el.dataset.oldPaddingTop;
3121
+ el.style.paddingBottom = el.dataset.oldPaddingBottom;
3122
+ };
3123
+ return Transition;
3124
+ }();
3125
+ /* harmony default export */ __webpack_exports__["a"] = ({
3126
+ name: 'ElCollapseTransition',
3127
+ functional: true,
3128
+ render: function render(h, _ref) {
3129
+ var children = _ref.children;
3130
+ var data = {
3131
+ on: new Transition()
3132
+ };
3133
+ return h('transition', data, children);
3134
+ }
3135
+ });
3136
+
3137
3137
  /***/ })
3138
3138
 
3139
3139
  /******/ });