@mdsfe/mds-ui 0.4.8 → 0.4.9-beta.4
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/CHANGELOG.md +1057 -0
- 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.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.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.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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./index.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./input.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./inputnumber.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./layout.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./list.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./loading.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./menu.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./message.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./modal.css')
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.mds-notification-topLeft[data-v-
|
|
1
|
+
.mds-notification-topLeft[data-v-0f7fb0e2] {
|
|
2
2
|
top: 24px;
|
|
3
3
|
left: 0;
|
|
4
4
|
}
|
|
5
|
-
.mds-notification-topRight[data-v-
|
|
5
|
+
.mds-notification-topRight[data-v-0f7fb0e2] {
|
|
6
6
|
top: 24px;
|
|
7
7
|
right: 0;
|
|
8
8
|
}
|
|
9
|
-
.mds-notification-bottomLeft[data-v-
|
|
9
|
+
.mds-notification-bottomLeft[data-v-0f7fb0e2] {
|
|
10
10
|
bottom: 24px;
|
|
11
11
|
left: 0;
|
|
12
12
|
}
|
|
13
|
-
.mds-notification-bottomRight[data-v-
|
|
13
|
+
.mds-notification-bottomRight[data-v-0f7fb0e2] {
|
|
14
14
|
bottom: 24px;
|
|
15
15
|
right: 0;
|
|
16
16
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./notification.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./pagination.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./popconfirm.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./popover.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./progress.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./radio.css')
|
package/dist/style/rate.css
CHANGED
|
@@ -63,15 +63,15 @@
|
|
|
63
63
|
.mds-rate-star-half i {
|
|
64
64
|
width: 18px;
|
|
65
65
|
height: 18px;
|
|
66
|
-
background-image: url(
|
|
66
|
+
background-image: url(../font/zero-star.177c19c.png);
|
|
67
67
|
background-repeat: no-repeat;
|
|
68
68
|
background-size: contain;
|
|
69
69
|
}
|
|
70
70
|
.mds-rate-star-full i {
|
|
71
|
-
background-image: url(
|
|
71
|
+
background-image: url(../font/full-star.b5fdf00.png);
|
|
72
72
|
}
|
|
73
73
|
.mds-rate-star-half i {
|
|
74
|
-
background-image: url(
|
|
74
|
+
background-image: url(../font/half-star.2625512.png);
|
|
75
75
|
}
|
|
76
76
|
.mds-rate-text {
|
|
77
77
|
color: #333;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./rate.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./row.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./select.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./slider.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./slottable.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./steps.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./switch.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./table.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./tabs.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./tag.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./text.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./timeline.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./timepicker.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./tooltip.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./transfer.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./transition.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./tree.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./typography.css')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./upload.css')
|
package/dist/switch.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__(225);
|
|
|
217
219
|
// CONCATENATED MODULE: ./components/switch/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/switch/switch.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/switch/switch.vue?vue&type=template&id=0eee4dc4&
|
|
221
223
|
var render = function () {
|
|
222
224
|
var _vm = this
|
|
223
225
|
var _h = _vm.$createElement
|
|
@@ -251,7 +253,7 @@ var staticRenderFns = []
|
|
|
251
253
|
render._withStripped = true
|
|
252
254
|
|
|
253
255
|
|
|
254
|
-
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=template&id=
|
|
256
|
+
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=template&id=0eee4dc4&
|
|
255
257
|
|
|
256
258
|
// EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
|
|
257
259
|
var defineProperty_ = __webpack_require__(3);
|
|
@@ -263,7 +265,7 @@ var proptype_ = __webpack_require__(8);
|
|
|
263
265
|
// EXTERNAL MODULE: external "./_util/util"
|
|
264
266
|
var util_ = __webpack_require__(22);
|
|
265
267
|
|
|
266
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/switch/switch.vue?vue&type=script&lang=js
|
|
268
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/switch/switch.vue?vue&type=script&lang=js&
|
|
267
269
|
|
|
268
270
|
//
|
|
269
271
|
//
|
|
@@ -287,7 +289,7 @@ var util_ = __webpack_require__(22);
|
|
|
287
289
|
|
|
288
290
|
|
|
289
291
|
|
|
290
|
-
/* harmony default export */ var
|
|
292
|
+
/* harmony default export */ var switchvue_type_script_lang_js_ = ({
|
|
291
293
|
name: 'MdsSwitch',
|
|
292
294
|
model: {
|
|
293
295
|
prop: 'checked',
|
|
@@ -367,8 +369,8 @@ var util_ = __webpack_require__(22);
|
|
|
367
369
|
this.state = this.checked === this.onValue;
|
|
368
370
|
}
|
|
369
371
|
});
|
|
370
|
-
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=script&lang=js
|
|
371
|
-
/* harmony default export */ var
|
|
372
|
+
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=script&lang=js&
|
|
373
|
+
/* harmony default export */ var switch_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_);
|
|
372
374
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
373
375
|
var componentNormalizer = __webpack_require__(0);
|
|
374
376
|
|
|
@@ -381,7 +383,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
381
383
|
/* normalize component */
|
|
382
384
|
|
|
383
385
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
384
|
-
|
|
386
|
+
switch_switchvue_type_script_lang_js_,
|
|
385
387
|
render,
|
|
386
388
|
staticRenderFns,
|
|
387
389
|
false,
|
|
@@ -391,6 +393,9 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
391
393
|
|
|
392
394
|
)
|
|
393
395
|
|
|
396
|
+
/* hot reload */
|
|
397
|
+
if (false) { var api; }
|
|
398
|
+
component.options.__file = "components/switch/switch.vue"
|
|
394
399
|
/* harmony default export */ var switch_switch = (component.exports);
|
|
395
400
|
// CONCATENATED MODULE: ./components/switch/index.js
|
|
396
401
|
|