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