@mdsfe/mds-ui 0.2.0 → 0.2.9-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +178 -0
- package/README.md +9 -9
- package/dist/_mixin/popper.js +1 -0
- package/dist/_util/_popper/dom-helper.js +284 -0
- package/dist/_util/_popper/popper-mixin.js +35 -0
- package/dist/_util/_popper/popper.js +1267 -0
- package/dist/_util/_popper/popup/popup-main.js +224 -0
- package/dist/_util/_popper/popup/popup-manager.js +205 -0
- package/dist/_util/_popper/vue-popper.js +204 -0
- package/dist/_util/popup/index.js +1 -1
- package/dist/_util/tree/node.js +2 -0
- package/dist/_util/tree/tree.js +65 -21
- package/dist/_util/util.js +29 -1
- package/dist/affix.js +18 -18
- package/dist/anchor.js +18 -18
- package/dist/avatar.js +17 -17
- package/dist/backtop.js +19 -19
- package/dist/badge.js +21 -21
- package/dist/bordershadow.js +20 -9
- package/dist/breadcrumb.js +18 -18
- package/dist/button.js +21 -21
- package/dist/card.js +18 -18
- package/dist/carousel.js +76 -76
- package/dist/cascader.js +4980 -0
- package/dist/cascaderpanel.js +645 -603
- package/dist/checkbox.js +23 -23
- package/dist/col.js +14 -14
- package/dist/collapse.js +6 -6
- package/dist/color.js +6 -6
- package/dist/datepicker.js +2487 -266
- package/dist/divider.js +19 -19
- package/dist/drawer.js +787 -37
- package/dist/dropdown.js +150 -104
- package/dist/empty.js +19 -19
- package/dist/font/iconfont.28359fa.ttf +0 -0
- package/dist/font/iconfont.486e3d3.woff2 +0 -0
- package/dist/font/iconfont.675049e.woff +0 -0
- package/dist/font.js +6 -6
- package/dist/form.js +28 -26
- package/dist/icon.js +55 -47
- package/dist/index.js +1 -1
- package/dist/input.js +65 -49
- package/dist/inputnumber.js +59 -39
- package/dist/layout.js +25 -25
- package/dist/list.js +17 -17
- package/dist/loading.js +21 -8
- package/dist/mds-ui.min.css +3 -3
- package/dist/mds-ui.min.js +19183 -15407
- package/dist/menu.js +31 -31
- package/dist/message.js +773 -24
- package/dist/modal.js +1146 -307
- package/dist/notification.js +27 -27
- package/dist/pagination.js +78 -55
- package/dist/popconfirm.js +36 -36
- package/dist/popover.js +2778 -48
- package/dist/progress.js +107 -65
- package/dist/radio.js +56 -54
- package/dist/rate.js +67 -59
- package/dist/row.js +14 -14
- package/dist/select.js +847 -503
- package/dist/slider.js +25 -25
- package/dist/slottable.js +2663 -129
- package/dist/steps.js +18 -18
- package/dist/style/affix.css +224 -2
- package/dist/style/anchor.css +224 -2
- package/dist/style/avatar.css +224 -2
- package/dist/style/badge.css +224 -2
- package/dist/style/bordershadow.css +236 -59
- package/dist/style/breadcrumb.css +224 -2
- package/dist/style/button.css +234 -5
- package/dist/style/card.css +224 -2
- package/dist/style/carousel.css +224 -2
- package/dist/style/cascader.css +214 -0
- package/dist/style/cascaderpanel.css +13 -16
- package/dist/style/checkbox.css +230 -8
- package/dist/style/col.css +225 -3
- package/dist/style/collapse.css +224 -2
- package/dist/style/color.css +224 -2
- package/dist/style/datepicker.css +236 -2
- package/dist/style/divider.css +227 -2
- package/dist/style/drawer.css +224 -2
- package/dist/style/dropdown.css +234 -5
- package/dist/style/empty.css +224 -2
- package/dist/style/font.css +226 -4
- package/dist/style/form.css +224 -2
- package/dist/style/icon.css +226 -3
- package/dist/style/input.css +231 -5
- package/dist/style/inputnumber.css +224 -2
- package/dist/style/layout.css +224 -2
- package/dist/style/list.css +224 -2
- package/dist/style/loading.css +2527 -2
- package/dist/style/menu.css +340 -129
- package/dist/style/message.css +1 -4
- package/dist/style/modal.css +247 -25
- package/dist/style/notification.css +224 -2
- package/dist/style/pagination.css +236 -7
- package/dist/style/popconfirm.css +334 -180
- package/dist/style/popover.css +324 -177
- package/dist/style/progress.css +226 -3
- package/dist/style/radio.css +225 -3
- package/dist/style/rate.css +226 -3
- package/dist/style/row.css +225 -3
- package/dist/style/select.css +240 -12
- package/dist/style/slider.css +224 -2
- package/dist/style/slottable.css +350 -149
- package/dist/style/steps.css +224 -2
- package/dist/style/switch.css +224 -2
- package/dist/style/table.css +458 -314
- package/dist/style/tabs.css +225 -18
- package/dist/style/tag.css +224 -2
- package/dist/style/text.css +224 -2
- package/dist/style/timeline.css +224 -2
- package/dist/style/timepicker.css +231 -6
- package/dist/style/tooltip.css +340 -129
- package/dist/style/tree.css +228 -6
- package/dist/style/typography.css +224 -2
- package/dist/style/upload.css +224 -2
- package/dist/switch.js +20 -20
- package/dist/table.js +3071 -201
- package/dist/tabs.js +24 -22
- package/dist/tag.js +17 -23
- package/dist/text.js +38 -22
- package/dist/timeline.js +14 -14
- package/dist/timepicker.js +3063 -172
- package/dist/tooltip.js +2550 -27
- package/dist/transfer.js +28 -28
- package/dist/transition.js +6 -6
- package/dist/tree.js +316 -171
- package/dist/typography.js +6 -6
- package/dist/upload.js +46 -38
- package/package.json +9 -5
package/dist/notification.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("vue"), require("./icon"), require("./transition"), require("./button"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["
|
|
5
|
+
define(["vue", "./icon", "./transition", "./button"], factory);
|
|
6
6
|
else {
|
|
7
|
-
var a = typeof exports === 'object' ? factory(require("
|
|
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(
|
|
10
|
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__8__, __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 = 109);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -203,7 +203,7 @@ function normalizeComponent (
|
|
|
203
203
|
|
|
204
204
|
/***/ }),
|
|
205
205
|
|
|
206
|
-
/***/
|
|
206
|
+
/***/ 109:
|
|
207
207
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
208
208
|
|
|
209
209
|
"use strict";
|
|
@@ -211,16 +211,16 @@ 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__(139);
|
|
215
215
|
|
|
216
216
|
// EXTERNAL MODULE: ./components/notification/style/index.less
|
|
217
|
-
var notification_style = __webpack_require__(
|
|
217
|
+
var notification_style = __webpack_require__(195);
|
|
218
218
|
|
|
219
219
|
// CONCATENATED MODULE: ./components/notification/style/index.js
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
223
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
223
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(2);
|
|
224
224
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default = /*#__PURE__*/__webpack_require__.n(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_);
|
|
225
225
|
|
|
226
226
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/notification/notification.vue?vue&type=template&id=872f1938&
|
|
@@ -346,15 +346,15 @@ 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__(8);
|
|
350
350
|
var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
|
|
351
351
|
|
|
352
352
|
// EXTERNAL MODULE: external "./button"
|
|
353
|
-
var external_button_ = __webpack_require__(
|
|
353
|
+
var external_button_ = __webpack_require__(13);
|
|
354
354
|
var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
|
|
355
355
|
|
|
356
356
|
// EXTERNAL MODULE: external "./transition"
|
|
357
|
-
var external_transition_ = __webpack_require__(
|
|
357
|
+
var external_transition_ = __webpack_require__(11);
|
|
358
358
|
var external_transition_default = /*#__PURE__*/__webpack_require__.n(external_transition_);
|
|
359
359
|
|
|
360
360
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/notification/notification.vue?vue&type=script&lang=js&
|
|
@@ -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__(80);
|
|
615
615
|
|
|
616
616
|
// CONCATENATED MODULE: ./components/notification/notification-box.vue
|
|
617
617
|
|
|
@@ -754,60 +754,60 @@ notify.destroy = function () {
|
|
|
754
754
|
|
|
755
755
|
/***/ }),
|
|
756
756
|
|
|
757
|
-
/***/
|
|
757
|
+
/***/ 11:
|
|
758
758
|
/***/ (function(module, exports) {
|
|
759
759
|
|
|
760
|
-
module.exports =
|
|
760
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__11__;
|
|
761
761
|
|
|
762
762
|
/***/ }),
|
|
763
763
|
|
|
764
|
-
/***/
|
|
764
|
+
/***/ 13:
|
|
765
765
|
/***/ (function(module, exports) {
|
|
766
766
|
|
|
767
|
-
|
|
767
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
|
|
768
768
|
|
|
769
769
|
/***/ }),
|
|
770
770
|
|
|
771
|
-
/***/
|
|
771
|
+
/***/ 139:
|
|
772
772
|
/***/ (function(module, exports) {
|
|
773
773
|
|
|
774
774
|
// removed by extract-text-webpack-plugin
|
|
775
775
|
|
|
776
776
|
/***/ }),
|
|
777
777
|
|
|
778
|
-
/***/
|
|
778
|
+
/***/ 195:
|
|
779
779
|
/***/ (function(module, exports) {
|
|
780
780
|
|
|
781
781
|
// removed by extract-text-webpack-plugin
|
|
782
782
|
|
|
783
783
|
/***/ }),
|
|
784
784
|
|
|
785
|
-
/***/
|
|
785
|
+
/***/ 197:
|
|
786
786
|
/***/ (function(module, exports) {
|
|
787
787
|
|
|
788
|
-
|
|
788
|
+
// removed by extract-text-webpack-plugin
|
|
789
789
|
|
|
790
790
|
/***/ }),
|
|
791
791
|
|
|
792
|
-
/***/
|
|
792
|
+
/***/ 2:
|
|
793
793
|
/***/ (function(module, exports) {
|
|
794
794
|
|
|
795
|
-
module.exports =
|
|
795
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2__;
|
|
796
796
|
|
|
797
797
|
/***/ }),
|
|
798
798
|
|
|
799
|
-
/***/
|
|
799
|
+
/***/ 8:
|
|
800
800
|
/***/ (function(module, exports) {
|
|
801
801
|
|
|
802
|
-
module.exports =
|
|
802
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
|
|
803
803
|
|
|
804
804
|
/***/ }),
|
|
805
805
|
|
|
806
|
-
/***/
|
|
806
|
+
/***/ 80:
|
|
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__(197);
|
|
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__7__, __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 = 97);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -203,35 +203,28 @@ function normalizeComponent (
|
|
|
203
203
|
|
|
204
204
|
/***/ }),
|
|
205
205
|
|
|
206
|
-
/***/
|
|
206
|
+
/***/ 139:
|
|
207
207
|
/***/ (function(module, exports) {
|
|
208
208
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
/***/ }),
|
|
212
|
-
|
|
213
|
-
/***/ 10:
|
|
214
|
-
/***/ (function(module, exports) {
|
|
215
|
-
|
|
216
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__10__;
|
|
209
|
+
// removed by extract-text-webpack-plugin
|
|
217
210
|
|
|
218
211
|
/***/ }),
|
|
219
212
|
|
|
220
|
-
/***/
|
|
213
|
+
/***/ 16:
|
|
221
214
|
/***/ (function(module, exports) {
|
|
222
215
|
|
|
223
|
-
|
|
216
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__16__;
|
|
224
217
|
|
|
225
218
|
/***/ }),
|
|
226
219
|
|
|
227
|
-
/***/
|
|
220
|
+
/***/ 181:
|
|
228
221
|
/***/ (function(module, exports) {
|
|
229
222
|
|
|
230
223
|
// removed by extract-text-webpack-plugin
|
|
231
224
|
|
|
232
225
|
/***/ }),
|
|
233
226
|
|
|
234
|
-
/***/
|
|
227
|
+
/***/ 199:
|
|
235
228
|
/***/ (function(module, exports) {
|
|
236
229
|
|
|
237
230
|
// removed by extract-text-webpack-plugin
|
|
@@ -241,24 +234,31 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__10__;
|
|
|
241
234
|
/***/ 3:
|
|
242
235
|
/***/ (function(module, exports) {
|
|
243
236
|
|
|
244
|
-
module.exports =
|
|
237
|
+
module.exports = require("babel-runtime/helpers/defineProperty");
|
|
245
238
|
|
|
246
239
|
/***/ }),
|
|
247
240
|
|
|
248
|
-
/***/
|
|
241
|
+
/***/ 59:
|
|
249
242
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
250
243
|
|
|
251
244
|
"use strict";
|
|
252
|
-
/* 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__(139);
|
|
253
246
|
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_index_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
254
|
-
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
247
|
+
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(181);
|
|
255
248
|
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_index_less__WEBPACK_IMPORTED_MODULE_1__);
|
|
256
249
|
|
|
257
250
|
|
|
258
251
|
|
|
259
252
|
/***/ }),
|
|
260
253
|
|
|
261
|
-
/***/
|
|
254
|
+
/***/ 7:
|
|
255
|
+
/***/ (function(module, exports) {
|
|
256
|
+
|
|
257
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
|
|
258
|
+
|
|
259
|
+
/***/ }),
|
|
260
|
+
|
|
261
|
+
/***/ 97:
|
|
262
262
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
263
263
|
|
|
264
264
|
"use strict";
|
|
@@ -266,13 +266,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__3__;
|
|
|
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__(139);
|
|
270
270
|
|
|
271
271
|
// EXTERNAL MODULE: ./components/pagination/style/index.less
|
|
272
|
-
var pagination_style = __webpack_require__(
|
|
272
|
+
var pagination_style = __webpack_require__(199);
|
|
273
273
|
|
|
274
274
|
// EXTERNAL MODULE: ./components/input/style/index.js
|
|
275
|
-
var input_style = __webpack_require__(
|
|
275
|
+
var input_style = __webpack_require__(59);
|
|
276
276
|
|
|
277
277
|
// CONCATENATED MODULE: ./components/pagination/style/index.js
|
|
278
278
|
|
|
@@ -306,7 +306,10 @@ var render = function () {
|
|
|
306
306
|
_vm._v(" 条\n "),
|
|
307
307
|
])
|
|
308
308
|
: _vm._e(),
|
|
309
|
-
!_vm.simple &&
|
|
309
|
+
!_vm.simple &&
|
|
310
|
+
_vm.showPageSize &&
|
|
311
|
+
!_vm.mini &&
|
|
312
|
+
_vm.pageSizesSeat === "left"
|
|
310
313
|
? _c("change-page", {
|
|
311
314
|
attrs: { pageSizes: _vm.pageSizes, pageSizeNum: _vm.pageSizeNum },
|
|
312
315
|
on: { changePageSize: _vm.changePageSize },
|
|
@@ -467,6 +470,15 @@ var render = function () {
|
|
|
467
470
|
])
|
|
468
471
|
: _vm._e(),
|
|
469
472
|
!_vm.simple &&
|
|
473
|
+
_vm.showPageSize &&
|
|
474
|
+
!_vm.mini &&
|
|
475
|
+
_vm.pageSizesSeat === "right"
|
|
476
|
+
? _c("change-page", {
|
|
477
|
+
attrs: { pageSizes: _vm.pageSizes, pageSizeNum: _vm.pageSizeNum },
|
|
478
|
+
on: { changePageSize: _vm.changePageSize },
|
|
479
|
+
})
|
|
480
|
+
: _vm._e(),
|
|
481
|
+
!_vm.simple &&
|
|
470
482
|
(_vm.showTotalString || _vm.showTotalSize) &&
|
|
471
483
|
!_vm.mini &&
|
|
472
484
|
_vm.totalSeat === "right"
|
|
@@ -494,7 +506,7 @@ render._withStripped = true
|
|
|
494
506
|
// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=0d372f84&
|
|
495
507
|
|
|
496
508
|
// EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
|
|
497
|
-
var defineProperty_ = __webpack_require__(
|
|
509
|
+
var defineProperty_ = __webpack_require__(3);
|
|
498
510
|
var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_);
|
|
499
511
|
|
|
500
512
|
// CONCATENATED MODULE: ./components/pagination/locale/zh_CN.js
|
|
@@ -548,7 +560,7 @@ optionvue_type_template_id_1ad093df_render._withStripped = true
|
|
|
548
560
|
// CONCATENATED MODULE: ./components/pagination/option.vue?vue&type=template&id=1ad093df&
|
|
549
561
|
|
|
550
562
|
// EXTERNAL MODULE: external "./input"
|
|
551
|
-
var external_input_ = __webpack_require__(
|
|
563
|
+
var external_input_ = __webpack_require__(16);
|
|
552
564
|
var external_input_default = /*#__PURE__*/__webpack_require__.n(external_input_);
|
|
553
565
|
|
|
554
566
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/option.vue?vue&type=script&lang=js&
|
|
@@ -631,7 +643,7 @@ if (false) { var api; }
|
|
|
631
643
|
component.options.__file = "components/pagination/option.vue"
|
|
632
644
|
/* harmony default export */ var pagination_option = (component.exports);
|
|
633
645
|
// EXTERNAL MODULE: external "./_util/proptype"
|
|
634
|
-
var proptype_ = __webpack_require__(
|
|
646
|
+
var proptype_ = __webpack_require__(7);
|
|
635
647
|
|
|
636
648
|
// 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&
|
|
637
649
|
var changePagevue_type_template_id_26e49fc9_render = function () {
|
|
@@ -646,15 +658,12 @@ var changePagevue_type_template_id_26e49fc9_render = function () {
|
|
|
646
658
|
"mds-select",
|
|
647
659
|
{
|
|
648
660
|
staticStyle: { width: "120px" },
|
|
649
|
-
attrs: {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
callback: function ($$v) {
|
|
654
|
-
_vm.sizeValue = $$v
|
|
655
|
-
},
|
|
656
|
-
expression: "sizeValue",
|
|
661
|
+
attrs: {
|
|
662
|
+
placeholder: "请选择",
|
|
663
|
+
value: _vm.newSizeValue,
|
|
664
|
+
size: "medium",
|
|
657
665
|
},
|
|
666
|
+
on: { change: _vm.handleChange },
|
|
658
667
|
},
|
|
659
668
|
_vm._l(_vm.pageSizes, function (item) {
|
|
660
669
|
return _c(
|
|
@@ -718,9 +727,6 @@ changePagevue_type_template_id_26e49fc9_render._withStripped = true
|
|
|
718
727
|
};
|
|
719
728
|
},
|
|
720
729
|
|
|
721
|
-
// created() {
|
|
722
|
-
// this.handleChange(this.pageSizes[0])
|
|
723
|
-
// },
|
|
724
730
|
computed: {
|
|
725
731
|
newSizeValue: function newSizeValue() {
|
|
726
732
|
if (this.pageSizes.includes(this.pageSizeNum)) {
|
|
@@ -903,6 +909,13 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
|
903
909
|
//
|
|
904
910
|
//
|
|
905
911
|
//
|
|
912
|
+
//
|
|
913
|
+
//
|
|
914
|
+
//
|
|
915
|
+
//
|
|
916
|
+
//
|
|
917
|
+
//
|
|
918
|
+
//
|
|
906
919
|
|
|
907
920
|
|
|
908
921
|
|
|
@@ -979,6 +992,10 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
|
979
992
|
totalSeat: {
|
|
980
993
|
type: String,
|
|
981
994
|
default: 'right'
|
|
995
|
+
},
|
|
996
|
+
pageSizesSeat: {
|
|
997
|
+
type: String,
|
|
998
|
+
default: 'left'
|
|
982
999
|
}
|
|
983
1000
|
},
|
|
984
1001
|
data: function data() {
|
|
@@ -1105,23 +1122,6 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
|
1105
1122
|
this.handleChange(newPage);
|
|
1106
1123
|
}
|
|
1107
1124
|
},
|
|
1108
|
-
jumpNext: function jumpNext() {
|
|
1109
|
-
if (this.disabled) {
|
|
1110
|
-
return;
|
|
1111
|
-
}
|
|
1112
|
-
this.calculatePage - this.currentPage > 5 ? this.handleChange(this.currentPage + 5) : this.handleChange(this.calculatePage);
|
|
1113
|
-
},
|
|
1114
|
-
jumpPrev: function jumpPrev() {
|
|
1115
|
-
if (this.disabled) {
|
|
1116
|
-
return;
|
|
1117
|
-
}
|
|
1118
|
-
this.currentPage > 5 ? this.handleChange(this.currentPage - 5) : this.handleChange(1);
|
|
1119
|
-
},
|
|
1120
|
-
next: function next() {
|
|
1121
|
-
if (this.hasNext) {
|
|
1122
|
-
this.handleChange(this.currentPage + 1);
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
1125
|
pagerClasses: function pagerClasses(i) {
|
|
1126
1126
|
var _ref;
|
|
1127
1127
|
|
|
@@ -1130,11 +1130,34 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
|
1130
1130
|
// }
|
|
1131
1131
|
return [this.prefixCls + '-item', (_ref = {}, defineProperty_default()(_ref, this.prefixCls + '-item-active', this.currentPage === i), defineProperty_default()(_ref, this.prefixCls + '-item-after-jump-prev', i === this.pageRange[0] && this.showJumpPrev), defineProperty_default()(_ref, this.prefixCls + '-item-before-jump-next', i === this.pageRange[this.pageRange.length - 1] && this.showJumpNext), _ref)];
|
|
1132
1132
|
},
|
|
1133
|
+
jumpPrev: function jumpPrev() {
|
|
1134
|
+
if (this.disabled) {
|
|
1135
|
+
return;
|
|
1136
|
+
}
|
|
1137
|
+
var realCurrentPage = this.currentPage > 5 ? this.currentPage - 5 : 1;
|
|
1138
|
+
this.$emit('prev-click', realCurrentPage, this.pageSizeNum);
|
|
1139
|
+
this.handleChange(realCurrentPage);
|
|
1140
|
+
},
|
|
1141
|
+
jumpNext: function jumpNext() {
|
|
1142
|
+
if (this.disabled) {
|
|
1143
|
+
return;
|
|
1144
|
+
}
|
|
1145
|
+
var realCurrentPage = this.calculatePage - this.currentPage > 5 ? this.currentPage + 5 : this.calculatePage;
|
|
1146
|
+
this.$emit('next-click', realCurrentPage, this.pageSizeNum);
|
|
1147
|
+
this.handleChange(realCurrentPage);
|
|
1148
|
+
},
|
|
1133
1149
|
prev: function prev() {
|
|
1134
1150
|
if (this.hasPrev) {
|
|
1151
|
+
this.$emit('prev-click', this.currentPage - 1, this.pageSizeNum);
|
|
1135
1152
|
this.handleChange(this.currentPage - 1);
|
|
1136
1153
|
}
|
|
1137
1154
|
},
|
|
1155
|
+
next: function next() {
|
|
1156
|
+
if (this.hasNext) {
|
|
1157
|
+
this.$emit('next-click', this.currentPage + 1, this.pageSizeNum);
|
|
1158
|
+
this.handleChange(this.currentPage + 1);
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1138
1161
|
range: function range(start, end) {
|
|
1139
1162
|
var arr = [];
|
|
1140
1163
|
for (var i = start; i <= end; i++) {
|
package/dist/popconfirm.js
CHANGED
|
@@ -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(
|
|
10
|
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__13__, __WEBPACK_EXTERNAL_MODULE__71__) {
|
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
|
12
12
|
/******/ // The module cache
|
|
13
13
|
/******/ var installedModules = {};
|
|
@@ -91,12 +91,19 @@ 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 = 135);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
-
/***/
|
|
99
|
+
/***/ 13:
|
|
100
|
+
/***/ (function(module, exports) {
|
|
101
|
+
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
|
|
103
|
+
|
|
104
|
+
/***/ }),
|
|
105
|
+
|
|
106
|
+
/***/ 135:
|
|
100
107
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
108
|
|
|
102
109
|
"use strict";
|
|
@@ -104,15 +111,15 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
104
111
|
__webpack_require__.r(__webpack_exports__);
|
|
105
112
|
|
|
106
113
|
// EXTERNAL MODULE: external "./_mixin/tooltip"
|
|
107
|
-
var tooltip_ = __webpack_require__(
|
|
114
|
+
var tooltip_ = __webpack_require__(71);
|
|
108
115
|
var tooltip_default = /*#__PURE__*/__webpack_require__.n(tooltip_);
|
|
109
116
|
|
|
110
117
|
// EXTERNAL MODULE: external "./button"
|
|
111
|
-
var external_button_ = __webpack_require__(
|
|
118
|
+
var external_button_ = __webpack_require__(13);
|
|
112
119
|
var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
|
|
113
120
|
|
|
114
121
|
// EXTERNAL MODULE: external "./icon"
|
|
115
|
-
var external_icon_ = __webpack_require__(
|
|
122
|
+
var external_icon_ = __webpack_require__(8);
|
|
116
123
|
var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
|
|
117
124
|
|
|
118
125
|
// CONCATENATED MODULE: ./components/popconfirm/popconfirm.js
|
|
@@ -229,16 +236,16 @@ var prefixClsFirm = 'mds-popover-firm';
|
|
|
229
236
|
}
|
|
230
237
|
});
|
|
231
238
|
// EXTERNAL MODULE: ./components/style/index.less
|
|
232
|
-
var style = __webpack_require__(
|
|
239
|
+
var style = __webpack_require__(139);
|
|
233
240
|
|
|
234
241
|
// EXTERNAL MODULE: ./components/popover/style/index.js
|
|
235
|
-
var popover_style = __webpack_require__(
|
|
242
|
+
var popover_style = __webpack_require__(48);
|
|
236
243
|
|
|
237
244
|
// EXTERNAL MODULE: ./components/button/style/index.js
|
|
238
|
-
var button_style = __webpack_require__(
|
|
245
|
+
var button_style = __webpack_require__(41);
|
|
239
246
|
|
|
240
247
|
// EXTERNAL MODULE: ./components/popconfirm/style/index.less
|
|
241
|
-
var popconfirm_style = __webpack_require__(
|
|
248
|
+
var popconfirm_style = __webpack_require__(203);
|
|
242
249
|
|
|
243
250
|
// CONCATENATED MODULE: ./components/popconfirm/style/index.js
|
|
244
251
|
|
|
@@ -257,78 +264,71 @@ popconfirm.install = function (Vue) {
|
|
|
257
264
|
|
|
258
265
|
/***/ }),
|
|
259
266
|
|
|
260
|
-
/***/
|
|
267
|
+
/***/ 139:
|
|
261
268
|
/***/ (function(module, exports) {
|
|
262
269
|
|
|
263
270
|
// removed by extract-text-webpack-plugin
|
|
264
271
|
|
|
265
272
|
/***/ }),
|
|
266
273
|
|
|
267
|
-
/***/
|
|
274
|
+
/***/ 161:
|
|
268
275
|
/***/ (function(module, exports) {
|
|
269
276
|
|
|
270
277
|
// removed by extract-text-webpack-plugin
|
|
271
278
|
|
|
272
279
|
/***/ }),
|
|
273
280
|
|
|
274
|
-
/***/
|
|
275
|
-
/***/ (function(module, exports) {
|
|
276
|
-
|
|
277
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__16__;
|
|
278
|
-
|
|
279
|
-
/***/ }),
|
|
280
|
-
|
|
281
|
-
/***/ 191:
|
|
281
|
+
/***/ 201:
|
|
282
282
|
/***/ (function(module, exports) {
|
|
283
283
|
|
|
284
284
|
// removed by extract-text-webpack-plugin
|
|
285
285
|
|
|
286
286
|
/***/ }),
|
|
287
287
|
|
|
288
|
-
/***/
|
|
288
|
+
/***/ 203:
|
|
289
289
|
/***/ (function(module, exports) {
|
|
290
290
|
|
|
291
291
|
// removed by extract-text-webpack-plugin
|
|
292
292
|
|
|
293
293
|
/***/ }),
|
|
294
294
|
|
|
295
|
-
/***/
|
|
295
|
+
/***/ 41:
|
|
296
296
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
297
297
|
|
|
298
298
|
"use strict";
|
|
299
|
-
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
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__(
|
|
301
|
+
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(161);
|
|
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
|
-
/***/
|
|
309
|
-
/***/ (function(module, exports) {
|
|
310
|
-
|
|
311
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__4__;
|
|
312
|
-
|
|
313
|
-
/***/ }),
|
|
314
|
-
|
|
315
|
-
/***/ 42:
|
|
308
|
+
/***/ 48:
|
|
316
309
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
317
310
|
|
|
318
311
|
"use strict";
|
|
319
|
-
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
312
|
+
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(139);
|
|
320
313
|
/* harmony import */ var _style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_index_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
321
|
-
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
314
|
+
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(201);
|
|
322
315
|
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_index_less__WEBPACK_IMPORTED_MODULE_1__);
|
|
323
316
|
|
|
324
317
|
|
|
325
318
|
|
|
326
319
|
/***/ }),
|
|
327
320
|
|
|
328
|
-
/***/
|
|
321
|
+
/***/ 71:
|
|
322
|
+
/***/ (function(module, exports) {
|
|
323
|
+
|
|
324
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__71__;
|
|
325
|
+
|
|
326
|
+
/***/ }),
|
|
327
|
+
|
|
328
|
+
/***/ 8:
|
|
329
329
|
/***/ (function(module, exports) {
|
|
330
330
|
|
|
331
|
-
module.exports =
|
|
331
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
|
|
332
332
|
|
|
333
333
|
/***/ })
|
|
334
334
|
|