@mdsfe/mds-ui 0.2.0
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 +778 -0
- package/LICENSE +21 -0
- package/README.md +106 -0
- package/dist/_locale/index.js +18 -0
- package/dist/_locale/zh-CN.js +123 -0
- package/dist/_mixin/emitter.js +35 -0
- package/dist/_mixin/focus.js +13 -0
- package/dist/_mixin/locale.js +17 -0
- package/dist/_mixin/popper.js +192 -0
- package/dist/_mixin/tooltip.js +218 -0
- package/dist/_util/__test__/switchcase.test.js +43 -0
- package/dist/_util/autoprefixer.js +249 -0
- package/dist/_util/clickoutside.js +79 -0
- package/dist/_util/date.js +368 -0
- package/dist/_util/dateUtil.js +311 -0
- package/dist/_util/dom.js +240 -0
- package/dist/_util/getRequestAnimationFrame.js +50 -0
- package/dist/_util/getScroll.js +21 -0
- package/dist/_util/loaders/loaders.css.js +52 -0
- package/dist/_util/loaders/loading.js +53 -0
- package/dist/_util/merge.js +18 -0
- package/dist/_util/popper.js +1261 -0
- package/dist/_util/popup/index.js +232 -0
- package/dist/_util/popup/popup-manager.js +205 -0
- package/dist/_util/proptype.js +12 -0
- package/dist/_util/repeatClick.js +30 -0
- package/dist/_util/resize.js +61 -0
- package/dist/_util/resizeEvent.js +59 -0
- package/dist/_util/scrollIntoView.js +38 -0
- package/dist/_util/scrollbar-width.js +37 -0
- package/dist/_util/soda.js +54 -0
- package/dist/_util/switchcase.js +22 -0
- package/dist/_util/throttleByAnimationFrame.js +70 -0
- package/dist/_util/tree/node.js +412 -0
- package/dist/_util/tree/tree.js +410 -0
- package/dist/_util/util.js +166 -0
- package/dist/_util/vue-popper.js +213 -0
- package/dist/affix.js +509 -0
- package/dist/anchor.js +522 -0
- package/dist/avatar.js +437 -0
- package/dist/backtop.js +469 -0
- package/dist/badge.js +439 -0
- package/dist/bordershadow.js +310 -0
- package/dist/breadcrumb.js +434 -0
- package/dist/button.js +579 -0
- package/dist/card.js +514 -0
- package/dist/carousel.js +1326 -0
- package/dist/cascaderpanel.js +2320 -0
- package/dist/checkbox.js +681 -0
- package/dist/col.js +546 -0
- package/dist/collapse.js +671 -0
- package/dist/color.js +306 -0
- package/dist/datepicker.js +8089 -0
- package/dist/divider.js +346 -0
- package/dist/drawer.js +652 -0
- package/dist/dropdown.js +687 -0
- package/dist/empty.js +416 -0
- package/dist/font.js +306 -0
- package/dist/form.js +878 -0
- package/dist/icon.js +401 -0
- package/dist/index.js +1 -0
- package/dist/input.js +1251 -0
- package/dist/inputnumber.js +689 -0
- package/dist/layout.js +786 -0
- package/dist/list.js +789 -0
- package/dist/loading.js +430 -0
- package/dist/mds-ui.min.css +7 -0
- package/dist/mds-ui.min.js +64911 -0
- package/dist/menu.js +1131 -0
- package/dist/message.js +1016 -0
- package/dist/modal.js +895 -0
- package/dist/notification.js +818 -0
- package/dist/pagination.js +1213 -0
- package/dist/popconfirm.js +336 -0
- package/dist/popover.js +206 -0
- package/dist/progress.js +1023 -0
- package/dist/radio.js +760 -0
- package/dist/rate.js +765 -0
- package/dist/row.js +546 -0
- package/dist/select.js +4950 -0
- package/dist/slider.js +1411 -0
- package/dist/slottable.js +1414 -0
- package/dist/steps.js +546 -0
- package/dist/style/affix.css +5524 -0
- package/dist/style/anchor.css +5572 -0
- package/dist/style/avatar.css +5587 -0
- package/dist/style/backtop.css +34 -0
- package/dist/style/badge.css +5655 -0
- package/dist/style/bordershadow.css +5601 -0
- package/dist/style/breadcrumb.css +5551 -0
- package/dist/style/button.css +7679 -0
- package/dist/style/card.css +5670 -0
- package/dist/style/carousel.css +5731 -0
- package/dist/style/cascaderpanel.css +125 -0
- package/dist/style/checkbox.css +5700 -0
- package/dist/style/col.css +8121 -0
- package/dist/style/collapse.css +5593 -0
- package/dist/style/color.css +6136 -0
- package/dist/style/datepicker.css +5977 -0
- package/dist/style/divider.css +5558 -0
- package/dist/style/drawer.css +7979 -0
- package/dist/style/dropdown.css +7950 -0
- package/dist/style/empty.css +5563 -0
- package/dist/style/font.css +5559 -0
- package/dist/style/form.css +5662 -0
- package/dist/style/icon.css +5538 -0
- package/dist/style/input.css +6256 -0
- package/dist/style/inputnumber.css +5828 -0
- package/dist/style/layout.css +5572 -0
- package/dist/style/list.css +5655 -0
- package/dist/style/loading.css +5540 -0
- package/dist/style/menu.css +6183 -0
- package/dist/style/message.css +194 -0
- package/dist/style/modal.css +5637 -0
- package/dist/style/notification.css +5706 -0
- package/dist/style/pagination.css +6683 -0
- package/dist/style/popconfirm.css +7951 -0
- package/dist/style/popover.css +5727 -0
- package/dist/style/progress.css +5714 -0
- package/dist/style/radio.css +5769 -0
- package/dist/style/rate.css +5616 -0
- package/dist/style/row.css +8121 -0
- package/dist/style/select.css +5729 -0
- package/dist/style/slider.css +5594 -0
- package/dist/style/slottable.css +5831 -0
- package/dist/style/steps.css +6100 -0
- package/dist/style/switch.css +5624 -0
- package/dist/style/table.css +8392 -0
- package/dist/style/tabs.css +6047 -0
- package/dist/style/tag.css +5935 -0
- package/dist/style/text.css +5636 -0
- package/dist/style/timeline.css +5602 -0
- package/dist/style/timepicker.css +5904 -0
- package/dist/style/tooltip.css +5686 -0
- package/dist/style/transfer.css +101 -0
- package/dist/style/transition.css +1417 -0
- package/dist/style/tree.css +5598 -0
- package/dist/style/typography.css +5640 -0
- package/dist/style/upload.css +5834 -0
- package/dist/switch.js +448 -0
- package/dist/table.js +3809 -0
- package/dist/tabs.js +1273 -0
- package/dist/tag.js +478 -0
- package/dist/text.js +1100 -0
- package/dist/timeline.js +495 -0
- package/dist/timepicker.js +1567 -0
- package/dist/tooltip.js +179 -0
- package/dist/transfer.js +981 -0
- package/dist/transition.js +246 -0
- package/dist/tree.js +1866 -0
- package/dist/typography.js +469 -0
- package/dist/upload.js +1990 -0
- package/package.json +144 -0
package/dist/modal.js
ADDED
|
@@ -0,0 +1,895 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("./icon"), require("vue"), require("./button"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define(["./icon", "vue", "./button"], factory);
|
|
6
|
+
else {
|
|
7
|
+
var a = typeof exports === 'object' ? factory(require("./icon"), require("vue"), require("./button")) : factory(root["./icon"], root["Vue"], root["./button"]);
|
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
+
}
|
|
10
|
+
})(window, function(__WEBPACK_EXTERNAL_MODULE__4__, __WEBPACK_EXTERNAL_MODULE__5__, __WEBPACK_EXTERNAL_MODULE__7__) {
|
|
11
|
+
return /******/ (function(modules) { // webpackBootstrap
|
|
12
|
+
/******/ // The module cache
|
|
13
|
+
/******/ var installedModules = {};
|
|
14
|
+
/******/
|
|
15
|
+
/******/ // The require function
|
|
16
|
+
/******/ function __webpack_require__(moduleId) {
|
|
17
|
+
/******/
|
|
18
|
+
/******/ // Check if module is in cache
|
|
19
|
+
/******/ if(installedModules[moduleId]) {
|
|
20
|
+
/******/ return installedModules[moduleId].exports;
|
|
21
|
+
/******/ }
|
|
22
|
+
/******/ // Create a new module (and put it into the cache)
|
|
23
|
+
/******/ var module = installedModules[moduleId] = {
|
|
24
|
+
/******/ i: moduleId,
|
|
25
|
+
/******/ l: false,
|
|
26
|
+
/******/ exports: {}
|
|
27
|
+
/******/ };
|
|
28
|
+
/******/
|
|
29
|
+
/******/ // Execute the module function
|
|
30
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
31
|
+
/******/
|
|
32
|
+
/******/ // Flag the module as loaded
|
|
33
|
+
/******/ module.l = true;
|
|
34
|
+
/******/
|
|
35
|
+
/******/ // Return the exports of the module
|
|
36
|
+
/******/ return module.exports;
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/
|
|
39
|
+
/******/
|
|
40
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
41
|
+
/******/ __webpack_require__.m = modules;
|
|
42
|
+
/******/
|
|
43
|
+
/******/ // expose the module cache
|
|
44
|
+
/******/ __webpack_require__.c = installedModules;
|
|
45
|
+
/******/
|
|
46
|
+
/******/ // define getter function for harmony exports
|
|
47
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
48
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
49
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
50
|
+
/******/ }
|
|
51
|
+
/******/ };
|
|
52
|
+
/******/
|
|
53
|
+
/******/ // define __esModule on exports
|
|
54
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
55
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
56
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
57
|
+
/******/ }
|
|
58
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
59
|
+
/******/ };
|
|
60
|
+
/******/
|
|
61
|
+
/******/ // create a fake namespace object
|
|
62
|
+
/******/ // mode & 1: value is a module id, require it
|
|
63
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
64
|
+
/******/ // mode & 4: return value when already ns object
|
|
65
|
+
/******/ // mode & 8|1: behave like require
|
|
66
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
67
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
68
|
+
/******/ if(mode & 8) return value;
|
|
69
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
70
|
+
/******/ var ns = Object.create(null);
|
|
71
|
+
/******/ __webpack_require__.r(ns);
|
|
72
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
73
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
74
|
+
/******/ return ns;
|
|
75
|
+
/******/ };
|
|
76
|
+
/******/
|
|
77
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
78
|
+
/******/ __webpack_require__.n = function(module) {
|
|
79
|
+
/******/ var getter = module && module.__esModule ?
|
|
80
|
+
/******/ function getDefault() { return module['default']; } :
|
|
81
|
+
/******/ function getModuleExports() { return module; };
|
|
82
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
83
|
+
/******/ return getter;
|
|
84
|
+
/******/ };
|
|
85
|
+
/******/
|
|
86
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
87
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
88
|
+
/******/
|
|
89
|
+
/******/ // __webpack_public_path__
|
|
90
|
+
/******/ __webpack_require__.p = "/dist/";
|
|
91
|
+
/******/
|
|
92
|
+
/******/
|
|
93
|
+
/******/ // Load entry module and return exports
|
|
94
|
+
/******/ return __webpack_require__(__webpack_require__.s = 118);
|
|
95
|
+
/******/ })
|
|
96
|
+
/************************************************************************/
|
|
97
|
+
/******/ ({
|
|
98
|
+
|
|
99
|
+
/***/ 0:
|
|
100
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
"use strict";
|
|
103
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
104
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
105
|
+
|
|
106
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
107
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
108
|
+
// be included in the final webpack user bundle.
|
|
109
|
+
|
|
110
|
+
function normalizeComponent (
|
|
111
|
+
scriptExports,
|
|
112
|
+
render,
|
|
113
|
+
staticRenderFns,
|
|
114
|
+
functionalTemplate,
|
|
115
|
+
injectStyles,
|
|
116
|
+
scopeId,
|
|
117
|
+
moduleIdentifier, /* server only */
|
|
118
|
+
shadowMode /* vue-cli only */
|
|
119
|
+
) {
|
|
120
|
+
// Vue.extend constructor export interop
|
|
121
|
+
var options = typeof scriptExports === 'function'
|
|
122
|
+
? scriptExports.options
|
|
123
|
+
: scriptExports
|
|
124
|
+
|
|
125
|
+
// render functions
|
|
126
|
+
if (render) {
|
|
127
|
+
options.render = render
|
|
128
|
+
options.staticRenderFns = staticRenderFns
|
|
129
|
+
options._compiled = true
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// functional template
|
|
133
|
+
if (functionalTemplate) {
|
|
134
|
+
options.functional = true
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// scopedId
|
|
138
|
+
if (scopeId) {
|
|
139
|
+
options._scopeId = 'data-v-' + scopeId
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
var hook
|
|
143
|
+
if (moduleIdentifier) { // server build
|
|
144
|
+
hook = function (context) {
|
|
145
|
+
// 2.3 injection
|
|
146
|
+
context =
|
|
147
|
+
context || // cached call
|
|
148
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
149
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
150
|
+
// 2.2 with runInNewContext: true
|
|
151
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
152
|
+
context = __VUE_SSR_CONTEXT__
|
|
153
|
+
}
|
|
154
|
+
// inject component styles
|
|
155
|
+
if (injectStyles) {
|
|
156
|
+
injectStyles.call(this, context)
|
|
157
|
+
}
|
|
158
|
+
// register component module identifier for async chunk inferrence
|
|
159
|
+
if (context && context._registeredComponents) {
|
|
160
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
// used by ssr in case component is cached and beforeCreate
|
|
164
|
+
// never gets called
|
|
165
|
+
options._ssrRegister = hook
|
|
166
|
+
} else if (injectStyles) {
|
|
167
|
+
hook = shadowMode
|
|
168
|
+
? function () {
|
|
169
|
+
injectStyles.call(
|
|
170
|
+
this,
|
|
171
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
|
+
: injectStyles
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (hook) {
|
|
178
|
+
if (options.functional) {
|
|
179
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
180
|
+
// go through the normalizer
|
|
181
|
+
options._injectStyles = hook
|
|
182
|
+
// register for functional component in vue file
|
|
183
|
+
var originalRender = options.render
|
|
184
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
185
|
+
hook.call(context)
|
|
186
|
+
return originalRender(h, context)
|
|
187
|
+
}
|
|
188
|
+
} else {
|
|
189
|
+
// inject component registration as beforeCreate hook
|
|
190
|
+
var existing = options.beforeCreate
|
|
191
|
+
options.beforeCreate = existing
|
|
192
|
+
? [].concat(existing, hook)
|
|
193
|
+
: [hook]
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
return {
|
|
198
|
+
exports: scriptExports,
|
|
199
|
+
options: options
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
/***/ }),
|
|
205
|
+
|
|
206
|
+
/***/ 11:
|
|
207
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
208
|
+
|
|
209
|
+
"use strict";
|
|
210
|
+
/* unused harmony export noop */
|
|
211
|
+
/* unused harmony export getOffsetLeft */
|
|
212
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getValueByPath; });
|
|
213
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return valueEquals; });
|
|
214
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return arrayFindIndex; });
|
|
215
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return arrayFind; });
|
|
216
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return coerceTruthyValueToArray; });
|
|
217
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return isIE; });
|
|
218
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isEdge; });
|
|
219
|
+
/* unused harmony export isFirefox */
|
|
220
|
+
/* unused harmony export assert */
|
|
221
|
+
/* unused harmony export escapeRegexpString */
|
|
222
|
+
/* unused harmony export getOffsetWidth */
|
|
223
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isFunction; });
|
|
224
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
|
|
225
|
+
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
|
|
226
|
+
|
|
227
|
+
var noop = function noop() {};
|
|
228
|
+
|
|
229
|
+
var getScroll = function getScroll(w, top) {
|
|
230
|
+
var ret = top ? w.pageYOffset : w.pageXOffset;
|
|
231
|
+
var method = top ? 'scrollTop' : 'scrollLeft';
|
|
232
|
+
if (typeof ret !== 'number') {
|
|
233
|
+
var d = w.document;
|
|
234
|
+
// ie6,7,8 standard mode
|
|
235
|
+
ret = d.documentElement[method];
|
|
236
|
+
if (typeof ret !== 'number') {
|
|
237
|
+
// quirks mode
|
|
238
|
+
ret = d.body[method];
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
return ret;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
var getClientPosition = function getClientPosition(elem) {
|
|
245
|
+
var box = void 0;
|
|
246
|
+
var x = void 0;
|
|
247
|
+
var y = void 0;
|
|
248
|
+
var doc = elem.ownerDocument;
|
|
249
|
+
var body = doc.body;
|
|
250
|
+
var docElem = doc && doc.documentElement;
|
|
251
|
+
box = elem.getBoundingClientRect();
|
|
252
|
+
x = box.left;
|
|
253
|
+
y = box.top;
|
|
254
|
+
x -= docElem.clientLeft || body.clientLeft || 0;
|
|
255
|
+
y -= docElem.clientTop || body.clientTop || 0;
|
|
256
|
+
return {
|
|
257
|
+
left: x,
|
|
258
|
+
top: y
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
var getOffsetLeft = function getOffsetLeft(el) {
|
|
263
|
+
var pos = getClientPosition(el);
|
|
264
|
+
var doc = el.ownerDocument;
|
|
265
|
+
var w = doc.defaultView || doc.parentWindow;
|
|
266
|
+
pos.left += getScroll(w);
|
|
267
|
+
return pos.left;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* 获取对象深层级的对象,避免循环
|
|
271
|
+
* @export
|
|
272
|
+
* @param {*} sourceObj 源对象 {a:{b:{d:1}}}
|
|
273
|
+
* @param {*} pathName path组成的数组 例如:'a.b.c'
|
|
274
|
+
* @param {*} defaultValue 如果没有值默认的值 []
|
|
275
|
+
*/
|
|
276
|
+
function getValueByPath(sourceObj, pathName, defaultValue) {
|
|
277
|
+
var getValue = function getValue(sourceObj, pathNameArray) {
|
|
278
|
+
var key = pathNameArray.shift();
|
|
279
|
+
var value = sourceObj[key];
|
|
280
|
+
if (value === undefined || value === null) {
|
|
281
|
+
return defaultValue;
|
|
282
|
+
} else if (pathNameArray.length === 0) {
|
|
283
|
+
return value;
|
|
284
|
+
} else if (pathNameArray.length > 0) {
|
|
285
|
+
return getValue(value, pathNameArray);
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
var pathNameArray = pathName.split('.');
|
|
289
|
+
return getValue(sourceObj, pathNameArray);
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* 判断两个数是否相等
|
|
294
|
+
* @param {*} a
|
|
295
|
+
* @param {*} b
|
|
296
|
+
* @returns
|
|
297
|
+
*/
|
|
298
|
+
var valueEquals = function valueEquals(a, b) {
|
|
299
|
+
// see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
|
|
300
|
+
if (a === b) return true;
|
|
301
|
+
if (!(a instanceof Array)) return false;
|
|
302
|
+
if (!(b instanceof Array)) return false;
|
|
303
|
+
if (a.length !== b.length) return false;
|
|
304
|
+
for (var i = 0; i !== a.length; ++i) {
|
|
305
|
+
if (a[i] !== b[i]) return false;
|
|
306
|
+
}
|
|
307
|
+
return true;
|
|
308
|
+
};
|
|
309
|
+
// TODO: use native Array.find, Array.findIndex when IE support is dropped
|
|
310
|
+
var arrayFindIndex = function arrayFindIndex(arr, pred) {
|
|
311
|
+
for (var i = 0; i !== arr.length; ++i) {
|
|
312
|
+
if (pred(arr[i])) {
|
|
313
|
+
return i;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
return -1;
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
var arrayFind = function arrayFind(arr, pred) {
|
|
320
|
+
var idx = arrayFindIndex(arr, pred);
|
|
321
|
+
return idx !== -1 ? arr[idx] : undefined;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
// coerce truthy value to array
|
|
325
|
+
var coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {
|
|
326
|
+
if (Array.isArray(val)) {
|
|
327
|
+
return val;
|
|
328
|
+
} else if (val) {
|
|
329
|
+
return [val];
|
|
330
|
+
} else {
|
|
331
|
+
return [];
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
var isIE = function isIE() {
|
|
336
|
+
return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !isNaN(Number(document.documentMode));
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
var isEdge = function isEdge() {
|
|
340
|
+
return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
var isFirefox = function isFirefox() {
|
|
344
|
+
return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
var assert = function assert(condition, msg) {
|
|
348
|
+
if (!condition) throw new Error('[mds-ui] ' + msg);
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* 特殊字符转译
|
|
353
|
+
* @param {string} [value='']
|
|
354
|
+
*/
|
|
355
|
+
var escapeRegexpString = function escapeRegexpString() {
|
|
356
|
+
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
357
|
+
return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Get element offset width
|
|
361
|
+
* @param {*} node HTMLDOMElemment
|
|
362
|
+
* @return {Number} width
|
|
363
|
+
*/
|
|
364
|
+
/**
|
|
365
|
+
* Get element offset width
|
|
366
|
+
* @param {*} node HTMLDOMElemment
|
|
367
|
+
* @return {Number} width
|
|
368
|
+
*/
|
|
369
|
+
var getOffsetWidth = function getOffsetWidth(node) {
|
|
370
|
+
return node ? node.offsetWidth : 0;
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
/** 判断是否为函数
|
|
374
|
+
* @param {*} functionToCheck
|
|
375
|
+
* @returns
|
|
376
|
+
*/
|
|
377
|
+
var isFunction = function isFunction(functionToCheck) {
|
|
378
|
+
var getType = {};
|
|
379
|
+
return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/***/ }),
|
|
383
|
+
|
|
384
|
+
/***/ 118:
|
|
385
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
386
|
+
|
|
387
|
+
"use strict";
|
|
388
|
+
// ESM COMPAT FLAG
|
|
389
|
+
__webpack_require__.r(__webpack_exports__);
|
|
390
|
+
|
|
391
|
+
// EXTERNAL MODULE: ./components/style/index.less
|
|
392
|
+
var style = __webpack_require__(131);
|
|
393
|
+
|
|
394
|
+
// EXTERNAL MODULE: ./components/modal/style/index.less
|
|
395
|
+
var modal_style = __webpack_require__(183);
|
|
396
|
+
|
|
397
|
+
// CONCATENATED MODULE: ./components/modal/style/index.js
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./components/modal/modal.vue?vue&type=template&id=64c3d160&
|
|
401
|
+
var render = function () {
|
|
402
|
+
var _obj
|
|
403
|
+
var _vm = this
|
|
404
|
+
var _h = _vm.$createElement
|
|
405
|
+
var _c = _vm._self._c || _h
|
|
406
|
+
return _c(
|
|
407
|
+
"div",
|
|
408
|
+
{
|
|
409
|
+
directives: [
|
|
410
|
+
{
|
|
411
|
+
name: "show",
|
|
412
|
+
rawName: "v-show",
|
|
413
|
+
value: _vm.visibility,
|
|
414
|
+
expression: "visibility",
|
|
415
|
+
},
|
|
416
|
+
],
|
|
417
|
+
ref: "root",
|
|
418
|
+
staticClass: "mds-modal-container",
|
|
419
|
+
},
|
|
420
|
+
[
|
|
421
|
+
_c("div", {
|
|
422
|
+
directives: [
|
|
423
|
+
{
|
|
424
|
+
name: "show",
|
|
425
|
+
rawName: "v-show",
|
|
426
|
+
value: _vm.mask,
|
|
427
|
+
expression: "mask",
|
|
428
|
+
},
|
|
429
|
+
],
|
|
430
|
+
class: _vm.prefixClsMask,
|
|
431
|
+
on: { click: _vm.handleCancel },
|
|
432
|
+
}),
|
|
433
|
+
_c(
|
|
434
|
+
"div",
|
|
435
|
+
{
|
|
436
|
+
class: _vm.prefixClsWrap,
|
|
437
|
+
on: {
|
|
438
|
+
click: function (e) {
|
|
439
|
+
return _vm.onMaskClick(e)
|
|
440
|
+
},
|
|
441
|
+
},
|
|
442
|
+
},
|
|
443
|
+
[
|
|
444
|
+
_c("div", { class: _vm.prefixCls, style: _vm.styles }, [
|
|
445
|
+
_c("div", { class: _vm.prefixClsContent }, [
|
|
446
|
+
_c(
|
|
447
|
+
"div",
|
|
448
|
+
{
|
|
449
|
+
directives: [
|
|
450
|
+
{
|
|
451
|
+
name: "show",
|
|
452
|
+
rawName: "v-show",
|
|
453
|
+
value: _vm.showClose,
|
|
454
|
+
expression: "showClose",
|
|
455
|
+
},
|
|
456
|
+
],
|
|
457
|
+
class: _vm.prefixClsClose,
|
|
458
|
+
on: { click: _vm.handleCancel },
|
|
459
|
+
},
|
|
460
|
+
[
|
|
461
|
+
_vm.modalType === "base"
|
|
462
|
+
? _c("mds-icon", { attrs: { type: "line-close" } })
|
|
463
|
+
: _vm._e(),
|
|
464
|
+
],
|
|
465
|
+
1
|
|
466
|
+
),
|
|
467
|
+
_c(
|
|
468
|
+
"div",
|
|
469
|
+
{
|
|
470
|
+
class: [
|
|
471
|
+
_vm.prefixClsHeader,
|
|
472
|
+
_vm.modalType === "base" ? _vm.prefixClsBottom : "",
|
|
473
|
+
],
|
|
474
|
+
},
|
|
475
|
+
[
|
|
476
|
+
_vm.modalType !== "base"
|
|
477
|
+
? _c(
|
|
478
|
+
"div",
|
|
479
|
+
{ class: _vm.prefixClsIcon },
|
|
480
|
+
[
|
|
481
|
+
_c("mds-icon", {
|
|
482
|
+
style: _vm.iconStyle,
|
|
483
|
+
attrs: { type: _vm.iconType },
|
|
484
|
+
}),
|
|
485
|
+
],
|
|
486
|
+
1
|
|
487
|
+
)
|
|
488
|
+
: _vm._e(),
|
|
489
|
+
_vm.renderSlot
|
|
490
|
+
? _c(
|
|
491
|
+
"div",
|
|
492
|
+
{
|
|
493
|
+
class:
|
|
494
|
+
((_obj = {}),
|
|
495
|
+
(_obj["" + _vm.prefixClsTitle] = true),
|
|
496
|
+
(_obj.center = _vm.modalType !== "base"),
|
|
497
|
+
_obj),
|
|
498
|
+
},
|
|
499
|
+
[
|
|
500
|
+
_vm._t("title", [
|
|
501
|
+
_vm._v(
|
|
502
|
+
"\n " +
|
|
503
|
+
_vm._s(_vm.title) +
|
|
504
|
+
"\n "
|
|
505
|
+
),
|
|
506
|
+
]),
|
|
507
|
+
],
|
|
508
|
+
2
|
|
509
|
+
)
|
|
510
|
+
: _vm._e(),
|
|
511
|
+
]
|
|
512
|
+
),
|
|
513
|
+
_vm.renderSlot
|
|
514
|
+
? _c(
|
|
515
|
+
"div",
|
|
516
|
+
{
|
|
517
|
+
class: [
|
|
518
|
+
_vm.prefixClsBody,
|
|
519
|
+
_vm.modalType === "base" ? _vm.prefixClsBottom : "",
|
|
520
|
+
],
|
|
521
|
+
},
|
|
522
|
+
[_vm._t("default")],
|
|
523
|
+
2
|
|
524
|
+
)
|
|
525
|
+
: _vm._e(),
|
|
526
|
+
_vm.footer && _vm.renderSlot
|
|
527
|
+
? _c("div", { class: _vm.prefixClsFooter }, [
|
|
528
|
+
_vm.$slots.footer
|
|
529
|
+
? _c("div", [_vm._t("footer")], 2)
|
|
530
|
+
: _c(
|
|
531
|
+
"div",
|
|
532
|
+
{ class: _vm.prefixClsFooterDefault },
|
|
533
|
+
[
|
|
534
|
+
_vm.modalType !== "success"
|
|
535
|
+
? _c(
|
|
536
|
+
"mds-button",
|
|
537
|
+
{
|
|
538
|
+
class: _vm.prefixClsButton,
|
|
539
|
+
on: { click: _vm.handleCancel },
|
|
540
|
+
},
|
|
541
|
+
[_vm._v(_vm._s(_vm.cancelText))]
|
|
542
|
+
)
|
|
543
|
+
: _vm._e(),
|
|
544
|
+
_c(
|
|
545
|
+
"mds-button",
|
|
546
|
+
{
|
|
547
|
+
style: _vm.okButtonStyle,
|
|
548
|
+
attrs: { type: "primary" },
|
|
549
|
+
on: { click: _vm.handleOk },
|
|
550
|
+
},
|
|
551
|
+
[_vm._v(_vm._s(_vm.okText))]
|
|
552
|
+
),
|
|
553
|
+
],
|
|
554
|
+
1
|
|
555
|
+
),
|
|
556
|
+
])
|
|
557
|
+
: _vm._e(),
|
|
558
|
+
]),
|
|
559
|
+
]),
|
|
560
|
+
]
|
|
561
|
+
),
|
|
562
|
+
]
|
|
563
|
+
)
|
|
564
|
+
}
|
|
565
|
+
var staticRenderFns = []
|
|
566
|
+
render._withStripped = true
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=template&id=64c3d160&
|
|
570
|
+
|
|
571
|
+
// EXTERNAL MODULE: external "babel-runtime/core-js/number/is-finite"
|
|
572
|
+
var is_finite_ = __webpack_require__(64);
|
|
573
|
+
var is_finite_default = /*#__PURE__*/__webpack_require__.n(is_finite_);
|
|
574
|
+
|
|
575
|
+
// EXTERNAL MODULE: external "./icon"
|
|
576
|
+
var external_icon_ = __webpack_require__(4);
|
|
577
|
+
var external_icon_default = /*#__PURE__*/__webpack_require__.n(external_icon_);
|
|
578
|
+
|
|
579
|
+
// EXTERNAL MODULE: external "./button"
|
|
580
|
+
var external_button_ = __webpack_require__(7);
|
|
581
|
+
var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
|
|
582
|
+
|
|
583
|
+
// EXTERNAL MODULE: ./components/_util/util.js
|
|
584
|
+
var util = __webpack_require__(11);
|
|
585
|
+
|
|
586
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./components/modal/modal.vue?vue&type=script&lang=js&
|
|
587
|
+
|
|
588
|
+
//
|
|
589
|
+
//
|
|
590
|
+
//
|
|
591
|
+
//
|
|
592
|
+
//
|
|
593
|
+
//
|
|
594
|
+
//
|
|
595
|
+
//
|
|
596
|
+
//
|
|
597
|
+
//
|
|
598
|
+
//
|
|
599
|
+
//
|
|
600
|
+
//
|
|
601
|
+
//
|
|
602
|
+
//
|
|
603
|
+
//
|
|
604
|
+
//
|
|
605
|
+
//
|
|
606
|
+
//
|
|
607
|
+
//
|
|
608
|
+
//
|
|
609
|
+
//
|
|
610
|
+
//
|
|
611
|
+
//
|
|
612
|
+
//
|
|
613
|
+
//
|
|
614
|
+
//
|
|
615
|
+
//
|
|
616
|
+
//
|
|
617
|
+
//
|
|
618
|
+
//
|
|
619
|
+
//
|
|
620
|
+
//
|
|
621
|
+
//
|
|
622
|
+
//
|
|
623
|
+
//
|
|
624
|
+
//
|
|
625
|
+
//
|
|
626
|
+
//
|
|
627
|
+
//
|
|
628
|
+
//
|
|
629
|
+
//
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
var PREFIXCLS = 'mds-modal';
|
|
636
|
+
/* harmony default export */ var modalvue_type_script_lang_js_ = ({
|
|
637
|
+
name: 'MdsModal',
|
|
638
|
+
components: {
|
|
639
|
+
MdsIcon: external_icon_default.a,
|
|
640
|
+
MdsButton: external_button_default.a
|
|
641
|
+
},
|
|
642
|
+
props: {
|
|
643
|
+
width: {
|
|
644
|
+
type: [String, Number],
|
|
645
|
+
default: 400
|
|
646
|
+
},
|
|
647
|
+
title: {
|
|
648
|
+
type: String
|
|
649
|
+
},
|
|
650
|
+
modalType: {
|
|
651
|
+
type: String,
|
|
652
|
+
default: 'base',
|
|
653
|
+
validator: function validator(value) {
|
|
654
|
+
return ['base', 'success', 'info', 'warning', 'error'].indexOf(value) !== -1;
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
modalIcon: {
|
|
658
|
+
type: String
|
|
659
|
+
},
|
|
660
|
+
modalIconColor: {
|
|
661
|
+
type: String
|
|
662
|
+
},
|
|
663
|
+
okText: {
|
|
664
|
+
type: String,
|
|
665
|
+
default: '确认'
|
|
666
|
+
},
|
|
667
|
+
cancelText: {
|
|
668
|
+
type: String,
|
|
669
|
+
default: '取消'
|
|
670
|
+
},
|
|
671
|
+
mask: {
|
|
672
|
+
type: Boolean,
|
|
673
|
+
default: true
|
|
674
|
+
},
|
|
675
|
+
visibility: {
|
|
676
|
+
type: Boolean,
|
|
677
|
+
default: false
|
|
678
|
+
},
|
|
679
|
+
showClose: {
|
|
680
|
+
type: Boolean,
|
|
681
|
+
default: true
|
|
682
|
+
},
|
|
683
|
+
footer: {
|
|
684
|
+
type: Boolean,
|
|
685
|
+
default: true
|
|
686
|
+
},
|
|
687
|
+
top: {
|
|
688
|
+
type: String,
|
|
689
|
+
default: '15vh'
|
|
690
|
+
},
|
|
691
|
+
maskClosable: {
|
|
692
|
+
type: Boolean,
|
|
693
|
+
default: true
|
|
694
|
+
},
|
|
695
|
+
destroyOnClose: Boolean,
|
|
696
|
+
beforeClose: Function
|
|
697
|
+
},
|
|
698
|
+
data: function data() {
|
|
699
|
+
return {
|
|
700
|
+
prefixCls: PREFIXCLS,
|
|
701
|
+
prefixClsMask: PREFIXCLS + '-mask',
|
|
702
|
+
prefixClsWrap: PREFIXCLS + '-wrap',
|
|
703
|
+
prefixClsContent: PREFIXCLS + '-content',
|
|
704
|
+
prefixClsClose: PREFIXCLS + '-close',
|
|
705
|
+
prefixClsHeader: PREFIXCLS + '-header',
|
|
706
|
+
prefixClsBottom: PREFIXCLS + '-bottom',
|
|
707
|
+
prefixClsIcon: PREFIXCLS + '-icon',
|
|
708
|
+
prefixClsTitle: PREFIXCLS + '-title',
|
|
709
|
+
prefixClsBody: PREFIXCLS + '-body',
|
|
710
|
+
prefixClsFooter: PREFIXCLS + '-footer',
|
|
711
|
+
prefixClsFooterDefault: PREFIXCLS + '-footer-default',
|
|
712
|
+
prefixClsButton: PREFIXCLS + '-button',
|
|
713
|
+
renderSlot: false
|
|
714
|
+
};
|
|
715
|
+
},
|
|
716
|
+
|
|
717
|
+
computed: {
|
|
718
|
+
styles: function styles() {
|
|
719
|
+
var width = is_finite_default()(this.width) ? this.width + 'px' : this.width;
|
|
720
|
+
return {
|
|
721
|
+
width: width,
|
|
722
|
+
top: this.top
|
|
723
|
+
};
|
|
724
|
+
},
|
|
725
|
+
iconType: function iconType() {
|
|
726
|
+
var icon = void 0;
|
|
727
|
+
var typeSelect = {
|
|
728
|
+
base: '',
|
|
729
|
+
info: 'line-info-circle',
|
|
730
|
+
success: 'fill-solid-right-circle',
|
|
731
|
+
error: 'fill-solid-wrong-circle',
|
|
732
|
+
warning: 'fill-solid-exclamation-circle'
|
|
733
|
+
};
|
|
734
|
+
this.modalIcon ? icon = this.modalIcon : icon = typeSelect[this.modalType];
|
|
735
|
+
return icon;
|
|
736
|
+
},
|
|
737
|
+
iconStyle: function iconStyle() {
|
|
738
|
+
var color = void 0;
|
|
739
|
+
var typeSelect = {
|
|
740
|
+
base: '',
|
|
741
|
+
success: '#00AA00',
|
|
742
|
+
info: '#0364FF',
|
|
743
|
+
warning: '#FF6600',
|
|
744
|
+
error: '#ee3333'
|
|
745
|
+
};
|
|
746
|
+
this.modalIconColor ? color = this.modalIconColor : color = typeSelect[this.modalType];
|
|
747
|
+
return {
|
|
748
|
+
color: color
|
|
749
|
+
};
|
|
750
|
+
},
|
|
751
|
+
okButtonStyle: function okButtonStyle() {
|
|
752
|
+
var color = '';
|
|
753
|
+
var colorSelect = {
|
|
754
|
+
base: '',
|
|
755
|
+
success: '#00AA00',
|
|
756
|
+
info: '#0364FF',
|
|
757
|
+
warning: '#FF6600',
|
|
758
|
+
error: '#ee3333'
|
|
759
|
+
};
|
|
760
|
+
this.modalIconColor ? color = this.modalIconColor : color = colorSelect[this.modalType];
|
|
761
|
+
return {
|
|
762
|
+
'border-color': color,
|
|
763
|
+
background: color
|
|
764
|
+
};
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
|
|
768
|
+
watch: {
|
|
769
|
+
visibility: function visibility(newVal, oldVal) {
|
|
770
|
+
if (newVal) {
|
|
771
|
+
this.renderSlot = newVal;
|
|
772
|
+
} else {
|
|
773
|
+
if (this.destroyOnClose) {
|
|
774
|
+
this.renderSlot = newVal;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
|
|
780
|
+
methods: {
|
|
781
|
+
handleCancel: function handleCancel() {
|
|
782
|
+
var _this = this;
|
|
783
|
+
|
|
784
|
+
var done = function done() {
|
|
785
|
+
_this.$emit('close');
|
|
786
|
+
_this.$emit('update:visibility', false);
|
|
787
|
+
};
|
|
788
|
+
if (Object(util["f" /* isFunction */])(this.beforeClose)) {
|
|
789
|
+
this.beforeClose(done);
|
|
790
|
+
} else {
|
|
791
|
+
done();
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
handleOk: function handleOk() {
|
|
795
|
+
this.$emit('ok');
|
|
796
|
+
},
|
|
797
|
+
onMaskClick: function onMaskClick(e) {
|
|
798
|
+
if (e.target === e.currentTarget && this.maskClosable) {
|
|
799
|
+
this.handleCancel();
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
beforeDestroy: function beforeDestroy() {
|
|
804
|
+
document.body.removeChild(this.$refs.root);
|
|
805
|
+
},
|
|
806
|
+
mounted: function mounted() {
|
|
807
|
+
if (this.visibility) {
|
|
808
|
+
this.renderSlot = true;
|
|
809
|
+
}
|
|
810
|
+
document.body.appendChild(this.$refs.root);
|
|
811
|
+
}
|
|
812
|
+
});
|
|
813
|
+
// CONCATENATED MODULE: ./components/modal/modal.vue?vue&type=script&lang=js&
|
|
814
|
+
/* harmony default export */ var modal_modalvue_type_script_lang_js_ = (modalvue_type_script_lang_js_);
|
|
815
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
816
|
+
var componentNormalizer = __webpack_require__(0);
|
|
817
|
+
|
|
818
|
+
// CONCATENATED MODULE: ./components/modal/modal.vue
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
/* normalize component */
|
|
825
|
+
|
|
826
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
827
|
+
modal_modalvue_type_script_lang_js_,
|
|
828
|
+
render,
|
|
829
|
+
staticRenderFns,
|
|
830
|
+
false,
|
|
831
|
+
null,
|
|
832
|
+
null,
|
|
833
|
+
null
|
|
834
|
+
|
|
835
|
+
)
|
|
836
|
+
|
|
837
|
+
/* hot reload */
|
|
838
|
+
if (false) { var api; }
|
|
839
|
+
component.options.__file = "components/modal/modal.vue"
|
|
840
|
+
/* harmony default export */ var modal = (component.exports);
|
|
841
|
+
// CONCATENATED MODULE: ./components/modal/index.js
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
/* istanbul ignore next */
|
|
845
|
+
modal.install = function (Vue) {
|
|
846
|
+
Vue.component(modal.name, modal);
|
|
847
|
+
};
|
|
848
|
+
/* harmony default export */ var components_modal = __webpack_exports__["default"] = (modal);
|
|
849
|
+
|
|
850
|
+
/***/ }),
|
|
851
|
+
|
|
852
|
+
/***/ 131:
|
|
853
|
+
/***/ (function(module, exports) {
|
|
854
|
+
|
|
855
|
+
// removed by extract-text-webpack-plugin
|
|
856
|
+
|
|
857
|
+
/***/ }),
|
|
858
|
+
|
|
859
|
+
/***/ 183:
|
|
860
|
+
/***/ (function(module, exports) {
|
|
861
|
+
|
|
862
|
+
// removed by extract-text-webpack-plugin
|
|
863
|
+
|
|
864
|
+
/***/ }),
|
|
865
|
+
|
|
866
|
+
/***/ 4:
|
|
867
|
+
/***/ (function(module, exports) {
|
|
868
|
+
|
|
869
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4__;
|
|
870
|
+
|
|
871
|
+
/***/ }),
|
|
872
|
+
|
|
873
|
+
/***/ 5:
|
|
874
|
+
/***/ (function(module, exports) {
|
|
875
|
+
|
|
876
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5__;
|
|
877
|
+
|
|
878
|
+
/***/ }),
|
|
879
|
+
|
|
880
|
+
/***/ 64:
|
|
881
|
+
/***/ (function(module, exports) {
|
|
882
|
+
|
|
883
|
+
module.exports = require("babel-runtime/core-js/number/is-finite");
|
|
884
|
+
|
|
885
|
+
/***/ }),
|
|
886
|
+
|
|
887
|
+
/***/ 7:
|
|
888
|
+
/***/ (function(module, exports) {
|
|
889
|
+
|
|
890
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7__;
|
|
891
|
+
|
|
892
|
+
/***/ })
|
|
893
|
+
|
|
894
|
+
/******/ });
|
|
895
|
+
});
|