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,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 71);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 73);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 0:
90
+ /***/ 2:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -192,21 +192,20 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 71:
195
+ /***/ 73:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
199
199
  // ESM COMPAT FLAG
200
200
  __webpack_require__.r(__webpack_exports__);
201
201
 
202
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/item.vue?vue&type=template&id=7998df8a
203
- var render = function () {
204
- var _vm = this
205
- var _h = _vm.$createElement
206
- var _c = _vm._self._c || _h
202
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/item.vue?vue&type=template&id=7998df8a
203
+ var render = function render() {
204
+ var _vm = this,
205
+ _c = _vm._self._c
207
206
  return _c(
208
207
  "div",
209
- { class: ["el-skeleton__item", "el-skeleton__" + _vm.variant] },
208
+ { class: ["el-skeleton__item", `el-skeleton__${_vm.variant}`] },
210
209
  [_vm.variant === "image" ? _c("img-placeholder") : _vm._e()],
211
210
  1
212
211
  )
@@ -217,11 +216,10 @@ render._withStripped = true
217
216
 
218
217
  // CONCATENATED MODULE: ./packages/skeleton/src/item.vue?vue&type=template&id=7998df8a
219
218
 
220
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/img-placeholder.vue?vue&type=template&id=ba3724d8
221
- var img_placeholdervue_type_template_id_ba3724d8_render = function () {
222
- var _vm = this
223
- var _h = _vm.$createElement
224
- var _c = _vm._self._c || _h
219
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/img-placeholder.vue?vue&type=template&id=ba3724d8
220
+ var img_placeholdervue_type_template_id_ba3724d8_render = function render() {
221
+ var _vm = this,
222
+ _c = _vm._self._c
225
223
  return _c(
226
224
  "svg",
227
225
  {
@@ -243,17 +241,6 @@ img_placeholdervue_type_template_id_ba3724d8_render._withStripped = true
243
241
  // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue?vue&type=template&id=ba3724d8
244
242
 
245
243
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/img-placeholder.vue?vue&type=script&lang=js
246
- //
247
- //
248
- //
249
- //
250
- //
251
- //
252
- //
253
- //
254
- //
255
- //
256
- //
257
244
 
258
245
  /* harmony default export */ var img_placeholdervue_type_script_lang_js = ({
259
246
  name: 'ImgPlaceholder'
@@ -261,7 +248,7 @@ img_placeholdervue_type_template_id_ba3724d8_render._withStripped = true
261
248
  // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue?vue&type=script&lang=js
262
249
  /* harmony default export */ var src_img_placeholdervue_type_script_lang_js = (img_placeholdervue_type_script_lang_js);
263
250
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
264
- var componentNormalizer = __webpack_require__(0);
251
+ var componentNormalizer = __webpack_require__(2);
265
252
 
266
253
  // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue
267
254
 
@@ -286,13 +273,6 @@ var component = Object(componentNormalizer["a" /* default */])(
286
273
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/item.vue?vue&type=script&lang=js
287
274
  var _components;
288
275
 
289
- //
290
- //
291
- //
292
- //
293
- //
294
- //
295
-
296
276
 
297
277
 
298
278
  /* harmony default export */ var itemvue_type_script_lang_js = ({
package/lib/skeleton.js CHANGED
@@ -82,128 +82,22 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 133);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 124);
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
- /***/ 133:
90
+ /***/ 124:
196
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
92
 
198
93
  "use strict";
199
94
  // ESM COMPAT FLAG
200
95
  __webpack_require__.r(__webpack_exports__);
201
96
 
202
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/index.vue?vue&type=template&id=179bfcd4
203
- var render = function () {
204
- var _vm = this
205
- var _h = _vm.$createElement
206
- var _c = _vm._self._c || _h
97
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/index.vue?vue&type=template&id=179bfcd4
98
+ var render = function render() {
99
+ var _vm = this,
100
+ _c = _vm._self._c
207
101
  return _c(
208
102
  "div",
209
103
  [
@@ -221,11 +115,10 @@ var render = function () {
221
115
  _vm._l(_vm.count, function (i) {
222
116
  return [
223
117
  _vm.loading
224
- ? _vm._t(
225
- "template",
226
- _vm._l(_vm.rows, function (item) {
118
+ ? _vm._t("template", function () {
119
+ return _vm._l(_vm.rows, function (item) {
227
120
  return _c("el-skeleton-item", {
228
- key: i + "-" + item,
121
+ key: `${i}-${item}`,
229
122
  class: {
230
123
  "el-skeleton__paragraph": item !== 1,
231
124
  "is-first": item === 1,
@@ -234,7 +127,7 @@ var render = function () {
234
127
  attrs: { variant: "p" },
235
128
  })
236
129
  })
237
- )
130
+ })
238
131
  : _vm._e(),
239
132
  ]
240
133
  }),
@@ -254,31 +147,6 @@ render._withStripped = true
254
147
  // CONCATENATED MODULE: ./packages/skeleton/src/index.vue?vue&type=template&id=179bfcd4
255
148
 
256
149
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/index.vue?vue&type=script&lang=js
257
- //
258
- //
259
- //
260
- //
261
- //
262
- //
263
- //
264
- //
265
- //
266
- //
267
- //
268
- //
269
- //
270
- //
271
- //
272
- //
273
- //
274
- //
275
- //
276
- //
277
- //
278
- //
279
- //
280
- //
281
- //
282
150
 
283
151
  /* harmony default export */ var srcvue_type_script_lang_js = ({
284
152
  name: 'ElSkeleton',
@@ -335,7 +203,7 @@ render._withStripped = true
335
203
  // CONCATENATED MODULE: ./packages/skeleton/src/index.vue?vue&type=script&lang=js
336
204
  /* harmony default export */ var skeleton_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
337
205
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
338
- var componentNormalizer = __webpack_require__(0);
206
+ var componentNormalizer = __webpack_require__(2);
339
207
 
340
208
  // CONCATENATED MODULE: ./packages/skeleton/src/index.vue
341
209
 
@@ -367,6 +235,111 @@ src.install = function (Vue) {
367
235
 
368
236
  /* harmony default export */ var skeleton = __webpack_exports__["default"] = (src);
369
237
 
238
+ /***/ }),
239
+
240
+ /***/ 2:
241
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
242
+
243
+ "use strict";
244
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
245
+ /* globals __VUE_SSR_CONTEXT__ */
246
+
247
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
248
+ // This module is a runtime utility for cleaner component module output and will
249
+ // be included in the final webpack user bundle.
250
+
251
+ function normalizeComponent(
252
+ scriptExports,
253
+ render,
254
+ staticRenderFns,
255
+ functionalTemplate,
256
+ injectStyles,
257
+ scopeId,
258
+ moduleIdentifier /* server only */,
259
+ shadowMode /* vue-cli only */
260
+ ) {
261
+ // Vue.extend constructor export interop
262
+ var options =
263
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
264
+
265
+ // render functions
266
+ if (render) {
267
+ options.render = render
268
+ options.staticRenderFns = staticRenderFns
269
+ options._compiled = true
270
+ }
271
+
272
+ // functional template
273
+ if (functionalTemplate) {
274
+ options.functional = true
275
+ }
276
+
277
+ // scopedId
278
+ if (scopeId) {
279
+ options._scopeId = 'data-v-' + scopeId
280
+ }
281
+
282
+ var hook
283
+ if (moduleIdentifier) {
284
+ // server build
285
+ hook = function (context) {
286
+ // 2.3 injection
287
+ context =
288
+ context || // cached call
289
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
290
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
291
+ // 2.2 with runInNewContext: true
292
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
293
+ context = __VUE_SSR_CONTEXT__
294
+ }
295
+ // inject component styles
296
+ if (injectStyles) {
297
+ injectStyles.call(this, context)
298
+ }
299
+ // register component module identifier for async chunk inferrence
300
+ if (context && context._registeredComponents) {
301
+ context._registeredComponents.add(moduleIdentifier)
302
+ }
303
+ }
304
+ // used by ssr in case component is cached and beforeCreate
305
+ // never gets called
306
+ options._ssrRegister = hook
307
+ } else if (injectStyles) {
308
+ hook = shadowMode
309
+ ? function () {
310
+ injectStyles.call(
311
+ this,
312
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
313
+ )
314
+ }
315
+ : injectStyles
316
+ }
317
+
318
+ if (hook) {
319
+ if (options.functional) {
320
+ // for template-only hot-reload because in that case the render fn doesn't
321
+ // go through the normalizer
322
+ options._injectStyles = hook
323
+ // register for functional component in vue file
324
+ var originalRender = options.render
325
+ options.render = function renderWithStyleInjection(h, context) {
326
+ hook.call(context)
327
+ return originalRender(h, context)
328
+ }
329
+ } else {
330
+ // inject component registration as beforeCreate hook
331
+ var existing = options.beforeCreate
332
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
333
+ }
334
+ }
335
+
336
+ return {
337
+ exports: scriptExports,
338
+ options: options
339
+ }
340
+ }
341
+
342
+
370
343
  /***/ })
371
344
 
372
345
  /******/ });