cy-element-ui 1.0.55 → 1.0.57

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 (220) hide show
  1. package/lib/alert.js +108 -108
  2. package/lib/aside.js +77 -77
  3. package/lib/autocomplete.js +368 -5207
  4. package/lib/avatar.js +4 -4
  5. package/lib/backtop.js +101 -192
  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 +139 -1736
  12. package/lib/card.js +96 -96
  13. package/lib/carousel-item.js +110 -454
  14. package/lib/carousel.js +107 -1258
  15. package/lib/cascader-panel.js +196 -3529
  16. package/lib/cascader.js +711 -8071
  17. package/lib/checkbox-button.js +121 -153
  18. package/lib/checkbox-group.js +17 -49
  19. package/lib/checkbox.js +17 -49
  20. package/lib/col.js +2 -2
  21. package/lib/collapse-item.js +112 -817
  22. package/lib/collapse.js +108 -108
  23. package/lib/color-picker.js +846 -4723
  24. package/lib/container.js +88 -88
  25. package/lib/date-picker.js +4783 -10779
  26. package/lib/descriptions-item.js +2 -2
  27. package/lib/descriptions.js +8 -63
  28. package/lib/dialog.js +24 -1202
  29. package/lib/directives/repeat-click.js +2 -2
  30. package/lib/divider.js +104 -104
  31. package/lib/drawer.js +107 -877
  32. package/lib/dropdown-item.js +96 -128
  33. package/lib/dropdown-menu.js +101 -2303
  34. package/lib/dropdown.js +54 -990
  35. package/lib/element-ui.common.js +14292 -31369
  36. package/lib/empty.js +101 -795
  37. package/lib/fileUpload.js +27 -2543
  38. package/lib/footer.js +77 -77
  39. package/lib/form-item.js +206 -3309
  40. package/lib/form.js +117 -131
  41. package/lib/header.js +77 -77
  42. package/lib/icon.js +67 -67
  43. package/lib/image.js +155 -1671
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +26 -435
  46. package/lib/input-number.js +35 -1424
  47. package/lib/input.js +39 -511
  48. package/lib/link.js +4 -4
  49. package/lib/loading.js +149 -886
  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 +139 -3142
  55. package/lib/menu.js +280 -971
  56. package/lib/message-box.js +181 -2736
  57. package/lib/message.js +118 -1196
  58. package/lib/mixins/locale.js +1 -1
  59. package/lib/mixins/migrating.js +2 -2
  60. package/lib/notification.js +118 -1195
  61. package/lib/option-group.js +121 -153
  62. package/lib/option.js +18 -394
  63. package/lib/page-header.js +87 -781
  64. package/lib/pagination.js +642 -7743
  65. package/lib/popconfirm.js +219 -3606
  66. package/lib/popover.js +101 -2626
  67. package/lib/progress.js +4 -4
  68. package/lib/radio-button.js +121 -153
  69. package/lib/radio-group.js +121 -153
  70. package/lib/radio.js +17 -49
  71. package/lib/rate.js +115 -758
  72. package/lib/result.js +108 -108
  73. package/lib/row.js +2 -2
  74. package/lib/scrollbar.js +41 -1813
  75. package/lib/select.js +220 -5558
  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 +814 -5052
  80. package/lib/spinner.js +100 -100
  81. package/lib/statistic.js +114 -9602
  82. package/lib/step.js +108 -108
  83. package/lib/steps.js +99 -514
  84. package/lib/subTitle.js +91 -91
  85. package/lib/submenu.js +76 -2397
  86. package/lib/switch.js +129 -584
  87. package/lib/tab-pane.js +108 -108
  88. package/lib/tabDialog.js +106 -1632
  89. package/lib/table-column.js +267 -1115
  90. package/lib/table.js +1297 -7111
  91. package/lib/tabs.js +115 -1617
  92. package/lib/tag.js +4 -4
  93. package/lib/time-picker.js +599 -6491
  94. package/lib/time-select.js +409 -6336
  95. package/lib/timeline-item.js +108 -108
  96. package/lib/timeline.js +4 -4
  97. package/lib/tooltip.js +44 -2688
  98. package/lib/transfer.js +155 -2247
  99. package/lib/transitions/collapse-transition.js +1 -1
  100. package/lib/tree.js +157 -1572
  101. package/lib/treeSelect.js +108 -3423
  102. package/lib/upload.js +36 -1203
  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/packages/autocomplete/src/autocomplete-suggestions.vue +3 -3
  112. package/packages/autocomplete/src/autocomplete.vue +6 -6
  113. package/packages/calendar/src/date-table.vue +2 -2
  114. package/packages/calendar/src/main.vue +5 -5
  115. package/packages/carousel/src/item.vue +1 -1
  116. package/packages/carousel/src/main.vue +1 -1
  117. package/packages/cascader/src/cascader.vue +15 -15
  118. package/packages/cascader-panel/src/cascader-menu.vue +3 -3
  119. package/packages/cascader-panel/src/cascader-node.vue +3 -3
  120. package/packages/cascader-panel/src/cascader-panel.vue +4 -4
  121. package/packages/cascader-panel/src/node.js +3 -3
  122. package/packages/cascader-panel/src/store.js +2 -2
  123. package/packages/checkbox/src/checkbox-button.vue +1 -1
  124. package/packages/checkbox/src/checkbox-group.vue +1 -1
  125. package/packages/checkbox/src/checkbox.vue +1 -1
  126. package/packages/collapse/src/collapse-item.vue +3 -3
  127. package/packages/color-picker/src/components/picker-dropdown.vue +4 -4
  128. package/packages/color-picker/src/main.vue +2 -2
  129. package/packages/date-picker/src/basic/date-table.vue +3 -3
  130. package/packages/date-picker/src/basic/month-table.vue +5 -5
  131. package/packages/date-picker/src/basic/time-spinner.vue +3 -3
  132. package/packages/date-picker/src/basic/year-table.vue +3 -3
  133. package/packages/date-picker/src/panel/date-range.vue +5 -5
  134. package/packages/date-picker/src/panel/date.vue +5 -5
  135. package/packages/date-picker/src/panel/month-range.vue +5 -5
  136. package/packages/date-picker/src/panel/time-range.vue +2 -2
  137. package/packages/date-picker/src/panel/time-select.vue +2 -2
  138. package/packages/date-picker/src/panel/time.vue +2 -2
  139. package/packages/date-picker/src/picker.vue +6 -6
  140. package/packages/descriptions/src/index.js +1 -1
  141. package/packages/dialog/src/component.vue +3 -3
  142. package/packages/drawer/src/main.vue +2 -2
  143. package/packages/dropdown/src/dropdown-item.vue +1 -1
  144. package/packages/dropdown/src/dropdown-menu.vue +1 -1
  145. package/packages/dropdown/src/dropdown.vue +6 -6
  146. package/packages/empty/src/index.vue +1 -1
  147. package/packages/fileUpload/src/main.vue +3 -3
  148. package/packages/form/src/form-item.vue +3 -3
  149. package/packages/form/src/form.vue +1 -1
  150. package/packages/image/src/image-viewer.vue +3 -3
  151. package/packages/image/src/main.vue +3 -3
  152. package/packages/infinite-scroll/src/main.js +3 -3
  153. package/packages/input/src/input.vue +4 -4
  154. package/packages/input-number/src/input-number.vue +3 -3
  155. package/packages/loading/src/directive.js +3 -3
  156. package/packages/loading/src/index.js +4 -4
  157. package/packages/menu/src/menu-item.vue +2 -2
  158. package/packages/menu/src/menu.vue +4 -4
  159. package/packages/menu/src/submenu.vue +4 -4
  160. package/packages/message/src/main.js +3 -3
  161. package/packages/message-box/src/main.js +2 -2
  162. package/packages/message-box/src/main.vue +7 -7
  163. package/packages/notification/src/main.js +3 -3
  164. package/packages/page-header/src/main.vue +1 -1
  165. package/packages/pagination/src/pagination.js +5 -5
  166. package/packages/popconfirm/src/main.vue +3 -3
  167. package/packages/popover/src/main.vue +4 -4
  168. package/packages/radio/src/radio-button.vue +1 -1
  169. package/packages/radio/src/radio-group.vue +1 -1
  170. package/packages/radio/src/radio.vue +1 -1
  171. package/packages/rate/src/main.vue +3 -3
  172. package/packages/scrollbar/src/bar.js +1 -1
  173. package/packages/scrollbar/src/main.js +3 -3
  174. package/packages/select/src/option-group.vue +1 -1
  175. package/packages/select/src/option.vue +2 -2
  176. package/packages/select/src/select-dropdown.vue +1 -1
  177. package/packages/select/src/select.vue +11 -11
  178. package/packages/slider/src/button.vue +1 -1
  179. package/packages/slider/src/main.vue +2 -2
  180. package/packages/statistic/src/main.vue +2 -2
  181. package/packages/steps/src/steps.vue +1 -1
  182. package/packages/switch/src/component.vue +3 -3
  183. package/packages/tabDialog/src/main.vue +1 -1
  184. package/packages/table/src/config.js +1 -1
  185. package/packages/table/src/filter-panel.vue +7 -7
  186. package/packages/table/src/store/current.js +1 -1
  187. package/packages/table/src/store/index.js +1 -1
  188. package/packages/table/src/store/watcher.js +1 -1
  189. package/packages/table/src/table-body.js +4 -4
  190. package/packages/table/src/table-column.js +1 -1
  191. package/packages/table/src/table-header.js +2 -2
  192. package/packages/table/src/table-layout.js +1 -1
  193. package/packages/table/src/table-row.js +1 -1
  194. package/packages/table/src/table.vue +5 -5
  195. package/packages/table/src/util.js +1 -1
  196. package/packages/tabs/src/tab-bar.vue +1 -1
  197. package/packages/tabs/src/tab-nav.vue +1 -1
  198. package/packages/tooltip/src/main.js +3 -3
  199. package/packages/transfer/src/main.vue +4 -4
  200. package/packages/transfer/src/transfer-panel.vue +4 -4
  201. package/packages/tree/src/model/node.js +2 -2
  202. package/packages/tree/src/tree-node.vue +3 -3
  203. package/packages/tree/src/tree.vue +3 -3
  204. package/packages/treeSelect/src/main.vue +2 -2
  205. package/packages/upload/src/index.vue +2 -2
  206. package/packages/upload/src/upload-list.vue +2 -2
  207. package/src/directives/repeat-click.js +2 -2
  208. package/src/index.js +1 -1
  209. package/src/locale/format.js +2 -2
  210. package/src/locale/index.js +1 -1
  211. package/src/mixins/locale.js +1 -1
  212. package/src/mixins/migrating.js +2 -2
  213. package/src/transitions/collapse-transition.js +1 -1
  214. package/src/utils/clickoutside.js +1 -1
  215. package/src/utils/date-util.js +2 -2
  216. package/src/utils/popup/index.js +2 -2
  217. package/src/utils/popup/popup-manager.js +1 -1
  218. package/src/utils/util.js +1 -1
  219. package/src/utils/vdom.js +1 -1
  220. package/src/utils/vue-popper.js +1 -1
@@ -82,19 +82,131 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 167);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 99);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 167:
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
+ /***/ 4:
196
+ /***/ (function(module, exports) {
197
+
198
+ module.exports = require("cy-element-ui/lib/mixins/emitter");
199
+
200
+ /***/ }),
201
+
202
+ /***/ 99:
91
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
204
 
93
205
  "use strict";
94
206
  // ESM COMPAT FLAG
95
207
  __webpack_require__.r(__webpack_exports__);
96
208
 
97
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option-group.vue?vue&type=template&id=6dfe7309
209
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option-group.vue?vue&type=template&id=ca536c74
98
210
  var render = function render() {
99
211
  var _vm = this,
100
212
  _c = _vm._self._c
@@ -125,17 +237,18 @@ var staticRenderFns = []
125
237
  render._withStripped = true
126
238
 
127
239
 
128
- // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=template&id=6dfe7309
240
+ // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=template&id=ca536c74
129
241
 
130
- // EXTERNAL MODULE: ./src/mixins/emitter.js
131
- var emitter = __webpack_require__(6);
242
+ // EXTERNAL MODULE: external "cy-element-ui/lib/mixins/emitter"
243
+ var emitter_ = __webpack_require__(4);
244
+ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
132
245
 
133
246
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option-group.vue?vue&type=script&lang=js
134
247
 
135
248
 
136
249
 
137
250
  /* harmony default export */ var option_groupvue_type_script_lang_js = ({
138
- mixins: [emitter["a" /* default */]],
251
+ mixins: [emitter_default.a],
139
252
 
140
253
  name: 'ElOptionGroup',
141
254
 
@@ -182,7 +295,7 @@ var emitter = __webpack_require__(6);
182
295
  // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=script&lang=js
183
296
  /* harmony default export */ var src_option_groupvue_type_script_lang_js = (option_groupvue_type_script_lang_js);
184
297
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
185
- var componentNormalizer = __webpack_require__(2);
298
+ var componentNormalizer = __webpack_require__(0);
186
299
 
187
300
  // CONCATENATED MODULE: ./packages/select/src/option-group.vue
188
301
 
@@ -214,151 +327,6 @@ option_group.install = function (Vue) {
214
327
 
215
328
  /* harmony default export */ var packages_option_group = __webpack_exports__["default"] = (option_group);
216
329
 
217
- /***/ }),
218
-
219
- /***/ 2:
220
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
221
-
222
- "use strict";
223
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
224
- /* globals __VUE_SSR_CONTEXT__ */
225
-
226
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
227
- // This module is a runtime utility for cleaner component module output and will
228
- // be included in the final webpack user bundle.
229
-
230
- function normalizeComponent(
231
- scriptExports,
232
- render,
233
- staticRenderFns,
234
- functionalTemplate,
235
- injectStyles,
236
- scopeId,
237
- moduleIdentifier /* server only */,
238
- shadowMode /* vue-cli only */
239
- ) {
240
- // Vue.extend constructor export interop
241
- var options =
242
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
243
-
244
- // render functions
245
- if (render) {
246
- options.render = render
247
- options.staticRenderFns = staticRenderFns
248
- options._compiled = true
249
- }
250
-
251
- // functional template
252
- if (functionalTemplate) {
253
- options.functional = true
254
- }
255
-
256
- // scopedId
257
- if (scopeId) {
258
- options._scopeId = 'data-v-' + scopeId
259
- }
260
-
261
- var hook
262
- if (moduleIdentifier) {
263
- // server build
264
- hook = function (context) {
265
- // 2.3 injection
266
- context =
267
- context || // cached call
268
- (this.$vnode && this.$vnode.ssrContext) || // stateful
269
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
270
- // 2.2 with runInNewContext: true
271
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
272
- context = __VUE_SSR_CONTEXT__
273
- }
274
- // inject component styles
275
- if (injectStyles) {
276
- injectStyles.call(this, context)
277
- }
278
- // register component module identifier for async chunk inferrence
279
- if (context && context._registeredComponents) {
280
- context._registeredComponents.add(moduleIdentifier)
281
- }
282
- }
283
- // used by ssr in case component is cached and beforeCreate
284
- // never gets called
285
- options._ssrRegister = hook
286
- } else if (injectStyles) {
287
- hook = shadowMode
288
- ? function () {
289
- injectStyles.call(
290
- this,
291
- (options.functional ? this.parent : this).$root.$options.shadowRoot
292
- )
293
- }
294
- : injectStyles
295
- }
296
-
297
- if (hook) {
298
- if (options.functional) {
299
- // for template-only hot-reload because in that case the render fn doesn't
300
- // go through the normalizer
301
- options._injectStyles = hook
302
- // register for functional component in vue file
303
- var originalRender = options.render
304
- options.render = function renderWithStyleInjection(h, context) {
305
- hook.call(context)
306
- return originalRender(h, context)
307
- }
308
- } else {
309
- // inject component registration as beforeCreate hook
310
- var existing = options.beforeCreate
311
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
312
- }
313
- }
314
-
315
- return {
316
- exports: scriptExports,
317
- options: options
318
- }
319
- }
320
-
321
-
322
- /***/ }),
323
-
324
- /***/ 6:
325
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
326
-
327
- "use strict";
328
- function _broadcast(componentName, eventName, params) {
329
- this.$children.forEach(function (child) {
330
- var name = child.$options.componentName;
331
-
332
- if (name === componentName) {
333
- child.$emit.apply(child, [eventName].concat(params));
334
- } else {
335
- _broadcast.apply(child, [componentName, eventName].concat([params]));
336
- }
337
- });
338
- }
339
- /* harmony default export */ __webpack_exports__["a"] = ({
340
- methods: {
341
- dispatch: function dispatch(componentName, eventName, params) {
342
- var parent = this.$parent || this.$root;
343
- var name = parent.$options.componentName;
344
-
345
- while (parent && (!name || name !== componentName)) {
346
- parent = parent.$parent;
347
-
348
- if (parent) {
349
- name = parent.$options.componentName;
350
- }
351
- }
352
- if (parent) {
353
- parent.$emit.apply(parent, [eventName].concat(params));
354
- }
355
- },
356
- broadcast: function broadcast(componentName, eventName, params) {
357
- _broadcast.call(this, componentName, eventName, params);
358
- }
359
- }
360
- });
361
-
362
330
  /***/ })
363
331
 
364
332
  /******/ });