bkui-vue 2.0.2-beta.47 → 2.0.2-beta.49
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/index.cjs.js +42 -47
- package/dist/index.esm.js +7009 -7201
- package/dist/index.umd.js +45 -50
- package/lib/affix/index.js +14 -12
- package/lib/alert/index.js +14 -12
- package/lib/animate-number/index.js +12 -11
- package/lib/backtop/index.js +11 -10
- package/lib/badge/index.js +14 -12
- package/lib/breadcrumb/index.js +14 -12
- package/lib/button/index.js +14 -12
- package/lib/card/index.js +14 -12
- package/lib/cascader/index.js +101 -94
- package/lib/checkbox/index.js +35 -37
- package/lib/code-diff/index.js +674 -1170
- package/lib/collapse/index.js +42 -44
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/index.js +60 -59
- package/lib/config-provider/index.js +14 -12
- package/lib/container/index.js +25 -21
- package/lib/date-picker/index.js +51 -58
- package/lib/dialog/index.js +441 -43
- package/lib/directives/index.js +34 -37
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/index.js +21 -17
- package/lib/exception/index.js +17 -14
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/index.js +34 -37
- package/lib/icon/angle-double-down-line.js +36 -29
- package/lib/icon/angle-double-left-line.js +36 -29
- package/lib/icon/angle-double-left.js +36 -29
- package/lib/icon/angle-double-right-line.js +36 -29
- package/lib/icon/angle-double-right.js +36 -29
- package/lib/icon/angle-double-up-line.js +36 -29
- package/lib/icon/angle-down-fill.js +36 -29
- package/lib/icon/angle-down-line.js +36 -29
- package/lib/icon/angle-down.js +36 -29
- package/lib/icon/angle-left.js +36 -29
- package/lib/icon/angle-right.js +36 -29
- package/lib/icon/angle-up-fill.js +36 -29
- package/lib/icon/angle-up.js +36 -29
- package/lib/icon/archive-fill.js +36 -29
- package/lib/icon/arrows-left.js +36 -29
- package/lib/icon/arrows-right.js +36 -29
- package/lib/icon/assistant.js +36 -29
- package/lib/icon/audio-fill.js +36 -29
- package/lib/icon/bk.js +36 -29
- package/lib/icon/circle.js +36 -29
- package/lib/icon/close-line.js +36 -29
- package/lib/icon/close.js +36 -29
- package/lib/icon/code.js +36 -29
- package/lib/icon/cog-shape.js +36 -29
- package/lib/icon/collapse-left.js +36 -29
- package/lib/icon/copy-shape.js +36 -29
- package/lib/icon/copy.js +36 -29
- package/lib/icon/data-shape.js +36 -29
- package/lib/icon/del.js +36 -29
- package/lib/icon/doc-fill.js +36 -29
- package/lib/icon/done.js +36 -29
- package/lib/icon/down-shape.js +36 -29
- package/lib/icon/down-small.js +36 -29
- package/lib/icon/edit-line.js +36 -29
- package/lib/icon/ellipsis.js +36 -29
- package/lib/icon/enlarge-line.js +36 -29
- package/lib/icon/error.js +36 -29
- package/lib/icon/excel-fill.js +36 -29
- package/lib/icon/exclamation-circle-shape.js +36 -29
- package/lib/icon/eye.js +36 -29
- package/lib/icon/filliscreen-line.js +36 -29
- package/lib/icon/fix-line.js +36 -29
- package/lib/icon/fix-shape.js +36 -29
- package/lib/icon/folder-open.js +36 -29
- package/lib/icon/folder-shape-open.js +36 -29
- package/lib/icon/folder-shape.js +36 -29
- package/lib/icon/folder.js +36 -29
- package/lib/icon/funnel.js +36 -29
- package/lib/icon/grag-fill.js +36 -29
- package/lib/icon/help-document-fill.js +36 -29
- package/lib/icon/help-fill.js +36 -29
- package/lib/icon/help.js +36 -29
- package/lib/icon/image-fill.js +36 -29
- package/lib/icon/img-error.js +36 -29
- package/lib/icon/img-placehoulder.js +36 -29
- package/lib/icon/info-line.js +36 -29
- package/lib/icon/info.js +36 -29
- package/lib/icon/left-shape.js +36 -29
- package/lib/icon/left-turn-line.js +36 -29
- package/lib/icon/loading.js +36 -29
- package/lib/icon/narrow-line.js +36 -29
- package/lib/icon/original.js +36 -29
- package/lib/icon/pdf-fill.js +36 -29
- package/lib/icon/play-shape.js +36 -29
- package/lib/icon/plus.js +36 -29
- package/lib/icon/ppt-fill.js +36 -29
- package/lib/icon/qq.js +36 -29
- package/lib/icon/right-shape.js +36 -29
- package/lib/icon/right-turn-line.js +36 -29
- package/lib/icon/search.js +36 -29
- package/lib/icon/share.js +36 -29
- package/lib/icon/spinner.js +36 -29
- package/lib/icon/success.js +36 -29
- package/lib/icon/switcher-loading.js +36 -29
- package/lib/icon/text-all.js +36 -29
- package/lib/icon/text-file.js +36 -29
- package/lib/icon/text-fill.js +36 -29
- package/lib/icon/transfer.js +36 -29
- package/lib/icon/tree-application-shape.js +36 -29
- package/lib/icon/unfull-screen.js +36 -29
- package/lib/icon/unvisible.js +36 -29
- package/lib/icon/up-shape.js +36 -29
- package/lib/icon/upload.js +36 -29
- package/lib/icon/video-fill.js +36 -29
- package/lib/icon/warn.js +36 -29
- package/lib/icon/weixin-pro.js +36 -29
- package/lib/icon/weixin.js +36 -29
- package/lib/image/index.js +47 -49
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +461 -62
- package/lib/input/index.js +60 -62
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +25 -22
- package/lib/menu/index.js +34 -36
- package/lib/message/index.js +31 -34
- package/lib/modal/index.js +14 -12
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +14 -12
- package/lib/overflow-title/index.js +10 -9
- package/lib/pagination/index.js +29 -32
- package/lib/pop-confirm/index.js +5 -4
- package/lib/popover/index.js +136 -209
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +452 -59
- package/lib/progress/index.js +19 -16
- package/lib/radio/index.js +34 -37
- package/lib/rate/index.js +14 -12
- package/lib/resize-layout/index.js +20 -18
- package/lib/scrollbar/index.js +58 -51
- package/lib/search-select/index.js +595 -222
- package/lib/select/index.js +463 -111
- package/lib/shared/index.js +95 -83
- package/lib/sideslider/index.js +441 -43
- package/lib/slider/index.js +446 -49
- package/lib/steps/index.js +458 -60
- package/lib/swiper/index.js +17 -15
- package/lib/switcher/index.js +14 -12
- package/lib/tab/index.js +40 -42
- package/lib/table/index.js +501 -152
- package/lib/tag/index.js +14 -12
- package/lib/tag-input/index.js +41 -47
- package/lib/timeline/index.js +0 -1
- package/lib/transfer/index.js +17 -22
- package/lib/tree/index.js +66 -73
- package/lib/upload/index.js +487 -136
- package/lib/virtual-render/index.js +51 -47
- package/package.json +1 -2
package/lib/sideslider/index.js
CHANGED
@@ -7,10 +7,395 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon
|
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__ from "../modal";
|
8
8
|
import "../modal/modal.less";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/cloneDeep";
|
10
|
-
/******/
|
11
|
-
|
10
|
+
/******/ var __webpack_modules__ = ({
|
11
|
+
|
12
|
+
/***/ 7609:
|
13
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
14
|
+
|
15
|
+
var _typeof = (__webpack_require__(7425)["default"]);
|
16
|
+
function _regeneratorRuntime() {
|
17
|
+
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
18
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
19
|
+
return e;
|
20
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
21
|
+
var t,
|
22
|
+
e = {},
|
23
|
+
r = Object.prototype,
|
24
|
+
n = r.hasOwnProperty,
|
25
|
+
o = Object.defineProperty || function (t, e, r) {
|
26
|
+
t[e] = r.value;
|
27
|
+
},
|
28
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
29
|
+
a = i.iterator || "@@iterator",
|
30
|
+
c = i.asyncIterator || "@@asyncIterator",
|
31
|
+
u = i.toStringTag || "@@toStringTag";
|
32
|
+
function define(t, e, r) {
|
33
|
+
return Object.defineProperty(t, e, {
|
34
|
+
value: r,
|
35
|
+
enumerable: !0,
|
36
|
+
configurable: !0,
|
37
|
+
writable: !0
|
38
|
+
}), t[e];
|
39
|
+
}
|
40
|
+
try {
|
41
|
+
define({}, "");
|
42
|
+
} catch (t) {
|
43
|
+
define = function define(t, e, r) {
|
44
|
+
return t[e] = r;
|
45
|
+
};
|
46
|
+
}
|
47
|
+
function wrap(t, e, r, n) {
|
48
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
49
|
+
a = Object.create(i.prototype),
|
50
|
+
c = new Context(n || []);
|
51
|
+
return o(a, "_invoke", {
|
52
|
+
value: makeInvokeMethod(t, r, c)
|
53
|
+
}), a;
|
54
|
+
}
|
55
|
+
function tryCatch(t, e, r) {
|
56
|
+
try {
|
57
|
+
return {
|
58
|
+
type: "normal",
|
59
|
+
arg: t.call(e, r)
|
60
|
+
};
|
61
|
+
} catch (t) {
|
62
|
+
return {
|
63
|
+
type: "throw",
|
64
|
+
arg: t
|
65
|
+
};
|
66
|
+
}
|
67
|
+
}
|
68
|
+
e.wrap = wrap;
|
69
|
+
var h = "suspendedStart",
|
70
|
+
l = "suspendedYield",
|
71
|
+
f = "executing",
|
72
|
+
s = "completed",
|
73
|
+
y = {};
|
74
|
+
function Generator() {}
|
75
|
+
function GeneratorFunction() {}
|
76
|
+
function GeneratorFunctionPrototype() {}
|
77
|
+
var p = {};
|
78
|
+
define(p, a, function () {
|
79
|
+
return this;
|
80
|
+
});
|
81
|
+
var d = Object.getPrototypeOf,
|
82
|
+
v = d && d(d(values([])));
|
83
|
+
v && v !== r && n.call(v, a) && (p = v);
|
84
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
85
|
+
function defineIteratorMethods(t) {
|
86
|
+
["next", "throw", "return"].forEach(function (e) {
|
87
|
+
define(t, e, function (t) {
|
88
|
+
return this._invoke(e, t);
|
89
|
+
});
|
90
|
+
});
|
91
|
+
}
|
92
|
+
function AsyncIterator(t, e) {
|
93
|
+
function invoke(r, o, i, a) {
|
94
|
+
var c = tryCatch(t[r], t, o);
|
95
|
+
if ("throw" !== c.type) {
|
96
|
+
var u = c.arg,
|
97
|
+
h = u.value;
|
98
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
99
|
+
invoke("next", t, i, a);
|
100
|
+
}, function (t) {
|
101
|
+
invoke("throw", t, i, a);
|
102
|
+
}) : e.resolve(h).then(function (t) {
|
103
|
+
u.value = t, i(u);
|
104
|
+
}, function (t) {
|
105
|
+
return invoke("throw", t, i, a);
|
106
|
+
});
|
107
|
+
}
|
108
|
+
a(c.arg);
|
109
|
+
}
|
110
|
+
var r;
|
111
|
+
o(this, "_invoke", {
|
112
|
+
value: function value(t, n) {
|
113
|
+
function callInvokeWithMethodAndArg() {
|
114
|
+
return new e(function (e, r) {
|
115
|
+
invoke(t, n, e, r);
|
116
|
+
});
|
117
|
+
}
|
118
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
119
|
+
}
|
120
|
+
});
|
121
|
+
}
|
122
|
+
function makeInvokeMethod(e, r, n) {
|
123
|
+
var o = h;
|
124
|
+
return function (i, a) {
|
125
|
+
if (o === f) throw new Error("Generator is already running");
|
126
|
+
if (o === s) {
|
127
|
+
if ("throw" === i) throw a;
|
128
|
+
return {
|
129
|
+
value: t,
|
130
|
+
done: !0
|
131
|
+
};
|
132
|
+
}
|
133
|
+
for (n.method = i, n.arg = a;;) {
|
134
|
+
var c = n.delegate;
|
135
|
+
if (c) {
|
136
|
+
var u = maybeInvokeDelegate(c, n);
|
137
|
+
if (u) {
|
138
|
+
if (u === y) continue;
|
139
|
+
return u;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
143
|
+
if (o === h) throw o = s, n.arg;
|
144
|
+
n.dispatchException(n.arg);
|
145
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
146
|
+
o = f;
|
147
|
+
var p = tryCatch(e, r, n);
|
148
|
+
if ("normal" === p.type) {
|
149
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
150
|
+
return {
|
151
|
+
value: p.arg,
|
152
|
+
done: n.done
|
153
|
+
};
|
154
|
+
}
|
155
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
156
|
+
}
|
157
|
+
};
|
158
|
+
}
|
159
|
+
function maybeInvokeDelegate(e, r) {
|
160
|
+
var n = r.method,
|
161
|
+
o = e.iterator[n];
|
162
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
163
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
164
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
165
|
+
var a = i.arg;
|
166
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
167
|
+
}
|
168
|
+
function pushTryEntry(t) {
|
169
|
+
var e = {
|
170
|
+
tryLoc: t[0]
|
171
|
+
};
|
172
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
173
|
+
}
|
174
|
+
function resetTryEntry(t) {
|
175
|
+
var e = t.completion || {};
|
176
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
177
|
+
}
|
178
|
+
function Context(t) {
|
179
|
+
this.tryEntries = [{
|
180
|
+
tryLoc: "root"
|
181
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
182
|
+
}
|
183
|
+
function values(e) {
|
184
|
+
if (e || "" === e) {
|
185
|
+
var r = e[a];
|
186
|
+
if (r) return r.call(e);
|
187
|
+
if ("function" == typeof e.next) return e;
|
188
|
+
if (!isNaN(e.length)) {
|
189
|
+
var o = -1,
|
190
|
+
i = function next() {
|
191
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
192
|
+
return next.value = t, next.done = !0, next;
|
193
|
+
};
|
194
|
+
return i.next = i;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
198
|
+
}
|
199
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
200
|
+
value: GeneratorFunctionPrototype,
|
201
|
+
configurable: !0
|
202
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
203
|
+
value: GeneratorFunction,
|
204
|
+
configurable: !0
|
205
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
206
|
+
var e = "function" == typeof t && t.constructor;
|
207
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
208
|
+
}, e.mark = function (t) {
|
209
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
210
|
+
}, e.awrap = function (t) {
|
211
|
+
return {
|
212
|
+
__await: t
|
213
|
+
};
|
214
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
215
|
+
return this;
|
216
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
217
|
+
void 0 === i && (i = Promise);
|
218
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
219
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
220
|
+
return t.done ? t.value : a.next();
|
221
|
+
});
|
222
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
223
|
+
return this;
|
224
|
+
}), define(g, "toString", function () {
|
225
|
+
return "[object Generator]";
|
226
|
+
}), e.keys = function (t) {
|
227
|
+
var e = Object(t),
|
228
|
+
r = [];
|
229
|
+
for (var n in e) r.push(n);
|
230
|
+
return r.reverse(), function next() {
|
231
|
+
for (; r.length;) {
|
232
|
+
var t = r.pop();
|
233
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
234
|
+
}
|
235
|
+
return next.done = !0, next;
|
236
|
+
};
|
237
|
+
}, e.values = values, Context.prototype = {
|
238
|
+
constructor: Context,
|
239
|
+
reset: function reset(e) {
|
240
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
241
|
+
},
|
242
|
+
stop: function stop() {
|
243
|
+
this.done = !0;
|
244
|
+
var t = this.tryEntries[0].completion;
|
245
|
+
if ("throw" === t.type) throw t.arg;
|
246
|
+
return this.rval;
|
247
|
+
},
|
248
|
+
dispatchException: function dispatchException(e) {
|
249
|
+
if (this.done) throw e;
|
250
|
+
var r = this;
|
251
|
+
function handle(n, o) {
|
252
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
253
|
+
}
|
254
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
255
|
+
var i = this.tryEntries[o],
|
256
|
+
a = i.completion;
|
257
|
+
if ("root" === i.tryLoc) return handle("end");
|
258
|
+
if (i.tryLoc <= this.prev) {
|
259
|
+
var c = n.call(i, "catchLoc"),
|
260
|
+
u = n.call(i, "finallyLoc");
|
261
|
+
if (c && u) {
|
262
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
263
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
264
|
+
} else if (c) {
|
265
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
266
|
+
} else {
|
267
|
+
if (!u) throw new Error("try statement without catch or finally");
|
268
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
},
|
273
|
+
abrupt: function abrupt(t, e) {
|
274
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
275
|
+
var o = this.tryEntries[r];
|
276
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
277
|
+
var i = o;
|
278
|
+
break;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
282
|
+
var a = i ? i.completion : {};
|
283
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
284
|
+
},
|
285
|
+
complete: function complete(t, e) {
|
286
|
+
if ("throw" === t.type) throw t.arg;
|
287
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
288
|
+
},
|
289
|
+
finish: function finish(t) {
|
290
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
291
|
+
var r = this.tryEntries[e];
|
292
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"catch": function _catch(t) {
|
296
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
297
|
+
var r = this.tryEntries[e];
|
298
|
+
if (r.tryLoc === t) {
|
299
|
+
var n = r.completion;
|
300
|
+
if ("throw" === n.type) {
|
301
|
+
var o = n.arg;
|
302
|
+
resetTryEntry(r);
|
303
|
+
}
|
304
|
+
return o;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
throw new Error("illegal catch attempt");
|
308
|
+
},
|
309
|
+
delegateYield: function delegateYield(e, r, n) {
|
310
|
+
return this.delegate = {
|
311
|
+
iterator: values(e),
|
312
|
+
resultName: r,
|
313
|
+
nextLoc: n
|
314
|
+
}, "next" === this.method && (this.arg = t), y;
|
315
|
+
}
|
316
|
+
}, e;
|
317
|
+
}
|
318
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
319
|
+
|
320
|
+
/***/ }),
|
321
|
+
|
322
|
+
/***/ 7425:
|
323
|
+
/***/ ((module) => {
|
324
|
+
|
325
|
+
function _typeof(o) {
|
326
|
+
"@babel/helpers - typeof";
|
327
|
+
|
328
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
329
|
+
return typeof o;
|
330
|
+
} : function (o) {
|
331
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
332
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
333
|
+
}
|
334
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
335
|
+
|
336
|
+
/***/ }),
|
337
|
+
|
338
|
+
/***/ 2841:
|
339
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
340
|
+
|
341
|
+
// TODO(Babel 8): Remove this file.
|
342
|
+
|
343
|
+
var runtime = __webpack_require__(7609)();
|
344
|
+
module.exports = runtime;
|
345
|
+
|
346
|
+
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
347
|
+
try {
|
348
|
+
regeneratorRuntime = runtime;
|
349
|
+
} catch (accidentalStrictMode) {
|
350
|
+
if (typeof globalThis === "object") {
|
351
|
+
globalThis.regeneratorRuntime = runtime;
|
352
|
+
} else {
|
353
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
354
|
+
}
|
355
|
+
}
|
356
|
+
|
357
|
+
|
358
|
+
/***/ })
|
359
|
+
|
360
|
+
/******/ });
|
361
|
+
/************************************************************************/
|
362
|
+
/******/ // The module cache
|
363
|
+
/******/ var __webpack_module_cache__ = {};
|
364
|
+
/******/
|
365
|
+
/******/ // The require function
|
366
|
+
/******/ function __webpack_require__(moduleId) {
|
367
|
+
/******/ // Check if module is in cache
|
368
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
369
|
+
/******/ if (cachedModule !== undefined) {
|
370
|
+
/******/ return cachedModule.exports;
|
371
|
+
/******/ }
|
372
|
+
/******/ // Create a new module (and put it into the cache)
|
373
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
374
|
+
/******/ // no module.id needed
|
375
|
+
/******/ // no module.loaded needed
|
376
|
+
/******/ exports: {}
|
377
|
+
/******/ };
|
378
|
+
/******/
|
379
|
+
/******/ // Execute the module function
|
380
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
381
|
+
/******/
|
382
|
+
/******/ // Return the exports of the module
|
383
|
+
/******/ return module.exports;
|
384
|
+
/******/ }
|
12
385
|
/******/
|
13
386
|
/************************************************************************/
|
387
|
+
/******/ /* webpack/runtime/compat get default export */
|
388
|
+
/******/ (() => {
|
389
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
390
|
+
/******/ __webpack_require__.n = (module) => {
|
391
|
+
/******/ var getter = module && module.__esModule ?
|
392
|
+
/******/ () => (module['default']) :
|
393
|
+
/******/ () => (module);
|
394
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
395
|
+
/******/ return getter;
|
396
|
+
/******/ };
|
397
|
+
/******/ })();
|
398
|
+
/******/
|
14
399
|
/******/ /* webpack/runtime/define property getters */
|
15
400
|
/******/ (() => {
|
16
401
|
/******/ // define getter functions for harmony exports
|
@@ -30,6 +415,8 @@ import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/c
|
|
30
415
|
/******/
|
31
416
|
/************************************************************************/
|
32
417
|
var __webpack_exports__ = {};
|
418
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
419
|
+
(() => {
|
33
420
|
|
34
421
|
// EXPORTS
|
35
422
|
__webpack_require__.d(__webpack_exports__, {
|
@@ -41,32 +428,36 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
41
428
|
var y = x => () => x
|
42
429
|
const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
43
430
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
44
|
-
function asyncGeneratorStep(
|
431
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
45
432
|
try {
|
46
|
-
var
|
47
|
-
|
48
|
-
} catch (
|
49
|
-
|
433
|
+
var info = gen[key](arg);
|
434
|
+
var value = info.value;
|
435
|
+
} catch (error) {
|
436
|
+
reject(error);
|
437
|
+
return;
|
438
|
+
}
|
439
|
+
if (info.done) {
|
440
|
+
resolve(value);
|
441
|
+
} else {
|
442
|
+
Promise.resolve(value).then(_next, _throw);
|
50
443
|
}
|
51
|
-
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
52
444
|
}
|
53
|
-
function _asyncToGenerator(
|
445
|
+
function _asyncToGenerator(fn) {
|
54
446
|
return function () {
|
55
|
-
var
|
56
|
-
|
57
|
-
return new Promise(function (
|
58
|
-
var
|
59
|
-
function _next(
|
60
|
-
asyncGeneratorStep(
|
447
|
+
var self = this,
|
448
|
+
args = arguments;
|
449
|
+
return new Promise(function (resolve, reject) {
|
450
|
+
var gen = fn.apply(self, args);
|
451
|
+
function _next(value) {
|
452
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
61
453
|
}
|
62
|
-
function _throw(
|
63
|
-
asyncGeneratorStep(
|
454
|
+
function _throw(err) {
|
455
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
64
456
|
}
|
65
|
-
_next(
|
457
|
+
_next(undefined);
|
66
458
|
});
|
67
459
|
};
|
68
460
|
}
|
69
|
-
|
70
461
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
71
462
|
function _typeof(o) {
|
72
463
|
"@babel/helpers - typeof";
|
@@ -77,7 +468,6 @@ function _typeof(o) {
|
|
77
468
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
78
469
|
}, _typeof(o);
|
79
470
|
}
|
80
|
-
|
81
471
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
82
472
|
|
83
473
|
function toPrimitive(t, r) {
|
@@ -90,30 +480,36 @@ function toPrimitive(t, r) {
|
|
90
480
|
}
|
91
481
|
return ("string" === r ? String : Number)(t);
|
92
482
|
}
|
93
|
-
|
94
483
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
95
484
|
|
96
485
|
|
97
486
|
function toPropertyKey(t) {
|
98
487
|
var i = toPrimitive(t, "string");
|
99
|
-
return "symbol" == _typeof(i) ? i : i
|
488
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
100
489
|
}
|
101
|
-
|
102
490
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
103
491
|
|
104
|
-
function _defineProperty(
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
492
|
+
function _defineProperty(obj, key, value) {
|
493
|
+
key = toPropertyKey(key);
|
494
|
+
if (key in obj) {
|
495
|
+
Object.defineProperty(obj, key, {
|
496
|
+
value: value,
|
497
|
+
enumerable: true,
|
498
|
+
configurable: true,
|
499
|
+
writable: true
|
500
|
+
});
|
501
|
+
} else {
|
502
|
+
obj[key] = value;
|
503
|
+
}
|
504
|
+
return obj;
|
111
505
|
}
|
112
|
-
|
113
506
|
;// CONCATENATED MODULE: external "vue"
|
114
507
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
115
508
|
var external_vue_y = x => () => x
|
116
509
|
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["useAttrs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.useAttrs, ["useSlots"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.useSlots });
|
510
|
+
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
511
|
+
var regenerator = __webpack_require__(2841);
|
512
|
+
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
117
513
|
;// CONCATENATED MODULE: external "../config-provider"
|
118
514
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
119
515
|
var config_provider_y = x => () => x
|
@@ -138,8 +534,7 @@ const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXT
|
|
138
534
|
|
139
535
|
|
140
536
|
|
141
|
-
|
142
|
-
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { if (r) i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n;else { var o = function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); }; o("next", 0), o("throw", 1), o("return", 2); } }, _regeneratorDefine2(e, r, n, t); }
|
537
|
+
|
143
538
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
144
539
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
145
540
|
/*
|
@@ -207,28 +602,29 @@ sliderProps.width["default"] = '400';
|
|
207
602
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
208
603
|
resolveClassName = _usePrefix.resolveClassName;
|
209
604
|
var handleClose = /*#__PURE__*/function () {
|
210
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/
|
605
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
211
606
|
var shouldClose;
|
212
|
-
return
|
213
|
-
while (1) switch (_context.
|
607
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
608
|
+
while (1) switch (_context.prev = _context.next) {
|
214
609
|
case 0:
|
215
610
|
shouldClose = true;
|
216
611
|
if (!(typeof props.beforeClose === 'function')) {
|
217
|
-
_context.
|
612
|
+
_context.next = 5;
|
218
613
|
break;
|
219
614
|
}
|
220
|
-
_context.
|
615
|
+
_context.next = 4;
|
221
616
|
return props.beforeClose();
|
222
|
-
case
|
223
|
-
shouldClose = _context.
|
224
|
-
case
|
617
|
+
case 4:
|
618
|
+
shouldClose = _context.sent;
|
619
|
+
case 5:
|
225
620
|
if (shouldClose) {
|
226
621
|
emit('update:isShow', false);
|
227
622
|
emit('closed');
|
228
623
|
emit('animation-end');
|
229
624
|
}
|
230
|
-
case
|
231
|
-
|
625
|
+
case 6:
|
626
|
+
case "end":
|
627
|
+
return _context.stop();
|
232
628
|
}
|
233
629
|
}, _callee);
|
234
630
|
}));
|
@@ -332,5 +728,7 @@ sliderProps.width["default"] = '400';
|
|
332
728
|
|
333
729
|
var BkSideslider = (0,shared_namespaceObject.withInstall)(sideslider);
|
334
730
|
/* harmony default export */ const src = (BkSideslider);
|
731
|
+
})();
|
732
|
+
|
335
733
|
var __webpack_exports__default = __webpack_exports__["default"];
|
336
734
|
export { __webpack_exports__default as default };
|