@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/list.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./_util/proptype")) : factory(root["./_util/proptype"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__3__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__7__) {
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 = 104);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 112);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,14 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 1:
207
- /***/ (function(module, exports) {
208
-
209
- module.exports = require("babel-runtime/helpers/defineProperty");
210
-
211
- /***/ }),
212
-
213
- /***/ 104:
206
+ /***/ 112:
214
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
215
208
 
216
209
  "use strict";
@@ -218,10 +211,10 @@ module.exports = require("babel-runtime/helpers/defineProperty");
218
211
  __webpack_require__.r(__webpack_exports__);
219
212
 
220
213
  // EXTERNAL MODULE: ./components/style/index.less
221
- var style = __webpack_require__(131);
214
+ var style = __webpack_require__(139);
222
215
 
223
216
  // EXTERNAL MODULE: ./components/list/style/index.less
224
- var list_style = __webpack_require__(229);
217
+ var list_style = __webpack_require__(238);
225
218
 
226
219
  // CONCATENATED MODULE: ./components/list/style/index.js
227
220
 
@@ -354,11 +347,11 @@ render._withStripped = true
354
347
  // CONCATENATED MODULE: ./components/list/list.vue?vue&type=template&id=48015944&
355
348
 
356
349
  // EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
357
- var defineProperty_ = __webpack_require__(1);
350
+ var defineProperty_ = __webpack_require__(3);
358
351
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
359
352
 
360
353
  // EXTERNAL MODULE: external "./_util/proptype"
361
- var proptype_ = __webpack_require__(3);
354
+ var proptype_ = __webpack_require__(7);
362
355
 
363
356
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/list/list.vue?vue&type=script&lang=js&
364
357
 
@@ -764,14 +757,14 @@ list.install = function (Vue) {
764
757
 
765
758
  /***/ }),
766
759
 
767
- /***/ 131:
760
+ /***/ 139:
768
761
  /***/ (function(module, exports) {
769
762
 
770
763
  // removed by extract-text-webpack-plugin
771
764
 
772
765
  /***/ }),
773
766
 
774
- /***/ 229:
767
+ /***/ 238:
775
768
  /***/ (function(module, exports) {
776
769
 
777
770
  // removed by extract-text-webpack-plugin
@@ -781,7 +774,14 @@ list.install = function (Vue) {
781
774
  /***/ 3:
782
775
  /***/ (function(module, exports) {
783
776
 
784
- module.exports = __WEBPACK_EXTERNAL_MODULE__3__;
777
+ module.exports = require("babel-runtime/helpers/defineProperty");
778
+
779
+ /***/ }),
780
+
781
+ /***/ 7:
782
+ /***/ (function(module, exports) {
783
+
784
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
785
785
 
786
786
  /***/ })
787
787
 
package/dist/loading.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 = 123);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 131);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,7 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 123:
206
+ /***/ 131:
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/loading/style/index.less
217
- var loading_style = __webpack_require__(259);
217
+ var loading_style = __webpack_require__(272);
218
218
 
219
219
  // CONCATENATED MODULE: ./components/loading/style/index.js
220
220
 
@@ -235,7 +235,9 @@ var render = function () {
235
235
  expression: "isLoading",
236
236
  },
237
237
  ],
238
- class: _vm.prefixCls,
238
+ class: _vm.customClass
239
+ ? _vm.prefixCls + " " + _vm.customClass
240
+ : _vm.prefixCls,
239
241
  style: "background: " + _vm.maskColor,
240
242
  },
241
243
  [
@@ -284,6 +286,14 @@ render._withStripped = true
284
286
  //
285
287
  //
286
288
  //
289
+ //
290
+ //
291
+ //
292
+ //
293
+ //
294
+ //
295
+ //
296
+ //
287
297
 
288
298
  var PREFIXCLS = 'mds-loading';
289
299
  /* harmony default export */ var loadingvue_type_script_lang_js_ = ({
@@ -308,6 +318,9 @@ var PREFIXCLS = 'mds-loading';
308
318
  loadingText: {
309
319
  type: String,
310
320
  default: ''
321
+ },
322
+ customClass: {
323
+ type: String
311
324
  }
312
325
  },
313
326
  data: function data() {
@@ -339,7 +352,7 @@ var PREFIXCLS = 'mds-loading';
339
352
  'ball-spin-fade-loader': 8,
340
353
  'line-spin-fade-loader': 8,
341
354
  'triangle-skew-spin': 1,
342
- 'pacman': 5,
355
+ pacman: 5,
343
356
  'ball-grid-beat': 9,
344
357
  'semi-circle-spin': 1,
345
358
  'ball-scale-random': 3
@@ -412,14 +425,14 @@ loading.install = function (Vue) {
412
425
 
413
426
  /***/ }),
414
427
 
415
- /***/ 131:
428
+ /***/ 139:
416
429
  /***/ (function(module, exports) {
417
430
 
418
431
  // removed by extract-text-webpack-plugin
419
432
 
420
433
  /***/ }),
421
434
 
422
- /***/ 259:
435
+ /***/ 272:
423
436
  /***/ (function(module, exports) {
424
437
 
425
438
  // removed by extract-text-webpack-plugin