cy-element-ui 1.0.62 → 1.0.63

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 (216) hide show
  1. package/lib/alert.js +4 -4
  2. package/lib/aside.js +77 -77
  3. package/lib/autocomplete.js +159 -3940
  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 +46 -1545
  12. package/lib/card.js +96 -96
  13. package/lib/carousel-item.js +108 -452
  14. package/lib/carousel.js +116 -185
  15. package/lib/cascader-panel.js +187 -2270
  16. package/lib/cascader.js +275 -6452
  17. package/lib/checkbox-button.js +11 -43
  18. package/lib/checkbox-group.js +15 -47
  19. package/lib/checkbox.js +15 -47
  20. package/lib/col.js +2 -2
  21. package/lib/collapse-item.js +110 -815
  22. package/lib/collapse.js +108 -108
  23. package/lib/color-picker.js +153 -3953
  24. package/lib/container.js +88 -88
  25. package/lib/date-picker.js +419 -5230
  26. package/lib/descriptions-item.js +2 -2
  27. package/lib/descriptions.js +8 -63
  28. package/lib/dialog.js +22 -1200
  29. package/lib/directives/repeat-click.js +2 -2
  30. package/lib/divider.js +104 -104
  31. package/lib/drawer.js +105 -875
  32. package/lib/dropdown-item.js +11 -43
  33. package/lib/dropdown-menu.js +75 -2277
  34. package/lib/dropdown.js +136 -1072
  35. package/lib/element-ui.common.js +29785 -42723
  36. package/lib/empty.js +7 -603
  37. package/lib/fileUpload.js +109 -2477
  38. package/lib/footer.js +77 -77
  39. package/lib/form-item.js +28 -418
  40. package/lib/form.js +15 -29
  41. package/lib/header.js +77 -77
  42. package/lib/icon.js +4 -4
  43. package/lib/image.js +49 -1376
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +21 -311
  46. package/lib/input-number.js +33 -1422
  47. package/lib/input.js +37 -507
  48. package/lib/link.js +4 -4
  49. package/lib/loading.js +67 -804
  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 +61 -2945
  55. package/lib/menu.js +54 -745
  56. package/lib/message-box.js +80 -2537
  57. package/lib/message.js +24 -1102
  58. package/lib/mixins/locale.js +1 -1
  59. package/lib/mixins/migrating.js +1 -1
  60. package/lib/notification.js +25 -1102
  61. package/lib/option-group.js +11 -43
  62. package/lib/option.js +18 -394
  63. package/lib/page-header.js +87 -683
  64. package/lib/pagination.js +139 -6078
  65. package/lib/popconfirm.js +219 -3508
  66. package/lib/popover.js +99 -2624
  67. package/lib/progress.js +4 -4
  68. package/lib/radio-button.js +11 -43
  69. package/lib/radio-group.js +11 -43
  70. package/lib/radio.js +15 -47
  71. package/lib/rate.js +113 -756
  72. package/lib/result.js +4 -4
  73. package/lib/row.js +2 -2
  74. package/lib/scrollbar.js +50 -735
  75. package/lib/select.js +209 -4352
  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 +120 -4266
  80. package/lib/spinner.js +4 -4
  81. package/lib/statistic.js +117 -9605
  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 +121 -2442
  86. package/lib/switch.js +21 -476
  87. package/lib/tab-pane.js +4 -4
  88. package/lib/tabDialog.js +37 -1563
  89. package/lib/table-column.js +32 -880
  90. package/lib/table.js +424 -4467
  91. package/lib/tabs.js +12 -425
  92. package/lib/tag.js +4 -4
  93. package/lib/theme-chalk/base.css +1 -1
  94. package/lib/theme-chalk/element.css +1 -1
  95. package/lib/theme-chalk/fileUpload.css +1 -1
  96. package/lib/theme-chalk/index.css +1 -1
  97. package/lib/theme-chalk/selectDisplayInput.css +1 -1
  98. package/lib/theme-chalk/subTitle.css +1 -1
  99. package/lib/theme-chalk/tabDialog.css +1 -1
  100. package/lib/theme-chalk/treeSelect.css +1 -1
  101. package/lib/time-picker.js +285 -5013
  102. package/lib/time-select.js +181 -4949
  103. package/lib/timeline-item.js +108 -108
  104. package/lib/timeline.js +82 -82
  105. package/lib/tooltip.js +41 -2566
  106. package/lib/transfer.js +142 -2136
  107. package/lib/transitions/collapse-transition.js +1 -1
  108. package/lib/tree.js +55 -1372
  109. package/lib/treeSelect.js +106 -3421
  110. package/lib/upload.js +28 -1047
  111. package/lib/utils/clickoutside.js +1 -1
  112. package/lib/utils/date-util.js +2 -2
  113. package/lib/utils/popup/index.js +2 -2
  114. package/lib/utils/popup/popup-manager.js +1 -1
  115. package/lib/utils/util.js +1 -1
  116. package/lib/utils/vdom.js +1 -1
  117. package/lib/utils/vue-popper.js +1 -1
  118. package/package.json +2 -2
  119. package/src/index.js +1 -1
  120. package/lib/theme-chalk/alert.css +0 -1
  121. package/lib/theme-chalk/aside.css +0 -1
  122. package/lib/theme-chalk/autocomplete.css +0 -1
  123. package/lib/theme-chalk/avatar.css +0 -1
  124. package/lib/theme-chalk/backtop.css +0 -1
  125. package/lib/theme-chalk/badge.css +0 -1
  126. package/lib/theme-chalk/breadcrumb-item.css +0 -0
  127. package/lib/theme-chalk/breadcrumb.css +0 -1
  128. package/lib/theme-chalk/button-group.css +0 -0
  129. package/lib/theme-chalk/button.css +0 -1
  130. package/lib/theme-chalk/calendar.css +0 -1
  131. package/lib/theme-chalk/card.css +0 -1
  132. package/lib/theme-chalk/carousel-item.css +0 -1
  133. package/lib/theme-chalk/carousel.css +0 -1
  134. package/lib/theme-chalk/cascader-panel.css +0 -1
  135. package/lib/theme-chalk/cascader.css +0 -1
  136. package/lib/theme-chalk/checkbox-button.css +0 -0
  137. package/lib/theme-chalk/checkbox-group.css +0 -0
  138. package/lib/theme-chalk/checkbox.css +0 -1
  139. package/lib/theme-chalk/col.css +0 -1
  140. package/lib/theme-chalk/collapse-item.css +0 -0
  141. package/lib/theme-chalk/collapse.css +0 -1
  142. package/lib/theme-chalk/color-picker.css +0 -1
  143. package/lib/theme-chalk/container.css +0 -1
  144. package/lib/theme-chalk/date-picker.css +0 -1
  145. package/lib/theme-chalk/descriptions-item.css +0 -1
  146. package/lib/theme-chalk/descriptions.css +0 -1
  147. package/lib/theme-chalk/dialog.css +0 -1
  148. package/lib/theme-chalk/display.css +0 -1
  149. package/lib/theme-chalk/divider.css +0 -1
  150. package/lib/theme-chalk/drawer.css +0 -1
  151. package/lib/theme-chalk/dropdown-item.css +0 -0
  152. package/lib/theme-chalk/dropdown-menu.css +0 -0
  153. package/lib/theme-chalk/dropdown.css +0 -1
  154. package/lib/theme-chalk/empty.css +0 -1
  155. package/lib/theme-chalk/fonts/element-icons.ttf +0 -0
  156. package/lib/theme-chalk/fonts/element-icons.woff +0 -0
  157. package/lib/theme-chalk/footer.css +0 -1
  158. package/lib/theme-chalk/form-item.css +0 -0
  159. package/lib/theme-chalk/form.css +0 -1
  160. package/lib/theme-chalk/header.css +0 -1
  161. package/lib/theme-chalk/icon.css +0 -1
  162. package/lib/theme-chalk/image.css +0 -1
  163. package/lib/theme-chalk/index.scss +0 -1
  164. package/lib/theme-chalk/infinite-scroll.css +0 -0
  165. package/lib/theme-chalk/infiniteScroll.css +0 -0
  166. package/lib/theme-chalk/input-number.css +0 -1
  167. package/lib/theme-chalk/input.css +0 -1
  168. package/lib/theme-chalk/link.css +0 -1
  169. package/lib/theme-chalk/loading.css +0 -1
  170. package/lib/theme-chalk/main.css +0 -1
  171. package/lib/theme-chalk/menu-item-group.css +0 -0
  172. package/lib/theme-chalk/menu-item.css +0 -0
  173. package/lib/theme-chalk/menu.css +0 -1
  174. package/lib/theme-chalk/message-box.css +0 -1
  175. package/lib/theme-chalk/message.css +0 -1
  176. package/lib/theme-chalk/notification.css +0 -1
  177. package/lib/theme-chalk/option-group.css +0 -1
  178. package/lib/theme-chalk/option.css +0 -1
  179. package/lib/theme-chalk/page-header.css +0 -1
  180. package/lib/theme-chalk/pagination.css +0 -1
  181. package/lib/theme-chalk/popconfirm.css +0 -1
  182. package/lib/theme-chalk/popover.css +0 -1
  183. package/lib/theme-chalk/popper.css +0 -1
  184. package/lib/theme-chalk/progress.css +0 -1
  185. package/lib/theme-chalk/radio-button.css +0 -1
  186. package/lib/theme-chalk/radio-group.css +0 -1
  187. package/lib/theme-chalk/radio.css +0 -1
  188. package/lib/theme-chalk/rate.css +0 -1
  189. package/lib/theme-chalk/reset.css +0 -1
  190. package/lib/theme-chalk/result.css +0 -1
  191. package/lib/theme-chalk/row.css +0 -1
  192. package/lib/theme-chalk/scrollbar.css +0 -1
  193. package/lib/theme-chalk/select-dropdown.css +0 -1
  194. package/lib/theme-chalk/select.css +0 -1
  195. package/lib/theme-chalk/skeleton-item.css +0 -1
  196. package/lib/theme-chalk/skeleton.css +0 -1
  197. package/lib/theme-chalk/slider.css +0 -1
  198. package/lib/theme-chalk/spinner.css +0 -1
  199. package/lib/theme-chalk/statistic.css +0 -1
  200. package/lib/theme-chalk/step.css +0 -1
  201. package/lib/theme-chalk/steps.css +0 -1
  202. package/lib/theme-chalk/submenu.css +0 -0
  203. package/lib/theme-chalk/switch.css +0 -1
  204. package/lib/theme-chalk/tab-pane.css +0 -0
  205. package/lib/theme-chalk/table-column.css +0 -1
  206. package/lib/theme-chalk/table.css +0 -1
  207. package/lib/theme-chalk/tabs.css +0 -1
  208. package/lib/theme-chalk/tag.css +0 -1
  209. package/lib/theme-chalk/time-picker.css +0 -1
  210. package/lib/theme-chalk/time-select.css +0 -1
  211. package/lib/theme-chalk/timeline-item.css +0 -1
  212. package/lib/theme-chalk/timeline.css +0 -1
  213. package/lib/theme-chalk/tooltip.css +0 -1
  214. package/lib/theme-chalk/transfer.css +0 -1
  215. package/lib/theme-chalk/tree.css +0 -1
  216. package/lib/theme-chalk/upload.css +0 -1
@@ -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 = 92);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 99);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 2:
90
+ /***/ 0:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -192,47 +192,14 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 6:
196
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
195
+ /***/ 4:
196
+ /***/ (function(module, exports) {
197
197
 
198
- "use strict";
199
- function _broadcast(componentName, eventName, params) {
200
- this.$children.forEach(function (child) {
201
- var name = child.$options.componentName;
202
-
203
- if (name === componentName) {
204
- child.$emit.apply(child, [eventName].concat(params));
205
- } else {
206
- _broadcast.apply(child, [componentName, eventName].concat([params]));
207
- }
208
- });
209
- }
210
- /* harmony default export */ __webpack_exports__["a"] = ({
211
- methods: {
212
- dispatch: function dispatch(componentName, eventName, params) {
213
- var parent = this.$parent || this.$root;
214
- var name = parent.$options.componentName;
215
-
216
- while (parent && (!name || name !== componentName)) {
217
- parent = parent.$parent;
218
-
219
- if (parent) {
220
- name = parent.$options.componentName;
221
- }
222
- }
223
- if (parent) {
224
- parent.$emit.apply(parent, [eventName].concat(params));
225
- }
226
- },
227
- broadcast: function broadcast(componentName, eventName, params) {
228
- _broadcast.call(this, componentName, eventName, params);
229
- }
230
- }
231
- });
198
+ module.exports = require("cy-element-ui/lib/mixins/emitter");
232
199
 
233
200
  /***/ }),
234
201
 
235
- /***/ 92:
202
+ /***/ 99:
236
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
237
204
 
238
205
  "use strict";
@@ -272,15 +239,16 @@ render._withStripped = true
272
239
 
273
240
  // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=template&id=6dfe7309
274
241
 
275
- // EXTERNAL MODULE: ./src/mixins/emitter.js
276
- 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_);
277
245
 
278
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
279
247
 
280
248
 
281
249
 
282
250
  /* harmony default export */ var option_groupvue_type_script_lang_js = ({
283
- mixins: [emitter["a" /* default */]],
251
+ mixins: [emitter_default.a],
284
252
 
285
253
  name: 'ElOptionGroup',
286
254
 
@@ -327,7 +295,7 @@ var emitter = __webpack_require__(6);
327
295
  // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=script&lang=js
328
296
  /* harmony default export */ var src_option_groupvue_type_script_lang_js = (option_groupvue_type_script_lang_js);
329
297
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
330
- var componentNormalizer = __webpack_require__(2);
298
+ var componentNormalizer = __webpack_require__(0);
331
299
 
332
300
  // CONCATENATED MODULE: ./packages/select/src/option-group.vue
333
301
 
package/lib/option.js CHANGED
@@ -82,19 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 49);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 57);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
90
  /***/ 0:
91
- /***/ (function(module, exports) {
92
-
93
- module.exports = require("vue");
94
-
95
- /***/ }),
96
-
97
- /***/ 2:
98
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
92
 
100
93
  "use strict";
@@ -200,295 +193,13 @@ function normalizeComponent(
200
193
  /***/ }),
201
194
 
202
195
  /***/ 3:
203
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
-
205
- "use strict";
206
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return noop; });
207
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hasOwn; });
208
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return toObject; });
209
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getValueByPath; });
210
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getPropByPath; });
211
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return generateId; });
212
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return valueEquals; });
213
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return escapeRegexpString; });
214
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return arrayFindIndex; });
215
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return arrayFind; });
216
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return coerceTruthyValueToArray; });
217
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return isIE; });
218
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return isEdge; });
219
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return isFirefox; });
220
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return autoprefixer; });
221
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return kebabCase; });
222
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return capitalize; });
223
- /* unused harmony export looseEqual */
224
- /* unused harmony export arrayEquals */
225
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return isEqual; });
226
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return isEmpty; });
227
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return rafThrottle; });
228
- /* unused harmony export objToArray */
229
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return isMac; });
230
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
231
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
232
- /* harmony import */ var element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
233
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
234
-
235
-
236
-
237
-
238
- var hasOwnProperty = Object.prototype.hasOwnProperty;
239
-
240
- function noop() {};
241
-
242
- function hasOwn(obj, key) {
243
- return hasOwnProperty.call(obj, key);
244
- };
245
-
246
- function extend(to, _from) {
247
- for (var key in _from) {
248
- to[key] = _from[key];
249
- }
250
- return to;
251
- };
252
-
253
- function toObject(arr) {
254
- var res = {};
255
- for (var i = 0; i < arr.length; i++) {
256
- if (arr[i]) {
257
- extend(res, arr[i]);
258
- }
259
- }
260
- return res;
261
- };
262
-
263
- var getValueByPath = function getValueByPath(object, prop) {
264
- prop = prop || '';
265
- var paths = prop.split('.');
266
- var current = object;
267
- var result = null;
268
- for (var i = 0, j = paths.length; i < j; i++) {
269
- var path = paths[i];
270
- if (!current) break;
271
-
272
- if (i === j - 1) {
273
- result = current[path];
274
- break;
275
- }
276
- current = current[path];
277
- }
278
- return result;
279
- };
280
-
281
- function getPropByPath(obj, path, strict) {
282
- var tempObj = obj;
283
- path = path.replace(/\[(\w+)\]/g, '.$1');
284
- path = path.replace(/^\./, '');
285
-
286
- var keyArr = path.split('.');
287
- var i = 0;
288
- for (var len = keyArr.length; i < len - 1; ++i) {
289
- if (!tempObj && !strict) break;
290
- var key = keyArr[i];
291
- if (key in tempObj) {
292
- tempObj = tempObj[key];
293
- } else {
294
- if (strict) {
295
- throw new Error('please transfer a valid prop path to form item!');
296
- }
297
- break;
298
- }
299
- }
300
- return {
301
- o: tempObj,
302
- k: keyArr[i],
303
- v: tempObj ? tempObj[keyArr[i]] : null
304
- };
305
- };
306
-
307
- var generateId = function generateId() {
308
- return Math.floor(Math.random() * 10000);
309
- };
310
-
311
- var valueEquals = function valueEquals(a, b) {
312
- // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
313
- if (a === b) return true;
314
- if (!(a instanceof Array)) return false;
315
- if (!(b instanceof Array)) return false;
316
- if (a.length !== b.length) return false;
317
- for (var i = 0; i !== a.length; ++i) {
318
- if (a[i] !== b[i]) return false;
319
- }
320
- return true;
321
- };
322
-
323
- var escapeRegexpString = function escapeRegexpString() {
324
- var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
325
- return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
326
- };
327
-
328
- // TODO: use native Array.find, Array.findIndex when IE support is dropped
329
- var arrayFindIndex = function arrayFindIndex(arr, pred) {
330
- for (var i = 0; i !== arr.length; ++i) {
331
- if (pred(arr[i])) {
332
- return i;
333
- }
334
- }
335
- return -1;
336
- };
337
-
338
- var arrayFind = function arrayFind(arr, pred) {
339
- var idx = arrayFindIndex(arr, pred);
340
- return idx !== -1 ? arr[idx] : undefined;
341
- };
342
-
343
- // coerce truthy value to array
344
- var coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {
345
- if (Array.isArray(val)) {
346
- return val;
347
- } else if (val) {
348
- return [val];
349
- } else {
350
- return [];
351
- }
352
- };
353
-
354
- var isIE = function isIE() {
355
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !isNaN(Number(document.documentMode));
356
- };
357
-
358
- var isEdge = function isEdge() {
359
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
360
- };
361
-
362
- var isFirefox = function isFirefox() {
363
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
364
- };
365
-
366
- var autoprefixer = function autoprefixer(style) {
367
- if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style;
368
- var rules = ['transform', 'transition', 'animation'];
369
- var prefixes = ['ms-', 'webkit-'];
370
- rules.forEach(function (rule) {
371
- var value = style[rule];
372
- if (rule && value) {
373
- prefixes.forEach(function (prefix) {
374
- style[prefix + rule] = value;
375
- });
376
- }
377
- });
378
- return style;
379
- };
380
-
381
- var kebabCase = function kebabCase(str) {
382
- var hyphenateRE = /([^-])([A-Z])/g;
383
- return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
384
- };
385
-
386
- var capitalize = function capitalize(str) {
387
- if (!Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isString */ "e"])(str)) return str;
388
- return str.charAt(0).toUpperCase() + str.slice(1);
389
- };
390
-
391
- var looseEqual = function looseEqual(a, b) {
392
- var isObjectA = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(a);
393
- var isObjectB = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(b);
394
- if (isObjectA && isObjectB) {
395
- return JSON.stringify(a) === JSON.stringify(b);
396
- } else if (!isObjectA && !isObjectB) {
397
- return String(a) === String(b);
398
- } else {
399
- return false;
400
- }
401
- };
402
-
403
- var arrayEquals = function arrayEquals(arrayA, arrayB) {
404
- arrayA = arrayA || [];
405
- arrayB = arrayB || [];
406
-
407
- if (arrayA.length !== arrayB.length) {
408
- return false;
409
- }
410
-
411
- for (var i = 0; i < arrayA.length; i++) {
412
- if (!looseEqual(arrayA[i], arrayB[i])) {
413
- return false;
414
- }
415
- }
416
-
417
- return true;
418
- };
419
-
420
- var isEqual = function isEqual(value1, value2) {
421
- if (Array.isArray(value1) && Array.isArray(value2)) {
422
- return arrayEquals(value1, value2);
423
- }
424
- return looseEqual(value1, value2);
425
- };
426
-
427
- var isEmpty = function isEmpty(val) {
428
- // null or undefined
429
- if (val == null) return true;
430
-
431
- if (typeof val === 'boolean') return false;
432
-
433
- if (typeof val === 'number') return !val;
434
-
435
- if (val instanceof Error) return val.message === '';
436
-
437
- switch (Object.prototype.toString.call(val)) {
438
- // String or Array
439
- case '[object String]':
440
- case '[object Array]':
441
- return !val.length;
442
-
443
- // Map or Set or File
444
- case '[object File]':
445
- case '[object Map]':
446
- case '[object Set]':
447
- {
448
- return !val.size;
449
- }
450
- // Plain Object
451
- case '[object Object]':
452
- {
453
- return !Object.keys(val).length;
454
- }
455
- }
456
-
457
- return false;
458
- };
459
-
460
- function rafThrottle(fn) {
461
- var locked = false;
462
- return function () {
463
- var _this = this;
464
-
465
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
466
- args[_key] = arguments[_key];
467
- }
468
-
469
- if (locked) return;
470
- locked = true;
471
- window.requestAnimationFrame(function (_) {
472
- fn.apply(_this, args);
473
- locked = false;
474
- });
475
- };
476
- }
477
-
478
- function objToArray(obj) {
479
- if (Array.isArray(obj)) {
480
- return obj;
481
- }
482
- return isEmpty(obj) ? [] : [obj];
483
- }
196
+ /***/ (function(module, exports) {
484
197
 
485
- var isMac = function isMac() {
486
- return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent);
487
- };
198
+ module.exports = require("cy-element-ui/lib/utils/util");
488
199
 
489
200
  /***/ }),
490
201
 
491
- /***/ 31:
202
+ /***/ 33:
492
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
493
204
 
494
205
  "use strict";
@@ -536,11 +247,12 @@ render._withStripped = true
536
247
 
537
248
  // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=template&id=f9fadb56
538
249
 
539
- // EXTERNAL MODULE: ./src/mixins/emitter.js
540
- var emitter = __webpack_require__(6);
250
+ // EXTERNAL MODULE: external "cy-element-ui/lib/mixins/emitter"
251
+ var emitter_ = __webpack_require__(4);
252
+ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
541
253
 
542
- // EXTERNAL MODULE: ./src/utils/util.js
543
- var util = __webpack_require__(3);
254
+ // EXTERNAL MODULE: external "cy-element-ui/lib/utils/util"
255
+ var util_ = __webpack_require__(3);
544
256
 
545
257
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=script&lang=js
546
258
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
@@ -549,7 +261,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
549
261
 
550
262
 
551
263
  /* harmony default export */ var optionvue_type_script_lang_js = ({
552
- mixins: [emitter["a" /* default */]],
264
+ mixins: [emitter_default.a],
553
265
 
554
266
  name: 'ElOption',
555
267
 
@@ -630,7 +342,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
630
342
  return a === b;
631
343
  } else {
632
344
  var valueKey = this.select.valueKey;
633
- return Object(util["i" /* getValueByPath */])(a, valueKey) === Object(util["i" /* getValueByPath */])(b, valueKey);
345
+ return Object(util_["getValueByPath"])(a, valueKey) === Object(util_["getValueByPath"])(b, valueKey);
634
346
  }
635
347
  },
636
348
  contains: function contains() {
@@ -642,7 +354,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
642
354
  } else {
643
355
  var valueKey = this.select.valueKey;
644
356
  return arr && arr.some(function (item) {
645
- return Object(util["i" /* getValueByPath */])(item, valueKey) === Object(util["i" /* getValueByPath */])(target, valueKey);
357
+ return Object(util_["getValueByPath"])(item, valueKey) === Object(util_["getValueByPath"])(target, valueKey);
646
358
  });
647
359
  }
648
360
  },
@@ -660,7 +372,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
660
372
  }
661
373
  },
662
374
  queryChange: function queryChange(query) {
663
- this.visible = new RegExp(Object(util["f" /* escapeRegexpString */])(query), 'i').test(this.currentLabel) || this.created;
375
+ this.visible = new RegExp(Object(util_["escapeRegexpString"])(query), 'i').test(this.currentLabel) || this.created;
664
376
  if (!this.visible) {
665
377
  this.select.filteredOptionsCount--;
666
378
  }
@@ -695,7 +407,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
695
407
  // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=script&lang=js
696
408
  /* harmony default export */ var src_optionvue_type_script_lang_js = (optionvue_type_script_lang_js);
697
409
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
698
- var componentNormalizer = __webpack_require__(2);
410
+ var componentNormalizer = __webpack_require__(0);
699
411
 
700
412
  // CONCATENATED MODULE: ./packages/select/src/option.vue
701
413
 
@@ -721,66 +433,18 @@ var component = Object(componentNormalizer["a" /* default */])(
721
433
  /***/ }),
722
434
 
723
435
  /***/ 4:
724
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
725
-
726
- "use strict";
727
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isString; });
728
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isObject; });
729
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isHtmlElement; });
730
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isFunction; });
731
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isUndefined; });
732
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isDefined; });
733
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
734
- /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
735
- var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
736
-
737
-
738
-
739
- function isString(obj) {
740
- return Object.prototype.toString.call(obj) === '[object String]';
741
- }
742
-
743
- function isObject(obj) {
744
- return Object.prototype.toString.call(obj) === '[object Object]';
745
- }
746
-
747
- function isHtmlElement(node) {
748
- return node && node.nodeType === Node.ELEMENT_NODE;
749
- }
750
-
751
- /**
752
- * - Inspired:
753
- * https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js
754
- */
755
- var isFunction = function isFunction(functionToCheck) {
756
- var getType = {};
757
- return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
758
- };
759
-
760
- if ( true && (typeof Int8Array === 'undefined' ? 'undefined' : _typeof(Int8Array)) !== 'object' && (vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer || typeof document.childNodes !== 'function')) {
761
- isFunction = function isFunction(obj) {
762
- return typeof obj === 'function' || false;
763
- };
764
- }
765
-
766
-
767
-
768
- var isUndefined = function isUndefined(val) {
769
- return val === void 0;
770
- };
436
+ /***/ (function(module, exports) {
771
437
 
772
- var isDefined = function isDefined(val) {
773
- return val !== undefined && val !== null;
774
- };
438
+ module.exports = require("cy-element-ui/lib/mixins/emitter");
775
439
 
776
440
  /***/ }),
777
441
 
778
- /***/ 49:
442
+ /***/ 57:
779
443
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
780
444
 
781
445
  "use strict";
782
446
  __webpack_require__.r(__webpack_exports__);
783
- /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(31);
447
+ /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
784
448
 
785
449
 
786
450
  /* istanbul ignore next */
@@ -790,46 +454,6 @@ _select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].install = fun
790
454
 
791
455
  /* harmony default export */ __webpack_exports__["default"] = (_select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]);
792
456
 
793
- /***/ }),
794
-
795
- /***/ 6:
796
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
797
-
798
- "use strict";
799
- function _broadcast(componentName, eventName, params) {
800
- this.$children.forEach(function (child) {
801
- var name = child.$options.componentName;
802
-
803
- if (name === componentName) {
804
- child.$emit.apply(child, [eventName].concat(params));
805
- } else {
806
- _broadcast.apply(child, [componentName, eventName].concat([params]));
807
- }
808
- });
809
- }
810
- /* harmony default export */ __webpack_exports__["a"] = ({
811
- methods: {
812
- dispatch: function dispatch(componentName, eventName, params) {
813
- var parent = this.$parent || this.$root;
814
- var name = parent.$options.componentName;
815
-
816
- while (parent && (!name || name !== componentName)) {
817
- parent = parent.$parent;
818
-
819
- if (parent) {
820
- name = parent.$options.componentName;
821
- }
822
- }
823
- if (parent) {
824
- parent.$emit.apply(parent, [eventName].concat(params));
825
- }
826
- },
827
- broadcast: function broadcast(componentName, eventName, params) {
828
- _broadcast.call(this, componentName, eventName, params);
829
- }
830
- }
831
- });
832
-
833
457
  /***/ })
834
458
 
835
459
  /******/ });