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,128 +82,22 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 125);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 117);
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
- /***/ 125:
90
+ /***/ 117:
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/timeline/src/item.vue?vue&type=template&id=7086b579
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/timeline/src/item.vue?vue&type=template&id=7086b579
98
+ var render = function render() {
99
+ var _vm = this,
100
+ _c = _vm._self._c
207
101
  return _c("li", { staticClass: "el-timeline-item" }, [
208
102
  _c("div", { staticClass: "el-timeline-item__tail" }),
209
103
  !_vm.$slots.dot
@@ -212,8 +106,8 @@ var render = function () {
212
106
  {
213
107
  staticClass: "el-timeline-item__node",
214
108
  class: [
215
- "el-timeline-item__node--" + (_vm.size || ""),
216
- "el-timeline-item__node--" + (_vm.type || ""),
109
+ `el-timeline-item__node--${_vm.size || ""}`,
110
+ `el-timeline-item__node--${_vm.type || ""}`,
217
111
  ],
218
112
  style: {
219
113
  backgroundColor: _vm.color,
@@ -259,47 +153,6 @@ render._withStripped = true
259
153
  // CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=template&id=7086b579
260
154
 
261
155
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/item.vue?vue&type=script&lang=js
262
- //
263
- //
264
- //
265
- //
266
- //
267
- //
268
- //
269
- //
270
- //
271
- //
272
- //
273
- //
274
- //
275
- //
276
- //
277
- //
278
- //
279
- //
280
- //
281
- //
282
- //
283
- //
284
- //
285
- //
286
- //
287
- //
288
- //
289
- //
290
- //
291
- //
292
- //
293
- //
294
- //
295
- //
296
- //
297
- //
298
- //
299
- //
300
- //
301
- //
302
- //
303
156
 
304
157
  /* harmony default export */ var itemvue_type_script_lang_js = ({
305
158
  name: 'ElTimelineItem',
@@ -334,7 +187,7 @@ render._withStripped = true
334
187
  // CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=script&lang=js
335
188
  /* harmony default export */ var src_itemvue_type_script_lang_js = (itemvue_type_script_lang_js);
336
189
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
337
- var componentNormalizer = __webpack_require__(0);
190
+ var componentNormalizer = __webpack_require__(2);
338
191
 
339
192
  // CONCATENATED MODULE: ./packages/timeline/src/item.vue
340
193
 
@@ -366,6 +219,111 @@ item.install = function (Vue) {
366
219
 
367
220
  /* harmony default export */ var timeline_item = __webpack_exports__["default"] = (item);
368
221
 
222
+ /***/ }),
223
+
224
+ /***/ 2:
225
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
226
+
227
+ "use strict";
228
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
229
+ /* globals __VUE_SSR_CONTEXT__ */
230
+
231
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
232
+ // This module is a runtime utility for cleaner component module output and will
233
+ // be included in the final webpack user bundle.
234
+
235
+ function normalizeComponent(
236
+ scriptExports,
237
+ render,
238
+ staticRenderFns,
239
+ functionalTemplate,
240
+ injectStyles,
241
+ scopeId,
242
+ moduleIdentifier /* server only */,
243
+ shadowMode /* vue-cli only */
244
+ ) {
245
+ // Vue.extend constructor export interop
246
+ var options =
247
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
248
+
249
+ // render functions
250
+ if (render) {
251
+ options.render = render
252
+ options.staticRenderFns = staticRenderFns
253
+ options._compiled = true
254
+ }
255
+
256
+ // functional template
257
+ if (functionalTemplate) {
258
+ options.functional = true
259
+ }
260
+
261
+ // scopedId
262
+ if (scopeId) {
263
+ options._scopeId = 'data-v-' + scopeId
264
+ }
265
+
266
+ var hook
267
+ if (moduleIdentifier) {
268
+ // server build
269
+ hook = function (context) {
270
+ // 2.3 injection
271
+ context =
272
+ context || // cached call
273
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
274
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
275
+ // 2.2 with runInNewContext: true
276
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
277
+ context = __VUE_SSR_CONTEXT__
278
+ }
279
+ // inject component styles
280
+ if (injectStyles) {
281
+ injectStyles.call(this, context)
282
+ }
283
+ // register component module identifier for async chunk inferrence
284
+ if (context && context._registeredComponents) {
285
+ context._registeredComponents.add(moduleIdentifier)
286
+ }
287
+ }
288
+ // used by ssr in case component is cached and beforeCreate
289
+ // never gets called
290
+ options._ssrRegister = hook
291
+ } else if (injectStyles) {
292
+ hook = shadowMode
293
+ ? function () {
294
+ injectStyles.call(
295
+ this,
296
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
297
+ )
298
+ }
299
+ : injectStyles
300
+ }
301
+
302
+ if (hook) {
303
+ if (options.functional) {
304
+ // for template-only hot-reload because in that case the render fn doesn't
305
+ // go through the normalizer
306
+ options._injectStyles = hook
307
+ // register for functional component in vue file
308
+ var originalRender = options.render
309
+ options.render = function renderWithStyleInjection(h, context) {
310
+ hook.call(context)
311
+ return originalRender(h, context)
312
+ }
313
+ } else {
314
+ // inject component registration as beforeCreate hook
315
+ var existing = options.beforeCreate
316
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
317
+ }
318
+ }
319
+
320
+ return {
321
+ exports: scriptExports,
322
+ options: options
323
+ }
324
+ }
325
+
326
+
369
327
  /***/ })
370
328
 
371
329
  /******/ });
package/lib/timeline.js CHANGED
@@ -82,12 +82,92 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 141);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 130);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 0:
90
+ /***/ 130:
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/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/main.vue?vue&type=script&lang=js
98
+
99
+ /* harmony default export */ var mainvue_type_script_lang_js = ({
100
+ name: 'ElTimeline',
101
+
102
+ props: {
103
+ reverse: {
104
+ type: Boolean,
105
+ default: false
106
+ }
107
+ },
108
+
109
+ provide: function provide() {
110
+ return {
111
+ timeline: this
112
+ };
113
+ },
114
+ render: function render() {
115
+ var h = arguments[0];
116
+
117
+ var reverse = this.reverse;
118
+ var classes = {
119
+ 'el-timeline': true,
120
+ 'is-reverse': reverse
121
+ };
122
+ var slots = this.$slots.default || [];
123
+ if (reverse) {
124
+ slots = slots.reverse();
125
+ }
126
+ return h(
127
+ 'ul',
128
+ { 'class': classes },
129
+ [slots]
130
+ );
131
+ }
132
+ });
133
+ // CONCATENATED MODULE: ./packages/timeline/src/main.vue?vue&type=script&lang=js
134
+ /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
135
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
136
+ var componentNormalizer = __webpack_require__(2);
137
+
138
+ // CONCATENATED MODULE: ./packages/timeline/src/main.vue
139
+ var render, staticRenderFns
140
+
141
+
142
+
143
+
144
+ /* normalize component */
145
+
146
+ var component = Object(componentNormalizer["a" /* default */])(
147
+ src_mainvue_type_script_lang_js,
148
+ render,
149
+ staticRenderFns,
150
+ false,
151
+ null,
152
+ null,
153
+ null
154
+
155
+ )
156
+
157
+ /* harmony default export */ var main = (component.exports);
158
+ // CONCATENATED MODULE: ./packages/timeline/index.js
159
+
160
+
161
+ /* istanbul ignore next */
162
+ main.install = function (Vue) {
163
+ Vue.component(main.name, main);
164
+ };
165
+
166
+ /* harmony default export */ var timeline = __webpack_exports__["default"] = (main);
167
+
168
+ /***/ }),
169
+
170
+ /***/ 2:
91
171
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
172
 
93
173
  "use strict";
@@ -190,86 +270,6 @@ function normalizeComponent(
190
270
  }
191
271
 
192
272
 
193
- /***/ }),
194
-
195
- /***/ 141:
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/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/main.vue?vue&type=script&lang=js
203
-
204
- /* harmony default export */ var mainvue_type_script_lang_js = ({
205
- name: 'ElTimeline',
206
-
207
- props: {
208
- reverse: {
209
- type: Boolean,
210
- default: false
211
- }
212
- },
213
-
214
- provide: function provide() {
215
- return {
216
- timeline: this
217
- };
218
- },
219
- render: function render() {
220
- var h = arguments[0];
221
-
222
- var reverse = this.reverse;
223
- var classes = {
224
- 'el-timeline': true,
225
- 'is-reverse': reverse
226
- };
227
- var slots = this.$slots.default || [];
228
- if (reverse) {
229
- slots = slots.reverse();
230
- }
231
- return h(
232
- 'ul',
233
- { 'class': classes },
234
- [slots]
235
- );
236
- }
237
- });
238
- // CONCATENATED MODULE: ./packages/timeline/src/main.vue?vue&type=script&lang=js
239
- /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
240
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
241
- var componentNormalizer = __webpack_require__(0);
242
-
243
- // CONCATENATED MODULE: ./packages/timeline/src/main.vue
244
- var render, staticRenderFns
245
-
246
-
247
-
248
-
249
- /* normalize component */
250
-
251
- var component = Object(componentNormalizer["a" /* default */])(
252
- src_mainvue_type_script_lang_js,
253
- render,
254
- staticRenderFns,
255
- false,
256
- null,
257
- null,
258
- null
259
-
260
- )
261
-
262
- /* harmony default export */ var main = (component.exports);
263
- // CONCATENATED MODULE: ./packages/timeline/index.js
264
-
265
-
266
- /* istanbul ignore next */
267
- main.install = function (Vue) {
268
- Vue.component(main.name, main);
269
- };
270
-
271
- /* harmony default export */ var timeline = __webpack_exports__["default"] = (main);
272
-
273
273
  /***/ })
274
274
 
275
275
  /******/ });