bk-magic-vue 2.3.2-beta.4 → 2.3.2-beta.6

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 (111) hide show
  1. package/dist/bk-magic-vue.css +4 -4
  2. package/dist/bk-magic-vue.js +1507 -2471
  3. package/dist/bk-magic-vue.min.css +1 -1
  4. package/dist/bk-magic-vue.min.css.gz +0 -0
  5. package/dist/bk-magic-vue.min.css.map +1 -1
  6. package/dist/bk-magic-vue.min.js +1 -1
  7. package/dist/bk-magic-vue.min.js.gz +0 -0
  8. package/dist/bk-magic-vue.min.js.map +1 -1
  9. package/lib/alert.js +5 -11
  10. package/lib/animate-number.js +2 -9
  11. package/lib/badge.js +7 -25
  12. package/lib/big-tree.js +2549 -2788
  13. package/lib/breadcrumb-item.js +3 -10
  14. package/lib/breadcrumb.js +1 -9
  15. package/lib/button.js +1 -9
  16. package/lib/card.js +41 -70
  17. package/lib/cascade.js +442 -698
  18. package/lib/checkbox-group.js +2 -16
  19. package/lib/checkbox.js +972 -1179
  20. package/lib/col.js +9 -17
  21. package/lib/collapse-item.js +1 -10
  22. package/lib/collapse.js +1 -9
  23. package/lib/color-picker.js +38 -96
  24. package/lib/compose-form-item.js +1 -4
  25. package/lib/container.js +3 -11
  26. package/lib/date-picker.js +202 -330
  27. package/lib/dialog.js +2572 -2782
  28. package/lib/diff.js +2 -10
  29. package/lib/directives/clickoutside.js +2 -2
  30. package/lib/directives/overflow-tips.js +57 -73
  31. package/lib/directives/tooltips.js +65 -79
  32. package/lib/directives/transfer-dom.js +1 -4
  33. package/lib/divider.js +1 -9
  34. package/lib/dropdown-menu.js +7 -17
  35. package/lib/exception.js +5 -14
  36. package/lib/fixed-navbar.js +2 -13
  37. package/lib/form-item.js +253 -483
  38. package/lib/form.js +5 -22
  39. package/lib/icon.js +4 -5
  40. package/lib/image-viewer.js +22 -35
  41. package/lib/image.js +45 -72
  42. package/lib/info-box.js +2701 -2918
  43. package/lib/input.js +10 -33
  44. package/lib/link.js +1 -9
  45. package/lib/loading.js +9 -21
  46. package/lib/locale/index.js +5 -11
  47. package/lib/message.js +10 -22
  48. package/lib/navigation-menu-group.js +0 -4
  49. package/lib/navigation-menu-item.js +6 -19
  50. package/lib/navigation-menu.js +1046 -1252
  51. package/lib/navigation.js +34 -39
  52. package/lib/notify.js +20 -34
  53. package/lib/option-group.js +5 -10
  54. package/lib/option.js +15 -20
  55. package/lib/pagination.js +6706 -7013
  56. package/lib/popconfirm.js +66 -83
  57. package/lib/popover.js +55 -66
  58. package/lib/process.js +2 -17
  59. package/lib/progress.js +4 -10
  60. package/lib/radio-button.js +6 -13
  61. package/lib/radio-group.js +2 -9
  62. package/lib/radio.js +6 -13
  63. package/lib/rate.js +5 -21
  64. package/lib/resize-layout.js +11 -20
  65. package/lib/round-progress.js +1 -9
  66. package/lib/row.js +5 -18
  67. package/lib/search-select.js +409 -635
  68. package/lib/select.js +5989 -6261
  69. package/lib/sideslider.js +1560 -1769
  70. package/lib/slider.js +78 -127
  71. package/lib/star.js +3 -11
  72. package/lib/steps.js +1754 -1961
  73. package/lib/swiper.js +20 -33
  74. package/lib/switcher.js +3 -12
  75. package/lib/tab-panel.js +2 -9
  76. package/lib/tab.js +2330 -2536
  77. package/lib/table-column.js +328 -547
  78. package/lib/table-setting-content.js +321 -558
  79. package/lib/table.js +566 -917
  80. package/lib/tag-input.js +397 -649
  81. package/lib/tag.js +2 -10
  82. package/lib/time-picker.js +144 -219
  83. package/lib/timeline.js +23 -35
  84. package/lib/transfer.js +111 -161
  85. package/lib/transition.js +1 -9
  86. package/lib/tree.js +31 -75
  87. package/lib/ui/bk-magic-vue.css +4 -4
  88. package/lib/ui/bk-magic-vue.min.css +1 -1
  89. package/lib/ui/bk-magic-vue.min.css.gz +0 -0
  90. package/lib/ui/bk-magic-vue.min.css.map +1 -1
  91. package/lib/ui/button.css +1 -1
  92. package/lib/ui/button.min.css +1 -1
  93. package/lib/ui/button.min.css.map +1 -1
  94. package/lib/ui/dialog.css +2 -2
  95. package/lib/ui/dialog.min.css +1 -1
  96. package/lib/ui/dialog.min.css.map +1 -1
  97. package/lib/ui/info-box.css +2 -2
  98. package/lib/ui/info-box.min.css +1 -1
  99. package/lib/ui/info-box.min.css.map +1 -1
  100. package/lib/ui/popconfirm.css +1 -1
  101. package/lib/ui/popconfirm.min.css +1 -1
  102. package/lib/ui/popconfirm.min.css.map +1 -1
  103. package/lib/upload.js +63 -87
  104. package/lib/utils/deepmerge.js +5 -11
  105. package/lib/utils/pinyin.js +5 -11
  106. package/lib/utils/pop-manager.js +2 -2
  107. package/lib/utils/tippy.js +48 -49
  108. package/lib/version-detail.js +5854 -6081
  109. package/lib/virtual-scroll.js +17 -23
  110. package/lib/zoom-image.js +3 -11
  111. package/package.json +1 -1
package/lib/cascade.js CHANGED
@@ -195,6 +195,312 @@
195
195
 
196
196
  var stringify$1 = stringify;
197
197
 
198
+ function _regeneratorRuntime() {
199
+ _regeneratorRuntime = function () {
200
+ return exports;
201
+ };
202
+ var exports = {},
203
+ Op = Object.prototype,
204
+ hasOwn = Op.hasOwnProperty,
205
+ defineProperty = Object.defineProperty || function (obj, key, desc) {
206
+ obj[key] = desc.value;
207
+ },
208
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
209
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
210
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
211
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
212
+ function define(obj, key, value) {
213
+ return Object.defineProperty(obj, key, {
214
+ value: value,
215
+ enumerable: !0,
216
+ configurable: !0,
217
+ writable: !0
218
+ }), obj[key];
219
+ }
220
+ try {
221
+ define({}, "");
222
+ } catch (err) {
223
+ define = function (obj, key, value) {
224
+ return obj[key] = value;
225
+ };
226
+ }
227
+ function wrap(innerFn, outerFn, self, tryLocsList) {
228
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
229
+ generator = Object.create(protoGenerator.prototype),
230
+ context = new Context(tryLocsList || []);
231
+ return defineProperty(generator, "_invoke", {
232
+ value: makeInvokeMethod(innerFn, self, context)
233
+ }), generator;
234
+ }
235
+ function tryCatch(fn, obj, arg) {
236
+ try {
237
+ return {
238
+ type: "normal",
239
+ arg: fn.call(obj, arg)
240
+ };
241
+ } catch (err) {
242
+ return {
243
+ type: "throw",
244
+ arg: err
245
+ };
246
+ }
247
+ }
248
+ exports.wrap = wrap;
249
+ var ContinueSentinel = {};
250
+ function Generator() {}
251
+ function GeneratorFunction() {}
252
+ function GeneratorFunctionPrototype() {}
253
+ var IteratorPrototype = {};
254
+ define(IteratorPrototype, iteratorSymbol, function () {
255
+ return this;
256
+ });
257
+ var getProto = Object.getPrototypeOf,
258
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
259
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
260
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
261
+ function defineIteratorMethods(prototype) {
262
+ ["next", "throw", "return"].forEach(function (method) {
263
+ define(prototype, method, function (arg) {
264
+ return this._invoke(method, arg);
265
+ });
266
+ });
267
+ }
268
+ function AsyncIterator(generator, PromiseImpl) {
269
+ function invoke(method, arg, resolve, reject) {
270
+ var record = tryCatch(generator[method], generator, arg);
271
+ if ("throw" !== record.type) {
272
+ var result = record.arg,
273
+ value = result.value;
274
+ return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
275
+ invoke("next", value, resolve, reject);
276
+ }, function (err) {
277
+ invoke("throw", err, resolve, reject);
278
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
279
+ result.value = unwrapped, resolve(result);
280
+ }, function (error) {
281
+ return invoke("throw", error, resolve, reject);
282
+ });
283
+ }
284
+ reject(record.arg);
285
+ }
286
+ var previousPromise;
287
+ defineProperty(this, "_invoke", {
288
+ value: function (method, arg) {
289
+ function callInvokeWithMethodAndArg() {
290
+ return new PromiseImpl(function (resolve, reject) {
291
+ invoke(method, arg, resolve, reject);
292
+ });
293
+ }
294
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
295
+ }
296
+ });
297
+ }
298
+ function makeInvokeMethod(innerFn, self, context) {
299
+ var state = "suspendedStart";
300
+ return function (method, arg) {
301
+ if ("executing" === state) throw new Error("Generator is already running");
302
+ if ("completed" === state) {
303
+ if ("throw" === method) throw arg;
304
+ return doneResult();
305
+ }
306
+ for (context.method = method, context.arg = arg;;) {
307
+ var delegate = context.delegate;
308
+ if (delegate) {
309
+ var delegateResult = maybeInvokeDelegate(delegate, context);
310
+ if (delegateResult) {
311
+ if (delegateResult === ContinueSentinel) continue;
312
+ return delegateResult;
313
+ }
314
+ }
315
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
316
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
317
+ context.dispatchException(context.arg);
318
+ } else "return" === context.method && context.abrupt("return", context.arg);
319
+ state = "executing";
320
+ var record = tryCatch(innerFn, self, context);
321
+ if ("normal" === record.type) {
322
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
323
+ return {
324
+ value: record.arg,
325
+ done: context.done
326
+ };
327
+ }
328
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
329
+ }
330
+ };
331
+ }
332
+ function maybeInvokeDelegate(delegate, context) {
333
+ var method = delegate.iterator[context.method];
334
+ if (undefined === method) {
335
+ if (context.delegate = null, "throw" === context.method) {
336
+ if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
337
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
338
+ }
339
+ return ContinueSentinel;
340
+ }
341
+ var record = tryCatch(method, delegate.iterator, context.arg);
342
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
343
+ var info = record.arg;
344
+ 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);
345
+ }
346
+ function pushTryEntry(locs) {
347
+ var entry = {
348
+ tryLoc: locs[0]
349
+ };
350
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
351
+ }
352
+ function resetTryEntry(entry) {
353
+ var record = entry.completion || {};
354
+ record.type = "normal", delete record.arg, entry.completion = record;
355
+ }
356
+ function Context(tryLocsList) {
357
+ this.tryEntries = [{
358
+ tryLoc: "root"
359
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
360
+ }
361
+ function values(iterable) {
362
+ if (iterable) {
363
+ var iteratorMethod = iterable[iteratorSymbol];
364
+ if (iteratorMethod) return iteratorMethod.call(iterable);
365
+ if ("function" == typeof iterable.next) return iterable;
366
+ if (!isNaN(iterable.length)) {
367
+ var i = -1,
368
+ next = function next() {
369
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
370
+ return next.value = undefined, next.done = !0, next;
371
+ };
372
+ return next.next = next;
373
+ }
374
+ }
375
+ return {
376
+ next: doneResult
377
+ };
378
+ }
379
+ function doneResult() {
380
+ return {
381
+ value: undefined,
382
+ done: !0
383
+ };
384
+ }
385
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
386
+ value: GeneratorFunctionPrototype,
387
+ configurable: !0
388
+ }), defineProperty(GeneratorFunctionPrototype, "constructor", {
389
+ value: GeneratorFunction,
390
+ configurable: !0
391
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
392
+ var ctor = "function" == typeof genFun && genFun.constructor;
393
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
394
+ }, exports.mark = function (genFun) {
395
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
396
+ }, exports.awrap = function (arg) {
397
+ return {
398
+ __await: arg
399
+ };
400
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
401
+ return this;
402
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
403
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
404
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
405
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
406
+ return result.done ? result.value : iter.next();
407
+ });
408
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
409
+ return this;
410
+ }), define(Gp, "toString", function () {
411
+ return "[object Generator]";
412
+ }), exports.keys = function (val) {
413
+ var object = Object(val),
414
+ keys = [];
415
+ for (var key in object) keys.push(key);
416
+ return keys.reverse(), function next() {
417
+ for (; keys.length;) {
418
+ var key = keys.pop();
419
+ if (key in object) return next.value = key, next.done = !1, next;
420
+ }
421
+ return next.done = !0, next;
422
+ };
423
+ }, exports.values = values, Context.prototype = {
424
+ constructor: Context,
425
+ reset: function (skipTempReset) {
426
+ 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);
427
+ },
428
+ stop: function () {
429
+ this.done = !0;
430
+ var rootRecord = this.tryEntries[0].completion;
431
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
432
+ return this.rval;
433
+ },
434
+ dispatchException: function (exception) {
435
+ if (this.done) throw exception;
436
+ var context = this;
437
+ function handle(loc, caught) {
438
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
439
+ }
440
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
441
+ var entry = this.tryEntries[i],
442
+ record = entry.completion;
443
+ if ("root" === entry.tryLoc) return handle("end");
444
+ if (entry.tryLoc <= this.prev) {
445
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
446
+ hasFinally = hasOwn.call(entry, "finallyLoc");
447
+ if (hasCatch && hasFinally) {
448
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
449
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
450
+ } else if (hasCatch) {
451
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
452
+ } else {
453
+ if (!hasFinally) throw new Error("try statement without catch or finally");
454
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
455
+ }
456
+ }
457
+ }
458
+ },
459
+ abrupt: function (type, arg) {
460
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
461
+ var entry = this.tryEntries[i];
462
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
463
+ var finallyEntry = entry;
464
+ break;
465
+ }
466
+ }
467
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
468
+ var record = finallyEntry ? finallyEntry.completion : {};
469
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
470
+ },
471
+ complete: function (record, afterLoc) {
472
+ if ("throw" === record.type) throw record.arg;
473
+ 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;
474
+ },
475
+ finish: function (finallyLoc) {
476
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
477
+ var entry = this.tryEntries[i];
478
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
479
+ }
480
+ },
481
+ catch: function (tryLoc) {
482
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
483
+ var entry = this.tryEntries[i];
484
+ if (entry.tryLoc === tryLoc) {
485
+ var record = entry.completion;
486
+ if ("throw" === record.type) {
487
+ var thrown = record.arg;
488
+ resetTryEntry(entry);
489
+ }
490
+ return thrown;
491
+ }
492
+ }
493
+ throw new Error("illegal catch attempt");
494
+ },
495
+ delegateYield: function (iterable, resultName, nextLoc) {
496
+ return this.delegate = {
497
+ iterator: values(iterable),
498
+ resultName: resultName,
499
+ nextLoc: nextLoc
500
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
501
+ }
502
+ }, exports;
503
+ }
198
504
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
199
505
  try {
200
506
  var info = gen[key](arg);
@@ -203,40 +509,33 @@
203
509
  reject(error);
204
510
  return;
205
511
  }
206
-
207
512
  if (info.done) {
208
513
  resolve(value);
209
514
  } else {
210
515
  Promise.resolve(value).then(_next, _throw);
211
516
  }
212
517
  }
213
-
214
518
  function _asyncToGenerator(fn) {
215
519
  return function () {
216
520
  var self = this,
217
- args = arguments;
521
+ args = arguments;
218
522
  return new Promise(function (resolve, reject) {
219
523
  var gen = fn.apply(self, args);
220
-
221
524
  function _next(value) {
222
525
  asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
223
526
  }
224
-
225
527
  function _throw(err) {
226
528
  asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
227
529
  }
228
-
229
530
  _next(undefined);
230
531
  });
231
532
  };
232
533
  }
233
-
234
534
  function _classCallCheck(instance, Constructor) {
235
535
  if (!(instance instanceof Constructor)) {
236
536
  throw new TypeError("Cannot call a class as a function");
237
537
  }
238
538
  }
239
-
240
539
  function _defineProperties(target, props) {
241
540
  for (var i = 0; i < props.length; i++) {
242
541
  var descriptor = props[i];
@@ -246,13 +545,14 @@
246
545
  Object.defineProperty(target, descriptor.key, descriptor);
247
546
  }
248
547
  }
249
-
250
548
  function _createClass(Constructor, protoProps, staticProps) {
251
549
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
252
550
  if (staticProps) _defineProperties(Constructor, staticProps);
551
+ Object.defineProperty(Constructor, "prototype", {
552
+ writable: false
553
+ });
253
554
  return Constructor;
254
555
  }
255
-
256
556
  function _defineProperty(obj, key, value) {
257
557
  if (key in obj) {
258
558
  Object.defineProperty(obj, key, {
@@ -264,40 +564,31 @@
264
564
  } else {
265
565
  obj[key] = value;
266
566
  }
267
-
268
567
  return obj;
269
568
  }
270
-
271
569
  function _extends() {
272
- _extends = Object.assign || function (target) {
570
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
273
571
  for (var i = 1; i < arguments.length; i++) {
274
572
  var source = arguments[i];
275
-
276
573
  for (var key in source) {
277
574
  if (Object.prototype.hasOwnProperty.call(source, key)) {
278
575
  target[key] = source[key];
279
576
  }
280
577
  }
281
578
  }
282
-
283
579
  return target;
284
580
  };
285
-
286
581
  return _extends.apply(this, arguments);
287
582
  }
288
-
289
583
  function _toConsumableArray(arr) {
290
584
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
291
585
  }
292
-
293
586
  function _arrayWithoutHoles(arr) {
294
587
  if (Array.isArray(arr)) return _arrayLikeToArray(arr);
295
588
  }
296
-
297
589
  function _iterableToArray(iter) {
298
590
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
299
591
  }
300
-
301
592
  function _unsupportedIterableToArray(o, minLen) {
302
593
  if (!o) return;
303
594
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -306,29 +597,21 @@
306
597
  if (n === "Map" || n === "Set") return Array.from(o);
307
598
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
308
599
  }
309
-
310
600
  function _arrayLikeToArray(arr, len) {
311
601
  if (len == null || len > arr.length) len = arr.length;
312
-
313
602
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
314
-
315
603
  return arr2;
316
604
  }
317
-
318
605
  function _nonIterableSpread() {
319
606
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
320
607
  }
321
-
322
608
  function _createForOfIteratorHelper(o, allowArrayLike) {
323
609
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
324
-
325
610
  if (!it) {
326
611
  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
327
612
  if (it) o = it;
328
613
  var i = 0;
329
-
330
614
  var F = function () {};
331
-
332
615
  return {
333
616
  s: F,
334
617
  n: function () {
@@ -346,13 +629,11 @@
346
629
  f: F
347
630
  };
348
631
  }
349
-
350
632
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
351
633
  }
352
-
353
634
  var normalCompletion = true,
354
- didErr = false,
355
- err;
635
+ didErr = false,
636
+ err;
356
637
  return {
357
638
  s: function () {
358
639
  it = it.call(o);
@@ -652,9 +933,9 @@
652
933
  return element.body;
653
934
  }
654
935
  var _getStyleComputedProp = getStyleComputedProperty(element),
655
- overflow = _getStyleComputedProp.overflow,
656
- overflowX = _getStyleComputedProp.overflowX,
657
- overflowY = _getStyleComputedProp.overflowY;
936
+ overflow = _getStyleComputedProp.overflow,
937
+ overflowX = _getStyleComputedProp.overflowX,
938
+ overflowY = _getStyleComputedProp.overflowY;
658
939
  if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {
659
940
  return element;
660
941
  }
@@ -918,8 +1199,8 @@
918
1199
  var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);
919
1200
  if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {
920
1201
  var _getWindowSizes = getWindowSizes(popper.ownerDocument),
921
- height = _getWindowSizes.height,
922
- width = _getWindowSizes.width;
1202
+ height = _getWindowSizes.height,
1203
+ width = _getWindowSizes.width;
923
1204
  boundaries.top += offsets.top - offsets.marginTop;
924
1205
  boundaries.bottom = height + offsets.top;
925
1206
  boundaries.left += offsets.left - offsets.marginLeft;
@@ -938,7 +1219,7 @@
938
1219
  }
939
1220
  function getArea(_ref) {
940
1221
  var width = _ref.width,
941
- height = _ref.height;
1222
+ height = _ref.height;
942
1223
  return width * height;
943
1224
  }
944
1225
  function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {
@@ -976,7 +1257,7 @@
976
1257
  });
977
1258
  var filteredAreas = sortedAreas.filter(function (_ref2) {
978
1259
  var width = _ref2.width,
979
- height = _ref2.height;
1260
+ height = _ref2.height;
980
1261
  return width >= popper.clientWidth && height >= popper.clientHeight;
981
1262
  });
982
1263
  var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;
@@ -1091,7 +1372,7 @@
1091
1372
  function isModifierEnabled(modifiers, modifierName) {
1092
1373
  return modifiers.some(function (_ref3) {
1093
1374
  var name = _ref3.name,
1094
- enabled = _ref3.enabled;
1375
+ enabled = _ref3.enabled;
1095
1376
  return enabled && name === modifierName;
1096
1377
  });
1097
1378
  }
@@ -1214,10 +1495,10 @@
1214
1495
  }
1215
1496
  function getRoundedOffsets(data, shouldRound) {
1216
1497
  var _data$offsets = data.offsets,
1217
- popper = _data$offsets.popper,
1218
- reference = _data$offsets.reference;
1498
+ popper = _data$offsets.popper,
1499
+ reference = _data$offsets.reference;
1219
1500
  var round = Math.round,
1220
- floor = Math.floor;
1501
+ floor = Math.floor;
1221
1502
  var noRound = function noRound(v) {
1222
1503
  return v;
1223
1504
  };
@@ -1239,7 +1520,7 @@
1239
1520
  var isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);
1240
1521
  function computeStyle(data, options) {
1241
1522
  var x = options.x,
1242
- y = options.y;
1523
+ y = options.y;
1243
1524
  var popper = data.offsets.popper;
1244
1525
  var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {
1245
1526
  return modifier.name === 'applyStyle';
@@ -1330,8 +1611,8 @@
1330
1611
  }
1331
1612
  var placement = data.placement.split('-')[0];
1332
1613
  var _data$offsets2 = data.offsets,
1333
- popper = _data$offsets2.popper,
1334
- reference = _data$offsets2.reference;
1614
+ popper = _data$offsets2.popper,
1615
+ reference = _data$offsets2.reference;
1335
1616
  var isVertical = ['left', 'right'].indexOf(placement) !== -1;
1336
1617
  var len = isVertical ? 'height' : 'width';
1337
1618
  var sideCapitalized = isVertical ? 'Top' : 'Left';
@@ -1438,8 +1719,8 @@
1438
1719
  }
1439
1720
  function keepTogether(data) {
1440
1721
  var _data$offsets3 = data.offsets,
1441
- popper = _data$offsets3.popper,
1442
- reference = _data$offsets3.reference;
1722
+ popper = _data$offsets3.popper,
1723
+ reference = _data$offsets3.reference;
1443
1724
  var placement = data.placement.split('-')[0];
1444
1725
  var floor = Math.floor;
1445
1726
  var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;
@@ -1533,9 +1814,9 @@
1533
1814
  function offset(data, _ref5) {
1534
1815
  var offset = _ref5.offset;
1535
1816
  var placement = data.placement,
1536
- _data$offsets4 = data.offsets,
1537
- popper = _data$offsets4.popper,
1538
- reference = _data$offsets4.reference;
1817
+ _data$offsets4 = data.offsets,
1818
+ popper = _data$offsets4.popper,
1819
+ reference = _data$offsets4.reference;
1539
1820
  var basePlacement = placement.split('-')[0];
1540
1821
  var offsets;
1541
1822
  if (isNumeric(+offset)) {
@@ -1567,8 +1848,8 @@
1567
1848
  var transformProp = getSupportedPropertyName('transform');
1568
1849
  var popperStyles = data.instance.popper.style;
1569
1850
  var top = popperStyles.top,
1570
- left = popperStyles.left,
1571
- transform = popperStyles[transformProp];
1851
+ left = popperStyles.left,
1852
+ transform = popperStyles[transformProp];
1572
1853
  popperStyles.top = '';
1573
1854
  popperStyles.left = '';
1574
1855
  popperStyles[transformProp] = '';
@@ -1609,8 +1890,8 @@
1609
1890
  var shiftvariation = placement.split('-')[1];
1610
1891
  if (shiftvariation) {
1611
1892
  var _data$offsets5 = data.offsets,
1612
- reference = _data$offsets5.reference,
1613
- popper = _data$offsets5.popper;
1893
+ reference = _data$offsets5.reference,
1894
+ popper = _data$offsets5.popper;
1614
1895
  var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;
1615
1896
  var side = isVertical ? 'left' : 'top';
1616
1897
  var measurement = isVertical ? 'width' : 'height';
@@ -1649,8 +1930,8 @@
1649
1930
  var placement = data.placement;
1650
1931
  var basePlacement = placement.split('-')[0];
1651
1932
  var _data$offsets6 = data.offsets,
1652
- popper = _data$offsets6.popper,
1653
- reference = _data$offsets6.reference;
1933
+ popper = _data$offsets6.popper,
1934
+ reference = _data$offsets6.reference;
1654
1935
  var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;
1655
1936
  var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;
1656
1937
  popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);
@@ -1824,7 +2105,7 @@
1824
2105
  var isIOS = isBrowser$1 && /iPhone|iPad|iPod/.test(navigator.platform) && !window.MSStream;
1825
2106
  var defaultProps = {
1826
2107
  a11y: true,
1827
- allowHTML: true,
2108
+ allowHTML: false,
1828
2109
  animateFill: true,
1829
2110
  animation: 'shift-away',
1830
2111
  appendTo: function appendTo() {
@@ -1943,7 +2224,7 @@
1943
2224
  }
1944
2225
  function onWindowBlur() {
1945
2226
  var _document = document,
1946
- activeElement = _document.activeElement;
2227
+ activeElement = _document.activeElement;
1947
2228
  if (activeElement && activeElement.blur && activeElement._tippy) {
1948
2229
  activeElement.blur();
1949
2230
  }
@@ -2229,10 +2510,10 @@
2229
2510
  }
2230
2511
  function updatePopperElement(popper, prevProps, nextProps) {
2231
2512
  var _getChildren = getChildren(popper),
2232
- tooltip = _getChildren.tooltip,
2233
- content = _getChildren.content,
2234
- backdrop = _getChildren.backdrop,
2235
- arrow = _getChildren.arrow;
2513
+ tooltip = _getChildren.tooltip,
2514
+ content = _getChildren.content,
2515
+ backdrop = _getChildren.backdrop,
2516
+ arrow = _getChildren.arrow;
2236
2517
  popper.style.zIndex = '' + nextProps.zIndex;
2237
2518
  tooltip.setAttribute('data-size', nextProps.size);
2238
2519
  tooltip.setAttribute('data-animation', nextProps.animation);
@@ -2277,8 +2558,8 @@
2277
2558
  }
2278
2559
  function hideAll() {
2279
2560
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
2280
- excludedReferenceOrInstance = _ref.exclude,
2281
- duration = _ref.duration;
2561
+ excludedReferenceOrInstance = _ref.exclude,
2562
+ duration = _ref.duration;
2282
2563
  arrayFrom(document.querySelectorAll(POPPER_SELECTOR)).forEach(function (popper) {
2283
2564
  var instance = popper._tippy;
2284
2565
  if (instance) {
@@ -2297,9 +2578,9 @@
2297
2578
  return true;
2298
2579
  }
2299
2580
  var x = event.clientX,
2300
- y = event.clientY;
2581
+ y = event.clientY;
2301
2582
  var interactiveBorder = props.interactiveBorder,
2302
- distance = props.distance;
2583
+ distance = props.distance;
2303
2584
  var exceedsTop = popperRect.top - y > (popperPlacement === 'top' ? interactiveBorder + distance : interactiveBorder);
2304
2585
  var exceedsBottom = y - popperRect.bottom > (popperPlacement === 'bottom' ? interactiveBorder + distance : interactiveBorder);
2305
2586
  var exceedsLeft = popperRect.left - x > (popperPlacement === 'left' ? interactiveBorder + distance : interactiveBorder);
@@ -2493,16 +2774,16 @@
2493
2774
  function removeTriggersFromReference() {
2494
2775
  listeners.forEach(function (_ref) {
2495
2776
  var eventType = _ref.eventType,
2496
- handler = _ref.handler,
2497
- options = _ref.options;
2777
+ handler = _ref.handler,
2778
+ options = _ref.options;
2498
2779
  getEventListenersTarget().removeEventListener(eventType, handler, options);
2499
2780
  });
2500
2781
  listeners = [];
2501
2782
  }
2502
2783
  function positionVirtualReferenceNearCursor(event) {
2503
2784
  var _lastMouseMoveEvent = lastMouseMoveEvent = event,
2504
- x = _lastMouseMoveEvent.clientX,
2505
- y = _lastMouseMoveEvent.clientY;
2785
+ x = _lastMouseMoveEvent.clientX,
2786
+ y = _lastMouseMoveEvent.clientY;
2506
2787
  if (!currentComputedPadding) {
2507
2788
  return;
2508
2789
  }
@@ -2633,8 +2914,8 @@
2633
2914
  function createPopperInstance() {
2634
2915
  var popperOptions = instance.props.popperOptions;
2635
2916
  var _instance$popperChild = instance.popperChildren,
2636
- tooltip = _instance$popperChild.tooltip,
2637
- arrow = _instance$popperChild.arrow;
2917
+ tooltip = _instance$popperChild.tooltip,
2918
+ arrow = _instance$popperChild.arrow;
2638
2919
  var preventOverflowModifier = getModifier(popperOptions, 'preventOverflow');
2639
2920
  function applyMutations(data) {
2640
2921
  if (instance.props.flip && !instance.props.flipOnUpdate) {
@@ -2961,10 +3242,10 @@
2961
3242
  }
2962
3243
  function group(instances) {
2963
3244
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
2964
- _ref$delay = _ref.delay,
2965
- delay = _ref$delay === void 0 ? instances[0].props.delay : _ref$delay,
2966
- _ref$duration = _ref.duration,
2967
- duration = _ref$duration === void 0 ? 0 : _ref$duration;
3245
+ _ref$delay = _ref.delay,
3246
+ delay = _ref$delay === void 0 ? instances[0].props.delay : _ref$delay,
3247
+ _ref$duration = _ref.duration,
3248
+ duration = _ref$duration === void 0 ? 0 : _ref$duration;
2968
3249
  var isAnyTippyOpen = false;
2969
3250
  instances.forEach(function (instance) {
2970
3251
  if (instance._originalProps) {
@@ -3187,8 +3468,8 @@
3187
3468
  this.showModalMask(lastInsZindex);
3188
3469
  }
3189
3470
  var beforeHide = options.beforeHide,
3190
- zIndex = options.zIndex,
3191
- ignoreExistMask = options.ignoreExistMask;
3471
+ zIndex = options.zIndex,
3472
+ ignoreExistMask = options.ignoreExistMask;
3192
3473
  this.instances.push({
3193
3474
  uid: uid,
3194
3475
  ins: instance,
@@ -3563,20 +3844,18 @@
3563
3844
  /* script */
3564
3845
  var __vue_script__ = script;
3565
3846
  /* template */
3566
-
3567
3847
  var __vue_render__ = function __vue_render__() {
3568
3848
  var _vm = this;
3569
-
3570
3849
  var _h = _vm.$createElement;
3571
-
3572
3850
  var _c = _vm._self._c || _h;
3573
-
3574
3851
  return _c('div', {
3575
3852
  staticClass: "bk-tooltip"
3576
3853
  }, [_c('div', {
3577
3854
  ref: "html",
3578
3855
  staticClass: "bk-tooltip-content"
3579
- }, [_vm._t("content", [_vm._v(_vm._s(_vm.content))])], 2), _c('div', {
3856
+ }, [_vm._t("content", function () {
3857
+ return [_vm._v(_vm._s(_vm.content))];
3858
+ })], 2), _c('div', {
3580
3859
  ref: "reference",
3581
3860
  staticClass: "bk-tooltip-ref",
3582
3861
  attrs: {
@@ -3584,19 +3863,15 @@
3584
3863
  }
3585
3864
  }, [_vm._t("default")], 2)]);
3586
3865
  };
3587
-
3588
3866
  var __vue_staticRenderFns__ = [];
3589
- /* style */
3590
3867
 
3868
+ /* style */
3591
3869
  var __vue_inject_styles__ = undefined;
3592
3870
  /* scoped */
3593
-
3594
3871
  var __vue_scope_id__ = undefined;
3595
3872
  /* module identifier */
3596
-
3597
3873
  var __vue_module_identifier__ = undefined;
3598
3874
  /* functional template */
3599
-
3600
3875
  var __vue_is_functional_template__ = false;
3601
3876
  /* style inject */
3602
3877
 
@@ -4394,505 +4669,6 @@
4394
4669
 
4395
4670
  var promise$1 = promise;
4396
4671
 
4397
- var runtime_1 = createCommonjsModule(function (module) {
4398
- var runtime = (function (exports) {
4399
- var Op = Object.prototype;
4400
- var hasOwn = Op.hasOwnProperty;
4401
- var undefined$1;
4402
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
4403
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
4404
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
4405
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
4406
- function define(obj, key, value) {
4407
- Object.defineProperty(obj, key, {
4408
- value: value,
4409
- enumerable: true,
4410
- configurable: true,
4411
- writable: true
4412
- });
4413
- return obj[key];
4414
- }
4415
- try {
4416
- define({}, "");
4417
- } catch (err) {
4418
- define = function(obj, key, value) {
4419
- return obj[key] = value;
4420
- };
4421
- }
4422
- function wrap(innerFn, outerFn, self, tryLocsList) {
4423
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
4424
- var generator = Object.create(protoGenerator.prototype);
4425
- var context = new Context(tryLocsList || []);
4426
- generator._invoke = makeInvokeMethod(innerFn, self, context);
4427
- return generator;
4428
- }
4429
- exports.wrap = wrap;
4430
- function tryCatch(fn, obj, arg) {
4431
- try {
4432
- return { type: "normal", arg: fn.call(obj, arg) };
4433
- } catch (err) {
4434
- return { type: "throw", arg: err };
4435
- }
4436
- }
4437
- var GenStateSuspendedStart = "suspendedStart";
4438
- var GenStateSuspendedYield = "suspendedYield";
4439
- var GenStateExecuting = "executing";
4440
- var GenStateCompleted = "completed";
4441
- var ContinueSentinel = {};
4442
- function Generator() {}
4443
- function GeneratorFunction() {}
4444
- function GeneratorFunctionPrototype() {}
4445
- var IteratorPrototype = {};
4446
- IteratorPrototype[iteratorSymbol] = function () {
4447
- return this;
4448
- };
4449
- var getProto = Object.getPrototypeOf;
4450
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
4451
- if (NativeIteratorPrototype &&
4452
- NativeIteratorPrototype !== Op &&
4453
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
4454
- IteratorPrototype = NativeIteratorPrototype;
4455
- }
4456
- var Gp = GeneratorFunctionPrototype.prototype =
4457
- Generator.prototype = Object.create(IteratorPrototype);
4458
- GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
4459
- GeneratorFunctionPrototype.constructor = GeneratorFunction;
4460
- GeneratorFunction.displayName = define(
4461
- GeneratorFunctionPrototype,
4462
- toStringTagSymbol,
4463
- "GeneratorFunction"
4464
- );
4465
- function defineIteratorMethods(prototype) {
4466
- ["next", "throw", "return"].forEach(function(method) {
4467
- define(prototype, method, function(arg) {
4468
- return this._invoke(method, arg);
4469
- });
4470
- });
4471
- }
4472
- exports.isGeneratorFunction = function(genFun) {
4473
- var ctor = typeof genFun === "function" && genFun.constructor;
4474
- return ctor
4475
- ? ctor === GeneratorFunction ||
4476
- (ctor.displayName || ctor.name) === "GeneratorFunction"
4477
- : false;
4478
- };
4479
- exports.mark = function(genFun) {
4480
- if (Object.setPrototypeOf) {
4481
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
4482
- } else {
4483
- genFun.__proto__ = GeneratorFunctionPrototype;
4484
- define(genFun, toStringTagSymbol, "GeneratorFunction");
4485
- }
4486
- genFun.prototype = Object.create(Gp);
4487
- return genFun;
4488
- };
4489
- exports.awrap = function(arg) {
4490
- return { __await: arg };
4491
- };
4492
- function AsyncIterator(generator, PromiseImpl) {
4493
- function invoke(method, arg, resolve, reject) {
4494
- var record = tryCatch(generator[method], generator, arg);
4495
- if (record.type === "throw") {
4496
- reject(record.arg);
4497
- } else {
4498
- var result = record.arg;
4499
- var value = result.value;
4500
- if (value &&
4501
- typeof value === "object" &&
4502
- hasOwn.call(value, "__await")) {
4503
- return PromiseImpl.resolve(value.__await).then(function(value) {
4504
- invoke("next", value, resolve, reject);
4505
- }, function(err) {
4506
- invoke("throw", err, resolve, reject);
4507
- });
4508
- }
4509
- return PromiseImpl.resolve(value).then(function(unwrapped) {
4510
- result.value = unwrapped;
4511
- resolve(result);
4512
- }, function(error) {
4513
- return invoke("throw", error, resolve, reject);
4514
- });
4515
- }
4516
- }
4517
- var previousPromise;
4518
- function enqueue(method, arg) {
4519
- function callInvokeWithMethodAndArg() {
4520
- return new PromiseImpl(function(resolve, reject) {
4521
- invoke(method, arg, resolve, reject);
4522
- });
4523
- }
4524
- return previousPromise =
4525
- previousPromise ? previousPromise.then(
4526
- callInvokeWithMethodAndArg,
4527
- callInvokeWithMethodAndArg
4528
- ) : callInvokeWithMethodAndArg();
4529
- }
4530
- this._invoke = enqueue;
4531
- }
4532
- defineIteratorMethods(AsyncIterator.prototype);
4533
- AsyncIterator.prototype[asyncIteratorSymbol] = function () {
4534
- return this;
4535
- };
4536
- exports.AsyncIterator = AsyncIterator;
4537
- exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
4538
- if (PromiseImpl === void 0) PromiseImpl = Promise;
4539
- var iter = new AsyncIterator(
4540
- wrap(innerFn, outerFn, self, tryLocsList),
4541
- PromiseImpl
4542
- );
4543
- return exports.isGeneratorFunction(outerFn)
4544
- ? iter
4545
- : iter.next().then(function(result) {
4546
- return result.done ? result.value : iter.next();
4547
- });
4548
- };
4549
- function makeInvokeMethod(innerFn, self, context) {
4550
- var state = GenStateSuspendedStart;
4551
- return function invoke(method, arg) {
4552
- if (state === GenStateExecuting) {
4553
- throw new Error("Generator is already running");
4554
- }
4555
- if (state === GenStateCompleted) {
4556
- if (method === "throw") {
4557
- throw arg;
4558
- }
4559
- return doneResult();
4560
- }
4561
- context.method = method;
4562
- context.arg = arg;
4563
- while (true) {
4564
- var delegate = context.delegate;
4565
- if (delegate) {
4566
- var delegateResult = maybeInvokeDelegate(delegate, context);
4567
- if (delegateResult) {
4568
- if (delegateResult === ContinueSentinel) continue;
4569
- return delegateResult;
4570
- }
4571
- }
4572
- if (context.method === "next") {
4573
- context.sent = context._sent = context.arg;
4574
- } else if (context.method === "throw") {
4575
- if (state === GenStateSuspendedStart) {
4576
- state = GenStateCompleted;
4577
- throw context.arg;
4578
- }
4579
- context.dispatchException(context.arg);
4580
- } else if (context.method === "return") {
4581
- context.abrupt("return", context.arg);
4582
- }
4583
- state = GenStateExecuting;
4584
- var record = tryCatch(innerFn, self, context);
4585
- if (record.type === "normal") {
4586
- state = context.done
4587
- ? GenStateCompleted
4588
- : GenStateSuspendedYield;
4589
- if (record.arg === ContinueSentinel) {
4590
- continue;
4591
- }
4592
- return {
4593
- value: record.arg,
4594
- done: context.done
4595
- };
4596
- } else if (record.type === "throw") {
4597
- state = GenStateCompleted;
4598
- context.method = "throw";
4599
- context.arg = record.arg;
4600
- }
4601
- }
4602
- };
4603
- }
4604
- function maybeInvokeDelegate(delegate, context) {
4605
- var method = delegate.iterator[context.method];
4606
- if (method === undefined$1) {
4607
- context.delegate = null;
4608
- if (context.method === "throw") {
4609
- if (delegate.iterator["return"]) {
4610
- context.method = "return";
4611
- context.arg = undefined$1;
4612
- maybeInvokeDelegate(delegate, context);
4613
- if (context.method === "throw") {
4614
- return ContinueSentinel;
4615
- }
4616
- }
4617
- context.method = "throw";
4618
- context.arg = new TypeError(
4619
- "The iterator does not provide a 'throw' method");
4620
- }
4621
- return ContinueSentinel;
4622
- }
4623
- var record = tryCatch(method, delegate.iterator, context.arg);
4624
- if (record.type === "throw") {
4625
- context.method = "throw";
4626
- context.arg = record.arg;
4627
- context.delegate = null;
4628
- return ContinueSentinel;
4629
- }
4630
- var info = record.arg;
4631
- if (! info) {
4632
- context.method = "throw";
4633
- context.arg = new TypeError("iterator result is not an object");
4634
- context.delegate = null;
4635
- return ContinueSentinel;
4636
- }
4637
- if (info.done) {
4638
- context[delegate.resultName] = info.value;
4639
- context.next = delegate.nextLoc;
4640
- if (context.method !== "return") {
4641
- context.method = "next";
4642
- context.arg = undefined$1;
4643
- }
4644
- } else {
4645
- return info;
4646
- }
4647
- context.delegate = null;
4648
- return ContinueSentinel;
4649
- }
4650
- defineIteratorMethods(Gp);
4651
- define(Gp, toStringTagSymbol, "Generator");
4652
- Gp[iteratorSymbol] = function() {
4653
- return this;
4654
- };
4655
- Gp.toString = function() {
4656
- return "[object Generator]";
4657
- };
4658
- function pushTryEntry(locs) {
4659
- var entry = { tryLoc: locs[0] };
4660
- if (1 in locs) {
4661
- entry.catchLoc = locs[1];
4662
- }
4663
- if (2 in locs) {
4664
- entry.finallyLoc = locs[2];
4665
- entry.afterLoc = locs[3];
4666
- }
4667
- this.tryEntries.push(entry);
4668
- }
4669
- function resetTryEntry(entry) {
4670
- var record = entry.completion || {};
4671
- record.type = "normal";
4672
- delete record.arg;
4673
- entry.completion = record;
4674
- }
4675
- function Context(tryLocsList) {
4676
- this.tryEntries = [{ tryLoc: "root" }];
4677
- tryLocsList.forEach(pushTryEntry, this);
4678
- this.reset(true);
4679
- }
4680
- exports.keys = function(object) {
4681
- var keys = [];
4682
- for (var key in object) {
4683
- keys.push(key);
4684
- }
4685
- keys.reverse();
4686
- return function next() {
4687
- while (keys.length) {
4688
- var key = keys.pop();
4689
- if (key in object) {
4690
- next.value = key;
4691
- next.done = false;
4692
- return next;
4693
- }
4694
- }
4695
- next.done = true;
4696
- return next;
4697
- };
4698
- };
4699
- function values(iterable) {
4700
- if (iterable) {
4701
- var iteratorMethod = iterable[iteratorSymbol];
4702
- if (iteratorMethod) {
4703
- return iteratorMethod.call(iterable);
4704
- }
4705
- if (typeof iterable.next === "function") {
4706
- return iterable;
4707
- }
4708
- if (!isNaN(iterable.length)) {
4709
- var i = -1, next = function next() {
4710
- while (++i < iterable.length) {
4711
- if (hasOwn.call(iterable, i)) {
4712
- next.value = iterable[i];
4713
- next.done = false;
4714
- return next;
4715
- }
4716
- }
4717
- next.value = undefined$1;
4718
- next.done = true;
4719
- return next;
4720
- };
4721
- return next.next = next;
4722
- }
4723
- }
4724
- return { next: doneResult };
4725
- }
4726
- exports.values = values;
4727
- function doneResult() {
4728
- return { value: undefined$1, done: true };
4729
- }
4730
- Context.prototype = {
4731
- constructor: Context,
4732
- reset: function(skipTempReset) {
4733
- this.prev = 0;
4734
- this.next = 0;
4735
- this.sent = this._sent = undefined$1;
4736
- this.done = false;
4737
- this.delegate = null;
4738
- this.method = "next";
4739
- this.arg = undefined$1;
4740
- this.tryEntries.forEach(resetTryEntry);
4741
- if (!skipTempReset) {
4742
- for (var name in this) {
4743
- if (name.charAt(0) === "t" &&
4744
- hasOwn.call(this, name) &&
4745
- !isNaN(+name.slice(1))) {
4746
- this[name] = undefined$1;
4747
- }
4748
- }
4749
- }
4750
- },
4751
- stop: function() {
4752
- this.done = true;
4753
- var rootEntry = this.tryEntries[0];
4754
- var rootRecord = rootEntry.completion;
4755
- if (rootRecord.type === "throw") {
4756
- throw rootRecord.arg;
4757
- }
4758
- return this.rval;
4759
- },
4760
- dispatchException: function(exception) {
4761
- if (this.done) {
4762
- throw exception;
4763
- }
4764
- var context = this;
4765
- function handle(loc, caught) {
4766
- record.type = "throw";
4767
- record.arg = exception;
4768
- context.next = loc;
4769
- if (caught) {
4770
- context.method = "next";
4771
- context.arg = undefined$1;
4772
- }
4773
- return !! caught;
4774
- }
4775
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
4776
- var entry = this.tryEntries[i];
4777
- var record = entry.completion;
4778
- if (entry.tryLoc === "root") {
4779
- return handle("end");
4780
- }
4781
- if (entry.tryLoc <= this.prev) {
4782
- var hasCatch = hasOwn.call(entry, "catchLoc");
4783
- var hasFinally = hasOwn.call(entry, "finallyLoc");
4784
- if (hasCatch && hasFinally) {
4785
- if (this.prev < entry.catchLoc) {
4786
- return handle(entry.catchLoc, true);
4787
- } else if (this.prev < entry.finallyLoc) {
4788
- return handle(entry.finallyLoc);
4789
- }
4790
- } else if (hasCatch) {
4791
- if (this.prev < entry.catchLoc) {
4792
- return handle(entry.catchLoc, true);
4793
- }
4794
- } else if (hasFinally) {
4795
- if (this.prev < entry.finallyLoc) {
4796
- return handle(entry.finallyLoc);
4797
- }
4798
- } else {
4799
- throw new Error("try statement without catch or finally");
4800
- }
4801
- }
4802
- }
4803
- },
4804
- abrupt: function(type, arg) {
4805
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
4806
- var entry = this.tryEntries[i];
4807
- if (entry.tryLoc <= this.prev &&
4808
- hasOwn.call(entry, "finallyLoc") &&
4809
- this.prev < entry.finallyLoc) {
4810
- var finallyEntry = entry;
4811
- break;
4812
- }
4813
- }
4814
- if (finallyEntry &&
4815
- (type === "break" ||
4816
- type === "continue") &&
4817
- finallyEntry.tryLoc <= arg &&
4818
- arg <= finallyEntry.finallyLoc) {
4819
- finallyEntry = null;
4820
- }
4821
- var record = finallyEntry ? finallyEntry.completion : {};
4822
- record.type = type;
4823
- record.arg = arg;
4824
- if (finallyEntry) {
4825
- this.method = "next";
4826
- this.next = finallyEntry.finallyLoc;
4827
- return ContinueSentinel;
4828
- }
4829
- return this.complete(record);
4830
- },
4831
- complete: function(record, afterLoc) {
4832
- if (record.type === "throw") {
4833
- throw record.arg;
4834
- }
4835
- if (record.type === "break" ||
4836
- record.type === "continue") {
4837
- this.next = record.arg;
4838
- } else if (record.type === "return") {
4839
- this.rval = this.arg = record.arg;
4840
- this.method = "return";
4841
- this.next = "end";
4842
- } else if (record.type === "normal" && afterLoc) {
4843
- this.next = afterLoc;
4844
- }
4845
- return ContinueSentinel;
4846
- },
4847
- finish: function(finallyLoc) {
4848
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
4849
- var entry = this.tryEntries[i];
4850
- if (entry.finallyLoc === finallyLoc) {
4851
- this.complete(entry.completion, entry.afterLoc);
4852
- resetTryEntry(entry);
4853
- return ContinueSentinel;
4854
- }
4855
- }
4856
- },
4857
- "catch": function(tryLoc) {
4858
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
4859
- var entry = this.tryEntries[i];
4860
- if (entry.tryLoc === tryLoc) {
4861
- var record = entry.completion;
4862
- if (record.type === "throw") {
4863
- var thrown = record.arg;
4864
- resetTryEntry(entry);
4865
- }
4866
- return thrown;
4867
- }
4868
- }
4869
- throw new Error("illegal catch attempt");
4870
- },
4871
- delegateYield: function(iterable, resultName, nextLoc) {
4872
- this.delegate = {
4873
- iterator: values(iterable),
4874
- resultName: resultName,
4875
- nextLoc: nextLoc
4876
- };
4877
- if (this.method === "next") {
4878
- this.arg = undefined$1;
4879
- }
4880
- return ContinueSentinel;
4881
- }
4882
- };
4883
- return exports;
4884
- }(
4885
- module.exports
4886
- ));
4887
- try {
4888
- regeneratorRuntime = runtime;
4889
- } catch (accidentalStrictMode) {
4890
- Function("r", "regeneratorRuntime = r")(runtime);
4891
- }
4892
- });
4893
-
4894
- var regenerator = runtime_1;
4895
-
4896
4672
  var emitter = {
4897
4673
  methods: {
4898
4674
  dispatch: function dispatch(componentName, eventName, params) {
@@ -5044,9 +4820,9 @@
5044
4820
  },
5045
4821
  handleClick: function handleClick() {
5046
4822
  var _this = this;
5047
- return _asyncToGenerator( regenerator.mark(function _callee() {
4823
+ return _asyncToGenerator( _regeneratorRuntime().mark(function _callee() {
5048
4824
  var shouldChange, oldValue, newValue, groupValue;
5049
- return regenerator.wrap(function _callee$(_context) {
4825
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
5050
4826
  while (1) {
5051
4827
  switch (_context.prev = _context.next) {
5052
4828
  case 0:
@@ -5097,14 +4873,10 @@
5097
4873
  /* script */
5098
4874
  var __vue_script__$1 = script$1;
5099
4875
  /* template */
5100
-
5101
4876
  var __vue_render__$1 = function __vue_render__() {
5102
4877
  var _vm = this;
5103
-
5104
4878
  var _h = _vm.$createElement;
5105
-
5106
4879
  var _c = _vm._self._c || _h;
5107
-
5108
4880
  return _c('label', {
5109
4881
  staticClass: "bk-form-checkbox",
5110
4882
  class: [{
@@ -5115,12 +4887,11 @@
5115
4887
  on: {
5116
4888
  "click": _vm.handleClick,
5117
4889
  "keydown": function keydown($event) {
5118
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
4890
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
5119
4891
  return null;
5120
4892
  }
5121
-
5122
4893
  $event.preventDefault();
5123
- return _vm.handleClick($event);
4894
+ return _vm.handleClick.apply(null, arguments);
5124
4895
  }
5125
4896
  }
5126
4897
  }, [_c('span', {
@@ -5140,19 +4911,15 @@
5140
4911
  staticClass: "bk-checkbox-text"
5141
4912
  }, [_vm._t("default")], 2) : _vm._e()]);
5142
4913
  };
5143
-
5144
4914
  var __vue_staticRenderFns__$1 = [];
5145
- /* style */
5146
4915
 
4916
+ /* style */
5147
4917
  var __vue_inject_styles__$1 = undefined;
5148
4918
  /* scoped */
5149
-
5150
4919
  var __vue_scope_id__$1 = undefined;
5151
4920
  /* module identifier */
5152
-
5153
4921
  var __vue_module_identifier__$1 = undefined;
5154
4922
  /* functional template */
5155
-
5156
4923
  var __vue_is_functional_template__$1 = false;
5157
4924
  /* style inject */
5158
4925
 
@@ -5203,15 +4970,12 @@
5203
4970
 
5204
4971
  /* script */
5205
4972
  var __vue_script__$2 = script$2;
5206
- /* template */
5207
4973
 
4974
+ /* template */
5208
4975
  var __vue_render__$2 = function __vue_render__() {
5209
4976
  var _vm = this;
5210
-
5211
4977
  var _h = _vm.$createElement;
5212
-
5213
4978
  var _c = _vm._self._c || _h;
5214
-
5215
4979
  return _c('li', {
5216
4980
  staticClass: "bk-option",
5217
4981
  class: {
@@ -5221,30 +4985,32 @@
5221
4985
  }
5222
4986
  }, [_c('div', {
5223
4987
  staticClass: "bk-option-content"
5224
- }, [_vm._t("default", [_c('div', {
5225
- staticClass: "bk-option-content-default",
5226
- attrs: {
5227
- "title": _vm.item.name
5228
- }
5229
- }, [_vm.multiple ? _c('div', {
5230
- staticClass: "bk-cascade-check"
5231
- }, [_c('bk-checkbox', {
5232
- attrs: {
5233
- "value": _vm.item.isSelected,
5234
- "disabled": _vm.item.disabled,
5235
- "indeterminate": _vm.item.isIndeterminate
5236
- },
5237
- on: {
5238
- "change": _vm.handleCheckItem
5239
- }
5240
- })], 1) : _vm._e(), _c('span', {
5241
- staticClass: "bk-option-name",
5242
- class: {
5243
- 'bk-margin-left': _vm.multiple
5244
- }
5245
- }, [_vm._v("\n " + _vm._s(_vm.item.name) + "\n "), _vm._t("prepend", null, {
5246
- node: _vm.item
5247
- })], 2)])])], 2), _vm.isRemote ? [_vm.item.isLoading ? _c('i', {
4988
+ }, [_vm._t("default", function () {
4989
+ return [_c('div', {
4990
+ staticClass: "bk-option-content-default",
4991
+ attrs: {
4992
+ "title": _vm.item.name
4993
+ }
4994
+ }, [_vm.multiple ? _c('div', {
4995
+ staticClass: "bk-cascade-check"
4996
+ }, [_c('bk-checkbox', {
4997
+ attrs: {
4998
+ "value": _vm.item.isSelected,
4999
+ "disabled": _vm.item.disabled,
5000
+ "indeterminate": _vm.item.isIndeterminate
5001
+ },
5002
+ on: {
5003
+ "change": _vm.handleCheckItem
5004
+ }
5005
+ })], 1) : _vm._e(), _c('span', {
5006
+ staticClass: "bk-option-name",
5007
+ class: {
5008
+ 'bk-margin-left': _vm.multiple
5009
+ }
5010
+ }, [_vm._v("\n " + _vm._s(_vm.item.name) + "\n "), _vm._t("prepend", null, {
5011
+ "node": _vm.item
5012
+ })], 2)])];
5013
+ })], 2), _vm.isRemote ? [_vm.item.isLoading ? _c('i', {
5248
5014
  staticClass: "bk-icon left-icon icon-loading bk-button-icon-loading bk-cascade-right"
5249
5015
  }, [_c('span', {
5250
5016
  staticClass: "loading"
@@ -5254,19 +5020,15 @@
5254
5020
  staticClass: "bk-cascade-right bk-icon icon-angle-right"
5255
5021
  }) : _vm._e()]], 2);
5256
5022
  };
5257
-
5258
5023
  var __vue_staticRenderFns__$2 = [];
5259
- /* style */
5260
5024
 
5025
+ /* style */
5261
5026
  var __vue_inject_styles__$2 = undefined;
5262
5027
  /* scoped */
5263
-
5264
5028
  var __vue_scope_id__$2 = undefined;
5265
5029
  /* module identifier */
5266
-
5267
5030
  var __vue_module_identifier__$2 = undefined;
5268
5031
  /* functional template */
5269
-
5270
5032
  var __vue_is_functional_template__$2 = false;
5271
5033
  /* style inject */
5272
5034
 
@@ -5312,7 +5074,7 @@
5312
5074
  var children = null;
5313
5075
  if (childrens.length) {
5314
5076
  var _iterator = _createForOfIteratorHelper(childrens),
5315
- _step;
5077
+ _step;
5316
5078
  try {
5317
5079
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
5318
5080
  var child = _step.value;
@@ -5547,15 +5309,12 @@
5547
5309
 
5548
5310
  /* script */
5549
5311
  var __vue_script__$3 = script$3;
5550
- /* template */
5551
5312
 
5313
+ /* template */
5552
5314
  var __vue_render__$3 = function __vue_render__() {
5553
5315
  var _vm = this;
5554
-
5555
5316
  var _h = _vm.$createElement;
5556
-
5557
5317
  var _c = _vm._self._c || _h;
5558
-
5559
5318
  return _c('div', {
5560
5319
  staticClass: "bk-cascade-panel"
5561
5320
  }, [_vm.list.length ? _c('ul', {
@@ -5581,13 +5340,11 @@
5581
5340
  nativeOn: {
5582
5341
  "click": function click($event) {
5583
5342
  $event.stopPropagation();
5584
-
5585
- _vm.cascadeClick(item);
5343
+ return _vm.cascadeClick(item);
5586
5344
  },
5587
5345
  "mouseenter": function mouseenter($event) {
5588
5346
  $event.stopPropagation();
5589
-
5590
- _vm.cascadeHover(item);
5347
+ return _vm.cascadeHover(item);
5591
5348
  }
5592
5349
  },
5593
5350
  scopedSlots: _vm._u([{
@@ -5595,10 +5352,10 @@
5595
5352
  fn: function fn(ref) {
5596
5353
  var node = ref.node;
5597
5354
  return [_vm._t("prepend", null, {
5598
- node: node
5355
+ "node": node
5599
5356
  })];
5600
5357
  }
5601
- }])
5358
+ }], null, true)
5602
5359
  });
5603
5360
  }), 1) : _c('ul', {
5604
5361
  staticClass: "bk-cascade-panel-ul",
@@ -5625,25 +5382,21 @@
5625
5382
  fn: function fn(ref) {
5626
5383
  var node = ref.node;
5627
5384
  return [_vm._t("prepend", null, {
5628
- node: node
5385
+ "node": node
5629
5386
  })];
5630
5387
  }
5631
- }])
5388
+ }], null, true)
5632
5389
  }) : _vm._e()], 1);
5633
5390
  };
5634
-
5635
5391
  var __vue_staticRenderFns__$3 = [];
5636
- /* style */
5637
5392
 
5393
+ /* style */
5638
5394
  var __vue_inject_styles__$3 = undefined;
5639
5395
  /* scoped */
5640
-
5641
5396
  var __vue_scope_id__$3 = undefined;
5642
5397
  /* module identifier */
5643
-
5644
5398
  var __vue_module_identifier__$3 = undefined;
5645
5399
  /* functional template */
5646
-
5647
5400
  var __vue_is_functional_template__$3 = false;
5648
5401
  /* style inject */
5649
5402
 
@@ -5892,8 +5645,8 @@
5892
5645
  this.cascadeList = this.recurrenceNodes(JSON.parse(stringify$1(this.list)));
5893
5646
  this.$on('on-id-change', function (params) {
5894
5647
  var isLast = params.isLast,
5895
- checkAnyLevel = params.checkAnyLevel,
5896
- fromInit = params.fromInit;
5648
+ checkAnyLevel = params.checkAnyLevel,
5649
+ fromInit = params.fromInit;
5897
5650
  if (isLast || checkAnyLevel) {
5898
5651
  var oldIdList = JSON.parse(stringify$1(_this2.currentList));
5899
5652
  _this2.selectedList = _this2.tmpSelected;
@@ -5911,7 +5664,7 @@
5911
5664
  });
5912
5665
  this.$on('on-multiple-change', function (params) {
5913
5666
  var checkAnyLevel = params.checkAnyLevel,
5914
- fromInit = params.fromInit;
5667
+ fromInit = params.fromInit;
5915
5668
  _this2.selectedList = _this2.tmpSelected;
5916
5669
  var newIdList = _this2.selectedList.map(function (item) {
5917
5670
  return item.id;
@@ -5955,9 +5708,9 @@
5955
5708
  return [];
5956
5709
  }
5957
5710
  var _this$nodeOptions = this.nodeOptions,
5958
- idKey = _this$nodeOptions.idKey,
5959
- nameKey = _this$nodeOptions.nameKey,
5960
- childrenKey = _this$nodeOptions.childrenKey;
5711
+ idKey = _this$nodeOptions.idKey,
5712
+ nameKey = _this$nodeOptions.nameKey,
5713
+ childrenKey = _this$nodeOptions.childrenKey;
5961
5714
  list.forEach(function (item, index) {
5962
5715
  item.id = item[idKey];
5963
5716
  item.name = item[nameKey] || '';
@@ -6248,6 +6001,10 @@
6248
6001
  changeCheckStatus(this.cascadeList);
6249
6002
  this.checkListStatus(this.multipleCurrentList);
6250
6003
  this.exposeMultiple(oldId);
6004
+ },
6005
+ handleSearchInput: function handleSearchInput(event) {
6006
+ var value = event.target.value;
6007
+ this.$emit('search', value, event);
6251
6008
  }
6252
6009
  }
6253
6010
  };
@@ -6255,14 +6012,10 @@
6255
6012
  /* script */
6256
6013
  var __vue_script__$4 = script$4;
6257
6014
  /* template */
6258
-
6259
6015
  var __vue_render__$4 = function __vue_render__() {
6260
6016
  var _vm = this;
6261
-
6262
6017
  var _h = _vm.$createElement;
6263
-
6264
6018
  var _c = _vm._self._c || _h;
6265
-
6266
6019
  return _c('div', {
6267
6020
  staticClass: "bk-cascade",
6268
6021
  class: {
@@ -6277,26 +6030,23 @@
6277
6030
  },
6278
6031
  on: {
6279
6032
  "keydown": [function ($event) {
6280
- if (!('button' in $event) && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
6033
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
6281
6034
  return null;
6282
6035
  }
6283
-
6284
6036
  $event.preventDefault();
6285
- return _vm.showTippyInstance($event);
6037
+ return _vm.showTippyInstance.apply(null, arguments);
6286
6038
  }, function ($event) {
6287
- if (!('button' in $event) && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
6039
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "tab", 9, $event.key, "Tab")) {
6288
6040
  return null;
6289
6041
  }
6290
-
6291
- return _vm.handleDropdownHide($event);
6042
+ return _vm.handleDropdownHide.apply(null, arguments);
6292
6043
  }, function ($event) {
6293
- if (!('button' in $event) && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
6044
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"])) {
6294
6045
  return null;
6295
6046
  }
6296
-
6297
6047
  $event.stopPropagation();
6298
6048
  $event.preventDefault();
6299
- return _vm.handleDropdownHide($event);
6049
+ return _vm.handleDropdownHide.apply(null, arguments);
6300
6050
  }]
6301
6051
  }
6302
6052
  }, [_c('i', {
@@ -6307,7 +6057,7 @@
6307
6057
  "click": function click($event) {
6308
6058
  $event.preventDefault();
6309
6059
  $event.stopPropagation();
6310
- return _vm.clearData($event);
6060
+ return _vm.clearData.apply(null, arguments);
6311
6061
  }
6312
6062
  }
6313
6063
  }) : _vm._e(), _c('bk-popover', {
@@ -6343,8 +6093,7 @@
6343
6093
  on: {
6344
6094
  "click": function click($event) {
6345
6095
  $event.stopPropagation();
6346
-
6347
- _vm.removeTag(item, index);
6096
+ return _vm.removeTag(item, index);
6348
6097
  }
6349
6098
  }
6350
6099
  }, [_c('i', {
@@ -6369,13 +6118,12 @@
6369
6118
  "value": _vm.searchContent
6370
6119
  },
6371
6120
  on: {
6372
- "input": function input($event) {
6121
+ "input": [function ($event) {
6373
6122
  if ($event.target.composing) {
6374
6123
  return;
6375
6124
  }
6376
-
6377
6125
  _vm.searchContent = $event.target.value;
6378
- }
6126
+ }, _vm.handleSearchInput]
6379
6127
  }
6380
6128
  })]) : _vm._e()] : _c('div', {
6381
6129
  staticClass: "bk-cascade-name",
@@ -6399,13 +6147,12 @@
6399
6147
  "value": _vm.searchContent
6400
6148
  },
6401
6149
  on: {
6402
- "input": function input($event) {
6150
+ "input": [function ($event) {
6403
6151
  if ($event.target.composing) {
6404
6152
  return;
6405
6153
  }
6406
-
6407
6154
  _vm.searchContent = $event.target.value;
6408
- }
6155
+ }, _vm.handleSearchInput]
6409
6156
  }
6410
6157
  }) : _c('span', [_vm._v(_vm._s(_vm.selectedName))])]), _c('div', {
6411
6158
  directives: [{
@@ -6446,20 +6193,21 @@
6446
6193
  "click": function click($event) {
6447
6194
  $event.preventDefault();
6448
6195
  $event.stopPropagation();
6449
-
6450
- _vm.handleSelectItem(item, index);
6196
+ return _vm.handleSelectItem(item, index);
6451
6197
  }
6452
6198
  }
6453
6199
  }, [_c('div', {
6454
6200
  staticClass: "bk-option-content"
6455
- }, [_vm._t("default", [_c('div', {
6456
- staticClass: "bk-option-content-default",
6457
- attrs: {
6458
- "title": item.name
6459
- }
6460
- }, [_c('span', {
6461
- staticClass: "bk-option-name"
6462
- }, [_vm._v(_vm._s(item.name))])])])], 2)]);
6201
+ }, [_vm._t("default", function () {
6202
+ return [_c('div', {
6203
+ staticClass: "bk-option-content-default",
6204
+ attrs: {
6205
+ "title": item.name
6206
+ }
6207
+ }, [_c('span', {
6208
+ staticClass: "bk-option-name"
6209
+ }, [_vm._v(_vm._s(item.name))])])];
6210
+ })], 2)]);
6463
6211
  }), !_vm.searchList.length ? _c('li', {
6464
6212
  staticClass: "bk-option-none"
6465
6213
  }, [_c('span', [_vm._v(_vm._s(_vm.emptyText || _vm.t('bk.select.searchEmpty')))])]) : _vm._e()], 2)]) : _vm._e(), _c('bk-caspanel', {
@@ -6488,25 +6236,21 @@
6488
6236
  fn: function fn(ref) {
6489
6237
  var node = ref.node;
6490
6238
  return [_vm._t("prepend", null, {
6491
- node: node
6239
+ "node": node
6492
6240
  })];
6493
6241
  }
6494
- }])
6242
+ }], null, true)
6495
6243
  })], 1)])], 2)], 1);
6496
6244
  };
6497
-
6498
6245
  var __vue_staticRenderFns__$4 = [];
6499
- /* style */
6500
6246
 
6247
+ /* style */
6501
6248
  var __vue_inject_styles__$4 = undefined;
6502
6249
  /* scoped */
6503
-
6504
6250
  var __vue_scope_id__$4 = undefined;
6505
6251
  /* module identifier */
6506
-
6507
6252
  var __vue_module_identifier__$4 = undefined;
6508
6253
  /* functional template */
6509
-
6510
6254
  var __vue_is_functional_template__$4 = false;
6511
6255
  /* style inject */
6512
6256