bk-magic-vue 2.4.0 → 2.4.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/bk-magic-vue.css +113 -24
- package/dist/bk-magic-vue.js +1091 -839
- package/dist/bk-magic-vue.min.css +1 -1
- package/dist/bk-magic-vue.min.css.gz +0 -0
- package/dist/bk-magic-vue.min.css.map +1 -1
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/alert.js +472 -472
- package/lib/back-top.js +1 -1
- package/lib/big-tree.js +3 -3
- package/lib/breadcrumb-item.js +426 -426
- package/lib/breadcrumb.js +438 -438
- package/lib/button.js +509 -509
- package/lib/cascade.js +36 -2
- package/lib/checkbox-group.js +16 -9
- package/lib/checkbox.js +9 -1
- package/lib/container.js +454 -454
- package/lib/date-picker.js +5 -8
- package/lib/dialog.js +8 -9
- package/lib/directives/clickoutside.js +61 -61
- package/lib/directives/copy.js +51 -51
- package/lib/divider.js +446 -446
- package/lib/dropdown-menu.js +1747 -1747
- package/lib/form-item.js +1 -1
- package/lib/image-viewer.js +67 -2
- package/lib/image.js +73 -3
- package/lib/info-box.js +8 -9
- package/lib/link.js +430 -430
- package/lib/locale/lang/en-US.js +153 -143
- package/lib/locale/lang/zh-CN.js +151 -143
- package/lib/message.js +1 -1
- package/lib/mixins/emitter.js +18 -18
- package/lib/navigation-menu-group.js +412 -412
- package/lib/navigation-menu-item.js +722 -722
- package/lib/navigation.js +668 -668
- package/lib/notify.js +1 -1
- package/lib/option-group.js +9 -1
- package/lib/option.js +1 -1
- package/lib/pagination.js +13 -13
- package/lib/process.js +233 -51
- package/lib/progress.js +499 -499
- package/lib/radio-button.js +541 -541
- package/lib/radio.js +555 -555
- package/lib/rate.js +607 -607
- package/lib/round-progress.js +502 -502
- package/lib/search-select.js +5 -5
- package/lib/select.js +6 -6
- package/lib/sideslider.js +1 -1
- package/lib/slider.js +5 -5
- package/lib/spin.js +500 -500
- package/lib/star.js +496 -496
- package/lib/steps.js +3 -3
- package/lib/switcher.js +538 -538
- package/lib/tab-panel.js +456 -456
- package/lib/table-setting-content.js +35 -20
- package/lib/table.js +764 -575
- package/lib/tag.js +459 -459
- package/lib/time-picker.js +2 -2
- package/lib/transfer.js +6 -6
- package/lib/ui/bk-magic-vue.css +113 -24
- package/lib/ui/bk-magic-vue.min.css +1 -1
- package/lib/ui/bk-magic-vue.min.css.gz +0 -0
- package/lib/ui/bk-magic-vue.min.css.map +1 -1
- package/lib/ui/image-viewer.css +38 -17
- package/lib/ui/image-viewer.min.css +1 -1
- package/lib/ui/image-viewer.min.css.map +1 -1
- package/lib/ui/process.css +76 -0
- package/lib/ui/process.min.css +1 -1
- package/lib/ui/process.min.css.map +1 -1
- package/lib/ui/slider.css +4 -2
- package/lib/ui/slider.min.css +1 -1
- package/lib/ui/slider.min.css.map +1 -1
- package/lib/ui/spin.css +5 -1
- package/lib/ui/spin.min.css +1 -1
- package/lib/ui/spin.min.css.map +1 -1
- package/lib/ui/table.css +16 -5
- package/lib/ui/table.min.css +1 -1
- package/lib/ui/table.min.css.map +1 -1
- package/lib/upload.js +2 -2
- package/lib/version-detail.js +9 -10
- package/lib/virtual-scroll.js +805 -805
- package/lib/zoom-image.js +502 -502
- package/package.json +1 -1
package/lib/tab-panel.js
CHANGED
|
@@ -1,486 +1,486 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
4
|
+
(global = global || self, factory(global.library = {}));
|
|
5
5
|
}(this, function (exports) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
label: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: false
|
|
17
|
-
},
|
|
18
|
-
closable: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: undefined
|
|
21
|
-
},
|
|
22
|
-
visible: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: true
|
|
25
|
-
},
|
|
26
|
-
disabled: Boolean,
|
|
27
|
-
sortable: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: true
|
|
30
|
-
},
|
|
31
|
-
renderDirective: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: 'show',
|
|
34
|
-
validator: function validator(val) {
|
|
35
|
-
return ['if', 'show'].includes(val);
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
renderLabel: Function
|
|
7
|
+
var script = {
|
|
8
|
+
name: 'bk-tab-panel',
|
|
9
|
+
props: {
|
|
10
|
+
name: {
|
|
11
|
+
type: [String, Number],
|
|
12
|
+
required: true
|
|
39
13
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
shouldRender: function shouldRender() {
|
|
49
|
-
var directive = this.renderDirective;
|
|
50
|
-
return directive === 'show' || this.active && directive === 'if';
|
|
51
|
-
},
|
|
52
|
-
active: function active() {
|
|
53
|
-
return this.tabInstance.localActive === this.name;
|
|
54
|
-
}
|
|
14
|
+
label: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: false
|
|
17
|
+
},
|
|
18
|
+
closable: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: undefined
|
|
55
21
|
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
22
|
+
visible: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: true
|
|
25
|
+
},
|
|
26
|
+
disabled: Boolean,
|
|
27
|
+
sortable: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: true
|
|
30
|
+
},
|
|
31
|
+
renderDirective: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: 'show',
|
|
34
|
+
validator: function validator(val) {
|
|
35
|
+
return ['if', 'show'].includes(val);
|
|
61
36
|
}
|
|
62
37
|
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
38
|
+
renderLabel: Function
|
|
39
|
+
},
|
|
40
|
+
computed: {
|
|
41
|
+
tabInstance: function tabInstance() {
|
|
42
|
+
var parent = this.$parent;
|
|
43
|
+
while (parent && !parent.isTab) {
|
|
44
|
+
parent = parent.$parent;
|
|
66
45
|
}
|
|
46
|
+
return parent;
|
|
47
|
+
},
|
|
48
|
+
shouldRender: function shouldRender() {
|
|
49
|
+
var directive = this.renderDirective;
|
|
50
|
+
return directive === 'show' || this.active && directive === 'if';
|
|
51
|
+
},
|
|
52
|
+
active: function active() {
|
|
53
|
+
return this.tabInstance.localActive === this.name;
|
|
67
54
|
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
createInjector = shadowMode;
|
|
75
|
-
shadowMode = false;
|
|
76
|
-
}
|
|
77
|
-
var options = typeof script === 'function' ? script.options : script;
|
|
78
|
-
if (template && template.render) {
|
|
79
|
-
options.render = template.render;
|
|
80
|
-
options.staticRenderFns = template.staticRenderFns;
|
|
81
|
-
options._compiled = true;
|
|
82
|
-
if (isFunctionalTemplate) {
|
|
83
|
-
options.functional = true;
|
|
84
|
-
}
|
|
55
|
+
},
|
|
56
|
+
created: function created() {
|
|
57
|
+
if (this.tabInstance.isTab) {
|
|
58
|
+
this.tabInstance.registerPanel(this);
|
|
59
|
+
} else {
|
|
60
|
+
console.error('"bk-tab-panel"\'s parent element must be "bk-tab"');
|
|
85
61
|
}
|
|
86
|
-
|
|
87
|
-
|
|
62
|
+
},
|
|
63
|
+
beforeDestroy: function beforeDestroy() {
|
|
64
|
+
if (this.tabInstance.isTab) {
|
|
65
|
+
this.tabInstance.deletePanel(this);
|
|
88
66
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
options.
|
|
106
|
-
} else if (style) {
|
|
107
|
-
hook = shadowMode ? function () {
|
|
108
|
-
style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
|
|
109
|
-
} : function (context) {
|
|
110
|
-
style.call(this, createInjector(context));
|
|
111
|
-
};
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier
|
|
71
|
+
, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
72
|
+
if (typeof shadowMode !== 'boolean') {
|
|
73
|
+
createInjectorSSR = createInjector;
|
|
74
|
+
createInjector = shadowMode;
|
|
75
|
+
shadowMode = false;
|
|
76
|
+
}
|
|
77
|
+
var options = typeof script === 'function' ? script.options : script;
|
|
78
|
+
if (template && template.render) {
|
|
79
|
+
options.render = template.render;
|
|
80
|
+
options.staticRenderFns = template.staticRenderFns;
|
|
81
|
+
options._compiled = true;
|
|
82
|
+
if (isFunctionalTemplate) {
|
|
83
|
+
options.functional = true;
|
|
112
84
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
85
|
+
}
|
|
86
|
+
if (scopeId) {
|
|
87
|
+
options._scopeId = scopeId;
|
|
88
|
+
}
|
|
89
|
+
var hook;
|
|
90
|
+
if (moduleIdentifier) {
|
|
91
|
+
hook = function hook(context) {
|
|
92
|
+
context = context ||
|
|
93
|
+
this.$vnode && this.$vnode.ssrContext ||
|
|
94
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
95
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
96
|
+
context = __VUE_SSR_CONTEXT__;
|
|
123
97
|
}
|
|
98
|
+
if (style) {
|
|
99
|
+
style.call(this, createInjectorSSR(context));
|
|
100
|
+
}
|
|
101
|
+
if (context && context._registeredComponents) {
|
|
102
|
+
context._registeredComponents.add(moduleIdentifier);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
options._ssrRegister = hook;
|
|
106
|
+
} else if (style) {
|
|
107
|
+
hook = shadowMode ? function () {
|
|
108
|
+
style.call(this, createInjectorShadow(this.$root.$options.shadowRoot));
|
|
109
|
+
} : function (context) {
|
|
110
|
+
style.call(this, createInjector(context));
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
if (hook) {
|
|
114
|
+
if (options.functional) {
|
|
115
|
+
var originalRender = options.render;
|
|
116
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
117
|
+
hook.call(context);
|
|
118
|
+
return originalRender(h, context);
|
|
119
|
+
};
|
|
120
|
+
} else {
|
|
121
|
+
var existing = options.beforeCreate;
|
|
122
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
124
123
|
}
|
|
125
|
-
return script;
|
|
126
124
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
125
|
+
return script;
|
|
126
|
+
}
|
|
127
|
+
var normalizeComponent_1 = normalizeComponent;
|
|
128
|
+
|
|
129
|
+
/* script */
|
|
130
|
+
var __vue_script__ = script;
|
|
131
|
+
/* template */
|
|
132
|
+
|
|
133
|
+
var __vue_render__ = function __vue_render__() {
|
|
134
|
+
var _vm = this;
|
|
135
|
+
|
|
136
|
+
var _h = _vm.$createElement;
|
|
137
|
+
|
|
138
|
+
var _c = _vm._self._c || _h;
|
|
139
|
+
|
|
140
|
+
return _vm.shouldRender ? _c('section', {
|
|
141
|
+
directives: [{
|
|
142
|
+
name: "show",
|
|
143
|
+
rawName: "v-show",
|
|
144
|
+
value: _vm.active,
|
|
145
|
+
expression: "active"
|
|
146
|
+
}],
|
|
147
|
+
staticClass: "bk-tab-content"
|
|
148
|
+
}, [_vm._t("default")], 2) : _vm._e();
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
var __vue_staticRenderFns__ = [];
|
|
152
|
+
/* style */
|
|
153
|
+
|
|
154
|
+
var __vue_inject_styles__ = undefined;
|
|
155
|
+
/* scoped */
|
|
156
|
+
|
|
157
|
+
var __vue_scope_id__ = undefined;
|
|
158
|
+
/* module identifier */
|
|
159
|
+
|
|
160
|
+
var __vue_module_identifier__ = undefined;
|
|
161
|
+
/* functional template */
|
|
162
|
+
|
|
163
|
+
var __vue_is_functional_template__ = false;
|
|
164
|
+
/* style inject */
|
|
165
|
+
|
|
166
|
+
/* style inject SSR */
|
|
167
|
+
|
|
168
|
+
/* style inject shadow dom */
|
|
169
|
+
|
|
170
|
+
var __vue_component__ = /*#__PURE__*/normalizeComponent_1({
|
|
171
|
+
render: __vue_render__,
|
|
172
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
173
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
174
|
+
|
|
175
|
+
var _defined = function (it) {
|
|
176
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
177
|
+
return it;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
var _toObject = function (it) {
|
|
181
|
+
return Object(_defined(it));
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
185
|
+
var _has = function (it, key) {
|
|
186
|
+
return hasOwnProperty.call(it, key);
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
var toString = {}.toString;
|
|
190
|
+
var _cof = function (it) {
|
|
191
|
+
return toString.call(it).slice(8, -1);
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
var _iobject = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
195
|
+
return _cof(it) == 'String' ? it.split('') : Object(it);
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
var _toIobject = function (it) {
|
|
199
|
+
return _iobject(_defined(it));
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
var ceil = Math.ceil;
|
|
203
|
+
var floor = Math.floor;
|
|
204
|
+
var _toInteger = function (it) {
|
|
205
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
var min = Math.min;
|
|
209
|
+
var _toLength = function (it) {
|
|
210
|
+
return it > 0 ? min(_toInteger(it), 0x1fffffffffffff) : 0;
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
var max = Math.max;
|
|
214
|
+
var min$1 = Math.min;
|
|
215
|
+
var _toAbsoluteIndex = function (index, length) {
|
|
216
|
+
index = _toInteger(index);
|
|
217
|
+
return index < 0 ? max(index + length, 0) : min$1(index, length);
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
var _arrayIncludes = function (IS_INCLUDES) {
|
|
221
|
+
return function ($this, el, fromIndex) {
|
|
222
|
+
var O = _toIobject($this);
|
|
223
|
+
var length = _toLength(O.length);
|
|
224
|
+
var index = _toAbsoluteIndex(fromIndex, length);
|
|
225
|
+
var value;
|
|
226
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
227
|
+
value = O[index++];
|
|
228
|
+
if (value != value) return true;
|
|
229
|
+
} else for (;length > index; index++) if (IS_INCLUDES || index in O) {
|
|
230
|
+
if (O[index] === el) return IS_INCLUDES || index || 0;
|
|
231
|
+
} return !IS_INCLUDES && -1;
|
|
178
232
|
};
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
function createCommonjsModule(fn, module) {
|
|
236
|
+
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
var _core = createCommonjsModule(function (module) {
|
|
240
|
+
var core = module.exports = { version: '2.6.12' };
|
|
241
|
+
if (typeof __e == 'number') __e = core;
|
|
242
|
+
});
|
|
243
|
+
var _core_1 = _core.version;
|
|
244
|
+
|
|
245
|
+
var _global = createCommonjsModule(function (module) {
|
|
246
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
247
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
248
|
+
: Function('return this')();
|
|
249
|
+
if (typeof __g == 'number') __g = global;
|
|
250
|
+
});
|
|
251
|
+
|
|
252
|
+
var _shared = createCommonjsModule(function (module) {
|
|
253
|
+
var SHARED = '__core-js_shared__';
|
|
254
|
+
var store = _global[SHARED] || (_global[SHARED] = {});
|
|
255
|
+
(module.exports = function (key, value) {
|
|
256
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
257
|
+
})('versions', []).push({
|
|
258
|
+
version: _core.version,
|
|
259
|
+
mode: 'pure' ,
|
|
260
|
+
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
|
|
264
|
+
var id = 0;
|
|
265
|
+
var px = Math.random();
|
|
266
|
+
var _uid = function (key) {
|
|
267
|
+
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
var shared = _shared('keys');
|
|
271
|
+
var _sharedKey = function (key) {
|
|
272
|
+
return shared[key] || (shared[key] = _uid(key));
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
var arrayIndexOf = _arrayIncludes(false);
|
|
276
|
+
var IE_PROTO = _sharedKey('IE_PROTO');
|
|
277
|
+
var _objectKeysInternal = function (object, names) {
|
|
278
|
+
var O = _toIobject(object);
|
|
279
|
+
var i = 0;
|
|
280
|
+
var result = [];
|
|
281
|
+
var key;
|
|
282
|
+
for (key in O) if (key != IE_PROTO) _has(O, key) && result.push(key);
|
|
283
|
+
while (names.length > i) if (_has(O, key = names[i++])) {
|
|
284
|
+
~arrayIndexOf(result, key) || result.push(key);
|
|
285
|
+
}
|
|
286
|
+
return result;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
var _enumBugKeys = (
|
|
290
|
+
'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
|
|
291
|
+
).split(',');
|
|
292
|
+
|
|
293
|
+
var _objectKeys = Object.keys || function keys(O) {
|
|
294
|
+
return _objectKeysInternal(O, _enumBugKeys);
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
var _aFunction = function (it) {
|
|
298
|
+
if (typeof it != 'function') throw TypeError(it + ' is not a function!');
|
|
299
|
+
return it;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
var _ctx = function (fn, that, length) {
|
|
303
|
+
_aFunction(fn);
|
|
304
|
+
if (that === undefined) return fn;
|
|
305
|
+
switch (length) {
|
|
306
|
+
case 1: return function (a) {
|
|
307
|
+
return fn.call(that, a);
|
|
308
|
+
};
|
|
309
|
+
case 2: return function (a, b) {
|
|
310
|
+
return fn.call(that, a, b);
|
|
311
|
+
};
|
|
312
|
+
case 3: return function (a, b, c) {
|
|
313
|
+
return fn.call(that, a, b, c);
|
|
232
314
|
};
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
function createCommonjsModule(fn, module) {
|
|
236
|
-
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
237
315
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
var core = module.exports = { version: '2.6.12' };
|
|
241
|
-
if (typeof __e == 'number') __e = core;
|
|
242
|
-
});
|
|
243
|
-
var _core_1 = _core.version;
|
|
244
|
-
|
|
245
|
-
var _global = createCommonjsModule(function (module) {
|
|
246
|
-
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
247
|
-
? window : typeof self != 'undefined' && self.Math == Math ? self
|
|
248
|
-
: Function('return this')();
|
|
249
|
-
if (typeof __g == 'number') __g = global;
|
|
250
|
-
});
|
|
251
|
-
|
|
252
|
-
var _shared = createCommonjsModule(function (module) {
|
|
253
|
-
var SHARED = '__core-js_shared__';
|
|
254
|
-
var store = _global[SHARED] || (_global[SHARED] = {});
|
|
255
|
-
(module.exports = function (key, value) {
|
|
256
|
-
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
257
|
-
})('versions', []).push({
|
|
258
|
-
version: _core.version,
|
|
259
|
-
mode: 'pure' ,
|
|
260
|
-
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
|
261
|
-
});
|
|
262
|
-
});
|
|
263
|
-
|
|
264
|
-
var id = 0;
|
|
265
|
-
var px = Math.random();
|
|
266
|
-
var _uid = function (key) {
|
|
267
|
-
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
316
|
+
return function () {
|
|
317
|
+
return fn.apply(that, arguments);
|
|
268
318
|
};
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
var _isObject = function (it) {
|
|
322
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
var _anObject = function (it) {
|
|
326
|
+
if (!_isObject(it)) throw TypeError(it + ' is not an object!');
|
|
327
|
+
return it;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
var _fails = function (exec) {
|
|
331
|
+
try {
|
|
332
|
+
return !!exec();
|
|
333
|
+
} catch (e) {
|
|
334
|
+
return true;
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
var _descriptors = !_fails(function () {
|
|
339
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
340
|
+
});
|
|
341
|
+
|
|
342
|
+
var document = _global.document;
|
|
343
|
+
var is = _isObject(document) && _isObject(document.createElement);
|
|
344
|
+
var _domCreate = function (it) {
|
|
345
|
+
return is ? document.createElement(it) : {};
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
var _ie8DomDefine = !_descriptors && !_fails(function () {
|
|
349
|
+
return Object.defineProperty(_domCreate('div'), 'a', { get: function () { return 7; } }).a != 7;
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
var _toPrimitive = function (it, S) {
|
|
353
|
+
if (!_isObject(it)) return it;
|
|
354
|
+
var fn, val;
|
|
355
|
+
if (S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
356
|
+
if (typeof (fn = it.valueOf) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
357
|
+
if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
358
|
+
throw TypeError("Can't convert object to primitive value");
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
var dP = Object.defineProperty;
|
|
362
|
+
var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
363
|
+
_anObject(O);
|
|
364
|
+
P = _toPrimitive(P, true);
|
|
365
|
+
_anObject(Attributes);
|
|
366
|
+
if (_ie8DomDefine) try {
|
|
367
|
+
return dP(O, P, Attributes);
|
|
368
|
+
} catch (e) { }
|
|
369
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
370
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
371
|
+
return O;
|
|
372
|
+
};
|
|
373
|
+
var _objectDp = {
|
|
374
|
+
f: f
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
var _propertyDesc = function (bitmap, value) {
|
|
378
|
+
return {
|
|
379
|
+
enumerable: !(bitmap & 1),
|
|
380
|
+
configurable: !(bitmap & 2),
|
|
381
|
+
writable: !(bitmap & 4),
|
|
382
|
+
value: value
|
|
300
383
|
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
var _hide = _descriptors ? function (object, key, value) {
|
|
387
|
+
return _objectDp.f(object, key, _propertyDesc(1, value));
|
|
388
|
+
} : function (object, key, value) {
|
|
389
|
+
object[key] = value;
|
|
390
|
+
return object;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
var PROTOTYPE = 'prototype';
|
|
394
|
+
var $export = function (type, name, source) {
|
|
395
|
+
var IS_FORCED = type & $export.F;
|
|
396
|
+
var IS_GLOBAL = type & $export.G;
|
|
397
|
+
var IS_STATIC = type & $export.S;
|
|
398
|
+
var IS_PROTO = type & $export.P;
|
|
399
|
+
var IS_BIND = type & $export.B;
|
|
400
|
+
var IS_WRAP = type & $export.W;
|
|
401
|
+
var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
|
|
402
|
+
var expProto = exports[PROTOTYPE];
|
|
403
|
+
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
|
|
404
|
+
var key, own, out;
|
|
405
|
+
if (IS_GLOBAL) source = name;
|
|
406
|
+
for (key in source) {
|
|
407
|
+
own = !IS_FORCED && target && target[key] !== undefined;
|
|
408
|
+
if (own && _has(exports, key)) continue;
|
|
409
|
+
out = own ? target[key] : source[key];
|
|
410
|
+
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
|
411
|
+
: IS_BIND && own ? _ctx(out, _global)
|
|
412
|
+
: IS_WRAP && target[key] == out ? (function (C) {
|
|
413
|
+
var F = function (a, b, c) {
|
|
414
|
+
if (this instanceof C) {
|
|
415
|
+
switch (arguments.length) {
|
|
416
|
+
case 0: return new C();
|
|
417
|
+
case 1: return new C(a);
|
|
418
|
+
case 2: return new C(a, b);
|
|
419
|
+
} return new C(a, b, c);
|
|
420
|
+
} return C.apply(this, arguments);
|
|
308
421
|
};
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
316
|
-
return function () {
|
|
317
|
-
return fn.apply(that, arguments);
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
var _isObject = function (it) {
|
|
322
|
-
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
323
|
-
};
|
|
324
|
-
|
|
325
|
-
var _anObject = function (it) {
|
|
326
|
-
if (!_isObject(it)) throw TypeError(it + ' is not an object!');
|
|
327
|
-
return it;
|
|
328
|
-
};
|
|
329
|
-
|
|
330
|
-
var _fails = function (exec) {
|
|
331
|
-
try {
|
|
332
|
-
return !!exec();
|
|
333
|
-
} catch (e) {
|
|
334
|
-
return true;
|
|
422
|
+
F[PROTOTYPE] = C[PROTOTYPE];
|
|
423
|
+
return F;
|
|
424
|
+
})(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
|
|
425
|
+
if (IS_PROTO) {
|
|
426
|
+
(exports.virtual || (exports.virtual = {}))[key] = out;
|
|
427
|
+
if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
|
|
335
428
|
}
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
$export.F = 1;
|
|
432
|
+
$export.G = 2;
|
|
433
|
+
$export.S = 4;
|
|
434
|
+
$export.P = 8;
|
|
435
|
+
$export.B = 16;
|
|
436
|
+
$export.W = 32;
|
|
437
|
+
$export.U = 64;
|
|
438
|
+
$export.R = 128;
|
|
439
|
+
var _export = $export;
|
|
440
|
+
|
|
441
|
+
var _objectSap = function (KEY, exec) {
|
|
442
|
+
var fn = (_core.Object || {})[KEY] || Object[KEY];
|
|
443
|
+
var exp = {};
|
|
444
|
+
exp[KEY] = exec(fn);
|
|
445
|
+
_export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
_objectSap('keys', function () {
|
|
449
|
+
return function keys(it) {
|
|
450
|
+
return _objectKeys(_toObject(it));
|
|
336
451
|
};
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
if (!S && typeof (fn = it.toString) == 'function' && !_isObject(val = fn.call(it))) return val;
|
|
358
|
-
throw TypeError("Can't convert object to primitive value");
|
|
359
|
-
};
|
|
360
|
-
|
|
361
|
-
var dP = Object.defineProperty;
|
|
362
|
-
var f = _descriptors ? Object.defineProperty : function defineProperty(O, P, Attributes) {
|
|
363
|
-
_anObject(O);
|
|
364
|
-
P = _toPrimitive(P, true);
|
|
365
|
-
_anObject(Attributes);
|
|
366
|
-
if (_ie8DomDefine) try {
|
|
367
|
-
return dP(O, P, Attributes);
|
|
368
|
-
} catch (e) { }
|
|
369
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
|
|
370
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
371
|
-
return O;
|
|
372
|
-
};
|
|
373
|
-
var _objectDp = {
|
|
374
|
-
f: f
|
|
375
|
-
};
|
|
376
|
-
|
|
377
|
-
var _propertyDesc = function (bitmap, value) {
|
|
378
|
-
return {
|
|
379
|
-
enumerable: !(bitmap & 1),
|
|
380
|
-
configurable: !(bitmap & 2),
|
|
381
|
-
writable: !(bitmap & 4),
|
|
382
|
-
value: value
|
|
383
|
-
};
|
|
384
|
-
};
|
|
385
|
-
|
|
386
|
-
var _hide = _descriptors ? function (object, key, value) {
|
|
387
|
-
return _objectDp.f(object, key, _propertyDesc(1, value));
|
|
388
|
-
} : function (object, key, value) {
|
|
389
|
-
object[key] = value;
|
|
390
|
-
return object;
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
var PROTOTYPE = 'prototype';
|
|
394
|
-
var $export = function (type, name, source) {
|
|
395
|
-
var IS_FORCED = type & $export.F;
|
|
396
|
-
var IS_GLOBAL = type & $export.G;
|
|
397
|
-
var IS_STATIC = type & $export.S;
|
|
398
|
-
var IS_PROTO = type & $export.P;
|
|
399
|
-
var IS_BIND = type & $export.B;
|
|
400
|
-
var IS_WRAP = type & $export.W;
|
|
401
|
-
var exports = IS_GLOBAL ? _core : _core[name] || (_core[name] = {});
|
|
402
|
-
var expProto = exports[PROTOTYPE];
|
|
403
|
-
var target = IS_GLOBAL ? _global : IS_STATIC ? _global[name] : (_global[name] || {})[PROTOTYPE];
|
|
404
|
-
var key, own, out;
|
|
405
|
-
if (IS_GLOBAL) source = name;
|
|
406
|
-
for (key in source) {
|
|
407
|
-
own = !IS_FORCED && target && target[key] !== undefined;
|
|
408
|
-
if (own && _has(exports, key)) continue;
|
|
409
|
-
out = own ? target[key] : source[key];
|
|
410
|
-
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
|
411
|
-
: IS_BIND && own ? _ctx(out, _global)
|
|
412
|
-
: IS_WRAP && target[key] == out ? (function (C) {
|
|
413
|
-
var F = function (a, b, c) {
|
|
414
|
-
if (this instanceof C) {
|
|
415
|
-
switch (arguments.length) {
|
|
416
|
-
case 0: return new C();
|
|
417
|
-
case 1: return new C(a);
|
|
418
|
-
case 2: return new C(a, b);
|
|
419
|
-
} return new C(a, b, c);
|
|
420
|
-
} return C.apply(this, arguments);
|
|
421
|
-
};
|
|
422
|
-
F[PROTOTYPE] = C[PROTOTYPE];
|
|
423
|
-
return F;
|
|
424
|
-
})(out) : IS_PROTO && typeof out == 'function' ? _ctx(Function.call, out) : out;
|
|
425
|
-
if (IS_PROTO) {
|
|
426
|
-
(exports.virtual || (exports.virtual = {}))[key] = out;
|
|
427
|
-
if (type & $export.R && expProto && !expProto[key]) _hide(expProto, key, out);
|
|
452
|
+
});
|
|
453
|
+
|
|
454
|
+
var keys = _core.Object.keys;
|
|
455
|
+
|
|
456
|
+
var keys$1 = keys;
|
|
457
|
+
|
|
458
|
+
function setInstaller (component, afterInstall) {
|
|
459
|
+
component.install = function (Vue) {
|
|
460
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
461
|
+
var props = component.props || {};
|
|
462
|
+
keys$1(options).forEach(function (key) {
|
|
463
|
+
if (props.hasOwnProperty(key)) {
|
|
464
|
+
if (typeof props[key] === 'function' || props[key] instanceof Array) {
|
|
465
|
+
props[key] = {
|
|
466
|
+
type: props[key],
|
|
467
|
+
default: options[key]
|
|
468
|
+
};
|
|
469
|
+
} else {
|
|
470
|
+
props[key].default = options[key];
|
|
471
|
+
}
|
|
428
472
|
}
|
|
429
|
-
}
|
|
473
|
+
});
|
|
474
|
+
component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
|
|
475
|
+
Vue.component(component.name, component);
|
|
476
|
+
typeof afterInstall === 'function' && afterInstall(Vue, options);
|
|
430
477
|
};
|
|
431
|
-
|
|
432
|
-
$export.G = 2;
|
|
433
|
-
$export.S = 4;
|
|
434
|
-
$export.P = 8;
|
|
435
|
-
$export.B = 16;
|
|
436
|
-
$export.W = 32;
|
|
437
|
-
$export.U = 64;
|
|
438
|
-
$export.R = 128;
|
|
439
|
-
var _export = $export;
|
|
440
|
-
|
|
441
|
-
var _objectSap = function (KEY, exec) {
|
|
442
|
-
var fn = (_core.Object || {})[KEY] || Object[KEY];
|
|
443
|
-
var exp = {};
|
|
444
|
-
exp[KEY] = exec(fn);
|
|
445
|
-
_export(_export.S + _export.F * _fails(function () { fn(1); }), 'Object', exp);
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
_objectSap('keys', function () {
|
|
449
|
-
return function keys(it) {
|
|
450
|
-
return _objectKeys(_toObject(it));
|
|
451
|
-
};
|
|
452
|
-
});
|
|
453
|
-
|
|
454
|
-
var keys = _core.Object.keys;
|
|
455
|
-
|
|
456
|
-
var keys$1 = keys;
|
|
457
|
-
|
|
458
|
-
function setInstaller (component, afterInstall) {
|
|
459
|
-
component.install = function (Vue) {
|
|
460
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
461
|
-
var props = component.props || {};
|
|
462
|
-
keys$1(options).forEach(function (key) {
|
|
463
|
-
if (props.hasOwnProperty(key)) {
|
|
464
|
-
if (typeof props[key] === 'function' || props[key] instanceof Array) {
|
|
465
|
-
props[key] = {
|
|
466
|
-
type: props[key],
|
|
467
|
-
default: options[key]
|
|
468
|
-
};
|
|
469
|
-
} else {
|
|
470
|
-
props[key].default = options[key];
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
});
|
|
474
|
-
component.name = options.namespace ? component.name.replace('bk', options.namespace) : component.name;
|
|
475
|
-
Vue.component(component.name, component);
|
|
476
|
-
typeof afterInstall === 'function' && afterInstall(Vue, options);
|
|
477
|
-
};
|
|
478
|
-
}
|
|
478
|
+
}
|
|
479
479
|
|
|
480
|
-
|
|
480
|
+
setInstaller(__vue_component__);
|
|
481
481
|
|
|
482
|
-
|
|
482
|
+
exports.default = __vue_component__;
|
|
483
483
|
|
|
484
|
-
|
|
484
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
485
485
|
|
|
486
486
|
}));
|