@mdsfe/mds-ui 0.4.9-beta.4 → 0.4.9
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/dist/affix.js +21 -26
- package/dist/alert.js +21 -26
- package/dist/anchor.js +33 -41
- package/dist/avatar.js +21 -26
- package/dist/backtop.js +21 -26
- package/dist/badge.js +26 -31
- package/dist/bordershadow.js +21 -26
- package/dist/breadcrumb.js +33 -41
- package/dist/button.js +33 -41
- package/dist/card.js +33 -41
- package/dist/carousel.js +33 -41
- package/dist/cascader.js +57 -74
- package/dist/cascaderpanel.js +40 -51
- package/dist/checkbox.js +33 -41
- package/dist/col.js +33 -41
- package/dist/collapse.js +33 -41
- package/dist/color.js +21 -26
- package/dist/datepicker.js +148 -186
- package/dist/divider.js +21 -26
- package/dist/drawer.js +21 -26
- package/dist/dropdown.js +33 -41
- package/dist/empty.js +21 -26
- package/dist/font.js +21 -26
- package/dist/form.js +33 -41
- package/dist/icon.js +21 -26
- package/dist/index.js +19 -15
- package/dist/input.js +43 -57
- package/dist/inputnumber.js +21 -26
- package/dist/layout.js +69 -86
- package/dist/list.js +33 -41
- package/dist/loading.js +21 -26
- package/dist/mds-ui.min.css +1 -1
- package/dist/mds-ui.min.js +71200 -1
- package/dist/menu.js +57 -71
- package/dist/message.js +45 -56
- package/dist/modal.js +21 -26
- package/dist/notification.js +38 -46
- package/dist/pagination.js +45 -56
- package/dist/popconfirm.js +1 -1
- package/dist/popover.js +21 -26
- package/dist/progress.js +46 -57
- package/dist/radio.js +36 -44
- package/dist/rate.js +33 -41
- package/dist/row.js +33 -41
- package/dist/select.js +64 -81
- package/dist/slider.js +37 -45
- package/dist/slottable.js +31 -39
- package/dist/steps.js +1 -1
- package/dist/style/badge.css +2 -2
- package/dist/style/base.css +1 -1
- package/dist/style/icon.css +1 -1
- package/dist/style/index.css +1 -1
- package/dist/style/notification.css +4 -4
- package/dist/style/rate.css +3 -3
- package/dist/switch.js +21 -26
- package/dist/table.js +136 -171
- package/dist/tabs.js +75 -98
- package/dist/tag.js +21 -26
- package/dist/text.js +52 -66
- package/dist/timeline.js +33 -41
- package/dist/timepicker.js +51 -68
- package/dist/tooltip.js +1 -1
- package/dist/transfer.js +45 -56
- package/dist/transition.js +1 -1
- package/dist/tree.js +33 -41
- package/dist/typography.js +33 -41
- package/dist/upload.js +74 -94
- package/package.json +9 -10
- package/CHANGELOG.md +0 -1057
- package/dist/font/iconfont.6287649.ttf +0 -1
- package/dist/font/iconfont.badd670.woff +0 -1
- package/dist/font/iconfont.c1b8fe0.woff2 +0 -1
- package/dist/mds-ui.common.css +0 -7
- package/dist/mds-ui.common.js +0 -1
- package/dist/style/affix.js +0 -1
- package/dist/style/alert.js +0 -1
- package/dist/style/anchor.js +0 -1
- package/dist/style/avatar.js +0 -1
- package/dist/style/backtop.js +0 -1
- package/dist/style/badge.js +0 -1
- package/dist/style/base.js +0 -1
- package/dist/style/bordershadow.js +0 -1
- package/dist/style/breadcrumb.js +0 -1
- package/dist/style/button.js +0 -1
- package/dist/style/card.js +0 -1
- package/dist/style/carousel.js +0 -1
- package/dist/style/cascader.js +0 -1
- package/dist/style/cascaderpanel.js +0 -1
- package/dist/style/checkbox.js +0 -1
- package/dist/style/col.js +0 -1
- package/dist/style/collapse.js +0 -1
- package/dist/style/color.js +0 -1
- package/dist/style/datepicker.js +0 -1
- package/dist/style/divider.js +0 -1
- package/dist/style/drawer.js +0 -1
- package/dist/style/dropdown.js +0 -1
- package/dist/style/empty.js +0 -1
- package/dist/style/font.js +0 -1
- package/dist/style/form.js +0 -1
- package/dist/style/icon.js +0 -1
- package/dist/style/index.js +0 -1
- package/dist/style/input.js +0 -1
- package/dist/style/inputnumber.js +0 -1
- package/dist/style/layout.js +0 -1
- package/dist/style/list.js +0 -1
- package/dist/style/loading.js +0 -1
- package/dist/style/menu.js +0 -1
- package/dist/style/message.js +0 -1
- package/dist/style/modal.js +0 -1
- package/dist/style/notification.js +0 -1
- package/dist/style/pagination.js +0 -1
- package/dist/style/popconfirm.js +0 -1
- package/dist/style/popover.js +0 -1
- package/dist/style/progress.js +0 -1
- package/dist/style/radio.js +0 -1
- package/dist/style/rate.js +0 -1
- package/dist/style/row.js +0 -1
- package/dist/style/select.js +0 -1
- package/dist/style/slider.js +0 -1
- package/dist/style/slottable.js +0 -1
- package/dist/style/steps.js +0 -1
- package/dist/style/switch.js +0 -1
- package/dist/style/table.js +0 -1
- package/dist/style/tabs.js +0 -1
- package/dist/style/tag.js +0 -1
- package/dist/style/text.js +0 -1
- package/dist/style/timeline.js +0 -1
- package/dist/style/timepicker.js +0 -1
- package/dist/style/tooltip.js +0 -1
- package/dist/style/transfer.js +0 -1
- package/dist/style/transition.js +0 -1
- package/dist/style/tree.js +0 -1
- package/dist/style/typography.js +0 -1
- package/dist/style/upload.js +0 -1
package/dist/affix.js
CHANGED
|
@@ -87,7 +87,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
87
87
|
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // __webpack_public_path__
|
|
90
|
-
/******/ __webpack_require__.p = "";
|
|
90
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
91
91
|
/******/
|
|
92
92
|
/******/
|
|
93
93
|
/******/ // Load entry module and return exports
|
|
@@ -107,20 +107,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
107
107
|
// This module is a runtime utility for cleaner component module output and will
|
|
108
108
|
// be included in the final webpack user bundle.
|
|
109
109
|
|
|
110
|
-
function normalizeComponent
|
|
110
|
+
function normalizeComponent(
|
|
111
111
|
scriptExports,
|
|
112
112
|
render,
|
|
113
113
|
staticRenderFns,
|
|
114
114
|
functionalTemplate,
|
|
115
115
|
injectStyles,
|
|
116
116
|
scopeId,
|
|
117
|
-
moduleIdentifier
|
|
117
|
+
moduleIdentifier /* server only */,
|
|
118
118
|
shadowMode /* vue-cli only */
|
|
119
119
|
) {
|
|
120
120
|
// Vue.extend constructor export interop
|
|
121
|
-
var options =
|
|
122
|
-
? scriptExports.options
|
|
123
|
-
: scriptExports
|
|
121
|
+
var options =
|
|
122
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
124
123
|
|
|
125
124
|
// render functions
|
|
126
125
|
if (render) {
|
|
@@ -140,7 +139,8 @@ function normalizeComponent (
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
var hook
|
|
143
|
-
if (moduleIdentifier) {
|
|
142
|
+
if (moduleIdentifier) {
|
|
143
|
+
// server build
|
|
144
144
|
hook = function (context) {
|
|
145
145
|
// 2.3 injection
|
|
146
146
|
context =
|
|
@@ -166,11 +166,11 @@ function normalizeComponent (
|
|
|
166
166
|
} else if (injectStyles) {
|
|
167
167
|
hook = shadowMode
|
|
168
168
|
? function () {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
injectStyles.call(
|
|
170
|
+
this,
|
|
171
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
174
|
: injectStyles
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -181,16 +181,14 @@ function normalizeComponent (
|
|
|
181
181
|
options._injectStyles = hook
|
|
182
182
|
// register for functional component in vue file
|
|
183
183
|
var originalRender = options.render
|
|
184
|
-
options.render = function renderWithStyleInjection
|
|
184
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
185
185
|
hook.call(context)
|
|
186
186
|
return originalRender(h, context)
|
|
187
187
|
}
|
|
188
188
|
} else {
|
|
189
189
|
// inject component registration as beforeCreate hook
|
|
190
190
|
var existing = options.beforeCreate
|
|
191
|
-
options.beforeCreate = existing
|
|
192
|
-
? [].concat(existing, hook)
|
|
193
|
-
: [hook]
|
|
191
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
194
|
|
|
@@ -210,7 +208,7 @@ function normalizeComponent (
|
|
|
210
208
|
// ESM COMPAT FLAG
|
|
211
209
|
__webpack_require__.r(__webpack_exports__);
|
|
212
210
|
|
|
213
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/affix/affix.vue?vue&type=template&id=
|
|
211
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/affix/affix.vue?vue&type=template&id=462bd895
|
|
214
212
|
var render = function () {
|
|
215
213
|
var _vm = this
|
|
216
214
|
var _h = _vm.$createElement
|
|
@@ -239,7 +237,7 @@ var staticRenderFns = []
|
|
|
239
237
|
render._withStripped = true
|
|
240
238
|
|
|
241
239
|
|
|
242
|
-
// CONCATENATED MODULE: ./components/affix/affix.vue?vue&type=template&id=
|
|
240
|
+
// CONCATENATED MODULE: ./components/affix/affix.vue?vue&type=template&id=462bd895
|
|
243
241
|
|
|
244
242
|
// EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
|
|
245
243
|
var defineProperty_ = __webpack_require__(3);
|
|
@@ -249,7 +247,7 @@ var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_)
|
|
|
249
247
|
var getScroll_ = __webpack_require__(43);
|
|
250
248
|
var getScroll_default = /*#__PURE__*/__webpack_require__.n(getScroll_);
|
|
251
249
|
|
|
252
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/affix/affix.vue?vue&type=script&lang=js
|
|
250
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/affix/affix.vue?vue&type=script&lang=js
|
|
253
251
|
|
|
254
252
|
//
|
|
255
253
|
//
|
|
@@ -287,7 +285,7 @@ var affixvue_type_script_lang_js_getOffset = function getOffset(element, target)
|
|
|
287
285
|
};
|
|
288
286
|
};
|
|
289
287
|
|
|
290
|
-
/* harmony default export */ var
|
|
288
|
+
/* harmony default export */ var affixvue_type_script_lang_js = ({
|
|
291
289
|
name: 'MdsAffix',
|
|
292
290
|
props: {
|
|
293
291
|
prefixCls: {
|
|
@@ -429,8 +427,8 @@ var affixvue_type_script_lang_js_getOffset = function getOffset(element, target)
|
|
|
429
427
|
}
|
|
430
428
|
}
|
|
431
429
|
});
|
|
432
|
-
// CONCATENATED MODULE: ./components/affix/affix.vue?vue&type=script&lang=js
|
|
433
|
-
/* harmony default export */ var
|
|
430
|
+
// CONCATENATED MODULE: ./components/affix/affix.vue?vue&type=script&lang=js
|
|
431
|
+
/* harmony default export */ var affix_affixvue_type_script_lang_js = (affixvue_type_script_lang_js);
|
|
434
432
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
435
433
|
var componentNormalizer = __webpack_require__(0);
|
|
436
434
|
|
|
@@ -443,7 +441,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
443
441
|
/* normalize component */
|
|
444
442
|
|
|
445
443
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
446
|
-
|
|
444
|
+
affix_affixvue_type_script_lang_js,
|
|
447
445
|
render,
|
|
448
446
|
staticRenderFns,
|
|
449
447
|
false,
|
|
@@ -453,9 +451,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
453
451
|
|
|
454
452
|
)
|
|
455
453
|
|
|
456
|
-
/* hot reload */
|
|
457
|
-
if (false) { var api; }
|
|
458
|
-
component.options.__file = "components/affix/affix.vue"
|
|
459
454
|
/* harmony default export */ var affix_affix = (component.exports);
|
|
460
455
|
// EXTERNAL MODULE: ./components/style/mixins-only.less
|
|
461
456
|
var mixins_only = __webpack_require__(140);
|
package/dist/alert.js
CHANGED
|
@@ -87,7 +87,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
87
87
|
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // __webpack_public_path__
|
|
90
|
-
/******/ __webpack_require__.p = "";
|
|
90
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
91
91
|
/******/
|
|
92
92
|
/******/
|
|
93
93
|
/******/ // Load entry module and return exports
|
|
@@ -107,20 +107,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
107
107
|
// This module is a runtime utility for cleaner component module output and will
|
|
108
108
|
// be included in the final webpack user bundle.
|
|
109
109
|
|
|
110
|
-
function normalizeComponent
|
|
110
|
+
function normalizeComponent(
|
|
111
111
|
scriptExports,
|
|
112
112
|
render,
|
|
113
113
|
staticRenderFns,
|
|
114
114
|
functionalTemplate,
|
|
115
115
|
injectStyles,
|
|
116
116
|
scopeId,
|
|
117
|
-
moduleIdentifier
|
|
117
|
+
moduleIdentifier /* server only */,
|
|
118
118
|
shadowMode /* vue-cli only */
|
|
119
119
|
) {
|
|
120
120
|
// Vue.extend constructor export interop
|
|
121
|
-
var options =
|
|
122
|
-
? scriptExports.options
|
|
123
|
-
: scriptExports
|
|
121
|
+
var options =
|
|
122
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
124
123
|
|
|
125
124
|
// render functions
|
|
126
125
|
if (render) {
|
|
@@ -140,7 +139,8 @@ function normalizeComponent (
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
var hook
|
|
143
|
-
if (moduleIdentifier) {
|
|
142
|
+
if (moduleIdentifier) {
|
|
143
|
+
// server build
|
|
144
144
|
hook = function (context) {
|
|
145
145
|
// 2.3 injection
|
|
146
146
|
context =
|
|
@@ -166,11 +166,11 @@ function normalizeComponent (
|
|
|
166
166
|
} else if (injectStyles) {
|
|
167
167
|
hook = shadowMode
|
|
168
168
|
? function () {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
injectStyles.call(
|
|
170
|
+
this,
|
|
171
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
174
|
: injectStyles
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -181,16 +181,14 @@ function normalizeComponent (
|
|
|
181
181
|
options._injectStyles = hook
|
|
182
182
|
// register for functional component in vue file
|
|
183
183
|
var originalRender = options.render
|
|
184
|
-
options.render = function renderWithStyleInjection
|
|
184
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
185
185
|
hook.call(context)
|
|
186
186
|
return originalRender(h, context)
|
|
187
187
|
}
|
|
188
188
|
} else {
|
|
189
189
|
// inject component registration as beforeCreate hook
|
|
190
190
|
var existing = options.beforeCreate
|
|
191
|
-
options.beforeCreate = existing
|
|
192
|
-
? [].concat(existing, hook)
|
|
193
|
-
: [hook]
|
|
191
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
194
|
|
|
@@ -219,7 +217,7 @@ var style = __webpack_require__(142);
|
|
|
219
217
|
// CONCATENATED MODULE: ./components/alert/style/index.js
|
|
220
218
|
|
|
221
219
|
|
|
222
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/alert/alert.vue?vue&type=template&id=
|
|
220
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/alert/alert.vue?vue&type=template&id=03f20c75
|
|
223
221
|
var render = function () {
|
|
224
222
|
var _vm = this
|
|
225
223
|
var _h = _vm.$createElement
|
|
@@ -313,9 +311,9 @@ var staticRenderFns = []
|
|
|
313
311
|
render._withStripped = true
|
|
314
312
|
|
|
315
313
|
|
|
316
|
-
// CONCATENATED MODULE: ./components/alert/alert.vue?vue&type=template&id=
|
|
314
|
+
// CONCATENATED MODULE: ./components/alert/alert.vue?vue&type=template&id=03f20c75
|
|
317
315
|
|
|
318
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/alert/alert.vue?vue&type=script&lang=js
|
|
316
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/alert/alert.vue?vue&type=script&lang=js
|
|
319
317
|
//
|
|
320
318
|
//
|
|
321
319
|
//
|
|
@@ -354,7 +352,7 @@ var TYPE_CLASSES_MAP = {
|
|
|
354
352
|
'question': 'line-question-circle'
|
|
355
353
|
};
|
|
356
354
|
|
|
357
|
-
/* harmony default export */ var
|
|
355
|
+
/* harmony default export */ var alertvue_type_script_lang_js = ({
|
|
358
356
|
name: 'MdsAlert',
|
|
359
357
|
props: {
|
|
360
358
|
prefixCls: {
|
|
@@ -418,8 +416,8 @@ var TYPE_CLASSES_MAP = {
|
|
|
418
416
|
}
|
|
419
417
|
}
|
|
420
418
|
});
|
|
421
|
-
// CONCATENATED MODULE: ./components/alert/alert.vue?vue&type=script&lang=js
|
|
422
|
-
/* harmony default export */ var
|
|
419
|
+
// CONCATENATED MODULE: ./components/alert/alert.vue?vue&type=script&lang=js
|
|
420
|
+
/* harmony default export */ var alert_alertvue_type_script_lang_js = (alertvue_type_script_lang_js);
|
|
423
421
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
424
422
|
var componentNormalizer = __webpack_require__(0);
|
|
425
423
|
|
|
@@ -432,7 +430,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
432
430
|
/* normalize component */
|
|
433
431
|
|
|
434
432
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
435
|
-
|
|
433
|
+
alert_alertvue_type_script_lang_js,
|
|
436
434
|
render,
|
|
437
435
|
staticRenderFns,
|
|
438
436
|
false,
|
|
@@ -442,9 +440,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
442
440
|
|
|
443
441
|
)
|
|
444
442
|
|
|
445
|
-
/* hot reload */
|
|
446
|
-
if (false) { var api; }
|
|
447
|
-
component.options.__file = "components/alert/alert.vue"
|
|
448
443
|
/* harmony default export */ var alert_alert = (component.exports);
|
|
449
444
|
// CONCATENATED MODULE: ./components/alert/index.js
|
|
450
445
|
|
package/dist/anchor.js
CHANGED
|
@@ -87,7 +87,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
87
87
|
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // __webpack_public_path__
|
|
90
|
-
/******/ __webpack_require__.p = "";
|
|
90
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
91
91
|
/******/
|
|
92
92
|
/******/
|
|
93
93
|
/******/ // Load entry module and return exports
|
|
@@ -107,20 +107,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
107
107
|
// This module is a runtime utility for cleaner component module output and will
|
|
108
108
|
// be included in the final webpack user bundle.
|
|
109
109
|
|
|
110
|
-
function normalizeComponent
|
|
110
|
+
function normalizeComponent(
|
|
111
111
|
scriptExports,
|
|
112
112
|
render,
|
|
113
113
|
staticRenderFns,
|
|
114
114
|
functionalTemplate,
|
|
115
115
|
injectStyles,
|
|
116
116
|
scopeId,
|
|
117
|
-
moduleIdentifier
|
|
117
|
+
moduleIdentifier /* server only */,
|
|
118
118
|
shadowMode /* vue-cli only */
|
|
119
119
|
) {
|
|
120
120
|
// Vue.extend constructor export interop
|
|
121
|
-
var options =
|
|
122
|
-
? scriptExports.options
|
|
123
|
-
: scriptExports
|
|
121
|
+
var options =
|
|
122
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
124
123
|
|
|
125
124
|
// render functions
|
|
126
125
|
if (render) {
|
|
@@ -140,7 +139,8 @@ function normalizeComponent (
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
var hook
|
|
143
|
-
if (moduleIdentifier) {
|
|
142
|
+
if (moduleIdentifier) {
|
|
143
|
+
// server build
|
|
144
144
|
hook = function (context) {
|
|
145
145
|
// 2.3 injection
|
|
146
146
|
context =
|
|
@@ -166,11 +166,11 @@ function normalizeComponent (
|
|
|
166
166
|
} else if (injectStyles) {
|
|
167
167
|
hook = shadowMode
|
|
168
168
|
? function () {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
injectStyles.call(
|
|
170
|
+
this,
|
|
171
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
174
|
: injectStyles
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -181,16 +181,14 @@ function normalizeComponent (
|
|
|
181
181
|
options._injectStyles = hook
|
|
182
182
|
// register for functional component in vue file
|
|
183
183
|
var originalRender = options.render
|
|
184
|
-
options.render = function renderWithStyleInjection
|
|
184
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
185
185
|
hook.call(context)
|
|
186
186
|
return originalRender(h, context)
|
|
187
187
|
}
|
|
188
188
|
} else {
|
|
189
189
|
// inject component registration as beforeCreate hook
|
|
190
190
|
var existing = options.beforeCreate
|
|
191
|
-
options.beforeCreate = existing
|
|
192
|
-
? [].concat(existing, hook)
|
|
193
|
-
: [hook]
|
|
191
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
194
|
|
|
@@ -219,7 +217,7 @@ var style = __webpack_require__(146);
|
|
|
219
217
|
// CONCATENATED MODULE: ./components/anchor/style/index.js
|
|
220
218
|
|
|
221
219
|
|
|
222
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/anchor.vue?vue&type=template&id=
|
|
220
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/anchor.vue?vue&type=template&id=51f08870
|
|
223
221
|
var render = function () {
|
|
224
222
|
var _vm = this
|
|
225
223
|
var _h = _vm.$createElement
|
|
@@ -238,9 +236,9 @@ var staticRenderFns = []
|
|
|
238
236
|
render._withStripped = true
|
|
239
237
|
|
|
240
238
|
|
|
241
|
-
// CONCATENATED MODULE: ./components/anchor/anchor.vue?vue&type=template&id=
|
|
239
|
+
// CONCATENATED MODULE: ./components/anchor/anchor.vue?vue&type=template&id=51f08870
|
|
242
240
|
|
|
243
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/anchor.vue?vue&type=script&lang=js
|
|
241
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/anchor.vue?vue&type=script&lang=js
|
|
244
242
|
//
|
|
245
243
|
//
|
|
246
244
|
//
|
|
@@ -253,7 +251,7 @@ render._withStripped = true
|
|
|
253
251
|
//
|
|
254
252
|
//
|
|
255
253
|
|
|
256
|
-
/* harmony default export */ var
|
|
254
|
+
/* harmony default export */ var anchorvue_type_script_lang_js = ({
|
|
257
255
|
name: 'MdsAnchor',
|
|
258
256
|
props: {
|
|
259
257
|
defaultColor: {
|
|
@@ -301,8 +299,8 @@ render._withStripped = true
|
|
|
301
299
|
this.height = this.tagHeight * l + this.padding * (l - 1);
|
|
302
300
|
}
|
|
303
301
|
});
|
|
304
|
-
// CONCATENATED MODULE: ./components/anchor/anchor.vue?vue&type=script&lang=js
|
|
305
|
-
/* harmony default export */ var
|
|
302
|
+
// CONCATENATED MODULE: ./components/anchor/anchor.vue?vue&type=script&lang=js
|
|
303
|
+
/* harmony default export */ var anchor_anchorvue_type_script_lang_js = (anchorvue_type_script_lang_js);
|
|
306
304
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
307
305
|
var componentNormalizer = __webpack_require__(0);
|
|
308
306
|
|
|
@@ -315,7 +313,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
315
313
|
/* normalize component */
|
|
316
314
|
|
|
317
315
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
318
|
-
|
|
316
|
+
anchor_anchorvue_type_script_lang_js,
|
|
319
317
|
render,
|
|
320
318
|
staticRenderFns,
|
|
321
319
|
false,
|
|
@@ -325,12 +323,9 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
325
323
|
|
|
326
324
|
)
|
|
327
325
|
|
|
328
|
-
/* hot reload */
|
|
329
|
-
if (false) { var api; }
|
|
330
|
-
component.options.__file = "components/anchor/anchor.vue"
|
|
331
326
|
/* harmony default export */ var anchor_anchor = (component.exports);
|
|
332
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/option.vue?vue&type=template&id=
|
|
333
|
-
var
|
|
327
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/option.vue?vue&type=template&id=f0341862
|
|
328
|
+
var optionvue_type_template_id_f0341862_render = function () {
|
|
334
329
|
var _obj
|
|
335
330
|
var _vm = this
|
|
336
331
|
var _h = _vm.$createElement
|
|
@@ -356,13 +351,13 @@ var optionvue_type_template_id_b60dff38_render = function () {
|
|
|
356
351
|
]
|
|
357
352
|
)
|
|
358
353
|
}
|
|
359
|
-
var
|
|
360
|
-
|
|
354
|
+
var optionvue_type_template_id_f0341862_staticRenderFns = []
|
|
355
|
+
optionvue_type_template_id_f0341862_render._withStripped = true
|
|
361
356
|
|
|
362
357
|
|
|
363
|
-
// CONCATENATED MODULE: ./components/anchor/option.vue?vue&type=template&id=
|
|
358
|
+
// CONCATENATED MODULE: ./components/anchor/option.vue?vue&type=template&id=f0341862
|
|
364
359
|
|
|
365
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/option.vue?vue&type=script&lang=js
|
|
360
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/anchor/option.vue?vue&type=script&lang=js
|
|
366
361
|
//
|
|
367
362
|
//
|
|
368
363
|
//
|
|
@@ -374,7 +369,7 @@ optionvue_type_template_id_b60dff38_render._withStripped = true
|
|
|
374
369
|
//
|
|
375
370
|
//
|
|
376
371
|
|
|
377
|
-
/* harmony default export */ var
|
|
372
|
+
/* harmony default export */ var optionvue_type_script_lang_js = ({
|
|
378
373
|
name: 'MdsAnchorOption',
|
|
379
374
|
props: {
|
|
380
375
|
label: {
|
|
@@ -465,8 +460,8 @@ optionvue_type_template_id_b60dff38_render._withStripped = true
|
|
|
465
460
|
this.scrollEvent = window.addEventListener('scroll', this.handleScroll);
|
|
466
461
|
}
|
|
467
462
|
});
|
|
468
|
-
// CONCATENATED MODULE: ./components/anchor/option.vue?vue&type=script&lang=js
|
|
469
|
-
/* harmony default export */ var
|
|
463
|
+
// CONCATENATED MODULE: ./components/anchor/option.vue?vue&type=script&lang=js
|
|
464
|
+
/* harmony default export */ var anchor_optionvue_type_script_lang_js = (optionvue_type_script_lang_js);
|
|
470
465
|
// CONCATENATED MODULE: ./components/anchor/option.vue
|
|
471
466
|
|
|
472
467
|
|
|
@@ -476,9 +471,9 @@ optionvue_type_template_id_b60dff38_render._withStripped = true
|
|
|
476
471
|
/* normalize component */
|
|
477
472
|
|
|
478
473
|
var option_component = Object(componentNormalizer["a" /* default */])(
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
474
|
+
anchor_optionvue_type_script_lang_js,
|
|
475
|
+
optionvue_type_template_id_f0341862_render,
|
|
476
|
+
optionvue_type_template_id_f0341862_staticRenderFns,
|
|
482
477
|
false,
|
|
483
478
|
null,
|
|
484
479
|
null,
|
|
@@ -486,9 +481,6 @@ var option_component = Object(componentNormalizer["a" /* default */])(
|
|
|
486
481
|
|
|
487
482
|
)
|
|
488
483
|
|
|
489
|
-
/* hot reload */
|
|
490
|
-
if (false) { var option_api; }
|
|
491
|
-
option_component.options.__file = "components/anchor/option.vue"
|
|
492
484
|
/* harmony default export */ var anchor_option = (option_component.exports);
|
|
493
485
|
// CONCATENATED MODULE: ./components/anchor/index.js
|
|
494
486
|
|
package/dist/avatar.js
CHANGED
|
@@ -87,7 +87,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
87
87
|
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // __webpack_public_path__
|
|
90
|
-
/******/ __webpack_require__.p = "";
|
|
90
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
91
91
|
/******/
|
|
92
92
|
/******/
|
|
93
93
|
/******/ // Load entry module and return exports
|
|
@@ -107,20 +107,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
107
107
|
// This module is a runtime utility for cleaner component module output and will
|
|
108
108
|
// be included in the final webpack user bundle.
|
|
109
109
|
|
|
110
|
-
function normalizeComponent
|
|
110
|
+
function normalizeComponent(
|
|
111
111
|
scriptExports,
|
|
112
112
|
render,
|
|
113
113
|
staticRenderFns,
|
|
114
114
|
functionalTemplate,
|
|
115
115
|
injectStyles,
|
|
116
116
|
scopeId,
|
|
117
|
-
moduleIdentifier
|
|
117
|
+
moduleIdentifier /* server only */,
|
|
118
118
|
shadowMode /* vue-cli only */
|
|
119
119
|
) {
|
|
120
120
|
// Vue.extend constructor export interop
|
|
121
|
-
var options =
|
|
122
|
-
? scriptExports.options
|
|
123
|
-
: scriptExports
|
|
121
|
+
var options =
|
|
122
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
124
123
|
|
|
125
124
|
// render functions
|
|
126
125
|
if (render) {
|
|
@@ -140,7 +139,8 @@ function normalizeComponent (
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
var hook
|
|
143
|
-
if (moduleIdentifier) {
|
|
142
|
+
if (moduleIdentifier) {
|
|
143
|
+
// server build
|
|
144
144
|
hook = function (context) {
|
|
145
145
|
// 2.3 injection
|
|
146
146
|
context =
|
|
@@ -166,11 +166,11 @@ function normalizeComponent (
|
|
|
166
166
|
} else if (injectStyles) {
|
|
167
167
|
hook = shadowMode
|
|
168
168
|
? function () {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
injectStyles.call(
|
|
170
|
+
this,
|
|
171
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
174
|
: injectStyles
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -181,16 +181,14 @@ function normalizeComponent (
|
|
|
181
181
|
options._injectStyles = hook
|
|
182
182
|
// register for functional component in vue file
|
|
183
183
|
var originalRender = options.render
|
|
184
|
-
options.render = function renderWithStyleInjection
|
|
184
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
185
185
|
hook.call(context)
|
|
186
186
|
return originalRender(h, context)
|
|
187
187
|
}
|
|
188
188
|
} else {
|
|
189
189
|
// inject component registration as beforeCreate hook
|
|
190
190
|
var existing = options.beforeCreate
|
|
191
|
-
options.beforeCreate = existing
|
|
192
|
-
? [].concat(existing, hook)
|
|
193
|
-
: [hook]
|
|
191
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
194
|
|
|
@@ -219,7 +217,7 @@ var style = __webpack_require__(148);
|
|
|
219
217
|
// CONCATENATED MODULE: ./components/avatar/style/index.js
|
|
220
218
|
|
|
221
219
|
|
|
222
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=
|
|
220
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=template&id=572e9190
|
|
223
221
|
var render = function () {
|
|
224
222
|
var _vm = this
|
|
225
223
|
var _h = _vm.$createElement
|
|
@@ -250,7 +248,7 @@ var staticRenderFns = []
|
|
|
250
248
|
render._withStripped = true
|
|
251
249
|
|
|
252
250
|
|
|
253
|
-
// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=
|
|
251
|
+
// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=template&id=572e9190
|
|
254
252
|
|
|
255
253
|
// EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
|
|
256
254
|
var defineProperty_ = __webpack_require__(3);
|
|
@@ -259,7 +257,7 @@ var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_)
|
|
|
259
257
|
// EXTERNAL MODULE: external "./_util/proptype"
|
|
260
258
|
var proptype_ = __webpack_require__(8);
|
|
261
259
|
|
|
262
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
260
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
263
261
|
|
|
264
262
|
//
|
|
265
263
|
//
|
|
@@ -286,7 +284,7 @@ var SIZEMAP = {
|
|
|
286
284
|
large: 'lg'
|
|
287
285
|
};
|
|
288
286
|
|
|
289
|
-
/* harmony default export */ var
|
|
287
|
+
/* harmony default export */ var avatarvue_type_script_lang_js = ({
|
|
290
288
|
name: 'MdsAvatar',
|
|
291
289
|
props: {
|
|
292
290
|
icon: String,
|
|
@@ -373,8 +371,8 @@ var SIZEMAP = {
|
|
|
373
371
|
this.setScale();
|
|
374
372
|
}
|
|
375
373
|
});
|
|
376
|
-
// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
377
|
-
/* harmony default export */ var
|
|
374
|
+
// CONCATENATED MODULE: ./components/avatar/avatar.vue?vue&type=script&lang=js
|
|
375
|
+
/* harmony default export */ var avatar_avatarvue_type_script_lang_js = (avatarvue_type_script_lang_js);
|
|
378
376
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
379
377
|
var componentNormalizer = __webpack_require__(0);
|
|
380
378
|
|
|
@@ -387,7 +385,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
387
385
|
/* normalize component */
|
|
388
386
|
|
|
389
387
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
390
|
-
|
|
388
|
+
avatar_avatarvue_type_script_lang_js,
|
|
391
389
|
render,
|
|
392
390
|
staticRenderFns,
|
|
393
391
|
false,
|
|
@@ -397,9 +395,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
397
395
|
|
|
398
396
|
)
|
|
399
397
|
|
|
400
|
-
/* hot reload */
|
|
401
|
-
if (false) { var api; }
|
|
402
|
-
component.options.__file = "components/avatar/avatar.vue"
|
|
403
398
|
/* harmony default export */ var avatar = (component.exports);
|
|
404
399
|
// CONCATENATED MODULE: ./components/avatar/index.js
|
|
405
400
|
|