cy-element-ui 1.0.40 → 1.0.42
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/README.md +8 -8
- 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 +5225 -414
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +63 -8
- package/lib/dialog.js +1200 -22
- 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 +26561 -13368
- 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 +1431 -39
- package/lib/input.js +507 -37
- package/lib/link.js +4 -4
- package/lib/loading.js +804 -67
- 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/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 +355 -0
- 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 +880 -32
- package/lib/table.js +4467 -424
- package/lib/tabs.js +425 -12
- package/lib/tag.js +4 -4
- package/lib/theme-chalk/base.css +1 -0
- package/lib/theme-chalk/fileUpload.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/selectDisplayInput.css +1 -0
- package/lib/theme-chalk/subTitle.css +1 -1
- package/lib/theme-chalk/tabDialog.css +1 -1
- package/lib/theme-chalk/treeSelect.css +1 -1
- package/lib/theme-cy/base.css +1 -0
- package/lib/theme-cy/fileUpload.css +1 -1
- package/lib/theme-cy/index.css +1 -1
- package/lib/theme-cy/selectDisplayInput.css +1 -0
- package/lib/theme-cy/subTitle.css +1 -1
- package/lib/theme-cy/tabDialog.css +1 -1
- package/lib/theme-cy/treeSelect.css +1 -1
- 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/tree.js +1372 -55
- package/lib/treeSelect.js +3739 -321
- package/lib/upload.js +1047 -28
- package/package.json +4 -5
- package/packages/input-number/src/input-number.vue +7 -4
- package/packages/selectDisplayInput/index.js +8 -0
- package/packages/selectDisplayInput/src/main.vue +75 -0
- package/packages/theme-cy/src/base.scss +3 -0
- package/packages/theme-cy/src/index.scss +1 -0
- package/packages/theme-cy/src/selectDisplayInput.scss +76 -0
- package/packages/theme-cy/src/treeSelect.scss +9 -4
- package/packages/treeSelect/src/main.vue +79 -0
- package/src/index.js +7 -4
- package/types/element-ui.d.ts +5 -1
- package/types/selectDisplayInput.d.ts +5 -0
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
module.exports =
|
|
2
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
3
|
+
/******/ // The module cache
|
|
4
|
+
/******/ var installedModules = {};
|
|
5
|
+
/******/
|
|
6
|
+
/******/ // The require function
|
|
7
|
+
/******/ function __webpack_require__(moduleId) {
|
|
8
|
+
/******/
|
|
9
|
+
/******/ // Check if module is in cache
|
|
10
|
+
/******/ if(installedModules[moduleId]) {
|
|
11
|
+
/******/ return installedModules[moduleId].exports;
|
|
12
|
+
/******/ }
|
|
13
|
+
/******/ // Create a new module (and put it into the cache)
|
|
14
|
+
/******/ var module = installedModules[moduleId] = {
|
|
15
|
+
/******/ i: moduleId,
|
|
16
|
+
/******/ l: false,
|
|
17
|
+
/******/ exports: {}
|
|
18
|
+
/******/ };
|
|
19
|
+
/******/
|
|
20
|
+
/******/ // Execute the module function
|
|
21
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
22
|
+
/******/
|
|
23
|
+
/******/ // Flag the module as loaded
|
|
24
|
+
/******/ module.l = true;
|
|
25
|
+
/******/
|
|
26
|
+
/******/ // Return the exports of the module
|
|
27
|
+
/******/ return module.exports;
|
|
28
|
+
/******/ }
|
|
29
|
+
/******/
|
|
30
|
+
/******/
|
|
31
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
32
|
+
/******/ __webpack_require__.m = modules;
|
|
33
|
+
/******/
|
|
34
|
+
/******/ // expose the module cache
|
|
35
|
+
/******/ __webpack_require__.c = installedModules;
|
|
36
|
+
/******/
|
|
37
|
+
/******/ // define getter function for harmony exports
|
|
38
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
39
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
40
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
41
|
+
/******/ }
|
|
42
|
+
/******/ };
|
|
43
|
+
/******/
|
|
44
|
+
/******/ // define __esModule on exports
|
|
45
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
46
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
47
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
48
|
+
/******/ }
|
|
49
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
50
|
+
/******/ };
|
|
51
|
+
/******/
|
|
52
|
+
/******/ // create a fake namespace object
|
|
53
|
+
/******/ // mode & 1: value is a module id, require it
|
|
54
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
55
|
+
/******/ // mode & 4: return value when already ns object
|
|
56
|
+
/******/ // mode & 8|1: behave like require
|
|
57
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
58
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
59
|
+
/******/ if(mode & 8) return value;
|
|
60
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
61
|
+
/******/ var ns = Object.create(null);
|
|
62
|
+
/******/ __webpack_require__.r(ns);
|
|
63
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
64
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
65
|
+
/******/ return ns;
|
|
66
|
+
/******/ };
|
|
67
|
+
/******/
|
|
68
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
69
|
+
/******/ __webpack_require__.n = function(module) {
|
|
70
|
+
/******/ var getter = module && module.__esModule ?
|
|
71
|
+
/******/ function getDefault() { return module['default']; } :
|
|
72
|
+
/******/ function getModuleExports() { return module; };
|
|
73
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
74
|
+
/******/ return getter;
|
|
75
|
+
/******/ };
|
|
76
|
+
/******/
|
|
77
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
78
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
79
|
+
/******/
|
|
80
|
+
/******/ // __webpack_public_path__
|
|
81
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
82
|
+
/******/
|
|
83
|
+
/******/
|
|
84
|
+
/******/ // Load entry module and return exports
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 126);
|
|
86
|
+
/******/ })
|
|
87
|
+
/************************************************************************/
|
|
88
|
+
/******/ ({
|
|
89
|
+
|
|
90
|
+
/***/ 126:
|
|
91
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
"use strict";
|
|
94
|
+
// ESM COMPAT FLAG
|
|
95
|
+
__webpack_require__.r(__webpack_exports__);
|
|
96
|
+
|
|
97
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/selectDisplayInput/src/main.vue?vue&type=template&id=d797b09c
|
|
98
|
+
var render = function render() {
|
|
99
|
+
var _vm = this,
|
|
100
|
+
_c = _vm._self._c
|
|
101
|
+
return _c(
|
|
102
|
+
"div",
|
|
103
|
+
{ staticClass: "cy-select-display-input" },
|
|
104
|
+
[
|
|
105
|
+
_c(
|
|
106
|
+
"div",
|
|
107
|
+
{
|
|
108
|
+
staticClass: "select_display_input_box",
|
|
109
|
+
class: { text_active: _vm.cursor, cursor: _vm.cursor && _vm.value },
|
|
110
|
+
on: { click: _vm.handleInfo },
|
|
111
|
+
},
|
|
112
|
+
[
|
|
113
|
+
_c("div", { staticClass: "text" }, [
|
|
114
|
+
_c("span", [_vm._v(_vm._s(_vm.value))]),
|
|
115
|
+
]),
|
|
116
|
+
!_vm.value
|
|
117
|
+
? _c("span", { staticClass: "placeholder" }, [
|
|
118
|
+
_vm._v(_vm._s(_vm.placeholder)),
|
|
119
|
+
])
|
|
120
|
+
: _vm._e(),
|
|
121
|
+
_vm.showDelete
|
|
122
|
+
? _c("i", {
|
|
123
|
+
staticClass: "el-icon-circle-close delete",
|
|
124
|
+
on: {
|
|
125
|
+
click: function ($event) {
|
|
126
|
+
$event.stopPropagation()
|
|
127
|
+
return _vm.handleDelete.apply(null, arguments)
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
})
|
|
131
|
+
: _vm._e(),
|
|
132
|
+
]
|
|
133
|
+
),
|
|
134
|
+
_vm.showBtn
|
|
135
|
+
? _c(
|
|
136
|
+
"el-button",
|
|
137
|
+
{ attrs: { type: "primary" }, on: { click: _vm.handleClick } },
|
|
138
|
+
[_vm._v(_vm._s(_vm.btnText))]
|
|
139
|
+
)
|
|
140
|
+
: _vm._e(),
|
|
141
|
+
],
|
|
142
|
+
1
|
|
143
|
+
)
|
|
144
|
+
}
|
|
145
|
+
var staticRenderFns = []
|
|
146
|
+
render._withStripped = true
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
// CONCATENATED MODULE: ./packages/selectDisplayInput/src/main.vue?vue&type=template&id=d797b09c
|
|
150
|
+
|
|
151
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selectDisplayInput/src/main.vue?vue&type=script&lang=js
|
|
152
|
+
|
|
153
|
+
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
154
|
+
name: 'CySelectDisplayInput',
|
|
155
|
+
props: {
|
|
156
|
+
// 文本框 需要显示的内容
|
|
157
|
+
value: {
|
|
158
|
+
type: [Number, String],
|
|
159
|
+
default: ''
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
// 文本框 的提示文本
|
|
163
|
+
placeholder: {
|
|
164
|
+
type: String,
|
|
165
|
+
default: ''
|
|
166
|
+
},
|
|
167
|
+
|
|
168
|
+
// 选择按钮 的文字
|
|
169
|
+
btnText: {
|
|
170
|
+
type: String,
|
|
171
|
+
default: '选择'
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
// 选择按钮 的显示条件
|
|
175
|
+
showBtn: {
|
|
176
|
+
type: Boolean,
|
|
177
|
+
default: true
|
|
178
|
+
},
|
|
179
|
+
|
|
180
|
+
// 是否显示 删除按钮
|
|
181
|
+
showDelete: {
|
|
182
|
+
type: Boolean,
|
|
183
|
+
default: false
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
data: function data() {
|
|
187
|
+
return {};
|
|
188
|
+
},
|
|
189
|
+
|
|
190
|
+
computed: {
|
|
191
|
+
// 文本框 是否需要点击,如果为true,输入框中的字体会变蓝并将鼠标变为小手
|
|
192
|
+
cursor: function cursor() {
|
|
193
|
+
// 判断父组件是否坚挺了info事件
|
|
194
|
+
return this.$listeners.info;
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
created: function created() {},
|
|
198
|
+
|
|
199
|
+
methods: {
|
|
200
|
+
handleInfo: function handleInfo() {
|
|
201
|
+
if (this.value) {
|
|
202
|
+
this.$emit('info');
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
handleClick: function handleClick() {
|
|
206
|
+
this.$emit('click');
|
|
207
|
+
},
|
|
208
|
+
handleDelete: function handleDelete() {
|
|
209
|
+
this.$emit('delete');
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
// CONCATENATED MODULE: ./packages/selectDisplayInput/src/main.vue?vue&type=script&lang=js
|
|
214
|
+
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
215
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
216
|
+
var componentNormalizer = __webpack_require__(2);
|
|
217
|
+
|
|
218
|
+
// CONCATENATED MODULE: ./packages/selectDisplayInput/src/main.vue
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
/* normalize component */
|
|
225
|
+
|
|
226
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
227
|
+
src_mainvue_type_script_lang_js,
|
|
228
|
+
render,
|
|
229
|
+
staticRenderFns,
|
|
230
|
+
false,
|
|
231
|
+
null,
|
|
232
|
+
null,
|
|
233
|
+
null
|
|
234
|
+
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
/* harmony default export */ var main = (component.exports);
|
|
238
|
+
// CONCATENATED MODULE: ./packages/selectDisplayInput/index.js
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
/* istanbul ignore next */
|
|
242
|
+
main.install = function (Vue) {
|
|
243
|
+
Vue.component(main.name, main);
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
/* harmony default export */ var selectDisplayInput = __webpack_exports__["default"] = (main);
|
|
247
|
+
|
|
248
|
+
/***/ }),
|
|
249
|
+
|
|
250
|
+
/***/ 2:
|
|
251
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
252
|
+
|
|
253
|
+
"use strict";
|
|
254
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
255
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
256
|
+
|
|
257
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
258
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
259
|
+
// be included in the final webpack user bundle.
|
|
260
|
+
|
|
261
|
+
function normalizeComponent(
|
|
262
|
+
scriptExports,
|
|
263
|
+
render,
|
|
264
|
+
staticRenderFns,
|
|
265
|
+
functionalTemplate,
|
|
266
|
+
injectStyles,
|
|
267
|
+
scopeId,
|
|
268
|
+
moduleIdentifier /* server only */,
|
|
269
|
+
shadowMode /* vue-cli only */
|
|
270
|
+
) {
|
|
271
|
+
// Vue.extend constructor export interop
|
|
272
|
+
var options =
|
|
273
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
274
|
+
|
|
275
|
+
// render functions
|
|
276
|
+
if (render) {
|
|
277
|
+
options.render = render
|
|
278
|
+
options.staticRenderFns = staticRenderFns
|
|
279
|
+
options._compiled = true
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// functional template
|
|
283
|
+
if (functionalTemplate) {
|
|
284
|
+
options.functional = true
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// scopedId
|
|
288
|
+
if (scopeId) {
|
|
289
|
+
options._scopeId = 'data-v-' + scopeId
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
var hook
|
|
293
|
+
if (moduleIdentifier) {
|
|
294
|
+
// server build
|
|
295
|
+
hook = function (context) {
|
|
296
|
+
// 2.3 injection
|
|
297
|
+
context =
|
|
298
|
+
context || // cached call
|
|
299
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
300
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
301
|
+
// 2.2 with runInNewContext: true
|
|
302
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
303
|
+
context = __VUE_SSR_CONTEXT__
|
|
304
|
+
}
|
|
305
|
+
// inject component styles
|
|
306
|
+
if (injectStyles) {
|
|
307
|
+
injectStyles.call(this, context)
|
|
308
|
+
}
|
|
309
|
+
// register component module identifier for async chunk inferrence
|
|
310
|
+
if (context && context._registeredComponents) {
|
|
311
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
// used by ssr in case component is cached and beforeCreate
|
|
315
|
+
// never gets called
|
|
316
|
+
options._ssrRegister = hook
|
|
317
|
+
} else if (injectStyles) {
|
|
318
|
+
hook = shadowMode
|
|
319
|
+
? function () {
|
|
320
|
+
injectStyles.call(
|
|
321
|
+
this,
|
|
322
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
323
|
+
)
|
|
324
|
+
}
|
|
325
|
+
: injectStyles
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
if (hook) {
|
|
329
|
+
if (options.functional) {
|
|
330
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
331
|
+
// go through the normalizer
|
|
332
|
+
options._injectStyles = hook
|
|
333
|
+
// register for functional component in vue file
|
|
334
|
+
var originalRender = options.render
|
|
335
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
336
|
+
hook.call(context)
|
|
337
|
+
return originalRender(h, context)
|
|
338
|
+
}
|
|
339
|
+
} else {
|
|
340
|
+
// inject component registration as beforeCreate hook
|
|
341
|
+
var existing = options.beforeCreate
|
|
342
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
return {
|
|
347
|
+
exports: scriptExports,
|
|
348
|
+
options: options
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
/***/ })
|
|
354
|
+
|
|
355
|
+
/******/ });
|
package/lib/skeleton-item.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 2:
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -248,7 +248,7 @@ img_placeholdervue_type_template_id_ba3724d8_render._withStripped = true
|
|
|
248
248
|
// CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue?vue&type=script&lang=js
|
|
249
249
|
/* harmony default export */ var src_img_placeholdervue_type_script_lang_js = (img_placeholdervue_type_script_lang_js);
|
|
250
250
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
251
|
-
var componentNormalizer = __webpack_require__(
|
|
251
|
+
var componentNormalizer = __webpack_require__(2);
|
|
252
252
|
|
|
253
253
|
// CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue
|
|
254
254
|
|
package/lib/skeleton.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 = 122);
|
|
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
|
-
/***/ 133:
|
|
90
|
+
/***/ 122:
|
|
196
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
92
|
|
|
198
93
|
"use strict";
|
|
@@ -308,7 +203,7 @@ render._withStripped = true
|
|
|
308
203
|
// CONCATENATED MODULE: ./packages/skeleton/src/index.vue?vue&type=script&lang=js
|
|
309
204
|
/* harmony default export */ var skeleton_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
310
205
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
311
|
-
var componentNormalizer = __webpack_require__(
|
|
206
|
+
var componentNormalizer = __webpack_require__(2);
|
|
312
207
|
|
|
313
208
|
// CONCATENATED MODULE: ./packages/skeleton/src/index.vue
|
|
314
209
|
|
|
@@ -340,6 +235,111 @@ src.install = function (Vue) {
|
|
|
340
235
|
|
|
341
236
|
/* harmony default export */ var skeleton = __webpack_exports__["default"] = (src);
|
|
342
237
|
|
|
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
|
/******/ });
|