bkui-vue 2.0.2-beta.45 → 2.0.2-beta.47

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.
Files changed (157) hide show
  1. package/dist/index.cjs.js +47 -42
  2. package/dist/index.esm.js +7204 -7010
  3. package/dist/index.umd.js +50 -45
  4. package/lib/affix/index.js +12 -14
  5. package/lib/alert/index.js +12 -14
  6. package/lib/animate-number/index.js +11 -12
  7. package/lib/backtop/index.js +10 -11
  8. package/lib/badge/index.js +12 -14
  9. package/lib/breadcrumb/index.js +12 -14
  10. package/lib/button/index.js +12 -14
  11. package/lib/card/index.js +12 -14
  12. package/lib/cascader/index.js +94 -101
  13. package/lib/checkbox/index.js +37 -35
  14. package/lib/code-diff/index.js +1171 -675
  15. package/lib/collapse/index.js +44 -42
  16. package/lib/collapse-transition/index.js +3 -4
  17. package/lib/color-picker/index.js +59 -60
  18. package/lib/config-provider/index.js +12 -14
  19. package/lib/container/index.js +21 -25
  20. package/lib/date-picker/index.js +58 -51
  21. package/lib/dialog/index.js +53 -474
  22. package/lib/directives/index.js +37 -34
  23. package/lib/divider/index.js +2 -3
  24. package/lib/dropdown/index.js +17 -21
  25. package/lib/exception/index.js +14 -17
  26. package/lib/fixed-navbar/index.js +2 -3
  27. package/lib/form/index.js +37 -34
  28. package/lib/icon/angle-double-down-line.js +29 -36
  29. package/lib/icon/angle-double-left-line.js +29 -36
  30. package/lib/icon/angle-double-left.js +29 -36
  31. package/lib/icon/angle-double-right-line.js +29 -36
  32. package/lib/icon/angle-double-right.js +29 -36
  33. package/lib/icon/angle-double-up-line.js +29 -36
  34. package/lib/icon/angle-down-fill.js +29 -36
  35. package/lib/icon/angle-down-line.js +29 -36
  36. package/lib/icon/angle-down.js +29 -36
  37. package/lib/icon/angle-left.js +29 -36
  38. package/lib/icon/angle-right.js +29 -36
  39. package/lib/icon/angle-up-fill.js +29 -36
  40. package/lib/icon/angle-up.js +29 -36
  41. package/lib/icon/archive-fill.js +29 -36
  42. package/lib/icon/arrows-left.js +29 -36
  43. package/lib/icon/arrows-right.js +29 -36
  44. package/lib/icon/assistant.js +29 -36
  45. package/lib/icon/audio-fill.js +29 -36
  46. package/lib/icon/bk.js +29 -36
  47. package/lib/icon/circle.js +29 -36
  48. package/lib/icon/close-line.js +29 -36
  49. package/lib/icon/close.js +29 -36
  50. package/lib/icon/code.js +29 -36
  51. package/lib/icon/cog-shape.js +29 -36
  52. package/lib/icon/collapse-left.js +29 -36
  53. package/lib/icon/copy-shape.js +29 -36
  54. package/lib/icon/copy.js +29 -36
  55. package/lib/icon/data-shape.js +29 -36
  56. package/lib/icon/del.js +29 -36
  57. package/lib/icon/doc-fill.js +29 -36
  58. package/lib/icon/done.js +29 -36
  59. package/lib/icon/down-shape.js +29 -36
  60. package/lib/icon/down-small.js +29 -36
  61. package/lib/icon/edit-line.js +29 -36
  62. package/lib/icon/ellipsis.js +29 -36
  63. package/lib/icon/enlarge-line.js +29 -36
  64. package/lib/icon/error.js +29 -36
  65. package/lib/icon/excel-fill.js +29 -36
  66. package/lib/icon/exclamation-circle-shape.js +29 -36
  67. package/lib/icon/eye.js +29 -36
  68. package/lib/icon/filliscreen-line.js +29 -36
  69. package/lib/icon/fix-line.js +29 -36
  70. package/lib/icon/fix-shape.js +29 -36
  71. package/lib/icon/folder-open.js +29 -36
  72. package/lib/icon/folder-shape-open.js +29 -36
  73. package/lib/icon/folder-shape.js +29 -36
  74. package/lib/icon/folder.js +29 -36
  75. package/lib/icon/funnel.js +29 -36
  76. package/lib/icon/grag-fill.js +29 -36
  77. package/lib/icon/help-document-fill.js +29 -36
  78. package/lib/icon/help-fill.js +29 -36
  79. package/lib/icon/help.js +29 -36
  80. package/lib/icon/image-fill.js +29 -36
  81. package/lib/icon/img-error.js +29 -36
  82. package/lib/icon/img-placehoulder.js +29 -36
  83. package/lib/icon/info-line.js +29 -36
  84. package/lib/icon/info.js +29 -36
  85. package/lib/icon/left-shape.js +29 -36
  86. package/lib/icon/left-turn-line.js +29 -36
  87. package/lib/icon/loading.js +29 -36
  88. package/lib/icon/narrow-line.js +29 -36
  89. package/lib/icon/original.js +29 -36
  90. package/lib/icon/pdf-fill.js +29 -36
  91. package/lib/icon/play-shape.js +29 -36
  92. package/lib/icon/plus.js +29 -36
  93. package/lib/icon/ppt-fill.js +29 -36
  94. package/lib/icon/qq.js +29 -36
  95. package/lib/icon/right-shape.js +29 -36
  96. package/lib/icon/right-turn-line.js +29 -36
  97. package/lib/icon/search.js +29 -36
  98. package/lib/icon/share.js +29 -36
  99. package/lib/icon/spinner.js +29 -36
  100. package/lib/icon/success.js +29 -36
  101. package/lib/icon/switcher-loading.js +29 -36
  102. package/lib/icon/text-all.js +29 -36
  103. package/lib/icon/text-file.js +29 -36
  104. package/lib/icon/text-fill.js +29 -36
  105. package/lib/icon/transfer.js +29 -36
  106. package/lib/icon/tree-application-shape.js +29 -36
  107. package/lib/icon/unfull-screen.js +29 -36
  108. package/lib/icon/unvisible.js +29 -36
  109. package/lib/icon/up-shape.js +29 -36
  110. package/lib/icon/upload.js +29 -36
  111. package/lib/icon/video-fill.js +29 -36
  112. package/lib/icon/warn.js +29 -36
  113. package/lib/icon/weixin-pro.js +29 -36
  114. package/lib/icon/weixin.js +29 -36
  115. package/lib/image/index.js +49 -47
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +62 -461
  118. package/lib/input/index.js +62 -60
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +22 -25
  121. package/lib/menu/index.js +36 -34
  122. package/lib/message/index.js +34 -31
  123. package/lib/modal/index.js +12 -14
  124. package/lib/navigation/index.js +7 -9
  125. package/lib/notify/index.js +12 -14
  126. package/lib/overflow-title/index.js +9 -10
  127. package/lib/pagination/index.js +32 -29
  128. package/lib/pop-confirm/index.js +4 -5
  129. package/lib/popover/index.js +209 -136
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +59 -452
  132. package/lib/progress/index.js +16 -19
  133. package/lib/radio/index.js +37 -34
  134. package/lib/rate/index.js +12 -14
  135. package/lib/resize-layout/index.js +18 -20
  136. package/lib/scrollbar/index.js +51 -58
  137. package/lib/search-select/index.js +222 -595
  138. package/lib/select/index.js +111 -463
  139. package/lib/shared/index.js +83 -95
  140. package/lib/sideslider/index.js +43 -441
  141. package/lib/slider/index.js +49 -446
  142. package/lib/steps/index.js +60 -458
  143. package/lib/swiper/index.js +15 -17
  144. package/lib/switcher/index.js +12 -14
  145. package/lib/tab/index.d.ts +12 -0
  146. package/lib/tab/index.js +53 -45
  147. package/lib/tab/props.d.ts +3 -0
  148. package/lib/tab/tab.d.ts +6 -0
  149. package/lib/table/index.js +152 -501
  150. package/lib/tag/index.js +12 -14
  151. package/lib/tag-input/index.js +47 -41
  152. package/lib/timeline/index.js +1 -0
  153. package/lib/transfer/index.js +22 -17
  154. package/lib/tree/index.js +73 -66
  155. package/lib/upload/index.js +136 -487
  156. package/lib/virtual-render/index.js +47 -51
  157. package/package.json +1 -1
@@ -7,395 +7,10 @@ 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
- /******/ 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
- /******/ }
10
+ /******/ // The require scope
11
+ /******/ var __webpack_require__ = {};
385
12
  /******/
386
13
  /************************************************************************/
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
- /******/
399
14
  /******/ /* webpack/runtime/define property getters */
400
15
  /******/ (() => {
401
16
  /******/ // define getter functions for harmony exports
@@ -415,8 +30,6 @@ try {
415
30
  /******/
416
31
  /************************************************************************/
417
32
  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
- (() => {
420
33
 
421
34
  // EXPORTS
422
35
  __webpack_require__.d(__webpack_exports__, {
@@ -428,36 +41,32 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
428
41
  var y = x => () => x
429
42
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
430
43
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
431
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
44
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
432
45
  try {
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);
46
+ var i = n[a](c),
47
+ u = i.value;
48
+ } catch (n) {
49
+ return void e(n);
443
50
  }
51
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
444
52
  }
445
- function _asyncToGenerator(fn) {
53
+ function _asyncToGenerator(n) {
446
54
  return function () {
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);
55
+ var t = this,
56
+ e = arguments;
57
+ return new Promise(function (r, o) {
58
+ var a = n.apply(t, e);
59
+ function _next(n) {
60
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
453
61
  }
454
- function _throw(err) {
455
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
62
+ function _throw(n) {
63
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
456
64
  }
457
- _next(undefined);
65
+ _next(void 0);
458
66
  });
459
67
  };
460
68
  }
69
+
461
70
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
462
71
  function _typeof(o) {
463
72
  "@babel/helpers - typeof";
@@ -468,6 +77,7 @@ function _typeof(o) {
468
77
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
469
78
  }, _typeof(o);
470
79
  }
80
+
471
81
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
472
82
 
473
83
  function toPrimitive(t, r) {
@@ -480,36 +90,30 @@ function toPrimitive(t, r) {
480
90
  }
481
91
  return ("string" === r ? String : Number)(t);
482
92
  }
93
+
483
94
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
484
95
 
485
96
 
486
97
  function toPropertyKey(t) {
487
98
  var i = toPrimitive(t, "string");
488
- return "symbol" == _typeof(i) ? i : String(i);
99
+ return "symbol" == _typeof(i) ? i : i + "";
489
100
  }
101
+
490
102
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
491
103
 
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;
104
+ function _defineProperty(e, r, t) {
105
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
106
+ value: t,
107
+ enumerable: !0,
108
+ configurable: !0,
109
+ writable: !0
110
+ }) : e[r] = t, e;
505
111
  }
112
+
506
113
  ;// CONCATENATED MODULE: external "vue"
507
114
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
508
115
  var external_vue_y = x => () => x
509
116
  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);
513
117
  ;// CONCATENATED MODULE: external "../config-provider"
514
118
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
515
119
  var config_provider_y = x => () => x
@@ -534,7 +138,8 @@ const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXT
534
138
 
535
139
 
536
140
 
537
-
141
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
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); }
538
143
  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; }
539
144
  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; }
540
145
  /*
@@ -602,29 +207,28 @@ sliderProps.width["default"] = '400';
602
207
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
603
208
  resolveClassName = _usePrefix.resolveClassName;
604
209
  var handleClose = /*#__PURE__*/function () {
605
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
210
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
606
211
  var shouldClose;
607
- return regenerator_default().wrap(function _callee$(_context) {
608
- while (1) switch (_context.prev = _context.next) {
212
+ return _regenerator().w(function (_context) {
213
+ while (1) switch (_context.n) {
609
214
  case 0:
610
215
  shouldClose = true;
611
216
  if (!(typeof props.beforeClose === 'function')) {
612
- _context.next = 5;
217
+ _context.n = 2;
613
218
  break;
614
219
  }
615
- _context.next = 4;
220
+ _context.n = 1;
616
221
  return props.beforeClose();
617
- case 4:
618
- shouldClose = _context.sent;
619
- case 5:
222
+ case 1:
223
+ shouldClose = _context.v;
224
+ case 2:
620
225
  if (shouldClose) {
621
226
  emit('update:isShow', false);
622
227
  emit('closed');
623
228
  emit('animation-end');
624
229
  }
625
- case 6:
626
- case "end":
627
- return _context.stop();
230
+ case 3:
231
+ return _context.a(2);
628
232
  }
629
233
  }, _callee);
630
234
  }));
@@ -728,7 +332,5 @@ sliderProps.width["default"] = '400';
728
332
 
729
333
  var BkSideslider = (0,shared_namespaceObject.withInstall)(sideslider);
730
334
  /* harmony default export */ const src = (BkSideslider);
731
- })();
732
-
733
335
  var __webpack_exports__default = __webpack_exports__["default"];
734
336
  export { __webpack_exports__default as default };