bkui-vue 0.0.2-beta.75 → 0.0.2-beta.78

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 (144) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +8323 -8377
  3. package/dist/index.umd.js +48 -48
  4. package/lib/affix/index.js +5 -3
  5. package/lib/alert/index.js +2 -3
  6. package/lib/backtop/index.js +2 -2
  7. package/lib/badge/index.js +3 -4
  8. package/lib/breadcrumb/index.js +4 -4
  9. package/lib/button/index.js +6 -6
  10. package/lib/card/index.js +16 -5
  11. package/lib/cascader/index.js +70 -53
  12. package/lib/checkbox/index.js +4 -4
  13. package/lib/collapse/index.js +58 -6
  14. package/lib/color-picker/index.js +14 -11
  15. package/lib/config-provider/index.js +51 -3
  16. package/lib/container/index.js +55 -7
  17. package/lib/date-picker/index.js +202 -156
  18. package/lib/dialog/index.js +140 -431
  19. package/lib/directives/index.js +59 -19
  20. package/lib/dropdown/index.js +8 -8
  21. package/lib/exception/index.js +5 -5
  22. package/lib/form/index.js +22 -16
  23. package/lib/icon/angle-double-down-line.js +84 -374
  24. package/lib/icon/angle-double-left-line.js +84 -374
  25. package/lib/icon/angle-double-left.js +84 -374
  26. package/lib/icon/angle-double-right-line.js +84 -374
  27. package/lib/icon/angle-double-right.js +84 -374
  28. package/lib/icon/angle-double-up-line.js +84 -374
  29. package/lib/icon/angle-down-fill.js +84 -374
  30. package/lib/icon/angle-down-line.js +84 -374
  31. package/lib/icon/angle-down.js +84 -374
  32. package/lib/icon/angle-left.js +84 -374
  33. package/lib/icon/angle-right.js +84 -374
  34. package/lib/icon/angle-up-fill.js +84 -374
  35. package/lib/icon/angle-up.js +84 -374
  36. package/lib/icon/archive-fill.js +84 -374
  37. package/lib/icon/arrows-left.js +84 -374
  38. package/lib/icon/arrows-right.js +84 -374
  39. package/lib/icon/assistant.js +84 -374
  40. package/lib/icon/audio-fill.js +84 -374
  41. package/lib/icon/bk.js +84 -374
  42. package/lib/icon/circle.js +84 -374
  43. package/lib/icon/close-line.js +84 -374
  44. package/lib/icon/close.js +84 -374
  45. package/lib/icon/code.js +84 -374
  46. package/lib/icon/cog-shape.js +84 -374
  47. package/lib/icon/collapse-left.js +84 -374
  48. package/lib/icon/copy-shape.js +84 -374
  49. package/lib/icon/copy.js +84 -374
  50. package/lib/icon/data-shape.js +84 -374
  51. package/lib/icon/del.js +84 -374
  52. package/lib/icon/doc-fill.js +84 -374
  53. package/lib/icon/done.js +84 -374
  54. package/lib/icon/down-shape.js +84 -374
  55. package/lib/icon/down-small.js +84 -374
  56. package/lib/icon/edit-line.js +84 -374
  57. package/lib/icon/ellipsis.js +84 -374
  58. package/lib/icon/enlarge-line.js +84 -374
  59. package/lib/icon/error.js +84 -374
  60. package/lib/icon/excel-fill.js +84 -374
  61. package/lib/icon/exclamation-circle-shape.js +84 -374
  62. package/lib/icon/eye.js +84 -374
  63. package/lib/icon/filliscreen-line.js +84 -374
  64. package/lib/icon/fix-line.js +84 -374
  65. package/lib/icon/fix-shape.js +84 -374
  66. package/lib/icon/folder-open.js +84 -374
  67. package/lib/icon/folder-shape-open.js +84 -374
  68. package/lib/icon/folder-shape.js +84 -374
  69. package/lib/icon/folder.js +84 -374
  70. package/lib/icon/funnel.js +84 -374
  71. package/lib/icon/help-document-fill.js +84 -374
  72. package/lib/icon/help-fill.js +84 -374
  73. package/lib/icon/help.js +84 -374
  74. package/lib/icon/image-fill.js +131 -382
  75. package/lib/icon/img-error.js +131 -382
  76. package/lib/icon/img-placehoulder.js +131 -382
  77. package/lib/icon/index.js +563 -531
  78. package/lib/icon/info-line.js +131 -382
  79. package/lib/icon/info.js +131 -382
  80. package/lib/icon/left-shape.js +131 -382
  81. package/lib/icon/left-turn-line.js +131 -382
  82. package/lib/icon/narrow-line.js +131 -382
  83. package/lib/icon/original.js +131 -382
  84. package/lib/icon/pdf-fill.js +131 -382
  85. package/lib/icon/play-shape.js +131 -382
  86. package/lib/icon/plus.js +131 -382
  87. package/lib/icon/ppt-fill.js +131 -382
  88. package/lib/icon/qq.js +131 -382
  89. package/lib/icon/right-shape.js +131 -382
  90. package/lib/icon/right-turn-line.js +131 -382
  91. package/lib/icon/search.js +131 -382
  92. package/lib/icon/share.js +131 -382
  93. package/lib/icon/spinner.js +131 -382
  94. package/lib/icon/success.js +131 -382
  95. package/lib/icon/switcher-loading.js +131 -382
  96. package/lib/icon/text-file.js +131 -382
  97. package/lib/icon/text-fill.js +131 -382
  98. package/lib/icon/transfer.js +131 -382
  99. package/lib/icon/tree-application-shape.js +131 -382
  100. package/lib/icon/unfull-screen.js +131 -382
  101. package/lib/icon/unvisible.js +131 -382
  102. package/lib/icon/up-shape.js +131 -382
  103. package/lib/icon/upload.js +131 -382
  104. package/lib/icon/video-fill.js +131 -382
  105. package/lib/icon/warn.js +131 -382
  106. package/lib/icon/weixin-pro.js +131 -382
  107. package/lib/icon/weixin.js +131 -382
  108. package/lib/image/index.js +57 -9
  109. package/lib/info-box/index.js +145 -436
  110. package/lib/input/index.js +105 -415
  111. package/lib/link/index.js +2 -2
  112. package/lib/loading/index.js +18 -16
  113. package/lib/menu/index.js +22 -23
  114. package/lib/message/index.js +62 -57
  115. package/lib/modal/index.js +77 -18
  116. package/lib/navigation/index.js +11 -11
  117. package/lib/notify/index.js +51 -48
  118. package/lib/overflow-title/index.js +6 -5
  119. package/lib/plugin-popover/index.js +202 -364
  120. package/lib/popover/index.js +202 -364
  121. package/lib/process/index.js +55 -395
  122. package/lib/progress/index.js +51 -48
  123. package/lib/radio/index.js +4 -4
  124. package/lib/rate/index.js +2 -2
  125. package/lib/resize-layout/index.js +4 -5
  126. package/lib/search-select/index.js +179 -486
  127. package/lib/select/index.js +148 -479
  128. package/lib/shared/index.js +176 -352
  129. package/lib/sideslider/index.js +82 -373
  130. package/lib/slider/index.js +48 -386
  131. package/lib/steps/index.js +67 -405
  132. package/lib/swiper/index.js +10 -10
  133. package/lib/switcher/index.js +2 -2
  134. package/lib/tab/index.js +63 -8
  135. package/lib/table/index.js +262 -424
  136. package/lib/table-column/index.js +7 -6
  137. package/lib/tag/index.js +2 -2
  138. package/lib/tag-input/index.js +29 -21
  139. package/lib/timeline/index.js +6 -7
  140. package/lib/transfer/index.js +8 -8
  141. package/lib/tree/index.js +139 -319
  142. package/lib/upload/index.js +104 -423
  143. package/lib/virtual-render/index.js +60 -16
  144. package/package.json +2 -1
@@ -434,381 +434,75 @@ function _typeof(obj) {
434
434
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
435
435
  }, _typeof(obj);
436
436
  }
437
- // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
438
- var regenerator = __webpack_require__(2841);
439
- var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
440
- ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
441
- /******************************************************************************
442
- Copyright (c) Microsoft Corporation.
443
-
444
- Permission to use, copy, modify, and/or distribute this software for any
445
- purpose with or without fee is hereby granted.
446
-
447
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
448
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
449
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
450
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
451
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
452
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
453
- PERFORMANCE OF THIS SOFTWARE.
454
- ***************************************************************************** */
455
- /* global Reflect, Promise, SuppressedError, Symbol */
456
-
457
- var extendStatics = function(d, b) {
458
- extendStatics = Object.setPrototypeOf ||
459
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
460
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
461
- return extendStatics(d, b);
462
- };
463
-
464
- function __extends(d, b) {
465
- if (typeof b !== "function" && b !== null)
466
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
467
- extendStatics(d, b);
468
- function __() { this.constructor = d; }
469
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
470
- }
471
-
472
- var __assign = function() {
473
- __assign = Object.assign || function __assign(t) {
474
- for (var s, i = 1, n = arguments.length; i < n; i++) {
475
- s = arguments[i];
476
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
477
- }
478
- return t;
437
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
438
+
439
+ function _toPrimitive(input, hint) {
440
+ if (_typeof(input) !== "object" || input === null) return input;
441
+ var prim = input[Symbol.toPrimitive];
442
+ if (prim !== undefined) {
443
+ var res = prim.call(input, hint || "default");
444
+ if (_typeof(res) !== "object") return res;
445
+ throw new TypeError("@@toPrimitive must return a primitive value.");
479
446
  }
480
- return __assign.apply(this, arguments);
481
- }
482
-
483
- function __rest(s, e) {
484
- var t = {};
485
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
486
- t[p] = s[p];
487
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
488
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
489
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
490
- t[p[i]] = s[p[i]];
491
- }
492
- return t;
447
+ return (hint === "string" ? String : Number)(input);
493
448
  }
449
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
494
450
 
495
- function __decorate(decorators, target, key, desc) {
496
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
497
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
498
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
499
- return c > 3 && r && Object.defineProperty(target, key, r), r;
500
- }
501
451
 
502
- function __param(paramIndex, decorator) {
503
- return function (target, key) { decorator(target, key, paramIndex); }
452
+ function _toPropertyKey(arg) {
453
+ var key = _toPrimitive(arg, "string");
454
+ return _typeof(key) === "symbol" ? key : String(key);
504
455
  }
456
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
505
457
 
506
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
507
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
508
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
509
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
510
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
511
- var _, done = false;
512
- for (var i = decorators.length - 1; i >= 0; i--) {
513
- var context = {};
514
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
515
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
516
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
517
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
518
- if (kind === "accessor") {
519
- if (result === void 0) continue;
520
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
521
- if (_ = accept(result.get)) descriptor.get = _;
522
- if (_ = accept(result.set)) descriptor.set = _;
523
- if (_ = accept(result.init)) initializers.unshift(_);
524
- }
525
- else if (_ = accept(result)) {
526
- if (kind === "field") initializers.unshift(_);
527
- else descriptor[key] = _;
528
- }
529
- }
530
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
531
- done = true;
532
- };
533
-
534
- function __runInitializers(thisArg, initializers, value) {
535
- var useValue = arguments.length > 2;
536
- for (var i = 0; i < initializers.length; i++) {
537
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
538
- }
539
- return useValue ? value : void 0;
540
- };
541
-
542
- function __propKey(x) {
543
- return typeof x === "symbol" ? x : "".concat(x);
544
- };
545
-
546
- function __setFunctionName(f, name, prefix) {
547
- if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
548
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
549
- };
550
-
551
- function __metadata(metadataKey, metadataValue) {
552
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
553
- }
554
-
555
- function __awaiter(thisArg, _arguments, P, generator) {
556
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
557
- return new (P || (P = Promise))(function (resolve, reject) {
558
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
559
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
560
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
561
- step((generator = generator.apply(thisArg, _arguments || [])).next());
562
- });
563
- }
564
-
565
- function __generator(thisArg, body) {
566
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
567
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
568
- function verb(n) { return function (v) { return step([n, v]); }; }
569
- function step(op) {
570
- if (f) throw new TypeError("Generator is already executing.");
571
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
572
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
573
- if (y = 0, t) op = [op[0] & 2, t.value];
574
- switch (op[0]) {
575
- case 0: case 1: t = op; break;
576
- case 4: _.label++; return { value: op[1], done: false };
577
- case 5: _.label++; y = op[1]; op = [0]; continue;
578
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
579
- default:
580
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
581
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
582
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
583
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
584
- if (t[2]) _.ops.pop();
585
- _.trys.pop(); continue;
586
- }
587
- op = body.call(thisArg, _);
588
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
589
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
590
- }
591
- }
592
-
593
- var __createBinding = Object.create ? (function(o, m, k, k2) {
594
- if (k2 === undefined) k2 = k;
595
- var desc = Object.getOwnPropertyDescriptor(m, k);
596
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
597
- desc = { enumerable: true, get: function() { return m[k]; } };
458
+ function _defineProperty(obj, key, value) {
459
+ key = _toPropertyKey(key);
460
+ if (key in obj) {
461
+ Object.defineProperty(obj, key, {
462
+ value: value,
463
+ enumerable: true,
464
+ configurable: true,
465
+ writable: true
466
+ });
467
+ } else {
468
+ obj[key] = value;
598
469
  }
599
- Object.defineProperty(o, k2, desc);
600
- }) : (function(o, m, k, k2) {
601
- if (k2 === undefined) k2 = k;
602
- o[k2] = m[k];
603
- });
604
-
605
- function __exportStar(m, o) {
606
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
470
+ return obj;
607
471
  }
608
-
609
- function __values(o) {
610
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
611
- if (m) return m.call(o);
612
- if (o && typeof o.length === "number") return {
613
- next: function () {
614
- if (o && i >= o.length) o = void 0;
615
- return { value: o && o[i++], done: !o };
616
- }
617
- };
618
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
619
- }
620
-
621
- function __read(o, n) {
622
- var m = typeof Symbol === "function" && o[Symbol.iterator];
623
- if (!m) return o;
624
- var i = m.call(o), r, ar = [], e;
472
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
473
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
625
474
  try {
626
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
627
- }
628
- catch (error) { e = { error: error }; }
629
- finally {
630
- try {
631
- if (r && !r.done && (m = i["return"])) m.call(i);
632
- }
633
- finally { if (e) throw e.error; }
634
- }
635
- return ar;
636
- }
637
-
638
- /** @deprecated */
639
- function __spread() {
640
- for (var ar = [], i = 0; i < arguments.length; i++)
641
- ar = ar.concat(__read(arguments[i]));
642
- return ar;
643
- }
644
-
645
- /** @deprecated */
646
- function __spreadArrays() {
647
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
648
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
649
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
650
- r[k] = a[j];
651
- return r;
652
- }
653
-
654
- function __spreadArray(to, from, pack) {
655
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
656
- if (ar || !(i in from)) {
657
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
658
- ar[i] = from[i];
659
- }
660
- }
661
- return to.concat(ar || Array.prototype.slice.call(from));
662
- }
663
-
664
- function __await(v) {
665
- return this instanceof __await ? (this.v = v, this) : new __await(v);
666
- }
667
-
668
- function __asyncGenerator(thisArg, _arguments, generator) {
669
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
670
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
671
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
672
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
673
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
674
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
675
- function fulfill(value) { resume("next", value); }
676
- function reject(value) { resume("throw", value); }
677
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
678
- }
679
-
680
- function __asyncDelegator(o) {
681
- var i, p;
682
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
683
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
684
- }
685
-
686
- function __asyncValues(o) {
687
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
688
- var m = o[Symbol.asyncIterator], i;
689
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
690
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
691
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
692
- }
693
-
694
- function __makeTemplateObject(cooked, raw) {
695
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
696
- return cooked;
697
- };
698
-
699
- var __setModuleDefault = Object.create ? (function(o, v) {
700
- Object.defineProperty(o, "default", { enumerable: true, value: v });
701
- }) : function(o, v) {
702
- o["default"] = v;
703
- };
704
-
705
- function __importStar(mod) {
706
- if (mod && mod.__esModule) return mod;
707
- var result = {};
708
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
709
- __setModuleDefault(result, mod);
710
- return result;
711
- }
712
-
713
- function __importDefault(mod) {
714
- return (mod && mod.__esModule) ? mod : { default: mod };
715
- }
716
-
717
- function __classPrivateFieldGet(receiver, state, kind, f) {
718
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
719
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
720
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
721
- }
722
-
723
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
724
- if (kind === "m") throw new TypeError("Private method is not writable");
725
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
726
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
727
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
728
- }
729
-
730
- function __classPrivateFieldIn(state, receiver) {
731
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
732
- return typeof state === "function" ? receiver === state : state.has(receiver);
733
- }
734
-
735
- function __addDisposableResource(env, value, async) {
736
- if (value !== null && value !== void 0) {
737
- if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
738
- var dispose;
739
- if (async) {
740
- if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
741
- dispose = value[Symbol.asyncDispose];
742
- }
743
- if (dispose === void 0) {
744
- if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
745
- dispose = value[Symbol.dispose];
746
- }
747
- if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
748
- env.stack.push({ value: value, dispose: dispose, async: async });
475
+ var info = gen[key](arg);
476
+ var value = info.value;
477
+ } catch (error) {
478
+ reject(error);
479
+ return;
749
480
  }
750
- else if (async) {
751
- env.stack.push({ async: true });
481
+ if (info.done) {
482
+ resolve(value);
483
+ } else {
484
+ Promise.resolve(value).then(_next, _throw);
752
485
  }
753
- return value;
754
486
  }
755
-
756
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
757
- var e = new Error(message);
758
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
759
- };
760
-
761
- function __disposeResources(env) {
762
- function fail(e) {
763
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
764
- env.hasError = true;
765
- }
766
- function next() {
767
- while (env.stack.length) {
768
- var rec = env.stack.pop();
769
- try {
770
- var result = rec.dispose && rec.dispose.call(rec.value);
771
- if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
487
+ function _asyncToGenerator(fn) {
488
+ return function () {
489
+ var self = this,
490
+ args = arguments;
491
+ return new Promise(function (resolve, reject) {
492
+ var gen = fn.apply(self, args);
493
+ function _next(value) {
494
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
772
495
  }
773
- catch (e) {
774
- fail(e);
496
+ function _throw(err) {
497
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
775
498
  }
776
- }
777
- if (env.hasError) throw env.error;
778
- }
779
- return next();
499
+ _next(undefined);
500
+ });
501
+ };
780
502
  }
781
-
782
- /* harmony default export */ const tslib_es6 = ({
783
- __extends,
784
- __assign,
785
- __rest,
786
- __decorate,
787
- __param,
788
- __metadata,
789
- __awaiter,
790
- __generator,
791
- __createBinding,
792
- __exportStar,
793
- __values,
794
- __read,
795
- __spread,
796
- __spreadArrays,
797
- __spreadArray,
798
- __await,
799
- __asyncGenerator,
800
- __asyncDelegator,
801
- __asyncValues,
802
- __makeTemplateObject,
803
- __importStar,
804
- __importDefault,
805
- __classPrivateFieldGet,
806
- __classPrivateFieldSet,
807
- __classPrivateFieldIn,
808
- __addDisposableResource,
809
- __disposeResources,
810
- });
811
-
503
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
504
+ var regenerator = __webpack_require__(2841);
505
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
812
506
  ;// CONCATENATED MODULE: external "vue"
813
507
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
814
508
  var external_vue_y = x => () => x
@@ -830,6 +524,9 @@ var external_modal_x = y => { var x = {}; __webpack_require__.d(x, y); return x;
830
524
  var external_modal_y = x => () => x
831
525
  const external_modal_namespaceObject = external_modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__["default"], ["propsMixin"]: () => __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__.propsMixin });
832
526
  ;// CONCATENATED MODULE: ../../packages/dialog/src/props.ts
527
+
528
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
529
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
833
530
  /*
834
531
  * Tencent is pleased to support the open source community by making
835
532
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -857,7 +554,7 @@ const external_modal_namespaceObject = external_modal_x({ ["default"]: () => __W
857
554
  */
858
555
 
859
556
 
860
- var props = Object.assign(Object.assign({}, external_modal_namespaceObject.propsMixin), {
557
+ var props = _objectSpread(_objectSpread({}, external_modal_namespaceObject.propsMixin), {}, {
861
558
  width: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
862
559
  height: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
863
560
  // 确认按钮文字
@@ -892,6 +589,7 @@ var props = Object.assign(Object.assign({}, external_modal_namespaceObject.props
892
589
  ;// CONCATENATED MODULE: ../../packages/dialog/src/dialog.tsx
893
590
 
894
591
 
592
+
895
593
  /*
896
594
  * Tencent is pleased to support the open source community by making
897
595
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -923,7 +621,6 @@ var props = Object.assign(Object.assign({}, external_modal_namespaceObject.props
923
621
 
924
622
 
925
623
 
926
-
927
624
  function _isSlot(s) {
928
625
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
929
626
  }
@@ -937,7 +634,6 @@ function _isSlot(s) {
937
634
  props: src_props,
938
635
  emits: ['closed', 'update:isShow', 'confirm', 'prev', 'next', 'value-change'],
939
636
  setup: function setup(props, _ref) {
940
- var _this = this;
941
637
  var emit = _ref.emit;
942
638
  var t = (0,external_config_provider_namespaceObject.useLocale)('dialog');
943
639
  var localConfirmText = (0,external_vue_namespaceObject.computed)(function () {
@@ -1002,8 +698,8 @@ function _isSlot(s) {
1002
698
  emit('value-change', val);
1003
699
  });
1004
700
  // 关闭弹框
1005
- var handleClose = function handleClose() {
1006
- return __awaiter(_this, void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
701
+ var handleClose = /*#__PURE__*/function () {
702
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
1007
703
  var shouldClose;
1008
704
  return regenerator_default().wrap(function _callee$(_context) {
1009
705
  while (1) switch (_context.prev = _context.next) {
@@ -1029,7 +725,10 @@ function _isSlot(s) {
1029
725
  }
1030
726
  }, _callee);
1031
727
  }));
1032
- };
728
+ return function handleClose() {
729
+ return _ref2.apply(this, arguments);
730
+ };
731
+ }();
1033
732
  var handleConfirm = function handleConfirm() {
1034
733
  emit('update:isShow', false);
1035
734
  emit('confirm');
@@ -1120,110 +819,110 @@ function _isSlot(s) {
1120
819
  };
1121
820
  },
1122
821
  render: function render() {
1123
- var _this2 = this;
822
+ var _this = this;
1124
823
  var renderIcon = function renderIcon() {
1125
824
  var iconMap = {
1126
825
  loading: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Spinner, {
1127
- "class": [_this2.resolveClassName('info-icon'), 'primary']
826
+ "class": [_this.resolveClassName('info-icon'), 'primary']
1128
827
  }, null),
1129
828
  warning: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Warn, {
1130
- "class": [_this2.resolveClassName('info-icon'), 'warning']
829
+ "class": [_this.resolveClassName('info-icon'), 'warning']
1131
830
  }, null),
1132
831
  success: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Success, {
1133
- "class": [_this2.resolveClassName('info-icon'), 'success']
832
+ "class": [_this.resolveClassName('info-icon'), 'success']
1134
833
  }, null),
1135
834
  danger: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Close, {
1136
- "class": [_this2.resolveClassName('info-icon'), 'danger']
835
+ "class": [_this.resolveClassName('info-icon'), 'danger']
1137
836
  }, null)
1138
837
  };
1139
- return iconMap[_this2.infoType];
838
+ return iconMap[_this.infoType];
1140
839
  };
1141
840
  var dialogSlot = {
1142
841
  header: function header() {
1143
- var _a, _b, _c, _d, _e, _f;
842
+ var _this$$slots$tools, _this$$slots$tools2, _this$$slots, _this$$slots$header, _this$$slots$header2, _this$$slots2;
1144
843
  return [(0,external_vue_namespaceObject.createVNode)("div", {
1145
- "class": [_this2.resolveClassName('dialog-tool'), _this2.fullscreen || !_this2.draggable ? '' : 'move', _this2.draggable ? 'content-dragging' : ''],
1146
- "onMousedown": _this2.moveHandler
1147
- }, [(_c = (_b = (_a = _this2.$slots).tools) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '']), (0,external_vue_namespaceObject.createVNode)("div", {
1148
- "class": _this2.resolveClassName('dialog-header')
844
+ "class": [_this.resolveClassName('dialog-tool'), _this.fullscreen || !_this.draggable ? '' : 'move', _this.draggable ? 'content-dragging' : ''],
845
+ "onMousedown": _this.moveHandler
846
+ }, [(_this$$slots$tools = (_this$$slots$tools2 = (_this$$slots = _this.$slots).tools) === null || _this$$slots$tools2 === void 0 ? void 0 : _this$$slots$tools2.call(_this$$slots)) !== null && _this$$slots$tools !== void 0 ? _this$$slots$tools : '']), (0,external_vue_namespaceObject.createVNode)("div", {
847
+ "class": _this.resolveClassName('dialog-header')
1149
848
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
1150
- "class": _this2.resolveClassName('header-icon')
1151
- }, [_this2.infoType ? renderIcon() : (0,external_vue_namespaceObject.createVNode)("slot", {
849
+ "class": _this.resolveClassName('header-icon')
850
+ }, [_this.infoType ? renderIcon() : (0,external_vue_namespaceObject.createVNode)("slot", {
1152
851
  "name": "info-icon"
1153
852
  }, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
1154
- "class": _this2.resolveClassName('dialog-title'),
1155
- "style": "text-align: ".concat(_this2.headerAlign)
1156
- }, [(_f = (_e = (_d = _this2.$slots).header) === null || _e === void 0 ? void 0 : _e.call(_d)) !== null && _f !== void 0 ? _f : _this2.title])])];
853
+ "class": _this.resolveClassName('dialog-title'),
854
+ "style": "text-align: ".concat(_this.headerAlign)
855
+ }, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = _this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : _this.title])])];
1157
856
  },
1158
857
  "default": function _default() {
1159
- var _a, _b, _c;
1160
- return (_c = (_b = (_a = _this2.$slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : 'default';
858
+ var _this$$slots$default, _this$$slots$default2, _this$$slots3;
859
+ return (_this$$slots$default = (_this$$slots$default2 = (_this$$slots3 = _this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots3)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : 'default';
1161
860
  },
1162
861
  footer: function footer() {
1163
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
862
+ var _this$$slots$footer, _this$$slots$footer2, _this$$slots4, _this$$slots$footer3, _this$$slots$footer4, _this$$slots5, _this$$slots$footer5, _this$$slots$footer6, _this$$slots6;
1164
863
  return (0,external_vue_namespaceObject.createVNode)("div", {
1165
- "class": _this2.resolveClassName('dialog-footer'),
1166
- "style": "text-align: ".concat(_this2.footerAlign)
1167
- }, [_this2.dialogType === 'process' ? (_c = (_b = (_a = _this2.$slots).footer) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this2.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
1168
- "class": _this2.resolveClassName('dialog-perv'),
1169
- "onClick": _this2.handlePrevStep
864
+ "class": _this.resolveClassName('dialog-footer'),
865
+ "style": "text-align: ".concat(_this.footerAlign)
866
+ }, [_this.dialogType === 'process' ? (_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
867
+ "class": _this.resolveClassName('dialog-perv'),
868
+ "onClick": _this.handlePrevStep
1170
869
  }, {
1171
870
  "default": function _default() {
1172
- return [_this2.localPrevText];
871
+ return [_this.localPrevText];
1173
872
  }
1174
- }), _this2.current === _this2.totalStep ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
1175
- "class": _this2.resolveClassName('dialog-next'),
1176
- "onClick": _this2.handleNextStep
873
+ }), _this.current === _this.totalStep ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
874
+ "class": _this.resolveClassName('dialog-next'),
875
+ "onClick": _this.handleNextStep
1177
876
  }, {
1178
877
  "default": function _default() {
1179
- return [_this2.localNextText];
878
+ return [_this.localNextText];
1180
879
  }
1181
- }), _this2.current === _this2.totalStep ? (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
1182
- "onClick": _this2.handleConfirm,
1183
- "theme": _this2.theme,
1184
- "loading": _this2.isLoading
880
+ }), _this.current === _this.totalStep ? (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
881
+ "onClick": _this.handleConfirm,
882
+ "theme": _this.theme,
883
+ "loading": _this.isLoading
1185
884
  }, {
1186
885
  "default": function _default() {
1187
- return [_this2.localConfirmText];
886
+ return [_this.localConfirmText];
1188
887
  }
1189
888
  }) : '', (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
1190
- "class": _this2.resolveClassName('dialog-cancel'),
1191
- "onClick": _this2.handleClose,
1192
- "disabled": _this2.isLoading
889
+ "class": _this.resolveClassName('dialog-cancel'),
890
+ "onClick": _this.handleClose,
891
+ "disabled": _this.isLoading
1193
892
  }, {
1194
893
  "default": function _default() {
1195
- return [_this2.localCancelText];
894
+ return [_this.localCancelText];
1196
895
  }
1197
- })]) : '', _this2.dialogType === 'operation' ? (_f = (_e = (_d = _this2.$slots).footer) === null || _e === void 0 ? void 0 : _e.call(_d)) !== null && _f !== void 0 ? _f : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
1198
- "onClick": _this2.handleConfirm,
1199
- "theme": _this2.theme,
1200
- "loading": _this2.isLoading
896
+ })]) : '', _this.dialogType === 'operation' ? (_this$$slots$footer3 = (_this$$slots$footer4 = (_this$$slots5 = _this.$slots).footer) === null || _this$$slots$footer4 === void 0 ? void 0 : _this$$slots$footer4.call(_this$$slots5)) !== null && _this$$slots$footer3 !== void 0 ? _this$$slots$footer3 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
897
+ "onClick": _this.handleConfirm,
898
+ "theme": _this.theme,
899
+ "loading": _this.isLoading
1201
900
  }, {
1202
901
  "default": function _default() {
1203
- return [_this2.localConfirmText];
902
+ return [_this.localConfirmText];
1204
903
  }
1205
904
  }), (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
1206
- "class": _this2.resolveClassName('dialog-cancel'),
1207
- "onClick": _this2.handleClose,
1208
- "disabled": _this2.isLoading
905
+ "class": _this.resolveClassName('dialog-cancel'),
906
+ "onClick": _this.handleClose,
907
+ "disabled": _this.isLoading
1209
908
  }, {
1210
909
  "default": function _default() {
1211
- return [_this2.localCancelText];
910
+ return [_this.localCancelText];
1212
911
  }
1213
- })]) : '', _this2.dialogType === 'confirm' ? (_j = (_h = (_g = _this2.$slots).footer) === null || _h === void 0 ? void 0 : _h.call(_g)) !== null && _j !== void 0 ? _j : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
1214
- "onClick": _this2.handleConfirm,
1215
- "theme": _this2.theme,
1216
- "loading": _this2.isLoading
912
+ })]) : '', _this.dialogType === 'confirm' ? (_this$$slots$footer5 = (_this$$slots$footer6 = (_this$$slots6 = _this.$slots).footer) === null || _this$$slots$footer6 === void 0 ? void 0 : _this$$slots$footer6.call(_this$$slots6)) !== null && _this$$slots$footer5 !== void 0 ? _this$$slots$footer5 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
913
+ "onClick": _this.handleConfirm,
914
+ "theme": _this.theme,
915
+ "loading": _this.isLoading
1217
916
  }, {
1218
917
  "default": function _default() {
1219
- return [_this2.localConfirmText];
918
+ return [_this.localConfirmText];
1220
919
  }
1221
920
  })]) : '']);
1222
921
  },
1223
922
  // eslint-disable-next-line @typescript-eslint/no-misused-promises
1224
923
  close: function close() {
1225
924
  return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
1226
- "onClick": _this2.handleClose
925
+ "onClick": _this.handleClose
1227
926
  }, null);
1228
927
  }
1229
928
  };
@@ -1243,6 +942,10 @@ function _isSlot(s) {
1243
942
  ;// CONCATENATED MODULE: ../../packages/info-box/src/info-box.tsx
1244
943
 
1245
944
 
945
+
946
+ function info_box_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
947
+ function info_box_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? info_box_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : info_box_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
948
+
1246
949
  /*
1247
950
  * Tencent is pleased to support the open source community by making
1248
951
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1268,7 +971,6 @@ function _isSlot(s) {
1268
971
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1269
972
  * IN THE SOFTWARE.
1270
973
  */
1271
-
1272
974
  /*
1273
975
  * Tencent is pleased to support the open source community by making
1274
976
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1304,7 +1006,6 @@ var InfoBox = function InfoBox(config) {
1304
1006
  var dialog = (0,external_vue_namespaceObject.defineComponent)({
1305
1007
  name: 'DialogConfirm',
1306
1008
  setup: function setup(_props, _ref) {
1307
- var _this = this;
1308
1009
  var expose = _ref.expose;
1309
1010
  (0,external_vue_namespaceObject.onMounted)(function () {
1310
1011
  var dom = document.activeElement || document.body;
@@ -1313,18 +1014,19 @@ var InfoBox = function InfoBox(config) {
1313
1014
  isShow.value = true;
1314
1015
  }
1315
1016
  });
1316
- var onClosed = function onClosed() {
1317
- return __awaiter(_this, void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
1318
- var _a, _b;
1017
+ var onClosed = /*#__PURE__*/function () {
1018
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
1019
+ var _modalFuncProps$value;
1020
+ var _modalFuncProps$value2;
1319
1021
  return regenerator_default().wrap(function _callee$(_context) {
1320
1022
  while (1) switch (_context.prev = _context.next) {
1321
1023
  case 0:
1322
- if (!(typeof ((_a = modalFuncProps.value) === null || _a === void 0 ? void 0 : _a.onClosed) === 'function')) {
1024
+ if (!(typeof ((_modalFuncProps$value = modalFuncProps.value) === null || _modalFuncProps$value === void 0 ? void 0 : _modalFuncProps$value.onClosed) === 'function')) {
1323
1025
  _context.next = 3;
1324
1026
  break;
1325
1027
  }
1326
1028
  _context.next = 3;
1327
- return (_b = modalFuncProps.value) === null || _b === void 0 ? void 0 : _b.onClosed();
1029
+ return (_modalFuncProps$value2 = modalFuncProps.value) === null || _modalFuncProps$value2 === void 0 ? void 0 : _modalFuncProps$value2.onClosed();
1328
1030
  case 3:
1329
1031
  isShow.value = false;
1330
1032
  case 4:
@@ -1333,19 +1035,23 @@ var InfoBox = function InfoBox(config) {
1333
1035
  }
1334
1036
  }, _callee);
1335
1037
  }));
1336
- };
1337
- var onConfirm = function onConfirm() {
1338
- return __awaiter(_this, void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee2() {
1339
- var _c, _d;
1038
+ return function onClosed() {
1039
+ return _ref2.apply(this, arguments);
1040
+ };
1041
+ }();
1042
+ var onConfirm = /*#__PURE__*/function () {
1043
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2() {
1044
+ var _modalFuncProps$value3;
1045
+ var _modalFuncProps$value4;
1340
1046
  return regenerator_default().wrap(function _callee2$(_context2) {
1341
1047
  while (1) switch (_context2.prev = _context2.next) {
1342
1048
  case 0:
1343
- if (!(typeof ((_c = modalFuncProps.value) === null || _c === void 0 ? void 0 : _c.onConfirm) === 'function')) {
1049
+ if (!(typeof ((_modalFuncProps$value3 = modalFuncProps.value) === null || _modalFuncProps$value3 === void 0 ? void 0 : _modalFuncProps$value3.onConfirm) === 'function')) {
1344
1050
  _context2.next = 3;
1345
1051
  break;
1346
1052
  }
1347
1053
  _context2.next = 3;
1348
- return (_d = modalFuncProps.value) === null || _d === void 0 ? void 0 : _d.onConfirm();
1054
+ return (_modalFuncProps$value4 = modalFuncProps.value) === null || _modalFuncProps$value4 === void 0 ? void 0 : _modalFuncProps$value4.onConfirm();
1349
1055
  case 3:
1350
1056
  isShow.value = false;
1351
1057
  case 4:
@@ -1354,9 +1060,12 @@ var InfoBox = function InfoBox(config) {
1354
1060
  }
1355
1061
  }, _callee2);
1356
1062
  }));
1357
- };
1063
+ return function onConfirm() {
1064
+ return _ref3.apply(this, arguments);
1065
+ };
1066
+ }();
1358
1067
  function update(newValue) {
1359
- modalFuncProps.value = Object.assign(Object.assign({}, modalFuncProps.value), newValue);
1068
+ modalFuncProps.value = info_box_objectSpread(info_box_objectSpread({}, modalFuncProps.value), newValue);
1360
1069
  }
1361
1070
  expose({
1362
1071
  update: update
@@ -1388,13 +1097,13 @@ var InfoBox = function InfoBox(config) {
1388
1097
  return subTitleBox;
1389
1098
  };
1390
1099
  return function () {
1391
- return (0,external_vue_namespaceObject.createVNode)(src_dialog, Object.assign(Object.assign({
1100
+ return (0,external_vue_namespaceObject.createVNode)(src_dialog, info_box_objectSpread(info_box_objectSpread({
1392
1101
  "class": resolveClassName('info-wrapper'),
1393
1102
  headerAlign: 'center',
1394
1103
  footerAlign: 'center',
1395
1104
  transfer: true,
1396
1105
  fullscreen: false
1397
- }, modalFuncProps.value), {
1106
+ }, modalFuncProps.value), {}, {
1398
1107
  isShow: isShow.value,
1399
1108
  onClosed: onClosed,
1400
1109
  onConfirm: onConfirm