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

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 (154) hide show
  1. package/dist/index.cjs.js +47 -42
  2. package/dist/index.esm.js +7198 -7008
  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.js +42 -40
  146. package/lib/table/index.js +152 -501
  147. package/lib/tag/index.js +12 -14
  148. package/lib/tag-input/index.js +47 -41
  149. package/lib/timeline/index.js +1 -0
  150. package/lib/transfer/index.js +22 -17
  151. package/lib/tree/index.js +73 -66
  152. package/lib/upload/index.js +136 -487
  153. package/lib/virtual-render/index.js +47 -51
  154. package/package.json +1 -1
@@ -5,395 +5,10 @@ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
6
6
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
7
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
8
- /******/ var __webpack_modules__ = ({
9
-
10
- /***/ 7609:
11
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
12
-
13
- var _typeof = (__webpack_require__(7425)["default"]);
14
- function _regeneratorRuntime() {
15
- "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
16
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
17
- return e;
18
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
19
- var t,
20
- e = {},
21
- r = Object.prototype,
22
- n = r.hasOwnProperty,
23
- o = Object.defineProperty || function (t, e, r) {
24
- t[e] = r.value;
25
- },
26
- i = "function" == typeof Symbol ? Symbol : {},
27
- a = i.iterator || "@@iterator",
28
- c = i.asyncIterator || "@@asyncIterator",
29
- u = i.toStringTag || "@@toStringTag";
30
- function define(t, e, r) {
31
- return Object.defineProperty(t, e, {
32
- value: r,
33
- enumerable: !0,
34
- configurable: !0,
35
- writable: !0
36
- }), t[e];
37
- }
38
- try {
39
- define({}, "");
40
- } catch (t) {
41
- define = function define(t, e, r) {
42
- return t[e] = r;
43
- };
44
- }
45
- function wrap(t, e, r, n) {
46
- var i = e && e.prototype instanceof Generator ? e : Generator,
47
- a = Object.create(i.prototype),
48
- c = new Context(n || []);
49
- return o(a, "_invoke", {
50
- value: makeInvokeMethod(t, r, c)
51
- }), a;
52
- }
53
- function tryCatch(t, e, r) {
54
- try {
55
- return {
56
- type: "normal",
57
- arg: t.call(e, r)
58
- };
59
- } catch (t) {
60
- return {
61
- type: "throw",
62
- arg: t
63
- };
64
- }
65
- }
66
- e.wrap = wrap;
67
- var h = "suspendedStart",
68
- l = "suspendedYield",
69
- f = "executing",
70
- s = "completed",
71
- y = {};
72
- function Generator() {}
73
- function GeneratorFunction() {}
74
- function GeneratorFunctionPrototype() {}
75
- var p = {};
76
- define(p, a, function () {
77
- return this;
78
- });
79
- var d = Object.getPrototypeOf,
80
- v = d && d(d(values([])));
81
- v && v !== r && n.call(v, a) && (p = v);
82
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
83
- function defineIteratorMethods(t) {
84
- ["next", "throw", "return"].forEach(function (e) {
85
- define(t, e, function (t) {
86
- return this._invoke(e, t);
87
- });
88
- });
89
- }
90
- function AsyncIterator(t, e) {
91
- function invoke(r, o, i, a) {
92
- var c = tryCatch(t[r], t, o);
93
- if ("throw" !== c.type) {
94
- var u = c.arg,
95
- h = u.value;
96
- return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
97
- invoke("next", t, i, a);
98
- }, function (t) {
99
- invoke("throw", t, i, a);
100
- }) : e.resolve(h).then(function (t) {
101
- u.value = t, i(u);
102
- }, function (t) {
103
- return invoke("throw", t, i, a);
104
- });
105
- }
106
- a(c.arg);
107
- }
108
- var r;
109
- o(this, "_invoke", {
110
- value: function value(t, n) {
111
- function callInvokeWithMethodAndArg() {
112
- return new e(function (e, r) {
113
- invoke(t, n, e, r);
114
- });
115
- }
116
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
117
- }
118
- });
119
- }
120
- function makeInvokeMethod(e, r, n) {
121
- var o = h;
122
- return function (i, a) {
123
- if (o === f) throw new Error("Generator is already running");
124
- if (o === s) {
125
- if ("throw" === i) throw a;
126
- return {
127
- value: t,
128
- done: !0
129
- };
130
- }
131
- for (n.method = i, n.arg = a;;) {
132
- var c = n.delegate;
133
- if (c) {
134
- var u = maybeInvokeDelegate(c, n);
135
- if (u) {
136
- if (u === y) continue;
137
- return u;
138
- }
139
- }
140
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
141
- if (o === h) throw o = s, n.arg;
142
- n.dispatchException(n.arg);
143
- } else "return" === n.method && n.abrupt("return", n.arg);
144
- o = f;
145
- var p = tryCatch(e, r, n);
146
- if ("normal" === p.type) {
147
- if (o = n.done ? s : l, p.arg === y) continue;
148
- return {
149
- value: p.arg,
150
- done: n.done
151
- };
152
- }
153
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
154
- }
155
- };
156
- }
157
- function maybeInvokeDelegate(e, r) {
158
- var n = r.method,
159
- o = e.iterator[n];
160
- 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;
161
- var i = tryCatch(o, e.iterator, r.arg);
162
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
163
- var a = i.arg;
164
- 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);
165
- }
166
- function pushTryEntry(t) {
167
- var e = {
168
- tryLoc: t[0]
169
- };
170
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
171
- }
172
- function resetTryEntry(t) {
173
- var e = t.completion || {};
174
- e.type = "normal", delete e.arg, t.completion = e;
175
- }
176
- function Context(t) {
177
- this.tryEntries = [{
178
- tryLoc: "root"
179
- }], t.forEach(pushTryEntry, this), this.reset(!0);
180
- }
181
- function values(e) {
182
- if (e || "" === e) {
183
- var r = e[a];
184
- if (r) return r.call(e);
185
- if ("function" == typeof e.next) return e;
186
- if (!isNaN(e.length)) {
187
- var o = -1,
188
- i = function next() {
189
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
190
- return next.value = t, next.done = !0, next;
191
- };
192
- return i.next = i;
193
- }
194
- }
195
- throw new TypeError(_typeof(e) + " is not iterable");
196
- }
197
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
198
- value: GeneratorFunctionPrototype,
199
- configurable: !0
200
- }), o(GeneratorFunctionPrototype, "constructor", {
201
- value: GeneratorFunction,
202
- configurable: !0
203
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
204
- var e = "function" == typeof t && t.constructor;
205
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
206
- }, e.mark = function (t) {
207
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
208
- }, e.awrap = function (t) {
209
- return {
210
- __await: t
211
- };
212
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
213
- return this;
214
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
215
- void 0 === i && (i = Promise);
216
- var a = new AsyncIterator(wrap(t, r, n, o), i);
217
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
218
- return t.done ? t.value : a.next();
219
- });
220
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
221
- return this;
222
- }), define(g, "toString", function () {
223
- return "[object Generator]";
224
- }), e.keys = function (t) {
225
- var e = Object(t),
226
- r = [];
227
- for (var n in e) r.push(n);
228
- return r.reverse(), function next() {
229
- for (; r.length;) {
230
- var t = r.pop();
231
- if (t in e) return next.value = t, next.done = !1, next;
232
- }
233
- return next.done = !0, next;
234
- };
235
- }, e.values = values, Context.prototype = {
236
- constructor: Context,
237
- reset: function reset(e) {
238
- 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);
239
- },
240
- stop: function stop() {
241
- this.done = !0;
242
- var t = this.tryEntries[0].completion;
243
- if ("throw" === t.type) throw t.arg;
244
- return this.rval;
245
- },
246
- dispatchException: function dispatchException(e) {
247
- if (this.done) throw e;
248
- var r = this;
249
- function handle(n, o) {
250
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
251
- }
252
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
253
- var i = this.tryEntries[o],
254
- a = i.completion;
255
- if ("root" === i.tryLoc) return handle("end");
256
- if (i.tryLoc <= this.prev) {
257
- var c = n.call(i, "catchLoc"),
258
- u = n.call(i, "finallyLoc");
259
- if (c && u) {
260
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
261
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
262
- } else if (c) {
263
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
264
- } else {
265
- if (!u) throw new Error("try statement without catch or finally");
266
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
267
- }
268
- }
269
- }
270
- },
271
- abrupt: function abrupt(t, e) {
272
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
273
- var o = this.tryEntries[r];
274
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
275
- var i = o;
276
- break;
277
- }
278
- }
279
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
280
- var a = i ? i.completion : {};
281
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
282
- },
283
- complete: function complete(t, e) {
284
- if ("throw" === t.type) throw t.arg;
285
- 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;
286
- },
287
- finish: function finish(t) {
288
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
289
- var r = this.tryEntries[e];
290
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
291
- }
292
- },
293
- "catch": function _catch(t) {
294
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
295
- var r = this.tryEntries[e];
296
- if (r.tryLoc === t) {
297
- var n = r.completion;
298
- if ("throw" === n.type) {
299
- var o = n.arg;
300
- resetTryEntry(r);
301
- }
302
- return o;
303
- }
304
- }
305
- throw new Error("illegal catch attempt");
306
- },
307
- delegateYield: function delegateYield(e, r, n) {
308
- return this.delegate = {
309
- iterator: values(e),
310
- resultName: r,
311
- nextLoc: n
312
- }, "next" === this.method && (this.arg = t), y;
313
- }
314
- }, e;
315
- }
316
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
317
-
318
- /***/ }),
319
-
320
- /***/ 7425:
321
- /***/ ((module) => {
322
-
323
- function _typeof(o) {
324
- "@babel/helpers - typeof";
325
-
326
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
327
- return typeof o;
328
- } : function (o) {
329
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
330
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
331
- }
332
- module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
333
-
334
- /***/ }),
335
-
336
- /***/ 2841:
337
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
338
-
339
- // TODO(Babel 8): Remove this file.
340
-
341
- var runtime = __webpack_require__(7609)();
342
- module.exports = runtime;
343
-
344
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
345
- try {
346
- regeneratorRuntime = runtime;
347
- } catch (accidentalStrictMode) {
348
- if (typeof globalThis === "object") {
349
- globalThis.regeneratorRuntime = runtime;
350
- } else {
351
- Function("r", "regeneratorRuntime = r")(runtime);
352
- }
353
- }
354
-
355
-
356
- /***/ })
357
-
358
- /******/ });
359
- /************************************************************************/
360
- /******/ // The module cache
361
- /******/ var __webpack_module_cache__ = {};
362
- /******/
363
- /******/ // The require function
364
- /******/ function __webpack_require__(moduleId) {
365
- /******/ // Check if module is in cache
366
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
367
- /******/ if (cachedModule !== undefined) {
368
- /******/ return cachedModule.exports;
369
- /******/ }
370
- /******/ // Create a new module (and put it into the cache)
371
- /******/ var module = __webpack_module_cache__[moduleId] = {
372
- /******/ // no module.id needed
373
- /******/ // no module.loaded needed
374
- /******/ exports: {}
375
- /******/ };
376
- /******/
377
- /******/ // Execute the module function
378
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
379
- /******/
380
- /******/ // Return the exports of the module
381
- /******/ return module.exports;
382
- /******/ }
8
+ /******/ // The require scope
9
+ /******/ var __webpack_require__ = {};
383
10
  /******/
384
11
  /************************************************************************/
385
- /******/ /* webpack/runtime/compat get default export */
386
- /******/ (() => {
387
- /******/ // getDefaultExport function for compatibility with non-harmony modules
388
- /******/ __webpack_require__.n = (module) => {
389
- /******/ var getter = module && module.__esModule ?
390
- /******/ () => (module['default']) :
391
- /******/ () => (module);
392
- /******/ __webpack_require__.d(getter, { a: getter });
393
- /******/ return getter;
394
- /******/ };
395
- /******/ })();
396
- /******/
397
12
  /******/ /* webpack/runtime/define property getters */
398
13
  /******/ (() => {
399
14
  /******/ // define getter functions for harmony exports
@@ -413,8 +28,6 @@ try {
413
28
  /******/
414
29
  /************************************************************************/
415
30
  var __webpack_exports__ = {};
416
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
417
- (() => {
418
31
 
419
32
  // EXPORTS
420
33
  __webpack_require__.d(__webpack_exports__, {
@@ -435,6 +48,7 @@ function _typeof(o) {
435
48
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
436
49
  }, _typeof(o);
437
50
  }
51
+
438
52
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
439
53
 
440
54
  function toPrimitive(t, r) {
@@ -447,67 +61,57 @@ function toPrimitive(t, r) {
447
61
  }
448
62
  return ("string" === r ? String : Number)(t);
449
63
  }
64
+
450
65
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
451
66
 
452
67
 
453
68
  function toPropertyKey(t) {
454
69
  var i = toPrimitive(t, "string");
455
- return "symbol" == _typeof(i) ? i : String(i);
70
+ return "symbol" == _typeof(i) ? i : i + "";
456
71
  }
72
+
457
73
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
458
74
 
459
- function _defineProperty(obj, key, value) {
460
- key = toPropertyKey(key);
461
- if (key in obj) {
462
- Object.defineProperty(obj, key, {
463
- value: value,
464
- enumerable: true,
465
- configurable: true,
466
- writable: true
467
- });
468
- } else {
469
- obj[key] = value;
470
- }
471
- return obj;
75
+ function _defineProperty(e, r, t) {
76
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
77
+ value: t,
78
+ enumerable: !0,
79
+ configurable: !0,
80
+ writable: !0
81
+ }) : e[r] = t, e;
472
82
  }
83
+
473
84
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
474
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
85
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
475
86
  try {
476
- var info = gen[key](arg);
477
- var value = info.value;
478
- } catch (error) {
479
- reject(error);
480
- return;
481
- }
482
- if (info.done) {
483
- resolve(value);
484
- } else {
485
- Promise.resolve(value).then(_next, _throw);
87
+ var i = n[a](c),
88
+ u = i.value;
89
+ } catch (n) {
90
+ return void e(n);
486
91
  }
92
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
487
93
  }
488
- function _asyncToGenerator(fn) {
94
+ function _asyncToGenerator(n) {
489
95
  return function () {
490
- var self = this,
491
- args = arguments;
492
- return new Promise(function (resolve, reject) {
493
- var gen = fn.apply(self, args);
494
- function _next(value) {
495
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
96
+ var t = this,
97
+ e = arguments;
98
+ return new Promise(function (r, o) {
99
+ var a = n.apply(t, e);
100
+ function _next(n) {
101
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
496
102
  }
497
- function _throw(err) {
498
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
103
+ function _throw(n) {
104
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
499
105
  }
500
- _next(undefined);
106
+ _next(void 0);
501
107
  });
502
108
  };
503
109
  }
110
+
504
111
  ;// CONCATENATED MODULE: external "vue"
505
112
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
506
113
  var external_vue_y = x => () => x
507
114
  const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
508
- // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
509
- var regenerator = __webpack_require__(2841);
510
- var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
511
115
  ;// CONCATENATED MODULE: external "vue-types"
512
116
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
513
117
  var external_vue_types_y = x => () => x
@@ -524,7 +128,8 @@ const icon_namespaceObject = icon_x({ ["Circle"]: () => __WEBPACK_EXTERNAL_MODUL
524
128
 
525
129
 
526
130
 
527
-
131
+ 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 }; })(); }
132
+ 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); }
528
133
  /**
529
134
  * Tencent is pleased to support the open source community by making
530
135
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -630,34 +235,34 @@ var stepsProps = {
630
235
  // init();
631
236
  // }, { deep: true });
632
237
  var jumpTo = /*#__PURE__*/function () {
633
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(index) {
634
- return regenerator_default().wrap(function _callee2$(_context2) {
635
- while (1) switch (_context2.prev = _context2.next) {
238
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(index) {
239
+ var _t;
240
+ return _regenerator().w(function (_context2) {
241
+ while (1) switch (_context2.n) {
636
242
  case 0:
637
- _context2.prev = 0;
243
+ _context2.p = 0;
638
244
  if (!(props.controllable && index !== props.curStep)) {
639
- _context2.next = 7;
245
+ _context2.n = 2;
640
246
  break;
641
247
  }
642
248
  if (!(typeof props.beforeChange === 'function')) {
643
- _context2.next = 5;
249
+ _context2.n = 1;
644
250
  break;
645
251
  }
646
- _context2.next = 5;
647
- return new Promise( /*#__PURE__*/function () {
648
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
252
+ _context2.n = 1;
253
+ return new Promise(/*#__PURE__*/function () {
254
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(resolve, reject) {
649
255
  var confirmed;
650
- return regenerator_default().wrap(function _callee$(_context) {
651
- while (1) switch (_context.prev = _context.next) {
256
+ return _regenerator().w(function (_context) {
257
+ while (1) switch (_context.n) {
652
258
  case 0:
653
- _context.next = 2;
259
+ _context.n = 1;
654
260
  return props.beforeChange(index);
655
- case 2:
656
- confirmed = _context.sent;
261
+ case 1:
262
+ confirmed = _context.v;
657
263
  confirmed ? resolve(confirmed) : reject(confirmed);
658
- case 4:
659
- case "end":
660
- return _context.stop();
264
+ case 2:
265
+ return _context.a(2);
661
266
  }
662
267
  }, _callee);
663
268
  }));
@@ -665,21 +270,20 @@ var stepsProps = {
665
270
  return _ref3.apply(this, arguments);
666
271
  };
667
272
  }());
668
- case 5:
273
+ case 1:
669
274
  emit('update:curStep', index);
670
275
  emit('click', index);
671
- case 7:
672
- _context2.next = 12;
276
+ case 2:
277
+ _context2.n = 4;
673
278
  break;
674
- case 9:
675
- _context2.prev = 9;
676
- _context2.t0 = _context2["catch"](0);
677
- console.warn(_context2.t0);
678
- case 12:
679
- case "end":
680
- return _context2.stop();
279
+ case 3:
280
+ _context2.p = 3;
281
+ _t = _context2.v;
282
+ console.warn(_t);
283
+ case 4:
284
+ return _context2.a(2);
681
285
  }
682
- }, _callee2, null, [[0, 9]]);
286
+ }, _callee2, null, [[0, 3]]);
683
287
  }));
684
288
  return function jumpTo(_x) {
685
289
  return _ref2.apply(this, arguments);
@@ -819,7 +423,5 @@ var stepsProps = {
819
423
 
820
424
  var BkSteps = (0,shared_namespaceObject.withInstall)(steps);
821
425
  /* harmony default export */ const src = (BkSteps);
822
- })();
823
-
824
426
  var __webpack_exports__default = __webpack_exports__["default"];
825
427
  export { __webpack_exports__default as default };
@@ -46,6 +46,7 @@ function _typeof(o) {
46
46
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
47
47
  }, _typeof(o);
48
48
  }
49
+
49
50
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
50
51
 
51
52
  function toPrimitive(t, r) {
@@ -58,29 +59,26 @@ function toPrimitive(t, r) {
58
59
  }
59
60
  return ("string" === r ? String : Number)(t);
60
61
  }
62
+
61
63
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
62
64
 
63
65
 
64
66
  function toPropertyKey(t) {
65
67
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
68
+ return "symbol" == _typeof(i) ? i : i + "";
67
69
  }
70
+
68
71
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
72
 
70
- function _defineProperty(obj, key, value) {
71
- key = toPropertyKey(key);
72
- if (key in obj) {
73
- Object.defineProperty(obj, key, {
74
- value: value,
75
- enumerable: true,
76
- configurable: true,
77
- writable: true
78
- });
79
- } else {
80
- obj[key] = value;
81
- }
82
- return obj;
73
+ function _defineProperty(e, r, t) {
74
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
75
+ value: t,
76
+ enumerable: !0,
77
+ configurable: !0,
78
+ writable: !0
79
+ }) : e[r] = t, e;
83
80
  }
81
+
84
82
  ;// CONCATENATED MODULE: external "vue"
85
83
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
86
84
  var external_vue_y = x => () => x
@@ -197,11 +195,11 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
197
195
  var getRenderIndexStyle = function getRenderIndexStyle(index) {
198
196
  return _defineProperty({}, "".concat(resolveClassName('current-index')), swiperIndex.value === index);
199
197
  };
200
- var startLoop = function startLoop() {
198
+ var _startLoop = function startLoop() {
201
199
  if (isLoop.value) {
202
200
  loopId.value = window.setTimeout(function () {
203
201
  changeIndex(swiperIndex.value + 1);
204
- startLoop();
202
+ _startLoop();
205
203
  }, loopTime.value);
206
204
  }
207
205
  };
@@ -249,7 +247,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
249
247
  (0,external_vue_namespaceObject.watch)([height, width], calcSize);
250
248
  (0,external_vue_namespaceObject.onMounted)(function () {
251
249
  calcSize();
252
- startLoop();
250
+ _startLoop();
253
251
  watchParentSizeChange();
254
252
  });
255
253
  (0,external_vue_namespaceObject.onBeforeUnmount)(function () {