cy-element-ui 1.0.49 → 1.0.50
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.
- package/lib/alert.js +108 -108
- package/lib/aside.js +77 -77
- package/lib/autocomplete.js +359 -5198
- package/lib/avatar.js +4 -4
- package/lib/backtop.js +101 -192
- package/lib/badge.js +108 -108
- package/lib/breadcrumb-item.js +108 -108
- package/lib/breadcrumb.js +94 -94
- package/lib/button-group.js +4 -4
- package/lib/button.js +4 -4
- package/lib/calendar.js +137 -1734
- package/lib/card.js +96 -96
- package/lib/carousel-item.js +108 -452
- package/lib/carousel.js +105 -1256
- package/lib/cascader-panel.js +191 -3524
- package/lib/cascader.js +709 -8069
- package/lib/checkbox-button.js +119 -151
- package/lib/checkbox-group.js +15 -47
- package/lib/checkbox.js +15 -47
- package/lib/col.js +2 -2
- package/lib/collapse-item.js +110 -815
- package/lib/collapse.js +108 -108
- package/lib/color-picker.js +835 -4712
- package/lib/container.js +88 -88
- package/lib/date-picker.js +4596 -10622
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +8 -63
- package/lib/dialog.js +22 -1200
- package/lib/divider.js +104 -104
- package/lib/drawer.js +105 -875
- package/lib/dropdown-item.js +96 -128
- package/lib/dropdown-menu.js +99 -2301
- package/lib/dropdown.js +54 -990
- package/lib/element-ui.common.js +29758 -47436
- package/lib/empty.js +99 -793
- package/lib/fileUpload.js +25 -2541
- package/lib/footer.js +77 -77
- package/lib/form-item.js +208 -3311
- package/lib/form.js +115 -129
- package/lib/header.js +77 -77
- package/lib/icon.js +67 -67
- package/lib/image.js +146 -1662
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +26 -435
- package/lib/input-number.js +24 -1458
- package/lib/input.js +37 -509
- package/lib/link.js +4 -4
- package/lib/loading.js +149 -886
- package/lib/main.js +64 -64
- package/lib/menu-item-group.js +103 -103
- package/lib/menu-item.js +137 -3140
- package/lib/menu.js +123 -1058
- package/lib/message-box.js +179 -2734
- package/lib/message.js +118 -1196
- package/lib/notification.js +118 -1195
- package/lib/option-group.js +119 -151
- package/lib/option.js +16 -392
- package/lib/page-header.js +87 -781
- package/lib/pagination.js +642 -7743
- package/lib/popconfirm.js +219 -3606
- package/lib/popover.js +99 -2624
- package/lib/progress.js +4 -4
- package/lib/radio-button.js +119 -151
- package/lib/radio-group.js +119 -151
- package/lib/radio.js +15 -47
- package/lib/rate.js +113 -756
- package/lib/result.js +108 -108
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +41 -1813
- package/lib/select.js +209 -5547
- package/lib/selectDisplayInput.js +4 -4
- package/lib/skeleton-item.js +108 -108
- package/lib/skeleton.js +108 -108
- package/lib/slider.js +815 -5053
- package/lib/spinner.js +100 -100
- package/lib/statistic.js +112 -9600
- package/lib/step.js +108 -108
- package/lib/steps.js +99 -514
- package/lib/subTitle.js +91 -91
- package/lib/submenu.js +76 -2397
- package/lib/switch.js +127 -582
- package/lib/tab-pane.js +108 -108
- package/lib/tabDialog.js +104 -1630
- package/lib/table-column.js +267 -1115
- package/lib/table.js +1289 -7121
- package/lib/tabs.js +113 -1615
- package/lib/tag.js +4 -4
- package/lib/time-picker.js +554 -6491
- package/lib/time-select.js +407 -6334
- package/lib/timeline-item.js +108 -108
- package/lib/timeline.js +4 -4
- package/lib/tooltip.js +44 -2688
- package/lib/transfer.js +146 -2238
- package/lib/tree.js +148 -1563
- package/lib/treeSelect.js +106 -3421
- package/lib/upload.js +31 -1198
- package/package.json +1 -1
- package/src/index.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 144);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
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
|
-
/***/
|
|
195
|
+
/***/ 144:
|
|
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__(
|
|
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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 128);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
91
|
-
/***/ (function(module,
|
|
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
|
-
|
|
134
|
-
|
|
135
|
-
|
|
93
|
+
"use strict";
|
|
94
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
95
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
136
96
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
115
|
+
// render functions
|
|
116
|
+
if (render) {
|
|
117
|
+
options.render = render
|
|
118
|
+
options.staticRenderFns = staticRenderFns
|
|
119
|
+
options._compiled = true
|
|
120
|
+
}
|
|
154
121
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
122
|
+
// functional template
|
|
123
|
+
if (functionalTemplate) {
|
|
124
|
+
options.functional = true
|
|
125
|
+
}
|
|
159
126
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
|
|
181
|
-
|
|
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
|
-
/***/
|
|
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:
|
|
233
|
-
var
|
|
234
|
-
var throttle_default = /*#__PURE__*/__webpack_require__.n(
|
|
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__(
|
|
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
|
-
/***/
|
|
373
|
-
/***/ (function(module,
|
|
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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 110);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
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__(
|
|
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
|
/******/ });
|