cy-element-ui 1.0.52 → 1.0.53

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 (120) hide show
  1. package/lib/alert.js +108 -108
  2. package/lib/aside.js +77 -77
  3. package/lib/autocomplete.js +5199 -360
  4. package/lib/avatar.js +4 -4
  5. package/lib/backtop.js +192 -101
  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 +1734 -137
  12. package/lib/card.js +96 -96
  13. package/lib/carousel-item.js +452 -108
  14. package/lib/carousel.js +1256 -105
  15. package/lib/cascader-panel.js +3524 -191
  16. package/lib/cascader.js +8077 -717
  17. package/lib/checkbox-button.js +151 -119
  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 +4705 -828
  24. package/lib/container.js +88 -88
  25. package/lib/date-picker.js +10735 -4709
  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 +128 -96
  33. package/lib/dropdown-menu.js +2301 -99
  34. package/lib/dropdown.js +990 -54
  35. package/lib/element-ui.common.js +31129 -13451
  36. package/lib/empty.js +793 -99
  37. package/lib/fileUpload.js +2542 -26
  38. package/lib/footer.js +77 -77
  39. package/lib/form-item.js +3305 -202
  40. package/lib/form.js +129 -115
  41. package/lib/header.js +77 -77
  42. package/lib/icon.js +67 -67
  43. package/lib/image.js +1662 -146
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +435 -26
  46. package/lib/input-number.js +1458 -24
  47. package/lib/input.js +509 -37
  48. package/lib/link.js +4 -4
  49. package/lib/loading.js +886 -149
  50. package/lib/locale/format.js +1 -1
  51. package/lib/main.js +64 -64
  52. package/lib/menu-item-group.js +103 -103
  53. package/lib/menu-item.js +3140 -137
  54. package/lib/menu.js +1058 -123
  55. package/lib/message-box.js +2743 -188
  56. package/lib/message.js +1196 -118
  57. package/lib/mixins/migrating.js +1 -1
  58. package/lib/notification.js +1196 -119
  59. package/lib/option-group.js +151 -119
  60. package/lib/option.js +392 -16
  61. package/lib/page-header.js +781 -87
  62. package/lib/pagination.js +7747 -646
  63. package/lib/popconfirm.js +3606 -219
  64. package/lib/popover.js +2604 -79
  65. package/lib/progress.js +4 -4
  66. package/lib/radio-button.js +151 -119
  67. package/lib/radio-group.js +151 -119
  68. package/lib/radio.js +47 -15
  69. package/lib/rate.js +756 -113
  70. package/lib/result.js +108 -108
  71. package/lib/row.js +2 -2
  72. package/lib/scrollbar.js +1813 -41
  73. package/lib/select.js +5547 -209
  74. package/lib/selectDisplayInput.js +4 -4
  75. package/lib/skeleton-item.js +108 -108
  76. package/lib/skeleton.js +108 -108
  77. package/lib/slider.js +4768 -530
  78. package/lib/spinner.js +100 -100
  79. package/lib/statistic.js +9600 -112
  80. package/lib/step.js +108 -108
  81. package/lib/steps.js +514 -99
  82. package/lib/subTitle.js +91 -91
  83. package/lib/submenu.js +2397 -76
  84. package/lib/switch.js +582 -127
  85. package/lib/tab-pane.js +108 -108
  86. package/lib/tabDialog.js +1630 -104
  87. package/lib/table-column.js +1115 -267
  88. package/lib/table.js +7085 -1253
  89. package/lib/tabs.js +1615 -113
  90. package/lib/tag.js +4 -4
  91. package/lib/time-picker.js +6487 -550
  92. package/lib/time-select.js +6334 -407
  93. package/lib/timeline-item.js +108 -108
  94. package/lib/timeline.js +4 -4
  95. package/lib/tooltip.js +2688 -44
  96. package/lib/transfer.js +2238 -146
  97. package/lib/transitions/collapse-transition.js +1 -1
  98. package/lib/tree.js +1563 -148
  99. package/lib/treeSelect.js +3421 -106
  100. package/lib/upload.js +1198 -31
  101. package/lib/utils/clickoutside.js +1 -1
  102. package/lib/utils/date-util.js +2 -2
  103. package/lib/utils/popup/index.js +2 -2
  104. package/lib/utils/popup/popup-manager.js +1 -1
  105. package/lib/utils/util.js +1 -1
  106. package/lib/utils/vdom.js +1 -1
  107. package/lib/utils/vue-popper.js +1 -1
  108. package/package.json +1 -1
  109. package/src/directives/repeat-click.js +2 -2
  110. package/src/index.js +1 -1
  111. package/src/locale/format.js +1 -1
  112. package/src/mixins/migrating.js +1 -1
  113. package/src/transitions/collapse-transition.js +1 -1
  114. package/src/utils/clickoutside.js +1 -1
  115. package/src/utils/date-util.js +2 -2
  116. package/src/utils/popup/index.js +2 -2
  117. package/src/utils/popup/popup-manager.js +1 -1
  118. package/src/utils/util.js +1 -1
  119. package/src/utils/vdom.js +1 -1
  120. package/src/utils/vue-popper.js +1 -1
package/lib/progress.js CHANGED
@@ -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 = 108);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 37);
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,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 108:
195
+ /***/ 37:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
@@ -505,7 +505,7 @@ render._withStripped = true
505
505
  // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=script&lang=js
506
506
  /* harmony default export */ var src_progressvue_type_script_lang_js = (progressvue_type_script_lang_js);
507
507
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
508
- var componentNormalizer = __webpack_require__(0);
508
+ var componentNormalizer = __webpack_require__(2);
509
509
 
510
510
  // CONCATENATED MODULE: ./packages/progress/src/progress.vue
511
511
 
@@ -82,124 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 94);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 164);
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
- /***/ 4:
196
- /***/ (function(module, exports) {
197
-
198
- module.exports = require("element-ui/src/mixins/emitter");
199
-
200
- /***/ }),
201
-
202
- /***/ 94:
90
+ /***/ 164:
203
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
92
 
205
93
  "use strict";
@@ -299,9 +187,8 @@ render._withStripped = true
299
187
 
300
188
  // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue?vue&type=template&id=72267784
301
189
 
302
- // EXTERNAL MODULE: external "element-ui/src/mixins/emitter"
303
- var emitter_ = __webpack_require__(4);
304
- var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
190
+ // EXTERNAL MODULE: ./src/mixins/emitter.js
191
+ var emitter = __webpack_require__(6);
305
192
 
306
193
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-button.vue?vue&type=script&lang=js
307
194
 
@@ -310,7 +197,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
310
197
  /* harmony default export */ var radio_buttonvue_type_script_lang_js = ({
311
198
  name: 'ElRadioButton',
312
199
 
313
- mixins: [emitter_default.a],
200
+ mixins: [emitter["a" /* default */]],
314
201
 
315
202
  inject: {
316
203
  elForm: {
@@ -387,7 +274,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
387
274
  // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue?vue&type=script&lang=js
388
275
  /* harmony default export */ var src_radio_buttonvue_type_script_lang_js = (radio_buttonvue_type_script_lang_js);
389
276
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
390
- var componentNormalizer = __webpack_require__(0);
277
+ var componentNormalizer = __webpack_require__(2);
391
278
 
392
279
  // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue
393
280
 
@@ -419,6 +306,151 @@ radio_button.install = function (Vue) {
419
306
 
420
307
  /* harmony default export */ var packages_radio_button = __webpack_exports__["default"] = (radio_button);
421
308
 
309
+ /***/ }),
310
+
311
+ /***/ 2:
312
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
313
+
314
+ "use strict";
315
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
316
+ /* globals __VUE_SSR_CONTEXT__ */
317
+
318
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
319
+ // This module is a runtime utility for cleaner component module output and will
320
+ // be included in the final webpack user bundle.
321
+
322
+ function normalizeComponent(
323
+ scriptExports,
324
+ render,
325
+ staticRenderFns,
326
+ functionalTemplate,
327
+ injectStyles,
328
+ scopeId,
329
+ moduleIdentifier /* server only */,
330
+ shadowMode /* vue-cli only */
331
+ ) {
332
+ // Vue.extend constructor export interop
333
+ var options =
334
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
335
+
336
+ // render functions
337
+ if (render) {
338
+ options.render = render
339
+ options.staticRenderFns = staticRenderFns
340
+ options._compiled = true
341
+ }
342
+
343
+ // functional template
344
+ if (functionalTemplate) {
345
+ options.functional = true
346
+ }
347
+
348
+ // scopedId
349
+ if (scopeId) {
350
+ options._scopeId = 'data-v-' + scopeId
351
+ }
352
+
353
+ var hook
354
+ if (moduleIdentifier) {
355
+ // server build
356
+ hook = function (context) {
357
+ // 2.3 injection
358
+ context =
359
+ context || // cached call
360
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
361
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
362
+ // 2.2 with runInNewContext: true
363
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
364
+ context = __VUE_SSR_CONTEXT__
365
+ }
366
+ // inject component styles
367
+ if (injectStyles) {
368
+ injectStyles.call(this, context)
369
+ }
370
+ // register component module identifier for async chunk inferrence
371
+ if (context && context._registeredComponents) {
372
+ context._registeredComponents.add(moduleIdentifier)
373
+ }
374
+ }
375
+ // used by ssr in case component is cached and beforeCreate
376
+ // never gets called
377
+ options._ssrRegister = hook
378
+ } else if (injectStyles) {
379
+ hook = shadowMode
380
+ ? function () {
381
+ injectStyles.call(
382
+ this,
383
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
384
+ )
385
+ }
386
+ : injectStyles
387
+ }
388
+
389
+ if (hook) {
390
+ if (options.functional) {
391
+ // for template-only hot-reload because in that case the render fn doesn't
392
+ // go through the normalizer
393
+ options._injectStyles = hook
394
+ // register for functional component in vue file
395
+ var originalRender = options.render
396
+ options.render = function renderWithStyleInjection(h, context) {
397
+ hook.call(context)
398
+ return originalRender(h, context)
399
+ }
400
+ } else {
401
+ // inject component registration as beforeCreate hook
402
+ var existing = options.beforeCreate
403
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
404
+ }
405
+ }
406
+
407
+ return {
408
+ exports: scriptExports,
409
+ options: options
410
+ }
411
+ }
412
+
413
+
414
+ /***/ }),
415
+
416
+ /***/ 6:
417
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
418
+
419
+ "use strict";
420
+ function _broadcast(componentName, eventName, params) {
421
+ this.$children.forEach(function (child) {
422
+ var name = child.$options.componentName;
423
+
424
+ if (name === componentName) {
425
+ child.$emit.apply(child, [eventName].concat(params));
426
+ } else {
427
+ _broadcast.apply(child, [componentName, eventName].concat([params]));
428
+ }
429
+ });
430
+ }
431
+ /* harmony default export */ __webpack_exports__["a"] = ({
432
+ methods: {
433
+ dispatch: function dispatch(componentName, eventName, params) {
434
+ var parent = this.$parent || this.$root;
435
+ var name = parent.$options.componentName;
436
+
437
+ while (parent && (!name || name !== componentName)) {
438
+ parent = parent.$parent;
439
+
440
+ if (parent) {
441
+ name = parent.$options.componentName;
442
+ }
443
+ }
444
+ if (parent) {
445
+ parent.$emit.apply(parent, [eventName].concat(params));
446
+ }
447
+ },
448
+ broadcast: function broadcast(componentName, eventName, params) {
449
+ _broadcast.call(this, componentName, eventName, params);
450
+ }
451
+ }
452
+ });
453
+
422
454
  /***/ })
423
455
 
424
456
  /******/ });
@@ -82,124 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 93);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 163);
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
- /***/ 4:
196
- /***/ (function(module, exports) {
197
-
198
- module.exports = require("element-ui/src/mixins/emitter");
199
-
200
- /***/ }),
201
-
202
- /***/ 93:
90
+ /***/ 163:
203
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
92
 
205
93
  "use strict";
@@ -228,9 +116,8 @@ render._withStripped = true
228
116
 
229
117
  // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue?vue&type=template&id=e8c0ca4a
230
118
 
231
- // EXTERNAL MODULE: external "element-ui/src/mixins/emitter"
232
- var emitter_ = __webpack_require__(4);
233
- var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
119
+ // EXTERNAL MODULE: ./src/mixins/emitter.js
120
+ var emitter = __webpack_require__(6);
234
121
 
235
122
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-group.vue?vue&type=script&lang=js
236
123
 
@@ -253,7 +140,7 @@ var keyCode = Object.freeze({
253
140
  }
254
141
  },
255
142
 
256
- mixins: [emitter_default.a],
143
+ mixins: [emitter["a" /* default */]],
257
144
 
258
145
  props: {
259
146
  value: {},
@@ -343,7 +230,7 @@ var keyCode = Object.freeze({
343
230
  // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue?vue&type=script&lang=js
344
231
  /* harmony default export */ var src_radio_groupvue_type_script_lang_js = (radio_groupvue_type_script_lang_js);
345
232
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
346
- var componentNormalizer = __webpack_require__(0);
233
+ var componentNormalizer = __webpack_require__(2);
347
234
 
348
235
  // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue
349
236
 
@@ -375,6 +262,151 @@ radio_group.install = function (Vue) {
375
262
 
376
263
  /* harmony default export */ var packages_radio_group = __webpack_exports__["default"] = (radio_group);
377
264
 
265
+ /***/ }),
266
+
267
+ /***/ 2:
268
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
269
+
270
+ "use strict";
271
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
272
+ /* globals __VUE_SSR_CONTEXT__ */
273
+
274
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
275
+ // This module is a runtime utility for cleaner component module output and will
276
+ // be included in the final webpack user bundle.
277
+
278
+ function normalizeComponent(
279
+ scriptExports,
280
+ render,
281
+ staticRenderFns,
282
+ functionalTemplate,
283
+ injectStyles,
284
+ scopeId,
285
+ moduleIdentifier /* server only */,
286
+ shadowMode /* vue-cli only */
287
+ ) {
288
+ // Vue.extend constructor export interop
289
+ var options =
290
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
291
+
292
+ // render functions
293
+ if (render) {
294
+ options.render = render
295
+ options.staticRenderFns = staticRenderFns
296
+ options._compiled = true
297
+ }
298
+
299
+ // functional template
300
+ if (functionalTemplate) {
301
+ options.functional = true
302
+ }
303
+
304
+ // scopedId
305
+ if (scopeId) {
306
+ options._scopeId = 'data-v-' + scopeId
307
+ }
308
+
309
+ var hook
310
+ if (moduleIdentifier) {
311
+ // server build
312
+ hook = function (context) {
313
+ // 2.3 injection
314
+ context =
315
+ context || // cached call
316
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
317
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
318
+ // 2.2 with runInNewContext: true
319
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
320
+ context = __VUE_SSR_CONTEXT__
321
+ }
322
+ // inject component styles
323
+ if (injectStyles) {
324
+ injectStyles.call(this, context)
325
+ }
326
+ // register component module identifier for async chunk inferrence
327
+ if (context && context._registeredComponents) {
328
+ context._registeredComponents.add(moduleIdentifier)
329
+ }
330
+ }
331
+ // used by ssr in case component is cached and beforeCreate
332
+ // never gets called
333
+ options._ssrRegister = hook
334
+ } else if (injectStyles) {
335
+ hook = shadowMode
336
+ ? function () {
337
+ injectStyles.call(
338
+ this,
339
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
340
+ )
341
+ }
342
+ : injectStyles
343
+ }
344
+
345
+ if (hook) {
346
+ if (options.functional) {
347
+ // for template-only hot-reload because in that case the render fn doesn't
348
+ // go through the normalizer
349
+ options._injectStyles = hook
350
+ // register for functional component in vue file
351
+ var originalRender = options.render
352
+ options.render = function renderWithStyleInjection(h, context) {
353
+ hook.call(context)
354
+ return originalRender(h, context)
355
+ }
356
+ } else {
357
+ // inject component registration as beforeCreate hook
358
+ var existing = options.beforeCreate
359
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
360
+ }
361
+ }
362
+
363
+ return {
364
+ exports: scriptExports,
365
+ options: options
366
+ }
367
+ }
368
+
369
+
370
+ /***/ }),
371
+
372
+ /***/ 6:
373
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
374
+
375
+ "use strict";
376
+ function _broadcast(componentName, eventName, params) {
377
+ this.$children.forEach(function (child) {
378
+ var name = child.$options.componentName;
379
+
380
+ if (name === componentName) {
381
+ child.$emit.apply(child, [eventName].concat(params));
382
+ } else {
383
+ _broadcast.apply(child, [componentName, eventName].concat([params]));
384
+ }
385
+ });
386
+ }
387
+ /* harmony default export */ __webpack_exports__["a"] = ({
388
+ methods: {
389
+ dispatch: function dispatch(componentName, eventName, params) {
390
+ var parent = this.$parent || this.$root;
391
+ var name = parent.$options.componentName;
392
+
393
+ while (parent && (!name || name !== componentName)) {
394
+ parent = parent.$parent;
395
+
396
+ if (parent) {
397
+ name = parent.$options.componentName;
398
+ }
399
+ }
400
+ if (parent) {
401
+ parent.$emit.apply(parent, [eventName].concat(params));
402
+ }
403
+ },
404
+ broadcast: function broadcast(componentName, eventName, params) {
405
+ _broadcast.call(this, componentName, eventName, params);
406
+ }
407
+ }
408
+ });
409
+
378
410
  /***/ })
379
411
 
380
412
  /******/ });