@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.
Files changed (131) hide show
  1. package/CHANGELOG.md +178 -0
  2. package/README.md +9 -9
  3. package/dist/_mixin/popper.js +1 -0
  4. package/dist/_util/_popper/dom-helper.js +284 -0
  5. package/dist/_util/_popper/popper-mixin.js +35 -0
  6. package/dist/_util/_popper/popper.js +1267 -0
  7. package/dist/_util/_popper/popup/popup-main.js +224 -0
  8. package/dist/_util/_popper/popup/popup-manager.js +205 -0
  9. package/dist/_util/_popper/vue-popper.js +204 -0
  10. package/dist/_util/popup/index.js +1 -1
  11. package/dist/_util/tree/node.js +2 -0
  12. package/dist/_util/tree/tree.js +65 -21
  13. package/dist/_util/util.js +29 -1
  14. package/dist/affix.js +18 -18
  15. package/dist/anchor.js +18 -18
  16. package/dist/avatar.js +17 -17
  17. package/dist/backtop.js +19 -19
  18. package/dist/badge.js +21 -21
  19. package/dist/bordershadow.js +20 -9
  20. package/dist/breadcrumb.js +18 -18
  21. package/dist/button.js +21 -21
  22. package/dist/card.js +18 -18
  23. package/dist/carousel.js +76 -76
  24. package/dist/cascader.js +4980 -0
  25. package/dist/cascaderpanel.js +645 -603
  26. package/dist/checkbox.js +23 -23
  27. package/dist/col.js +14 -14
  28. package/dist/collapse.js +6 -6
  29. package/dist/color.js +6 -6
  30. package/dist/datepicker.js +2487 -266
  31. package/dist/divider.js +19 -19
  32. package/dist/drawer.js +787 -37
  33. package/dist/dropdown.js +150 -104
  34. package/dist/empty.js +19 -19
  35. package/dist/font/iconfont.28359fa.ttf +0 -0
  36. package/dist/font/iconfont.486e3d3.woff2 +0 -0
  37. package/dist/font/iconfont.675049e.woff +0 -0
  38. package/dist/font.js +6 -6
  39. package/dist/form.js +28 -26
  40. package/dist/icon.js +55 -47
  41. package/dist/index.js +1 -1
  42. package/dist/input.js +65 -49
  43. package/dist/inputnumber.js +59 -39
  44. package/dist/layout.js +25 -25
  45. package/dist/list.js +17 -17
  46. package/dist/loading.js +21 -8
  47. package/dist/mds-ui.min.css +3 -3
  48. package/dist/mds-ui.min.js +19183 -15407
  49. package/dist/menu.js +31 -31
  50. package/dist/message.js +773 -24
  51. package/dist/modal.js +1146 -307
  52. package/dist/notification.js +27 -27
  53. package/dist/pagination.js +78 -55
  54. package/dist/popconfirm.js +36 -36
  55. package/dist/popover.js +2778 -48
  56. package/dist/progress.js +107 -65
  57. package/dist/radio.js +56 -54
  58. package/dist/rate.js +67 -59
  59. package/dist/row.js +14 -14
  60. package/dist/select.js +847 -503
  61. package/dist/slider.js +25 -25
  62. package/dist/slottable.js +2663 -129
  63. package/dist/steps.js +18 -18
  64. package/dist/style/affix.css +224 -2
  65. package/dist/style/anchor.css +224 -2
  66. package/dist/style/avatar.css +224 -2
  67. package/dist/style/badge.css +224 -2
  68. package/dist/style/bordershadow.css +236 -59
  69. package/dist/style/breadcrumb.css +224 -2
  70. package/dist/style/button.css +234 -5
  71. package/dist/style/card.css +224 -2
  72. package/dist/style/carousel.css +224 -2
  73. package/dist/style/cascader.css +214 -0
  74. package/dist/style/cascaderpanel.css +13 -16
  75. package/dist/style/checkbox.css +230 -8
  76. package/dist/style/col.css +225 -3
  77. package/dist/style/collapse.css +224 -2
  78. package/dist/style/color.css +224 -2
  79. package/dist/style/datepicker.css +236 -2
  80. package/dist/style/divider.css +227 -2
  81. package/dist/style/drawer.css +224 -2
  82. package/dist/style/dropdown.css +234 -5
  83. package/dist/style/empty.css +224 -2
  84. package/dist/style/font.css +226 -4
  85. package/dist/style/form.css +224 -2
  86. package/dist/style/icon.css +226 -3
  87. package/dist/style/input.css +231 -5
  88. package/dist/style/inputnumber.css +224 -2
  89. package/dist/style/layout.css +224 -2
  90. package/dist/style/list.css +224 -2
  91. package/dist/style/loading.css +2527 -2
  92. package/dist/style/menu.css +340 -129
  93. package/dist/style/message.css +1 -4
  94. package/dist/style/modal.css +247 -25
  95. package/dist/style/notification.css +224 -2
  96. package/dist/style/pagination.css +236 -7
  97. package/dist/style/popconfirm.css +334 -180
  98. package/dist/style/popover.css +324 -177
  99. package/dist/style/progress.css +226 -3
  100. package/dist/style/radio.css +225 -3
  101. package/dist/style/rate.css +226 -3
  102. package/dist/style/row.css +225 -3
  103. package/dist/style/select.css +240 -12
  104. package/dist/style/slider.css +224 -2
  105. package/dist/style/slottable.css +350 -149
  106. package/dist/style/steps.css +224 -2
  107. package/dist/style/switch.css +224 -2
  108. package/dist/style/table.css +458 -314
  109. package/dist/style/tabs.css +225 -18
  110. package/dist/style/tag.css +224 -2
  111. package/dist/style/text.css +224 -2
  112. package/dist/style/timeline.css +224 -2
  113. package/dist/style/timepicker.css +231 -6
  114. package/dist/style/tooltip.css +340 -129
  115. package/dist/style/tree.css +228 -6
  116. package/dist/style/typography.css +224 -2
  117. package/dist/style/upload.css +224 -2
  118. package/dist/switch.js +20 -20
  119. package/dist/table.js +3071 -201
  120. package/dist/tabs.js +24 -22
  121. package/dist/tag.js +17 -23
  122. package/dist/text.js +38 -22
  123. package/dist/timeline.js +14 -14
  124. package/dist/timepicker.js +3063 -172
  125. package/dist/tooltip.js +2550 -27
  126. package/dist/transfer.js +28 -28
  127. package/dist/transition.js +6 -6
  128. package/dist/tree.js +316 -171
  129. package/dist/typography.js +6 -6
  130. package/dist/upload.js +46 -38
  131. package/package.json +9 -5
package/dist/checkbox.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./_mixin/emitter")) : factory(root["./_mixin/emitter"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__6__) {
10
+ })(window, function(__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 = 30);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 39);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,35 +203,42 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 1:
206
+ /***/ 12:
207
207
  /***/ (function(module, exports) {
208
208
 
209
- module.exports = require("babel-runtime/helpers/defineProperty");
209
+ module.exports = __WEBPACK_EXTERNAL_MODULE__12__;
210
210
 
211
211
  /***/ }),
212
212
 
213
- /***/ 131:
213
+ /***/ 139:
214
214
  /***/ (function(module, exports) {
215
215
 
216
216
  // removed by extract-text-webpack-plugin
217
217
 
218
218
  /***/ }),
219
219
 
220
- /***/ 153:
220
+ /***/ 165:
221
221
  /***/ (function(module, exports) {
222
222
 
223
223
  // removed by extract-text-webpack-plugin
224
224
 
225
225
  /***/ }),
226
226
 
227
- /***/ 17:
227
+ /***/ 24:
228
228
  /***/ (function(module, exports) {
229
229
 
230
230
  module.exports = require("babel-runtime/helpers/toConsumableArray");
231
231
 
232
232
  /***/ }),
233
233
 
234
- /***/ 30:
234
+ /***/ 3:
235
+ /***/ (function(module, exports) {
236
+
237
+ module.exports = require("babel-runtime/helpers/defineProperty");
238
+
239
+ /***/ }),
240
+
241
+ /***/ 39:
235
242
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
236
243
 
237
244
  "use strict";
@@ -243,10 +250,10 @@ __webpack_require__.d(__webpack_exports__, "MdsCheckbox", function() { return /*
243
250
  __webpack_require__.d(__webpack_exports__, "MdsCheckboxGroup", function() { return /* reexport */ checkbox_group; });
244
251
 
245
252
  // EXTERNAL MODULE: ./components/style/index.less
246
- var style = __webpack_require__(131);
253
+ var style = __webpack_require__(139);
247
254
 
248
255
  // EXTERNAL MODULE: ./components/checkbox/style/index.less
249
- var checkbox_style = __webpack_require__(153);
256
+ var checkbox_style = __webpack_require__(165);
250
257
 
251
258
  // CONCATENATED MODULE: ./components/checkbox/style/index.js
252
259
 
@@ -280,7 +287,7 @@ render._withStripped = true
280
287
  // CONCATENATED MODULE: ./components/checkbox/checkbox.vue?vue&type=template&id=0689a564&
281
288
 
282
289
  // EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
283
- var defineProperty_ = __webpack_require__(1);
290
+ var defineProperty_ = __webpack_require__(3);
284
291
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
285
292
 
286
293
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/checkbox/checkbox.vue?vue&type=script&lang=js&
@@ -472,15 +479,15 @@ checkbox_groupvue_type_template_id_4cdfddd6_render._withStripped = true
472
479
  // CONCATENATED MODULE: ./components/checkbox/checkbox-group.vue?vue&type=template&id=4cdfddd6&
473
480
 
474
481
  // EXTERNAL MODULE: external "babel-runtime/helpers/toConsumableArray"
475
- var toConsumableArray_ = __webpack_require__(17);
482
+ var toConsumableArray_ = __webpack_require__(24);
476
483
  var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray_);
477
484
 
478
485
  // EXTERNAL MODULE: external "babel-runtime/core-js/object/assign"
479
- var assign_ = __webpack_require__(9);
486
+ var assign_ = __webpack_require__(6);
480
487
  var assign_default = /*#__PURE__*/__webpack_require__.n(assign_);
481
488
 
482
489
  // EXTERNAL MODULE: external "./_mixin/emitter"
483
- var emitter_ = __webpack_require__(6);
490
+ var emitter_ = __webpack_require__(12);
484
491
  var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
485
492
 
486
493
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/checkbox/checkbox-group.vue?vue&type=script&lang=js&
@@ -573,7 +580,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
573
580
  return item.value;
574
581
  });
575
582
  this.$emit('input', value);
576
- this.$emit('change', value, this.items);
583
+ this.$emit('change', value, this.items, { value: val, checked: checked });
577
584
  this.dispatch('MdsFormItem', 'formItemChange', value);
578
585
  },
579
586
  slotCheck: function slotCheck(val, flag) {
@@ -586,7 +593,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
586
593
  });
587
594
  }
588
595
  this.$emit('input', value);
589
- this.$emit('change', value);
596
+ this.$emit('change', value, { value: val, checked: flag });
590
597
  this.dispatch('MdsFormItem', 'formItemChange', value);
591
598
  },
592
599
  disable: function disable(item) {
@@ -666,13 +673,6 @@ checkbox_checkbox.install = function (Vue) {
666
673
  /***/ 6:
667
674
  /***/ (function(module, exports) {
668
675
 
669
- module.exports = __WEBPACK_EXTERNAL_MODULE__6__;
670
-
671
- /***/ }),
672
-
673
- /***/ 9:
674
- /***/ (function(module, exports) {
675
-
676
676
  module.exports = require("babel-runtime/core-js/object/assign");
677
677
 
678
678
  /***/ })
package/dist/col.js CHANGED
@@ -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 = 128);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 136);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,14 +203,14 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 12:
206
+ /***/ 10:
207
207
  /***/ (function(module, exports) {
208
208
 
209
209
  module.exports = require("babel-runtime/core-js/object/keys");
210
210
 
211
211
  /***/ }),
212
212
 
213
- /***/ 128:
213
+ /***/ 136:
214
214
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
215
215
 
216
216
  "use strict";
@@ -218,16 +218,16 @@ module.exports = require("babel-runtime/core-js/object/keys");
218
218
  __webpack_require__.r(__webpack_exports__);
219
219
 
220
220
  // EXTERNAL MODULE: ./components/style/index.less
221
- var style = __webpack_require__(131);
221
+ var style = __webpack_require__(139);
222
222
 
223
223
  // EXTERNAL MODULE: ./components/grid/style/index.less
224
- var grid_style = __webpack_require__(155);
224
+ var grid_style = __webpack_require__(167);
225
225
 
226
226
  // CONCATENATED MODULE: ./components/col/style/index.js
227
227
 
228
228
 
229
229
  // EXTERNAL MODULE: ./components/grid/index.js + 11 modules
230
- var grid = __webpack_require__(22);
230
+ var grid = __webpack_require__(31);
231
231
 
232
232
  // CONCATENATED MODULE: ./components/col/index.js
233
233
 
@@ -241,21 +241,21 @@ grid["a" /* Col */].install = function (Vue) {
241
241
 
242
242
  /***/ }),
243
243
 
244
- /***/ 131:
244
+ /***/ 139:
245
245
  /***/ (function(module, exports) {
246
246
 
247
247
  // removed by extract-text-webpack-plugin
248
248
 
249
249
  /***/ }),
250
250
 
251
- /***/ 155:
251
+ /***/ 167:
252
252
  /***/ (function(module, exports) {
253
253
 
254
254
  // removed by extract-text-webpack-plugin
255
255
 
256
256
  /***/ }),
257
257
 
258
- /***/ 22:
258
+ /***/ 31:
259
259
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
260
260
 
261
261
  "use strict";
@@ -265,10 +265,10 @@ __webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport
265
265
  __webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ col; });
266
266
 
267
267
  // EXTERNAL MODULE: ./components/style/index.less
268
- var style = __webpack_require__(131);
268
+ var style = __webpack_require__(139);
269
269
 
270
270
  // EXTERNAL MODULE: ./components/grid/style/index.less
271
- var grid_style = __webpack_require__(155);
271
+ var grid_style = __webpack_require__(167);
272
272
 
273
273
  // CONCATENATED MODULE: ./components/grid/style/index.js
274
274
 
@@ -402,11 +402,11 @@ colvue_type_template_id_6e20d7f2_render._withStripped = true
402
402
  // CONCATENATED MODULE: ./components/grid/col.vue?vue&type=template&id=6e20d7f2&
403
403
 
404
404
  // EXTERNAL MODULE: external "babel-runtime/helpers/typeof"
405
- var typeof_ = __webpack_require__(8);
405
+ var typeof_ = __webpack_require__(9);
406
406
  var typeof_default = /*#__PURE__*/__webpack_require__.n(typeof_);
407
407
 
408
408
  // EXTERNAL MODULE: external "babel-runtime/core-js/object/keys"
409
- var keys_ = __webpack_require__(12);
409
+ var keys_ = __webpack_require__(10);
410
410
  var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
411
411
 
412
412
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/grid/col.vue?vue&type=script&lang=js&
@@ -535,7 +535,7 @@ col.install = function (Vue) {
535
535
 
536
536
  /***/ }),
537
537
 
538
- /***/ 8:
538
+ /***/ 9:
539
539
  /***/ (function(module, exports) {
540
540
 
541
541
  module.exports = require("babel-runtime/helpers/typeof");
package/dist/collapse.js CHANGED
@@ -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 = 107);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 115);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,7 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 107:
206
+ /***/ 115:
207
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
208
208
 
209
209
  "use strict";
@@ -211,10 +211,10 @@ function normalizeComponent (
211
211
  __webpack_require__.r(__webpack_exports__);
212
212
 
213
213
  // EXTERNAL MODULE: ./components/style/index.less
214
- var style = __webpack_require__(131);
214
+ var style = __webpack_require__(139);
215
215
 
216
216
  // EXTERNAL MODULE: ./components/collapse/style/index.less
217
- var collapse_style = __webpack_require__(237);
217
+ var collapse_style = __webpack_require__(246);
218
218
 
219
219
  // CONCATENATED MODULE: ./components/collapse/style/index.js
220
220
 
@@ -653,14 +653,14 @@ collapse.install = function (Vue) {
653
653
 
654
654
  /***/ }),
655
655
 
656
- /***/ 131:
656
+ /***/ 139:
657
657
  /***/ (function(module, exports) {
658
658
 
659
659
  // removed by extract-text-webpack-plugin
660
660
 
661
661
  /***/ }),
662
662
 
663
- /***/ 237:
663
+ /***/ 246:
664
664
  /***/ (function(module, exports) {
665
665
 
666
666
  // removed by extract-text-webpack-plugin
package/dist/color.js CHANGED
@@ -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 = 116);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 124);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,7 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 116:
206
+ /***/ 124:
207
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
208
208
 
209
209
  "use strict";
@@ -211,10 +211,10 @@ function normalizeComponent (
211
211
  __webpack_require__.r(__webpack_exports__);
212
212
 
213
213
  // EXTERNAL MODULE: ./components/style/index.less
214
- var style = __webpack_require__(131);
214
+ var style = __webpack_require__(139);
215
215
 
216
216
  // EXTERNAL MODULE: ./components/color/style/index.less
217
- var color_style = __webpack_require__(157);
217
+ var color_style = __webpack_require__(169);
218
218
 
219
219
  // CONCATENATED MODULE: ./components/color/style/index.js
220
220
 
@@ -288,14 +288,14 @@ color.install = function (Vue) {
288
288
 
289
289
  /***/ }),
290
290
 
291
- /***/ 131:
291
+ /***/ 139:
292
292
  /***/ (function(module, exports) {
293
293
 
294
294
  // removed by extract-text-webpack-plugin
295
295
 
296
296
  /***/ }),
297
297
 
298
- /***/ 157:
298
+ /***/ 169:
299
299
  /***/ (function(module, exports) {
300
300
 
301
301
  // removed by extract-text-webpack-plugin