@mdsfe/mds-ui 0.3.0-9 → 0.4.0-rc.1
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/_util/iconfont/index.js +1 -1
- package/dist/affix.js +24 -29
- package/dist/alert.js +24 -29
- package/dist/anchor.js +38 -46
- package/dist/avatar.js +24 -29
- package/dist/backtop.js +22 -27
- package/dist/badge.js +30 -35
- package/dist/base.js +1 -0
- package/dist/bordershadow.js +24 -29
- package/dist/breadcrumb.js +38 -46
- package/dist/button.js +36 -44
- package/dist/card.js +38 -46
- package/dist/carousel.js +52 -60
- package/dist/cascader.js +82 -99
- package/dist/cascaderpanel.js +64 -75
- package/dist/checkbox.js +42 -50
- package/dist/col.js +49 -57
- package/dist/collapse.js +36 -44
- package/dist/color.js +24 -29
- package/dist/datepicker.js +1129 -527
- package/dist/divider.js +24 -29
- package/dist/drawer.js +39 -44
- package/dist/dropdown.js +46 -54
- package/dist/empty.js +33 -38
- package/dist/font/iconfont.06c8a26.woff +0 -0
- package/dist/font/iconfont.c9840a2.woff2 +0 -0
- package/dist/font/{iconfont.ecd615a.ttf → iconfont.dffa89c.ttf} +0 -0
- package/dist/font.js +24 -29
- package/dist/form.js +42 -50
- package/dist/icon.js +24 -29
- package/dist/index.js +358 -1
- package/dist/input.js +253 -114
- package/dist/inputnumber.js +28 -33
- package/dist/layout.js +72 -89
- package/dist/list.js +38 -46
- package/dist/loading.js +24 -29
- package/dist/mds-ui.min.css +1 -2
- package/dist/mds-ui.min.js +4696 -2999
- package/dist/menu.js +87 -82
- package/dist/message.js +58 -69
- package/dist/modal.js +32 -37
- package/dist/notification.js +51 -59
- package/dist/pagination.js +61 -72
- package/dist/popconfirm.js +26 -26
- package/dist/popover.js +43 -48
- package/dist/progress.js +49 -60
- package/dist/radio.js +53 -61
- package/dist/rate.js +43 -51
- package/dist/row.js +49 -57
- package/dist/select.js +97 -114
- package/dist/slider.js +42 -50
- package/dist/slottable.js +57 -65
- package/dist/steps.js +4 -4
- package/dist/style/affix.css +3 -6789
- package/dist/style/alert.css +3 -6789
- package/dist/style/anchor.css +3 -6789
- package/dist/style/avatar.css +3 -6789
- package/dist/style/badge.css +5 -6791
- package/dist/style/base.css +1 -0
- package/dist/style/bordershadow.css +3 -6789
- package/dist/style/breadcrumb.css +3 -6789
- package/dist/style/button.css +3 -6789
- package/dist/style/card.css +3 -6789
- package/dist/style/carousel.css +0 -6786
- package/dist/style/checkbox.css +3 -6789
- package/dist/style/col.css +3 -6789
- package/dist/style/collapse.css +3 -6789
- package/dist/style/color.css +3 -6789
- package/dist/style/datepicker.css +70 -6789
- package/dist/style/divider.css +3 -6789
- package/dist/style/drawer.css +3 -6789
- package/dist/style/dropdown.css +3 -6789
- package/dist/style/empty.css +3 -6789
- package/dist/style/font.css +3 -6789
- package/dist/style/form.css +3 -6789
- package/dist/style/icon.css +3 -6789
- package/dist/style/index.css +6 -0
- package/dist/style/input.css +23 -6795
- package/dist/style/inputnumber.css +3 -6789
- package/dist/style/layout.css +3 -6789
- package/dist/style/list.css +3 -6789
- package/dist/style/loading.css +3 -6789
- package/dist/style/menu.css +3 -6789
- package/dist/style/modal.css +3 -6789
- package/dist/style/notification.css +7 -6793
- package/dist/style/pagination.css +23 -6795
- package/dist/style/popconfirm.css +3 -6789
- package/dist/style/popover.css +3 -6789
- package/dist/style/progress.css +3 -6789
- package/dist/style/radio.css +3 -6789
- package/dist/style/rate.css +3 -6789
- package/dist/style/row.css +3 -6789
- package/dist/style/select.css +3 -6789
- package/dist/style/slider.css +3 -6789
- package/dist/style/slottable.css +3 -6789
- package/dist/style/steps.css +3 -6789
- package/dist/style/switch.css +3 -6789
- package/dist/style/table.css +3 -6789
- package/dist/style/tabs.css +3 -6789
- package/dist/style/tag.css +3 -6789
- package/dist/style/text.css +3 -6789
- package/dist/style/timeline.css +3 -6789
- package/dist/style/timepicker.css +3 -6789
- package/dist/style/tooltip.css +3 -6789
- package/dist/style/transfer.css +105 -0
- package/dist/style/tree.css +3 -6789
- package/dist/style/typography.css +3 -6789
- package/dist/style/upload.css +3 -6789
- package/dist/switch.js +28 -33
- package/dist/table.js +180 -215
- package/dist/tabs.js +78 -101
- package/dist/tag.js +24 -29
- package/dist/text.js +260 -121
- package/dist/timeline.js +38 -46
- package/dist/timepicker.js +85 -102
- package/dist/tooltip.js +22 -22
- package/dist/transfer.js +1009 -66
- package/dist/transition.js +2 -2
- package/dist/tree.js +61 -69
- package/dist/typography.js +36 -44
- package/dist/upload.js +88 -108
- package/package.json +9 -5
- package/CHANGELOG.md +0 -1013
- package/dist/.DS_Store +0 -0
- package/dist/_util/.DS_Store +0 -0
- package/dist/font/iconfont.ae3b61b.woff2 +0 -0
- package/dist/font/iconfont.f1b256f.woff +0 -0
package/dist/switch.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("./_util/proptype"), require("./_util/util")) : factory(root["./_util/proptype"], root["./_util/util"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(window, function(__WEBPACK_EXTERNAL_MODULE__8__,
|
|
10
|
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__22__) {
|
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
|
12
12
|
/******/ // The module cache
|
|
13
13
|
/******/ var installedModules = {};
|
|
@@ -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,16 +208,16 @@ function normalizeComponent (
|
|
|
210
208
|
// ESM COMPAT FLAG
|
|
211
209
|
__webpack_require__.r(__webpack_exports__);
|
|
212
210
|
|
|
213
|
-
// EXTERNAL MODULE: ./components/style/
|
|
214
|
-
var
|
|
211
|
+
// EXTERNAL MODULE: ./components/style/mixins-only.less
|
|
212
|
+
var mixins_only = __webpack_require__(142);
|
|
215
213
|
|
|
216
214
|
// EXTERNAL MODULE: ./components/switch/style/index.less
|
|
217
|
-
var
|
|
215
|
+
var style = __webpack_require__(222);
|
|
218
216
|
|
|
219
217
|
// CONCATENATED MODULE: ./components/switch/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/switch/switch.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/switch/switch.vue?vue&type=template&id=2b70c022
|
|
223
221
|
var render = function () {
|
|
224
222
|
var _vm = this
|
|
225
223
|
var _h = _vm.$createElement
|
|
@@ -253,7 +251,7 @@ var staticRenderFns = []
|
|
|
253
251
|
render._withStripped = true
|
|
254
252
|
|
|
255
253
|
|
|
256
|
-
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=template&id=
|
|
254
|
+
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=template&id=2b70c022
|
|
257
255
|
|
|
258
256
|
// EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
|
|
259
257
|
var defineProperty_ = __webpack_require__(3);
|
|
@@ -263,9 +261,9 @@ var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_)
|
|
|
263
261
|
var proptype_ = __webpack_require__(8);
|
|
264
262
|
|
|
265
263
|
// EXTERNAL MODULE: external "./_util/util"
|
|
266
|
-
var util_ = __webpack_require__(
|
|
264
|
+
var util_ = __webpack_require__(22);
|
|
267
265
|
|
|
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
|
|
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
|
|
269
267
|
|
|
270
268
|
//
|
|
271
269
|
//
|
|
@@ -289,7 +287,7 @@ var util_ = __webpack_require__(21);
|
|
|
289
287
|
|
|
290
288
|
|
|
291
289
|
|
|
292
|
-
/* harmony default export */ var
|
|
290
|
+
/* harmony default export */ var switchvue_type_script_lang_js = ({
|
|
293
291
|
name: 'MdsSwitch',
|
|
294
292
|
model: {
|
|
295
293
|
prop: 'checked',
|
|
@@ -369,8 +367,8 @@ var util_ = __webpack_require__(21);
|
|
|
369
367
|
this.state = this.checked === this.onValue;
|
|
370
368
|
}
|
|
371
369
|
});
|
|
372
|
-
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=script&lang=js
|
|
373
|
-
/* harmony default export */ var
|
|
370
|
+
// CONCATENATED MODULE: ./components/switch/switch.vue?vue&type=script&lang=js
|
|
371
|
+
/* harmony default export */ var switch_switchvue_type_script_lang_js = (switchvue_type_script_lang_js);
|
|
374
372
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
375
373
|
var componentNormalizer = __webpack_require__(0);
|
|
376
374
|
|
|
@@ -383,7 +381,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
383
381
|
/* normalize component */
|
|
384
382
|
|
|
385
383
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
386
|
-
|
|
384
|
+
switch_switchvue_type_script_lang_js,
|
|
387
385
|
render,
|
|
388
386
|
staticRenderFns,
|
|
389
387
|
false,
|
|
@@ -393,9 +391,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
393
391
|
|
|
394
392
|
)
|
|
395
393
|
|
|
396
|
-
/* hot reload */
|
|
397
|
-
if (false) { var api; }
|
|
398
|
-
component.options.__file = "components/switch/switch.vue"
|
|
399
394
|
/* harmony default export */ var switch_switch = (component.exports);
|
|
400
395
|
// CONCATENATED MODULE: ./components/switch/index.js
|
|
401
396
|
|
|
@@ -416,14 +411,14 @@ switch_switch.install = function (Vue) {
|
|
|
416
411
|
|
|
417
412
|
/***/ }),
|
|
418
413
|
|
|
419
|
-
/***/
|
|
414
|
+
/***/ 22:
|
|
420
415
|
/***/ (function(module, exports) {
|
|
421
416
|
|
|
422
|
-
module.exports =
|
|
417
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__22__;
|
|
423
418
|
|
|
424
419
|
/***/ }),
|
|
425
420
|
|
|
426
|
-
/***/
|
|
421
|
+
/***/ 222:
|
|
427
422
|
/***/ (function(module, exports) {
|
|
428
423
|
|
|
429
424
|
// removed by extract-text-webpack-plugin
|