cy-element-ui 1.0.71 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/alert.js +4 -4
- package/lib/aside.js +77 -77
- package/lib/autocomplete.js +3940 -159
- package/lib/avatar.js +108 -108
- package/lib/backtop.js +110 -110
- package/lib/badge.js +108 -108
- package/lib/breadcrumb-item.js +4 -4
- package/lib/breadcrumb.js +4 -4
- package/lib/button-group.js +4 -4
- package/lib/button.js +4 -4
- package/lib/calendar.js +1545 -46
- package/lib/card.js +96 -96
- package/lib/carousel-item.js +452 -108
- package/lib/carousel.js +185 -116
- package/lib/cascader-panel.js +2270 -187
- package/lib/cascader.js +6452 -275
- package/lib/checkbox-button.js +43 -11
- package/lib/checkbox-group.js +47 -15
- package/lib/checkbox.js +47 -15
- package/lib/col.js +2 -2
- package/lib/collapse-item.js +815 -110
- package/lib/collapse.js +108 -108
- package/lib/color-picker.js +3953 -153
- package/lib/container.js +88 -88
- package/lib/date-picker.js +5231 -420
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +63 -8
- package/lib/dialog.js +1200 -22
- package/lib/directives/repeat-click.js +2 -2
- package/lib/divider.js +104 -104
- package/lib/drawer.js +875 -105
- package/lib/dropdown-item.js +43 -11
- package/lib/dropdown-menu.js +2274 -72
- package/lib/dropdown.js +1072 -136
- package/lib/element-ui.common.js +26229 -13291
- package/lib/empty.js +603 -7
- package/lib/fileUpload.js +2478 -110
- package/lib/footer.js +77 -77
- package/lib/form-item.js +418 -28
- package/lib/form.js +29 -15
- package/lib/header.js +77 -77
- package/lib/icon.js +4 -4
- package/lib/image.js +1376 -49
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +311 -21
- package/lib/input-number.js +1423 -34
- package/lib/input.js +507 -37
- package/lib/link.js +4 -4
- package/lib/loading.js +804 -67
- package/lib/locale/format.js +1 -1
- package/lib/locale/index.js +1 -1
- package/lib/main.js +64 -64
- package/lib/menu-item-group.js +4 -4
- package/lib/menu-item.js +2925 -41
- package/lib/menu.js +745 -54
- package/lib/message-box.js +2536 -79
- package/lib/message.js +1102 -24
- package/lib/mixins/locale.js +1 -1
- package/lib/mixins/migrating.js +1 -1
- package/lib/notification.js +1102 -25
- package/lib/option-group.js +43 -11
- package/lib/option.js +394 -18
- package/lib/page-header.js +683 -87
- package/lib/pagination.js +6078 -139
- package/lib/popconfirm.js +3508 -219
- package/lib/popover.js +2604 -79
- package/lib/progress.js +4 -4
- package/lib/radio-button.js +43 -11
- package/lib/radio-group.js +43 -11
- package/lib/radio.js +47 -15
- package/lib/rate.js +756 -113
- package/lib/result.js +4 -4
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +735 -50
- package/lib/select.js +4352 -209
- package/lib/selectDisplayInput.js +108 -108
- package/lib/skeleton-item.js +2 -2
- package/lib/skeleton.js +108 -108
- package/lib/slider.js +4266 -120
- package/lib/spinner.js +4 -4
- package/lib/statistic.js +9605 -117
- package/lib/step.js +108 -108
- package/lib/steps.js +514 -99
- package/lib/subTitle.js +91 -91
- package/lib/submenu.js +2444 -123
- package/lib/switch.js +476 -21
- package/lib/tab-pane.js +4 -4
- package/lib/tabDialog.js +1544 -18
- package/lib/table-column.js +881 -33
- package/lib/table.js +4469 -426
- package/lib/tabs.js +425 -12
- package/lib/tag.js +4 -4
- package/lib/theme-chalk/src/index.scss +0 -3
- package/lib/time-picker.js +5013 -285
- package/lib/time-select.js +4945 -177
- package/lib/timeline-item.js +108 -108
- package/lib/timeline.js +82 -82
- package/lib/tooltip.js +2566 -41
- package/lib/transfer.js +2135 -141
- package/lib/transitions/collapse-transition.js +1 -1
- package/lib/tree.js +1372 -55
- package/lib/treeSelect.js +3420 -105
- package/lib/upload.js +1047 -28
- package/lib/utils/clickoutside.js +1 -1
- package/lib/utils/date-util.js +2 -2
- package/lib/utils/popup/index.js +2 -2
- package/lib/utils/popup/popup-manager.js +1 -1
- package/lib/utils/util.js +1 -1
- package/lib/utils/vdom.js +1 -1
- package/lib/utils/vue-popper.js +1 -1
- package/package.json +1 -1
- package/packages/theme-chalk/src/index.scss +0 -3
- package/src/index.js +1 -1
package/lib/avatar.js
CHANGED
|
@@ -82,117 +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 = 130);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
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
|
-
/***/ 143:
|
|
90
|
+
/***/ 130:
|
|
196
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
92
|
|
|
198
93
|
"use strict";
|
|
@@ -326,7 +221,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
326
221
|
// CONCATENATED MODULE: ./packages/avatar/src/main.vue?vue&type=script&lang=js
|
|
327
222
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
328
223
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
329
|
-
var componentNormalizer = __webpack_require__(
|
|
224
|
+
var componentNormalizer = __webpack_require__(2);
|
|
330
225
|
|
|
331
226
|
// CONCATENATED MODULE: ./packages/avatar/src/main.vue
|
|
332
227
|
var render, staticRenderFns
|
|
@@ -358,6 +253,111 @@ main.install = function (Vue) {
|
|
|
358
253
|
|
|
359
254
|
/* harmony default export */ var avatar = __webpack_exports__["default"] = (main);
|
|
360
255
|
|
|
256
|
+
/***/ }),
|
|
257
|
+
|
|
258
|
+
/***/ 2:
|
|
259
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
260
|
+
|
|
261
|
+
"use strict";
|
|
262
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
263
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
264
|
+
|
|
265
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
266
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
267
|
+
// be included in the final webpack user bundle.
|
|
268
|
+
|
|
269
|
+
function normalizeComponent(
|
|
270
|
+
scriptExports,
|
|
271
|
+
render,
|
|
272
|
+
staticRenderFns,
|
|
273
|
+
functionalTemplate,
|
|
274
|
+
injectStyles,
|
|
275
|
+
scopeId,
|
|
276
|
+
moduleIdentifier /* server only */,
|
|
277
|
+
shadowMode /* vue-cli only */
|
|
278
|
+
) {
|
|
279
|
+
// Vue.extend constructor export interop
|
|
280
|
+
var options =
|
|
281
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
282
|
+
|
|
283
|
+
// render functions
|
|
284
|
+
if (render) {
|
|
285
|
+
options.render = render
|
|
286
|
+
options.staticRenderFns = staticRenderFns
|
|
287
|
+
options._compiled = true
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// functional template
|
|
291
|
+
if (functionalTemplate) {
|
|
292
|
+
options.functional = true
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// scopedId
|
|
296
|
+
if (scopeId) {
|
|
297
|
+
options._scopeId = 'data-v-' + scopeId
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
var hook
|
|
301
|
+
if (moduleIdentifier) {
|
|
302
|
+
// server build
|
|
303
|
+
hook = function (context) {
|
|
304
|
+
// 2.3 injection
|
|
305
|
+
context =
|
|
306
|
+
context || // cached call
|
|
307
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
308
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
309
|
+
// 2.2 with runInNewContext: true
|
|
310
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
311
|
+
context = __VUE_SSR_CONTEXT__
|
|
312
|
+
}
|
|
313
|
+
// inject component styles
|
|
314
|
+
if (injectStyles) {
|
|
315
|
+
injectStyles.call(this, context)
|
|
316
|
+
}
|
|
317
|
+
// register component module identifier for async chunk inferrence
|
|
318
|
+
if (context && context._registeredComponents) {
|
|
319
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
// used by ssr in case component is cached and beforeCreate
|
|
323
|
+
// never gets called
|
|
324
|
+
options._ssrRegister = hook
|
|
325
|
+
} else if (injectStyles) {
|
|
326
|
+
hook = shadowMode
|
|
327
|
+
? function () {
|
|
328
|
+
injectStyles.call(
|
|
329
|
+
this,
|
|
330
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
331
|
+
)
|
|
332
|
+
}
|
|
333
|
+
: injectStyles
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
if (hook) {
|
|
337
|
+
if (options.functional) {
|
|
338
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
339
|
+
// go through the normalizer
|
|
340
|
+
options._injectStyles = hook
|
|
341
|
+
// register for functional component in vue file
|
|
342
|
+
var originalRender = options.render
|
|
343
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
344
|
+
hook.call(context)
|
|
345
|
+
return originalRender(h, context)
|
|
346
|
+
}
|
|
347
|
+
} else {
|
|
348
|
+
// inject component registration as beforeCreate hook
|
|
349
|
+
var existing = options.beforeCreate
|
|
350
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
return {
|
|
355
|
+
exports: scriptExports,
|
|
356
|
+
options: options
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
361
|
/***/ })
|
|
362
362
|
|
|
363
363
|
/******/ });
|
package/lib/backtop.js
CHANGED
|
@@ -82,117 +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 = 117);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
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
|
-
/***/ 128:
|
|
90
|
+
/***/ 117:
|
|
196
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
92
|
|
|
198
93
|
"use strict";
|
|
@@ -237,7 +132,7 @@ render._withStripped = true
|
|
|
237
132
|
// CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=template&id=51b1362e
|
|
238
133
|
|
|
239
134
|
// EXTERNAL MODULE: external "throttle-debounce/throttle"
|
|
240
|
-
var throttle_ = __webpack_require__(
|
|
135
|
+
var throttle_ = __webpack_require__(38);
|
|
241
136
|
var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
|
|
242
137
|
|
|
243
138
|
// 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
|
|
@@ -342,7 +237,7 @@ var easeInOutCubic = function easeInOutCubic(value) {
|
|
|
342
237
|
// CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=script&lang=js
|
|
343
238
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
344
239
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
345
|
-
var componentNormalizer = __webpack_require__(
|
|
240
|
+
var componentNormalizer = __webpack_require__(2);
|
|
346
241
|
|
|
347
242
|
// CONCATENATED MODULE: ./packages/backtop/src/main.vue
|
|
348
243
|
|
|
@@ -376,7 +271,112 @@ main.install = function (Vue) {
|
|
|
376
271
|
|
|
377
272
|
/***/ }),
|
|
378
273
|
|
|
379
|
-
/***/
|
|
274
|
+
/***/ 2:
|
|
275
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
276
|
+
|
|
277
|
+
"use strict";
|
|
278
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
279
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
280
|
+
|
|
281
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
282
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
283
|
+
// be included in the final webpack user bundle.
|
|
284
|
+
|
|
285
|
+
function normalizeComponent(
|
|
286
|
+
scriptExports,
|
|
287
|
+
render,
|
|
288
|
+
staticRenderFns,
|
|
289
|
+
functionalTemplate,
|
|
290
|
+
injectStyles,
|
|
291
|
+
scopeId,
|
|
292
|
+
moduleIdentifier /* server only */,
|
|
293
|
+
shadowMode /* vue-cli only */
|
|
294
|
+
) {
|
|
295
|
+
// Vue.extend constructor export interop
|
|
296
|
+
var options =
|
|
297
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
298
|
+
|
|
299
|
+
// render functions
|
|
300
|
+
if (render) {
|
|
301
|
+
options.render = render
|
|
302
|
+
options.staticRenderFns = staticRenderFns
|
|
303
|
+
options._compiled = true
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// functional template
|
|
307
|
+
if (functionalTemplate) {
|
|
308
|
+
options.functional = true
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// scopedId
|
|
312
|
+
if (scopeId) {
|
|
313
|
+
options._scopeId = 'data-v-' + scopeId
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
var hook
|
|
317
|
+
if (moduleIdentifier) {
|
|
318
|
+
// server build
|
|
319
|
+
hook = function (context) {
|
|
320
|
+
// 2.3 injection
|
|
321
|
+
context =
|
|
322
|
+
context || // cached call
|
|
323
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
324
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
325
|
+
// 2.2 with runInNewContext: true
|
|
326
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
327
|
+
context = __VUE_SSR_CONTEXT__
|
|
328
|
+
}
|
|
329
|
+
// inject component styles
|
|
330
|
+
if (injectStyles) {
|
|
331
|
+
injectStyles.call(this, context)
|
|
332
|
+
}
|
|
333
|
+
// register component module identifier for async chunk inferrence
|
|
334
|
+
if (context && context._registeredComponents) {
|
|
335
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
// used by ssr in case component is cached and beforeCreate
|
|
339
|
+
// never gets called
|
|
340
|
+
options._ssrRegister = hook
|
|
341
|
+
} else if (injectStyles) {
|
|
342
|
+
hook = shadowMode
|
|
343
|
+
? function () {
|
|
344
|
+
injectStyles.call(
|
|
345
|
+
this,
|
|
346
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
347
|
+
)
|
|
348
|
+
}
|
|
349
|
+
: injectStyles
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
if (hook) {
|
|
353
|
+
if (options.functional) {
|
|
354
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
355
|
+
// go through the normalizer
|
|
356
|
+
options._injectStyles = hook
|
|
357
|
+
// register for functional component in vue file
|
|
358
|
+
var originalRender = options.render
|
|
359
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
360
|
+
hook.call(context)
|
|
361
|
+
return originalRender(h, context)
|
|
362
|
+
}
|
|
363
|
+
} else {
|
|
364
|
+
// inject component registration as beforeCreate hook
|
|
365
|
+
var existing = options.beforeCreate
|
|
366
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
return {
|
|
371
|
+
exports: scriptExports,
|
|
372
|
+
options: options
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
/***/ }),
|
|
378
|
+
|
|
379
|
+
/***/ 38:
|
|
380
380
|
/***/ (function(module, exports) {
|
|
381
381
|
|
|
382
382
|
module.exports = require("throttle-debounce/throttle");
|