cy-element-ui 1.0.71 → 1.0.73

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 (113) hide show
  1. package/lib/alert.js +4 -4
  2. package/lib/aside.js +77 -77
  3. package/lib/autocomplete.js +3940 -159
  4. package/lib/avatar.js +108 -108
  5. package/lib/backtop.js +110 -110
  6. package/lib/badge.js +108 -108
  7. package/lib/breadcrumb-item.js +4 -4
  8. package/lib/breadcrumb.js +4 -4
  9. package/lib/button-group.js +4 -4
  10. package/lib/button.js +4 -4
  11. package/lib/calendar.js +1545 -46
  12. package/lib/card.js +96 -96
  13. package/lib/carousel-item.js +452 -108
  14. package/lib/carousel.js +185 -116
  15. package/lib/cascader-panel.js +2270 -187
  16. package/lib/cascader.js +6452 -275
  17. package/lib/checkbox-button.js +43 -11
  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 +3953 -153
  24. package/lib/container.js +88 -88
  25. package/lib/date-picker.js +5231 -420
  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 +43 -11
  33. package/lib/dropdown-menu.js +2274 -72
  34. package/lib/dropdown.js +1072 -136
  35. package/lib/element-ui.common.js +26229 -13291
  36. package/lib/empty.js +603 -7
  37. package/lib/fileUpload.js +2478 -110
  38. package/lib/footer.js +77 -77
  39. package/lib/form-item.js +418 -28
  40. package/lib/form.js +29 -15
  41. package/lib/header.js +77 -77
  42. package/lib/icon.js +4 -4
  43. package/lib/image.js +1376 -49
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +311 -21
  46. package/lib/input-number.js +1423 -34
  47. package/lib/input.js +507 -37
  48. package/lib/link.js +4 -4
  49. package/lib/loading.js +804 -67
  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 +4 -4
  54. package/lib/menu-item.js +2925 -41
  55. package/lib/menu.js +745 -54
  56. package/lib/message-box.js +2536 -79
  57. package/lib/message.js +1102 -24
  58. package/lib/mixins/locale.js +1 -1
  59. package/lib/mixins/migrating.js +1 -1
  60. package/lib/notification.js +1102 -25
  61. package/lib/option-group.js +43 -11
  62. package/lib/option.js +394 -18
  63. package/lib/page-header.js +683 -87
  64. package/lib/pagination.js +6078 -139
  65. package/lib/popconfirm.js +3508 -219
  66. package/lib/popover.js +2604 -79
  67. package/lib/progress.js +4 -4
  68. package/lib/radio-button.js +43 -11
  69. package/lib/radio-group.js +43 -11
  70. package/lib/radio.js +47 -15
  71. package/lib/rate.js +756 -113
  72. package/lib/result.js +4 -4
  73. package/lib/row.js +2 -2
  74. package/lib/scrollbar.js +735 -50
  75. package/lib/select.js +4352 -209
  76. package/lib/selectDisplayInput.js +108 -108
  77. package/lib/skeleton-item.js +2 -2
  78. package/lib/skeleton.js +108 -108
  79. package/lib/slider.js +4266 -120
  80. package/lib/spinner.js +4 -4
  81. package/lib/statistic.js +9605 -117
  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 +2444 -123
  86. package/lib/switch.js +476 -21
  87. package/lib/tab-pane.js +4 -4
  88. package/lib/tabDialog.js +1544 -18
  89. package/lib/table-column.js +881 -33
  90. package/lib/table.js +4469 -426
  91. package/lib/tabs.js +425 -12
  92. package/lib/tag.js +4 -4
  93. package/lib/theme-chalk/src/index.scss +0 -3
  94. package/lib/time-picker.js +5013 -285
  95. package/lib/time-select.js +4945 -177
  96. package/lib/timeline-item.js +108 -108
  97. package/lib/timeline.js +82 -82
  98. package/lib/tooltip.js +2566 -41
  99. package/lib/transfer.js +2135 -141
  100. package/lib/transitions/collapse-transition.js +1 -1
  101. package/lib/tree.js +1372 -55
  102. package/lib/treeSelect.js +3420 -105
  103. package/lib/upload.js +1047 -28
  104. package/lib/utils/clickoutside.js +1 -1
  105. package/lib/utils/date-util.js +2 -2
  106. package/lib/utils/popup/index.js +2 -2
  107. package/lib/utils/popup/popup-manager.js +1 -1
  108. package/lib/utils/util.js +1 -1
  109. package/lib/utils/vdom.js +1 -1
  110. package/lib/utils/vue-popper.js +1 -1
  111. package/package.json +1 -1
  112. package/packages/theme-chalk/src/index.scss +0 -3
  113. package/src/index.js +1 -1
@@ -2,9 +2,9 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
 
5
- var _dom = require('cy-element-ui/lib/utils/dom');
5
+ var _dom = require('../utils/dom');
6
6
 
7
- var _util = require('cy-element-ui/lib/utils/util');
7
+ var _util = require('../utils/util');
8
8
 
9
9
  exports.default = {
10
10
  bind: function bind(el, binding, vnode) {
package/lib/divider.js CHANGED
@@ -82,12 +82,114 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 127);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 116);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 0:
90
+ /***/ 116:
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/divider/src/main.vue?vue&type=template&id=5889ffb9&functional=true
98
+ var render = function render(_c, _vm) {
99
+ return _c(
100
+ "div",
101
+ _vm._g(
102
+ _vm._b(
103
+ {
104
+ class: [
105
+ _vm.data.staticClass,
106
+ "el-divider",
107
+ `el-divider--${_vm.props.direction}`,
108
+ ],
109
+ },
110
+ "div",
111
+ _vm.data.attrs,
112
+ false
113
+ ),
114
+ _vm.listeners
115
+ ),
116
+ [
117
+ _vm.slots().default && _vm.props.direction !== "vertical"
118
+ ? _c(
119
+ "div",
120
+ { class: ["el-divider__text", `is-${_vm.props.contentPosition}`] },
121
+ [_vm._t("default")],
122
+ 2
123
+ )
124
+ : _vm._e(),
125
+ ]
126
+ )
127
+ }
128
+ var staticRenderFns = []
129
+ render._withStripped = true
130
+
131
+
132
+ // CONCATENATED MODULE: ./packages/divider/src/main.vue?vue&type=template&id=5889ffb9&functional=true
133
+
134
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/divider/src/main.vue?vue&type=script&lang=js
135
+
136
+ /* harmony default export */ var mainvue_type_script_lang_js = ({
137
+ name: 'ElDivider',
138
+ props: {
139
+ direction: {
140
+ type: String,
141
+ default: 'horizontal',
142
+ validator: function validator(val) {
143
+ return ['horizontal', 'vertical'].indexOf(val) !== -1;
144
+ }
145
+ },
146
+ contentPosition: {
147
+ type: String,
148
+ default: 'center',
149
+ validator: function validator(val) {
150
+ return ['left', 'center', 'right'].indexOf(val) !== -1;
151
+ }
152
+ }
153
+ }
154
+ });
155
+ // CONCATENATED MODULE: ./packages/divider/src/main.vue?vue&type=script&lang=js
156
+ /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
157
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
158
+ var componentNormalizer = __webpack_require__(2);
159
+
160
+ // CONCATENATED MODULE: ./packages/divider/src/main.vue
161
+
162
+
163
+
164
+
165
+
166
+ /* normalize component */
167
+
168
+ var component = Object(componentNormalizer["a" /* default */])(
169
+ src_mainvue_type_script_lang_js,
170
+ render,
171
+ staticRenderFns,
172
+ true,
173
+ null,
174
+ null,
175
+ null
176
+
177
+ )
178
+
179
+ /* harmony default export */ var main = (component.exports);
180
+ // CONCATENATED MODULE: ./packages/divider/index.js
181
+
182
+
183
+ /* istanbul ignore next */
184
+ main.install = function (Vue) {
185
+ Vue.component(main.name, main);
186
+ };
187
+
188
+ /* harmony default export */ var divider = __webpack_exports__["default"] = (main);
189
+
190
+ /***/ }),
191
+
192
+ /***/ 2:
91
193
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
194
 
93
195
  "use strict";
@@ -190,108 +292,6 @@ function normalizeComponent(
190
292
  }
191
293
 
192
294
 
193
- /***/ }),
194
-
195
- /***/ 127:
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/divider/src/main.vue?vue&type=template&id=5889ffb9&functional=true
203
- var render = function render(_c, _vm) {
204
- return _c(
205
- "div",
206
- _vm._g(
207
- _vm._b(
208
- {
209
- class: [
210
- _vm.data.staticClass,
211
- "el-divider",
212
- `el-divider--${_vm.props.direction}`,
213
- ],
214
- },
215
- "div",
216
- _vm.data.attrs,
217
- false
218
- ),
219
- _vm.listeners
220
- ),
221
- [
222
- _vm.slots().default && _vm.props.direction !== "vertical"
223
- ? _c(
224
- "div",
225
- { class: ["el-divider__text", `is-${_vm.props.contentPosition}`] },
226
- [_vm._t("default")],
227
- 2
228
- )
229
- : _vm._e(),
230
- ]
231
- )
232
- }
233
- var staticRenderFns = []
234
- render._withStripped = true
235
-
236
-
237
- // CONCATENATED MODULE: ./packages/divider/src/main.vue?vue&type=template&id=5889ffb9&functional=true
238
-
239
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/divider/src/main.vue?vue&type=script&lang=js
240
-
241
- /* harmony default export */ var mainvue_type_script_lang_js = ({
242
- name: 'ElDivider',
243
- props: {
244
- direction: {
245
- type: String,
246
- default: 'horizontal',
247
- validator: function validator(val) {
248
- return ['horizontal', 'vertical'].indexOf(val) !== -1;
249
- }
250
- },
251
- contentPosition: {
252
- type: String,
253
- default: 'center',
254
- validator: function validator(val) {
255
- return ['left', 'center', 'right'].indexOf(val) !== -1;
256
- }
257
- }
258
- }
259
- });
260
- // CONCATENATED MODULE: ./packages/divider/src/main.vue?vue&type=script&lang=js
261
- /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
262
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
263
- var componentNormalizer = __webpack_require__(0);
264
-
265
- // CONCATENATED MODULE: ./packages/divider/src/main.vue
266
-
267
-
268
-
269
-
270
-
271
- /* normalize component */
272
-
273
- var component = Object(componentNormalizer["a" /* default */])(
274
- src_mainvue_type_script_lang_js,
275
- render,
276
- staticRenderFns,
277
- true,
278
- null,
279
- null,
280
- null
281
-
282
- )
283
-
284
- /* harmony default export */ var main = (component.exports);
285
- // CONCATENATED MODULE: ./packages/divider/index.js
286
-
287
-
288
- /* istanbul ignore next */
289
- main.install = function (Vue) {
290
- Vue.component(main.name, main);
291
- };
292
-
293
- /* harmony default export */ var divider = __webpack_exports__["default"] = (main);
294
-
295
295
  /***/ })
296
296
 
297
297
  /******/ });