@mdsfe/mds-ui 0.2.9 → 0.2.10-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.
- package/CHANGELOG.md +971 -0
- package/dist/_util/iconfont/index.js +38 -0
- package/dist/affix.js +10 -10
- package/dist/anchor.js +6 -6
- package/dist/avatar.js +10 -10
- package/dist/backtop.js +11 -11
- package/dist/badge.js +19 -19
- package/dist/bordershadow.js +6 -6
- package/dist/breadcrumb.js +6 -6
- package/dist/button.js +12 -12
- package/dist/card.js +6 -6
- package/dist/carousel.js +68 -68
- package/dist/cascader.js +34 -34
- package/dist/cascaderpanel.js +20 -20
- package/dist/checkbox.js +6 -6
- package/dist/col.js +8 -8
- package/dist/collapse.js +6 -6
- package/dist/color.js +6 -6
- package/dist/datepicker.js +236 -236
- package/dist/divider.js +6 -6
- package/dist/drawer.js +12 -12
- package/dist/dropdown.js +20 -20
- package/dist/empty.js +12 -12
- package/dist/font.js +6 -6
- package/dist/form.js +10 -10
- package/dist/icon.js +18 -64
- package/dist/index.js +1 -1
- package/dist/input.js +15 -15
- package/dist/inputnumber.js +10 -10
- package/dist/layout.js +12 -12
- package/dist/list.js +10 -10
- package/dist/loading.js +6 -6
- package/dist/mds-ui.min.js +573 -563
- package/dist/menu.js +20 -20
- package/dist/message.js +8 -8
- package/dist/modal.js +12 -12
- package/dist/notification.js +14 -14
- package/dist/pagination.js +52 -27
- package/dist/popconfirm.js +23 -23
- package/dist/popover.js +8 -8
- package/dist/progress.js +12 -210
- package/dist/radio.js +10 -10
- package/dist/rate.js +26 -212
- package/dist/row.js +8 -8
- package/dist/select.js +34 -34
- package/dist/slider.js +25 -25
- package/dist/slottable.js +22 -22
- package/dist/steps.js +10 -10
- package/dist/style/progress.css +0 -22
- package/dist/style/rate.css +0 -22
- package/dist/style/table.css +0 -22
- package/dist/switch.js +10 -10
- package/dist/table.js +74 -254
- package/dist/tabs.js +13 -13
- package/dist/tag.js +10 -10
- package/dist/text.js +12 -12
- package/dist/timeline.js +6 -6
- package/dist/timepicker.js +13 -13
- package/dist/tooltip.js +8 -8
- package/dist/transfer.js +13 -13
- package/dist/transition.js +4 -4
- package/dist/tree.js +79 -79
- package/dist/typography.js +6 -6
- package/dist/upload.js +10 -10
- package/package.json +6 -3
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("./
|
|
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(["./
|
|
5
|
+
define(["./icon", "./_util/proptype", "./transition", "./_util/switchcase"], factory);
|
|
6
6
|
else {
|
|
7
|
-
var a = typeof exports === 'object' ? factory(require("./
|
|
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__,
|
|
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 =
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = 91);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -210,21 +210,21 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
|
|
|
210
210
|
|
|
211
211
|
/***/ }),
|
|
212
212
|
|
|
213
|
-
/***/
|
|
213
|
+
/***/ 138:
|
|
214
214
|
/***/ (function(module, exports) {
|
|
215
215
|
|
|
216
216
|
// removed by extract-text-webpack-plugin
|
|
217
217
|
|
|
218
218
|
/***/ }),
|
|
219
219
|
|
|
220
|
-
/***/
|
|
220
|
+
/***/ 186:
|
|
221
221
|
/***/ (function(module, exports) {
|
|
222
222
|
|
|
223
223
|
// removed by extract-text-webpack-plugin
|
|
224
224
|
|
|
225
225
|
/***/ }),
|
|
226
226
|
|
|
227
|
-
/***/
|
|
227
|
+
/***/ 188:
|
|
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
|
-
/***/
|
|
241
|
+
/***/ 41:
|
|
242
242
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
243
243
|
|
|
244
244
|
"use strict";
|
|
245
|
-
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
245
|
+
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(138);
|
|
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__(
|
|
247
|
+
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(188);
|
|
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
|
-
/***/
|
|
254
|
+
/***/ 67:
|
|
255
255
|
/***/ (function(module, exports) {
|
|
256
256
|
|
|
257
|
-
module.exports =
|
|
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
|
-
/***/
|
|
275
|
+
/***/ 91:
|
|
276
276
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
277
277
|
|
|
278
278
|
"use strict";
|
|
@@ -280,13 +280,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
|
|
|
280
280
|
__webpack_require__.r(__webpack_exports__);
|
|
281
281
|
|
|
282
282
|
// EXTERNAL MODULE: ./components/style/index.less
|
|
283
|
-
var style = __webpack_require__(
|
|
283
|
+
var style = __webpack_require__(138);
|
|
284
284
|
|
|
285
285
|
// EXTERNAL MODULE: ./components/menu/style/index.less
|
|
286
|
-
var menu_style = __webpack_require__(
|
|
286
|
+
var menu_style = __webpack_require__(186);
|
|
287
287
|
|
|
288
288
|
// EXTERNAL MODULE: ./components/tooltip/style/index.js
|
|
289
|
-
var tooltip_style = __webpack_require__(
|
|
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__(
|
|
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__(
|
|
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__(
|
|
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__,
|
|
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 =
|
|
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
|
-
/***/
|
|
727
|
+
/***/ 190:
|
|
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
|
-
/***/
|
|
947
|
+
/***/ 7:
|
|
948
948
|
/***/ (function(module, exports) {
|
|
949
949
|
|
|
950
|
-
module.exports =
|
|
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
|
-
/***/
|
|
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__(
|
|
973
|
+
var style = __webpack_require__(190);
|
|
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__(
|
|
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__,
|
|
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 =
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = 125);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -499,7 +499,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
|
|
|
499
499
|
|
|
500
500
|
/***/ }),
|
|
501
501
|
|
|
502
|
-
/***/
|
|
502
|
+
/***/ 125:
|
|
503
503
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
504
504
|
|
|
505
505
|
"use strict";
|
|
@@ -507,10 +507,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
|
|
|
507
507
|
__webpack_require__.r(__webpack_exports__);
|
|
508
508
|
|
|
509
509
|
// EXTERNAL MODULE: ./components/style/index.less
|
|
510
|
-
var style = __webpack_require__(
|
|
510
|
+
var style = __webpack_require__(138);
|
|
511
511
|
|
|
512
512
|
// EXTERNAL MODULE: ./components/modal/style/index.less
|
|
513
|
-
var modal_style = __webpack_require__(
|
|
513
|
+
var modal_style = __webpack_require__(192);
|
|
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__(
|
|
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__(
|
|
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"
|
|
@@ -1050,7 +1050,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
|
|
|
1050
1050
|
|
|
1051
1051
|
/***/ }),
|
|
1052
1052
|
|
|
1053
|
-
/***/
|
|
1053
|
+
/***/ 138:
|
|
1054
1054
|
/***/ (function(module, exports) {
|
|
1055
1055
|
|
|
1056
1056
|
// removed by extract-text-webpack-plugin
|
|
@@ -1489,7 +1489,7 @@ function fixBodyScroll(visible) {
|
|
|
1489
1489
|
|
|
1490
1490
|
/***/ }),
|
|
1491
1491
|
|
|
1492
|
-
/***/
|
|
1492
|
+
/***/ 192:
|
|
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
|
-
/***/
|
|
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
|
-
/***/
|
|
1719
|
+
/***/ 7:
|
|
1720
1720
|
/***/ (function(module, exports) {
|
|
1721
1721
|
|
|
1722
|
-
module.exports =
|
|
1722
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
|
|
1723
1723
|
|
|
1724
1724
|
/***/ }),
|
|
1725
1725
|
|
package/dist/notification.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__,
|
|
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 =
|
|
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
|
-
/***/
|
|
206
|
+
/***/ 107:
|
|
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__(
|
|
214
|
+
var style = __webpack_require__(138);
|
|
215
215
|
|
|
216
216
|
// EXTERNAL MODULE: ./components/notification/style/index.less
|
|
217
|
-
var notification_style = __webpack_require__(
|
|
217
|
+
var notification_style = __webpack_require__(194);
|
|
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__(
|
|
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__(
|
|
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
|
|
|
@@ -768,21 +768,21 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
|
|
|
768
768
|
|
|
769
769
|
/***/ }),
|
|
770
770
|
|
|
771
|
-
/***/
|
|
771
|
+
/***/ 138:
|
|
772
772
|
/***/ (function(module, exports) {
|
|
773
773
|
|
|
774
774
|
// removed by extract-text-webpack-plugin
|
|
775
775
|
|
|
776
776
|
/***/ }),
|
|
777
777
|
|
|
778
|
-
/***/
|
|
778
|
+
/***/ 194:
|
|
779
779
|
/***/ (function(module, exports) {
|
|
780
780
|
|
|
781
781
|
// removed by extract-text-webpack-plugin
|
|
782
782
|
|
|
783
783
|
/***/ }),
|
|
784
784
|
|
|
785
|
-
/***/
|
|
785
|
+
/***/ 196:
|
|
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
|
-
/***/
|
|
799
|
+
/***/ 7:
|
|
800
800
|
/***/ (function(module, exports) {
|
|
801
801
|
|
|
802
|
-
module.exports =
|
|
802
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
|
|
803
803
|
|
|
804
804
|
/***/ }),
|
|
805
805
|
|
|
806
|
-
/***/
|
|
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__(
|
|
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__(196);
|
|
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
|
|
package/dist/pagination.js
CHANGED
|
@@ -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(
|
|
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 =
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = 95);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -203,7 +203,7 @@ function normalizeComponent (
|
|
|
203
203
|
|
|
204
204
|
/***/ }),
|
|
205
205
|
|
|
206
|
-
/***/
|
|
206
|
+
/***/ 138:
|
|
207
207
|
/***/ (function(module, exports) {
|
|
208
208
|
|
|
209
209
|
// removed by extract-text-webpack-plugin
|
|
@@ -217,14 +217,14 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__16__;
|
|
|
217
217
|
|
|
218
218
|
/***/ }),
|
|
219
219
|
|
|
220
|
-
/***/
|
|
220
|
+
/***/ 180:
|
|
221
221
|
/***/ (function(module, exports) {
|
|
222
222
|
|
|
223
223
|
// removed by extract-text-webpack-plugin
|
|
224
224
|
|
|
225
225
|
/***/ }),
|
|
226
226
|
|
|
227
|
-
/***/
|
|
227
|
+
/***/ 198:
|
|
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
|
-
/***/
|
|
241
|
+
/***/ 57:
|
|
242
242
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
243
243
|
|
|
244
244
|
"use strict";
|
|
245
|
-
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
245
|
+
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(138);
|
|
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__(
|
|
247
|
+
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(180);
|
|
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
|
-
/***/
|
|
254
|
+
/***/ 8:
|
|
255
255
|
/***/ (function(module, exports) {
|
|
256
256
|
|
|
257
|
-
module.exports =
|
|
257
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
|
|
258
258
|
|
|
259
259
|
/***/ }),
|
|
260
260
|
|
|
261
|
-
/***/
|
|
261
|
+
/***/ 95:
|
|
262
262
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
263
263
|
|
|
264
264
|
"use strict";
|
|
@@ -266,13 +266,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
|
|
|
266
266
|
__webpack_require__.r(__webpack_exports__);
|
|
267
267
|
|
|
268
268
|
// EXTERNAL MODULE: ./components/style/index.less
|
|
269
|
-
var style = __webpack_require__(
|
|
269
|
+
var style = __webpack_require__(138);
|
|
270
270
|
|
|
271
271
|
// EXTERNAL MODULE: ./components/pagination/style/index.less
|
|
272
|
-
var pagination_style = __webpack_require__(
|
|
272
|
+
var pagination_style = __webpack_require__(198);
|
|
273
273
|
|
|
274
274
|
// EXTERNAL MODULE: ./components/input/style/index.js
|
|
275
|
-
var input_style = __webpack_require__(
|
|
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", {
|
|
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.
|
|
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.
|
|
602
|
-
this.pageText =
|
|
619
|
+
(event.key === 'Enter' || event.charCode === 13) && this.$emit('jump-to', this.handlPage());
|
|
620
|
+
this.pageText = this.handlPage();
|
|
603
621
|
},
|
|
604
|
-
|
|
605
|
-
if (this.disabled
|
|
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__(
|
|
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);
|