@mdsfe/mds-ui 0.2.0 → 0.2.9-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/CHANGELOG.md +178 -0
- package/README.md +9 -9
- package/dist/_mixin/popper.js +1 -0
- package/dist/_util/_popper/dom-helper.js +284 -0
- package/dist/_util/_popper/popper-mixin.js +35 -0
- package/dist/_util/_popper/popper.js +1267 -0
- package/dist/_util/_popper/popup/popup-main.js +224 -0
- package/dist/_util/_popper/popup/popup-manager.js +205 -0
- package/dist/_util/_popper/vue-popper.js +204 -0
- package/dist/_util/popup/index.js +1 -1
- package/dist/_util/tree/node.js +2 -0
- package/dist/_util/tree/tree.js +65 -21
- package/dist/_util/util.js +29 -1
- package/dist/affix.js +18 -18
- package/dist/anchor.js +18 -18
- package/dist/avatar.js +17 -17
- package/dist/backtop.js +19 -19
- package/dist/badge.js +21 -21
- package/dist/bordershadow.js +20 -9
- package/dist/breadcrumb.js +18 -18
- package/dist/button.js +21 -21
- package/dist/card.js +18 -18
- package/dist/carousel.js +76 -76
- package/dist/cascader.js +4980 -0
- package/dist/cascaderpanel.js +645 -603
- package/dist/checkbox.js +23 -23
- package/dist/col.js +14 -14
- package/dist/collapse.js +6 -6
- package/dist/color.js +6 -6
- package/dist/datepicker.js +2487 -266
- package/dist/divider.js +19 -19
- package/dist/drawer.js +787 -37
- package/dist/dropdown.js +150 -104
- package/dist/empty.js +19 -19
- package/dist/font/iconfont.28359fa.ttf +0 -0
- package/dist/font/iconfont.486e3d3.woff2 +0 -0
- package/dist/font/iconfont.675049e.woff +0 -0
- package/dist/font.js +6 -6
- package/dist/form.js +28 -26
- package/dist/icon.js +55 -47
- package/dist/index.js +1 -1
- package/dist/input.js +65 -49
- package/dist/inputnumber.js +59 -39
- package/dist/layout.js +25 -25
- package/dist/list.js +17 -17
- package/dist/loading.js +21 -8
- package/dist/mds-ui.min.css +3 -3
- package/dist/mds-ui.min.js +19183 -15407
- package/dist/menu.js +31 -31
- package/dist/message.js +773 -24
- package/dist/modal.js +1146 -307
- package/dist/notification.js +27 -27
- package/dist/pagination.js +78 -55
- package/dist/popconfirm.js +36 -36
- package/dist/popover.js +2778 -48
- package/dist/progress.js +107 -65
- package/dist/radio.js +56 -54
- package/dist/rate.js +67 -59
- package/dist/row.js +14 -14
- package/dist/select.js +847 -503
- package/dist/slider.js +25 -25
- package/dist/slottable.js +2663 -129
- package/dist/steps.js +18 -18
- package/dist/style/affix.css +224 -2
- package/dist/style/anchor.css +224 -2
- package/dist/style/avatar.css +224 -2
- package/dist/style/badge.css +224 -2
- package/dist/style/bordershadow.css +236 -59
- package/dist/style/breadcrumb.css +224 -2
- package/dist/style/button.css +234 -5
- package/dist/style/card.css +224 -2
- package/dist/style/carousel.css +224 -2
- package/dist/style/cascader.css +214 -0
- package/dist/style/cascaderpanel.css +13 -16
- package/dist/style/checkbox.css +230 -8
- package/dist/style/col.css +225 -3
- package/dist/style/collapse.css +224 -2
- package/dist/style/color.css +224 -2
- package/dist/style/datepicker.css +236 -2
- package/dist/style/divider.css +227 -2
- package/dist/style/drawer.css +224 -2
- package/dist/style/dropdown.css +234 -5
- package/dist/style/empty.css +224 -2
- package/dist/style/font.css +226 -4
- package/dist/style/form.css +224 -2
- package/dist/style/icon.css +226 -3
- package/dist/style/input.css +231 -5
- package/dist/style/inputnumber.css +224 -2
- package/dist/style/layout.css +224 -2
- package/dist/style/list.css +224 -2
- package/dist/style/loading.css +2527 -2
- package/dist/style/menu.css +340 -129
- package/dist/style/message.css +1 -4
- package/dist/style/modal.css +247 -25
- package/dist/style/notification.css +224 -2
- package/dist/style/pagination.css +236 -7
- package/dist/style/popconfirm.css +334 -180
- package/dist/style/popover.css +324 -177
- package/dist/style/progress.css +226 -3
- package/dist/style/radio.css +225 -3
- package/dist/style/rate.css +226 -3
- package/dist/style/row.css +225 -3
- package/dist/style/select.css +240 -12
- package/dist/style/slider.css +224 -2
- package/dist/style/slottable.css +350 -149
- package/dist/style/steps.css +224 -2
- package/dist/style/switch.css +224 -2
- package/dist/style/table.css +458 -314
- package/dist/style/tabs.css +225 -18
- package/dist/style/tag.css +224 -2
- package/dist/style/text.css +224 -2
- package/dist/style/timeline.css +224 -2
- package/dist/style/timepicker.css +231 -6
- package/dist/style/tooltip.css +340 -129
- package/dist/style/tree.css +228 -6
- package/dist/style/typography.css +224 -2
- package/dist/style/upload.css +224 -2
- package/dist/switch.js +20 -20
- package/dist/table.js +3071 -201
- package/dist/tabs.js +24 -22
- package/dist/tag.js +17 -23
- package/dist/text.js +38 -22
- package/dist/timeline.js +14 -14
- package/dist/timepicker.js +3063 -172
- package/dist/tooltip.js +2550 -27
- package/dist/transfer.js +28 -28
- package/dist/transition.js +6 -6
- package/dist/tree.js +316 -171
- package/dist/typography.js +6 -6
- package/dist/upload.js +46 -38
- package/package.json +9 -5
package/dist/radio.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("./_util/proptype"), require("./_mixin/emitter")) : factory(root["./_util/proptype"], root["./_mixin/emitter"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(window, function(
|
|
10
|
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__12__) {
|
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
|
12
12
|
/******/ // The module cache
|
|
13
13
|
/******/ var installedModules = {};
|
|
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
91
91
|
/******/
|
|
92
92
|
/******/
|
|
93
93
|
/******/ // Load entry module and return exports
|
|
94
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = 103);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -203,49 +203,7 @@ function normalizeComponent (
|
|
|
203
203
|
|
|
204
204
|
/***/ }),
|
|
205
205
|
|
|
206
|
-
/***/
|
|
207
|
-
/***/ (function(module, exports) {
|
|
208
|
-
|
|
209
|
-
module.exports = require("babel-runtime/helpers/defineProperty");
|
|
210
|
-
|
|
211
|
-
/***/ }),
|
|
212
|
-
|
|
213
|
-
/***/ 131:
|
|
214
|
-
/***/ (function(module, exports) {
|
|
215
|
-
|
|
216
|
-
// removed by extract-text-webpack-plugin
|
|
217
|
-
|
|
218
|
-
/***/ }),
|
|
219
|
-
|
|
220
|
-
/***/ 197:
|
|
221
|
-
/***/ (function(module, exports) {
|
|
222
|
-
|
|
223
|
-
// removed by extract-text-webpack-plugin
|
|
224
|
-
|
|
225
|
-
/***/ }),
|
|
226
|
-
|
|
227
|
-
/***/ 3:
|
|
228
|
-
/***/ (function(module, exports) {
|
|
229
|
-
|
|
230
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__3__;
|
|
231
|
-
|
|
232
|
-
/***/ }),
|
|
233
|
-
|
|
234
|
-
/***/ 6:
|
|
235
|
-
/***/ (function(module, exports) {
|
|
236
|
-
|
|
237
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__6__;
|
|
238
|
-
|
|
239
|
-
/***/ }),
|
|
240
|
-
|
|
241
|
-
/***/ 8:
|
|
242
|
-
/***/ (function(module, exports) {
|
|
243
|
-
|
|
244
|
-
module.exports = require("babel-runtime/helpers/typeof");
|
|
245
|
-
|
|
246
|
-
/***/ }),
|
|
247
|
-
|
|
248
|
-
/***/ 95:
|
|
206
|
+
/***/ 103:
|
|
249
207
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
250
208
|
|
|
251
209
|
"use strict";
|
|
@@ -253,10 +211,10 @@ module.exports = require("babel-runtime/helpers/typeof");
|
|
|
253
211
|
__webpack_require__.r(__webpack_exports__);
|
|
254
212
|
|
|
255
213
|
// EXTERNAL MODULE: ./components/style/index.less
|
|
256
|
-
var style = __webpack_require__(
|
|
214
|
+
var style = __webpack_require__(139);
|
|
257
215
|
|
|
258
216
|
// EXTERNAL MODULE: ./components/radio/style/index.less
|
|
259
|
-
var radio_style = __webpack_require__(
|
|
217
|
+
var radio_style = __webpack_require__(207);
|
|
260
218
|
|
|
261
219
|
// CONCATENATED MODULE: ./components/radio/style/index.js
|
|
262
220
|
|
|
@@ -298,7 +256,7 @@ radiovue_type_template_id_0cfde37c_render._withStripped = true
|
|
|
298
256
|
// CONCATENATED MODULE: ./components/radio/radio.vue?vue&type=template&id=0cfde37c&
|
|
299
257
|
|
|
300
258
|
// EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
|
|
301
|
-
var defineProperty_ = __webpack_require__(
|
|
259
|
+
var defineProperty_ = __webpack_require__(3);
|
|
302
260
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
303
261
|
|
|
304
262
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/radio/radio.vue?vue&type=script&lang=js&
|
|
@@ -507,14 +465,14 @@ groupvue_type_template_id_23243800_render._withStripped = true
|
|
|
507
465
|
// CONCATENATED MODULE: ./components/radio/group.vue?vue&type=template&id=23243800&
|
|
508
466
|
|
|
509
467
|
// EXTERNAL MODULE: external "babel-runtime/helpers/typeof"
|
|
510
|
-
var typeof_ = __webpack_require__(
|
|
468
|
+
var typeof_ = __webpack_require__(9);
|
|
511
469
|
var typeof_default = /*#__PURE__*/__webpack_require__.n(typeof_);
|
|
512
470
|
|
|
513
471
|
// EXTERNAL MODULE: external "./_util/proptype"
|
|
514
|
-
var proptype_ = __webpack_require__(
|
|
472
|
+
var proptype_ = __webpack_require__(7);
|
|
515
473
|
|
|
516
474
|
// EXTERNAL MODULE: external "./_mixin/emitter"
|
|
517
|
-
var emitter_ = __webpack_require__(
|
|
475
|
+
var emitter_ = __webpack_require__(12);
|
|
518
476
|
var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
519
477
|
|
|
520
478
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/radio/group.vue?vue&type=script&lang=js&
|
|
@@ -595,16 +553,18 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
595
553
|
this.initValueList();
|
|
596
554
|
if (val === this.value) {
|
|
597
555
|
this.$nextTick(function () {
|
|
598
|
-
_this.change(val);
|
|
556
|
+
_this.change(val, true);
|
|
599
557
|
});
|
|
600
558
|
}
|
|
601
559
|
},
|
|
602
|
-
change: function change(val) {
|
|
560
|
+
change: function change(val, firstRenderFlag) {
|
|
603
561
|
// 在子组件调用,点击子组件,当其父组件为groupRadio时,会出发此事件
|
|
604
562
|
this.currentValue = val;
|
|
605
563
|
this.judge();
|
|
606
564
|
this.$emit('input', val);
|
|
607
|
-
|
|
565
|
+
if (!firstRenderFlag) {
|
|
566
|
+
this.$emit('change', this.currentValue);
|
|
567
|
+
}
|
|
608
568
|
this.dispatch('MdsFormItem', 'formItemChange', val);
|
|
609
569
|
},
|
|
610
570
|
initValueList: function initValueList() {
|
|
@@ -754,6 +714,48 @@ radio_radio.install = function (Vue) {
|
|
|
754
714
|
};
|
|
755
715
|
/* harmony default export */ var components_radio = __webpack_exports__["default"] = (radio_radio);
|
|
756
716
|
|
|
717
|
+
/***/ }),
|
|
718
|
+
|
|
719
|
+
/***/ 12:
|
|
720
|
+
/***/ (function(module, exports) {
|
|
721
|
+
|
|
722
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__12__;
|
|
723
|
+
|
|
724
|
+
/***/ }),
|
|
725
|
+
|
|
726
|
+
/***/ 139:
|
|
727
|
+
/***/ (function(module, exports) {
|
|
728
|
+
|
|
729
|
+
// removed by extract-text-webpack-plugin
|
|
730
|
+
|
|
731
|
+
/***/ }),
|
|
732
|
+
|
|
733
|
+
/***/ 207:
|
|
734
|
+
/***/ (function(module, exports) {
|
|
735
|
+
|
|
736
|
+
// removed by extract-text-webpack-plugin
|
|
737
|
+
|
|
738
|
+
/***/ }),
|
|
739
|
+
|
|
740
|
+
/***/ 3:
|
|
741
|
+
/***/ (function(module, exports) {
|
|
742
|
+
|
|
743
|
+
module.exports = require("babel-runtime/helpers/defineProperty");
|
|
744
|
+
|
|
745
|
+
/***/ }),
|
|
746
|
+
|
|
747
|
+
/***/ 7:
|
|
748
|
+
/***/ (function(module, exports) {
|
|
749
|
+
|
|
750
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
|
|
751
|
+
|
|
752
|
+
/***/ }),
|
|
753
|
+
|
|
754
|
+
/***/ 9:
|
|
755
|
+
/***/ (function(module, exports) {
|
|
756
|
+
|
|
757
|
+
module.exports = require("babel-runtime/helpers/typeof");
|
|
758
|
+
|
|
757
759
|
/***/ })
|
|
758
760
|
|
|
759
761
|
/******/ });
|