cy-element-ui 1.0.7 → 1.0.9

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 (99) hide show
  1. package/lib/alert.js +2 -2
  2. package/lib/aside.js +76 -76
  3. package/lib/autocomplete.js +64 -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 +2 -2
  8. package/lib/breadcrumb.js +2 -2
  9. package/lib/button-group.js +2 -2
  10. package/lib/calendar.js +42 -462
  11. package/lib/card.js +2 -2
  12. package/lib/carousel-item.js +13 -13
  13. package/lib/carousel.js +18 -18
  14. package/lib/cascader-panel.js +29 -30
  15. package/lib/cascader.js +101 -113
  16. package/lib/checkbox-button.js +4 -4
  17. package/lib/checkbox-group.js +2 -2
  18. package/lib/col.js +4 -4
  19. package/lib/collapse-item.js +92 -92
  20. package/lib/collapse.js +2 -2
  21. package/lib/color-picker.js +68 -79
  22. package/lib/container.js +2 -2
  23. package/lib/date-picker.js +96 -479
  24. package/lib/descriptions-item.js +2 -2
  25. package/lib/descriptions.js +4 -4
  26. package/lib/dialog.js +10 -11
  27. package/lib/divider.js +105 -105
  28. package/lib/drawer.js +111 -111
  29. package/lib/dropdown-item.js +2 -2
  30. package/lib/dropdown-menu.js +60 -60
  31. package/lib/dropdown.js +25 -25
  32. package/lib/element-ui.common.js +44025 -48327
  33. package/lib/empty.js +10 -21
  34. package/lib/fileUpload.js +69 -80
  35. package/lib/footer.js +76 -76
  36. package/lib/form-item.js +6 -17
  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 +26 -37
  41. package/lib/index.js +1 -1
  42. package/lib/infinite-scroll.js +8 -8
  43. package/lib/input-number.js +10 -11
  44. package/lib/input.js +4 -4
  45. package/lib/link.js +2 -2
  46. package/lib/loading.js +14 -14
  47. package/lib/main.js +65 -65
  48. package/lib/menu-item-group.js +2 -2
  49. package/lib/menu-item.js +67 -79
  50. package/lib/menu.js +7 -18
  51. package/lib/message-box.js +29 -40
  52. package/lib/message.js +13 -24
  53. package/lib/notification.js +13 -24
  54. package/lib/option-group.js +2 -2
  55. package/lib/option.js +17 -18
  56. package/lib/page-header.js +113 -113
  57. package/lib/pagination.js +93 -104
  58. package/lib/popconfirm.js +64 -75
  59. package/lib/popover.js +58 -61
  60. package/lib/progress.js +8 -8
  61. package/lib/radio-button.js +4 -4
  62. package/lib/radio-group.js +2 -2
  63. package/lib/radio.js +2 -2
  64. package/lib/rate.js +24 -24
  65. package/lib/result.js +2 -2
  66. package/lib/row.js +2 -2
  67. package/lib/scrollbar.js +11 -11
  68. package/lib/select.js +84 -85
  69. package/lib/skeleton-item.js +2 -2
  70. package/lib/skeleton.js +107 -107
  71. package/lib/slider.js +79 -90
  72. package/lib/spinner.js +2 -2
  73. package/lib/statistic.js +181 -10015
  74. package/lib/step.js +2 -2
  75. package/lib/steps.js +13 -13
  76. package/lib/subTitle.js +2 -2
  77. package/lib/submenu.js +143 -143
  78. package/lib/switch.js +886 -811
  79. package/lib/tab-pane.js +2 -2
  80. package/lib/tabDialog.js +21 -32
  81. package/lib/table-column.js +19 -19
  82. package/lib/table.js +104 -115
  83. package/lib/tabs.js +12 -23
  84. package/lib/tag.js +2 -2
  85. package/lib/time-picker.js +96 -479
  86. package/lib/time-select.js +81 -464
  87. package/lib/timeline-item.js +107 -107
  88. package/lib/timeline.js +2 -2
  89. package/lib/tooltip.js +60 -61
  90. package/lib/transfer.js +18 -29
  91. package/lib/tree.js +28 -39
  92. package/lib/treeSelect.js +64 -75
  93. package/lib/upload.js +39 -40
  94. package/lib/utils/date.js +10 -3
  95. package/lib/utils/lodash.js +11 -10
  96. package/package.json +3 -1
  97. package/src/index.js +1 -1
  98. package/src/utils/date.js +2 -2
  99. package/src/utils/lodash.js +2 -9
package/lib/backtop.js CHANGED
@@ -82,117 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 205);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 193);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 2:
91
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
-
93
- "use strict";
94
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
95
- /* globals __VUE_SSR_CONTEXT__ */
96
-
97
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
98
- // This module is a runtime utility for cleaner component module output and will
99
- // be included in the final webpack user bundle.
100
-
101
- function normalizeComponent(
102
- scriptExports,
103
- render,
104
- staticRenderFns,
105
- functionalTemplate,
106
- injectStyles,
107
- scopeId,
108
- moduleIdentifier /* server only */,
109
- shadowMode /* vue-cli only */
110
- ) {
111
- // Vue.extend constructor export interop
112
- var options =
113
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
114
-
115
- // render functions
116
- if (render) {
117
- options.render = render
118
- options.staticRenderFns = staticRenderFns
119
- options._compiled = true
120
- }
121
-
122
- // functional template
123
- if (functionalTemplate) {
124
- options.functional = true
125
- }
126
-
127
- // scopedId
128
- if (scopeId) {
129
- options._scopeId = 'data-v-' + scopeId
130
- }
131
-
132
- var hook
133
- if (moduleIdentifier) {
134
- // server build
135
- hook = function (context) {
136
- // 2.3 injection
137
- context =
138
- context || // cached call
139
- (this.$vnode && this.$vnode.ssrContext) || // stateful
140
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
141
- // 2.2 with runInNewContext: true
142
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
143
- context = __VUE_SSR_CONTEXT__
144
- }
145
- // inject component styles
146
- if (injectStyles) {
147
- injectStyles.call(this, context)
148
- }
149
- // register component module identifier for async chunk inferrence
150
- if (context && context._registeredComponents) {
151
- context._registeredComponents.add(moduleIdentifier)
152
- }
153
- }
154
- // used by ssr in case component is cached and beforeCreate
155
- // never gets called
156
- options._ssrRegister = hook
157
- } else if (injectStyles) {
158
- hook = shadowMode
159
- ? function () {
160
- injectStyles.call(
161
- this,
162
- (options.functional ? this.parent : this).$root.$options.shadowRoot
163
- )
164
- }
165
- : injectStyles
166
- }
167
-
168
- if (hook) {
169
- if (options.functional) {
170
- // for template-only hot-reload because in that case the render fn doesn't
171
- // go through the normalizer
172
- options._injectStyles = hook
173
- // register for functional component in vue file
174
- var originalRender = options.render
175
- options.render = function renderWithStyleInjection(h, context) {
176
- hook.call(context)
177
- return originalRender(h, context)
178
- }
179
- } else {
180
- // inject component registration as beforeCreate hook
181
- var existing = options.beforeCreate
182
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
183
- }
184
- }
185
-
186
- return {
187
- exports: scriptExports,
188
- options: options
189
- }
190
- }
191
-
192
-
193
- /***/ }),
194
-
195
- /***/ 205:
90
+ /***/ 193:
196
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
92
 
198
93
  "use strict";
@@ -243,7 +138,7 @@ render._withStripped = true
243
138
  var es_number_constructor_js_ = __webpack_require__(6);
244
139
 
245
140
  // EXTERNAL MODULE: external "throttle-debounce/throttle"
246
- var throttle_ = __webpack_require__(98);
141
+ var throttle_ = __webpack_require__(97);
247
142
  var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
248
143
 
249
144
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/backtop/src/main.vue?vue&type=script&lang=js
@@ -370,6 +265,111 @@ main.install = function (Vue) {
370
265
  };
371
266
  /* harmony default export */ var backtop = __webpack_exports__["default"] = (main);
372
267
 
268
+ /***/ }),
269
+
270
+ /***/ 2:
271
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
272
+
273
+ "use strict";
274
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
275
+ /* globals __VUE_SSR_CONTEXT__ */
276
+
277
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
278
+ // This module is a runtime utility for cleaner component module output and will
279
+ // be included in the final webpack user bundle.
280
+
281
+ function normalizeComponent(
282
+ scriptExports,
283
+ render,
284
+ staticRenderFns,
285
+ functionalTemplate,
286
+ injectStyles,
287
+ scopeId,
288
+ moduleIdentifier /* server only */,
289
+ shadowMode /* vue-cli only */
290
+ ) {
291
+ // Vue.extend constructor export interop
292
+ var options =
293
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
294
+
295
+ // render functions
296
+ if (render) {
297
+ options.render = render
298
+ options.staticRenderFns = staticRenderFns
299
+ options._compiled = true
300
+ }
301
+
302
+ // functional template
303
+ if (functionalTemplate) {
304
+ options.functional = true
305
+ }
306
+
307
+ // scopedId
308
+ if (scopeId) {
309
+ options._scopeId = 'data-v-' + scopeId
310
+ }
311
+
312
+ var hook
313
+ if (moduleIdentifier) {
314
+ // server build
315
+ hook = function (context) {
316
+ // 2.3 injection
317
+ context =
318
+ context || // cached call
319
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
320
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
321
+ // 2.2 with runInNewContext: true
322
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
323
+ context = __VUE_SSR_CONTEXT__
324
+ }
325
+ // inject component styles
326
+ if (injectStyles) {
327
+ injectStyles.call(this, context)
328
+ }
329
+ // register component module identifier for async chunk inferrence
330
+ if (context && context._registeredComponents) {
331
+ context._registeredComponents.add(moduleIdentifier)
332
+ }
333
+ }
334
+ // used by ssr in case component is cached and beforeCreate
335
+ // never gets called
336
+ options._ssrRegister = hook
337
+ } else if (injectStyles) {
338
+ hook = shadowMode
339
+ ? function () {
340
+ injectStyles.call(
341
+ this,
342
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
343
+ )
344
+ }
345
+ : injectStyles
346
+ }
347
+
348
+ if (hook) {
349
+ if (options.functional) {
350
+ // for template-only hot-reload because in that case the render fn doesn't
351
+ // go through the normalizer
352
+ options._injectStyles = hook
353
+ // register for functional component in vue file
354
+ var originalRender = options.render
355
+ options.render = function renderWithStyleInjection(h, context) {
356
+ hook.call(context)
357
+ return originalRender(h, context)
358
+ }
359
+ } else {
360
+ // inject component registration as beforeCreate hook
361
+ var existing = options.beforeCreate
362
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
363
+ }
364
+ }
365
+
366
+ return {
367
+ exports: scriptExports,
368
+ options: options
369
+ }
370
+ }
371
+
372
+
373
373
  /***/ }),
374
374
 
375
375
  /***/ 5:
@@ -386,7 +386,7 @@ module.exports = require("core-js/modules/es.number.constructor.js");
386
386
 
387
387
  /***/ }),
388
388
 
389
- /***/ 98:
389
+ /***/ 97:
390
390
  /***/ (function(module, exports) {
391
391
 
392
392
  module.exports = require("throttle-debounce/throttle");
package/lib/badge.js CHANGED
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 188);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 176);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 188:
90
+ /***/ 176:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -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 = 182);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 170);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("core-js/modules/es.string.link.js");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 182:
104
+ /***/ 170:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/lib/breadcrumb.js CHANGED
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 181);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 169);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 181:
90
+ /***/ 169:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 106);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 103);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 106:
90
+ /***/ 103:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";