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_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
- /******/ 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,43 +41,36 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
428
41
  var y = x => () => x
429
42
  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 });
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: external "vue"
462
71
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
463
72
  var external_vue_y = x => () => x
464
73
  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);
468
74
  ;// CONCATENATED MODULE: external "../config-provider"
469
75
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
470
76
  var config_provider_y = x => () => x
@@ -517,8 +123,7 @@ const popover_less_namespaceObject = popover_less_x({ });
517
123
 
518
124
 
519
125
 
520
-
521
- /* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
126
+ /* harmony default export */ const slider_button = (defineComponent({
522
127
  name: 'SliderButton',
523
128
  props: {
524
129
  modelValue: {
@@ -535,18 +140,18 @@ const popover_less_namespaceObject = popover_less_x({ });
535
140
  emits: ['emitChange', 'resetSize', 'update:modelValue'],
536
141
  setup: function setup(props, _ref) {
537
142
  var emit = _ref.emit;
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 () {
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 () {
550
155
  var _props$params$customC, _props$params;
551
156
  var tip = '';
552
157
  if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
@@ -565,17 +170,17 @@ const popover_less_namespaceObject = popover_less_x({ });
565
170
  placement: placement
566
171
  };
567
172
  });
568
- var currentPosition = (0,external_vue_namespaceObject.computed)(function () {
173
+ var currentPosition = computed(function () {
569
174
  return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
570
175
  });
571
- var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
176
+ var wrapperStyle = computed(function () {
572
177
  return props.params.vertical ? {
573
178
  bottom: currentPosition.value
574
179
  } : {
575
180
  left: currentPosition.value
576
181
  };
577
182
  });
578
- var buttonLabel = (0,external_vue_namespaceObject.computed)(function () {
183
+ var buttonLabel = computed(function () {
579
184
  return props.params.formatterButtonLabel(props.modelValue);
580
185
  });
581
186
  var onButtonDown = function onButtonDown(event) {
@@ -584,8 +189,8 @@ const popover_less_namespaceObject = popover_less_x({ });
584
189
  onDragStart(event);
585
190
  on(window, 'mousemove', onDragging);
586
191
  on(window, 'touchmove', onDragging);
587
- on(window, 'mouseup', onDragEnd);
588
- on(window, 'touchend', onDragEnd);
192
+ on(window, 'mouseup', _onDragEnd);
193
+ on(window, 'touchend', _onDragEnd);
589
194
  };
590
195
  var onDragStart = function onDragStart(event) {
591
196
  dragging.value = true;
@@ -614,7 +219,7 @@ const popover_less_namespaceObject = popover_less_x({ });
614
219
  setPosition(newPosition.value);
615
220
  }
616
221
  };
617
- var onDragEnd = function onDragEnd() {
222
+ var _onDragEnd = function onDragEnd() {
618
223
  isMove.value = false;
619
224
  if (dragging.value) {
620
225
  setTimeout(function () {
@@ -626,8 +231,8 @@ const popover_less_namespaceObject = popover_less_x({ });
626
231
  }, 0);
627
232
  off(window, 'mousemove', onDragging);
628
233
  off(window, 'touchmove', onDragging);
629
- off(window, 'mouseup', onDragEnd);
630
- off(window, 'touchend', onDragEnd);
234
+ off(window, 'mouseup', _onDragEnd);
235
+ off(window, 'touchend', _onDragEnd);
631
236
  }
632
237
  };
633
238
  var setPosition = function setPosition(position) {
@@ -694,7 +299,8 @@ const popover_less_namespaceObject = popover_less_x({ });
694
299
  ;// CONCATENATED MODULE: ../../packages/slider/src/slider.tsx
695
300
 
696
301
 
697
-
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); }
698
304
  /**
699
305
  * Tencent is pleased to support the open source community by making
700
306
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1073,17 +679,16 @@ var off = function off(element, event, handler) {
1073
679
  };
1074
680
  /* 派出事件 */
1075
681
  var emitChange = /*#__PURE__*/function () {
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) {
682
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
683
+ return _regenerator().w(function (_context) {
684
+ while (1) switch (_context.n) {
1079
685
  case 0:
1080
- _context.next = 2;
686
+ _context.n = 1;
1081
687
  return (0,external_vue_namespaceObject.nextTick)();
1082
- case 2:
688
+ case 1:
1083
689
  emit('change', props.range ? [rangeMinValue.value, rangeMaxValue.value] : props.modelValue);
1084
- case 3:
1085
- case "end":
1086
- return _context.stop();
690
+ case 2:
691
+ return _context.a(2);
1087
692
  }
1088
693
  }, _callee);
1089
694
  }));
@@ -1343,7 +948,5 @@ var off = function off(element, event, handler) {
1343
948
 
1344
949
  var Slider = (0,shared_namespaceObject.withInstall)(slider);
1345
950
  /* harmony default export */ const src = (Slider);
1346
- })();
1347
-
1348
951
  var __webpack_exports__default = __webpack_exports__["default"];
1349
952
  export { __webpack_exports__default as default };