@mdsfe/mds-ui 0.2.9 → 0.2.10-rc.10

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 (120) hide show
  1. package/dist/_util/iconfont/index.js +38 -0
  2. package/dist/affix.js +8 -8
  3. package/dist/alert.js +476 -0
  4. package/dist/anchor.js +5 -5
  5. package/dist/avatar.js +8 -8
  6. package/dist/backtop.js +9 -9
  7. package/dist/badge.js +17 -17
  8. package/dist/bordershadow.js +2 -2
  9. package/dist/breadcrumb.js +4 -4
  10. package/dist/button.js +10 -10
  11. package/dist/card.js +4 -4
  12. package/dist/carousel.js +67 -67
  13. package/dist/cascader.js +33 -33
  14. package/dist/cascaderpanel.js +20 -20
  15. package/dist/checkbox.js +4 -4
  16. package/dist/col.js +3 -3
  17. package/dist/collapse.js +4 -4
  18. package/dist/color.js +4 -4
  19. package/dist/datepicker.js +234 -234
  20. package/dist/divider.js +2 -2
  21. package/dist/drawer.js +8 -8
  22. package/dist/dropdown.js +17 -17
  23. package/dist/empty.js +8 -8
  24. package/dist/font/{iconfont.28359fa.ttf → iconfont.22ef8cb.ttf} +0 -0
  25. package/dist/font/iconfont.8bd7c3e.woff2 +0 -0
  26. package/dist/font/iconfont.c5d3297.woff +0 -0
  27. package/dist/font.js +4 -4
  28. package/dist/form.js +8 -8
  29. package/dist/icon.js +17 -63
  30. package/dist/index.js +1 -1
  31. package/dist/input.js +13 -13
  32. package/dist/inputnumber.js +8 -8
  33. package/dist/layout.js +10 -10
  34. package/dist/list.js +8 -8
  35. package/dist/loading.js +2 -2
  36. package/dist/mds-ui.min.css +1 -1
  37. package/dist/mds-ui.min.js +909 -743
  38. package/dist/menu.js +17 -17
  39. package/dist/message.js +8 -8
  40. package/dist/modal.js +8 -8
  41. package/dist/notification.js +12 -12
  42. package/dist/pagination.js +49 -24
  43. package/dist/popconfirm.js +17 -17
  44. package/dist/popover.js +6 -6
  45. package/dist/progress.js +10 -208
  46. package/dist/radio.js +8 -8
  47. package/dist/rate.js +33 -213
  48. package/dist/row.js +3 -3
  49. package/dist/select.js +32 -32
  50. package/dist/slider.js +23 -23
  51. package/dist/slottable.js +22 -22
  52. package/dist/steps.js +6 -6
  53. package/dist/style/affix.css +295 -1
  54. package/dist/style/alert.css +6168 -0
  55. package/dist/style/anchor.css +295 -1
  56. package/dist/style/avatar.css +295 -1
  57. package/dist/style/badge.css +295 -1
  58. package/dist/style/bordershadow.css +295 -1
  59. package/dist/style/breadcrumb.css +295 -1
  60. package/dist/style/button.css +295 -1
  61. package/dist/style/card.css +295 -1
  62. package/dist/style/carousel.css +295 -1
  63. package/dist/style/checkbox.css +295 -1
  64. package/dist/style/col.css +295 -1
  65. package/dist/style/collapse.css +295 -1
  66. package/dist/style/color.css +295 -1
  67. package/dist/style/datepicker.css +295 -1
  68. package/dist/style/divider.css +295 -1
  69. package/dist/style/drawer.css +295 -1
  70. package/dist/style/dropdown.css +295 -1
  71. package/dist/style/empty.css +295 -1
  72. package/dist/style/font.css +295 -1
  73. package/dist/style/form.css +295 -1
  74. package/dist/style/icon.css +295 -1
  75. package/dist/style/input.css +295 -1
  76. package/dist/style/inputnumber.css +295 -1
  77. package/dist/style/layout.css +295 -1
  78. package/dist/style/list.css +295 -1
  79. package/dist/style/loading.css +295 -1
  80. package/dist/style/menu.css +295 -1
  81. package/dist/style/modal.css +295 -1
  82. package/dist/style/notification.css +295 -1
  83. package/dist/style/pagination.css +295 -1
  84. package/dist/style/popconfirm.css +295 -1
  85. package/dist/style/popover.css +295 -1
  86. package/dist/style/progress.css +295 -23
  87. package/dist/style/radio.css +295 -1
  88. package/dist/style/rate.css +295 -23
  89. package/dist/style/row.css +295 -1
  90. package/dist/style/select.css +295 -1
  91. package/dist/style/slider.css +295 -1
  92. package/dist/style/slottable.css +295 -1
  93. package/dist/style/steps.css +295 -1
  94. package/dist/style/switch.css +295 -1
  95. package/dist/style/table.css +295 -23
  96. package/dist/style/tabs.css +295 -1
  97. package/dist/style/tag.css +295 -1
  98. package/dist/style/text.css +295 -1
  99. package/dist/style/timeline.css +295 -1
  100. package/dist/style/timepicker.css +295 -1
  101. package/dist/style/tooltip.css +295 -1
  102. package/dist/style/tree.css +295 -1
  103. package/dist/style/typography.css +295 -1
  104. package/dist/style/upload.css +295 -1
  105. package/dist/switch.js +6 -6
  106. package/dist/table.js +72 -252
  107. package/dist/tabs.js +11 -11
  108. package/dist/tag.js +8 -8
  109. package/dist/text.js +10 -10
  110. package/dist/timeline.js +4 -4
  111. package/dist/timepicker.js +11 -11
  112. package/dist/tooltip.js +9 -9
  113. package/dist/transfer.js +13 -13
  114. package/dist/transition.js +2 -2
  115. package/dist/tree.js +78 -78
  116. package/dist/typography.js +4 -4
  117. package/dist/upload.js +8 -8
  118. package/package.json +10 -4
  119. package/dist/font/iconfont.486e3d3.woff2 +0 -0
  120. package/dist/font/iconfont.675049e.woff +0 -0
package/dist/menu.js CHANGED
@@ -1,13 +1,13 @@
1
1
  (function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("./_util/proptype"), require("./icon"), require("./transition"), require("./_util/switchcase"));
3
+ module.exports = factory(require("./icon"), require("./_util/proptype"), require("./transition"), require("./_util/switchcase"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["./_util/proptype", "./icon", "./transition", "./_util/switchcase"], factory);
5
+ define(["./icon", "./_util/proptype", "./transition", "./_util/switchcase"], factory);
6
6
  else {
7
- var a = typeof exports === 'object' ? factory(require("./_util/proptype"), require("./icon"), require("./transition"), require("./_util/switchcase")) : factory(root["./_util/proptype"], root["./icon"], root["./transition"], root["./_util/switchcase"]);
7
+ var a = typeof exports === 'object' ? factory(require("./icon"), require("./_util/proptype"), require("./transition"), require("./_util/switchcase")) : factory(root["./icon"], root["./_util/proptype"], root["./transition"], root["./_util/switchcase"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__69__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__67__) {
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 = 93);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 91);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -217,14 +217,14 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
217
217
 
218
218
  /***/ }),
219
219
 
220
- /***/ 187:
220
+ /***/ 189:
221
221
  /***/ (function(module, exports) {
222
222
 
223
223
  // removed by extract-text-webpack-plugin
224
224
 
225
225
  /***/ }),
226
226
 
227
- /***/ 189:
227
+ /***/ 191:
228
228
  /***/ (function(module, exports) {
229
229
 
230
230
  // removed by extract-text-webpack-plugin
@@ -238,23 +238,23 @@ module.exports = require("babel-runtime/helpers/defineProperty");
238
238
 
239
239
  /***/ }),
240
240
 
241
- /***/ 43:
241
+ /***/ 41:
242
242
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
243
243
 
244
244
  "use strict";
245
245
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(139);
246
246
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_index_less__WEBPACK_IMPORTED_MODULE_0__);
247
- /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(189);
247
+ /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(191);
248
248
  /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_index_less__WEBPACK_IMPORTED_MODULE_1__);
249
249
 
250
250
 
251
251
 
252
252
  /***/ }),
253
253
 
254
- /***/ 69:
254
+ /***/ 67:
255
255
  /***/ (function(module, exports) {
256
256
 
257
- module.exports = __WEBPACK_EXTERNAL_MODULE__69__;
257
+ module.exports = __WEBPACK_EXTERNAL_MODULE__67__;
258
258
 
259
259
  /***/ }),
260
260
 
@@ -272,7 +272,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
272
272
 
273
273
  /***/ }),
274
274
 
275
- /***/ 93:
275
+ /***/ 91:
276
276
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
277
277
 
278
278
  "use strict";
@@ -283,10 +283,10 @@ __webpack_require__.r(__webpack_exports__);
283
283
  var style = __webpack_require__(139);
284
284
 
285
285
  // EXTERNAL MODULE: ./components/menu/style/index.less
286
- var menu_style = __webpack_require__(187);
286
+ var menu_style = __webpack_require__(189);
287
287
 
288
288
  // EXTERNAL MODULE: ./components/tooltip/style/index.js
289
- var tooltip_style = __webpack_require__(43);
289
+ var tooltip_style = __webpack_require__(41);
290
290
 
291
291
  // CONCATENATED MODULE: ./components/menu/style/index.js
292
292
 
@@ -320,7 +320,7 @@ var defineProperty_ = __webpack_require__(3);
320
320
  var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
321
321
 
322
322
  // EXTERNAL MODULE: external "./_util/proptype"
323
- var proptype_ = __webpack_require__(7);
323
+ var proptype_ = __webpack_require__(8);
324
324
 
325
325
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/menu/menu.vue?vue&type=script&lang=js&
326
326
 
@@ -754,14 +754,14 @@ menu_submenuvue_type_template_id_6a2cabb6_render._withStripped = true
754
754
  // CONCATENATED MODULE: ./components/menu/menu-submenu.vue?vue&type=template&id=6a2cabb6&
755
755
 
756
756
  // EXTERNAL MODULE: external "./_util/switchcase"
757
- var switchcase_ = __webpack_require__(69);
757
+ var switchcase_ = __webpack_require__(67);
758
758
 
759
759
  // EXTERNAL MODULE: external "./transition"
760
760
  var external_transition_ = __webpack_require__(11);
761
761
  var external_transition_default = /*#__PURE__*/__webpack_require__.n(external_transition_);
762
762
 
763
763
  // EXTERNAL MODULE: external "./icon"
764
- var external_icon_ = __webpack_require__(8);
764
+ var external_icon_ = __webpack_require__(7);
765
765
  var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
766
766
 
767
767
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/menu/menu-submenu.vue?vue&type=script&lang=js&
package/dist/message.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("vue"), require("./icon"), require("./button")) : factory(root["Vue"], root["./icon"], root["./button"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__13__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__13__) {
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 = 96);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 94);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -724,7 +724,7 @@ var scrollBarWidth = void 0;
724
724
 
725
725
  /***/ }),
726
726
 
727
- /***/ 191:
727
+ /***/ 193:
728
728
  /***/ (function(module, exports) {
729
729
 
730
730
  // removed by extract-text-webpack-plugin
@@ -944,10 +944,10 @@ if (!vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer) {
944
944
 
945
945
  /***/ }),
946
946
 
947
- /***/ 8:
947
+ /***/ 7:
948
948
  /***/ (function(module, exports) {
949
949
 
950
- module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
950
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
951
951
 
952
952
  /***/ }),
953
953
 
@@ -958,7 +958,7 @@ module.exports = require("babel-runtime/helpers/typeof");
958
958
 
959
959
  /***/ }),
960
960
 
961
- /***/ 96:
961
+ /***/ 94:
962
962
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
963
963
 
964
964
  "use strict";
@@ -970,7 +970,7 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
970
970
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default = /*#__PURE__*/__webpack_require__.n(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_);
971
971
 
972
972
  // EXTERNAL MODULE: ./components/message/style/index.less
973
- var style = __webpack_require__(191);
973
+ var style = __webpack_require__(193);
974
974
 
975
975
  // CONCATENATED MODULE: ./components/message/style/index.js
976
976
 
@@ -1138,7 +1138,7 @@ var external_button_ = __webpack_require__(13);
1138
1138
  var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
1139
1139
 
1140
1140
  // EXTERNAL MODULE: external "./icon"
1141
- var external_icon_ = __webpack_require__(8);
1141
+ var external_icon_ = __webpack_require__(7);
1142
1142
  var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
1143
1143
 
1144
1144
  // CONCATENATED MODULE: ./components/message/props.js
package/dist/modal.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("vue"), require("./icon"), require("./transition"), require("./button")) : factory(root["Vue"], root["./icon"], root["./transition"], root["./button"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__13__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__13__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -510,7 +510,7 @@ __webpack_require__.r(__webpack_exports__);
510
510
  var style = __webpack_require__(139);
511
511
 
512
512
  // EXTERNAL MODULE: ./components/modal/style/index.less
513
- var modal_style = __webpack_require__(193);
513
+ var modal_style = __webpack_require__(195);
514
514
 
515
515
  // CONCATENATED MODULE: ./components/modal/style/index.js
516
516
 
@@ -693,11 +693,11 @@ render._withStripped = true
693
693
  // CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=64c3d160&
694
694
 
695
695
  // EXTERNAL MODULE: external "babel-runtime/core-js/number/is-finite"
696
- var is_finite_ = __webpack_require__(70);
696
+ var is_finite_ = __webpack_require__(68);
697
697
  var is_finite_default = /*#__PURE__*/__webpack_require__.n(is_finite_);
698
698
 
699
699
  // EXTERNAL MODULE: external "./icon"
700
- var external_icon_ = __webpack_require__(8);
700
+ var external_icon_ = __webpack_require__(7);
701
701
  var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
702
702
 
703
703
  // EXTERNAL MODULE: external "./button"
@@ -1489,7 +1489,7 @@ function fixBodyScroll(visible) {
1489
1489
 
1490
1490
  /***/ }),
1491
1491
 
1492
- /***/ 193:
1492
+ /***/ 195:
1493
1493
  /***/ (function(module, exports) {
1494
1494
 
1495
1495
  // removed by extract-text-webpack-plugin
@@ -1709,17 +1709,17 @@ if (!vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer) {
1709
1709
 
1710
1710
  /***/ }),
1711
1711
 
1712
- /***/ 70:
1712
+ /***/ 68:
1713
1713
  /***/ (function(module, exports) {
1714
1714
 
1715
1715
  module.exports = require("babel-runtime/core-js/number/is-finite");
1716
1716
 
1717
1717
  /***/ }),
1718
1718
 
1719
- /***/ 8:
1719
+ /***/ 7:
1720
1720
  /***/ (function(module, exports) {
1721
1721
 
1722
- module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
1722
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
1723
1723
 
1724
1724
  /***/ }),
1725
1725
 
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("vue"), require("./icon"), require("./transition"), require("./button")) : factory(root["Vue"], root["./icon"], root["./transition"], root["./button"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__13__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__11__, __WEBPACK_EXTERNAL_MODULE__13__) {
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 = 109);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 107);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -203,7 +203,7 @@ function normalizeComponent (
203
203
 
204
204
  /***/ }),
205
205
 
206
- /***/ 109:
206
+ /***/ 107:
207
207
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
208
208
 
209
209
  "use strict";
@@ -214,7 +214,7 @@ __webpack_require__.r(__webpack_exports__);
214
214
  var style = __webpack_require__(139);
215
215
 
216
216
  // EXTERNAL MODULE: ./components/notification/style/index.less
217
- var notification_style = __webpack_require__(195);
217
+ var notification_style = __webpack_require__(197);
218
218
 
219
219
  // CONCATENATED MODULE: ./components/notification/style/index.js
220
220
 
@@ -346,7 +346,7 @@ render._withStripped = true
346
346
  // CONCATENATED MODULE: ./components/notification/notification.vue?vue&type=template&id=872f1938&
347
347
 
348
348
  // EXTERNAL MODULE: external "./icon"
349
- var external_icon_ = __webpack_require__(8);
349
+ var external_icon_ = __webpack_require__(7);
350
350
  var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
351
351
 
352
352
  // EXTERNAL MODULE: external "./button"
@@ -611,7 +611,7 @@ notification_boxvue_type_template_id_0f7fb0e2_scoped_true_render._withStripped =
611
611
  // CONCATENATED MODULE: ./components/notification/notification-box.vue?vue&type=script&lang=js&
612
612
  /* harmony default export */ var notification_notification_boxvue_type_script_lang_js_ = (notification_boxvue_type_script_lang_js_);
613
613
  // EXTERNAL MODULE: ./components/notification/notification-box.vue?vue&type=style&index=0&id=0f7fb0e2&lang=less&scoped=true&
614
- var notification_boxvue_type_style_index_0_id_0f7fb0e2_lang_less_scoped_true_ = __webpack_require__(80);
614
+ var notification_boxvue_type_style_index_0_id_0f7fb0e2_lang_less_scoped_true_ = __webpack_require__(78);
615
615
 
616
616
  // CONCATENATED MODULE: ./components/notification/notification-box.vue
617
617
 
@@ -775,14 +775,14 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
775
775
 
776
776
  /***/ }),
777
777
 
778
- /***/ 195:
778
+ /***/ 197:
779
779
  /***/ (function(module, exports) {
780
780
 
781
781
  // removed by extract-text-webpack-plugin
782
782
 
783
783
  /***/ }),
784
784
 
785
- /***/ 197:
785
+ /***/ 199:
786
786
  /***/ (function(module, exports) {
787
787
 
788
788
  // removed by extract-text-webpack-plugin
@@ -796,18 +796,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__2__;
796
796
 
797
797
  /***/ }),
798
798
 
799
- /***/ 8:
799
+ /***/ 7:
800
800
  /***/ (function(module, exports) {
801
801
 
802
- module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
802
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
803
803
 
804
804
  /***/ }),
805
805
 
806
- /***/ 80:
806
+ /***/ 78:
807
807
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
808
808
 
809
809
  "use strict";
810
- /* harmony import */ var _node_modules_extract_text_webpack_plugin_dist_loader_js_ref_4_0_node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_notification_box_vue_vue_type_style_index_0_id_0f7fb0e2_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(197);
810
+ /* harmony import */ var _node_modules_extract_text_webpack_plugin_dist_loader_js_ref_4_0_node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_notification_box_vue_vue_type_style_index_0_id_0f7fb0e2_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(199);
811
811
  /* harmony import */ var _node_modules_extract_text_webpack_plugin_dist_loader_js_ref_4_0_node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_notification_box_vue_vue_type_style_index_0_id_0f7fb0e2_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_extract_text_webpack_plugin_dist_loader_js_ref_4_0_node_modules_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_notification_box_vue_vue_type_style_index_0_id_0f7fb0e2_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
812
812
  /* unused harmony reexport * */
813
813
 
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./_util/proptype"), require("./input")) : factory(root["./_util/proptype"], root["./input"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(window, function(__WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__16__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__16__) {
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 = 97);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 95);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ({
@@ -217,14 +217,14 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__16__;
217
217
 
218
218
  /***/ }),
219
219
 
220
- /***/ 181:
220
+ /***/ 183:
221
221
  /***/ (function(module, exports) {
222
222
 
223
223
  // removed by extract-text-webpack-plugin
224
224
 
225
225
  /***/ }),
226
226
 
227
- /***/ 199:
227
+ /***/ 201:
228
228
  /***/ (function(module, exports) {
229
229
 
230
230
  // removed by extract-text-webpack-plugin
@@ -238,27 +238,27 @@ module.exports = require("babel-runtime/helpers/defineProperty");
238
238
 
239
239
  /***/ }),
240
240
 
241
- /***/ 59:
241
+ /***/ 57:
242
242
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
243
243
 
244
244
  "use strict";
245
245
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(139);
246
246
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_index_less__WEBPACK_IMPORTED_MODULE_0__);
247
- /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(181);
247
+ /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(183);
248
248
  /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_index_less__WEBPACK_IMPORTED_MODULE_1__);
249
249
 
250
250
 
251
251
 
252
252
  /***/ }),
253
253
 
254
- /***/ 7:
254
+ /***/ 8:
255
255
  /***/ (function(module, exports) {
256
256
 
257
- module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
257
+ module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
258
258
 
259
259
  /***/ }),
260
260
 
261
- /***/ 97:
261
+ /***/ 95:
262
262
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
263
263
 
264
264
  "use strict";
@@ -269,10 +269,10 @@ __webpack_require__.r(__webpack_exports__);
269
269
  var style = __webpack_require__(139);
270
270
 
271
271
  // EXTERNAL MODULE: ./components/pagination/style/index.less
272
- var pagination_style = __webpack_require__(199);
272
+ var pagination_style = __webpack_require__(201);
273
273
 
274
274
  // EXTERNAL MODULE: ./components/input/style/index.js
275
- var input_style = __webpack_require__(59);
275
+ var input_style = __webpack_require__(57);
276
276
 
277
277
  // CONCATENATED MODULE: ./components/pagination/style/index.js
278
278
 
@@ -460,7 +460,13 @@ var render = function () {
460
460
  2
461
461
  ),
462
462
  _vm.showQuickJumper || _vm.showJumper
463
- ? _c("mds-page-option", { on: { "jump-to": _vm.handleQuickJump } })
463
+ ? _c("mds-page-option", {
464
+ attrs: {
465
+ "current-page": _vm.currentPage,
466
+ "calculate-page": _vm.calculatePage,
467
+ },
468
+ on: { "jump-to": _vm.handleQuickJump },
469
+ })
464
470
  : _vm._e(),
465
471
  !_vm.simple && _vm.showPageNumber && !_vm.mini
466
472
  ? _c("li", { class: _vm.prefixCls + "-more" }, [
@@ -538,7 +544,7 @@ var optionvue_type_template_id_1ad093df_render = function () {
538
544
  _vm._v("\n " + _vm._s(_vm.locale.jump_to) + "\n "),
539
545
  _c("mds-input", {
540
546
  attrs: { type: "text" },
541
- on: { "press-enter": _vm.handleJump, blur: _vm.blueJump },
547
+ on: { "press-enter": _vm.handleJump, blur: _vm.blurJump },
542
548
  model: {
543
549
  value: _vm.pageText,
544
550
  callback: function ($$v) {
@@ -581,6 +587,14 @@ var external_input_default = /*#__PURE__*/__webpack_require__.n(external_input_)
581
587
  /* harmony default export */ var optionvue_type_script_lang_js_ = ({
582
588
  name: 'MdsPaginationOption',
583
589
  props: {
590
+ calculatePage: {
591
+ type: Number,
592
+ default: 1
593
+ },
594
+ currentPage: {
595
+ type: Number,
596
+ default: 1
597
+ },
584
598
  prefixCls: {
585
599
  type: String,
586
600
  default: 'mds-pagination-options'
@@ -589,29 +603,37 @@ var external_input_default = /*#__PURE__*/__webpack_require__.n(external_input_)
589
603
  data: function data() {
590
604
  return {
591
605
  locale: zh_CN,
592
- pageText: ''
606
+ pageText: this.currentPage
593
607
  };
594
608
  },
595
609
 
596
610
  methods: {
611
+ handlPage: function handlPage() {
612
+ var jumpPage = parseInt(this.pageText || 1, 10);
613
+ return jumpPage > this.calculatePage ? this.calculatePage : jumpPage;
614
+ },
597
615
  handleJump: function handleJump(event) {
598
616
  if (this.disabled) {
599
617
  return;
600
618
  }
601
- (event.key === 'Enter' || event.charCode === 13) && this.$emit('jump-to', this.pageText);
602
- this.pageText = '';
619
+ (event.key === 'Enter' || event.charCode === 13) && this.$emit('jump-to', this.handlPage());
620
+ this.pageText = this.handlPage();
603
621
  },
604
- blueJump: function blueJump() {
605
- if (this.disabled || !this.pageText) {
622
+ blurJump: function blurJump() {
623
+ if (this.disabled) {
606
624
  return false;
607
- } else {
608
- this.$emit('jump-to', this.pageText);
609
- this.pageText = '';
610
625
  }
626
+ this.$emit('jump-to', this.handlPage());
627
+ this.pageText = this.handlPage();
611
628
  }
612
629
  },
613
630
  components: {
614
631
  MdsInput: external_input_default.a
632
+ },
633
+ watch: {
634
+ current: function current() {
635
+ this.pageText = this.currentPage;
636
+ }
615
637
  }
616
638
  });
617
639
  // CONCATENATED MODULE: ./components/pagination/option.vue?vue&type=script&lang=js&
@@ -643,7 +665,7 @@ if (false) { var api; }
643
665
  component.options.__file = "components/pagination/option.vue"
644
666
  /* harmony default export */ var pagination_option = (component.exports);
645
667
  // EXTERNAL MODULE: external "./_util/proptype"
646
- var proptype_ = __webpack_require__(7);
668
+ var proptype_ = __webpack_require__(8);
647
669
 
648
670
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/changePage.vue?vue&type=template&id=26e49fc9&
649
671
  var changePagevue_type_template_id_26e49fc9_render = function () {
@@ -916,6 +938,8 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
916
938
  //
917
939
  //
918
940
  //
941
+ //
942
+ //
919
943
 
920
944
 
921
945
 
@@ -1105,18 +1129,19 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
1105
1129
  }
1106
1130
  },
1107
1131
  handleJump: function handleJump(event) {
1108
- ;(event.key === 'Enter' || event.charCode === 13) && this.handleQuickJump(this.currentPage);
1132
+ ;(event.key === 'Enter' || event.charCode === 13) && this.handleQuickJump(this.currentPage || 1);
1109
1133
  },
1110
1134
  handleQuickJump: function handleQuickJump(newPageText) {
1111
1135
  if (this.disabled) {
1112
1136
  return;
1113
1137
  }
1114
- var newPage = parseInt(newPageText, 10);
1138
+ var newPage = parseInt(newPageText || 1, 10);
1115
1139
  this.currentPage = newPage;
1116
1140
  if (isNaN(newPage)) return false;
1117
1141
  if (newPage < 1) {
1118
1142
  this.handleChange(1);
1119
1143
  } else if (newPage > this.calculatePage) {
1144
+ this.currentPage = this.calculatePage;
1120
1145
  this.handleChange(this.calculatePage);
1121
1146
  } else {
1122
1147
  this.handleChange(newPage);
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("./icon"), require("./button"), require("./_mixin/tooltip")) : factory(root["./icon"], root["./button"], root["./_mixin/tooltip"]);
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__13__, __WEBPACK_EXTERNAL_MODULE__71__) {
10
+ })(window, function(__WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__13__, __WEBPACK_EXTERNAL_MODULE__69__) {
11
11
  return /******/ (function(modules) { // webpackBootstrap
12
12
  /******/ // The module cache
13
13
  /******/ var installedModules = {};
@@ -111,7 +111,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
111
111
  __webpack_require__.r(__webpack_exports__);
112
112
 
113
113
  // EXTERNAL MODULE: external "./_mixin/tooltip"
114
- var tooltip_ = __webpack_require__(71);
114
+ var tooltip_ = __webpack_require__(69);
115
115
  var tooltip_default = /*#__PURE__*/__webpack_require__.n(tooltip_);
116
116
 
117
117
  // EXTERNAL MODULE: external "./button"
@@ -119,7 +119,7 @@ var external_button_ = __webpack_require__(13);
119
119
  var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
120
120
 
121
121
  // EXTERNAL MODULE: external "./icon"
122
- var external_icon_ = __webpack_require__(8);
122
+ var external_icon_ = __webpack_require__(7);
123
123
  var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
124
124
 
125
125
  // CONCATENATED MODULE: ./components/popconfirm/popconfirm.js
@@ -239,13 +239,13 @@ var prefixClsFirm = 'mds-popover-firm';
239
239
  var style = __webpack_require__(139);
240
240
 
241
241
  // EXTERNAL MODULE: ./components/popover/style/index.js
242
- var popover_style = __webpack_require__(48);
242
+ var popover_style = __webpack_require__(46);
243
243
 
244
244
  // EXTERNAL MODULE: ./components/button/style/index.js
245
- var button_style = __webpack_require__(41);
245
+ var button_style = __webpack_require__(40);
246
246
 
247
247
  // EXTERNAL MODULE: ./components/popconfirm/style/index.less
248
- var popconfirm_style = __webpack_require__(203);
248
+ var popconfirm_style = __webpack_require__(205);
249
249
 
250
250
  // CONCATENATED MODULE: ./components/popconfirm/style/index.js
251
251
 
@@ -271,64 +271,64 @@ popconfirm.install = function (Vue) {
271
271
 
272
272
  /***/ }),
273
273
 
274
- /***/ 161:
274
+ /***/ 163:
275
275
  /***/ (function(module, exports) {
276
276
 
277
277
  // removed by extract-text-webpack-plugin
278
278
 
279
279
  /***/ }),
280
280
 
281
- /***/ 201:
281
+ /***/ 203:
282
282
  /***/ (function(module, exports) {
283
283
 
284
284
  // removed by extract-text-webpack-plugin
285
285
 
286
286
  /***/ }),
287
287
 
288
- /***/ 203:
288
+ /***/ 205:
289
289
  /***/ (function(module, exports) {
290
290
 
291
291
  // removed by extract-text-webpack-plugin
292
292
 
293
293
  /***/ }),
294
294
 
295
- /***/ 41:
295
+ /***/ 40:
296
296
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
297
297
 
298
298
  "use strict";
299
299
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(139);
300
300
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_index_less__WEBPACK_IMPORTED_MODULE_0__);
301
- /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(161);
301
+ /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(163);
302
302
  /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_index_less__WEBPACK_IMPORTED_MODULE_1__);
303
303
 
304
304
 
305
305
 
306
306
  /***/ }),
307
307
 
308
- /***/ 48:
308
+ /***/ 46:
309
309
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
310
310
 
311
311
  "use strict";
312
312
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(139);
313
313
  /* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_index_less__WEBPACK_IMPORTED_MODULE_0__);
314
- /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(201);
314
+ /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(203);
315
315
  /* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_index_less__WEBPACK_IMPORTED_MODULE_1__);
316
316
 
317
317
 
318
318
 
319
319
  /***/ }),
320
320
 
321
- /***/ 71:
321
+ /***/ 69:
322
322
  /***/ (function(module, exports) {
323
323
 
324
- module.exports = __WEBPACK_EXTERNAL_MODULE__71__;
324
+ module.exports = __WEBPACK_EXTERNAL_MODULE__69__;
325
325
 
326
326
  /***/ }),
327
327
 
328
- /***/ 8:
328
+ /***/ 7:
329
329
  /***/ (function(module, exports) {
330
330
 
331
- module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
331
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
332
332
 
333
333
  /***/ })
334
334