@mdsfe/mds-ui 0.3.0-9 → 0.4.0-rc.2

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 (127) hide show
  1. package/dist/_util/iconfont/index.js +1 -1
  2. package/dist/affix.js +31 -36
  3. package/dist/alert.js +27 -32
  4. package/dist/anchor.js +39 -47
  5. package/dist/avatar.js +27 -32
  6. package/dist/backtop.js +31 -36
  7. package/dist/badge.js +41 -46
  8. package/dist/base.js +1 -0
  9. package/dist/bordershadow.js +27 -32
  10. package/dist/breadcrumb.js +39 -47
  11. package/dist/button.js +43 -58
  12. package/dist/card.js +39 -47
  13. package/dist/carousel.js +55 -63
  14. package/dist/cascader.js +98 -115
  15. package/dist/cascaderpanel.js +70 -81
  16. package/dist/checkbox.js +43 -51
  17. package/dist/col.js +52 -60
  18. package/dist/collapse.js +39 -47
  19. package/dist/color.js +27 -32
  20. package/dist/datepicker.js +1145 -543
  21. package/dist/divider.js +27 -32
  22. package/dist/drawer.js +42 -47
  23. package/dist/dropdown.js +49 -79
  24. package/dist/empty.js +36 -41
  25. package/dist/font/iconfont.06c8a26.woff +0 -0
  26. package/dist/font/iconfont.c9840a2.woff2 +0 -0
  27. package/dist/font/{iconfont.ecd615a.ttf → iconfont.dffa89c.ttf} +0 -0
  28. package/dist/font.js +27 -32
  29. package/dist/form.js +49 -57
  30. package/dist/icon.js +27 -32
  31. package/dist/index.js +358 -1
  32. package/dist/input.js +258 -119
  33. package/dist/inputnumber.js +31 -36
  34. package/dist/layout.js +75 -92
  35. package/dist/list.js +39 -47
  36. package/dist/loading.js +27 -32
  37. package/dist/mds-ui.min.css +1 -2
  38. package/dist/mds-ui.min.js +4707 -3009
  39. package/dist/menu.js +98 -93
  40. package/dist/message.js +60 -71
  41. package/dist/modal.js +40 -45
  42. package/dist/notification.js +53 -61
  43. package/dist/pagination.js +66 -77
  44. package/dist/popconfirm.js +31 -77
  45. package/dist/popover.js +51 -63
  46. package/dist/progress.js +52 -63
  47. package/dist/radio.js +54 -62
  48. package/dist/rate.js +47 -55
  49. package/dist/row.js +52 -60
  50. package/dist/select.js +111 -128
  51. package/dist/slider.js +60 -68
  52. package/dist/slottable.js +68 -76
  53. package/dist/steps.js +7 -7
  54. package/dist/style/affix.css +3 -6789
  55. package/dist/style/alert.css +3 -6789
  56. package/dist/style/anchor.css +3 -6789
  57. package/dist/style/avatar.css +3 -6789
  58. package/dist/style/badge.css +5 -6791
  59. package/dist/style/base.css +1 -0
  60. package/dist/style/bordershadow.css +3 -6789
  61. package/dist/style/breadcrumb.css +3 -6789
  62. package/dist/style/button.css +3 -6789
  63. package/dist/style/card.css +3 -6789
  64. package/dist/style/carousel.css +0 -6786
  65. package/dist/style/checkbox.css +3 -6789
  66. package/dist/style/col.css +3 -6789
  67. package/dist/style/collapse.css +3 -6789
  68. package/dist/style/color.css +3 -6789
  69. package/dist/style/datepicker.css +70 -6789
  70. package/dist/style/divider.css +3 -6789
  71. package/dist/style/drawer.css +3 -6789
  72. package/dist/style/dropdown.css +3 -8958
  73. package/dist/style/empty.css +3 -6789
  74. package/dist/style/font.css +3 -6789
  75. package/dist/style/form.css +3 -6789
  76. package/dist/style/icon.css +3 -6789
  77. package/dist/style/index.css +6 -0
  78. package/dist/style/input.css +23 -6795
  79. package/dist/style/inputnumber.css +3 -6789
  80. package/dist/style/layout.css +3 -6789
  81. package/dist/style/list.css +3 -6789
  82. package/dist/style/loading.css +3 -6789
  83. package/dist/style/menu.css +3 -6789
  84. package/dist/style/modal.css +3 -6789
  85. package/dist/style/notification.css +7 -6793
  86. package/dist/style/pagination.css +23 -6795
  87. package/dist/style/popconfirm.css +3 -9093
  88. package/dist/style/popover.css +3 -6789
  89. package/dist/style/progress.css +3 -6789
  90. package/dist/style/radio.css +3 -6789
  91. package/dist/style/rate.css +3 -6789
  92. package/dist/style/row.css +3 -6789
  93. package/dist/style/select.css +3 -6789
  94. package/dist/style/slider.css +3 -6789
  95. package/dist/style/slottable.css +3 -6789
  96. package/dist/style/steps.css +3 -6789
  97. package/dist/style/switch.css +3 -6789
  98. package/dist/style/table.css +3 -6789
  99. package/dist/style/tabs.css +3 -6789
  100. package/dist/style/tag.css +3 -6789
  101. package/dist/style/text.css +3 -6789
  102. package/dist/style/timeline.css +3 -6789
  103. package/dist/style/timepicker.css +3 -6789
  104. package/dist/style/tooltip.css +3 -6789
  105. package/dist/style/transfer.css +105 -0
  106. package/dist/style/tree.css +3 -6789
  107. package/dist/style/typography.css +3 -6789
  108. package/dist/style/upload.css +3 -6789
  109. package/dist/switch.js +31 -36
  110. package/dist/table.js +225 -274
  111. package/dist/tabs.js +81 -104
  112. package/dist/tag.js +27 -32
  113. package/dist/text.js +680 -541
  114. package/dist/timeline.js +39 -47
  115. package/dist/timepicker.js +100 -117
  116. package/dist/tooltip.js +27 -27
  117. package/dist/transfer.js +1028 -85
  118. package/dist/transition.js +4 -4
  119. package/dist/tree.js +62 -70
  120. package/dist/typography.js +39 -47
  121. package/dist/upload.js +95 -115
  122. package/package.json +9 -5
  123. package/CHANGELOG.md +0 -1013
  124. package/dist/.DS_Store +0 -0
  125. package/dist/_util/.DS_Store +0 -0
  126. package/dist/font/iconfont.ae3b61b.woff2 +0 -0
  127. 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__, __WEBPACK_EXTERNAL_MODULE__21__) {
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 = {};
@@ -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 = 130);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 128);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -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, /* server only */
117
+ moduleIdentifier /* server only */,
118
118
  shadowMode /* vue-cli only */
119
119
  ) {
120
120
  // Vue.extend constructor export interop
121
- var options = typeof scriptExports === 'function'
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) { // server build
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
- 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,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 (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
192
- ? [].concat(existing, hook)
193
- : [hook]
191
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
194
192
  }
195
193
  }
196
194
 
@@ -203,23 +201,23 @@ function normalizeComponent (
203
201
 
204
202
  /***/ }),
205
203
 
206
- /***/ 130:
204
+ /***/ 128:
207
205
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
208
206
 
209
207
  "use strict";
210
208
  // ESM COMPAT FLAG
211
209
  __webpack_require__.r(__webpack_exports__);
212
210
 
213
- // EXTERNAL MODULE: ./components/style/index.less
214
- var style = __webpack_require__(142);
211
+ // EXTERNAL MODULE: ./components/style/mixins-only.less
212
+ var mixins_only = __webpack_require__(140);
215
213
 
216
214
  // EXTERNAL MODULE: ./components/switch/style/index.less
217
- var switch_style = __webpack_require__(225);
215
+ var style = __webpack_require__(220);
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=0eee4dc4&
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=0eee4dc4&
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__(21);
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 switchvue_type_script_lang_js_ = ({
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 switch_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_);
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
- switch_switchvue_type_script_lang_js_,
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
 
@@ -409,21 +404,21 @@ switch_switch.install = function (Vue) {
409
404
 
410
405
  /***/ }),
411
406
 
412
- /***/ 142:
407
+ /***/ 140:
413
408
  /***/ (function(module, exports) {
414
409
 
415
410
  // removed by extract-text-webpack-plugin
416
411
 
417
412
  /***/ }),
418
413
 
419
- /***/ 21:
414
+ /***/ 22:
420
415
  /***/ (function(module, exports) {
421
416
 
422
- module.exports = __WEBPACK_EXTERNAL_MODULE__21__;
417
+ module.exports = __WEBPACK_EXTERNAL_MODULE__22__;
423
418
 
424
419
  /***/ }),
425
420
 
426
- /***/ 225:
421
+ /***/ 220:
427
422
  /***/ (function(module, exports) {
428
423
 
429
424
  // removed by extract-text-webpack-plugin