@mdsfe/mds-ui 0.4.9 → 0.4.11-0

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 (137) hide show
  1. package/CHANGELOG.md +1089 -0
  2. package/dist/affix.js +26 -21
  3. package/dist/alert.js +26 -21
  4. package/dist/anchor.js +41 -33
  5. package/dist/avatar.js +26 -21
  6. package/dist/backtop.js +36 -28
  7. package/dist/badge.js +31 -26
  8. package/dist/bordershadow.js +26 -21
  9. package/dist/breadcrumb.js +41 -33
  10. package/dist/button.js +41 -33
  11. package/dist/card.js +41 -33
  12. package/dist/carousel.js +41 -33
  13. package/dist/cascader.js +74 -57
  14. package/dist/cascaderpanel.js +51 -40
  15. package/dist/checkbox.js +41 -33
  16. package/dist/col.js +41 -33
  17. package/dist/collapse.js +41 -33
  18. package/dist/color.js +26 -21
  19. package/dist/datepicker.js +189 -148
  20. package/dist/divider.js +26 -21
  21. package/dist/drawer.js +27 -21
  22. package/dist/dropdown.js +61 -35
  23. package/dist/empty.js +26 -21
  24. package/dist/font/iconfont.6287649.ttf +1 -0
  25. package/dist/font/iconfont.badd670.woff +1 -0
  26. package/dist/font/iconfont.c1b8fe0.woff2 +1 -0
  27. package/dist/font.js +26 -21
  28. package/dist/form.js +41 -33
  29. package/dist/icon.js +26 -21
  30. package/dist/index.js +15 -19
  31. package/dist/input.js +57 -43
  32. package/dist/inputnumber.js +26 -21
  33. package/dist/layout.js +86 -69
  34. package/dist/list.js +41 -33
  35. package/dist/loading.js +26 -21
  36. package/dist/mds-ui.common.css +7 -0
  37. package/dist/mds-ui.common.js +1 -0
  38. package/dist/mds-ui.min.css +1 -1
  39. package/dist/mds-ui.min.js +1 -71200
  40. package/dist/menu.js +71 -57
  41. package/dist/message.js +56 -45
  42. package/dist/modal.js +36 -21
  43. package/dist/notification.js +46 -38
  44. package/dist/pagination.js +56 -45
  45. package/dist/popconfirm.js +1 -1
  46. package/dist/popover.js +26 -21
  47. package/dist/progress.js +57 -46
  48. package/dist/radio.js +44 -36
  49. package/dist/rate.js +41 -33
  50. package/dist/row.js +41 -33
  51. package/dist/select.js +81 -64
  52. package/dist/slider.js +45 -37
  53. package/dist/slottable.js +39 -31
  54. package/dist/steps.js +1 -1
  55. package/dist/style/affix.js +1 -0
  56. package/dist/style/alert.js +1 -0
  57. package/dist/style/anchor.js +1 -0
  58. package/dist/style/avatar.js +1 -0
  59. package/dist/style/backtop.js +1 -0
  60. package/dist/style/badge.css +2 -2
  61. package/dist/style/badge.js +1 -0
  62. package/dist/style/base.css +1 -1
  63. package/dist/style/base.js +1 -0
  64. package/dist/style/bordershadow.js +1 -0
  65. package/dist/style/breadcrumb.js +1 -0
  66. package/dist/style/button.js +1 -0
  67. package/dist/style/card.js +1 -0
  68. package/dist/style/carousel.js +1 -0
  69. package/dist/style/cascader.js +1 -0
  70. package/dist/style/cascaderpanel.js +1 -0
  71. package/dist/style/checkbox.css +9 -5
  72. package/dist/style/checkbox.js +1 -0
  73. package/dist/style/col.js +1 -0
  74. package/dist/style/collapse.js +1 -0
  75. package/dist/style/color.js +1 -0
  76. package/dist/style/datepicker.js +1 -0
  77. package/dist/style/divider.js +1 -0
  78. package/dist/style/drawer.js +1 -0
  79. package/dist/style/dropdown.js +1 -0
  80. package/dist/style/empty.js +1 -0
  81. package/dist/style/font.js +1 -0
  82. package/dist/style/form.js +1 -0
  83. package/dist/style/icon.css +1 -1
  84. package/dist/style/icon.js +1 -0
  85. package/dist/style/index.css +1 -1
  86. package/dist/style/index.js +1 -0
  87. package/dist/style/input.js +1 -0
  88. package/dist/style/inputnumber.js +1 -0
  89. package/dist/style/layout.js +1 -0
  90. package/dist/style/list.js +1 -0
  91. package/dist/style/loading.js +1 -0
  92. package/dist/style/menu.js +1 -0
  93. package/dist/style/message.js +1 -0
  94. package/dist/style/modal.js +1 -0
  95. package/dist/style/notification.css +4 -4
  96. package/dist/style/notification.js +1 -0
  97. package/dist/style/pagination.js +1 -0
  98. package/dist/style/popconfirm.js +1 -0
  99. package/dist/style/popover.js +1 -0
  100. package/dist/style/progress.js +1 -0
  101. package/dist/style/radio.js +1 -0
  102. package/dist/style/rate.css +3 -3
  103. package/dist/style/rate.js +1 -0
  104. package/dist/style/row.js +1 -0
  105. package/dist/style/select.js +1 -0
  106. package/dist/style/slider.js +1 -0
  107. package/dist/style/slottable.js +1 -0
  108. package/dist/style/steps.js +1 -0
  109. package/dist/style/switch.js +1 -0
  110. package/dist/style/table.css +9 -5
  111. package/dist/style/table.js +1 -0
  112. package/dist/style/tabs.js +1 -0
  113. package/dist/style/tag.js +1 -0
  114. package/dist/style/text.js +1 -0
  115. package/dist/style/timeline.js +1 -0
  116. package/dist/style/timepicker.js +1 -0
  117. package/dist/style/tooltip.js +1 -0
  118. package/dist/style/transfer.css +3 -3
  119. package/dist/style/transfer.js +1 -0
  120. package/dist/style/transition.js +1 -0
  121. package/dist/style/tree.js +1 -0
  122. package/dist/style/typography.js +1 -0
  123. package/dist/style/upload.js +1 -0
  124. package/dist/switch.js +26 -21
  125. package/dist/table.js +171 -136
  126. package/dist/tabs.js +103 -77
  127. package/dist/tag.js +26 -21
  128. package/dist/text.js +66 -52
  129. package/dist/timeline.js +41 -33
  130. package/dist/timepicker.js +68 -51
  131. package/dist/tooltip.js +1 -1
  132. package/dist/transfer.js +56 -45
  133. package/dist/transition.js +1 -1
  134. package/dist/tree.js +109 -101
  135. package/dist/typography.js +41 -33
  136. package/dist/upload.js +94 -74
  137. package/package.json +10 -9
package/dist/slottable.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 = "/dist/";
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
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
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
- injectStyles.call(
170
- this,
171
- (options.functional ? this.parent : this).$root.$options.shadowRoot
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 ? [].concat(existing, hook) : [hook]
191
+ options.beforeCreate = existing
192
+ ? [].concat(existing, hook)
193
+ : [hook]
192
194
  }
193
195
  }
194
196
 
@@ -520,8 +522,8 @@ var style = __webpack_require__(229);
520
522
  // CONCATENATED MODULE: ./components/slot-table/style/index.js
521
523
 
522
524
 
523
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/slot-table/src/table.vue?vue&type=template&id=d9717730
524
- var tablevue_type_template_id_d9717730_render = function () {
525
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/slot-table/src/table.vue?vue&type=template&id=0d34df4e&
526
+ var tablevue_type_template_id_0d34df4e_render = function () {
525
527
  var _vm = this
526
528
  var _h = _vm.$createElement
527
529
  var _c = _vm._self._c || _h
@@ -649,10 +651,10 @@ var tablevue_type_template_id_d9717730_render = function () {
649
651
  )
650
652
  }
651
653
  var staticRenderFns = []
652
- tablevue_type_template_id_d9717730_render._withStripped = true
654
+ tablevue_type_template_id_0d34df4e_render._withStripped = true
653
655
 
654
656
 
655
- // CONCATENATED MODULE: ./components/slot-table/src/table.vue?vue&type=template&id=d9717730
657
+ // CONCATENATED MODULE: ./components/slot-table/src/table.vue?vue&type=template&id=0d34df4e&
656
658
 
657
659
  // EXTERNAL MODULE: external "babel-runtime/helpers/extends"
658
660
  var extends_ = __webpack_require__(26);
@@ -966,7 +968,7 @@ var empty = __webpack_require__(39);
966
968
  var locale_ = __webpack_require__(9);
967
969
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
968
970
 
969
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/slot-table/src/table.vue?vue&type=script&lang=js
971
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/slot-table/src/table.vue?vue&type=script&lang=js&
970
972
  //
971
973
  //
972
974
  //
@@ -1059,7 +1061,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
1059
1061
  // 用于生成table key
1060
1062
  var tableIdSeed = 1;
1061
1063
 
1062
- /* harmony default export */ var tablevue_type_script_lang_js = ({
1064
+ /* harmony default export */ var tablevue_type_script_lang_js_ = ({
1063
1065
  name: 'MdsSlotTable',
1064
1066
  componentName: 'MdsSlotTable',
1065
1067
  components: {
@@ -1246,8 +1248,8 @@ var tableIdSeed = 1;
1246
1248
  this.removeListener();
1247
1249
  }
1248
1250
  });
1249
- // CONCATENATED MODULE: ./components/slot-table/src/table.vue?vue&type=script&lang=js
1250
- /* harmony default export */ var src_tablevue_type_script_lang_js = (tablevue_type_script_lang_js);
1251
+ // CONCATENATED MODULE: ./components/slot-table/src/table.vue?vue&type=script&lang=js&
1252
+ /* harmony default export */ var src_tablevue_type_script_lang_js_ = (tablevue_type_script_lang_js_);
1251
1253
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1252
1254
  var componentNormalizer = __webpack_require__(0);
1253
1255
 
@@ -1260,8 +1262,8 @@ var componentNormalizer = __webpack_require__(0);
1260
1262
  /* normalize component */
1261
1263
 
1262
1264
  var component = Object(componentNormalizer["a" /* default */])(
1263
- src_tablevue_type_script_lang_js,
1264
- tablevue_type_template_id_d9717730_render,
1265
+ src_tablevue_type_script_lang_js_,
1266
+ tablevue_type_template_id_0d34df4e_render,
1265
1267
  staticRenderFns,
1266
1268
  false,
1267
1269
  null,
@@ -1270,6 +1272,9 @@ var component = Object(componentNormalizer["a" /* default */])(
1270
1272
 
1271
1273
  )
1272
1274
 
1275
+ /* hot reload */
1276
+ if (false) { var api; }
1277
+ component.options.__file = "components/slot-table/src/table.vue"
1273
1278
  /* harmony default export */ var table = (component.exports);
1274
1279
  // EXTERNAL MODULE: external "babel-runtime/core-js/object/keys"
1275
1280
  var keys_ = __webpack_require__(11);
@@ -3265,7 +3270,7 @@ module.exports = require("babel-runtime/helpers/defineProperty");
3265
3270
 
3266
3271
  "use strict";
3267
3272
 
3268
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/empty/empty.vue?vue&type=template&id=a3e38294
3273
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/empty/empty.vue?vue&type=template&id=4c25cea0&
3269
3274
  var render = function () {
3270
3275
  var _vm = this
3271
3276
  var _h = _vm.$createElement
@@ -3295,7 +3300,7 @@ var staticRenderFns = []
3295
3300
  render._withStripped = true
3296
3301
 
3297
3302
 
3298
- // CONCATENATED MODULE: ./components/empty/empty.vue?vue&type=template&id=a3e38294
3303
+ // CONCATENATED MODULE: ./components/empty/empty.vue?vue&type=template&id=4c25cea0&
3299
3304
 
3300
3305
  // EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
3301
3306
  var defineProperty_ = __webpack_require__(3);
@@ -3308,7 +3313,7 @@ var proptype_ = __webpack_require__(8);
3308
3313
  var locale_ = __webpack_require__(9);
3309
3314
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
3310
3315
 
3311
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/empty/empty.vue?vue&type=script&lang=js
3316
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/empty/empty.vue?vue&type=script&lang=js&
3312
3317
 
3313
3318
  //
3314
3319
  //
@@ -3335,7 +3340,7 @@ var basicImg = '//j1.58cdn.com.cn/matrix/static/images/nodata_basic@2x.png';
3335
3340
  var mediumImg = '//j1.58cdn.com.cn/matrix/static/images/nodata_medium@2x.png';
3336
3341
  var largeImg = '//j1.58cdn.com.cn/matrix/static/images/nodata_large@2x.png';
3337
3342
 
3338
- /* harmony default export */ var emptyvue_type_script_lang_js = ({
3343
+ /* harmony default export */ var emptyvue_type_script_lang_js_ = ({
3339
3344
  name: 'MdsEmpty',
3340
3345
  mixins: [locale_default.a],
3341
3346
  props: {
@@ -3388,8 +3393,8 @@ var largeImg = '//j1.58cdn.com.cn/matrix/static/images/nodata_large@2x.png';
3388
3393
  };
3389
3394
  }
3390
3395
  });
3391
- // CONCATENATED MODULE: ./components/empty/empty.vue?vue&type=script&lang=js
3392
- /* harmony default export */ var empty_emptyvue_type_script_lang_js = (emptyvue_type_script_lang_js);
3396
+ // CONCATENATED MODULE: ./components/empty/empty.vue?vue&type=script&lang=js&
3397
+ /* harmony default export */ var empty_emptyvue_type_script_lang_js_ = (emptyvue_type_script_lang_js_);
3393
3398
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
3394
3399
  var componentNormalizer = __webpack_require__(0);
3395
3400
 
@@ -3402,7 +3407,7 @@ var componentNormalizer = __webpack_require__(0);
3402
3407
  /* normalize component */
3403
3408
 
3404
3409
  var component = Object(componentNormalizer["a" /* default */])(
3405
- empty_emptyvue_type_script_lang_js,
3410
+ empty_emptyvue_type_script_lang_js_,
3406
3411
  render,
3407
3412
  staticRenderFns,
3408
3413
  false,
@@ -3412,6 +3417,9 @@ var component = Object(componentNormalizer["a" /* default */])(
3412
3417
 
3413
3418
  )
3414
3419
 
3420
+ /* hot reload */
3421
+ if (false) { var api; }
3422
+ component.options.__file = "components/empty/empty.vue"
3415
3423
  /* harmony default export */ var empty = __webpack_exports__["a"] = (component.exports);
3416
3424
 
3417
3425
  /***/ }),
package/dist/steps.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 = "/dist/";
90
+ /******/ __webpack_require__.p = "";
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
@@ -0,0 +1 @@
1
+ require('./affix.css')
@@ -0,0 +1 @@
1
+ require('./alert.css')
@@ -0,0 +1 @@
1
+ require('./anchor.css')
@@ -0,0 +1 @@
1
+ require('./avatar.css')
@@ -0,0 +1 @@
1
+ require('./backtop.css')
@@ -1,7 +1,7 @@
1
- .mds-badge[data-v-42695b5a] {
1
+ .mds-badge[data-v-46b76ccc] {
2
2
  text-align: end;
3
3
  }
4
- .mds-badge[data-v-42695b5a]:not(.mds-badge-status) {
4
+ .mds-badge[data-v-46b76ccc]:not(.mds-badge-status) {
5
5
  margin-right: 20px;
6
6
  }
7
7
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
@@ -0,0 +1 @@
1
+ require('./badge.css')