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
|
@@ -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 = 137);
|
|
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
|
+
/***/ 137:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
|
@@ -318,7 +318,7 @@ render._withStripped = true
|
|
|
318
318
|
// CONCATENATED MODULE: ./packages/selectDisplayInput/src/main.vue?vue&type=script&lang=js
|
|
319
319
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
320
320
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
321
|
-
var componentNormalizer = __webpack_require__(
|
|
321
|
+
var componentNormalizer = __webpack_require__(0);
|
|
322
322
|
|
|
323
323
|
// CONCATENATED MODULE: ./packages/selectDisplayInput/src/main.vue
|
|
324
324
|
|
package/lib/skeleton-item.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 = 72);
|
|
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
|
+
/***/ 72:
|
|
91
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
197
|
|
|
93
198
|
"use strict";
|
|
@@ -143,7 +248,7 @@ img_placeholdervue_type_template_id_ba3724d8_render._withStripped = true
|
|
|
143
248
|
// CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue?vue&type=script&lang=js
|
|
144
249
|
/* harmony default export */ var src_img_placeholdervue_type_script_lang_js = (img_placeholdervue_type_script_lang_js);
|
|
145
250
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
146
|
-
var componentNormalizer = __webpack_require__(
|
|
251
|
+
var componentNormalizer = __webpack_require__(0);
|
|
147
252
|
|
|
148
253
|
// CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue
|
|
149
254
|
|
|
@@ -212,111 +317,6 @@ item.install = function (Vue) {
|
|
|
212
317
|
|
|
213
318
|
/* harmony default export */ var skeleton_item = __webpack_exports__["default"] = (item);
|
|
214
319
|
|
|
215
|
-
/***/ }),
|
|
216
|
-
|
|
217
|
-
/***/ 2:
|
|
218
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
219
|
-
|
|
220
|
-
"use strict";
|
|
221
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
222
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
223
|
-
|
|
224
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
225
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
226
|
-
// be included in the final webpack user bundle.
|
|
227
|
-
|
|
228
|
-
function normalizeComponent(
|
|
229
|
-
scriptExports,
|
|
230
|
-
render,
|
|
231
|
-
staticRenderFns,
|
|
232
|
-
functionalTemplate,
|
|
233
|
-
injectStyles,
|
|
234
|
-
scopeId,
|
|
235
|
-
moduleIdentifier /* server only */,
|
|
236
|
-
shadowMode /* vue-cli only */
|
|
237
|
-
) {
|
|
238
|
-
// Vue.extend constructor export interop
|
|
239
|
-
var options =
|
|
240
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
241
|
-
|
|
242
|
-
// render functions
|
|
243
|
-
if (render) {
|
|
244
|
-
options.render = render
|
|
245
|
-
options.staticRenderFns = staticRenderFns
|
|
246
|
-
options._compiled = true
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// functional template
|
|
250
|
-
if (functionalTemplate) {
|
|
251
|
-
options.functional = true
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// scopedId
|
|
255
|
-
if (scopeId) {
|
|
256
|
-
options._scopeId = 'data-v-' + scopeId
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
var hook
|
|
260
|
-
if (moduleIdentifier) {
|
|
261
|
-
// server build
|
|
262
|
-
hook = function (context) {
|
|
263
|
-
// 2.3 injection
|
|
264
|
-
context =
|
|
265
|
-
context || // cached call
|
|
266
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
267
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
268
|
-
// 2.2 with runInNewContext: true
|
|
269
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
270
|
-
context = __VUE_SSR_CONTEXT__
|
|
271
|
-
}
|
|
272
|
-
// inject component styles
|
|
273
|
-
if (injectStyles) {
|
|
274
|
-
injectStyles.call(this, context)
|
|
275
|
-
}
|
|
276
|
-
// register component module identifier for async chunk inferrence
|
|
277
|
-
if (context && context._registeredComponents) {
|
|
278
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
// used by ssr in case component is cached and beforeCreate
|
|
282
|
-
// never gets called
|
|
283
|
-
options._ssrRegister = hook
|
|
284
|
-
} else if (injectStyles) {
|
|
285
|
-
hook = shadowMode
|
|
286
|
-
? function () {
|
|
287
|
-
injectStyles.call(
|
|
288
|
-
this,
|
|
289
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
290
|
-
)
|
|
291
|
-
}
|
|
292
|
-
: injectStyles
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
if (hook) {
|
|
296
|
-
if (options.functional) {
|
|
297
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
298
|
-
// go through the normalizer
|
|
299
|
-
options._injectStyles = hook
|
|
300
|
-
// register for functional component in vue file
|
|
301
|
-
var originalRender = options.render
|
|
302
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
303
|
-
hook.call(context)
|
|
304
|
-
return originalRender(h, context)
|
|
305
|
-
}
|
|
306
|
-
} else {
|
|
307
|
-
// inject component registration as beforeCreate hook
|
|
308
|
-
var existing = options.beforeCreate
|
|
309
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
return {
|
|
314
|
-
exports: scriptExports,
|
|
315
|
-
options: options
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
|
|
320
320
|
/***/ })
|
|
321
321
|
|
|
322
322
|
/******/ });
|
package/lib/skeleton.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 = 133);
|
|
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
|
+
/***/ 133:
|
|
91
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
197
|
|
|
93
198
|
"use strict";
|
|
@@ -203,7 +308,7 @@ render._withStripped = true
|
|
|
203
308
|
// CONCATENATED MODULE: ./packages/skeleton/src/index.vue?vue&type=script&lang=js
|
|
204
309
|
/* harmony default export */ var skeleton_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
205
310
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
206
|
-
var componentNormalizer = __webpack_require__(
|
|
311
|
+
var componentNormalizer = __webpack_require__(0);
|
|
207
312
|
|
|
208
313
|
// CONCATENATED MODULE: ./packages/skeleton/src/index.vue
|
|
209
314
|
|
|
@@ -235,111 +340,6 @@ src.install = function (Vue) {
|
|
|
235
340
|
|
|
236
341
|
/* harmony default export */ var skeleton = __webpack_exports__["default"] = (src);
|
|
237
342
|
|
|
238
|
-
/***/ }),
|
|
239
|
-
|
|
240
|
-
/***/ 2:
|
|
241
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
242
|
-
|
|
243
|
-
"use strict";
|
|
244
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
245
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
246
|
-
|
|
247
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
248
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
249
|
-
// be included in the final webpack user bundle.
|
|
250
|
-
|
|
251
|
-
function normalizeComponent(
|
|
252
|
-
scriptExports,
|
|
253
|
-
render,
|
|
254
|
-
staticRenderFns,
|
|
255
|
-
functionalTemplate,
|
|
256
|
-
injectStyles,
|
|
257
|
-
scopeId,
|
|
258
|
-
moduleIdentifier /* server only */,
|
|
259
|
-
shadowMode /* vue-cli only */
|
|
260
|
-
) {
|
|
261
|
-
// Vue.extend constructor export interop
|
|
262
|
-
var options =
|
|
263
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
264
|
-
|
|
265
|
-
// render functions
|
|
266
|
-
if (render) {
|
|
267
|
-
options.render = render
|
|
268
|
-
options.staticRenderFns = staticRenderFns
|
|
269
|
-
options._compiled = true
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
// functional template
|
|
273
|
-
if (functionalTemplate) {
|
|
274
|
-
options.functional = true
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
// scopedId
|
|
278
|
-
if (scopeId) {
|
|
279
|
-
options._scopeId = 'data-v-' + scopeId
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
var hook
|
|
283
|
-
if (moduleIdentifier) {
|
|
284
|
-
// server build
|
|
285
|
-
hook = function (context) {
|
|
286
|
-
// 2.3 injection
|
|
287
|
-
context =
|
|
288
|
-
context || // cached call
|
|
289
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
290
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
291
|
-
// 2.2 with runInNewContext: true
|
|
292
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
293
|
-
context = __VUE_SSR_CONTEXT__
|
|
294
|
-
}
|
|
295
|
-
// inject component styles
|
|
296
|
-
if (injectStyles) {
|
|
297
|
-
injectStyles.call(this, context)
|
|
298
|
-
}
|
|
299
|
-
// register component module identifier for async chunk inferrence
|
|
300
|
-
if (context && context._registeredComponents) {
|
|
301
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
// used by ssr in case component is cached and beforeCreate
|
|
305
|
-
// never gets called
|
|
306
|
-
options._ssrRegister = hook
|
|
307
|
-
} else if (injectStyles) {
|
|
308
|
-
hook = shadowMode
|
|
309
|
-
? function () {
|
|
310
|
-
injectStyles.call(
|
|
311
|
-
this,
|
|
312
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
313
|
-
)
|
|
314
|
-
}
|
|
315
|
-
: injectStyles
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
if (hook) {
|
|
319
|
-
if (options.functional) {
|
|
320
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
321
|
-
// go through the normalizer
|
|
322
|
-
options._injectStyles = hook
|
|
323
|
-
// register for functional component in vue file
|
|
324
|
-
var originalRender = options.render
|
|
325
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
326
|
-
hook.call(context)
|
|
327
|
-
return originalRender(h, context)
|
|
328
|
-
}
|
|
329
|
-
} else {
|
|
330
|
-
// inject component registration as beforeCreate hook
|
|
331
|
-
var existing = options.beforeCreate
|
|
332
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
return {
|
|
337
|
-
exports: scriptExports,
|
|
338
|
-
options: options
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
|
|
343
343
|
/***/ })
|
|
344
344
|
|
|
345
345
|
/******/ });
|