@mdsfe/mds-ui 0.3.0-9 → 0.4.0-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/dist/_util/iconfont/index.js +1 -1
- package/dist/affix.js +24 -29
- package/dist/alert.js +24 -29
- package/dist/anchor.js +38 -46
- package/dist/avatar.js +24 -29
- package/dist/backtop.js +22 -27
- package/dist/badge.js +30 -35
- package/dist/base.js +1 -0
- package/dist/bordershadow.js +24 -29
- package/dist/breadcrumb.js +38 -46
- package/dist/button.js +36 -44
- package/dist/card.js +38 -46
- package/dist/carousel.js +52 -60
- package/dist/cascader.js +82 -99
- package/dist/cascaderpanel.js +64 -75
- package/dist/checkbox.js +42 -50
- package/dist/col.js +49 -57
- package/dist/collapse.js +36 -44
- package/dist/color.js +24 -29
- package/dist/datepicker.js +1129 -527
- package/dist/divider.js +24 -29
- package/dist/drawer.js +39 -44
- package/dist/dropdown.js +46 -54
- package/dist/empty.js +33 -38
- package/dist/font/iconfont.06c8a26.woff +0 -0
- package/dist/font/iconfont.c9840a2.woff2 +0 -0
- package/dist/font/{iconfont.ecd615a.ttf → iconfont.dffa89c.ttf} +0 -0
- package/dist/font.js +24 -29
- package/dist/form.js +42 -50
- package/dist/icon.js +24 -29
- package/dist/index.js +358 -1
- package/dist/input.js +253 -114
- package/dist/inputnumber.js +28 -33
- package/dist/layout.js +72 -89
- package/dist/list.js +38 -46
- package/dist/loading.js +24 -29
- package/dist/mds-ui.min.css +1 -2
- package/dist/mds-ui.min.js +4696 -2999
- package/dist/menu.js +87 -82
- package/dist/message.js +58 -69
- package/dist/modal.js +32 -37
- package/dist/notification.js +51 -59
- package/dist/pagination.js +61 -72
- package/dist/popconfirm.js +26 -26
- package/dist/popover.js +43 -48
- package/dist/progress.js +49 -60
- package/dist/radio.js +53 -61
- package/dist/rate.js +43 -51
- package/dist/row.js +49 -57
- package/dist/select.js +97 -114
- package/dist/slider.js +42 -50
- package/dist/slottable.js +57 -65
- package/dist/steps.js +4 -4
- package/dist/style/affix.css +3 -6789
- package/dist/style/alert.css +3 -6789
- package/dist/style/anchor.css +3 -6789
- package/dist/style/avatar.css +3 -6789
- package/dist/style/badge.css +5 -6791
- package/dist/style/base.css +1 -0
- package/dist/style/bordershadow.css +3 -6789
- package/dist/style/breadcrumb.css +3 -6789
- package/dist/style/button.css +3 -6789
- package/dist/style/card.css +3 -6789
- package/dist/style/carousel.css +0 -6786
- package/dist/style/checkbox.css +3 -6789
- package/dist/style/col.css +3 -6789
- package/dist/style/collapse.css +3 -6789
- package/dist/style/color.css +3 -6789
- package/dist/style/datepicker.css +70 -6789
- package/dist/style/divider.css +3 -6789
- package/dist/style/drawer.css +3 -6789
- package/dist/style/dropdown.css +3 -6789
- package/dist/style/empty.css +3 -6789
- package/dist/style/font.css +3 -6789
- package/dist/style/form.css +3 -6789
- package/dist/style/icon.css +3 -6789
- package/dist/style/index.css +6 -0
- package/dist/style/input.css +23 -6795
- package/dist/style/inputnumber.css +3 -6789
- package/dist/style/layout.css +3 -6789
- package/dist/style/list.css +3 -6789
- package/dist/style/loading.css +3 -6789
- package/dist/style/menu.css +3 -6789
- package/dist/style/modal.css +3 -6789
- package/dist/style/notification.css +7 -6793
- package/dist/style/pagination.css +23 -6795
- package/dist/style/popconfirm.css +3 -6789
- package/dist/style/popover.css +3 -6789
- package/dist/style/progress.css +3 -6789
- package/dist/style/radio.css +3 -6789
- package/dist/style/rate.css +3 -6789
- package/dist/style/row.css +3 -6789
- package/dist/style/select.css +3 -6789
- package/dist/style/slider.css +3 -6789
- package/dist/style/slottable.css +3 -6789
- package/dist/style/steps.css +3 -6789
- package/dist/style/switch.css +3 -6789
- package/dist/style/table.css +3 -6789
- package/dist/style/tabs.css +3 -6789
- package/dist/style/tag.css +3 -6789
- package/dist/style/text.css +3 -6789
- package/dist/style/timeline.css +3 -6789
- package/dist/style/timepicker.css +3 -6789
- package/dist/style/tooltip.css +3 -6789
- package/dist/style/transfer.css +105 -0
- package/dist/style/tree.css +3 -6789
- package/dist/style/typography.css +3 -6789
- package/dist/style/upload.css +3 -6789
- package/dist/switch.js +28 -33
- package/dist/table.js +180 -215
- package/dist/tabs.js +78 -101
- package/dist/tag.js +24 -29
- package/dist/text.js +260 -121
- package/dist/timeline.js +38 -46
- package/dist/timepicker.js +85 -102
- package/dist/tooltip.js +22 -22
- package/dist/transfer.js +1009 -66
- package/dist/transition.js +2 -2
- package/dist/tree.js +61 -69
- package/dist/typography.js +36 -44
- package/dist/upload.js +88 -108
- package/package.json +9 -5
- package/CHANGELOG.md +0 -1013
- package/dist/.DS_Store +0 -0
- package/dist/_util/.DS_Store +0 -0
- package/dist/font/iconfont.ae3b61b.woff2 +0 -0
- package/dist/font/iconfont.f1b256f.woff +0 -0
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__, __WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__12__,
|
|
10
|
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__2__, __WEBPACK_EXTERNAL_MODULE__7__, __WEBPACK_EXTERNAL_MODULE__12__, __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 = 111);
|
|
95
95
|
/******/ })
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
@@ -107,20 +107,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
107
107
|
// This module is a runtime utility for cleaner component module output and will
|
|
108
108
|
// be included in the final webpack user bundle.
|
|
109
109
|
|
|
110
|
-
function normalizeComponent
|
|
110
|
+
function normalizeComponent(
|
|
111
111
|
scriptExports,
|
|
112
112
|
render,
|
|
113
113
|
staticRenderFns,
|
|
114
114
|
functionalTemplate,
|
|
115
115
|
injectStyles,
|
|
116
116
|
scopeId,
|
|
117
|
-
moduleIdentifier
|
|
117
|
+
moduleIdentifier /* server only */,
|
|
118
118
|
shadowMode /* vue-cli only */
|
|
119
119
|
) {
|
|
120
120
|
// Vue.extend constructor export interop
|
|
121
|
-
var options =
|
|
122
|
-
? scriptExports.options
|
|
123
|
-
: scriptExports
|
|
121
|
+
var options =
|
|
122
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
124
123
|
|
|
125
124
|
// render functions
|
|
126
125
|
if (render) {
|
|
@@ -140,7 +139,8 @@ function normalizeComponent (
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
var hook
|
|
143
|
-
if (moduleIdentifier) {
|
|
142
|
+
if (moduleIdentifier) {
|
|
143
|
+
// server build
|
|
144
144
|
hook = function (context) {
|
|
145
145
|
// 2.3 injection
|
|
146
146
|
context =
|
|
@@ -166,11 +166,11 @@ function normalizeComponent (
|
|
|
166
166
|
} else if (injectStyles) {
|
|
167
167
|
hook = shadowMode
|
|
168
168
|
? function () {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
injectStyles.call(
|
|
170
|
+
this,
|
|
171
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
174
|
: injectStyles
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -181,16 +181,14 @@ function normalizeComponent (
|
|
|
181
181
|
options._injectStyles = hook
|
|
182
182
|
// register for functional component in vue file
|
|
183
183
|
var originalRender = options.render
|
|
184
|
-
options.render = function renderWithStyleInjection
|
|
184
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
185
185
|
hook.call(context)
|
|
186
186
|
return originalRender(h, context)
|
|
187
187
|
}
|
|
188
188
|
} else {
|
|
189
189
|
// inject component registration as beforeCreate hook
|
|
190
190
|
var existing = options.beforeCreate
|
|
191
|
-
options.beforeCreate = existing
|
|
192
|
-
? [].concat(existing, hook)
|
|
193
|
-
: [hook]
|
|
191
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
194
|
|
|
@@ -203,18 +201,18 @@ function normalizeComponent (
|
|
|
203
201
|
|
|
204
202
|
/***/ }),
|
|
205
203
|
|
|
206
|
-
/***/
|
|
204
|
+
/***/ 111:
|
|
207
205
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
208
206
|
|
|
209
207
|
"use strict";
|
|
210
208
|
// ESM COMPAT FLAG
|
|
211
209
|
__webpack_require__.r(__webpack_exports__);
|
|
212
210
|
|
|
213
|
-
// EXTERNAL MODULE: ./components/style/
|
|
214
|
-
var
|
|
211
|
+
// EXTERNAL MODULE: ./components/style/mixins-only.less
|
|
212
|
+
var mixins_only = __webpack_require__(142);
|
|
215
213
|
|
|
216
214
|
// EXTERNAL MODULE: ./components/notification/style/index.less
|
|
217
|
-
var
|
|
215
|
+
var style = __webpack_require__(196);
|
|
218
216
|
|
|
219
217
|
// CONCATENATED MODULE: ./components/notification/style/index.js
|
|
220
218
|
|
|
@@ -223,7 +221,7 @@ var notification_style = __webpack_require__(200);
|
|
|
223
221
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(2);
|
|
224
222
|
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
223
|
|
|
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=
|
|
224
|
+
// 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=254f119d
|
|
227
225
|
var render = function () {
|
|
228
226
|
var _obj
|
|
229
227
|
var _vm = this
|
|
@@ -343,21 +341,21 @@ var staticRenderFns = []
|
|
|
343
341
|
render._withStripped = true
|
|
344
342
|
|
|
345
343
|
|
|
346
|
-
// CONCATENATED MODULE: ./components/notification/notification.vue?vue&type=template&id=
|
|
344
|
+
// CONCATENATED MODULE: ./components/notification/notification.vue?vue&type=template&id=254f119d
|
|
347
345
|
|
|
348
346
|
// EXTERNAL MODULE: external "./icon"
|
|
349
347
|
var external_icon_ = __webpack_require__(7);
|
|
350
348
|
var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
|
|
351
349
|
|
|
352
350
|
// EXTERNAL MODULE: external "./button"
|
|
353
|
-
var external_button_ = __webpack_require__(
|
|
351
|
+
var external_button_ = __webpack_require__(13);
|
|
354
352
|
var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
|
|
355
353
|
|
|
356
354
|
// EXTERNAL MODULE: external "./transition"
|
|
357
355
|
var external_transition_ = __webpack_require__(12);
|
|
358
356
|
var external_transition_default = /*#__PURE__*/__webpack_require__.n(external_transition_);
|
|
359
357
|
|
|
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
|
|
358
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/notification/notification.vue?vue&type=script&lang=js
|
|
361
359
|
//
|
|
362
360
|
//
|
|
363
361
|
//
|
|
@@ -398,7 +396,7 @@ var external_transition_default = /*#__PURE__*/__webpack_require__.n(external_tr
|
|
|
398
396
|
|
|
399
397
|
|
|
400
398
|
|
|
401
|
-
/* harmony default export */ var
|
|
399
|
+
/* harmony default export */ var notificationvue_type_script_lang_js = ({
|
|
402
400
|
name: 'MdsNotification',
|
|
403
401
|
props: {
|
|
404
402
|
prefixCls: {
|
|
@@ -537,8 +535,8 @@ var external_transition_default = /*#__PURE__*/__webpack_require__.n(external_tr
|
|
|
537
535
|
this.startTimer();
|
|
538
536
|
}
|
|
539
537
|
});
|
|
540
|
-
// CONCATENATED MODULE: ./components/notification/notification.vue?vue&type=script&lang=js
|
|
541
|
-
/* harmony default export */ var
|
|
538
|
+
// CONCATENATED MODULE: ./components/notification/notification.vue?vue&type=script&lang=js
|
|
539
|
+
/* harmony default export */ var notification_notificationvue_type_script_lang_js = (notificationvue_type_script_lang_js);
|
|
542
540
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
543
541
|
var componentNormalizer = __webpack_require__(0);
|
|
544
542
|
|
|
@@ -551,7 +549,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
551
549
|
/* normalize component */
|
|
552
550
|
|
|
553
551
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
554
|
-
|
|
552
|
+
notification_notificationvue_type_script_lang_js,
|
|
555
553
|
render,
|
|
556
554
|
staticRenderFns,
|
|
557
555
|
false,
|
|
@@ -561,12 +559,9 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
561
559
|
|
|
562
560
|
)
|
|
563
561
|
|
|
564
|
-
/* hot reload */
|
|
565
|
-
if (false) { var api; }
|
|
566
|
-
component.options.__file = "components/notification/notification.vue"
|
|
567
562
|
/* harmony default export */ var notification = (component.exports);
|
|
568
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/notification/notification-box.vue?vue&type=template&id=
|
|
569
|
-
var
|
|
563
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/notification/notification-box.vue?vue&type=template&id=d94bfa66&scoped=true
|
|
564
|
+
var notification_boxvue_type_template_id_d94bfa66_scoped_true_render = function () {
|
|
570
565
|
var _vm = this
|
|
571
566
|
var _h = _vm.$createElement
|
|
572
567
|
var _c = _vm._self._c || _h
|
|
@@ -576,13 +571,13 @@ var notification_boxvue_type_template_id_0f7fb0e2_scoped_true_render = function
|
|
|
576
571
|
[_c("span")]
|
|
577
572
|
)
|
|
578
573
|
}
|
|
579
|
-
var
|
|
580
|
-
|
|
574
|
+
var notification_boxvue_type_template_id_d94bfa66_scoped_true_staticRenderFns = []
|
|
575
|
+
notification_boxvue_type_template_id_d94bfa66_scoped_true_render._withStripped = true
|
|
581
576
|
|
|
582
577
|
|
|
583
|
-
// CONCATENATED MODULE: ./components/notification/notification-box.vue?vue&type=template&id=
|
|
578
|
+
// CONCATENATED MODULE: ./components/notification/notification-box.vue?vue&type=template&id=d94bfa66&scoped=true
|
|
584
579
|
|
|
585
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/notification/notification-box.vue?vue&type=script&lang=js
|
|
580
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/notification/notification-box.vue?vue&type=script&lang=js
|
|
586
581
|
//
|
|
587
582
|
//
|
|
588
583
|
//
|
|
@@ -591,7 +586,7 @@ notification_boxvue_type_template_id_0f7fb0e2_scoped_true_render._withStripped =
|
|
|
591
586
|
//
|
|
592
587
|
//
|
|
593
588
|
|
|
594
|
-
/* harmony default export */ var
|
|
589
|
+
/* harmony default export */ var notification_boxvue_type_script_lang_js = ({
|
|
595
590
|
name: 'MdsNotificationBox',
|
|
596
591
|
props: {
|
|
597
592
|
prefixCls: {
|
|
@@ -608,10 +603,10 @@ notification_boxvue_type_template_id_0f7fb0e2_scoped_true_render._withStripped =
|
|
|
608
603
|
}
|
|
609
604
|
}
|
|
610
605
|
});
|
|
611
|
-
// CONCATENATED MODULE: ./components/notification/notification-box.vue?vue&type=script&lang=js
|
|
612
|
-
/* harmony default export */ var
|
|
613
|
-
// EXTERNAL MODULE: ./components/notification/notification-box.vue?vue&type=style&index=0&id=
|
|
614
|
-
var
|
|
606
|
+
// CONCATENATED MODULE: ./components/notification/notification-box.vue?vue&type=script&lang=js
|
|
607
|
+
/* harmony default export */ var notification_notification_boxvue_type_script_lang_js = (notification_boxvue_type_script_lang_js);
|
|
608
|
+
// EXTERNAL MODULE: ./components/notification/notification-box.vue?vue&type=style&index=0&id=d94bfa66&prod&lang=less&scoped=true
|
|
609
|
+
var notification_boxvue_type_style_index_0_id_d94bfa66_prod_lang_less_scoped_true = __webpack_require__(81);
|
|
615
610
|
|
|
616
611
|
// CONCATENATED MODULE: ./components/notification/notification-box.vue
|
|
617
612
|
|
|
@@ -623,19 +618,16 @@ var notification_boxvue_type_style_index_0_id_0f7fb0e2_lang_less_scoped_true_ =
|
|
|
623
618
|
/* normalize component */
|
|
624
619
|
|
|
625
620
|
var notification_box_component = Object(componentNormalizer["a" /* default */])(
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
621
|
+
notification_notification_boxvue_type_script_lang_js,
|
|
622
|
+
notification_boxvue_type_template_id_d94bfa66_scoped_true_render,
|
|
623
|
+
notification_boxvue_type_template_id_d94bfa66_scoped_true_staticRenderFns,
|
|
629
624
|
false,
|
|
630
625
|
null,
|
|
631
|
-
"
|
|
626
|
+
"d94bfa66",
|
|
632
627
|
null
|
|
633
628
|
|
|
634
629
|
)
|
|
635
630
|
|
|
636
|
-
/* hot reload */
|
|
637
|
-
if (false) { var notification_box_api; }
|
|
638
|
-
notification_box_component.options.__file = "components/notification/notification-box.vue"
|
|
639
631
|
/* harmony default export */ var notification_box = (notification_box_component.exports);
|
|
640
632
|
// CONCATENATED MODULE: ./components/notification/index.js
|
|
641
633
|
/*
|
|
@@ -761,10 +753,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__12__;
|
|
|
761
753
|
|
|
762
754
|
/***/ }),
|
|
763
755
|
|
|
764
|
-
/***/
|
|
756
|
+
/***/ 13:
|
|
765
757
|
/***/ (function(module, exports) {
|
|
766
758
|
|
|
767
|
-
module.exports =
|
|
759
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__13__;
|
|
768
760
|
|
|
769
761
|
/***/ }),
|
|
770
762
|
|
|
@@ -775,24 +767,24 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__14__;
|
|
|
775
767
|
|
|
776
768
|
/***/ }),
|
|
777
769
|
|
|
778
|
-
/***/
|
|
770
|
+
/***/ 196:
|
|
779
771
|
/***/ (function(module, exports) {
|
|
780
772
|
|
|
781
|
-
|
|
773
|
+
// removed by extract-text-webpack-plugin
|
|
782
774
|
|
|
783
775
|
/***/ }),
|
|
784
776
|
|
|
785
|
-
/***/
|
|
777
|
+
/***/ 198:
|
|
786
778
|
/***/ (function(module, exports) {
|
|
787
779
|
|
|
788
780
|
// removed by extract-text-webpack-plugin
|
|
789
781
|
|
|
790
782
|
/***/ }),
|
|
791
783
|
|
|
792
|
-
/***/
|
|
784
|
+
/***/ 2:
|
|
793
785
|
/***/ (function(module, exports) {
|
|
794
786
|
|
|
795
|
-
|
|
787
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2__;
|
|
796
788
|
|
|
797
789
|
/***/ }),
|
|
798
790
|
|
|
@@ -807,8 +799,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
|
|
|
807
799
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
808
800
|
|
|
809
801
|
"use strict";
|
|
810
|
-
/* harmony import */ var
|
|
811
|
-
/* harmony import */ var
|
|
802
|
+
/* 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_d94bfa66_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(198);
|
|
803
|
+
/* 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_d94bfa66_prod_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_d94bfa66_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
812
804
|
/* unused harmony reexport * */
|
|
813
805
|
|
|
814
806
|
|
package/dist/pagination.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("./_util/proptype"), require("./_mixin/locale"), require("./input")) : factory(root["./_util/proptype"], root["./_mixin/locale"], 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__8__,
|
|
10
|
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__8__, __WEBPACK_EXTERNAL_MODULE__9__, __WEBPACK_EXTERNAL_MODULE__17__) {
|
|
11
11
|
return /******/ (function(modules) { // webpackBootstrap
|
|
12
12
|
/******/ // The module cache
|
|
13
13
|
/******/ var installedModules = {};
|
|
@@ -107,20 +107,19 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
107
107
|
// This module is a runtime utility for cleaner component module output and will
|
|
108
108
|
// be included in the final webpack user bundle.
|
|
109
109
|
|
|
110
|
-
function normalizeComponent
|
|
110
|
+
function normalizeComponent(
|
|
111
111
|
scriptExports,
|
|
112
112
|
render,
|
|
113
113
|
staticRenderFns,
|
|
114
114
|
functionalTemplate,
|
|
115
115
|
injectStyles,
|
|
116
116
|
scopeId,
|
|
117
|
-
moduleIdentifier
|
|
117
|
+
moduleIdentifier /* server only */,
|
|
118
118
|
shadowMode /* vue-cli only */
|
|
119
119
|
) {
|
|
120
120
|
// Vue.extend constructor export interop
|
|
121
|
-
var options =
|
|
122
|
-
? scriptExports.options
|
|
123
|
-
: scriptExports
|
|
121
|
+
var options =
|
|
122
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
124
123
|
|
|
125
124
|
// render functions
|
|
126
125
|
if (render) {
|
|
@@ -140,7 +139,8 @@ function normalizeComponent (
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
var hook
|
|
143
|
-
if (moduleIdentifier) {
|
|
142
|
+
if (moduleIdentifier) {
|
|
143
|
+
// server build
|
|
144
144
|
hook = function (context) {
|
|
145
145
|
// 2.3 injection
|
|
146
146
|
context =
|
|
@@ -166,11 +166,11 @@ function normalizeComponent (
|
|
|
166
166
|
} else if (injectStyles) {
|
|
167
167
|
hook = shadowMode
|
|
168
168
|
? function () {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
injectStyles.call(
|
|
170
|
+
this,
|
|
171
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
174
|
: injectStyles
|
|
175
175
|
}
|
|
176
176
|
|
|
@@ -181,16 +181,14 @@ function normalizeComponent (
|
|
|
181
181
|
options._injectStyles = hook
|
|
182
182
|
// register for functional component in vue file
|
|
183
183
|
var originalRender = options.render
|
|
184
|
-
options.render = function renderWithStyleInjection
|
|
184
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
185
185
|
hook.call(context)
|
|
186
186
|
return originalRender(h, context)
|
|
187
187
|
}
|
|
188
188
|
} else {
|
|
189
189
|
// inject component registration as beforeCreate hook
|
|
190
190
|
var existing = options.beforeCreate
|
|
191
|
-
options.beforeCreate = existing
|
|
192
|
-
? [].concat(existing, hook)
|
|
193
|
-
: [hook]
|
|
191
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
194
192
|
}
|
|
195
193
|
}
|
|
196
194
|
|
|
@@ -201,13 +199,6 @@ function normalizeComponent (
|
|
|
201
199
|
}
|
|
202
200
|
|
|
203
201
|
|
|
204
|
-
/***/ }),
|
|
205
|
-
|
|
206
|
-
/***/ 10:
|
|
207
|
-
/***/ (function(module, exports) {
|
|
208
|
-
|
|
209
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__10__;
|
|
210
|
-
|
|
211
202
|
/***/ }),
|
|
212
203
|
|
|
213
204
|
/***/ 142:
|
|
@@ -224,14 +215,14 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__17__;
|
|
|
224
215
|
|
|
225
216
|
/***/ }),
|
|
226
217
|
|
|
227
|
-
/***/
|
|
218
|
+
/***/ 182:
|
|
228
219
|
/***/ (function(module, exports) {
|
|
229
220
|
|
|
230
221
|
// removed by extract-text-webpack-plugin
|
|
231
222
|
|
|
232
223
|
/***/ }),
|
|
233
224
|
|
|
234
|
-
/***/
|
|
225
|
+
/***/ 200:
|
|
235
226
|
/***/ (function(module, exports) {
|
|
236
227
|
|
|
237
228
|
// removed by extract-text-webpack-plugin
|
|
@@ -249,9 +240,9 @@ module.exports = require("babel-runtime/helpers/defineProperty");
|
|
|
249
240
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
250
241
|
|
|
251
242
|
"use strict";
|
|
252
|
-
/* harmony import */ var
|
|
253
|
-
/* harmony import */ var
|
|
254
|
-
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
243
|
+
/* harmony import */ var _style_mixins_only_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(142);
|
|
244
|
+
/* harmony import */ var _style_mixins_only_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_mixins_only_less__WEBPACK_IMPORTED_MODULE_0__);
|
|
245
|
+
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(182);
|
|
255
246
|
/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_index_less__WEBPACK_IMPORTED_MODULE_1__);
|
|
256
247
|
|
|
257
248
|
|
|
@@ -265,6 +256,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
|
|
|
265
256
|
|
|
266
257
|
/***/ }),
|
|
267
258
|
|
|
259
|
+
/***/ 9:
|
|
260
|
+
/***/ (function(module, exports) {
|
|
261
|
+
|
|
262
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__9__;
|
|
263
|
+
|
|
264
|
+
/***/ }),
|
|
265
|
+
|
|
268
266
|
/***/ 98:
|
|
269
267
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
270
268
|
|
|
@@ -272,11 +270,11 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8__;
|
|
|
272
270
|
// ESM COMPAT FLAG
|
|
273
271
|
__webpack_require__.r(__webpack_exports__);
|
|
274
272
|
|
|
275
|
-
// EXTERNAL MODULE: ./components/style/
|
|
276
|
-
var
|
|
273
|
+
// EXTERNAL MODULE: ./components/style/mixins-only.less
|
|
274
|
+
var mixins_only = __webpack_require__(142);
|
|
277
275
|
|
|
278
276
|
// EXTERNAL MODULE: ./components/pagination/style/index.less
|
|
279
|
-
var
|
|
277
|
+
var style = __webpack_require__(200);
|
|
280
278
|
|
|
281
279
|
// EXTERNAL MODULE: ./components/input/style/index.js
|
|
282
280
|
var input_style = __webpack_require__(60);
|
|
@@ -288,7 +286,7 @@ var input_style = __webpack_require__(60);
|
|
|
288
286
|
// style dependencies
|
|
289
287
|
// import '../../select/style'
|
|
290
288
|
|
|
291
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/pagination.vue?vue&type=template&id=
|
|
289
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/pagination.vue?vue&type=template&id=0f842852
|
|
292
290
|
var render = function () {
|
|
293
291
|
var _vm = this
|
|
294
292
|
var _h = _vm.$createElement
|
|
@@ -510,7 +508,7 @@ var staticRenderFns = []
|
|
|
510
508
|
render._withStripped = true
|
|
511
509
|
|
|
512
510
|
|
|
513
|
-
// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=
|
|
511
|
+
// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=template&id=0f842852
|
|
514
512
|
|
|
515
513
|
// EXTERNAL MODULE: external "babel-runtime/helpers/defineProperty"
|
|
516
514
|
var defineProperty_ = __webpack_require__(3);
|
|
@@ -532,8 +530,8 @@ var defineProperty_default = /*#__PURE__*/__webpack_require__.n(defineProperty_)
|
|
|
532
530
|
prev_3: '向前 3 页',
|
|
533
531
|
next_3: '向后 3 页'
|
|
534
532
|
});
|
|
535
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/option.vue?vue&type=template&id=
|
|
536
|
-
var
|
|
533
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/option.vue?vue&type=template&id=30d2ef06
|
|
534
|
+
var optionvue_type_template_id_30d2ef06_render = function () {
|
|
537
535
|
var _vm = this
|
|
538
536
|
var _h = _vm.$createElement
|
|
539
537
|
var _c = _vm._self._c || _h
|
|
@@ -560,21 +558,21 @@ var optionvue_type_template_id_1ad093df_render = function () {
|
|
|
560
558
|
),
|
|
561
559
|
])
|
|
562
560
|
}
|
|
563
|
-
var
|
|
564
|
-
|
|
561
|
+
var optionvue_type_template_id_30d2ef06_staticRenderFns = []
|
|
562
|
+
optionvue_type_template_id_30d2ef06_render._withStripped = true
|
|
565
563
|
|
|
566
564
|
|
|
567
|
-
// CONCATENATED MODULE: ./components/pagination/option.vue?vue&type=template&id=
|
|
565
|
+
// CONCATENATED MODULE: ./components/pagination/option.vue?vue&type=template&id=30d2ef06
|
|
568
566
|
|
|
569
567
|
// EXTERNAL MODULE: external "./input"
|
|
570
568
|
var external_input_ = __webpack_require__(17);
|
|
571
569
|
var external_input_default = /*#__PURE__*/__webpack_require__.n(external_input_);
|
|
572
570
|
|
|
573
571
|
// EXTERNAL MODULE: external "./_mixin/locale"
|
|
574
|
-
var locale_ = __webpack_require__(
|
|
572
|
+
var locale_ = __webpack_require__(9);
|
|
575
573
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
576
574
|
|
|
577
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/option.vue?vue&type=script&lang=js
|
|
575
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/option.vue?vue&type=script&lang=js
|
|
578
576
|
//
|
|
579
577
|
//
|
|
580
578
|
//
|
|
@@ -590,7 +588,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
|
590
588
|
|
|
591
589
|
|
|
592
590
|
|
|
593
|
-
/* harmony default export */ var
|
|
591
|
+
/* harmony default export */ var optionvue_type_script_lang_js = ({
|
|
594
592
|
name: 'MdsPaginationOption',
|
|
595
593
|
mixins: [locale_default.a],
|
|
596
594
|
props: {
|
|
@@ -651,8 +649,8 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
|
651
649
|
}
|
|
652
650
|
}
|
|
653
651
|
});
|
|
654
|
-
// CONCATENATED MODULE: ./components/pagination/option.vue?vue&type=script&lang=js
|
|
655
|
-
/* harmony default export */ var
|
|
652
|
+
// CONCATENATED MODULE: ./components/pagination/option.vue?vue&type=script&lang=js
|
|
653
|
+
/* harmony default export */ var pagination_optionvue_type_script_lang_js = (optionvue_type_script_lang_js);
|
|
656
654
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
657
655
|
var componentNormalizer = __webpack_require__(0);
|
|
658
656
|
|
|
@@ -665,9 +663,9 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
665
663
|
/* normalize component */
|
|
666
664
|
|
|
667
665
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
666
|
+
pagination_optionvue_type_script_lang_js,
|
|
667
|
+
optionvue_type_template_id_30d2ef06_render,
|
|
668
|
+
optionvue_type_template_id_30d2ef06_staticRenderFns,
|
|
671
669
|
false,
|
|
672
670
|
null,
|
|
673
671
|
null,
|
|
@@ -675,15 +673,12 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
675
673
|
|
|
676
674
|
)
|
|
677
675
|
|
|
678
|
-
/* hot reload */
|
|
679
|
-
if (false) { var api; }
|
|
680
|
-
component.options.__file = "components/pagination/option.vue"
|
|
681
676
|
/* harmony default export */ var pagination_option = (component.exports);
|
|
682
677
|
// EXTERNAL MODULE: external "./_util/proptype"
|
|
683
678
|
var proptype_ = __webpack_require__(8);
|
|
684
679
|
|
|
685
|
-
// 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=
|
|
686
|
-
var
|
|
680
|
+
// 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=24e61ce9
|
|
681
|
+
var changePagevue_type_template_id_24e61ce9_render = function () {
|
|
687
682
|
var _vm = this
|
|
688
683
|
var _h = _vm.$createElement
|
|
689
684
|
var _c = _vm._self._c || _h
|
|
@@ -715,13 +710,13 @@ var changePagevue_type_template_id_26e49fc9_render = function () {
|
|
|
715
710
|
1
|
|
716
711
|
)
|
|
717
712
|
}
|
|
718
|
-
var
|
|
719
|
-
|
|
713
|
+
var changePagevue_type_template_id_24e61ce9_staticRenderFns = []
|
|
714
|
+
changePagevue_type_template_id_24e61ce9_render._withStripped = true
|
|
720
715
|
|
|
721
716
|
|
|
722
|
-
// CONCATENATED MODULE: ./components/pagination/changePage.vue?vue&type=template&id=
|
|
717
|
+
// CONCATENATED MODULE: ./components/pagination/changePage.vue?vue&type=template&id=24e61ce9
|
|
723
718
|
|
|
724
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/changePage.vue?vue&type=script&lang=js
|
|
719
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/changePage.vue?vue&type=script&lang=js
|
|
725
720
|
//
|
|
726
721
|
//
|
|
727
722
|
//
|
|
@@ -740,7 +735,7 @@ changePagevue_type_template_id_26e49fc9_render._withStripped = true
|
|
|
740
735
|
// import locale from './locale/zh_CN'
|
|
741
736
|
|
|
742
737
|
|
|
743
|
-
/* harmony default export */ var
|
|
738
|
+
/* harmony default export */ var changePagevue_type_script_lang_js = ({
|
|
744
739
|
name: 'MdsPaginationOption',
|
|
745
740
|
mixins: [locale_default.a],
|
|
746
741
|
props: {
|
|
@@ -788,8 +783,8 @@ changePagevue_type_template_id_26e49fc9_render._withStripped = true
|
|
|
788
783
|
}
|
|
789
784
|
}
|
|
790
785
|
});
|
|
791
|
-
// CONCATENATED MODULE: ./components/pagination/changePage.vue?vue&type=script&lang=js
|
|
792
|
-
/* harmony default export */ var
|
|
786
|
+
// CONCATENATED MODULE: ./components/pagination/changePage.vue?vue&type=script&lang=js
|
|
787
|
+
/* harmony default export */ var pagination_changePagevue_type_script_lang_js = (changePagevue_type_script_lang_js);
|
|
793
788
|
// CONCATENATED MODULE: ./components/pagination/changePage.vue
|
|
794
789
|
|
|
795
790
|
|
|
@@ -799,9 +794,9 @@ changePagevue_type_template_id_26e49fc9_render._withStripped = true
|
|
|
799
794
|
/* normalize component */
|
|
800
795
|
|
|
801
796
|
var changePage_component = Object(componentNormalizer["a" /* default */])(
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
797
|
+
pagination_changePagevue_type_script_lang_js,
|
|
798
|
+
changePagevue_type_template_id_24e61ce9_render,
|
|
799
|
+
changePagevue_type_template_id_24e61ce9_staticRenderFns,
|
|
805
800
|
false,
|
|
806
801
|
null,
|
|
807
802
|
null,
|
|
@@ -809,11 +804,8 @@ var changePage_component = Object(componentNormalizer["a" /* default */])(
|
|
|
809
804
|
|
|
810
805
|
)
|
|
811
806
|
|
|
812
|
-
/* hot reload */
|
|
813
|
-
if (false) { var changePage_api; }
|
|
814
|
-
changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
815
807
|
/* harmony default export */ var changePage = (changePage_component.exports);
|
|
816
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
808
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
817
809
|
|
|
818
810
|
//
|
|
819
811
|
//
|
|
@@ -975,7 +967,7 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
|
975
967
|
|
|
976
968
|
|
|
977
969
|
|
|
978
|
-
/* harmony default export */ var
|
|
970
|
+
/* harmony default export */ var paginationvue_type_script_lang_js = ({
|
|
979
971
|
name: 'MdsPagination',
|
|
980
972
|
mixins: [locale_default.a],
|
|
981
973
|
props: {
|
|
@@ -1257,8 +1249,8 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
|
1257
1249
|
ChangePage: changePage
|
|
1258
1250
|
}
|
|
1259
1251
|
});
|
|
1260
|
-
// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
1261
|
-
/* harmony default export */ var
|
|
1252
|
+
// CONCATENATED MODULE: ./components/pagination/pagination.vue?vue&type=script&lang=js
|
|
1253
|
+
/* harmony default export */ var pagination_paginationvue_type_script_lang_js = (paginationvue_type_script_lang_js);
|
|
1262
1254
|
// CONCATENATED MODULE: ./components/pagination/pagination.vue
|
|
1263
1255
|
|
|
1264
1256
|
|
|
@@ -1268,7 +1260,7 @@ changePage_component.options.__file = "components/pagination/changePage.vue"
|
|
|
1268
1260
|
/* normalize component */
|
|
1269
1261
|
|
|
1270
1262
|
var pagination_component = Object(componentNormalizer["a" /* default */])(
|
|
1271
|
-
|
|
1263
|
+
pagination_paginationvue_type_script_lang_js,
|
|
1272
1264
|
render,
|
|
1273
1265
|
staticRenderFns,
|
|
1274
1266
|
false,
|
|
@@ -1278,9 +1270,6 @@ var pagination_component = Object(componentNormalizer["a" /* default */])(
|
|
|
1278
1270
|
|
|
1279
1271
|
)
|
|
1280
1272
|
|
|
1281
|
-
/* hot reload */
|
|
1282
|
-
if (false) { var pagination_api; }
|
|
1283
|
-
pagination_component.options.__file = "components/pagination/pagination.vue"
|
|
1284
1273
|
/* harmony default export */ var pagination = (pagination_component.exports);
|
|
1285
1274
|
// CONCATENATED MODULE: ./components/pagination/index.js
|
|
1286
1275
|
/*
|