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
package/lib/avatar.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 = 205);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 143);
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,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 205:
195
+ /***/ 143:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
@@ -326,7 +326,7 @@ __webpack_require__.r(__webpack_exports__);
326
326
  // CONCATENATED MODULE: ./packages/avatar/src/main.vue?vue&type=script&lang=js
327
327
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
328
328
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
329
- var componentNormalizer = __webpack_require__(2);
329
+ var componentNormalizer = __webpack_require__(0);
330
330
 
331
331
  // CONCATENATED MODULE: ./packages/avatar/src/main.vue
332
332
  var render, staticRenderFns
package/lib/backtop.js CHANGED
@@ -82,110 +82,117 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 192);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 128);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 17:
91
- /***/ (function(module, exports) {
92
-
93
- /* eslint-disable no-undefined,no-param-reassign,no-shadow */
94
-
95
- /**
96
- * Throttle execution of a function. Especially useful for rate limiting
97
- * execution of handlers on events like resize and scroll.
98
- *
99
- * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
100
- * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the
101
- * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time
102
- * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,
103
- * the internal counter is reset)
104
- * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,
105
- * to `callback` when the throttled-function is executed.
106
- * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),
107
- * schedule `callback` to execute after `delay` ms.
108
- *
109
- * @return {Function} A new, throttled, function.
110
- */
111
- module.exports = function ( delay, noTrailing, callback, debounceMode ) {
112
-
113
- // After wrapper has stopped being called, this timeout ensures that
114
- // `callback` is executed at the proper times in `throttle` and `end`
115
- // debounce modes.
116
- var timeoutID;
117
-
118
- // Keep track of the last time `callback` was executed.
119
- var lastExec = 0;
120
-
121
- // `noTrailing` defaults to falsy.
122
- if ( typeof noTrailing !== 'boolean' ) {
123
- debounceMode = callback;
124
- callback = noTrailing;
125
- noTrailing = undefined;
126
- }
127
-
128
- // The `wrapper` function encapsulates all of the throttling / debouncing
129
- // functionality and when executed will limit the rate at which `callback`
130
- // is executed.
131
- function wrapper () {
90
+ /***/ 0:
91
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
132
92
 
133
- var self = this;
134
- var elapsed = Number(new Date()) - lastExec;
135
- var args = arguments;
93
+ "use strict";
94
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
95
+ /* globals __VUE_SSR_CONTEXT__ */
136
96
 
137
- // Execute `callback` and update the `lastExec` timestamp.
138
- function exec () {
139
- lastExec = Number(new Date());
140
- callback.apply(self, args);
141
- }
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.
142
100
 
143
- // If `debounceMode` is true (at begin) this is used to clear the flag
144
- // to allow future `callback` executions.
145
- function clear () {
146
- timeoutID = undefined;
147
- }
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
148
114
 
149
- if ( debounceMode && !timeoutID ) {
150
- // Since `wrapper` is being called for the first time and
151
- // `debounceMode` is true (at begin), execute `callback`.
152
- exec();
153
- }
115
+ // render functions
116
+ if (render) {
117
+ options.render = render
118
+ options.staticRenderFns = staticRenderFns
119
+ options._compiled = true
120
+ }
154
121
 
155
- // Clear any existing timeout.
156
- if ( timeoutID ) {
157
- clearTimeout(timeoutID);
158
- }
122
+ // functional template
123
+ if (functionalTemplate) {
124
+ options.functional = true
125
+ }
159
126
 
160
- if ( debounceMode === undefined && elapsed > delay ) {
161
- // In throttle mode, if `delay` time has been exceeded, execute
162
- // `callback`.
163
- exec();
164
-
165
- } else if ( noTrailing !== true ) {
166
- // In trailing throttle mode, since `delay` time has not been
167
- // exceeded, schedule `callback` to execute `delay` ms after most
168
- // recent execution.
169
- //
170
- // If `debounceMode` is true (at begin), schedule `clear` to execute
171
- // after `delay` ms.
172
- //
173
- // If `debounceMode` is false (at end), schedule `callback` to
174
- // execute after `delay` ms.
175
- timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
176
- }
127
+ // scopedId
128
+ if (scopeId) {
129
+ options._scopeId = 'data-v-' + scopeId
130
+ }
177
131
 
178
- }
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
+ }
179
167
 
180
- // Return the wrapper function.
181
- return wrapper;
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
+ }
182
185
 
183
- };
186
+ return {
187
+ exports: scriptExports,
188
+ options: options
189
+ }
190
+ }
184
191
 
185
192
 
186
193
  /***/ }),
187
194
 
188
- /***/ 192:
195
+ /***/ 128:
189
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
190
197
 
191
198
  "use strict";
@@ -229,9 +236,9 @@ render._withStripped = true
229
236
 
230
237
  // CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=template&id=51b1362e
231
238
 
232
- // EXTERNAL MODULE: ./node_modules/throttle-debounce/throttle.js
233
- var throttle = __webpack_require__(17);
234
- var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle);
239
+ // EXTERNAL MODULE: external "throttle-debounce/throttle"
240
+ var throttle_ = __webpack_require__(25);
241
+ var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
235
242
 
236
243
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/backtop/src/main.vue?vue&type=script&lang=js
237
244
 
@@ -335,7 +342,7 @@ var easeInOutCubic = function easeInOutCubic(value) {
335
342
  // CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=script&lang=js
336
343
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
337
344
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
338
- var componentNormalizer = __webpack_require__(2);
345
+ var componentNormalizer = __webpack_require__(0);
339
346
 
340
347
  // CONCATENATED MODULE: ./packages/backtop/src/main.vue
341
348
 
@@ -369,108 +376,10 @@ main.install = function (Vue) {
369
376
 
370
377
  /***/ }),
371
378
 
372
- /***/ 2:
373
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
374
-
375
- "use strict";
376
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
377
- /* globals __VUE_SSR_CONTEXT__ */
378
-
379
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
380
- // This module is a runtime utility for cleaner component module output and will
381
- // be included in the final webpack user bundle.
382
-
383
- function normalizeComponent(
384
- scriptExports,
385
- render,
386
- staticRenderFns,
387
- functionalTemplate,
388
- injectStyles,
389
- scopeId,
390
- moduleIdentifier /* server only */,
391
- shadowMode /* vue-cli only */
392
- ) {
393
- // Vue.extend constructor export interop
394
- var options =
395
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
396
-
397
- // render functions
398
- if (render) {
399
- options.render = render
400
- options.staticRenderFns = staticRenderFns
401
- options._compiled = true
402
- }
403
-
404
- // functional template
405
- if (functionalTemplate) {
406
- options.functional = true
407
- }
408
-
409
- // scopedId
410
- if (scopeId) {
411
- options._scopeId = 'data-v-' + scopeId
412
- }
413
-
414
- var hook
415
- if (moduleIdentifier) {
416
- // server build
417
- hook = function (context) {
418
- // 2.3 injection
419
- context =
420
- context || // cached call
421
- (this.$vnode && this.$vnode.ssrContext) || // stateful
422
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
423
- // 2.2 with runInNewContext: true
424
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
425
- context = __VUE_SSR_CONTEXT__
426
- }
427
- // inject component styles
428
- if (injectStyles) {
429
- injectStyles.call(this, context)
430
- }
431
- // register component module identifier for async chunk inferrence
432
- if (context && context._registeredComponents) {
433
- context._registeredComponents.add(moduleIdentifier)
434
- }
435
- }
436
- // used by ssr in case component is cached and beforeCreate
437
- // never gets called
438
- options._ssrRegister = hook
439
- } else if (injectStyles) {
440
- hook = shadowMode
441
- ? function () {
442
- injectStyles.call(
443
- this,
444
- (options.functional ? this.parent : this).$root.$options.shadowRoot
445
- )
446
- }
447
- : injectStyles
448
- }
449
-
450
- if (hook) {
451
- if (options.functional) {
452
- // for template-only hot-reload because in that case the render fn doesn't
453
- // go through the normalizer
454
- options._injectStyles = hook
455
- // register for functional component in vue file
456
- var originalRender = options.render
457
- options.render = function renderWithStyleInjection(h, context) {
458
- hook.call(context)
459
- return originalRender(h, context)
460
- }
461
- } else {
462
- // inject component registration as beforeCreate hook
463
- var existing = options.beforeCreate
464
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
465
- }
466
- }
467
-
468
- return {
469
- exports: scriptExports,
470
- options: options
471
- }
472
- }
379
+ /***/ 25:
380
+ /***/ (function(module, exports) {
473
381
 
382
+ module.exports = require("throttle-debounce/throttle");
474
383
 
475
384
  /***/ })
476
385
 
package/lib/badge.js CHANGED
@@ -82,12 +82,117 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 175);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 110);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 175:
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
+ /***/ 110:
91
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
197
 
93
198
  "use strict";
@@ -171,7 +276,7 @@ render._withStripped = true
171
276
  // CONCATENATED MODULE: ./packages/badge/src/main.vue?vue&type=script&lang=js
172
277
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
173
278
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
174
- var componentNormalizer = __webpack_require__(2);
279
+ var componentNormalizer = __webpack_require__(0);
175
280
 
176
281
  // CONCATENATED MODULE: ./packages/badge/src/main.vue
177
282
 
@@ -203,111 +308,6 @@ main.install = function (Vue) {
203
308
 
204
309
  /* harmony default export */ var badge = __webpack_exports__["default"] = (main);
205
310
 
206
- /***/ }),
207
-
208
- /***/ 2:
209
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
210
-
211
- "use strict";
212
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
213
- /* globals __VUE_SSR_CONTEXT__ */
214
-
215
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
216
- // This module is a runtime utility for cleaner component module output and will
217
- // be included in the final webpack user bundle.
218
-
219
- function normalizeComponent(
220
- scriptExports,
221
- render,
222
- staticRenderFns,
223
- functionalTemplate,
224
- injectStyles,
225
- scopeId,
226
- moduleIdentifier /* server only */,
227
- shadowMode /* vue-cli only */
228
- ) {
229
- // Vue.extend constructor export interop
230
- var options =
231
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
232
-
233
- // render functions
234
- if (render) {
235
- options.render = render
236
- options.staticRenderFns = staticRenderFns
237
- options._compiled = true
238
- }
239
-
240
- // functional template
241
- if (functionalTemplate) {
242
- options.functional = true
243
- }
244
-
245
- // scopedId
246
- if (scopeId) {
247
- options._scopeId = 'data-v-' + scopeId
248
- }
249
-
250
- var hook
251
- if (moduleIdentifier) {
252
- // server build
253
- hook = function (context) {
254
- // 2.3 injection
255
- context =
256
- context || // cached call
257
- (this.$vnode && this.$vnode.ssrContext) || // stateful
258
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
259
- // 2.2 with runInNewContext: true
260
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
261
- context = __VUE_SSR_CONTEXT__
262
- }
263
- // inject component styles
264
- if (injectStyles) {
265
- injectStyles.call(this, context)
266
- }
267
- // register component module identifier for async chunk inferrence
268
- if (context && context._registeredComponents) {
269
- context._registeredComponents.add(moduleIdentifier)
270
- }
271
- }
272
- // used by ssr in case component is cached and beforeCreate
273
- // never gets called
274
- options._ssrRegister = hook
275
- } else if (injectStyles) {
276
- hook = shadowMode
277
- ? function () {
278
- injectStyles.call(
279
- this,
280
- (options.functional ? this.parent : this).$root.$options.shadowRoot
281
- )
282
- }
283
- : injectStyles
284
- }
285
-
286
- if (hook) {
287
- if (options.functional) {
288
- // for template-only hot-reload because in that case the render fn doesn't
289
- // go through the normalizer
290
- options._injectStyles = hook
291
- // register for functional component in vue file
292
- var originalRender = options.render
293
- options.render = function renderWithStyleInjection(h, context) {
294
- hook.call(context)
295
- return originalRender(h, context)
296
- }
297
- } else {
298
- // inject component registration as beforeCreate hook
299
- var existing = options.beforeCreate
300
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
301
- }
302
- }
303
-
304
- return {
305
- exports: scriptExports,
306
- options: options
307
- }
308
- }
309
-
310
-
311
311
  /***/ })
312
312
 
313
313
  /******/ });