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.
Files changed (154) hide show
  1. package/dist/index.cjs.js +42 -47
  2. package/dist/index.esm.js +7009 -7201
  3. package/dist/index.umd.js +45 -50
  4. package/lib/affix/index.js +14 -12
  5. package/lib/alert/index.js +14 -12
  6. package/lib/animate-number/index.js +12 -11
  7. package/lib/backtop/index.js +11 -10
  8. package/lib/badge/index.js +14 -12
  9. package/lib/breadcrumb/index.js +14 -12
  10. package/lib/button/index.js +14 -12
  11. package/lib/card/index.js +14 -12
  12. package/lib/cascader/index.js +101 -94
  13. package/lib/checkbox/index.js +35 -37
  14. package/lib/code-diff/index.js +674 -1170
  15. package/lib/collapse/index.js +42 -44
  16. package/lib/collapse-transition/index.js +4 -3
  17. package/lib/color-picker/index.js +60 -59
  18. package/lib/config-provider/index.js +14 -12
  19. package/lib/container/index.js +25 -21
  20. package/lib/date-picker/index.js +51 -58
  21. package/lib/dialog/index.js +441 -43
  22. package/lib/directives/index.js +34 -37
  23. package/lib/divider/index.js +3 -2
  24. package/lib/dropdown/index.js +21 -17
  25. package/lib/exception/index.js +17 -14
  26. package/lib/fixed-navbar/index.js +3 -2
  27. package/lib/form/index.js +34 -37
  28. package/lib/icon/angle-double-down-line.js +36 -29
  29. package/lib/icon/angle-double-left-line.js +36 -29
  30. package/lib/icon/angle-double-left.js +36 -29
  31. package/lib/icon/angle-double-right-line.js +36 -29
  32. package/lib/icon/angle-double-right.js +36 -29
  33. package/lib/icon/angle-double-up-line.js +36 -29
  34. package/lib/icon/angle-down-fill.js +36 -29
  35. package/lib/icon/angle-down-line.js +36 -29
  36. package/lib/icon/angle-down.js +36 -29
  37. package/lib/icon/angle-left.js +36 -29
  38. package/lib/icon/angle-right.js +36 -29
  39. package/lib/icon/angle-up-fill.js +36 -29
  40. package/lib/icon/angle-up.js +36 -29
  41. package/lib/icon/archive-fill.js +36 -29
  42. package/lib/icon/arrows-left.js +36 -29
  43. package/lib/icon/arrows-right.js +36 -29
  44. package/lib/icon/assistant.js +36 -29
  45. package/lib/icon/audio-fill.js +36 -29
  46. package/lib/icon/bk.js +36 -29
  47. package/lib/icon/circle.js +36 -29
  48. package/lib/icon/close-line.js +36 -29
  49. package/lib/icon/close.js +36 -29
  50. package/lib/icon/code.js +36 -29
  51. package/lib/icon/cog-shape.js +36 -29
  52. package/lib/icon/collapse-left.js +36 -29
  53. package/lib/icon/copy-shape.js +36 -29
  54. package/lib/icon/copy.js +36 -29
  55. package/lib/icon/data-shape.js +36 -29
  56. package/lib/icon/del.js +36 -29
  57. package/lib/icon/doc-fill.js +36 -29
  58. package/lib/icon/done.js +36 -29
  59. package/lib/icon/down-shape.js +36 -29
  60. package/lib/icon/down-small.js +36 -29
  61. package/lib/icon/edit-line.js +36 -29
  62. package/lib/icon/ellipsis.js +36 -29
  63. package/lib/icon/enlarge-line.js +36 -29
  64. package/lib/icon/error.js +36 -29
  65. package/lib/icon/excel-fill.js +36 -29
  66. package/lib/icon/exclamation-circle-shape.js +36 -29
  67. package/lib/icon/eye.js +36 -29
  68. package/lib/icon/filliscreen-line.js +36 -29
  69. package/lib/icon/fix-line.js +36 -29
  70. package/lib/icon/fix-shape.js +36 -29
  71. package/lib/icon/folder-open.js +36 -29
  72. package/lib/icon/folder-shape-open.js +36 -29
  73. package/lib/icon/folder-shape.js +36 -29
  74. package/lib/icon/folder.js +36 -29
  75. package/lib/icon/funnel.js +36 -29
  76. package/lib/icon/grag-fill.js +36 -29
  77. package/lib/icon/help-document-fill.js +36 -29
  78. package/lib/icon/help-fill.js +36 -29
  79. package/lib/icon/help.js +36 -29
  80. package/lib/icon/image-fill.js +36 -29
  81. package/lib/icon/img-error.js +36 -29
  82. package/lib/icon/img-placehoulder.js +36 -29
  83. package/lib/icon/info-line.js +36 -29
  84. package/lib/icon/info.js +36 -29
  85. package/lib/icon/left-shape.js +36 -29
  86. package/lib/icon/left-turn-line.js +36 -29
  87. package/lib/icon/loading.js +36 -29
  88. package/lib/icon/narrow-line.js +36 -29
  89. package/lib/icon/original.js +36 -29
  90. package/lib/icon/pdf-fill.js +36 -29
  91. package/lib/icon/play-shape.js +36 -29
  92. package/lib/icon/plus.js +36 -29
  93. package/lib/icon/ppt-fill.js +36 -29
  94. package/lib/icon/qq.js +36 -29
  95. package/lib/icon/right-shape.js +36 -29
  96. package/lib/icon/right-turn-line.js +36 -29
  97. package/lib/icon/search.js +36 -29
  98. package/lib/icon/share.js +36 -29
  99. package/lib/icon/spinner.js +36 -29
  100. package/lib/icon/success.js +36 -29
  101. package/lib/icon/switcher-loading.js +36 -29
  102. package/lib/icon/text-all.js +36 -29
  103. package/lib/icon/text-file.js +36 -29
  104. package/lib/icon/text-fill.js +36 -29
  105. package/lib/icon/transfer.js +36 -29
  106. package/lib/icon/tree-application-shape.js +36 -29
  107. package/lib/icon/unfull-screen.js +36 -29
  108. package/lib/icon/unvisible.js +36 -29
  109. package/lib/icon/up-shape.js +36 -29
  110. package/lib/icon/upload.js +36 -29
  111. package/lib/icon/video-fill.js +36 -29
  112. package/lib/icon/warn.js +36 -29
  113. package/lib/icon/weixin-pro.js +36 -29
  114. package/lib/icon/weixin.js +36 -29
  115. package/lib/image/index.js +47 -49
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +461 -62
  118. package/lib/input/index.js +60 -62
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +25 -22
  121. package/lib/menu/index.js +34 -36
  122. package/lib/message/index.js +31 -34
  123. package/lib/modal/index.js +14 -12
  124. package/lib/navigation/index.js +9 -7
  125. package/lib/notify/index.js +14 -12
  126. package/lib/overflow-title/index.js +10 -9
  127. package/lib/pagination/index.js +29 -32
  128. package/lib/pop-confirm/index.js +5 -4
  129. package/lib/popover/index.js +136 -209
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +452 -59
  132. package/lib/progress/index.js +19 -16
  133. package/lib/radio/index.js +34 -37
  134. package/lib/rate/index.js +14 -12
  135. package/lib/resize-layout/index.js +20 -18
  136. package/lib/scrollbar/index.js +58 -51
  137. package/lib/search-select/index.js +595 -222
  138. package/lib/select/index.js +463 -111
  139. package/lib/shared/index.js +95 -83
  140. package/lib/sideslider/index.js +441 -43
  141. package/lib/slider/index.js +446 -49
  142. package/lib/steps/index.js +458 -60
  143. package/lib/swiper/index.js +17 -15
  144. package/lib/switcher/index.js +14 -12
  145. package/lib/tab/index.js +40 -42
  146. package/lib/table/index.js +501 -152
  147. package/lib/tag/index.js +14 -12
  148. package/lib/tag-input/index.js +41 -47
  149. package/lib/timeline/index.js +0 -1
  150. package/lib/transfer/index.js +17 -22
  151. package/lib/tree/index.js +66 -73
  152. package/lib/upload/index.js +487 -136
  153. package/lib/virtual-render/index.js +51 -47
  154. package/package.json +1 -2
@@ -7,10 +7,395 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_input_d525237e__ from "../inp
7
7
  import "../input/input.less";
8
8
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
9
9
  import "../popover/popover.less";
10
- /******/ // The require scope
11
- /******/ var __webpack_require__ = {};
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 "../popover/popover.less";
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,36 +428,43 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
41
428
  var y = x => () => x
42
429
  const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PlacementEnum, ["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(n, t, e, r, o, a, c) {
431
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
45
432
  try {
46
- var i = n[a](c),
47
- u = i.value;
48
- } catch (n) {
49
- return void e(n);
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(n) {
445
+ function _asyncToGenerator(fn) {
54
446
  return function () {
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);
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(n) {
63
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
454
+ function _throw(err) {
455
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
64
456
  }
65
- _next(void 0);
457
+ _next(undefined);
66
458
  });
67
459
  };
68
460
  }
69
-
70
461
  ;// CONCATENATED MODULE: external "vue"
71
462
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
72
463
  var external_vue_y = x => () => x
73
464
  const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
465
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
466
+ var regenerator = __webpack_require__(2841);
467
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
74
468
  ;// CONCATENATED MODULE: external "../config-provider"
75
469
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
76
470
  var config_provider_y = x => () => x
@@ -123,7 +517,8 @@ const popover_less_namespaceObject = popover_less_x({ });
123
517
 
124
518
 
125
519
 
126
- /* harmony default export */ const slider_button = (defineComponent({
520
+
521
+ /* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
127
522
  name: 'SliderButton',
128
523
  props: {
129
524
  modelValue: {
@@ -140,18 +535,18 @@ const popover_less_namespaceObject = popover_less_x({ });
140
535
  emits: ['emitChange', 'resetSize', 'update:modelValue'],
141
536
  setup: function setup(props, _ref) {
142
537
  var emit = _ref.emit;
143
- var dragging = ref(false);
144
- var isClick = ref(false);
145
- var startY = ref(0);
146
- var startX = ref(0);
147
- var startPosition = ref(0);
148
- var newPosition = ref(null);
149
- var oldValue = ref(props.modelValue);
150
- var currentY = ref(0);
151
- var currentX = ref(0);
152
- var isMove = ref(false);
153
- var button = ref(null);
154
- var tip = computed(function () {
538
+ var dragging = (0,external_vue_namespaceObject.ref)(false);
539
+ var isClick = (0,external_vue_namespaceObject.ref)(false);
540
+ var startY = (0,external_vue_namespaceObject.ref)(0);
541
+ var startX = (0,external_vue_namespaceObject.ref)(0);
542
+ var startPosition = (0,external_vue_namespaceObject.ref)(0);
543
+ var newPosition = (0,external_vue_namespaceObject.ref)(null);
544
+ var oldValue = (0,external_vue_namespaceObject.ref)(props.modelValue);
545
+ var currentY = (0,external_vue_namespaceObject.ref)(0);
546
+ var currentX = (0,external_vue_namespaceObject.ref)(0);
547
+ var isMove = (0,external_vue_namespaceObject.ref)(false);
548
+ var button = (0,external_vue_namespaceObject.ref)(null);
549
+ var tip = (0,external_vue_namespaceObject.computed)(function () {
155
550
  var _props$params$customC, _props$params;
156
551
  var tip = '';
157
552
  if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
@@ -170,17 +565,17 @@ const popover_less_namespaceObject = popover_less_x({ });
170
565
  placement: placement
171
566
  };
172
567
  });
173
- var currentPosition = computed(function () {
568
+ var currentPosition = (0,external_vue_namespaceObject.computed)(function () {
174
569
  return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
175
570
  });
176
- var wrapperStyle = computed(function () {
571
+ var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
177
572
  return props.params.vertical ? {
178
573
  bottom: currentPosition.value
179
574
  } : {
180
575
  left: currentPosition.value
181
576
  };
182
577
  });
183
- var buttonLabel = computed(function () {
578
+ var buttonLabel = (0,external_vue_namespaceObject.computed)(function () {
184
579
  return props.params.formatterButtonLabel(props.modelValue);
185
580
  });
186
581
  var onButtonDown = function onButtonDown(event) {
@@ -189,8 +584,8 @@ const popover_less_namespaceObject = popover_less_x({ });
189
584
  onDragStart(event);
190
585
  on(window, 'mousemove', onDragging);
191
586
  on(window, 'touchmove', onDragging);
192
- on(window, 'mouseup', _onDragEnd);
193
- on(window, 'touchend', _onDragEnd);
587
+ on(window, 'mouseup', onDragEnd);
588
+ on(window, 'touchend', onDragEnd);
194
589
  };
195
590
  var onDragStart = function onDragStart(event) {
196
591
  dragging.value = true;
@@ -219,7 +614,7 @@ const popover_less_namespaceObject = popover_less_x({ });
219
614
  setPosition(newPosition.value);
220
615
  }
221
616
  };
222
- var _onDragEnd = function onDragEnd() {
617
+ var onDragEnd = function onDragEnd() {
223
618
  isMove.value = false;
224
619
  if (dragging.value) {
225
620
  setTimeout(function () {
@@ -231,8 +626,8 @@ const popover_less_namespaceObject = popover_less_x({ });
231
626
  }, 0);
232
627
  off(window, 'mousemove', onDragging);
233
628
  off(window, 'touchmove', onDragging);
234
- off(window, 'mouseup', _onDragEnd);
235
- off(window, 'touchend', _onDragEnd);
629
+ off(window, 'mouseup', onDragEnd);
630
+ off(window, 'touchend', onDragEnd);
236
631
  }
237
632
  };
238
633
  var setPosition = function setPosition(position) {
@@ -299,8 +694,7 @@ const popover_less_namespaceObject = popover_less_x({ });
299
694
  ;// CONCATENATED MODULE: ../../packages/slider/src/slider.tsx
300
695
 
301
696
 
302
- 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 }; })(); }
303
- 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); }
697
+
304
698
  /**
305
699
  * Tencent is pleased to support the open source community by making
306
700
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -679,16 +1073,17 @@ var off = function off(element, event, handler) {
679
1073
  };
680
1074
  /* 派出事件 */
681
1075
  var emitChange = /*#__PURE__*/function () {
682
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
683
- return _regenerator().w(function (_context) {
684
- while (1) switch (_context.n) {
1076
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
1077
+ return regenerator_default().wrap(function _callee$(_context) {
1078
+ while (1) switch (_context.prev = _context.next) {
685
1079
  case 0:
686
- _context.n = 1;
1080
+ _context.next = 2;
687
1081
  return (0,external_vue_namespaceObject.nextTick)();
688
- case 1:
689
- emit('change', props.range ? [rangeMinValue.value, rangeMaxValue.value] : props.modelValue);
690
1082
  case 2:
691
- return _context.a(2);
1083
+ emit('change', props.range ? [rangeMinValue.value, rangeMaxValue.value] : props.modelValue);
1084
+ case 3:
1085
+ case "end":
1086
+ return _context.stop();
692
1087
  }
693
1088
  }, _callee);
694
1089
  }));
@@ -948,5 +1343,7 @@ var off = function off(element, event, handler) {
948
1343
 
949
1344
  var Slider = (0,shared_namespaceObject.withInstall)(slider);
950
1345
  /* harmony default export */ const src = (Slider);
1346
+ })();
1347
+
951
1348
  var __webpack_exports__default = __webpack_exports__["default"];
952
1349
  export { __webpack_exports__default as default };