cy-element-ui 1.0.51 → 1.0.53

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 (124) hide show
  1. package/lib/alert.js +108 -108
  2. package/lib/aside.js +77 -77
  3. package/lib/autocomplete.js +5199 -360
  4. package/lib/avatar.js +4 -4
  5. package/lib/backtop.js +192 -101
  6. package/lib/badge.js +108 -108
  7. package/lib/breadcrumb-item.js +108 -108
  8. package/lib/breadcrumb.js +94 -94
  9. package/lib/button-group.js +4 -4
  10. package/lib/button.js +4 -4
  11. package/lib/calendar.js +1734 -137
  12. package/lib/card.js +96 -96
  13. package/lib/carousel-item.js +452 -108
  14. package/lib/carousel.js +1256 -105
  15. package/lib/cascader-panel.js +3524 -191
  16. package/lib/cascader.js +8077 -717
  17. package/lib/checkbox-button.js +151 -119
  18. package/lib/checkbox-group.js +47 -15
  19. package/lib/checkbox.js +47 -15
  20. package/lib/col.js +2 -2
  21. package/lib/collapse-item.js +815 -110
  22. package/lib/collapse.js +108 -108
  23. package/lib/color-picker.js +4705 -828
  24. package/lib/container.js +88 -88
  25. package/lib/date-picker.js +10735 -4709
  26. package/lib/descriptions-item.js +2 -2
  27. package/lib/descriptions.js +63 -8
  28. package/lib/dialog.js +1200 -22
  29. package/lib/directives/repeat-click.js +2 -2
  30. package/lib/divider.js +104 -104
  31. package/lib/drawer.js +875 -105
  32. package/lib/dropdown-item.js +128 -96
  33. package/lib/dropdown-menu.js +2301 -99
  34. package/lib/dropdown.js +990 -54
  35. package/lib/element-ui.common.js +31129 -13451
  36. package/lib/empty.js +793 -99
  37. package/lib/fileUpload.js +2542 -26
  38. package/lib/footer.js +77 -77
  39. package/lib/form-item.js +3305 -202
  40. package/lib/form.js +129 -115
  41. package/lib/header.js +77 -77
  42. package/lib/icon.js +67 -67
  43. package/lib/image.js +1662 -146
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +435 -26
  46. package/lib/input-number.js +1458 -24
  47. package/lib/input.js +509 -37
  48. package/lib/link.js +4 -4
  49. package/lib/loading.js +886 -149
  50. package/lib/locale/format.js +1 -1
  51. package/lib/locale/index.js +1 -1
  52. package/lib/main.js +64 -64
  53. package/lib/menu-item-group.js +103 -103
  54. package/lib/menu-item.js +3140 -137
  55. package/lib/menu.js +1058 -123
  56. package/lib/message-box.js +2743 -188
  57. package/lib/message.js +1196 -118
  58. package/lib/mixins/locale.js +1 -1
  59. package/lib/mixins/migrating.js +1 -1
  60. package/lib/notification.js +1196 -119
  61. package/lib/option-group.js +151 -119
  62. package/lib/option.js +392 -16
  63. package/lib/page-header.js +781 -87
  64. package/lib/pagination.js +7747 -646
  65. package/lib/popconfirm.js +3606 -219
  66. package/lib/popover.js +2604 -79
  67. package/lib/progress.js +4 -4
  68. package/lib/radio-button.js +151 -119
  69. package/lib/radio-group.js +151 -119
  70. package/lib/radio.js +47 -15
  71. package/lib/rate.js +756 -113
  72. package/lib/result.js +108 -108
  73. package/lib/row.js +2 -2
  74. package/lib/scrollbar.js +1813 -41
  75. package/lib/select.js +5547 -209
  76. package/lib/selectDisplayInput.js +4 -4
  77. package/lib/skeleton-item.js +108 -108
  78. package/lib/skeleton.js +108 -108
  79. package/lib/slider.js +4768 -530
  80. package/lib/spinner.js +100 -100
  81. package/lib/statistic.js +9600 -112
  82. package/lib/step.js +108 -108
  83. package/lib/steps.js +514 -99
  84. package/lib/subTitle.js +91 -91
  85. package/lib/submenu.js +2397 -76
  86. package/lib/switch.js +582 -127
  87. package/lib/tab-pane.js +108 -108
  88. package/lib/tabDialog.js +1630 -104
  89. package/lib/table-column.js +1115 -267
  90. package/lib/table.js +7085 -1253
  91. package/lib/tabs.js +1615 -113
  92. package/lib/tag.js +4 -4
  93. package/lib/time-picker.js +6487 -550
  94. package/lib/time-select.js +6334 -407
  95. package/lib/timeline-item.js +108 -108
  96. package/lib/timeline.js +4 -4
  97. package/lib/tooltip.js +2688 -44
  98. package/lib/transfer.js +2238 -146
  99. package/lib/transitions/collapse-transition.js +1 -1
  100. package/lib/tree.js +1563 -148
  101. package/lib/treeSelect.js +3421 -106
  102. package/lib/upload.js +1198 -31
  103. package/lib/utils/clickoutside.js +1 -1
  104. package/lib/utils/date-util.js +2 -2
  105. package/lib/utils/popup/index.js +2 -2
  106. package/lib/utils/popup/popup-manager.js +1 -1
  107. package/lib/utils/util.js +1 -1
  108. package/lib/utils/vdom.js +1 -1
  109. package/lib/utils/vue-popper.js +1 -1
  110. package/package.json +1 -1
  111. package/src/directives/repeat-click.js +2 -2
  112. package/src/index.js +1 -1
  113. package/src/locale/format.js +1 -1
  114. package/src/locale/index.js +1 -1
  115. package/src/mixins/locale.js +1 -1
  116. package/src/mixins/migrating.js +1 -1
  117. package/src/transitions/collapse-transition.js +1 -1
  118. package/src/utils/clickoutside.js +1 -1
  119. package/src/utils/date-util.js +2 -2
  120. package/src/utils/popup/index.js +2 -2
  121. package/src/utils/popup/popup-manager.js +1 -1
  122. package/src/utils/util.js +1 -1
  123. package/src/utils/vdom.js +1 -1
  124. package/src/utils/vue-popper.js +1 -1
package/lib/alert.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 = 106);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 172);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 0:
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
- /***/ 106:
90
+ /***/ 172:
196
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
92
 
198
93
  "use strict";
@@ -365,7 +260,7 @@ var TYPE_CLASSES_MAP = {
365
260
  // CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=script&lang=js
366
261
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
367
262
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
368
- var componentNormalizer = __webpack_require__(0);
263
+ var componentNormalizer = __webpack_require__(2);
369
264
 
370
265
  // CONCATENATED MODULE: ./packages/alert/src/main.vue
371
266
 
@@ -397,6 +292,111 @@ main.install = function (Vue) {
397
292
 
398
293
  /* harmony default export */ var packages_alert = __webpack_exports__["default"] = (main);
399
294
 
295
+ /***/ }),
296
+
297
+ /***/ 2:
298
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
299
+
300
+ "use strict";
301
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
302
+ /* globals __VUE_SSR_CONTEXT__ */
303
+
304
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
305
+ // This module is a runtime utility for cleaner component module output and will
306
+ // be included in the final webpack user bundle.
307
+
308
+ function normalizeComponent(
309
+ scriptExports,
310
+ render,
311
+ staticRenderFns,
312
+ functionalTemplate,
313
+ injectStyles,
314
+ scopeId,
315
+ moduleIdentifier /* server only */,
316
+ shadowMode /* vue-cli only */
317
+ ) {
318
+ // Vue.extend constructor export interop
319
+ var options =
320
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
321
+
322
+ // render functions
323
+ if (render) {
324
+ options.render = render
325
+ options.staticRenderFns = staticRenderFns
326
+ options._compiled = true
327
+ }
328
+
329
+ // functional template
330
+ if (functionalTemplate) {
331
+ options.functional = true
332
+ }
333
+
334
+ // scopedId
335
+ if (scopeId) {
336
+ options._scopeId = 'data-v-' + scopeId
337
+ }
338
+
339
+ var hook
340
+ if (moduleIdentifier) {
341
+ // server build
342
+ hook = function (context) {
343
+ // 2.3 injection
344
+ context =
345
+ context || // cached call
346
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
347
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
348
+ // 2.2 with runInNewContext: true
349
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
350
+ context = __VUE_SSR_CONTEXT__
351
+ }
352
+ // inject component styles
353
+ if (injectStyles) {
354
+ injectStyles.call(this, context)
355
+ }
356
+ // register component module identifier for async chunk inferrence
357
+ if (context && context._registeredComponents) {
358
+ context._registeredComponents.add(moduleIdentifier)
359
+ }
360
+ }
361
+ // used by ssr in case component is cached and beforeCreate
362
+ // never gets called
363
+ options._ssrRegister = hook
364
+ } else if (injectStyles) {
365
+ hook = shadowMode
366
+ ? function () {
367
+ injectStyles.call(
368
+ this,
369
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
370
+ )
371
+ }
372
+ : injectStyles
373
+ }
374
+
375
+ if (hook) {
376
+ if (options.functional) {
377
+ // for template-only hot-reload because in that case the render fn doesn't
378
+ // go through the normalizer
379
+ options._injectStyles = hook
380
+ // register for functional component in vue file
381
+ var originalRender = options.render
382
+ options.render = function renderWithStyleInjection(h, context) {
383
+ hook.call(context)
384
+ return originalRender(h, context)
385
+ }
386
+ } else {
387
+ // inject component registration as beforeCreate hook
388
+ var existing = options.beforeCreate
389
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
390
+ }
391
+ }
392
+
393
+ return {
394
+ exports: scriptExports,
395
+ options: options
396
+ }
397
+ }
398
+
399
+
400
400
  /***/ })
401
401
 
402
402
  /******/ });
package/lib/aside.js CHANGED
@@ -82,12 +82,87 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 122);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 187);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 0:
90
+ /***/ 187:
91
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
+
93
+ "use strict";
94
+ // ESM COMPAT FLAG
95
+ __webpack_require__.r(__webpack_exports__);
96
+
97
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=template&id=569d4244
98
+ var render = function render() {
99
+ var _vm = this,
100
+ _c = _vm._self._c
101
+ return _c(
102
+ "aside",
103
+ { staticClass: "el-aside", style: { width: _vm.width } },
104
+ [_vm._t("default")],
105
+ 2
106
+ )
107
+ }
108
+ var staticRenderFns = []
109
+ render._withStripped = true
110
+
111
+
112
+ // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=template&id=569d4244
113
+
114
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=script&lang=js
115
+
116
+ /* harmony default export */ var mainvue_type_script_lang_js = ({
117
+ name: 'ElAside',
118
+
119
+ componentName: 'ElAside',
120
+
121
+ props: {
122
+ width: {
123
+ type: String,
124
+ default: '300px'
125
+ }
126
+ }
127
+ });
128
+ // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=script&lang=js
129
+ /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
130
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
131
+ var componentNormalizer = __webpack_require__(2);
132
+
133
+ // CONCATENATED MODULE: ./packages/aside/src/main.vue
134
+
135
+
136
+
137
+
138
+
139
+ /* normalize component */
140
+
141
+ var component = Object(componentNormalizer["a" /* default */])(
142
+ src_mainvue_type_script_lang_js,
143
+ render,
144
+ staticRenderFns,
145
+ false,
146
+ null,
147
+ null,
148
+ null
149
+
150
+ )
151
+
152
+ /* harmony default export */ var main = (component.exports);
153
+ // CONCATENATED MODULE: ./packages/aside/index.js
154
+
155
+
156
+ /* istanbul ignore next */
157
+ main.install = function (Vue) {
158
+ Vue.component(main.name, main);
159
+ };
160
+
161
+ /* harmony default export */ var aside = __webpack_exports__["default"] = (main);
162
+
163
+ /***/ }),
164
+
165
+ /***/ 2:
91
166
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
167
 
93
168
  "use strict";
@@ -190,81 +265,6 @@ function normalizeComponent(
190
265
  }
191
266
 
192
267
 
193
- /***/ }),
194
-
195
- /***/ 122:
196
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
-
198
- "use strict";
199
- // ESM COMPAT FLAG
200
- __webpack_require__.r(__webpack_exports__);
201
-
202
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=template&id=569d4244
203
- var render = function render() {
204
- var _vm = this,
205
- _c = _vm._self._c
206
- return _c(
207
- "aside",
208
- { staticClass: "el-aside", style: { width: _vm.width } },
209
- [_vm._t("default")],
210
- 2
211
- )
212
- }
213
- var staticRenderFns = []
214
- render._withStripped = true
215
-
216
-
217
- // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=template&id=569d4244
218
-
219
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=script&lang=js
220
-
221
- /* harmony default export */ var mainvue_type_script_lang_js = ({
222
- name: 'ElAside',
223
-
224
- componentName: 'ElAside',
225
-
226
- props: {
227
- width: {
228
- type: String,
229
- default: '300px'
230
- }
231
- }
232
- });
233
- // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=script&lang=js
234
- /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
235
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
236
- var componentNormalizer = __webpack_require__(0);
237
-
238
- // CONCATENATED MODULE: ./packages/aside/src/main.vue
239
-
240
-
241
-
242
-
243
-
244
- /* normalize component */
245
-
246
- var component = Object(componentNormalizer["a" /* default */])(
247
- src_mainvue_type_script_lang_js,
248
- render,
249
- staticRenderFns,
250
- false,
251
- null,
252
- null,
253
- null
254
-
255
- )
256
-
257
- /* harmony default export */ var main = (component.exports);
258
- // CONCATENATED MODULE: ./packages/aside/index.js
259
-
260
-
261
- /* istanbul ignore next */
262
- main.install = function (Vue) {
263
- Vue.component(main.name, main);
264
- };
265
-
266
- /* harmony default export */ var aside = __webpack_exports__["default"] = (main);
267
-
268
268
  /***/ })
269
269
 
270
270
  /******/ });