bk-magic-vue 2.4.15-beta.4 → 2.4.15-beta.5

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 (67) hide show
  1. package/dist/bk-magic-vue.js +1176 -1251
  2. package/dist/bk-magic-vue.min.js +3 -1
  3. package/dist/bk-magic-vue.min.js.gz +0 -0
  4. package/dist/bk-magic-vue.min.js.map +1 -1
  5. package/lib/alert.js +3 -1
  6. package/lib/back-top.js +5 -3
  7. package/lib/badge.js +1 -2
  8. package/lib/big-tree.js +2680 -2836
  9. package/lib/card.js +36 -35
  10. package/lib/cascade.js +414 -570
  11. package/lib/checkbox.js +1041 -1200
  12. package/lib/color-picker.js +6 -7
  13. package/lib/compose-form-item.js +1 -2
  14. package/lib/date-picker.js +138 -138
  15. package/lib/dialog.js +2870 -3012
  16. package/lib/directives/overflow-tips.js +1 -2
  17. package/lib/directives/tooltips.js +1 -2
  18. package/lib/directives/transfer-dom.js +1 -2
  19. package/lib/dropdown-menu.js +4 -4
  20. package/lib/exception.js +4 -3
  21. package/lib/fixed-navbar.js +1 -2
  22. package/lib/form-item.js +234 -394
  23. package/lib/image-viewer.js +7 -7
  24. package/lib/image.js +20 -16
  25. package/lib/info-box.js +3001 -3143
  26. package/lib/input.js +6 -7
  27. package/lib/loading.js +7 -4
  28. package/lib/message.js +4 -2
  29. package/lib/navigation-menu-item.js +5 -6
  30. package/lib/navigation-menu.js +1097 -1257
  31. package/lib/navigation.js +31 -21
  32. package/lib/notify.js +18 -16
  33. package/lib/option-group.js +1247 -1404
  34. package/lib/option.js +13 -11
  35. package/lib/pagination.js +8319 -8467
  36. package/lib/popconfirm.js +14 -11
  37. package/lib/popover.js +4 -3
  38. package/lib/process.js +3 -3
  39. package/lib/progress.js +3 -1
  40. package/lib/radio-button.js +5 -3
  41. package/lib/radio.js +5 -3
  42. package/lib/rate.js +3 -3
  43. package/lib/resize-layout.js +10 -8
  44. package/lib/search-select.js +379 -535
  45. package/lib/select.js +6690 -6838
  46. package/lib/sideslider.js +1619 -1777
  47. package/lib/slider.js +7 -8
  48. package/lib/star.js +2 -2
  49. package/lib/steps.js +1807 -1966
  50. package/lib/swiper.js +19 -17
  51. package/lib/switcher.js +2 -2
  52. package/lib/tab.js +272 -434
  53. package/lib/table-column.js +351 -510
  54. package/lib/table-setting-content.js +353 -512
  55. package/lib/table.js +449 -595
  56. package/lib/tag-input.js +364 -519
  57. package/lib/tag.js +3 -1
  58. package/lib/time-picker.js +114 -114
  59. package/lib/timeline.js +17 -13
  60. package/lib/transfer.js +50 -53
  61. package/lib/tree.js +7 -9
  62. package/lib/upload.js +348 -508
  63. package/lib/version-detail.js +6301 -6435
  64. package/lib/virtual-render.js +1 -2
  65. package/lib/virtual-scroll.js +6 -4
  66. package/lib/zoom-image.js +3 -4
  67. package/package.json +5 -5
@@ -7,6 +7,351 @@
7
7
  Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
8
8
  path = path && path.hasOwnProperty('default') ? path['default'] : path;
9
9
 
10
+ function _regeneratorRuntime() {
11
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
12
+
13
+ _regeneratorRuntime = function () {
14
+ return exports;
15
+ };
16
+
17
+ var exports = {},
18
+ Op = Object.prototype,
19
+ hasOwn = Op.hasOwnProperty,
20
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
21
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
22
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
23
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
24
+
25
+ function define(obj, key, value) {
26
+ return Object.defineProperty(obj, key, {
27
+ value: value,
28
+ enumerable: !0,
29
+ configurable: !0,
30
+ writable: !0
31
+ }), obj[key];
32
+ }
33
+
34
+ try {
35
+ define({}, "");
36
+ } catch (err) {
37
+ define = function (obj, key, value) {
38
+ return obj[key] = value;
39
+ };
40
+ }
41
+
42
+ function wrap(innerFn, outerFn, self, tryLocsList) {
43
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
44
+ generator = Object.create(protoGenerator.prototype),
45
+ context = new Context(tryLocsList || []);
46
+ return generator._invoke = function (innerFn, self, context) {
47
+ var state = "suspendedStart";
48
+ return function (method, arg) {
49
+ if ("executing" === state) throw new Error("Generator is already running");
50
+
51
+ if ("completed" === state) {
52
+ if ("throw" === method) throw arg;
53
+ return doneResult();
54
+ }
55
+
56
+ for (context.method = method, context.arg = arg;;) {
57
+ var delegate = context.delegate;
58
+
59
+ if (delegate) {
60
+ var delegateResult = maybeInvokeDelegate(delegate, context);
61
+
62
+ if (delegateResult) {
63
+ if (delegateResult === ContinueSentinel) continue;
64
+ return delegateResult;
65
+ }
66
+ }
67
+
68
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
69
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
70
+ context.dispatchException(context.arg);
71
+ } else "return" === context.method && context.abrupt("return", context.arg);
72
+ state = "executing";
73
+ var record = tryCatch(innerFn, self, context);
74
+
75
+ if ("normal" === record.type) {
76
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
77
+ return {
78
+ value: record.arg,
79
+ done: context.done
80
+ };
81
+ }
82
+
83
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
84
+ }
85
+ };
86
+ }(innerFn, self, context), generator;
87
+ }
88
+
89
+ function tryCatch(fn, obj, arg) {
90
+ try {
91
+ return {
92
+ type: "normal",
93
+ arg: fn.call(obj, arg)
94
+ };
95
+ } catch (err) {
96
+ return {
97
+ type: "throw",
98
+ arg: err
99
+ };
100
+ }
101
+ }
102
+
103
+ exports.wrap = wrap;
104
+ var ContinueSentinel = {};
105
+
106
+ function Generator() {}
107
+
108
+ function GeneratorFunction() {}
109
+
110
+ function GeneratorFunctionPrototype() {}
111
+
112
+ var IteratorPrototype = {};
113
+ define(IteratorPrototype, iteratorSymbol, function () {
114
+ return this;
115
+ });
116
+ var getProto = Object.getPrototypeOf,
117
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
118
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
119
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
120
+
121
+ function defineIteratorMethods(prototype) {
122
+ ["next", "throw", "return"].forEach(function (method) {
123
+ define(prototype, method, function (arg) {
124
+ return this._invoke(method, arg);
125
+ });
126
+ });
127
+ }
128
+
129
+ function AsyncIterator(generator, PromiseImpl) {
130
+ function invoke(method, arg, resolve, reject) {
131
+ var record = tryCatch(generator[method], generator, arg);
132
+
133
+ if ("throw" !== record.type) {
134
+ var result = record.arg,
135
+ value = result.value;
136
+ return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
137
+ invoke("next", value, resolve, reject);
138
+ }, function (err) {
139
+ invoke("throw", err, resolve, reject);
140
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
141
+ result.value = unwrapped, resolve(result);
142
+ }, function (error) {
143
+ return invoke("throw", error, resolve, reject);
144
+ });
145
+ }
146
+
147
+ reject(record.arg);
148
+ }
149
+
150
+ var previousPromise;
151
+
152
+ this._invoke = function (method, arg) {
153
+ function callInvokeWithMethodAndArg() {
154
+ return new PromiseImpl(function (resolve, reject) {
155
+ invoke(method, arg, resolve, reject);
156
+ });
157
+ }
158
+
159
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
160
+ };
161
+ }
162
+
163
+ function maybeInvokeDelegate(delegate, context) {
164
+ var method = delegate.iterator[context.method];
165
+
166
+ if (undefined === method) {
167
+ if (context.delegate = null, "throw" === context.method) {
168
+ if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
169
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
170
+ }
171
+
172
+ return ContinueSentinel;
173
+ }
174
+
175
+ var record = tryCatch(method, delegate.iterator, context.arg);
176
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
177
+ var info = record.arg;
178
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
179
+ }
180
+
181
+ function pushTryEntry(locs) {
182
+ var entry = {
183
+ tryLoc: locs[0]
184
+ };
185
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
186
+ }
187
+
188
+ function resetTryEntry(entry) {
189
+ var record = entry.completion || {};
190
+ record.type = "normal", delete record.arg, entry.completion = record;
191
+ }
192
+
193
+ function Context(tryLocsList) {
194
+ this.tryEntries = [{
195
+ tryLoc: "root"
196
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
197
+ }
198
+
199
+ function values(iterable) {
200
+ if (iterable) {
201
+ var iteratorMethod = iterable[iteratorSymbol];
202
+ if (iteratorMethod) return iteratorMethod.call(iterable);
203
+ if ("function" == typeof iterable.next) return iterable;
204
+
205
+ if (!isNaN(iterable.length)) {
206
+ var i = -1,
207
+ next = function next() {
208
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
209
+
210
+ return next.value = undefined, next.done = !0, next;
211
+ };
212
+
213
+ return next.next = next;
214
+ }
215
+ }
216
+
217
+ return {
218
+ next: doneResult
219
+ };
220
+ }
221
+
222
+ function doneResult() {
223
+ return {
224
+ value: undefined,
225
+ done: !0
226
+ };
227
+ }
228
+
229
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
230
+ var ctor = "function" == typeof genFun && genFun.constructor;
231
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
232
+ }, exports.mark = function (genFun) {
233
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
234
+ }, exports.awrap = function (arg) {
235
+ return {
236
+ __await: arg
237
+ };
238
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
239
+ return this;
240
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
241
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
242
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
243
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
244
+ return result.done ? result.value : iter.next();
245
+ });
246
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
247
+ return this;
248
+ }), define(Gp, "toString", function () {
249
+ return "[object Generator]";
250
+ }), exports.keys = function (object) {
251
+ var keys = [];
252
+
253
+ for (var key in object) keys.push(key);
254
+
255
+ return keys.reverse(), function next() {
256
+ for (; keys.length;) {
257
+ var key = keys.pop();
258
+ if (key in object) return next.value = key, next.done = !1, next;
259
+ }
260
+
261
+ return next.done = !0, next;
262
+ };
263
+ }, exports.values = values, Context.prototype = {
264
+ constructor: Context,
265
+ reset: function (skipTempReset) {
266
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
267
+ },
268
+ stop: function () {
269
+ this.done = !0;
270
+ var rootRecord = this.tryEntries[0].completion;
271
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
272
+ return this.rval;
273
+ },
274
+ dispatchException: function (exception) {
275
+ if (this.done) throw exception;
276
+ var context = this;
277
+
278
+ function handle(loc, caught) {
279
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
280
+ }
281
+
282
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
283
+ var entry = this.tryEntries[i],
284
+ record = entry.completion;
285
+ if ("root" === entry.tryLoc) return handle("end");
286
+
287
+ if (entry.tryLoc <= this.prev) {
288
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
289
+ hasFinally = hasOwn.call(entry, "finallyLoc");
290
+
291
+ if (hasCatch && hasFinally) {
292
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
293
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
294
+ } else if (hasCatch) {
295
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
296
+ } else {
297
+ if (!hasFinally) throw new Error("try statement without catch or finally");
298
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
299
+ }
300
+ }
301
+ }
302
+ },
303
+ abrupt: function (type, arg) {
304
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
305
+ var entry = this.tryEntries[i];
306
+
307
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
308
+ var finallyEntry = entry;
309
+ break;
310
+ }
311
+ }
312
+
313
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
314
+ var record = finallyEntry ? finallyEntry.completion : {};
315
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
316
+ },
317
+ complete: function (record, afterLoc) {
318
+ if ("throw" === record.type) throw record.arg;
319
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
320
+ },
321
+ finish: function (finallyLoc) {
322
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
323
+ var entry = this.tryEntries[i];
324
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
325
+ }
326
+ },
327
+ catch: function (tryLoc) {
328
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
329
+ var entry = this.tryEntries[i];
330
+
331
+ if (entry.tryLoc === tryLoc) {
332
+ var record = entry.completion;
333
+
334
+ if ("throw" === record.type) {
335
+ var thrown = record.arg;
336
+ resetTryEntry(entry);
337
+ }
338
+
339
+ return thrown;
340
+ }
341
+ }
342
+
343
+ throw new Error("illegal catch attempt");
344
+ },
345
+ delegateYield: function (iterable, resultName, nextLoc) {
346
+ return this.delegate = {
347
+ iterator: values(iterable),
348
+ resultName: resultName,
349
+ nextLoc: nextLoc
350
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
351
+ }
352
+ }, exports;
353
+ }
354
+
10
355
  function _typeof(obj) {
11
356
  "@babel/helpers - typeof";
12
357
 
@@ -94,7 +439,7 @@
94
439
  }
95
440
 
96
441
  function _extends() {
97
- _extends = Object.assign || function (target) {
442
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
98
443
  for (var i = 1; i < arguments.length; i++) {
99
444
  var source = arguments[i];
100
445
 
@@ -107,7 +452,6 @@
107
452
 
108
453
  return target;
109
454
  };
110
-
111
455
  return _extends.apply(this, arguments);
112
456
  }
113
457
 
@@ -131,11 +475,10 @@
131
475
  }
132
476
 
133
477
  function _setPrototypeOf(o, p) {
134
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
478
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
135
479
  o.__proto__ = p;
136
480
  return o;
137
481
  };
138
-
139
482
  return _setPrototypeOf(o, p);
140
483
  }
141
484
 
@@ -154,7 +497,7 @@
154
497
 
155
498
  function _construct(Parent, args, Class) {
156
499
  if (_isNativeReflectConstruct()) {
157
- _construct = Reflect.construct;
500
+ _construct = Reflect.construct.bind();
158
501
  } else {
159
502
  _construct = function _construct(Parent, args, Class) {
160
503
  var a = [null];
@@ -852,9 +1195,11 @@
852
1195
  on: {
853
1196
  "click": _vm.scrollTop
854
1197
  }
855
- }, [_vm._t("default", [_c('i', {
856
- staticClass: "bk-icon icon-angle-up-line"
857
- })])], 2) : _vm._e()]);
1198
+ }, [_vm._t("default", function () {
1199
+ return [_c('i', {
1200
+ staticClass: "bk-icon icon-angle-up-line"
1201
+ })];
1202
+ })], 2) : _vm._e()]);
858
1203
  };
859
1204
 
860
1205
  var __vue_staticRenderFns__ = [];
@@ -1697,7 +2042,9 @@
1697
2042
  staticClass: "bk-alert-content"
1698
2043
  }, [_c('div', {
1699
2044
  staticClass: "bk-alert-title"
1700
- }, [_vm._t("title", [_vm._v("\n " + _vm._s(_vm.title) + "\n ")])], 2), _c('div', {
2045
+ }, [_vm._t("title", function () {
2046
+ return [_vm._v("\n " + _vm._s(_vm.title) + "\n ")];
2047
+ })], 2), _c('div', {
1701
2048
  staticClass: "bk-alert-description"
1702
2049
  })]), _vm.closable ? _c('span', {
1703
2050
  staticClass: "bk-alert-close",
@@ -2379,510 +2726,6 @@
2379
2726
 
2380
2727
  setInstaller(__vue_component__$8);
2381
2728
 
2382
- var runtime_1 = createCommonjsModule(function (module) {
2383
- var runtime = (function (exports) {
2384
- var Op = Object.prototype;
2385
- var hasOwn = Op.hasOwnProperty;
2386
- var undefined$1;
2387
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
2388
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
2389
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
2390
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
2391
- function define(obj, key, value) {
2392
- Object.defineProperty(obj, key, {
2393
- value: value,
2394
- enumerable: true,
2395
- configurable: true,
2396
- writable: true
2397
- });
2398
- return obj[key];
2399
- }
2400
- try {
2401
- define({}, "");
2402
- } catch (err) {
2403
- define = function(obj, key, value) {
2404
- return obj[key] = value;
2405
- };
2406
- }
2407
- function wrap(innerFn, outerFn, self, tryLocsList) {
2408
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
2409
- var generator = Object.create(protoGenerator.prototype);
2410
- var context = new Context(tryLocsList || []);
2411
- generator._invoke = makeInvokeMethod(innerFn, self, context);
2412
- return generator;
2413
- }
2414
- exports.wrap = wrap;
2415
- function tryCatch(fn, obj, arg) {
2416
- try {
2417
- return { type: "normal", arg: fn.call(obj, arg) };
2418
- } catch (err) {
2419
- return { type: "throw", arg: err };
2420
- }
2421
- }
2422
- var GenStateSuspendedStart = "suspendedStart";
2423
- var GenStateSuspendedYield = "suspendedYield";
2424
- var GenStateExecuting = "executing";
2425
- var GenStateCompleted = "completed";
2426
- var ContinueSentinel = {};
2427
- function Generator() {}
2428
- function GeneratorFunction() {}
2429
- function GeneratorFunctionPrototype() {}
2430
- var IteratorPrototype = {};
2431
- define(IteratorPrototype, iteratorSymbol, function () {
2432
- return this;
2433
- });
2434
- var getProto = Object.getPrototypeOf;
2435
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
2436
- if (NativeIteratorPrototype &&
2437
- NativeIteratorPrototype !== Op &&
2438
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
2439
- IteratorPrototype = NativeIteratorPrototype;
2440
- }
2441
- var Gp = GeneratorFunctionPrototype.prototype =
2442
- Generator.prototype = Object.create(IteratorPrototype);
2443
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
2444
- define(Gp, "constructor", GeneratorFunctionPrototype);
2445
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
2446
- GeneratorFunction.displayName = define(
2447
- GeneratorFunctionPrototype,
2448
- toStringTagSymbol,
2449
- "GeneratorFunction"
2450
- );
2451
- function defineIteratorMethods(prototype) {
2452
- ["next", "throw", "return"].forEach(function(method) {
2453
- define(prototype, method, function(arg) {
2454
- return this._invoke(method, arg);
2455
- });
2456
- });
2457
- }
2458
- exports.isGeneratorFunction = function(genFun) {
2459
- var ctor = typeof genFun === "function" && genFun.constructor;
2460
- return ctor
2461
- ? ctor === GeneratorFunction ||
2462
- (ctor.displayName || ctor.name) === "GeneratorFunction"
2463
- : false;
2464
- };
2465
- exports.mark = function(genFun) {
2466
- if (Object.setPrototypeOf) {
2467
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
2468
- } else {
2469
- genFun.__proto__ = GeneratorFunctionPrototype;
2470
- define(genFun, toStringTagSymbol, "GeneratorFunction");
2471
- }
2472
- genFun.prototype = Object.create(Gp);
2473
- return genFun;
2474
- };
2475
- exports.awrap = function(arg) {
2476
- return { __await: arg };
2477
- };
2478
- function AsyncIterator(generator, PromiseImpl) {
2479
- function invoke(method, arg, resolve, reject) {
2480
- var record = tryCatch(generator[method], generator, arg);
2481
- if (record.type === "throw") {
2482
- reject(record.arg);
2483
- } else {
2484
- var result = record.arg;
2485
- var value = result.value;
2486
- if (value &&
2487
- typeof value === "object" &&
2488
- hasOwn.call(value, "__await")) {
2489
- return PromiseImpl.resolve(value.__await).then(function(value) {
2490
- invoke("next", value, resolve, reject);
2491
- }, function(err) {
2492
- invoke("throw", err, resolve, reject);
2493
- });
2494
- }
2495
- return PromiseImpl.resolve(value).then(function(unwrapped) {
2496
- result.value = unwrapped;
2497
- resolve(result);
2498
- }, function(error) {
2499
- return invoke("throw", error, resolve, reject);
2500
- });
2501
- }
2502
- }
2503
- var previousPromise;
2504
- function enqueue(method, arg) {
2505
- function callInvokeWithMethodAndArg() {
2506
- return new PromiseImpl(function(resolve, reject) {
2507
- invoke(method, arg, resolve, reject);
2508
- });
2509
- }
2510
- return previousPromise =
2511
- previousPromise ? previousPromise.then(
2512
- callInvokeWithMethodAndArg,
2513
- callInvokeWithMethodAndArg
2514
- ) : callInvokeWithMethodAndArg();
2515
- }
2516
- this._invoke = enqueue;
2517
- }
2518
- defineIteratorMethods(AsyncIterator.prototype);
2519
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
2520
- return this;
2521
- });
2522
- exports.AsyncIterator = AsyncIterator;
2523
- exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
2524
- if (PromiseImpl === void 0) PromiseImpl = Promise;
2525
- var iter = new AsyncIterator(
2526
- wrap(innerFn, outerFn, self, tryLocsList),
2527
- PromiseImpl
2528
- );
2529
- return exports.isGeneratorFunction(outerFn)
2530
- ? iter
2531
- : iter.next().then(function(result) {
2532
- return result.done ? result.value : iter.next();
2533
- });
2534
- };
2535
- function makeInvokeMethod(innerFn, self, context) {
2536
- var state = GenStateSuspendedStart;
2537
- return function invoke(method, arg) {
2538
- if (state === GenStateExecuting) {
2539
- throw new Error("Generator is already running");
2540
- }
2541
- if (state === GenStateCompleted) {
2542
- if (method === "throw") {
2543
- throw arg;
2544
- }
2545
- return doneResult();
2546
- }
2547
- context.method = method;
2548
- context.arg = arg;
2549
- while (true) {
2550
- var delegate = context.delegate;
2551
- if (delegate) {
2552
- var delegateResult = maybeInvokeDelegate(delegate, context);
2553
- if (delegateResult) {
2554
- if (delegateResult === ContinueSentinel) continue;
2555
- return delegateResult;
2556
- }
2557
- }
2558
- if (context.method === "next") {
2559
- context.sent = context._sent = context.arg;
2560
- } else if (context.method === "throw") {
2561
- if (state === GenStateSuspendedStart) {
2562
- state = GenStateCompleted;
2563
- throw context.arg;
2564
- }
2565
- context.dispatchException(context.arg);
2566
- } else if (context.method === "return") {
2567
- context.abrupt("return", context.arg);
2568
- }
2569
- state = GenStateExecuting;
2570
- var record = tryCatch(innerFn, self, context);
2571
- if (record.type === "normal") {
2572
- state = context.done
2573
- ? GenStateCompleted
2574
- : GenStateSuspendedYield;
2575
- if (record.arg === ContinueSentinel) {
2576
- continue;
2577
- }
2578
- return {
2579
- value: record.arg,
2580
- done: context.done
2581
- };
2582
- } else if (record.type === "throw") {
2583
- state = GenStateCompleted;
2584
- context.method = "throw";
2585
- context.arg = record.arg;
2586
- }
2587
- }
2588
- };
2589
- }
2590
- function maybeInvokeDelegate(delegate, context) {
2591
- var method = delegate.iterator[context.method];
2592
- if (method === undefined$1) {
2593
- context.delegate = null;
2594
- if (context.method === "throw") {
2595
- if (delegate.iterator["return"]) {
2596
- context.method = "return";
2597
- context.arg = undefined$1;
2598
- maybeInvokeDelegate(delegate, context);
2599
- if (context.method === "throw") {
2600
- return ContinueSentinel;
2601
- }
2602
- }
2603
- context.method = "throw";
2604
- context.arg = new TypeError(
2605
- "The iterator does not provide a 'throw' method");
2606
- }
2607
- return ContinueSentinel;
2608
- }
2609
- var record = tryCatch(method, delegate.iterator, context.arg);
2610
- if (record.type === "throw") {
2611
- context.method = "throw";
2612
- context.arg = record.arg;
2613
- context.delegate = null;
2614
- return ContinueSentinel;
2615
- }
2616
- var info = record.arg;
2617
- if (! info) {
2618
- context.method = "throw";
2619
- context.arg = new TypeError("iterator result is not an object");
2620
- context.delegate = null;
2621
- return ContinueSentinel;
2622
- }
2623
- if (info.done) {
2624
- context[delegate.resultName] = info.value;
2625
- context.next = delegate.nextLoc;
2626
- if (context.method !== "return") {
2627
- context.method = "next";
2628
- context.arg = undefined$1;
2629
- }
2630
- } else {
2631
- return info;
2632
- }
2633
- context.delegate = null;
2634
- return ContinueSentinel;
2635
- }
2636
- defineIteratorMethods(Gp);
2637
- define(Gp, toStringTagSymbol, "Generator");
2638
- define(Gp, iteratorSymbol, function() {
2639
- return this;
2640
- });
2641
- define(Gp, "toString", function() {
2642
- return "[object Generator]";
2643
- });
2644
- function pushTryEntry(locs) {
2645
- var entry = { tryLoc: locs[0] };
2646
- if (1 in locs) {
2647
- entry.catchLoc = locs[1];
2648
- }
2649
- if (2 in locs) {
2650
- entry.finallyLoc = locs[2];
2651
- entry.afterLoc = locs[3];
2652
- }
2653
- this.tryEntries.push(entry);
2654
- }
2655
- function resetTryEntry(entry) {
2656
- var record = entry.completion || {};
2657
- record.type = "normal";
2658
- delete record.arg;
2659
- entry.completion = record;
2660
- }
2661
- function Context(tryLocsList) {
2662
- this.tryEntries = [{ tryLoc: "root" }];
2663
- tryLocsList.forEach(pushTryEntry, this);
2664
- this.reset(true);
2665
- }
2666
- exports.keys = function(object) {
2667
- var keys = [];
2668
- for (var key in object) {
2669
- keys.push(key);
2670
- }
2671
- keys.reverse();
2672
- return function next() {
2673
- while (keys.length) {
2674
- var key = keys.pop();
2675
- if (key in object) {
2676
- next.value = key;
2677
- next.done = false;
2678
- return next;
2679
- }
2680
- }
2681
- next.done = true;
2682
- return next;
2683
- };
2684
- };
2685
- function values(iterable) {
2686
- if (iterable) {
2687
- var iteratorMethod = iterable[iteratorSymbol];
2688
- if (iteratorMethod) {
2689
- return iteratorMethod.call(iterable);
2690
- }
2691
- if (typeof iterable.next === "function") {
2692
- return iterable;
2693
- }
2694
- if (!isNaN(iterable.length)) {
2695
- var i = -1, next = function next() {
2696
- while (++i < iterable.length) {
2697
- if (hasOwn.call(iterable, i)) {
2698
- next.value = iterable[i];
2699
- next.done = false;
2700
- return next;
2701
- }
2702
- }
2703
- next.value = undefined$1;
2704
- next.done = true;
2705
- return next;
2706
- };
2707
- return next.next = next;
2708
- }
2709
- }
2710
- return { next: doneResult };
2711
- }
2712
- exports.values = values;
2713
- function doneResult() {
2714
- return { value: undefined$1, done: true };
2715
- }
2716
- Context.prototype = {
2717
- constructor: Context,
2718
- reset: function(skipTempReset) {
2719
- this.prev = 0;
2720
- this.next = 0;
2721
- this.sent = this._sent = undefined$1;
2722
- this.done = false;
2723
- this.delegate = null;
2724
- this.method = "next";
2725
- this.arg = undefined$1;
2726
- this.tryEntries.forEach(resetTryEntry);
2727
- if (!skipTempReset) {
2728
- for (var name in this) {
2729
- if (name.charAt(0) === "t" &&
2730
- hasOwn.call(this, name) &&
2731
- !isNaN(+name.slice(1))) {
2732
- this[name] = undefined$1;
2733
- }
2734
- }
2735
- }
2736
- },
2737
- stop: function() {
2738
- this.done = true;
2739
- var rootEntry = this.tryEntries[0];
2740
- var rootRecord = rootEntry.completion;
2741
- if (rootRecord.type === "throw") {
2742
- throw rootRecord.arg;
2743
- }
2744
- return this.rval;
2745
- },
2746
- dispatchException: function(exception) {
2747
- if (this.done) {
2748
- throw exception;
2749
- }
2750
- var context = this;
2751
- function handle(loc, caught) {
2752
- record.type = "throw";
2753
- record.arg = exception;
2754
- context.next = loc;
2755
- if (caught) {
2756
- context.method = "next";
2757
- context.arg = undefined$1;
2758
- }
2759
- return !! caught;
2760
- }
2761
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2762
- var entry = this.tryEntries[i];
2763
- var record = entry.completion;
2764
- if (entry.tryLoc === "root") {
2765
- return handle("end");
2766
- }
2767
- if (entry.tryLoc <= this.prev) {
2768
- var hasCatch = hasOwn.call(entry, "catchLoc");
2769
- var hasFinally = hasOwn.call(entry, "finallyLoc");
2770
- if (hasCatch && hasFinally) {
2771
- if (this.prev < entry.catchLoc) {
2772
- return handle(entry.catchLoc, true);
2773
- } else if (this.prev < entry.finallyLoc) {
2774
- return handle(entry.finallyLoc);
2775
- }
2776
- } else if (hasCatch) {
2777
- if (this.prev < entry.catchLoc) {
2778
- return handle(entry.catchLoc, true);
2779
- }
2780
- } else if (hasFinally) {
2781
- if (this.prev < entry.finallyLoc) {
2782
- return handle(entry.finallyLoc);
2783
- }
2784
- } else {
2785
- throw new Error("try statement without catch or finally");
2786
- }
2787
- }
2788
- }
2789
- },
2790
- abrupt: function(type, arg) {
2791
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2792
- var entry = this.tryEntries[i];
2793
- if (entry.tryLoc <= this.prev &&
2794
- hasOwn.call(entry, "finallyLoc") &&
2795
- this.prev < entry.finallyLoc) {
2796
- var finallyEntry = entry;
2797
- break;
2798
- }
2799
- }
2800
- if (finallyEntry &&
2801
- (type === "break" ||
2802
- type === "continue") &&
2803
- finallyEntry.tryLoc <= arg &&
2804
- arg <= finallyEntry.finallyLoc) {
2805
- finallyEntry = null;
2806
- }
2807
- var record = finallyEntry ? finallyEntry.completion : {};
2808
- record.type = type;
2809
- record.arg = arg;
2810
- if (finallyEntry) {
2811
- this.method = "next";
2812
- this.next = finallyEntry.finallyLoc;
2813
- return ContinueSentinel;
2814
- }
2815
- return this.complete(record);
2816
- },
2817
- complete: function(record, afterLoc) {
2818
- if (record.type === "throw") {
2819
- throw record.arg;
2820
- }
2821
- if (record.type === "break" ||
2822
- record.type === "continue") {
2823
- this.next = record.arg;
2824
- } else if (record.type === "return") {
2825
- this.rval = this.arg = record.arg;
2826
- this.method = "return";
2827
- this.next = "end";
2828
- } else if (record.type === "normal" && afterLoc) {
2829
- this.next = afterLoc;
2830
- }
2831
- return ContinueSentinel;
2832
- },
2833
- finish: function(finallyLoc) {
2834
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2835
- var entry = this.tryEntries[i];
2836
- if (entry.finallyLoc === finallyLoc) {
2837
- this.complete(entry.completion, entry.afterLoc);
2838
- resetTryEntry(entry);
2839
- return ContinueSentinel;
2840
- }
2841
- }
2842
- },
2843
- "catch": function(tryLoc) {
2844
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
2845
- var entry = this.tryEntries[i];
2846
- if (entry.tryLoc === tryLoc) {
2847
- var record = entry.completion;
2848
- if (record.type === "throw") {
2849
- var thrown = record.arg;
2850
- resetTryEntry(entry);
2851
- }
2852
- return thrown;
2853
- }
2854
- }
2855
- throw new Error("illegal catch attempt");
2856
- },
2857
- delegateYield: function(iterable, resultName, nextLoc) {
2858
- this.delegate = {
2859
- iterator: values(iterable),
2860
- resultName: resultName,
2861
- nextLoc: nextLoc
2862
- };
2863
- if (this.method === "next") {
2864
- this.arg = undefined$1;
2865
- }
2866
- return ContinueSentinel;
2867
- }
2868
- };
2869
- return exports;
2870
- }(
2871
- module.exports
2872
- ));
2873
- try {
2874
- regeneratorRuntime = runtime;
2875
- } catch (accidentalStrictMode) {
2876
- if (typeof globalThis === "object") {
2877
- globalThis.regeneratorRuntime = runtime;
2878
- } else {
2879
- Function("r", "regeneratorRuntime = r")(runtime);
2880
- }
2881
- }
2882
- });
2883
-
2884
- var regenerator = runtime_1;
2885
-
2886
2729
  var emitter = {
2887
2730
  methods: {
2888
2731
  dispatch: function dispatch(componentName, eventName, params) {
@@ -3053,9 +2896,9 @@
3053
2896
  },
3054
2897
  handleClick: function handleClick() {
3055
2898
  var _this = this;
3056
- return _asyncToGenerator( regenerator.mark(function _callee() {
2899
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
3057
2900
  var shouldChange, oldValue, newValue, groupValue;
3058
- return regenerator.wrap(function _callee$(_context) {
2901
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
3059
2902
  while (1) {
3060
2903
  switch (_context.prev = _context.next) {
3061
2904
  case 0:
@@ -3125,12 +2968,12 @@
3125
2968
  on: {
3126
2969
  "click": _vm.handleClick,
3127
2970
  "keydown": function keydown($event) {
3128
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
2971
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
3129
2972
  return null;
3130
2973
  }
3131
2974
 
3132
2975
  $event.preventDefault();
3133
- return _vm.handleClick($event);
2976
+ return _vm.handleClick.apply(null, arguments);
3134
2977
  }
3135
2978
  }
3136
2979
  }, [_c('span', {
@@ -6090,7 +5933,7 @@
6090
5933
  "keydown": _vm.handleArrowKeydown,
6091
5934
  "mousedown": function mousedown($event) {
6092
5935
  $event.stopPropagation();
6093
- return _vm.handleMouseDown($event);
5936
+ return _vm.handleMouseDown.apply(null, arguments);
6094
5937
  }
6095
5938
  }
6096
5939
  }, [_c('div', {
@@ -6234,7 +6077,7 @@
6234
6077
  "keydown": _vm.handleArrowKeydown,
6235
6078
  "mousedown": function mousedown($event) {
6236
6079
  $event.stopPropagation();
6237
- return _vm.handleMouseDown($event);
6080
+ return _vm.handleMouseDown.apply(null, arguments);
6238
6081
  }
6239
6082
  }
6240
6083
  }, [_c('div', {
@@ -6313,11 +6156,11 @@
6313
6156
  },
6314
6157
  on: {
6315
6158
  "keydown": function keydown($event) {
6316
- if (!('button' in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
6159
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
6317
6160
  return null;
6318
6161
  }
6319
6162
 
6320
- return _vm.handleTab($event);
6163
+ return _vm.handleTab.apply(null, arguments);
6321
6164
  },
6322
6165
  "input": _vm.handleInput
6323
6166
  }
@@ -6650,7 +6493,7 @@
6650
6493
  },
6651
6494
  on: {
6652
6495
  "click": function click($event) {
6653
- _vm.selectColor(index);
6496
+ return _vm.selectColor(index);
6654
6497
  }
6655
6498
  }
6656
6499
  }, [_c('div', {
@@ -8496,111 +8339,113 @@
8496
8339
  }, [_c('div', {
8497
8340
  ref: "reference",
8498
8341
  staticClass: "bk-date-picker-rel"
8499
- }, [_vm._t("trigger", [_c('span', {
8500
- staticClass: "icon-wrapper",
8501
- class: _vm.disabled ? 'disabled' : '',
8502
- on: {
8503
- "click": _vm.handleIconClick,
8504
- "mouseenter": _vm.handleInputMouseenter,
8505
- "mouseleave": _vm.handleInputMouseleave
8506
- }
8507
- }, [_vm.type === 'time' || _vm.type === 'timerange' ? _c('svg', {
8508
- staticClass: "picker-icon",
8509
- attrs: {
8510
- "x": "0px",
8511
- "y": "0px",
8512
- "viewBox": "0 0 1024 1024"
8513
- }
8514
- }, [_c('g', {
8515
- attrs: {
8516
- "id": "time"
8517
- }
8518
- }, [_c('path', {
8519
- attrs: {
8520
- "fill": "#c4c6cc",
8521
- "d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1\n c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3\n c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1\n c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3\n C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"
8522
- }
8523
- }), _c('polygon', {
8524
- attrs: {
8525
- "fill": "#c4c6cc",
8526
- "points": "512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"
8527
- }
8528
- })])]) : _c('svg', {
8529
- staticClass: "picker-icon",
8530
- attrs: {
8531
- "x": "0px",
8532
- "y": "0px",
8533
- "viewBox": "0 0 1024 1024"
8534
- }
8535
- }, [_c('g', {
8536
- attrs: {
8537
- "id": "date"
8538
- }
8539
- }, [_c('path', {
8540
- attrs: {
8541
- "fill": "#c4c6cc",
8542
- "d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768\n c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"
8543
- }
8544
- }), _c('rect', {
8545
- attrs: {
8546
- "x": "416",
8547
- "y": "128",
8548
- "fill": "#c4c6cc",
8549
- "width": "192",
8550
- "height": "64"
8551
- }
8552
- }), _c('rect', {
8553
- attrs: {
8554
- "x": "288",
8555
- "y": "96",
8556
- "fill": "#c4c6cc",
8557
- "width": "64",
8558
- "height": "128"
8559
- }
8560
- }), _c('rect', {
8561
- attrs: {
8562
- "x": "672",
8563
- "y": "96",
8564
- "fill": "#c4c6cc",
8565
- "width": "64",
8566
- "height": "128"
8567
- }
8568
- }), _c('polygon', {
8569
- attrs: {
8570
- "fill": "#c4c6cc",
8571
- "points": "403.7,514.4 557.1,514.4 557.1,515.3 420.1,765.5 483.5,765.5 620.3,504.3 620.3,466.5 403.7,466.5"
8572
- }
8573
- })])])]), _c('input', {
8574
- key: _vm.forceInputRerender,
8575
- ref: "input",
8576
- staticClass: "bk-date-picker-editor",
8577
- class: [_vm.readonly ? 'readonly' : '', _vm.fontSizeCls, {
8578
- 'only-bottom-border': _vm.behavior === 'simplicity'
8579
- }],
8580
- attrs: {
8581
- "type": "text",
8582
- "readonly": _vm.localReadonly,
8583
- "disabled": _vm.disabled,
8584
- "placeholder": _vm.placeholder
8585
- },
8586
- domProps: {
8587
- "value": _vm.displayValue
8588
- },
8589
- on: {
8590
- "focus": _vm.handleFocus,
8591
- "blur": _vm.handleBlur,
8592
- "click": _vm.handleFocus,
8593
- "change": _vm.handleInputChange,
8594
- "keydown": _vm.handleKeydown,
8595
- "mouseenter": _vm.handleInputMouseenter,
8596
- "mouseleave": _vm.handleInputMouseleave
8597
- }
8598
- }), _vm.clearable && _vm.showClose ? _c('i', {
8599
- staticClass: "bk-icon icon-close-circle-shape clear-action",
8600
- on: {
8601
- "click": _vm.handleClear
8602
- }
8603
- }) : _vm._e()])], 2), _c('transition', {
8342
+ }, [_vm._t("trigger", function () {
8343
+ return [_c('span', {
8344
+ staticClass: "icon-wrapper",
8345
+ class: _vm.disabled ? 'disabled' : '',
8346
+ on: {
8347
+ "click": _vm.handleIconClick,
8348
+ "mouseenter": _vm.handleInputMouseenter,
8349
+ "mouseleave": _vm.handleInputMouseleave
8350
+ }
8351
+ }, [_vm.type === 'time' || _vm.type === 'timerange' ? _c('svg', {
8352
+ staticClass: "picker-icon",
8353
+ attrs: {
8354
+ "x": "0px",
8355
+ "y": "0px",
8356
+ "viewBox": "0 0 1024 1024"
8357
+ }
8358
+ }, [_c('g', {
8359
+ attrs: {
8360
+ "id": "time"
8361
+ }
8362
+ }, [_c('path', {
8363
+ attrs: {
8364
+ "fill": "#c4c6cc",
8365
+ "d": "M512,128c51.9,0,102.2,10.1,149.5,30.2c45.7,19.3,86.8,47,122.1,82.3s63,76.4,82.3,122.1\n c20,47.3,30.2,97.6,30.2,149.5S886,614.3,865.9,661.6c-19.3,45.7-47,86.8-82.3,122.1s-76.4,63-122.1,82.3\n c-47.3,20-97.6,30.2-149.5,30.2S409.8,886.1,362.5,866c-45.7-19.3-86.8-47-122.1-82.3s-63-76.4-82.3-122.1\n c-20-47.3-30.2-97.6-30.2-149.5s10.1-102.2,30.2-149.5c19.3-45.7,47-86.8,82.3-122.1s76.4-63,122.1-82.3\n C409.8,138.1,460.1,128,512,128 M512,64C264.6,64,64,264.6,64,512s200.6,448,448,448s448-200.6,448-448S759.4,64,512,64L512,64z"
8366
+ }
8367
+ }), _c('polygon', {
8368
+ attrs: {
8369
+ "fill": "#c4c6cc",
8370
+ "points": "512,512 512,256 448,256 448,512 448,576 512,576 768,576 768,512"
8371
+ }
8372
+ })])]) : _c('svg', {
8373
+ staticClass: "picker-icon",
8374
+ attrs: {
8375
+ "x": "0px",
8376
+ "y": "0px",
8377
+ "viewBox": "0 0 1024 1024"
8378
+ }
8379
+ }, [_c('g', {
8380
+ attrs: {
8381
+ "id": "date"
8382
+ }
8383
+ }, [_c('path', {
8384
+ attrs: {
8385
+ "fill": "#c4c6cc",
8386
+ "d": "M896,128h-96v64h64v112H160V192h64v-64h-96c-17.7,0-32,14.3-32,32v736c0,17.7,14.3,32,32,32h768\n c17.7,0,32-14.3,32-32V160C928,142.3,913.7,128,896,128z M160,864V368h704v496H160z"
8387
+ }
8388
+ }), _c('rect', {
8389
+ attrs: {
8390
+ "x": "416",
8391
+ "y": "128",
8392
+ "fill": "#c4c6cc",
8393
+ "width": "192",
8394
+ "height": "64"
8395
+ }
8396
+ }), _c('rect', {
8397
+ attrs: {
8398
+ "x": "288",
8399
+ "y": "96",
8400
+ "fill": "#c4c6cc",
8401
+ "width": "64",
8402
+ "height": "128"
8403
+ }
8404
+ }), _c('rect', {
8405
+ attrs: {
8406
+ "x": "672",
8407
+ "y": "96",
8408
+ "fill": "#c4c6cc",
8409
+ "width": "64",
8410
+ "height": "128"
8411
+ }
8412
+ }), _c('polygon', {
8413
+ attrs: {
8414
+ "fill": "#c4c6cc",
8415
+ "points": "403.7,514.4 557.1,514.4 557.1,515.3 420.1,765.5 483.5,765.5 620.3,504.3 620.3,466.5 403.7,466.5"
8416
+ }
8417
+ })])])]), _c('input', {
8418
+ key: _vm.forceInputRerender,
8419
+ ref: "input",
8420
+ staticClass: "bk-date-picker-editor",
8421
+ class: [_vm.readonly ? 'readonly' : '', _vm.fontSizeCls, {
8422
+ 'only-bottom-border': _vm.behavior === 'simplicity'
8423
+ }],
8424
+ attrs: {
8425
+ "type": "text",
8426
+ "readonly": _vm.localReadonly,
8427
+ "disabled": _vm.disabled,
8428
+ "placeholder": _vm.placeholder
8429
+ },
8430
+ domProps: {
8431
+ "value": _vm.displayValue
8432
+ },
8433
+ on: {
8434
+ "focus": _vm.handleFocus,
8435
+ "blur": _vm.handleBlur,
8436
+ "click": _vm.handleFocus,
8437
+ "change": _vm.handleInputChange,
8438
+ "keydown": _vm.handleKeydown,
8439
+ "mouseenter": _vm.handleInputMouseenter,
8440
+ "mouseleave": _vm.handleInputMouseleave
8441
+ }
8442
+ }), _vm.clearable && _vm.showClose ? _c('i', {
8443
+ staticClass: "bk-icon icon-close-circle-shape clear-action",
8444
+ on: {
8445
+ "click": _vm.handleClear
8446
+ }
8447
+ }) : _vm._e()];
8448
+ })], 2), _c('transition', {
8604
8449
  attrs: {
8605
8450
  "name": "transition-drop"
8606
8451
  }
@@ -8624,7 +8469,7 @@
8624
8469
  },
8625
8470
  nativeOn: {
8626
8471
  "click": function click($event) {
8627
- return _vm.handleTransferClick($event);
8472
+ return _vm.handleTransferClick.apply(null, arguments);
8628
8473
  }
8629
8474
  }
8630
8475
  }, [_vm.hasHeader ? [_c('div', {
@@ -9964,10 +9809,10 @@
9964
9809
  class: _vm.getCellCls(cell),
9965
9810
  on: {
9966
9811
  "click": function click($event) {
9967
- _vm.handleClick(cell, $event);
9812
+ return _vm.handleClick(cell, $event);
9968
9813
  },
9969
9814
  "mouseenter": function mouseenter($event) {
9970
- _vm.handleMouseMove(cell);
9815
+ return _vm.handleMouseMove(cell);
9971
9816
  }
9972
9817
  }
9973
9818
  }, [_c('em', [_vm._v(_vm._s(cell.desc))])]);
@@ -10057,10 +9902,10 @@
10057
9902
  class: _vm.getCellCls(cell),
10058
9903
  on: {
10059
9904
  "click": function click($event) {
10060
- _vm.handleClick(cell);
9905
+ return _vm.handleClick(cell);
10061
9906
  },
10062
9907
  "mouseenter": function mouseenter($event) {
10063
- _vm.handleMouseMove(cell);
9908
+ return _vm.handleMouseMove(cell);
10064
9909
  }
10065
9910
  }
10066
9911
  }, [_c('em', [_vm._v(_vm._s(cell.date.getFullYear()))])]);
@@ -10149,10 +9994,10 @@
10149
9994
  class: _vm.getCellCls(cell),
10150
9995
  on: {
10151
9996
  "click": function click($event) {
10152
- _vm.handleClick(cell);
9997
+ return _vm.handleClick(cell);
10153
9998
  },
10154
9999
  "mouseenter": function mouseenter($event) {
10155
- _vm.handleMouseMove(cell);
10000
+ return _vm.handleMouseMove(cell);
10156
10001
  }
10157
10002
  }
10158
10003
  }, [_c('em', [_vm._v(_vm._s(cell.text))])]);
@@ -10253,11 +10098,11 @@
10253
10098
  staticClass: "bk-picker-confirm",
10254
10099
  on: {
10255
10100
  "!keydown": function keydown($event) {
10256
- if (!('button' in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
10101
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
10257
10102
  return null;
10258
10103
  }
10259
10104
 
10260
- return _vm.handleTab($event);
10105
+ return _vm.handleTab.apply(null, arguments);
10261
10106
  }
10262
10107
  }
10263
10108
  }, [_vm.showTime ? _c('a', {
@@ -10285,11 +10130,11 @@
10285
10130
  on: {
10286
10131
  "click": _vm.handleSuccess,
10287
10132
  "keydown": function keydown($event) {
10288
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
10133
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
10289
10134
  return null;
10290
10135
  }
10291
10136
 
10292
- return _vm.handleSuccess($event);
10137
+ return _vm.handleSuccess.apply(null, arguments);
10293
10138
  }
10294
10139
  }
10295
10140
  }, [_vm._v(_vm._s(_vm.labels.ok))])]);
@@ -10818,7 +10663,7 @@
10818
10663
  class: _vm.getCellCls(item),
10819
10664
  on: {
10820
10665
  "click": function click($event) {
10821
- _vm.handleClick('hours', item);
10666
+ return _vm.handleClick('hours', item);
10822
10667
  }
10823
10668
  }
10824
10669
  }, [_vm._v(_vm._s(_vm.padTime(item.text)))]);
@@ -10840,7 +10685,7 @@
10840
10685
  class: _vm.getCellCls(item),
10841
10686
  on: {
10842
10687
  "click": function click($event) {
10843
- _vm.handleClick('minutes', item);
10688
+ return _vm.handleClick('minutes', item);
10844
10689
  }
10845
10690
  }
10846
10691
  }, [_vm._v(_vm._s(_vm.padTime(item.text)))]);
@@ -10868,7 +10713,7 @@
10868
10713
  class: _vm.getCellCls(item),
10869
10714
  on: {
10870
10715
  "click": function click($event) {
10871
- _vm.handleClick('seconds', item);
10716
+ return _vm.handleClick('seconds', item);
10872
10717
  }
10873
10718
  }
10874
10719
  }, [_vm._v(_vm._s(_vm.padTime(item.text)))]);
@@ -11507,7 +11352,7 @@
11507
11352
  staticClass: "bk-picker-panel-shortcut",
11508
11353
  on: {
11509
11354
  "click": function click($event) {
11510
- _vm.handleShortcutClick(shortcut);
11355
+ return _vm.handleShortcutClick(shortcut);
11511
11356
  }
11512
11357
  }
11513
11358
  }, [_vm._v("\n " + _vm._s(shortcut.text) + "\n ")]);
@@ -11528,7 +11373,7 @@
11528
11373
  class: _vm.iconBtnCls('prev', '-double'),
11529
11374
  on: {
11530
11375
  "click": function click($event) {
11531
- _vm.changeYear(-1);
11376
+ return _vm.changeYear(-1);
11532
11377
  }
11533
11378
  }
11534
11379
  }, [_c('i', {
@@ -11543,7 +11388,7 @@
11543
11388
  class: _vm.iconBtnCls('prev'),
11544
11389
  on: {
11545
11390
  "click": function click($event) {
11546
- _vm.changeMonth(-1);
11391
+ return _vm.changeMonth(-1);
11547
11392
  }
11548
11393
  }
11549
11394
  }, [_c('i', {
@@ -11557,7 +11402,7 @@
11557
11402
  class: _vm.iconBtnCls('next', '-double'),
11558
11403
  on: {
11559
11404
  "click": function click($event) {
11560
- _vm.changeYear(+1);
11405
+ return _vm.changeYear(+1);
11561
11406
  }
11562
11407
  }
11563
11408
  }, [_c('i', {
@@ -11572,7 +11417,7 @@
11572
11417
  class: _vm.iconBtnCls('next'),
11573
11418
  on: {
11574
11419
  "click": function click($event) {
11575
- _vm.changeMonth(+1);
11420
+ return _vm.changeMonth(+1);
11576
11421
  }
11577
11422
  }
11578
11423
  }, [_c('i', {
@@ -12160,7 +12005,7 @@
12160
12005
  class: _vm.iconBtnCls('prev', '-double'),
12161
12006
  on: {
12162
12007
  "click": function click($event) {
12163
- _vm.prevYear('left');
12008
+ return _vm.prevYear('left');
12164
12009
  }
12165
12010
  }
12166
12011
  }, [_c('i', {
@@ -12175,7 +12020,7 @@
12175
12020
  class: _vm.iconBtnCls('prev'),
12176
12021
  on: {
12177
12022
  "click": function click($event) {
12178
- _vm.prevMonth('left');
12023
+ return _vm.prevMonth('left');
12179
12024
  }
12180
12025
  }
12181
12026
  }, [_c('i', {
@@ -12189,7 +12034,7 @@
12189
12034
  class: _vm.iconBtnCls('next', '-double'),
12190
12035
  on: {
12191
12036
  "click": function click($event) {
12192
- _vm.nextYear('left');
12037
+ return _vm.nextYear('left');
12193
12038
  }
12194
12039
  }
12195
12040
  }, [_c('i', {
@@ -12204,7 +12049,7 @@
12204
12049
  class: _vm.iconBtnCls('next'),
12205
12050
  on: {
12206
12051
  "click": function click($event) {
12207
- _vm.nextMonth('left');
12052
+ return _vm.nextMonth('left');
12208
12053
  }
12209
12054
  }
12210
12055
  }, [_c('i', {
@@ -12248,7 +12093,7 @@
12248
12093
  class: _vm.iconBtnCls('prev', '-double'),
12249
12094
  on: {
12250
12095
  "click": function click($event) {
12251
- _vm.prevYear('right');
12096
+ return _vm.prevYear('right');
12252
12097
  }
12253
12098
  }
12254
12099
  }, [_c('i', {
@@ -12263,7 +12108,7 @@
12263
12108
  class: _vm.iconBtnCls('prev'),
12264
12109
  on: {
12265
12110
  "click": function click($event) {
12266
- _vm.prevMonth('right');
12111
+ return _vm.prevMonth('right');
12267
12112
  }
12268
12113
  }
12269
12114
  }, [_c('i', {
@@ -12292,7 +12137,7 @@
12292
12137
  class: _vm.iconBtnCls('next', '-double'),
12293
12138
  on: {
12294
12139
  "click": function click($event) {
12295
- _vm.nextYear('right');
12140
+ return _vm.nextYear('right');
12296
12141
  }
12297
12142
  }
12298
12143
  }, [_c('i', {
@@ -12307,7 +12152,7 @@
12307
12152
  class: _vm.iconBtnCls('next'),
12308
12153
  on: {
12309
12154
  "click": function click($event) {
12310
- _vm.nextMonth('right');
12155
+ return _vm.nextMonth('right');
12311
12156
  }
12312
12157
  }
12313
12158
  }, [_c('i', {
@@ -12370,7 +12215,7 @@
12370
12215
  staticClass: "bk-picker-panel-shortcut",
12371
12216
  on: {
12372
12217
  "click": function click($event) {
12373
- _vm.handleShortcutClick(shortcut);
12218
+ return _vm.handleShortcutClick(shortcut);
12374
12219
  }
12375
12220
  }
12376
12221
  }, [_vm._v(_vm._s(shortcut.text))]);
@@ -13342,9 +13187,9 @@
13342
13187
  close: function close() {
13343
13188
  var _this2 = this;
13344
13189
  var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'cancel';
13345
- return _asyncToGenerator( regenerator.mark(function _callee() {
13190
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
13346
13191
  var shouldClose;
13347
- return regenerator.wrap(function _callee$(_context) {
13192
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
13348
13193
  while (1) {
13349
13194
  switch (_context.prev = _context.next) {
13350
13195
  case 0:
@@ -13401,8 +13246,8 @@
13401
13246
  var _this3 = this;
13402
13247
  if (this.loading) return false;
13403
13248
  this.$emit('confirm');
13404
- this.$nextTick( _asyncToGenerator( regenerator.mark(function _callee2() {
13405
- return regenerator.wrap(function _callee2$(_context2) {
13249
+ this.$nextTick( _asyncToGenerator( _regeneratorRuntime().mark(function _callee2() {
13250
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
13406
13251
  while (1) {
13407
13252
  switch (_context2.prev = _context2.next) {
13408
13253
  case 0:
@@ -13494,7 +13339,7 @@
13494
13339
  on: {
13495
13340
  "mousedown": function mousedown($event) {
13496
13341
  $event.stopPropagation();
13497
- return _vm.wrapClickHandler($event);
13342
+ return _vm.wrapClickHandler.apply(null, arguments);
13498
13343
  }
13499
13344
  }
13500
13345
  }, [_c('transition', {
@@ -13524,7 +13369,7 @@
13524
13369
  staticClass: "bk-dialog-tool",
13525
13370
  on: {
13526
13371
  "mousedown": function mousedown($event) {
13527
- if (!('button' in $event) && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
13372
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
13528
13373
  return null;
13529
13374
  }
13530
13375
 
@@ -13532,100 +13377,114 @@
13532
13377
  return null;
13533
13378
  }
13534
13379
 
13535
- return _vm.moveStartHandler($event);
13380
+ return _vm.moveStartHandler.apply(null, arguments);
13536
13381
  }
13537
13382
  }
13538
13383
  }, [_vm._t("tools")], 2), _vm.type ? [_c('div', {
13539
13384
  staticClass: "bk-dialog-type-body",
13540
13385
  class: _vm.type === 'loading' ? 'loading' : ''
13541
- }, [_vm._t("type-body", [_vm.type === 'loading' ? [_c('img', {
13542
- staticClass: "bk-dialog-loading",
13543
- attrs: {
13544
- "src": __$_require_ui_images_default_loading_png__,
13545
- "alt": "loading"
13546
- }
13547
- })] : [_c('i', {
13548
- staticClass: "bk-icon bk-dialog-mark",
13549
- class: ['bk-dialog-' + _vm.type, 'icon-' + _vm.calcIcon]
13550
- })]])], 2), _vm.title || _vm.$slots['type-header'] ? _c('div', {
13386
+ }, [_vm._t("type-body", function () {
13387
+ return [_vm.type === 'loading' ? [_c('img', {
13388
+ staticClass: "bk-dialog-loading",
13389
+ attrs: {
13390
+ "src": __$_require_ui_images_default_loading_png__,
13391
+ "alt": "loading"
13392
+ }
13393
+ })] : [_c('i', {
13394
+ staticClass: "bk-icon bk-dialog-mark",
13395
+ class: ['bk-dialog-' + _vm.type, 'icon-' + _vm.calcIcon]
13396
+ })]];
13397
+ })], 2), _vm.title || _vm.$slots['type-header'] ? _c('div', {
13551
13398
  staticClass: "bk-dialog-type-header",
13552
13399
  class: [_vm.type === 'loading' ? 'loading' : '', _vm.subTitle || _vm.$slots['type-sub-header'] ? 'has-sub-header' : '']
13553
13400
  }, [_c('div', {
13554
13401
  staticClass: "header"
13555
- }, [_vm._t("type-header", [_vm._v(_vm._s(_vm.title))])], 2)]) : _vm._e(), _vm.subTitle || _vm.$slots['type-sub-header'] ? _c('div', {
13402
+ }, [_vm._t("type-header", function () {
13403
+ return [_vm._v(_vm._s(_vm.title))];
13404
+ })], 2)]) : _vm._e(), _vm.subTitle || _vm.$slots['type-sub-header'] ? _c('div', {
13556
13405
  staticClass: "bk-dialog-type-sub-header",
13557
13406
  class: _vm.type === 'loading' ? 'loading' : ''
13558
13407
  }, [_c('div', {
13559
13408
  staticClass: "header"
13560
- }, [_vm._t("type-sub-header", [_vm._v(_vm._s(_vm.subTitle))])], 2)]) : _vm._e(), _vm.showFooter ? _c('div', {
13409
+ }, [_vm._t("type-sub-header", function () {
13410
+ return [_vm._v(_vm._s(_vm.subTitle))];
13411
+ })], 2)]) : _vm._e(), _vm.showFooter ? _c('div', {
13561
13412
  staticClass: "bk-dialog-footer"
13562
- }, [_vm._t("footer", [_c('div', {
13563
- staticClass: "footer-wrapper"
13564
- }, [_c('bk-button', {
13565
- attrs: {
13566
- "type": "button",
13567
- "name": "confirm",
13568
- "loading": _vm.buttonLoading,
13569
- "theme": _vm.theme
13570
- },
13571
- nativeOn: {
13572
- "click": function click($event) {
13573
- return _vm.okHandler($event);
13413
+ }, [_vm._t("footer", function () {
13414
+ return [_c('div', {
13415
+ staticClass: "footer-wrapper"
13416
+ }, [_c('bk-button', {
13417
+ attrs: {
13418
+ "type": "button",
13419
+ "name": "confirm",
13420
+ "loading": _vm.buttonLoading,
13421
+ "theme": _vm.theme
13422
+ },
13423
+ nativeOn: {
13424
+ "click": function click($event) {
13425
+ return _vm.okHandler.apply(null, arguments);
13426
+ }
13574
13427
  }
13575
- }
13576
- }, [_vm._v("\n " + _vm._s(_vm.localeOkText) + "\n ")]), _c('bk-button', {
13577
- attrs: {
13578
- "type": "button",
13579
- "name": "cancel",
13580
- "disabled": _vm.buttonLoading
13581
- },
13582
- nativeOn: {
13583
- "click": function click($event) {
13584
- return _vm.cancelHandler($event);
13428
+ }, [_vm._v("\n " + _vm._s(_vm.localeOkText) + "\n ")]), _c('bk-button', {
13429
+ attrs: {
13430
+ "type": "button",
13431
+ "name": "cancel",
13432
+ "disabled": _vm.buttonLoading
13433
+ },
13434
+ nativeOn: {
13435
+ "click": function click($event) {
13436
+ return _vm.cancelHandler.apply(null, arguments);
13437
+ }
13585
13438
  }
13586
- }
13587
- }, [_vm._v("\n " + _vm._s(_vm.localeCancelText) + "\n ")])], 1)])], 2) : _vm._e()] : [_vm.showHead ? _c('div', {
13439
+ }, [_vm._v("\n " + _vm._s(_vm.localeCancelText) + "\n ")])], 1)];
13440
+ })], 2) : _vm._e()] : [_vm.showHead ? _c('div', {
13588
13441
  staticClass: "bk-dialog-header"
13589
- }, [_vm._t("header", [_c('div', {
13590
- staticClass: "bk-dialog-header-inner"
13591
- }, [_vm._v(_vm._s(_vm.title))])])], 2) : _vm._e(), _c('div', {
13442
+ }, [_vm._t("header", function () {
13443
+ return [_c('div', {
13444
+ staticClass: "bk-dialog-header-inner"
13445
+ }, [_vm._v(_vm._s(_vm.title))])];
13446
+ })], 2) : _vm._e(), _c('div', {
13592
13447
  staticClass: "bk-dialog-sub-header",
13593
13448
  class: _vm.subTitle || _vm.$slots['sub-header'] ? 'has-sub' : ''
13594
- }, [_vm._t("sub-header", [_c('div', {
13595
- staticClass: "bk-dialog-header-inner"
13596
- }, [_vm._v(_vm._s(_vm.subTitle))])])], 2), _vm.showFooter ? _c('div', {
13449
+ }, [_vm._t("sub-header", function () {
13450
+ return [_c('div', {
13451
+ staticClass: "bk-dialog-header-inner"
13452
+ }, [_vm._v(_vm._s(_vm.subTitle))])];
13453
+ })], 2), _vm.showFooter ? _c('div', {
13597
13454
  staticClass: "bk-dialog-footer"
13598
- }, [_vm._t("footer", [_c('div', {
13599
- staticClass: "footer-wrapper"
13600
- }, [_c('bk-button', {
13601
- attrs: {
13602
- "type": "button",
13603
- "name": "confirm",
13604
- "loading": _vm.buttonLoading,
13605
- "theme": _vm.theme
13606
- },
13607
- nativeOn: {
13608
- "click": function click($event) {
13609
- return _vm.okHandler($event);
13455
+ }, [_vm._t("footer", function () {
13456
+ return [_c('div', {
13457
+ staticClass: "footer-wrapper"
13458
+ }, [_c('bk-button', {
13459
+ attrs: {
13460
+ "type": "button",
13461
+ "name": "confirm",
13462
+ "loading": _vm.buttonLoading,
13463
+ "theme": _vm.theme
13464
+ },
13465
+ nativeOn: {
13466
+ "click": function click($event) {
13467
+ return _vm.okHandler.apply(null, arguments);
13468
+ }
13610
13469
  }
13611
- }
13612
- }, [_vm._v("\n " + _vm._s(_vm.localeOkText) + "\n ")]), _c('bk-button', {
13613
- attrs: {
13614
- "type": "button",
13615
- "name": "cancel",
13616
- "disabled": _vm.buttonLoading
13617
- },
13618
- nativeOn: {
13619
- "click": function click($event) {
13620
- return _vm.cancelHandler($event);
13470
+ }, [_vm._v("\n " + _vm._s(_vm.localeOkText) + "\n ")]), _c('bk-button', {
13471
+ attrs: {
13472
+ "type": "button",
13473
+ "name": "cancel",
13474
+ "disabled": _vm.buttonLoading
13475
+ },
13476
+ nativeOn: {
13477
+ "click": function click($event) {
13478
+ return _vm.cancelHandler.apply(null, arguments);
13479
+ }
13621
13480
  }
13622
- }
13623
- }, [_vm._v("\n " + _vm._s(_vm.localeCancelText) + "\n ")])], 1)])], 2) : _vm._e()], _vm.closeIcon ? _c('i', {
13481
+ }, [_vm._v("\n " + _vm._s(_vm.localeCancelText) + "\n ")])], 1)];
13482
+ })], 2) : _vm._e()], _vm.closeIcon ? _c('i', {
13624
13483
  staticClass: "bk-dialog-close bk-icon icon-close",
13625
13484
  on: {
13626
13485
  "click": function click($event) {
13627
13486
  $event.stopPropagation();
13628
- return _vm.closeHandler($event);
13487
+ return _vm.closeHandler.apply(null, arguments);
13629
13488
  }
13630
13489
  }
13631
13490
  }) : _vm._e()], 2)])] : [_vm.shouldRender || _vm.visible ? _c('div', {
@@ -13648,7 +13507,7 @@
13648
13507
  staticClass: "bk-dialog-tool",
13649
13508
  on: {
13650
13509
  "mousedown": function mousedown($event) {
13651
- if (!('button' in $event) && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
13510
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
13652
13511
  return null;
13653
13512
  }
13654
13513
 
@@ -13656,7 +13515,7 @@
13656
13515
  return null;
13657
13516
  }
13658
13517
 
13659
- return _vm.moveStartHandler($event);
13518
+ return _vm.moveStartHandler.apply(null, arguments);
13660
13519
  }
13661
13520
  }
13662
13521
  }, [_vm._t("tools")], 2), _vm.showHead ? _c('div', {
@@ -13667,49 +13526,53 @@
13667
13526
  style: {
13668
13527
  textAlign: _vm.headerPosition
13669
13528
  }
13670
- }, [_vm._t("header", [_c('div', {
13671
- class: {
13672
- 'bk-dialog-header-inner': true,
13673
- 'header-center': _vm.headerPosition === 'center'
13674
- }
13675
- }, [_vm._v(_vm._s(_vm.title))])])], 2) : _vm._e(), _c('div', {
13529
+ }, [_vm._t("header", function () {
13530
+ return [_c('div', {
13531
+ class: {
13532
+ 'bk-dialog-header-inner': true,
13533
+ 'header-center': _vm.headerPosition === 'center'
13534
+ }
13535
+ }, [_vm._v(_vm._s(_vm.title))])];
13536
+ })], 2) : _vm._e(), _c('div', {
13676
13537
  staticClass: "bk-dialog-body"
13677
13538
  }, [_vm._t("default")], 2), _vm.showFooter ? _c('div', {
13678
13539
  staticClass: "bk-dialog-footer",
13679
13540
  style: {
13680
13541
  textAlign: _vm.footerPosition
13681
13542
  }
13682
- }, [_vm._t("footer", [_c('div', {
13683
- staticClass: "footer-wrapper"
13684
- }, [_c('bk-button', {
13685
- attrs: {
13686
- "type": "button",
13687
- "name": "confirm",
13688
- "loading": _vm.buttonLoading,
13689
- "theme": _vm.theme
13690
- },
13691
- nativeOn: {
13692
- "click": function click($event) {
13693
- return _vm.okHandler($event);
13543
+ }, [_vm._t("footer", function () {
13544
+ return [_c('div', {
13545
+ staticClass: "footer-wrapper"
13546
+ }, [_c('bk-button', {
13547
+ attrs: {
13548
+ "type": "button",
13549
+ "name": "confirm",
13550
+ "loading": _vm.buttonLoading,
13551
+ "theme": _vm.theme
13552
+ },
13553
+ nativeOn: {
13554
+ "click": function click($event) {
13555
+ return _vm.okHandler.apply(null, arguments);
13556
+ }
13694
13557
  }
13695
- }
13696
- }, [_vm._v("\n " + _vm._s(_vm.localeOkText) + "\n ")]), _c('bk-button', {
13697
- attrs: {
13698
- "type": "button",
13699
- "name": "cancel",
13700
- "disabled": _vm.buttonLoading
13701
- },
13702
- nativeOn: {
13703
- "click": function click($event) {
13704
- return _vm.cancelHandler($event);
13558
+ }, [_vm._v("\n " + _vm._s(_vm.localeOkText) + "\n ")]), _c('bk-button', {
13559
+ attrs: {
13560
+ "type": "button",
13561
+ "name": "cancel",
13562
+ "disabled": _vm.buttonLoading
13563
+ },
13564
+ nativeOn: {
13565
+ "click": function click($event) {
13566
+ return _vm.cancelHandler.apply(null, arguments);
13567
+ }
13705
13568
  }
13706
- }
13707
- }, [_vm._v("\n " + _vm._s(_vm.localeCancelText) + "\n ")])], 1)])], 2) : _vm._e(), _vm.closeIcon ? _c('i', {
13569
+ }, [_vm._v("\n " + _vm._s(_vm.localeCancelText) + "\n ")])], 1)];
13570
+ })], 2) : _vm._e(), _vm.closeIcon ? _c('i', {
13708
13571
  staticClass: "bk-dialog-close bk-icon icon-close",
13709
13572
  on: {
13710
13573
  "click": function click($event) {
13711
13574
  $event.stopPropagation();
13712
- return _vm.cancelHandler($event);
13575
+ return _vm.cancelHandler.apply(null, arguments);
13713
13576
  }
13714
13577
  }
13715
13578
  }) : _vm._e()])]) : _vm._e()]], 2)], 1)]);
@@ -25419,20 +25282,20 @@
25419
25282
  },
25420
25283
  on: {
25421
25284
  "keydown": [function ($event) {
25422
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
25285
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
25423
25286
  return null;
25424
25287
  }
25425
25288
 
25426
25289
  $event.preventDefault();
25427
- return _vm.handleMouseover($event);
25290
+ return _vm.handleMouseover.apply(null, arguments);
25428
25291
  }, function ($event) {
25429
- if (!('button' in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
25292
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
25430
25293
  return null;
25431
25294
  }
25432
25295
 
25433
25296
  $event.stopPropagation();
25434
25297
  $event.preventDefault();
25435
- return _vm.handleMouseout($event);
25298
+ return _vm.handleMouseout.apply(null, arguments);
25436
25299
  }],
25437
25300
  "click": _vm.handleClick,
25438
25301
  "mouseenter": _vm.handleMouseover,
@@ -25574,7 +25437,9 @@
25574
25437
  })]), _c('div', {
25575
25438
  staticClass: "bk-exception-text",
25576
25439
  class: _vm.scene + '-text'
25577
- }, [_vm._t("default", [_vm._v(_vm._s(_vm.tipText[_vm.type]))])], 2)]);
25440
+ }, [_vm._t("default", function () {
25441
+ return [_vm._v(_vm._s(_vm.tipText[_vm.type]))];
25442
+ })], 2)]);
25578
25443
  };
25579
25444
 
25580
25445
  var __vue_staticRenderFns__$y = [];
@@ -29123,9 +28988,9 @@
29123
28988
  this.validator.content = '';
29124
28989
  },
29125
28990
  checkRule: function checkRule(rule, model) {
29126
- return _asyncToGenerator( regenerator.mark(function _callee() {
28991
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
29127
28992
  var result;
29128
- return regenerator.wrap(function _callee$(_context) {
28993
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
29129
28994
  while (1) {
29130
28995
  switch (_context.prev = _context.next) {
29131
28996
  case 0:
@@ -29214,9 +29079,9 @@
29214
29079
  rules.forEach(function (rule) {
29215
29080
  promises.push(function () {
29216
29081
  return new promise$1( function () {
29217
- var _ref = _asyncToGenerator( regenerator.mark(function _callee2(resolve, reject) {
29082
+ var _ref = _asyncToGenerator( _regeneratorRuntime().mark(function _callee2(resolve, reject) {
29218
29083
  var curRule, result;
29219
- return regenerator.wrap(function _callee2$(_context2) {
29084
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29220
29085
  while (1) {
29221
29086
  switch (_context2.prev = _context2.next) {
29222
29087
  case 0:
@@ -29484,9 +29349,9 @@
29484
29349
  if (isVNode(opts.header)) {
29485
29350
  instance.$slots[opts.type ? 'type-header' : 'header'] = opts.header;
29486
29351
  }
29487
- instance.confirmFn = opts.confirmFn && typeof opts.confirmFn === 'function' ? _asyncToGenerator( regenerator.mark(function _callee() {
29352
+ instance.confirmFn = opts.confirmFn && typeof opts.confirmFn === 'function' ? _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
29488
29353
  var res;
29489
- return regenerator.wrap(function _callee$(_context) {
29354
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
29490
29355
  while (1) {
29491
29356
  switch (_context.prev = _context.next) {
29492
29357
  case 0:
@@ -30166,11 +30031,11 @@
30166
30031
  style: _vm.computedStyle,
30167
30032
  on: {
30168
30033
  "keyup": function keyup($event) {
30169
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
30034
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
30170
30035
  return null;
30171
30036
  }
30172
30037
 
30173
- return _vm.handlerEnter($event);
30038
+ return _vm.handlerEnter.apply(null, arguments);
30174
30039
  },
30175
30040
  "keypress": _vm.handlerKeypress,
30176
30041
  "keydown": _vm.handlerKeydown,
@@ -30193,11 +30058,11 @@
30193
30058
  style: _vm.computedStyle,
30194
30059
  on: {
30195
30060
  "keyup": [function ($event) {
30196
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
30061
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
30197
30062
  return null;
30198
30063
  }
30199
30064
 
30200
- return _vm.handlerEnter($event);
30065
+ return _vm.handlerEnter.apply(null, arguments);
30201
30066
  }, _vm.handlerKeyup],
30202
30067
  "keypress": _vm.handlerKeypress,
30203
30068
  "keydown": _vm.handlerKeydown,
@@ -30238,7 +30103,7 @@
30238
30103
  "click": function click($event) {
30239
30104
  $event.stopPropagation();
30240
30105
  $event.preventDefault();
30241
- return _vm.handlerClear($event);
30106
+ return _vm.handlerClear.apply(null, arguments);
30242
30107
  }
30243
30108
  }
30244
30109
  }) : _vm.rightIcon ? _c('i', {
@@ -30504,7 +30369,9 @@
30504
30369
  staticClass: "point point4"
30505
30370
  })]], 2), _c('div', {
30506
30371
  staticClass: "bk-loading-title"
30507
- }, [_vm._t("title", [_vm._v(_vm._s(_vm.title))])], 2)])])], 1) : _c('transition', {
30372
+ }, [_vm._t("title", function () {
30373
+ return [_vm._v(_vm._s(_vm.title))];
30374
+ })], 2)])])], 1) : _c('transition', {
30508
30375
  attrs: {
30509
30376
  "name": "fade",
30510
30377
  "duration": {
@@ -30558,7 +30425,9 @@
30558
30425
  staticClass: "point point4"
30559
30426
  })]], 2), _c('div', {
30560
30427
  staticClass: "bk-loading-title"
30561
- }, [_vm._t("title", [_vm._v(_vm._s(_vm.title))])], 2)])])]);
30428
+ }, [_vm._t("title", function () {
30429
+ return [_vm._v(_vm._s(_vm.title))];
30430
+ })], 2)])])]);
30562
30431
  };
30563
30432
 
30564
30433
  var __vue_staticRenderFns__$C = [];
@@ -30849,7 +30718,9 @@
30849
30718
  'ellipsis': _vm.singleEllipsis
30850
30719
  }],
30851
30720
  style: _vm.ellipsisStyle
30852
- }, [_vm._t("default", [_vm._v(_vm._s(_vm.message))])], 2), _vm.showCopyText ? _c('div', {
30721
+ }, [_vm._t("default", function () {
30722
+ return [_vm._v(_vm._s(_vm.message))];
30723
+ })], 2), _vm.showCopyText ? _c('div', {
30853
30724
  class: ['bk-message-copy', {
30854
30725
  'copied': _vm.copied
30855
30726
  }],
@@ -30863,7 +30734,7 @@
30863
30734
  on: {
30864
30735
  "click": function click($event) {
30865
30736
  $event.stopPropagation();
30866
- return _vm.close($event);
30737
+ return _vm.close.apply(null, arguments);
30867
30738
  }
30868
30739
  }
30869
30740
  })]) : _vm._e()])]);
@@ -31100,28 +30971,30 @@
31100
30971
  staticClass: "bk-notify-content"
31101
30972
  }, [_vm.title ? _c('h3', {
31102
30973
  staticClass: "bk-notify-content-title"
31103
- }, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm._t("default", [_c('div', {
31104
- class: ['bk-notify-content-text', {
31105
- limitLine: _vm.limitLine > 0
31106
- }],
31107
- style: _vm.contentStyle
31108
- }, [!_vm.useHTMLString ? [_vm._v(_vm._s(_vm.message))] : _c('span', {
31109
- domProps: {
31110
- "innerHTML": _vm._s(_vm.message)
31111
- }
31112
- }), _vm.showViewMore ? _c('button', {
31113
- staticClass: "showMoreBtn",
31114
- on: {
31115
- "click": _vm.onClickViewMore
31116
- }
31117
- }, [_vm._v("\n " + _vm._s(_vm.t('bk.notify.showMore')) + "\n ")]) : _vm._e()], 2)])], 2), _vm.dismissable ? _c('div', {
30974
+ }, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm._t("default", function () {
30975
+ return [_c('div', {
30976
+ class: ['bk-notify-content-text', {
30977
+ limitLine: _vm.limitLine > 0
30978
+ }],
30979
+ style: _vm.contentStyle
30980
+ }, [!_vm.useHTMLString ? [_vm._v(_vm._s(_vm.message))] : _c('span', {
30981
+ domProps: {
30982
+ "innerHTML": _vm._s(_vm.message)
30983
+ }
30984
+ }), _vm.showViewMore ? _c('button', {
30985
+ staticClass: "showMoreBtn",
30986
+ on: {
30987
+ "click": _vm.onClickViewMore
30988
+ }
30989
+ }, [_vm._v("\n " + _vm._s(_vm.t('bk.notify.showMore')) + "\n ")]) : _vm._e()], 2)];
30990
+ })], 2), _vm.dismissable ? _c('div', {
31118
30991
  staticClass: "bk-notify-close"
31119
30992
  }, [_c('i', {
31120
30993
  staticClass: "bk-icon icon-close",
31121
30994
  on: {
31122
30995
  "click": function click($event) {
31123
30996
  $event.stopPropagation();
31124
- return _vm.close($event);
30997
+ return _vm.close.apply(null, arguments);
31125
30998
  }
31126
30999
  }
31127
31000
  })]) : _vm._e()])]);
@@ -31323,17 +31196,19 @@
31323
31196
  }
31324
31197
  }, [_c('div', {
31325
31198
  staticClass: "bk-option-content"
31326
- }, [_vm._t("default", [_c('div', {
31327
- staticClass: "bk-option-content-default",
31328
- attrs: {
31329
- "title": _vm.name
31330
- }
31331
- }, [_vm.select.multiple && _vm.isSelected ? _c('i', {
31332
- staticClass: "bk-option-icon bk-icon icon-check-1"
31333
- }) : _vm._e(), _c('span', {
31334
- staticClass: "bk-option-name",
31335
- class: _vm.select.fontSizeCls
31336
- }, [_vm._v("\n " + _vm._s(_vm.name) + "\n ")])])])], 2)]);
31199
+ }, [_vm._t("default", function () {
31200
+ return [_c('div', {
31201
+ staticClass: "bk-option-content-default",
31202
+ attrs: {
31203
+ "title": _vm.name
31204
+ }
31205
+ }, [_vm.select.multiple && _vm.isSelected ? _c('i', {
31206
+ staticClass: "bk-option-icon bk-icon icon-check-1"
31207
+ }) : _vm._e(), _c('span', {
31208
+ staticClass: "bk-option-name",
31209
+ class: _vm.select.fontSizeCls
31210
+ }, [_vm._v("\n " + _vm._s(_vm.name) + "\n ")])])];
31211
+ })], 2)]);
31337
31212
  };
31338
31213
 
31339
31214
  var __vue_staticRenderFns__$F = [];
@@ -31514,7 +31389,9 @@
31514
31389
  }
31515
31390
  }, [_vm.showPrefixOpt ? [_c('span', {
31516
31391
  class: ['bk-option-group-prefix', _vm.readonly ? 'readonly' : '']
31517
- }, [_vm._v(_vm._s(_vm.prefixOptionText))])] : _vm._e(), _vm._t("group-name", [_vm._v(_vm._s(_vm.name) + " "), _vm.showCount ? [_vm._v("(" + _vm._s(_vm.options.length) + ")")] : _vm._e()]), _vm.showSelectAll ? [_c('span', {
31392
+ }, [_vm._v(_vm._s(_vm.prefixOptionText))])] : _vm._e(), _vm._t("group-name", function () {
31393
+ return [_vm._v(_vm._s(_vm.name) + " "), _vm.showCount ? [_vm._v("(" + _vm._s(_vm.options.length) + ")")] : _vm._e()];
31394
+ }), _vm.showSelectAll ? [_c('span', {
31518
31395
  staticClass: "btn-check-all"
31519
31396
  }, [_c('bk-checkbox', {
31520
31397
  attrs: {
@@ -31526,7 +31403,7 @@
31526
31403
  },
31527
31404
  nativeOn: {
31528
31405
  "click": function click($event) {
31529
- return _vm.handleCheckAllClick($event);
31406
+ return _vm.handleCheckAllClick.apply(null, arguments);
31530
31407
  }
31531
31408
  }
31532
31409
  })], 1)] : _vm._e()], 2), _c('ul', {
@@ -31761,7 +31638,9 @@
31761
31638
  }, [_c('div', {
31762
31639
  ref: "html",
31763
31640
  staticClass: "bk-tooltip-content"
31764
- }, [_vm._t("content", [_vm._v(_vm._s(_vm.content))])], 2), _c('div', {
31641
+ }, [_vm._t("content", function () {
31642
+ return [_vm._v(_vm._s(_vm.content))];
31643
+ })], 2), _c('div', {
31765
31644
  ref: "reference",
31766
31645
  staticClass: "bk-tooltip-ref",
31767
31646
  attrs: {
@@ -32043,7 +31922,7 @@
32043
31922
  staticClass: "bk-icon icon-close",
32044
31923
  on: {
32045
31924
  "click": function click($event) {
32046
- _vm.handleRemoveSelected($event, option);
31925
+ return _vm.handleRemoveSelected($event, option);
32047
31926
  }
32048
31927
  }
32049
31928
  })]);
@@ -32062,11 +31941,11 @@
32062
31941
  on: {
32063
31942
  "blur": _vm.handleCreateTag,
32064
31943
  "keyup": function keyup($event) {
32065
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
31944
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
32066
31945
  return null;
32067
31946
  }
32068
31947
 
32069
- return _vm.handleCreateTag($event);
31948
+ return _vm.handleCreateTag.apply(null, arguments);
32070
31949
  },
32071
31950
  "input": function input($event) {
32072
31951
  if ($event.target.composing) {
@@ -32709,8 +32588,10 @@
32709
32588
  height: _vm.itemHeight + "px",
32710
32589
  top: item.top + "px"
32711
32590
  }
32712
- }, [_vm._t("index", [_vm._v("\n " + _vm._s(item.value) + "\n ")], {
32713
- data: item.value
32591
+ }, [_vm._t("index", function () {
32592
+ return [_vm._v("\n " + _vm._s(item.value) + "\n ")];
32593
+ }, {
32594
+ "data": item.value
32714
32595
  })], 2);
32715
32596
  }), 0) : _vm._e(), _c('ul', {
32716
32597
  ref: "scrollMain",
@@ -32731,7 +32612,7 @@
32731
32612
  left: -_vm.bottomScrollDis * (_vm.itemWidth - _vm.mainWidth) / (_vm.mainWidth - _vm.bottomScrollWidth) + "px"
32732
32613
  }
32733
32614
  }, [_vm._t("default", null, {
32734
- data: item.value
32615
+ "data": item.value
32735
32616
  })], 2);
32736
32617
  }), 0)]), _c('canvas', {
32737
32618
  ref: "minNav",
@@ -32746,7 +32627,7 @@
32746
32627
  },
32747
32628
  on: {
32748
32629
  "mousedown": function mousedown($event) {
32749
- _vm.startNavMove(_vm.visHeight - _vm.navHeight);
32630
+ return _vm.startNavMove(_vm.visHeight - _vm.navHeight);
32750
32631
  }
32751
32632
  }
32752
32633
  }) : _vm._e(), _vm.bottomScrollWidth < _vm.mainWidth ? _c('span', {
@@ -33361,8 +33242,8 @@
33361
33242
  },
33362
33243
  remoteSearch: function remoteSearch() {
33363
33244
  var _this11 = this;
33364
- return _asyncToGenerator( regenerator.mark(function _callee() {
33365
- return regenerator.wrap(function _callee$(_context) {
33245
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
33246
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
33366
33247
  while (1) {
33367
33248
  switch (_context.prev = _context.next) {
33368
33249
  case 0:
@@ -33520,26 +33401,26 @@
33520
33401
  },
33521
33402
  on: {
33522
33403
  "keydown": [function ($event) {
33523
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
33404
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
33524
33405
  return null;
33525
33406
  }
33526
33407
 
33527
33408
  $event.preventDefault();
33528
- return _vm.show($event);
33409
+ return _vm.show.apply(null, arguments);
33529
33410
  }, function ($event) {
33530
- if (!('button' in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
33411
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
33531
33412
  return null;
33532
33413
  }
33533
33414
 
33534
- return _vm.close($event);
33415
+ return _vm.close.apply(null, arguments);
33535
33416
  }, function ($event) {
33536
- if (!('button' in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
33417
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
33537
33418
  return null;
33538
33419
  }
33539
33420
 
33540
33421
  $event.stopPropagation();
33541
33422
  $event.preventDefault();
33542
- return _vm.close($event);
33423
+ return _vm.close.apply(null, arguments);
33543
33424
  }]
33544
33425
  }
33545
33426
  }, [!_vm.$scopedSlots.trigger ? [_vm.loading ? [_c('img', {
@@ -33553,7 +33434,7 @@
33553
33434
  "click": function click($event) {
33554
33435
  $event.preventDefault();
33555
33436
  $event.stopPropagation();
33556
- return _vm.reset($event);
33437
+ return _vm.reset.apply(null, arguments);
33557
33438
  }
33558
33439
  }
33559
33440
  }) : _vm._e(), _c('i', {
@@ -33575,34 +33456,36 @@
33575
33456
  }
33576
33457
  }, [_vm.prefixIcon ? _c('i', {
33577
33458
  class: ['bk-select-prefix-icon', _vm.prefixIcon]
33578
- }) : _vm._e(), _vm._t("trigger", [_vm.multiple && _vm.displayTag ? _c('bk-select-tag', {
33579
- ref: "bkSelectTag",
33580
- attrs: {
33581
- "width-limit": _vm.isTagWidthLimit
33582
- },
33583
- on: {
33584
- "create-tag": _vm.handleCreateTag
33585
- }
33586
- }) : [_vm.allowCreate && !_vm.multiple ? _c('input', {
33587
- ref: "createInput",
33588
- staticClass: "bk-select-name",
33589
- class: _vm.fontSizeCls,
33590
- attrs: {
33591
- "title": _vm.selectedName
33592
- },
33593
- domProps: {
33594
- "value": _vm.selectedName || _vm.value
33595
- },
33596
- on: {
33597
- "change": _vm.handleInputChange
33598
- }
33599
- }) : _c('div', {
33600
- staticClass: "bk-select-name",
33601
- class: _vm.fontSizeCls,
33602
- attrs: {
33603
- "title": _vm.selectedName
33604
- }
33605
- }, [_vm._v("\n " + _vm._s(_vm.selectedName) + "\n ")])]], null, _vm.$props), _c('div', {
33459
+ }) : _vm._e(), _vm._t("trigger", function () {
33460
+ return [_vm.multiple && _vm.displayTag ? _c('bk-select-tag', {
33461
+ ref: "bkSelectTag",
33462
+ attrs: {
33463
+ "width-limit": _vm.isTagWidthLimit
33464
+ },
33465
+ on: {
33466
+ "create-tag": _vm.handleCreateTag
33467
+ }
33468
+ }) : [_vm.allowCreate && !_vm.multiple ? _c('input', {
33469
+ ref: "createInput",
33470
+ staticClass: "bk-select-name",
33471
+ class: _vm.fontSizeCls,
33472
+ attrs: {
33473
+ "title": _vm.selectedName
33474
+ },
33475
+ domProps: {
33476
+ "value": _vm.selectedName || _vm.value
33477
+ },
33478
+ on: {
33479
+ "change": _vm.handleInputChange
33480
+ }
33481
+ }) : _c('div', {
33482
+ staticClass: "bk-select-name",
33483
+ class: _vm.fontSizeCls,
33484
+ attrs: {
33485
+ "title": _vm.selectedName
33486
+ }
33487
+ }, [_vm._v("\n " + _vm._s(_vm.selectedName) + "\n ")])]];
33488
+ }, null, _vm.$props), _c('div', {
33606
33489
  staticClass: "bk-select-dropdown-content",
33607
33490
  class: [_vm.popoverCls, _vm.extPopoverCls],
33608
33491
  style: _vm.popoverStyle,
@@ -33633,25 +33516,25 @@
33633
33516
  },
33634
33517
  on: {
33635
33518
  "keydown": [function ($event) {
33636
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
33519
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
33637
33520
  return null;
33638
33521
  }
33639
33522
 
33640
- return _vm.ensureSearch($event);
33523
+ return _vm.ensureSearch.apply(null, arguments);
33641
33524
  }, function ($event) {
33642
- if (!('button' in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
33525
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
33643
33526
  return null;
33644
33527
  }
33645
33528
 
33646
- return _vm.handleClose($event);
33529
+ return _vm.handleClose.apply(null, arguments);
33647
33530
  }, function ($event) {
33648
- if (!('button' in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
33531
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
33649
33532
  return null;
33650
33533
  }
33651
33534
 
33652
33535
  $event.stopPropagation();
33653
33536
  $event.preventDefault();
33654
- return _vm.handleClose($event);
33537
+ return _vm.handleClose.apply(null, arguments);
33655
33538
  }],
33656
33539
  "input": function input($event) {
33657
33540
  if ($event.target.composing) {
@@ -33722,7 +33605,7 @@
33722
33605
  }
33723
33606
  })];
33724
33607
  }
33725
- }])
33608
+ }], null, false, 3329583054)
33726
33609
  }) : _vm._t("default"), _vm.scrollEndLoading.isLoading ? _c('div', {
33727
33610
  staticClass: "bk-select-bottom-loading"
33728
33611
  }, [_c('bk-spin', _vm._b({}, 'bk-spin', _vm.scrollEndLoading, false), [_vm._v(_vm._s(_vm.scrollEndLoading.text))])], 1) : _vm._e()], 2)]), _vm.showEmpty ? [!_vm.options.length ? _c('div', {
@@ -33963,7 +33846,7 @@
33963
33846
  },
33964
33847
  on: {
33965
33848
  "click": function click($event) {
33966
- _vm.handleStep(-1);
33849
+ return _vm.handleStep(-1);
33967
33850
  }
33968
33851
  }
33969
33852
  }, [_c('i', {
@@ -33985,7 +33868,7 @@
33985
33868
  on: {
33986
33869
  "click": function click($event) {
33987
33870
  $event.preventDefault();
33988
- return _vm.showPopover($event);
33871
+ return _vm.showPopover.apply(null, arguments);
33989
33872
  }
33990
33873
  }
33991
33874
  }, [_c('span', {
@@ -34024,7 +33907,7 @@
34024
33907
  }],
34025
33908
  on: {
34026
33909
  "mousedown": function mousedown($event) {
34027
- _vm.handleChangePage(index);
33910
+ return _vm.handleChangePage(index);
34028
33911
  }
34029
33912
  }
34030
33913
  }, [_vm._v("\n " + _vm._s(index) + "\n ")]);
@@ -34035,7 +33918,7 @@
34035
33918
  },
34036
33919
  on: {
34037
33920
  "click": function click($event) {
34038
- _vm.handleStep(1);
33921
+ return _vm.handleStep(1);
34039
33922
  }
34040
33923
  }
34041
33924
  }, [_c('i', {
@@ -34397,7 +34280,7 @@
34397
34280
  staticClass: "page-item",
34398
34281
  on: {
34399
34282
  "click": function click($event) {
34400
- _vm.jumpToPage(1);
34283
+ return _vm.jumpToPage(1);
34401
34284
  }
34402
34285
  }
34403
34286
  }, [_c('a', {
@@ -34429,7 +34312,7 @@
34429
34312
  },
34430
34313
  on: {
34431
34314
  "click": function click($event) {
34432
- _vm.jumpToPage(item);
34315
+ return _vm.jumpToPage(item);
34433
34316
  }
34434
34317
  }
34435
34318
  }, [_c('a', {
@@ -34466,7 +34349,7 @@
34466
34349
  },
34467
34350
  on: {
34468
34351
  "click": function click($event) {
34469
- _vm.jumpToPage(_vm.total);
34352
+ return _vm.jumpToPage(_vm.total);
34470
34353
  }
34471
34354
  }
34472
34355
  }, [_c('a', {
@@ -34680,14 +34563,16 @@
34680
34563
  slot: "content"
34681
34564
  }, [!_vm.isTiny ? _c('div', {
34682
34565
  staticClass: "popconfirm-content"
34683
- }, [_vm._t("content", [_vm.title ? _c('div', {
34684
- staticClass: "title"
34685
- }, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm.content ? _c('div', {
34686
- staticClass: "content",
34687
- class: {
34688
- 'is-simple': _vm.isSimple
34689
- }
34690
- }, [_vm._v(_vm._s(_vm.content))]) : _vm._e()])], 2) : _vm._e(), _c('div', {
34566
+ }, [_vm._t("content", function () {
34567
+ return [_vm.title ? _c('div', {
34568
+ staticClass: "title"
34569
+ }, [_vm._v(_vm._s(_vm.title))]) : _vm._e(), _vm.content ? _c('div', {
34570
+ staticClass: "content",
34571
+ class: {
34572
+ 'is-simple': _vm.isSimple
34573
+ }
34574
+ }, [_vm._v(_vm._s(_vm.content))]) : _vm._e()];
34575
+ })], 2) : _vm._e(), _c('div', {
34691
34576
  staticClass: "popconfirm-operate"
34692
34577
  }, [_vm.localeOkText ? _c('button', {
34693
34578
  staticClass: "default-operate-button primary",
@@ -35007,7 +34892,7 @@
35007
34892
  },
35008
34893
  on: {
35009
34894
  "click": function click($event) {
35010
- _vm.toggle(item, index);
34895
+ return _vm.toggle(item, index);
35011
34896
  }
35012
34897
  }
35013
34898
  }, [_c('div', {
@@ -35017,7 +34902,7 @@
35017
34902
  },
35018
34903
  on: {
35019
34904
  "click": function click($event) {
35020
- _vm.toggleStepItem(item, null, index);
34905
+ return _vm.toggleStepItem(item, null, index);
35021
34906
  }
35022
34907
  }
35023
34908
  }, [_vm._v("\n " + _vm._s(item[_vm.displayKey]) + "\n "), item.status ? [_vm.isBuiltinIcon(item.statusIcon) ? _c('i', {
@@ -35059,7 +34944,7 @@
35059
34944
  },
35060
34945
  on: {
35061
34946
  "click": function click($event) {
35062
- _vm.toggleStepItem(step, stepIndex, index);
34947
+ return _vm.toggleStepItem(step, stepIndex, index);
35063
34948
  }
35064
34949
  }
35065
34950
  }, [_vm.isVNode(step[_vm.displayKey]) ? _c('v-node-content', {
@@ -35248,7 +35133,9 @@
35248
35133
  }, [_vm._v(_vm._s(_vm.percentFixed) + "%")]) : _vm._e()]), _vm.showText && _vm.textInside && _vm.percentFixed === 0 ? [_vm._v(_vm._s(_vm.percentFixed) + "%")] : _vm._e()], 2), _vm.showText && !_vm.textInside ? _c('div', {
35249
35134
  staticClass: "progress-text",
35250
35135
  style: _vm.titleStyle
35251
- }, [_vm._t("default", [_vm._v(_vm._s(_vm.percentFixed) + "%")])], 2) : _vm._e()]);
35136
+ }, [_vm._t("default", function () {
35137
+ return [_vm._v(_vm._s(_vm.percentFixed) + "%")];
35138
+ })], 2) : _vm._e()]);
35252
35139
  };
35253
35140
 
35254
35141
  var __vue_staticRenderFns__$S = [];
@@ -35434,12 +35321,12 @@
35434
35321
  },
35435
35322
  on: {
35436
35323
  "keydown": function keydown($event) {
35437
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
35324
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
35438
35325
  return null;
35439
35326
  }
35440
35327
 
35441
35328
  $event.preventDefault();
35442
- return _vm.handlerChange($event);
35329
+ return _vm.handlerChange.apply(null, arguments);
35443
35330
  }
35444
35331
  }
35445
35332
  }, [_c('input', {
@@ -35461,7 +35348,9 @@
35461
35348
  }
35462
35349
  }), _c('div', {
35463
35350
  staticClass: "bk-radio-text"
35464
- }, [_vm._t("default", [_vm._v(_vm._s(_vm.label))])], 2)]);
35351
+ }, [_vm._t("default", function () {
35352
+ return [_vm._v(_vm._s(_vm.label))];
35353
+ })], 2)]);
35465
35354
  };
35466
35355
 
35467
35356
  var __vue_staticRenderFns__$T = [];
@@ -35556,12 +35445,12 @@
35556
35445
  },
35557
35446
  on: {
35558
35447
  "keydown": function keydown($event) {
35559
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
35448
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
35560
35449
  return null;
35561
35450
  }
35562
35451
 
35563
35452
  $event.preventDefault();
35564
- return _vm.handlerChange($event);
35453
+ return _vm.handlerChange.apply(null, arguments);
35565
35454
  }
35566
35455
  }
35567
35456
  }, [_c('input', {
@@ -35584,7 +35473,9 @@
35584
35473
  }
35585
35474
  }), _c('div', {
35586
35475
  staticClass: "bk-radio-button-text"
35587
- }, [_vm._t("default", [_vm._v(_vm._s(_vm.label))])], 2)]);
35476
+ }, [_vm._t("default", function () {
35477
+ return [_vm._v(_vm._s(_vm.label))];
35478
+ })], 2)]);
35588
35479
  };
35589
35480
 
35590
35481
  var __vue_staticRenderFns__$U = [];
@@ -36154,9 +36045,9 @@
36154
36045
  },
36155
36046
  handleClose: function handleClose() {
36156
36047
  var _this2 = this;
36157
- return _asyncToGenerator( regenerator.mark(function _callee() {
36048
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
36158
36049
  var shouldClose;
36159
- return regenerator.wrap(function _callee$(_context) {
36050
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
36160
36051
  while (1) {
36161
36052
  switch (_context.prev = _context.next) {
36162
36053
  case 0:
@@ -36230,7 +36121,7 @@
36230
36121
  return null;
36231
36122
  }
36232
36123
 
36233
- return _vm.handleQuickClose($event);
36124
+ return _vm.handleQuickClose.apply(null, arguments);
36234
36125
  }
36235
36126
  }
36236
36127
  }, [_c('section', {
@@ -36260,7 +36151,9 @@
36260
36151
  style: {
36261
36152
  padding: _vm.calcDirection === 'left' ? '0 0 0 50px' : '0 0 0 30px'
36262
36153
  }
36263
- }, [_vm._t("header", [_vm._v("\n " + _vm._s(_vm.title || _vm.t('bk.sideslider.title')) + "\n ")])], 2)]), _c('div', {
36154
+ }, [_vm._t("header", function () {
36155
+ return [_vm._v("\n " + _vm._s(_vm.title || _vm.t('bk.sideslider.title')) + "\n ")];
36156
+ })], 2)]), _c('div', {
36264
36157
  ref: "content",
36265
36158
  staticClass: "bk-sideslider-content",
36266
36159
  style: {
@@ -36946,7 +36839,7 @@
36946
36839
  on: {
36947
36840
  "click": function click($event) {
36948
36841
  $event.stopPropagation();
36949
- return _vm.setButtonPos($event);
36842
+ return _vm.setButtonPos.apply(null, arguments);
36950
36843
  }
36951
36844
  }
36952
36845
  }, [_c('div', {
@@ -37240,8 +37133,8 @@
37240
37133
  },
37241
37134
  jumpTo: function jumpTo(index) {
37242
37135
  var _this = this;
37243
- return _asyncToGenerator( regenerator.mark(function _callee2() {
37244
- return regenerator.wrap(function _callee2$(_context2) {
37136
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee2() {
37137
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
37245
37138
  while (1) {
37246
37139
  switch (_context2.prev = _context2.next) {
37247
37140
  case 0:
@@ -37256,9 +37149,9 @@
37256
37149
  }
37257
37150
  _context2.next = 5;
37258
37151
  return new promise$1( function () {
37259
- var _ref = _asyncToGenerator( regenerator.mark(function _callee(resolve, reject) {
37152
+ var _ref = _asyncToGenerator( _regeneratorRuntime().mark(function _callee(resolve, reject) {
37260
37153
  var confirmed;
37261
- return regenerator.wrap(function _callee$(_context) {
37154
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
37262
37155
  while (1) {
37263
37156
  switch (_context.prev = _context.next) {
37264
37157
  case 0:
@@ -37331,7 +37224,7 @@
37331
37224
  },
37332
37225
  on: {
37333
37226
  "click": function click($event) {
37334
- _vm.jumpTo(index + 1);
37227
+ return _vm.jumpTo(index + 1);
37335
37228
  }
37336
37229
  }
37337
37230
  }, [_vm.isCurrent(index) && _vm.currentStatus === 'loading' || _vm.isLoadingStatus(step) ? _c('i', {
@@ -37354,7 +37247,7 @@
37354
37247
  },
37355
37248
  on: {
37356
37249
  "click": function click($event) {
37357
- _vm.jumpTo(index + 1);
37250
+ return _vm.jumpTo(index + 1);
37358
37251
  }
37359
37252
  }
37360
37253
  }, [_vm._v("\n " + _vm._s(step.title) + "\n ")]), step.description ? _c('div', {
@@ -37538,12 +37431,12 @@
37538
37431
  on: {
37539
37432
  "click": _vm.change,
37540
37433
  "keydown": function keydown($event) {
37541
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
37434
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
37542
37435
  return null;
37543
37436
  }
37544
37437
 
37545
37438
  $event.preventDefault();
37546
- return _vm.change($event);
37439
+ return _vm.change.apply(null, arguments);
37547
37440
  }
37548
37441
  }
37549
37442
  }, [_c('input', {
@@ -37904,9 +37797,9 @@
37904
37797
  },
37905
37798
  togglePanel: function togglePanel(panel) {
37906
37799
  var _this3 = this;
37907
- return _asyncToGenerator( regenerator.mark(function _callee2() {
37800
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee2() {
37908
37801
  var toggleStatus, shouldToggle;
37909
- return regenerator.wrap(function _callee2$(_context2) {
37802
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
37910
37803
  while (1) {
37911
37804
  switch (_context2.prev = _context2.next) {
37912
37805
  case 0:
@@ -37946,9 +37839,9 @@
37946
37839
  _context2.prev = 14;
37947
37840
  _context2.next = 17;
37948
37841
  return new promise$1( function () {
37949
- var _ref = _asyncToGenerator( regenerator.mark(function _callee(resolve, reject) {
37842
+ var _ref = _asyncToGenerator( _regeneratorRuntime().mark(function _callee(resolve, reject) {
37950
37843
  var confirmed;
37951
- return regenerator.wrap(function _callee$(_context) {
37844
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
37952
37845
  while (1) {
37953
37846
  switch (_context.prev = _context.next) {
37954
37847
  case 0:
@@ -38358,12 +38251,11 @@
38358
38251
  },
38359
38252
  nativeOn: {
38360
38253
  "dragstart": function dragstart($event) {
38361
- _vm.dragStart(index, $event);
38254
+ return _vm.dragStart(index, $event);
38362
38255
  },
38363
38256
  "dragenter": function dragenter($event) {
38364
38257
  $event.preventDefault();
38365
-
38366
- _vm.dragenter(index, $event);
38258
+ return _vm.dragenter(index, $event);
38367
38259
  },
38368
38260
  "dragleave": function dragleave($event) {
38369
38261
  $event.preventDefault();
@@ -38373,19 +38265,17 @@
38373
38265
  },
38374
38266
  "dragend": function dragend($event) {
38375
38267
  $event.preventDefault();
38376
-
38377
- _vm.dragend(index, $event);
38268
+ return _vm.dragend(index, $event);
38378
38269
  },
38379
38270
  "drop": function drop($event) {
38380
38271
  $event.preventDefault();
38381
-
38382
- _vm.drop(index, $event);
38272
+ return _vm.drop(index, $event);
38383
38273
  },
38384
38274
  "&mouseenter": function mouseenter($event) {
38385
- _vm.handleLabelHover(panel);
38275
+ return _vm.handleLabelHover(panel);
38386
38276
  },
38387
38277
  "&mouseleave": function mouseleave($event) {
38388
- _vm.handleClearHoverTimer(panel);
38278
+ return _vm.handleClearHoverTimer(panel);
38389
38279
  }
38390
38280
  }
38391
38281
  });
@@ -38961,9 +38851,9 @@
38961
38851
  var _arguments = arguments;
38962
38852
  if (promise) return promise;
38963
38853
  promise = new promise$1(function (resolve) {
38964
- setTimeout( _asyncToGenerator( regenerator.mark(function _callee() {
38854
+ setTimeout( _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
38965
38855
  var result;
38966
- return regenerator.wrap(function _callee$(_context) {
38856
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
38967
38857
  while (1) {
38968
38858
  switch (_context.prev = _context.next) {
38969
38859
  case 0:
@@ -40723,9 +40613,9 @@
40723
40613
  },
40724
40614
  handleExpandClick: function handleExpandClick(data) {
40725
40615
  var _this3 = this;
40726
- return _asyncToGenerator( regenerator.mark(function _callee() {
40616
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
40727
40617
  var row, event, column, result;
40728
- return regenerator.wrap(function _callee$(_context) {
40618
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
40729
40619
  while (1) {
40730
40620
  switch (_context.prev = _context.next) {
40731
40621
  case 0:
@@ -41021,7 +40911,7 @@
41021
40911
  _vm.keyword = $event.target.value.trim();
41022
40912
  },
41023
40913
  "blur": function blur($event) {
41024
- _vm.$forceUpdate();
40914
+ return _vm.$forceUpdate();
41025
40915
  }
41026
40916
  }
41027
40917
  })]) : _vm._e(), _vm.multiple ? [_c('bk-checkbox-group', {
@@ -41106,7 +40996,7 @@
41106
40996
  },
41107
40997
  on: {
41108
40998
  "click": function click($event) {
41109
- _vm.handleSelect(filter);
40999
+ return _vm.handleSelect(filter);
41110
41000
  }
41111
41001
  }
41112
41002
  }, [_vm._v("\n " + _vm._s(filter.text) + "\n ")]);
@@ -42369,7 +42259,7 @@
42369
42259
  }, _vm.tableSize ? "bk-table-" + _vm.tableSize : '', _vm.extCls],
42370
42260
  on: {
42371
42261
  "mouseleave": function mouseleave($event) {
42372
- _vm.handleMouseLeave($event);
42262
+ return _vm.handleMouseLeave($event);
42373
42263
  }
42374
42264
  }
42375
42265
  }, [_c('div', {
@@ -42426,9 +42316,11 @@
42426
42316
  }
42427
42317
  }, [_c('span', {
42428
42318
  staticClass: "bk-table-empty-text"
42429
- }, [_vm._t("empty", [_c('i', {
42430
- staticClass: "bk-table-empty-icon bk-icon icon-empty"
42431
- }), _c('div', [_vm._v(_vm._s(_vm.emptyText || _vm.t('bk.table.emptyText')))])])], 2)]) : _vm._e(), _vm.$slots.append ? _c('div', {
42319
+ }, [_vm._t("empty", function () {
42320
+ return [_c('i', {
42321
+ staticClass: "bk-table-empty-icon bk-icon icon-empty"
42322
+ }), _c('div', [_vm._v(_vm._s(_vm.emptyText || _vm.t('bk.table.emptyText')))])];
42323
+ })], 2)]) : _vm._e(), _vm.$slots.append ? _c('div', {
42432
42324
  ref: "appendWrapper",
42433
42325
  staticClass: "bk-table-append-wrapper"
42434
42326
  }, [_vm._t("append")], 2) : _vm._e()], 1), _vm.showSummary ? _c('div', {
@@ -42724,9 +42616,9 @@
42724
42616
  },
42725
42617
  "nativeOn": {
42726
42618
  "click": function () {
42727
- var _click = _asyncToGenerator( regenerator.mark(function _callee() {
42619
+ var _click = _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
42728
42620
  var result;
42729
- return regenerator.wrap(function _callee$(_context) {
42621
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
42730
42622
  while (1) {
42731
42623
  switch (_context.prev = _context.next) {
42732
42624
  case 0:
@@ -42780,9 +42672,9 @@
42780
42672
  },
42781
42673
  "nativeOn": {
42782
42674
  "click": function () {
42783
- var _click2 = _asyncToGenerator( regenerator.mark(function _callee2(event) {
42675
+ var _click2 = _asyncToGenerator( _regeneratorRuntime().mark(function _callee2(event) {
42784
42676
  var result;
42785
- return regenerator.wrap(function _callee2$(_context2) {
42677
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
42786
42678
  while (1) {
42787
42679
  switch (_context2.prev = _context2.next) {
42788
42680
  case 0:
@@ -43438,7 +43330,7 @@
43438
43330
  },
43439
43331
  nativeOn: {
43440
43332
  "click": function click($event) {
43441
- return _vm.handleSelectAll($event);
43333
+ return _vm.handleSelectAll.apply(null, arguments);
43442
43334
  }
43443
43335
  }
43444
43336
  }, [_vm._v("\n " + _vm._s(_vm.t('bk.table.setting.fields.selectAll')) + "\n ")])], 1), _c('bk-checkbox-group', {
@@ -43477,7 +43369,7 @@
43477
43369
  },
43478
43370
  on: {
43479
43371
  "click": function click($event) {
43480
- _vm.setSize('small');
43372
+ return _vm.setSize('small');
43481
43373
  }
43482
43374
  }
43483
43375
  }, [_vm._v("\n " + _vm._s(_vm.t('bk.table.setting.lineHeight.small')) + "\n ")]), _c('bk-button', {
@@ -43489,7 +43381,7 @@
43489
43381
  },
43490
43382
  on: {
43491
43383
  "click": function click($event) {
43492
- _vm.setSize('medium');
43384
+ return _vm.setSize('medium');
43493
43385
  }
43494
43386
  }
43495
43387
  }, [_vm._v("\n " + _vm._s(_vm.t('bk.table.setting.lineHeight.medium')) + "\n ")]), _c('bk-button', {
@@ -43501,7 +43393,7 @@
43501
43393
  },
43502
43394
  on: {
43503
43395
  "click": function click($event) {
43504
- _vm.setSize('large');
43396
+ return _vm.setSize('large');
43505
43397
  }
43506
43398
  }
43507
43399
  }, [_vm._v("\n " + _vm._s(_vm.t('bk.table.setting.lineHeight.large')) + "\n ")])], 1)])]), _c('div', {
@@ -44224,8 +44116,8 @@
44224
44116
  var curPage = ++this.curPage;
44225
44117
  if (curPage <= this.totalPage) {
44226
44118
  this.showScrollLoading = true;
44227
- setTimeout( _asyncToGenerator( regenerator.mark(function _callee() {
44228
- return regenerator.wrap(function _callee$(_context) {
44119
+ setTimeout( _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
44120
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
44229
44121
  while (1) {
44230
44122
  switch (_context.prev = _context.next) {
44231
44123
  case 0:
@@ -44804,7 +44696,7 @@
44804
44696
  class: _vm.extCls,
44805
44697
  on: {
44806
44698
  "click": function click($event) {
44807
- _vm.focusInputer($event);
44699
+ return _vm.focusInputer($event);
44808
44700
  },
44809
44701
  "mouseenter": _vm.mouseEnterHandler,
44810
44702
  "mouseleave": function mouseleave($event) {
@@ -44842,7 +44734,7 @@
44842
44734
  staticClass: "key-node",
44843
44735
  on: {
44844
44736
  "click": function click($event) {
44845
- _vm.selectTag($event, tag);
44737
+ return _vm.selectTag($event, tag);
44846
44738
  }
44847
44739
  }
44848
44740
  }, [_c('tag-render', {
@@ -44856,8 +44748,7 @@
44856
44748
  on: {
44857
44749
  "click": function click($event) {
44858
44750
  $event.stopPropagation();
44859
-
44860
- _vm.handlerTagRemove(tag, index);
44751
+ return _vm.handlerTagRemove(tag, index);
44861
44752
  }
44862
44753
  }
44863
44754
  }) : _vm._e()], 1);
@@ -44900,7 +44791,7 @@
44900
44791
  "focus": _vm.handleFocus,
44901
44792
  "paste": _vm.handlePaste,
44902
44793
  "blur": function blur($event) {
44903
- _vm.handleBlur(_vm.curInputValue);
44794
+ return _vm.handleBlur(_vm.curInputValue);
44904
44795
  },
44905
44796
  "keydown": _vm.handleKeydown
44906
44797
  }
@@ -44917,7 +44808,7 @@
44917
44808
  on: {
44918
44809
  "click": function click($event) {
44919
44810
  $event.stopPropagation();
44920
- return _vm.handlerClear($event);
44811
+ return _vm.handlerClear.apply(null, arguments);
44921
44812
  }
44922
44813
  }
44923
44814
  }) : _vm._e()]), _c('bk-popover', {
@@ -44968,7 +44859,7 @@
44968
44859
  }, _vm.activeClass(data, index)],
44969
44860
  on: {
44970
44861
  "mousedown": function mousedown($event) {
44971
- _vm.handlerResultSelect(data, 'select');
44862
+ return _vm.handlerResultSelect(data, 'select');
44972
44863
  }
44973
44864
  }
44974
44865
  }, [_c('list-render', {
@@ -45015,7 +44906,7 @@
45015
44906
  }, _vm.activeClass(data, index)],
45016
44907
  on: {
45017
44908
  "click": function click($event) {
45018
- _vm.handlerResultSelect(data, 'select');
44909
+ return _vm.handlerResultSelect(data, 'select');
45019
44910
  }
45020
44911
  }
45021
44912
  }, [_c('list-render', {
@@ -45230,21 +45121,25 @@
45230
45121
  }
45231
45122
  }) : _vm._e()], 1)]) : _vm._e(), _c('div', {
45232
45123
  staticClass: "bk-timeline-section"
45233
- }, [_vm._t("title" + index, [item.tag !== '' ? _c('div', {
45234
- class: ['bk-timeline-title', {
45235
- 'has-event': !!_vm.$listeners['select']
45236
- }],
45237
- domProps: {
45238
- "innerHTML": _vm._s(item.tag)
45239
- },
45240
- on: {
45241
- "click": function click($event) {
45242
- _vm.toggle(item);
45124
+ }, [_vm._t("title" + index, function () {
45125
+ return [item.tag !== '' ? _c('div', {
45126
+ class: ['bk-timeline-title', {
45127
+ 'has-event': !!_vm.$listeners['select']
45128
+ }],
45129
+ domProps: {
45130
+ "innerHTML": _vm._s(item.tag)
45131
+ },
45132
+ on: {
45133
+ "click": function click($event) {
45134
+ return _vm.toggle(item);
45135
+ }
45243
45136
  }
45244
- }
45245
- }) : _vm._e()], null, item), item.content ? _c('div', {
45137
+ }) : _vm._e()];
45138
+ }, null, item), item.content ? _c('div', {
45246
45139
  staticClass: "bk-timeline-content"
45247
- }, [_vm.isNode(item) ? [_vm._t('nodeContent' + index, [_vm._v(_vm._s(_vm.nodeContent(item, index)))])] : [_c('div', {
45140
+ }, [_vm.isNode(item) ? [_vm._t('nodeContent' + index, function () {
45141
+ return [_vm._v(_vm._s(_vm.nodeContent(item, index)))];
45142
+ })] : [_c('div', {
45248
45143
  attrs: {
45249
45144
  "title": _vm.computedTitle(item.content)
45250
45145
  },
@@ -45740,39 +45635,38 @@
45740
45635
  "click": function click($event) {
45741
45636
  $event.stopPropagation();
45742
45637
  $event.preventDefault();
45743
-
45744
- _vm.leftClick(index, item);
45638
+ return _vm.leftClick(index, item);
45745
45639
  },
45746
45640
  "mouseover": function mouseover($event) {
45747
45641
  $event.stopPropagation();
45748
45642
  $event.preventDefault();
45749
-
45750
- _vm.leftMouseover(index);
45643
+ return _vm.leftMouseover(index);
45751
45644
  },
45752
45645
  "mouseleave": function mouseleave($event) {
45753
45646
  $event.stopPropagation();
45754
45647
  $event.preventDefault();
45755
-
45756
- _vm.leftMouseleave(index);
45648
+ return _vm.leftMouseleave(index);
45757
45649
  }
45758
45650
  }
45759
- }, [_vm._t("source-option", [_vm.showOverflowTips ? _c('span', {
45760
- directives: [{
45761
- name: "bk-overflow-tips",
45762
- rawName: "v-bk-overflow-tips"
45763
- }],
45764
- staticClass: "content-text"
45765
- }, [_vm._v(_vm._s(item[_vm.displayCode]))]) : _c('span', {
45766
- staticClass: "content-text",
45767
- attrs: {
45768
- "title": item[_vm.displayCode]
45769
- }
45770
- }, [_vm._v(_vm._s(item[_vm.displayCode]))]), !item.disabled ? _c('span', {
45771
- staticClass: "icon-wrapper",
45772
- class: [index === _vm.leftHoverIndex ? 'hover' : '']
45773
- }, [_c('i', {
45774
- staticClass: "bk-icon icon-arrows-right"
45775
- })]) : _vm._e()], null, item)], 2);
45651
+ }, [_vm._t("source-option", function () {
45652
+ return [_vm.showOverflowTips ? _c('span', {
45653
+ directives: [{
45654
+ name: "bk-overflow-tips",
45655
+ rawName: "v-bk-overflow-tips"
45656
+ }],
45657
+ staticClass: "content-text"
45658
+ }, [_vm._v(_vm._s(item[_vm.displayCode]))]) : _c('span', {
45659
+ staticClass: "content-text",
45660
+ attrs: {
45661
+ "title": item[_vm.displayCode]
45662
+ }
45663
+ }, [_vm._v(_vm._s(item[_vm.displayCode]))]), !item.disabled ? _c('span', {
45664
+ staticClass: "icon-wrapper",
45665
+ class: [index === _vm.leftHoverIndex ? 'hover' : '']
45666
+ }, [_c('i', {
45667
+ staticClass: "bk-icon icon-arrows-right"
45668
+ })]) : _vm._e()];
45669
+ }, null, item)], 2);
45776
45670
  }), 0)] : [_vm.slot['left-empty-content'] ? _c('div', [_vm._t("left-empty-content")], 2) : _c('div', {
45777
45671
  staticClass: "empty"
45778
45672
  }, [_vm._v("\n " + _vm._s(_vm.emptyContent[0] ? _vm.emptyContent[0] : _vm.t('bk.transfer.emptyContent')) + "\n ")])]], 2), _c('div', {
@@ -45803,39 +45697,38 @@
45803
45697
  "click": function click($event) {
45804
45698
  $event.stopPropagation();
45805
45699
  $event.preventDefault();
45806
-
45807
- _vm.rightClick(index, item);
45700
+ return _vm.rightClick(index, item);
45808
45701
  },
45809
45702
  "mouseover": function mouseover($event) {
45810
45703
  $event.stopPropagation();
45811
45704
  $event.preventDefault();
45812
-
45813
- _vm.rightMouseover(index);
45705
+ return _vm.rightMouseover(index);
45814
45706
  },
45815
45707
  "mouseleave": function mouseleave($event) {
45816
45708
  $event.stopPropagation();
45817
45709
  $event.preventDefault();
45818
-
45819
- _vm.rightMouseleave(index);
45710
+ return _vm.rightMouseleave(index);
45820
45711
  }
45821
45712
  }
45822
- }, [_vm._t("target-option", [_vm.showOverflowTips ? _c('span', {
45823
- directives: [{
45824
- name: "bk-overflow-tips",
45825
- rawName: "v-bk-overflow-tips"
45826
- }],
45827
- staticClass: "content-text"
45828
- }, [_vm._v(_vm._s(item[_vm.displayCode]))]) : _c('span', {
45829
- staticClass: "content-text",
45830
- attrs: {
45831
- "title": item[_vm.displayCode]
45832
- }
45833
- }, [_vm._v(_vm._s(item[_vm.displayCode]))]), !item.disabled ? _c('span', {
45834
- staticClass: "icon-wrapper",
45835
- class: [index === _vm.rightHoverIndex ? 'hover' : '']
45836
- }, [_c('i', {
45837
- staticClass: "bk-icon icon-close"
45838
- })]) : _vm._e()], null, item)], 2);
45713
+ }, [_vm._t("target-option", function () {
45714
+ return [_vm.showOverflowTips ? _c('span', {
45715
+ directives: [{
45716
+ name: "bk-overflow-tips",
45717
+ rawName: "v-bk-overflow-tips"
45718
+ }],
45719
+ staticClass: "content-text"
45720
+ }, [_vm._v(_vm._s(item[_vm.displayCode]))]) : _c('span', {
45721
+ staticClass: "content-text",
45722
+ attrs: {
45723
+ "title": item[_vm.displayCode]
45724
+ }
45725
+ }, [_vm._v(_vm._s(item[_vm.displayCode]))]), !item.disabled ? _c('span', {
45726
+ staticClass: "icon-wrapper",
45727
+ class: [index === _vm.rightHoverIndex ? 'hover' : '']
45728
+ }, [_c('i', {
45729
+ staticClass: "bk-icon icon-close"
45730
+ })]) : _vm._e()];
45731
+ }, null, item)], 2);
45839
45732
  }), 0)] : [_vm.slot['right-empty-content'] ? _c('div', [_vm._t("right-empty-content")], 2) : _c('div', {
45840
45733
  staticClass: "empty"
45841
45734
  }, [_vm._v("\n " + _vm._s(_vm.emptyContent[1] ? _vm.emptyContent[1] : _vm.t('bk.transfer.emptySelected')) + "\n ")])]], 2)]);
@@ -46577,10 +46470,10 @@
46577
46470
  },
46578
46471
  on: {
46579
46472
  "drop": function drop($event) {
46580
- _vm.drop(item, $event);
46473
+ return _vm.drop(item, $event);
46581
46474
  },
46582
46475
  "dragover": function dragover($event) {
46583
- _vm.dragover($event);
46476
+ return _vm.dragover($event);
46584
46477
  }
46585
46478
  }
46586
46479
  }, [_c('div', {
@@ -46590,14 +46483,14 @@
46590
46483
  },
46591
46484
  on: {
46592
46485
  "dragstart": function dragstart($event) {
46593
- _vm.drag(item, $event);
46486
+ return _vm.drag(item, $event);
46594
46487
  }
46595
46488
  }
46596
46489
  }, [!item.parent || item.children && item.children.length || item.async ? _c('span', {
46597
46490
  class: ['bk-icon', 'tree-expanded-icon', item.expanded ? 'icon-down-shape' : 'icon-right-shape'],
46598
46491
  on: {
46599
46492
  "click": function click($event) {
46600
- _vm.expandNode(item);
46493
+ return _vm.expandNode(item);
46601
46494
  }
46602
46495
  }
46603
46496
  }) : _vm._e(), _vm.multiple ? _c('label', {
@@ -46642,15 +46535,14 @@
46642
46535
  }
46643
46536
  }, function ($event) {
46644
46537
  $event.stopPropagation();
46645
-
46646
- _vm.changeCheckStatus(item, $event);
46538
+ return _vm.changeCheckStatus(item, $event);
46647
46539
  }]
46648
46540
  }
46649
46541
  }) : _vm._e()]) : _vm._e(), _c('div', {
46650
46542
  staticClass: "tree-node",
46651
46543
  on: {
46652
46544
  "click": function click($event) {
46653
- _vm.triggerExpand(item);
46545
+ return _vm.triggerExpand(item);
46654
46546
  }
46655
46547
  }
46656
46548
  }, [_vm.isShowIcon ? _c('span', {
@@ -47251,9 +47143,9 @@
47251
47143
  };
47252
47144
  var blobSlice = File.prototype.slice || File.prototype.mozSlice || File.prototype.webkitSlice;
47253
47145
  var sliceRequest = function () {
47254
- var _ref = _asyncToGenerator( regenerator.mark(function _callee(options) {
47146
+ var _ref = _asyncToGenerator( _regeneratorRuntime().mark(function _callee(options) {
47255
47147
  var chunkSize, file, blockCount, hash, progressList;
47256
- return regenerator.wrap(function _callee$(_context) {
47148
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
47257
47149
  while (1) {
47258
47150
  switch (_context.prev = _context.next) {
47259
47151
  case 0:
@@ -47919,7 +47811,7 @@
47919
47811
  staticClass: "bk-icon icon-close delete-file",
47920
47812
  on: {
47921
47813
  "click": function click($event) {
47922
- _vm.deleteFile(index, file);
47814
+ return _vm.deleteFile(index, file);
47923
47815
  }
47924
47816
  }
47925
47817
  })]) : _vm._e()]);
@@ -47991,7 +47883,7 @@
47991
47883
  staticClass: "bk-icon icon-close delete-file error",
47992
47884
  on: {
47993
47885
  "click": function click($event) {
47994
- _vm.deleteFile(0, _vm.fileList[0]);
47886
+ return _vm.deleteFile(0, _vm.fileList[0]);
47995
47887
  }
47996
47888
  }
47997
47889
  })]) : _vm._e(), _vm.fileList[0].status === 'done' && !_vm.fileList[0].errorMsg ? _c('div', {
@@ -48006,7 +47898,7 @@
48006
47898
  staticClass: "bk-icon icon-close delete-file",
48007
47899
  on: {
48008
47900
  "click": function click($event) {
48009
- _vm.deleteFile(0, _vm.fileList[0]);
47901
+ return _vm.deleteFile(0, _vm.fileList[0]);
48010
47902
  }
48011
47903
  }
48012
47904
  })])]) : _vm._e()])]], 2) : _vm._e(), _c('input', {
@@ -48045,7 +47937,7 @@
48045
47937
  staticClass: "bk-icon icon-close close-upload",
48046
47938
  on: {
48047
47939
  "click": function click($event) {
48048
- _vm.deleteFile(index, file);
47940
+ return _vm.deleteFile(index, file);
48049
47941
  }
48050
47942
  }
48051
47943
  }), _c('div', {
@@ -48503,10 +48395,10 @@
48503
48395
  },
48504
48396
  on: {
48505
48397
  "click": function click($event) {
48506
- _vm.chooseRate(index);
48398
+ return _vm.chooseRate(index);
48507
48399
  },
48508
48400
  "mouseenter": function mouseenter($event) {
48509
- _vm.changeHover(index);
48401
+ return _vm.changeHover(index);
48510
48402
  }
48511
48403
  }
48512
48404
  }, [_c('g', {
@@ -48644,7 +48536,7 @@
48644
48536
  },
48645
48537
  nativeOn: {
48646
48538
  "mouseleave": function mouseleave($event) {
48647
- _vm.changeHover(0);
48539
+ return _vm.changeHover(0);
48648
48540
  }
48649
48541
  }
48650
48542
  })] : [_c('bk-star', {
@@ -48960,21 +48852,23 @@
48960
48852
  style: {
48961
48853
  'width': _vm.realWidth + "px"
48962
48854
  }
48963
- }, [_vm._t("default", [_c('span', {
48964
- class: [{
48965
- 'bk-swiper-link': pic.link
48966
- }, pic.class, 'bk-swiper-img'],
48967
- style: {
48968
- 'background-image': "url(" + pic.url + ")",
48969
- 'background-color': pic.color
48970
- },
48971
- on: {
48972
- "click": function click($event) {
48973
- _vm.goToLink(pic.link);
48855
+ }, [_vm._t("default", function () {
48856
+ return [_c('span', {
48857
+ class: [{
48858
+ 'bk-swiper-link': pic.link
48859
+ }, pic.class, 'bk-swiper-img'],
48860
+ style: {
48861
+ 'background-image': "url(" + pic.url + ")",
48862
+ 'background-color': pic.color
48863
+ },
48864
+ on: {
48865
+ "click": function click($event) {
48866
+ return _vm.goToLink(pic.link);
48867
+ }
48974
48868
  }
48975
- }
48976
- })], {
48977
- data: pic
48869
+ })];
48870
+ }, {
48871
+ "data": pic
48978
48872
  })], 2);
48979
48873
  }), 0), _c('ul', {
48980
48874
  staticClass: "bk-swiper-index"
@@ -48986,7 +48880,7 @@
48986
48880
  },
48987
48881
  on: {
48988
48882
  "mouseover": function mouseover($event) {
48989
- _vm.changeIndex(index + 1);
48883
+ return _vm.changeIndex(index + 1);
48990
48884
  }
48991
48885
  }
48992
48886
  });
@@ -48994,7 +48888,7 @@
48994
48888
  staticClass: "bk-swiper-nav bk-nav-prev",
48995
48889
  on: {
48996
48890
  "click": function click($event) {
48997
- _vm.changeIndex(_vm.currentIndex - 1);
48891
+ return _vm.changeIndex(_vm.currentIndex - 1);
48998
48892
  }
48999
48893
  }
49000
48894
  }, [_c('i', {
@@ -49003,7 +48897,7 @@
49003
48897
  staticClass: "bk-swiper-nav bk-nav-next",
49004
48898
  on: {
49005
48899
  "click": function click($event) {
49006
- _vm.changeIndex(_vm.currentIndex + 1);
48900
+ return _vm.changeIndex(_vm.currentIndex + 1);
49007
48901
  }
49008
48902
  }
49009
48903
  }, [_c('i', {
@@ -49194,11 +49088,11 @@
49194
49088
  on: {
49195
49089
  "mousewheel": function mousewheel($event) {
49196
49090
  $event.preventDefault();
49197
- return _vm.scrollImage($event);
49091
+ return _vm.scrollImage.apply(null, arguments);
49198
49092
  },
49199
49093
  "DOMMouseScroll": function DOMMouseScroll($event) {
49200
49094
  $event.preventDefault();
49201
- return _vm.scrollImage($event);
49095
+ return _vm.scrollImage.apply(null, arguments);
49202
49096
  },
49203
49097
  "mousedown": _vm.mouseDown
49204
49098
  }
@@ -49367,8 +49261,8 @@
49367
49261
  },
49368
49262
  handleOnShowChange: function handleOnShowChange(v) {
49369
49263
  var _this2 = this;
49370
- return _asyncToGenerator( regenerator.mark(function _callee() {
49371
- return regenerator.wrap(function _callee$(_context) {
49264
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
49265
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
49372
49266
  while (1) {
49373
49267
  switch (_context.prev = _context.next) {
49374
49268
  case 0:
@@ -49422,9 +49316,9 @@
49422
49316
  },
49423
49317
  handleLeftScroll: function handleLeftScroll(e) {
49424
49318
  var _this3 = this;
49425
- return _asyncToGenerator( regenerator.mark(function _callee2() {
49319
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee2() {
49426
49320
  var el, scrollHeight, scrollTop, clientHeight;
49427
- return regenerator.wrap(function _callee2$(_context2) {
49321
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
49428
49322
  while (1) {
49429
49323
  switch (_context2.prev = _context2.next) {
49430
49324
  case 0:
@@ -49465,8 +49359,8 @@
49465
49359
  handleItemClick: function handleItemClick() {
49466
49360
  var _this4 = this;
49467
49361
  var v = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
49468
- return _asyncToGenerator( regenerator.mark(function _callee3() {
49469
- return regenerator.wrap(function _callee3$(_context3) {
49362
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee3() {
49363
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
49470
49364
  while (1) {
49471
49365
  switch (_context3.prev = _context3.next) {
49472
49366
  case 0:
@@ -49554,23 +49448,25 @@
49554
49448
  index !== _vm.active && _vm.handleItemClick(index);
49555
49449
  }
49556
49450
  }
49557
- }, [_vm._t("item", [_c('span', {
49558
- directives: [{
49559
- name: "bk-overflow-tips",
49560
- rawName: "v-bk-overflow-tips",
49561
- value: {
49562
- content: item[_vm.versionTitleName],
49563
- placement: 'right'
49564
- },
49565
- expression: "{ content: item[versionTitleName], placement: 'right' }"
49566
- }],
49567
- staticClass: "item-title"
49568
- }, [_vm._v(_vm._s(item[_vm.versionTitleName]))]), _c('span', {
49569
- staticClass: "item-date"
49570
- }, [_vm._v(_vm._s(item[_vm.versionSubTitleName]))]), item[_vm.versionTitleName] === _vm.currentVersion ? _c('span', {
49571
- staticClass: "item-current"
49572
- }, [_vm._v(" " + _vm._s('当前版本') + " ")]) : _vm._e()], {
49573
- version: {
49451
+ }, [_vm._t("item", function () {
49452
+ return [_c('span', {
49453
+ directives: [{
49454
+ name: "bk-overflow-tips",
49455
+ rawName: "v-bk-overflow-tips",
49456
+ value: {
49457
+ content: item[_vm.versionTitleName],
49458
+ placement: 'right'
49459
+ },
49460
+ expression: "{ content: item[versionTitleName], placement: 'right' }"
49461
+ }],
49462
+ staticClass: "item-title"
49463
+ }, [_vm._v(_vm._s(item[_vm.versionTitleName]))]), _c('span', {
49464
+ staticClass: "item-date"
49465
+ }, [_vm._v(_vm._s(item[_vm.versionSubTitleName]))]), item[_vm.versionTitleName] === _vm.currentVersion ? _c('span', {
49466
+ staticClass: "item-current"
49467
+ }, [_vm._v(" " + _vm._s('当前版本') + " ")]) : _vm._e()];
49468
+ }, {
49469
+ "version": {
49574
49470
  item: item,
49575
49471
  index: index
49576
49472
  }
@@ -49605,8 +49501,10 @@
49605
49501
  style: {
49606
49502
  height: _vm.dialog.height + 'px'
49607
49503
  }
49608
- }, [_vm._t("default", [_vm._v("\n " + _vm._s(_vm.versionDetail) + "\n ")], {
49609
- detail: _vm.versionDetail
49504
+ }, [_vm._t("default", function () {
49505
+ return [_vm._v("\n " + _vm._s(_vm.versionDetail) + "\n ")];
49506
+ }, {
49507
+ "detail": _vm.versionDetail
49610
49508
  })], 2)])]], 2);
49611
49509
  };
49612
49510
 
@@ -50344,9 +50242,9 @@
50344
50242
  },
50345
50243
  handleSearch: function handleSearch(text) {
50346
50244
  var _this5 = this;
50347
- return _asyncToGenerator( regenerator.mark(function _callee() {
50245
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
50348
50246
  var include, list, filter;
50349
- return regenerator.wrap(function _callee$(_context) {
50247
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
50350
50248
  while (1) {
50351
50249
  switch (_context.prev = _context.next) {
50352
50250
  case 0:
@@ -50526,9 +50424,9 @@
50526
50424
  },
50527
50425
  updateChildMenu: function updateChildMenu(item, index, isCondition) {
50528
50426
  var _this8 = this;
50529
- return _asyncToGenerator( regenerator.mark(function _callee2() {
50427
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee2() {
50530
50428
  var isChild, isRemote, list;
50531
- return regenerator.wrap(function _callee2$(_context2) {
50429
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
50532
50430
  while (1) {
50533
50431
  switch (_context2.prev = _context2.next) {
50534
50432
  case 0:
@@ -50725,8 +50623,8 @@
50725
50623
  var _this11 = this;
50726
50624
  var needShowPopover = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
50727
50625
  var needEmitKeyEnter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
50728
- return _asyncToGenerator( regenerator.mark(function _callee3() {
50729
- return regenerator.wrap(function _callee3$(_context3) {
50626
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee3() {
50627
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
50730
50628
  while (1) {
50731
50629
  switch (_context3.prev = _context3.next) {
50732
50630
  case 0:
@@ -50774,9 +50672,9 @@
50774
50672
  },
50775
50673
  handleValidate: function handleValidate(valList) {
50776
50674
  var _this12 = this;
50777
- return _asyncToGenerator( regenerator.mark(function _callee4() {
50675
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee4() {
50778
50676
  var validate, selection;
50779
- return regenerator.wrap(function _callee4$(_context4) {
50677
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
50780
50678
  while (1) {
50781
50679
  switch (_context4.prev = _context4.next) {
50782
50680
  case 0:
@@ -50820,9 +50718,9 @@
50820
50718
  var _this13 = this;
50821
50719
  var child = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
50822
50720
  var needShowPopover = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
50823
- return _asyncToGenerator( regenerator.mark(function _callee5() {
50721
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee5() {
50824
50722
  var values, data, validate, _validate;
50825
- return regenerator.wrap(function _callee5$(_context5) {
50723
+ return _regeneratorRuntime().wrap(function _callee5$(_context5) {
50826
50724
  while (1) {
50827
50725
  switch (_context5.prev = _context5.next) {
50828
50726
  case 0:
@@ -51052,7 +50950,7 @@
51052
50950
  staticClass: "chip-clear bk-icon icon-close",
51053
50951
  on: {
51054
50952
  "click": function click($event) {
51055
- _vm.handleClear(index, item);
50953
+ return _vm.handleClear(index, item);
51056
50954
  }
51057
50955
  }
51058
50956
  })]) : _vm._e()];
@@ -51073,7 +50971,7 @@
51073
50971
  staticClass: "chip-clear bk-icon icon-close",
51074
50972
  on: {
51075
50973
  "click": function click($event) {
51076
- _vm.handleClear(index, item);
50974
+ return _vm.handleClear(index, item);
51077
50975
  }
51078
50976
  }
51079
50977
  })]) : _vm._e()];
@@ -51115,28 +51013,32 @@
51115
51013
  return null;
51116
51014
  }
51117
51015
 
51118
- return _vm.handleClearAll($event);
51016
+ return _vm.handleClearAll.apply(null, arguments);
51119
51017
  }
51120
51018
  }
51121
- }) : _vm._e(), _vm._t("nextfix", [_c('i', {
51122
- staticClass: "bk-icon icon-search search-nextfix-icon",
51123
- class: {
51124
- 'is-focus': _vm.input.focus
51125
- },
51126
- on: {
51127
- "click": function click($event) {
51128
- if ($event.target !== $event.currentTarget) {
51129
- return null;
51130
- }
51019
+ }) : _vm._e(), _vm._t("nextfix", function () {
51020
+ return [_c('i', {
51021
+ staticClass: "bk-icon icon-search search-nextfix-icon",
51022
+ class: {
51023
+ 'is-focus': _vm.input.focus
51024
+ },
51025
+ on: {
51026
+ "click": function click($event) {
51027
+ if ($event.target !== $event.currentTarget) {
51028
+ return null;
51029
+ }
51131
51030
 
51132
- return _vm.handleClickSearch($event);
51031
+ return _vm.handleClickSearch.apply(null, arguments);
51032
+ }
51133
51033
  }
51134
- }
51135
- })])], 2)]), _vm.validateStr.length ? _c('div', {
51034
+ })];
51035
+ })], 2)]), _vm.validateStr.length ? _c('div', {
51136
51036
  staticClass: "bk-select-tips"
51137
- }, [_vm._t("validate", [_c('i', {
51138
- staticClass: "bk-icon icon-exclamation-circle-shape select-tips"
51139
- }), _vm._v(_vm._s(_vm.validateStr || '') + "\n ")])], 2) : _vm._e()]);
51037
+ }, [_vm._t("validate", function () {
51038
+ return [_c('i', {
51039
+ staticClass: "bk-icon icon-exclamation-circle-shape select-tips"
51040
+ }), _vm._v(_vm._s(_vm.validateStr || '') + "\n ")];
51041
+ })], 2) : _vm._e()]);
51140
51042
  };
51141
51043
 
51142
51044
  var __vue_staticRenderFns__$1j = [];
@@ -51386,9 +51288,9 @@
51386
51288
  this.children.forEach(function (node) {
51387
51289
  node.visible = expanded;
51388
51290
  });
51389
- this.tree.$nextTick( _asyncToGenerator( regenerator.mark(function _callee() {
51291
+ this.tree.$nextTick( _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
51390
51292
  var _yield$_this2$tree$la, _yield$_this2$tree$la2, leaf, _yield$_this2$tree$la3, data, newNodes;
51391
- return regenerator.wrap(function _callee$(_context) {
51293
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
51392
51294
  while (1) {
51393
51295
  switch (_context.prev = _context.next) {
51394
51296
  case 0:
@@ -51593,7 +51495,7 @@
51593
51495
  },
51594
51496
  on: {
51595
51497
  "click": function click($event) {
51596
- _vm.props.node.tree.handleNodeClick(_vm.props.node);
51498
+ return _vm.props.node.tree.handleNodeClick(_vm.props.node);
51597
51499
  }
51598
51500
  }
51599
51501
  }, [_c('div', {
@@ -51605,8 +51507,7 @@
51605
51507
  on: {
51606
51508
  "click": function click($event) {
51607
51509
  $event.stopPropagation();
51608
-
51609
- _vm.props.node.tree.handleNodeExpand(_vm.props.node);
51510
+ return _vm.props.node.tree.handleNodeExpand(_vm.props.node);
51610
51511
  }
51611
51512
  }
51612
51513
  }) : _vm._e(), _vm.props.node.hasCheckbox ? _c('span', {
@@ -51619,8 +51520,7 @@
51619
51520
  on: {
51620
51521
  "click": function click($event) {
51621
51522
  $event.stopPropagation();
51622
-
51623
- _vm.props.node.tree.handleNodeCheck(_vm.props.node);
51523
+ return _vm.props.node.tree.handleNodeCheck(_vm.props.node);
51624
51524
  }
51625
51525
  }
51626
51526
  }) : _vm._e(), _vm.props.node.nodeIcon ? _c('i', {
@@ -51630,9 +51530,11 @@
51630
51530
  attrs: {
51631
51531
  "title": _vm.props.enableTitleTip ? _vm.props.node.name : false
51632
51532
  }
51633
- }, [_vm._t("default", [_vm._v("\n " + _vm._s(_vm.props.node.name) + "\n ")], {
51634
- node: _vm.props.node,
51635
- data: _vm.props.node.data
51533
+ }, [_vm._t("default", function () {
51534
+ return [_vm._v("\n " + _vm._s(_vm.props.node.name) + "\n ")];
51535
+ }, {
51536
+ "node": _vm.props.node,
51537
+ "data": _vm.props.node.data
51636
51538
  })], 2)]) : _vm._e();
51637
51539
  };
51638
51540
 
@@ -52046,9 +51948,9 @@
52046
51948
  setSelected: function setSelected(nodeId) {
52047
51949
  var _this8 = this;
52048
51950
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
52049
- return _asyncToGenerator( regenerator.mark(function _callee() {
51951
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
52050
51952
  var mergeOptions, node, response;
52051
- return regenerator.wrap(function _callee$(_context) {
51953
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
52052
51954
  while (1) {
52053
51955
  switch (_context.prev = _context.next) {
52054
51956
  case 0:
@@ -52115,9 +52017,9 @@
52115
52017
  setChecked: function setChecked(nodeId) {
52116
52018
  var _this9 = this;
52117
52019
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
52118
- return _asyncToGenerator( regenerator.mark(function _callee2() {
52020
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee2() {
52119
52021
  var isMultiple, ids, mergeOptions, nodes, response;
52120
- return regenerator.wrap(function _callee2$(_context2) {
52022
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
52121
52023
  while (1) {
52122
52024
  switch (_context2.prev = _context2.next) {
52123
52025
  case 0:
@@ -52382,11 +52284,11 @@
52382
52284
  "id": "bk-big-tree-" + _vm.id + "-node-" + node.id
52383
52285
  }
52384
52286
  }, [_vm._t("default", null, {
52385
- node: node,
52386
- data: node.data
52287
+ "node": node,
52288
+ "data": node.data
52387
52289
  })], 2);
52388
52290
  }
52389
- }])
52291
+ }], null, true)
52390
52292
  }) : _vm._l(_vm.nodes, function (node) {
52391
52293
  return [_c('tree-item', {
52392
52294
  key: node.id,
@@ -52397,12 +52299,14 @@
52397
52299
  "node": node
52398
52300
  }
52399
52301
  }, [_vm._t("default", null, {
52400
- node: node,
52401
- data: node.data
52302
+ "node": node,
52303
+ "data": node.data
52402
52304
  })], 2)];
52403
52305
  }), (_vm.$slots.empty || _vm.useDefaultEmpty) && _vm.isSearchEmpty ? _c('div', {
52404
52306
  staticClass: "bk-big-tree-empty"
52405
- }, [_vm._t("empty", [_vm._v("\n " + _vm._s(_vm.t('bk.bigTree.emptyText')) + "\n ")])], 2) : _vm._e()], 2);
52307
+ }, [_vm._t("empty", function () {
52308
+ return [_vm._v("\n " + _vm._s(_vm.t('bk.bigTree.emptyText')) + "\n ")];
52309
+ })], 2) : _vm._e()], 2);
52406
52310
  };
52407
52311
 
52408
52312
  var __vue_staticRenderFns__$1l = [];
@@ -52461,13 +52365,17 @@
52461
52365
  style: {
52462
52366
  borderBottomWidth: _vm.navigationType === 'left-right' ? '0' : '1px'
52463
52367
  }
52464
- }, 'div', _vm.$attrs, false), [_vm._t("default", [_c('span', {
52465
- staticClass: "title-icon"
52466
- }, [_vm._t("side-icon", [_c('i', {
52467
- staticClass: "bk-icon icon-rtx"
52468
- })])], 2), _c('span', {
52469
- staticClass: "title-desc"
52470
- }, [_vm._v(_vm._s(_vm.sideTitle))])])], 2);
52368
+ }, 'div', _vm.$attrs, false), [_vm._t("default", function () {
52369
+ return [_c('span', {
52370
+ staticClass: "title-icon"
52371
+ }, [_vm._t("side-icon", function () {
52372
+ return [_c('i', {
52373
+ staticClass: "bk-icon icon-rtx"
52374
+ })];
52375
+ })], 2), _c('span', {
52376
+ staticClass: "title-desc"
52377
+ }, [_vm._v(_vm._s(_vm.sideTitle))])];
52378
+ })], 2);
52471
52379
  };
52472
52380
 
52473
52381
  var __vue_staticRenderFns__$1m = [];
@@ -52642,9 +52550,11 @@
52642
52550
  attrs: {
52643
52551
  "side-title": _vm.sideTitle
52644
52552
  }
52645
- }, [_vm.$slots['side-header'] || _vm.$slots['side-icon'] ? [_vm.$slots['side-header'] ? _vm._t("side-header", [_vm.$slots['side-icon'] ? _c('template', {
52646
- slot: "side-icon"
52647
- }, [_vm._t("side-icon")], 2) : _vm._e()]) : _vm.$slots['side-icon'] ? _c('template', {
52553
+ }, [_vm.$slots['side-header'] || _vm.$slots['side-icon'] ? [_vm.$slots['side-header'] ? _vm._t("side-header", function () {
52554
+ return [_vm.$slots['side-icon'] ? _c('template', {
52555
+ slot: "side-icon"
52556
+ }, [_vm._t("side-icon")], 2) : _vm._e()];
52557
+ }) : _vm.$slots['side-icon'] ? _c('template', {
52648
52558
  slot: "side-icon"
52649
52559
  }, [_vm._t("side-icon")], 2) : _vm._e()] : _vm._e()], 2), _c('div', {
52650
52560
  staticClass: "header-right"
@@ -52664,10 +52574,10 @@
52664
52574
  },
52665
52575
  on: {
52666
52576
  "&mouseenter": function mouseenter($event) {
52667
- return _vm.handleMouseOver($event);
52577
+ return _vm.handleMouseOver.apply(null, arguments);
52668
52578
  },
52669
52579
  "&mouseleave": function mouseleave($event) {
52670
- return _vm.handleMouseLeave($event);
52580
+ return _vm.handleMouseLeave.apply(null, arguments);
52671
52581
  }
52672
52582
  }
52673
52583
  }, [_vm.navigationType !== 'top-bottom' ? [_c('navigation-menu-title', {
@@ -52677,9 +52587,11 @@
52677
52587
  attrs: {
52678
52588
  "side-title": _vm.sideTitle
52679
52589
  }
52680
- }, [_vm.$slots['side-header'] || _vm.$slots['side-icon'] ? [_vm.$slots['side-header'] ? _vm._t("side-header", [_vm.$slots['side-icon'] ? _c('template', {
52681
- slot: "side-icon"
52682
- }, [_vm._t("side-icon")], 2) : _vm._e()]) : _vm.$slots['side-icon'] ? _c('template', {
52590
+ }, [_vm.$slots['side-header'] || _vm.$slots['side-icon'] ? [_vm.$slots['side-header'] ? _vm._t("side-header", function () {
52591
+ return [_vm.$slots['side-icon'] ? _c('template', {
52592
+ slot: "side-icon"
52593
+ }, [_vm._t("side-icon")], 2) : _vm._e()];
52594
+ }) : _vm.$slots['side-icon'] ? _c('template', {
52683
52595
  slot: "side-icon"
52684
52596
  }, [_vm._t("side-icon")], 2) : _vm._e()] : _vm._e()], 2)] : _vm._e(), _c('div', {
52685
52597
  staticClass: "nav-slider-list",
@@ -52696,7 +52608,7 @@
52696
52608
  on: {
52697
52609
  "click": function click($event) {
52698
52610
  $event.stopPropagation();
52699
- return _vm.handleClick($event);
52611
+ return _vm.handleClick.apply(null, arguments);
52700
52612
  }
52701
52613
  }
52702
52614
  }, [_c('span', {
@@ -52731,11 +52643,13 @@
52731
52643
  style: {
52732
52644
  flexBasis: _vm.headHeight + 'px'
52733
52645
  }
52734
- }, [_vm._t("header", [_c('div', {
52735
- staticClass: "container-header-title"
52736
- }, [_vm._v(_vm._s(_vm.headerTitle))]), _c('div', {
52737
- staticClass: "container-header-sets"
52738
- }, [_vm._t("header-set")], 2)])], 2)] : _vm._e(), _c('div', {
52646
+ }, [_vm._t("header", function () {
52647
+ return [_c('div', {
52648
+ staticClass: "container-header-title"
52649
+ }, [_vm._v(_vm._s(_vm.headerTitle))]), _c('div', {
52650
+ staticClass: "container-header-sets"
52651
+ }, [_vm._t("header-set")], 2)];
52652
+ })], 2)] : _vm._e(), _c('div', {
52739
52653
  staticClass: "container-content",
52740
52654
  style: {
52741
52655
  maxHeight: "calc(100vh - " + _vm.headHeight + "px)"
@@ -53010,9 +52924,9 @@
53010
52924
  },
53011
52925
  handleSetItem: function handleSetItem(item) {
53012
52926
  var _this3 = this;
53013
- return _asyncToGenerator( regenerator.mark(function _callee() {
52927
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
53014
52928
  var canChange, id;
53015
- return regenerator.wrap(function _callee$(_context) {
52929
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
53016
52930
  while (1) {
53017
52931
  switch (_context.prev = _context.next) {
53018
52932
  case 0:
@@ -53357,19 +53271,19 @@
53357
53271
  return null;
53358
53272
  }
53359
53273
 
53360
- _vm.handleMouseHover(!_vm.disabled);
53274
+ return _vm.handleMouseHover(!_vm.disabled);
53361
53275
  },
53362
53276
  "mouseleave": function mouseleave($event) {
53363
53277
  if ($event.target !== $event.currentTarget) {
53364
53278
  return null;
53365
53279
  }
53366
53280
 
53367
- _vm.handleMouseHover(false);
53281
+ return _vm.handleMouseHover(false);
53368
53282
  },
53369
53283
  "click": function click($event) {
53370
53284
  $event.stopPropagation();
53371
53285
  $event.preventDefault();
53372
- return _vm.handleSbmenuClick($event);
53286
+ return _vm.handleSbmenuClick.apply(null, arguments);
53373
53287
  }
53374
53288
  }
53375
53289
  }, [_vm.icon ? _c('span', {
@@ -53444,8 +53358,7 @@
53444
53358
  on: {
53445
53359
  "click": function click($event) {
53446
53360
  $event.stopPropagation();
53447
-
53448
- _vm.handleClick($event);
53361
+ return _vm.handleClick($event);
53449
53362
  },
53450
53363
  "mouseover": function mouseover($event) {
53451
53364
  if ($event.target !== $event.currentTarget) {
@@ -53459,7 +53372,7 @@
53459
53372
  return null;
53460
53373
  }
53461
53374
 
53462
- _vm.handleMouseHover(false);
53375
+ return _vm.handleMouseHover(false);
53463
53376
  }
53464
53377
  }
53465
53378
  }, [_vm.icon ? _c('span', {
@@ -53675,32 +53588,34 @@
53675
53588
  }
53676
53589
  }, [_c('div', {
53677
53590
  staticClass: "bk-option-content"
53678
- }, [_vm._t("default", [_c('div', {
53679
- staticClass: "bk-option-content-default",
53680
- attrs: {
53681
- "title": _vm.item.name
53682
- }
53683
- }, [_vm.multiple ? _c('div', {
53684
- staticClass: "bk-cascade-check"
53685
- }, [_c('bk-checkbox', {
53686
- attrs: {
53687
- "value": _vm.item.isSelected,
53688
- "disabled": _vm.item.disabled,
53689
- "indeterminate": _vm.item.isIndeterminate
53690
- },
53691
- on: {
53692
- "change": _vm.handleCheckItem
53693
- }
53694
- })], 1) : _vm._e(), _c('span', {
53695
- staticClass: "bk-option-name",
53696
- class: {
53697
- 'bk-margin-left': _vm.multiple
53698
- }
53699
- }, [_vm._t("option", null, {
53700
- node: _vm.item
53701
- }), _vm._t("prepend", null, {
53702
- node: _vm.item
53703
- })], 2)])])], 2), _vm.isRemote ? [_vm.item.isLoading ? _c('i', {
53591
+ }, [_vm._t("default", function () {
53592
+ return [_c('div', {
53593
+ staticClass: "bk-option-content-default",
53594
+ attrs: {
53595
+ "title": _vm.item.name
53596
+ }
53597
+ }, [_vm.multiple ? _c('div', {
53598
+ staticClass: "bk-cascade-check"
53599
+ }, [_c('bk-checkbox', {
53600
+ attrs: {
53601
+ "value": _vm.item.isSelected,
53602
+ "disabled": _vm.item.disabled,
53603
+ "indeterminate": _vm.item.isIndeterminate
53604
+ },
53605
+ on: {
53606
+ "change": _vm.handleCheckItem
53607
+ }
53608
+ })], 1) : _vm._e(), _c('span', {
53609
+ staticClass: "bk-option-name",
53610
+ class: {
53611
+ 'bk-margin-left': _vm.multiple
53612
+ }
53613
+ }, [_vm._t("option", null, {
53614
+ "node": _vm.item
53615
+ }), _vm._t("prepend", null, {
53616
+ "node": _vm.item
53617
+ })], 2)])];
53618
+ })], 2), _vm.isRemote ? [_vm.item.isLoading ? _c('i', {
53704
53619
  staticClass: "bk-icon left-icon icon-loading bk-button-icon-loading bk-cascade-right"
53705
53620
  }, [_c('span', {
53706
53621
  staticClass: "loading"
@@ -54037,13 +53952,11 @@
54037
53952
  nativeOn: {
54038
53953
  "click": function click($event) {
54039
53954
  $event.stopPropagation();
54040
-
54041
- _vm.cascadeClick(item);
53955
+ return _vm.cascadeClick(item);
54042
53956
  },
54043
53957
  "mouseenter": function mouseenter($event) {
54044
53958
  $event.stopPropagation();
54045
-
54046
- _vm.cascadeHover(item);
53959
+ return _vm.cascadeHover(item);
54047
53960
  }
54048
53961
  },
54049
53962
  scopedSlots: _vm._u([{
@@ -54051,7 +53964,7 @@
54051
53964
  fn: function fn(ref) {
54052
53965
  var node = ref.node;
54053
53966
  return [_vm._t("option", null, {
54054
- node: node
53967
+ "node": node
54055
53968
  })];
54056
53969
  }
54057
53970
  }, {
@@ -54059,10 +53972,10 @@
54059
53972
  fn: function fn(ref) {
54060
53973
  var node = ref.node;
54061
53974
  return [_vm._t("prepend", null, {
54062
- node: node
53975
+ "node": node
54063
53976
  })];
54064
53977
  }
54065
- }])
53978
+ }], null, true)
54066
53979
  });
54067
53980
  }), 1) : _c('ul', {
54068
53981
  staticClass: "bk-cascade-panel-ul",
@@ -54090,7 +54003,7 @@
54090
54003
  fn: function fn(ref) {
54091
54004
  var node = ref.node;
54092
54005
  return [_vm._t("option", null, {
54093
- node: node
54006
+ "node": node
54094
54007
  })];
54095
54008
  }
54096
54009
  }, {
@@ -54098,10 +54011,10 @@
54098
54011
  fn: function fn(ref) {
54099
54012
  var node = ref.node;
54100
54013
  return [_vm._t("prepend", null, {
54101
- node: node
54014
+ "node": node
54102
54015
  })];
54103
54016
  }
54104
- }])
54017
+ }], null, true)
54105
54018
  }) : _vm._e()], 1);
54106
54019
  };
54107
54020
 
@@ -54776,26 +54689,26 @@
54776
54689
  },
54777
54690
  on: {
54778
54691
  "keydown": [function ($event) {
54779
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
54692
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
54780
54693
  return null;
54781
54694
  }
54782
54695
 
54783
54696
  $event.preventDefault();
54784
- return _vm.showTippyInstance($event);
54697
+ return _vm.showTippyInstance.apply(null, arguments);
54785
54698
  }, function ($event) {
54786
- if (!('button' in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
54699
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
54787
54700
  return null;
54788
54701
  }
54789
54702
 
54790
- return _vm.handleDropdownHide($event);
54703
+ return _vm.handleDropdownHide.apply(null, arguments);
54791
54704
  }, function ($event) {
54792
- if (!('button' in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
54705
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
54793
54706
  return null;
54794
54707
  }
54795
54708
 
54796
54709
  $event.stopPropagation();
54797
54710
  $event.preventDefault();
54798
- return _vm.handleDropdownHide($event);
54711
+ return _vm.handleDropdownHide.apply(null, arguments);
54799
54712
  }]
54800
54713
  }
54801
54714
  }, [_c('i', {
@@ -54806,7 +54719,7 @@
54806
54719
  "click": function click($event) {
54807
54720
  $event.preventDefault();
54808
54721
  $event.stopPropagation();
54809
- return _vm.clearData($event);
54722
+ return _vm.clearData.apply(null, arguments);
54810
54723
  }
54811
54724
  }
54812
54725
  }) : _vm._e(), _c('bk-popover', {
@@ -54853,8 +54766,7 @@
54853
54766
  on: {
54854
54767
  "click": function click($event) {
54855
54768
  $event.stopPropagation();
54856
-
54857
- _vm.removeTag(item, index);
54769
+ return _vm.removeTag(item, index);
54858
54770
  }
54859
54771
  }
54860
54772
  }, [_c('i', {
@@ -54956,20 +54868,21 @@
54956
54868
  "click": function click($event) {
54957
54869
  $event.preventDefault();
54958
54870
  $event.stopPropagation();
54959
-
54960
- _vm.handleSelectItem(item, index);
54871
+ return _vm.handleSelectItem(item, index);
54961
54872
  }
54962
54873
  }
54963
54874
  }, [_c('div', {
54964
54875
  staticClass: "bk-option-content"
54965
- }, [_vm._t("default", [_c('div', {
54966
- staticClass: "bk-option-content-default",
54967
- attrs: {
54968
- "title": item.name
54969
- }
54970
- }, [_c('span', {
54971
- staticClass: "bk-option-name"
54972
- }, [_vm._v(_vm._s(item.name))])])])], 2)]);
54876
+ }, [_vm._t("default", function () {
54877
+ return [_c('div', {
54878
+ staticClass: "bk-option-content-default",
54879
+ attrs: {
54880
+ "title": item.name
54881
+ }
54882
+ }, [_c('span', {
54883
+ staticClass: "bk-option-name"
54884
+ }, [_vm._v(_vm._s(item.name))])])];
54885
+ })], 2)]);
54973
54886
  }), !_vm.searchList.length ? _c('li', {
54974
54887
  staticClass: "bk-option-none"
54975
54888
  }, [_c('span', [_vm._v(_vm._s(_vm.emptyText || _vm.t('bk.select.searchEmpty')))])]) : _vm._e()], 2)]) : _vm._e(), _c('bk-caspanel', {
@@ -54997,8 +54910,10 @@
54997
54910
  key: "option",
54998
54911
  fn: function fn(ref) {
54999
54912
  var node = ref.node;
55000
- return [_vm._t("option", [_vm._v(_vm._s(node.name))], {
55001
- node: node
54913
+ return [_vm._t("option", function () {
54914
+ return [_vm._v(_vm._s(node.name))];
54915
+ }, {
54916
+ "node": node
55002
54917
  })];
55003
54918
  }
55004
54919
  }, {
@@ -55006,10 +54921,10 @@
55006
54921
  fn: function fn(ref) {
55007
54922
  var node = ref.node;
55008
54923
  return [_vm._t("prepend", null, {
55009
- node: node
54924
+ "node": node
55010
54925
  })];
55011
54926
  }
55012
- }])
54927
+ }], null, true)
55013
54928
  })], 1)])], 2)], 1);
55014
54929
  };
55015
54930
 
@@ -55166,35 +55081,37 @@
55166
55081
  }
55167
55082
  }, [_vm.isCollapse ? _c('i', {
55168
55083
  class: "bk-icon bk-card-head-icon " + _vm.collapseIcon
55169
- }) : _vm._e(), _vm._t("header", [_vm.showInput ? [_c('span', {
55170
- staticClass: "title",
55171
- attrs: {
55172
- "title": _vm.renderTitle
55173
- }
55174
- }, [_vm._v(_vm._s(_vm.renderTitle))]), _c('span', {
55175
- staticClass: "card-edit"
55176
- }, [_vm.isEdit ? _c('i', {
55177
- staticClass: "bk-icon icon-edit-line",
55178
- on: {
55179
- "click": _vm.clickEdit
55180
- }
55181
- }) : _vm._e()])] : _c('bk-input', {
55182
- ref: "titleInputComp",
55183
- attrs: {
55184
- "ext-cls": "bk-card-input"
55185
- },
55186
- on: {
55187
- "blur": _vm.saveEdit,
55188
- "enter": _vm.saveEdit
55189
- },
55190
- model: {
55191
- value: _vm.renderTitle,
55192
- callback: function callback($$v) {
55193
- _vm.renderTitle = $$v;
55084
+ }) : _vm._e(), _vm._t("header", function () {
55085
+ return [_vm.showInput ? [_c('span', {
55086
+ staticClass: "title",
55087
+ attrs: {
55088
+ "title": _vm.renderTitle
55089
+ }
55090
+ }, [_vm._v(_vm._s(_vm.renderTitle))]), _c('span', {
55091
+ staticClass: "card-edit"
55092
+ }, [_vm.isEdit ? _c('i', {
55093
+ staticClass: "bk-icon icon-edit-line",
55094
+ on: {
55095
+ "click": _vm.clickEdit
55096
+ }
55097
+ }) : _vm._e()])] : _c('bk-input', {
55098
+ ref: "titleInputComp",
55099
+ attrs: {
55100
+ "ext-cls": "bk-card-input"
55194
55101
  },
55195
- expression: "renderTitle"
55196
- }
55197
- })])], 2) : _vm._e(), _vm.collapseActive ? [_c('bk-transition', {
55102
+ on: {
55103
+ "blur": _vm.saveEdit,
55104
+ "enter": _vm.saveEdit
55105
+ },
55106
+ model: {
55107
+ value: _vm.renderTitle,
55108
+ callback: function callback($$v) {
55109
+ _vm.renderTitle = $$v;
55110
+ },
55111
+ expression: "renderTitle"
55112
+ }
55113
+ })];
55114
+ })], 2) : _vm._e(), _vm.collapseActive ? [_c('bk-transition', {
55198
55115
  attrs: {
55199
55116
  "name": "collapse",
55200
55117
  "duration-time": ".1.4s"
@@ -55545,7 +55462,7 @@
55545
55462
  }), _vm.isShowTitle && _vm.urlList.length ? _c('div', {
55546
55463
  staticClass: "bk-image-viewer-header"
55547
55464
  }, [_c('div', [_vm._v(_vm._s(_vm.currentName))]), _c('div', {
55548
- staticClass: "tc "
55465
+ staticClass: "tc"
55549
55466
  }, [_vm._v(_vm._s(_vm.index + 1) + "/" + _vm._s(_vm.urlList.length))]), _c('div', {
55550
55467
  staticClass: "quit-box tr"
55551
55468
  }, [_c('div', {
@@ -55594,7 +55511,7 @@
55594
55511
  staticClass: "bk-icon icon-narrow-line",
55595
55512
  on: {
55596
55513
  "click": function click($event) {
55597
- _vm.handleActions('zoomOut');
55514
+ return _vm.handleActions('zoomOut');
55598
55515
  }
55599
55516
  }
55600
55517
  }), _c('i', {
@@ -55610,7 +55527,7 @@
55610
55527
  staticClass: "bk-icon icon-enlarge-line",
55611
55528
  on: {
55612
55529
  "click": function click($event) {
55613
- _vm.handleActions('zoomIn');
55530
+ return _vm.handleActions('zoomIn');
55614
55531
  }
55615
55532
  }
55616
55533
  }), _c('i', {
@@ -55626,7 +55543,7 @@
55626
55543
  staticClass: "bk-icon icon-normalized",
55627
55544
  on: {
55628
55545
  "click": function click($event) {
55629
- _vm.toggleMode('original');
55546
+ return _vm.toggleMode('original');
55630
55547
  }
55631
55548
  }
55632
55549
  }), _c('i', {
@@ -55642,7 +55559,7 @@
55642
55559
  staticClass: "bk-icon icon-left-turn-line",
55643
55560
  on: {
55644
55561
  "click": function click($event) {
55645
- _vm.handleActions('anticlocelise');
55562
+ return _vm.handleActions('anticlocelise');
55646
55563
  }
55647
55564
  }
55648
55565
  }), _c('i', {
@@ -55658,7 +55575,7 @@
55658
55575
  staticClass: "bk-icon icon-right-turn-line",
55659
55576
  on: {
55660
55577
  "click": function click($event) {
55661
- _vm.handleActions('clockwise');
55578
+ return _vm.handleActions('clockwise');
55662
55579
  }
55663
55580
  }
55664
55581
  }), _c('i', {
@@ -55674,7 +55591,7 @@
55674
55591
  staticClass: "bk-icon icon-unfull-screen",
55675
55592
  on: {
55676
55593
  "click": function click($event) {
55677
- _vm.toggleMode('contain');
55594
+ return _vm.toggleMode('contain');
55678
55595
  }
55679
55596
  }
55680
55597
  })])]), _c('div', {
@@ -55968,15 +55885,19 @@
55968
55885
 
55969
55886
  return _c('div', {
55970
55887
  staticClass: "bk-image"
55971
- }, [_vm.loading ? _vm._t("placeholder", [_vm._m(0)]) : _vm.error ? _vm._t("error", [_c('div', {
55972
- staticClass: "bk-image-placeholder"
55973
- }, [_vm.fallback ? _c('img', {
55974
- attrs: {
55975
- "src": _vm.fallback
55976
- }
55977
- }) : _c('i', {
55978
- staticClass: "bk-icon icon-image-fail"
55979
- })])]) : _c('img', _vm._g(_vm._b({
55888
+ }, [_vm.loading ? _vm._t("placeholder", function () {
55889
+ return [_vm._m(0)];
55890
+ }) : _vm.error ? _vm._t("error", function () {
55891
+ return [_c('div', {
55892
+ staticClass: "bk-image-placeholder"
55893
+ }, [_vm.fallback ? _c('img', {
55894
+ attrs: {
55895
+ "src": _vm.fallback
55896
+ }
55897
+ }) : _c('i', {
55898
+ staticClass: "bk-icon icon-image-fail"
55899
+ })])];
55900
+ }) : _c('img', _vm._g(_vm._b({
55980
55901
  staticClass: "bk-image-inner",
55981
55902
  class: {
55982
55903
  'bk-image-inner-center': _vm.alignCenter,
@@ -56372,6 +56293,8 @@
56372
56293
  handleClick: function handleClick(e) {
56373
56294
  if (this.checkable) {
56374
56295
  this.$emit('change', !this.checked);
56296
+ } else {
56297
+ this.$emit('click');
56375
56298
  }
56376
56299
  }
56377
56300
  }
@@ -56401,7 +56324,7 @@
56401
56324
  on: {
56402
56325
  "click": function click($event) {
56403
56326
  $event.stopPropagation();
56404
- return _vm.handleClose($event);
56327
+ return _vm.handleClose.apply(null, arguments);
56405
56328
  }
56406
56329
  }
56407
56330
  }) : _vm._e()]);
@@ -56731,7 +56654,7 @@
56731
56654
  style: _vm.computedTriggerStyle,
56732
56655
  on: {
56733
56656
  "mousedown": function mousedown($event) {
56734
- if (!('button' in $event) && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
56657
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "left", 37, $event.key, ["Left", "ArrowLeft"])) {
56735
56658
  return null;
56736
56659
  }
56737
56660
 
@@ -56739,7 +56662,7 @@
56739
56662
  return null;
56740
56663
  }
56741
56664
 
56742
- _vm.handleMousedown($event);
56665
+ return _vm.handleMousedown($event);
56743
56666
  }
56744
56667
  }
56745
56668
  }), _c('i', {
@@ -56751,12 +56674,14 @@
56751
56674
  }],
56752
56675
  ref: "resizeProxy",
56753
56676
  class: ['bk-resize-proxy', _vm.placement]
56754
- }), _vm.collapsible ? _vm._t("collapse-trigger", [_c('i', {
56755
- staticClass: "bk-resize-collapse bk-icon icon-angle-left",
56756
- on: {
56757
- "click": _vm.setCollapse
56758
- }
56759
- })]) : _vm._e()], 2), _c('main', {
56677
+ }), _vm.collapsible ? _vm._t("collapse-trigger", function () {
56678
+ return [_c('i', {
56679
+ staticClass: "bk-resize-collapse bk-icon icon-angle-left",
56680
+ on: {
56681
+ "click": _vm.setCollapse
56682
+ }
56683
+ })];
56684
+ }) : _vm._e()], 2), _c('main', {
56760
56685
  staticClass: "bk-resize-layout-main"
56761
56686
  }, [_vm._t("main")], 2), _c('div', {
56762
56687
  ref: "resizeMask",