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
@@ -467,6 +467,37 @@ function _defineProperty(obj, key, value) {
467
467
  }
468
468
  return obj;
469
469
  }
470
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
471
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
472
+ try {
473
+ var info = gen[key](arg);
474
+ var value = info.value;
475
+ } catch (error) {
476
+ reject(error);
477
+ return;
478
+ }
479
+ if (info.done) {
480
+ resolve(value);
481
+ } else {
482
+ Promise.resolve(value).then(_next, _throw);
483
+ }
484
+ }
485
+ function _asyncToGenerator(fn) {
486
+ return function () {
487
+ var self = this,
488
+ args = arguments;
489
+ return new Promise(function (resolve, reject) {
490
+ var gen = fn.apply(self, args);
491
+ function _next(value) {
492
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
493
+ }
494
+ function _throw(err) {
495
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
496
+ }
497
+ _next(undefined);
498
+ });
499
+ };
500
+ }
470
501
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
471
502
  function _arrayLikeToArray(arr, len) {
472
503
  if (len == null || len > arr.length) len = arr.length;
@@ -511,378 +542,6 @@ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __W
511
542
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
512
543
  var regenerator = __webpack_require__(2841);
513
544
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
514
- ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
515
- /******************************************************************************
516
- Copyright (c) Microsoft Corporation.
517
-
518
- Permission to use, copy, modify, and/or distribute this software for any
519
- purpose with or without fee is hereby granted.
520
-
521
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
522
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
523
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
524
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
525
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
526
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
527
- PERFORMANCE OF THIS SOFTWARE.
528
- ***************************************************************************** */
529
- /* global Reflect, Promise, SuppressedError, Symbol */
530
-
531
- var extendStatics = function(d, b) {
532
- extendStatics = Object.setPrototypeOf ||
533
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
534
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
535
- return extendStatics(d, b);
536
- };
537
-
538
- function __extends(d, b) {
539
- if (typeof b !== "function" && b !== null)
540
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
541
- extendStatics(d, b);
542
- function __() { this.constructor = d; }
543
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
544
- }
545
-
546
- var __assign = function() {
547
- __assign = Object.assign || function __assign(t) {
548
- for (var s, i = 1, n = arguments.length; i < n; i++) {
549
- s = arguments[i];
550
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
551
- }
552
- return t;
553
- }
554
- return __assign.apply(this, arguments);
555
- }
556
-
557
- function __rest(s, e) {
558
- var t = {};
559
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
560
- t[p] = s[p];
561
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
562
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
563
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
564
- t[p[i]] = s[p[i]];
565
- }
566
- return t;
567
- }
568
-
569
- function __decorate(decorators, target, key, desc) {
570
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
571
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
572
- 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;
573
- return c > 3 && r && Object.defineProperty(target, key, r), r;
574
- }
575
-
576
- function __param(paramIndex, decorator) {
577
- return function (target, key) { decorator(target, key, paramIndex); }
578
- }
579
-
580
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
581
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
582
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
583
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
584
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
585
- var _, done = false;
586
- for (var i = decorators.length - 1; i >= 0; i--) {
587
- var context = {};
588
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
589
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
590
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
591
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
592
- if (kind === "accessor") {
593
- if (result === void 0) continue;
594
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
595
- if (_ = accept(result.get)) descriptor.get = _;
596
- if (_ = accept(result.set)) descriptor.set = _;
597
- if (_ = accept(result.init)) initializers.unshift(_);
598
- }
599
- else if (_ = accept(result)) {
600
- if (kind === "field") initializers.unshift(_);
601
- else descriptor[key] = _;
602
- }
603
- }
604
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
605
- done = true;
606
- };
607
-
608
- function __runInitializers(thisArg, initializers, value) {
609
- var useValue = arguments.length > 2;
610
- for (var i = 0; i < initializers.length; i++) {
611
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
612
- }
613
- return useValue ? value : void 0;
614
- };
615
-
616
- function __propKey(x) {
617
- return typeof x === "symbol" ? x : "".concat(x);
618
- };
619
-
620
- function __setFunctionName(f, name, prefix) {
621
- if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
622
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
623
- };
624
-
625
- function __metadata(metadataKey, metadataValue) {
626
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
627
- }
628
-
629
- function __awaiter(thisArg, _arguments, P, generator) {
630
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
631
- return new (P || (P = Promise))(function (resolve, reject) {
632
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
633
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
634
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
635
- step((generator = generator.apply(thisArg, _arguments || [])).next());
636
- });
637
- }
638
-
639
- function __generator(thisArg, body) {
640
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
641
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
642
- function verb(n) { return function (v) { return step([n, v]); }; }
643
- function step(op) {
644
- if (f) throw new TypeError("Generator is already executing.");
645
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
646
- 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;
647
- if (y = 0, t) op = [op[0] & 2, t.value];
648
- switch (op[0]) {
649
- case 0: case 1: t = op; break;
650
- case 4: _.label++; return { value: op[1], done: false };
651
- case 5: _.label++; y = op[1]; op = [0]; continue;
652
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
653
- default:
654
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
655
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
656
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
657
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
658
- if (t[2]) _.ops.pop();
659
- _.trys.pop(); continue;
660
- }
661
- op = body.call(thisArg, _);
662
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
663
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
664
- }
665
- }
666
-
667
- var __createBinding = Object.create ? (function(o, m, k, k2) {
668
- if (k2 === undefined) k2 = k;
669
- var desc = Object.getOwnPropertyDescriptor(m, k);
670
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
671
- desc = { enumerable: true, get: function() { return m[k]; } };
672
- }
673
- Object.defineProperty(o, k2, desc);
674
- }) : (function(o, m, k, k2) {
675
- if (k2 === undefined) k2 = k;
676
- o[k2] = m[k];
677
- });
678
-
679
- function __exportStar(m, o) {
680
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
681
- }
682
-
683
- function __values(o) {
684
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
685
- if (m) return m.call(o);
686
- if (o && typeof o.length === "number") return {
687
- next: function () {
688
- if (o && i >= o.length) o = void 0;
689
- return { value: o && o[i++], done: !o };
690
- }
691
- };
692
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
693
- }
694
-
695
- function __read(o, n) {
696
- var m = typeof Symbol === "function" && o[Symbol.iterator];
697
- if (!m) return o;
698
- var i = m.call(o), r, ar = [], e;
699
- try {
700
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
701
- }
702
- catch (error) { e = { error: error }; }
703
- finally {
704
- try {
705
- if (r && !r.done && (m = i["return"])) m.call(i);
706
- }
707
- finally { if (e) throw e.error; }
708
- }
709
- return ar;
710
- }
711
-
712
- /** @deprecated */
713
- function __spread() {
714
- for (var ar = [], i = 0; i < arguments.length; i++)
715
- ar = ar.concat(__read(arguments[i]));
716
- return ar;
717
- }
718
-
719
- /** @deprecated */
720
- function __spreadArrays() {
721
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
722
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
723
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
724
- r[k] = a[j];
725
- return r;
726
- }
727
-
728
- function __spreadArray(to, from, pack) {
729
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
730
- if (ar || !(i in from)) {
731
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
732
- ar[i] = from[i];
733
- }
734
- }
735
- return to.concat(ar || Array.prototype.slice.call(from));
736
- }
737
-
738
- function __await(v) {
739
- return this instanceof __await ? (this.v = v, this) : new __await(v);
740
- }
741
-
742
- function __asyncGenerator(thisArg, _arguments, generator) {
743
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
744
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
745
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
746
- 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); }); }; }
747
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
748
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
749
- function fulfill(value) { resume("next", value); }
750
- function reject(value) { resume("throw", value); }
751
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
752
- }
753
-
754
- function __asyncDelegator(o) {
755
- var i, p;
756
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
757
- 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; }
758
- }
759
-
760
- function __asyncValues(o) {
761
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
762
- var m = o[Symbol.asyncIterator], i;
763
- 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);
764
- 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); }); }; }
765
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
766
- }
767
-
768
- function __makeTemplateObject(cooked, raw) {
769
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
770
- return cooked;
771
- };
772
-
773
- var __setModuleDefault = Object.create ? (function(o, v) {
774
- Object.defineProperty(o, "default", { enumerable: true, value: v });
775
- }) : function(o, v) {
776
- o["default"] = v;
777
- };
778
-
779
- function __importStar(mod) {
780
- if (mod && mod.__esModule) return mod;
781
- var result = {};
782
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
783
- __setModuleDefault(result, mod);
784
- return result;
785
- }
786
-
787
- function __importDefault(mod) {
788
- return (mod && mod.__esModule) ? mod : { default: mod };
789
- }
790
-
791
- function __classPrivateFieldGet(receiver, state, kind, f) {
792
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
793
- 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");
794
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
795
- }
796
-
797
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
798
- if (kind === "m") throw new TypeError("Private method is not writable");
799
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
800
- 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");
801
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
802
- }
803
-
804
- function __classPrivateFieldIn(state, receiver) {
805
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
806
- return typeof state === "function" ? receiver === state : state.has(receiver);
807
- }
808
-
809
- function __addDisposableResource(env, value, async) {
810
- if (value !== null && value !== void 0) {
811
- if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
812
- var dispose;
813
- if (async) {
814
- if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
815
- dispose = value[Symbol.asyncDispose];
816
- }
817
- if (dispose === void 0) {
818
- if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
819
- dispose = value[Symbol.dispose];
820
- }
821
- if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
822
- env.stack.push({ value: value, dispose: dispose, async: async });
823
- }
824
- else if (async) {
825
- env.stack.push({ async: true });
826
- }
827
- return value;
828
- }
829
-
830
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
831
- var e = new Error(message);
832
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
833
- };
834
-
835
- function __disposeResources(env) {
836
- function fail(e) {
837
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
838
- env.hasError = true;
839
- }
840
- function next() {
841
- while (env.stack.length) {
842
- var rec = env.stack.pop();
843
- try {
844
- var result = rec.dispose && rec.dispose.call(rec.value);
845
- if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
846
- }
847
- catch (e) {
848
- fail(e);
849
- }
850
- }
851
- if (env.hasError) throw env.error;
852
- }
853
- return next();
854
- }
855
-
856
- /* harmony default export */ const tslib_es6 = ({
857
- __extends,
858
- __assign,
859
- __rest,
860
- __decorate,
861
- __param,
862
- __metadata,
863
- __awaiter,
864
- __generator,
865
- __createBinding,
866
- __exportStar,
867
- __values,
868
- __read,
869
- __spread,
870
- __spreadArrays,
871
- __spreadArray,
872
- __await,
873
- __asyncGenerator,
874
- __asyncDelegator,
875
- __asyncValues,
876
- __makeTemplateObject,
877
- __importStar,
878
- __importDefault,
879
- __classPrivateFieldGet,
880
- __classPrivateFieldSet,
881
- __classPrivateFieldIn,
882
- __addDisposableResource,
883
- __disposeResources,
884
- });
885
-
886
545
  ;// CONCATENATED MODULE: external "../config-provider"
887
546
  var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
888
547
  var external_config_provider_y = x => () => x
@@ -896,6 +555,7 @@ const external_icon_namespaceObject = external_icon_x({ ["Circle"]: () => __WEBP
896
555
 
897
556
 
898
557
 
558
+
899
559
  /**
900
560
  * Tencent is pleased to support the open source community by making
901
561
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -925,7 +585,6 @@ const external_icon_namespaceObject = external_icon_x({ ["Circle"]: () => __WEBP
925
585
 
926
586
 
927
587
 
928
-
929
588
  // import { Error, Circle, Done } from '@bkui-vue/icon';
930
589
  var processProps = {
931
590
  list: external_shared_namespaceObject.PropTypes.array.def([]),
@@ -940,15 +599,13 @@ var processProps = {
940
599
  props: processProps,
941
600
  emits: ['update:curProcess', 'click'],
942
601
  setup: function setup(props, _ref) {
943
- var _this = this;
944
602
  var emit = _ref.emit;
945
603
  var t = (0,external_config_provider_namespaceObject.useLocale)('process');
946
604
  var lang = (0,external_config_provider_namespaceObject.useLocale)('lang');
947
605
  var defaultProcessList = (0,external_vue_namespaceObject.ref)([]);
948
606
  var paddingBottom = (0,external_vue_namespaceObject.ref)(0);
949
607
  var init = function init() {
950
- var _defaultProcessList$v;
951
- var _a;
608
+ var _defaultProcessList$v, _props$list;
952
609
  (_defaultProcessList$v = defaultProcessList.value).splice.apply(_defaultProcessList$v, [0, defaultProcessList.value.length].concat([{
953
610
  content: t.value.step1
954
611
  }, {
@@ -958,7 +615,7 @@ var processProps = {
958
615
  }, {
959
616
  content: t.value.step4
960
617
  }]));
961
- if ((_a = props.list) === null || _a === void 0 ? void 0 : _a.length) {
618
+ if ((_props$list = props.list) !== null && _props$list !== void 0 && _props$list.length) {
962
619
  var _defaultProcessList$v2;
963
620
  (_defaultProcessList$v2 = defaultProcessList.value).splice.apply(_defaultProcessList$v2, [0, defaultProcessList.value.length].concat(_toConsumableArray(props.list)));
964
621
  }
@@ -968,8 +625,8 @@ var processProps = {
968
625
  }, function () {
969
626
  init();
970
627
  });
971
- var jumpTo = function jumpTo(index) {
972
- return __awaiter(_this, void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
628
+ var jumpTo = /*#__PURE__*/function () {
629
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(index) {
973
630
  return regenerator_default().wrap(function _callee$(_context) {
974
631
  while (1) switch (_context.prev = _context.next) {
975
632
  case 0:
@@ -987,7 +644,10 @@ var processProps = {
987
644
  }
988
645
  }, _callee);
989
646
  }));
990
- };
647
+ return function jumpTo(_x) {
648
+ return _ref2.apply(this, arguments);
649
+ };
650
+ }();
991
651
  (0,external_vue_namespaceObject.onMounted)(init);
992
652
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
993
653
  resolveClassName = _usePrefix.resolveClassName;
@@ -999,7 +659,7 @@ var processProps = {
999
659
  };
1000
660
  },
1001
661
  render: function render() {
1002
- var _this2 = this;
662
+ var _this = this;
1003
663
  var processClsPrefix = this.resolveClassName('process');
1004
664
  var processCls = (0,external_shared_namespaceObject.classes)(_defineProperty({}, "".concat(this.extCls), !!this.extCls), "".concat(processClsPrefix));
1005
665
  var isLoadingStatus = function isLoadingStatus(item) {
@@ -1009,30 +669,30 @@ var processProps = {
1009
669
  return item.status === 'error';
1010
670
  };
1011
671
  var isDone = function isDone(index) {
1012
- return _this2.curProcess >= index + 1 || _this2.defaultProcessList[index].status === 'done';
672
+ return _this.curProcess >= index + 1 || _this.defaultProcessList[index].status === 'done';
1013
673
  };
1014
674
  var isIcon = function isIcon(item) {
1015
675
  return item.icon ? item.icon : '';
1016
676
  };
1017
677
  var renderIcon = function renderIcon(index, item) {
1018
- if (index === _this2.curProcess - 1 && isLoadingStatus(item)) {
678
+ if (index === _this.curProcess - 1 && isLoadingStatus(item)) {
1019
679
  return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Circle, {
1020
- "class": "".concat(_this2.resolveClassName('icon'), " ").concat(_this2.resolveClassName('process-icon'), " icon-loading")
680
+ "class": "".concat(_this.resolveClassName('icon'), " ").concat(_this.resolveClassName('process-icon'), " icon-loading")
1021
681
  }, null);
1022
682
  }
1023
- if (index === _this2.curProcess - 1 && isErrorStatus(item)) {
683
+ if (index === _this.curProcess - 1 && isErrorStatus(item)) {
1024
684
  return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
1025
- "class": "".concat(_this2.resolveClassName('process-icon'), " icon-error")
685
+ "class": "".concat(_this.resolveClassName('process-icon'), " icon-error")
1026
686
  }, null);
1027
687
  }
1028
- if (index === _this2.curProcess - 1 && isIcon(item)) {
688
+ if (index === _this.curProcess - 1 && isIcon(item)) {
1029
689
  return (0,external_vue_namespaceObject.createVNode)("span", {
1030
- "class": "".concat(_this2.resolveClassName('process-icon-custom'))
690
+ "class": "".concat(_this.resolveClassName('process-icon-custom'))
1031
691
  }, [(0,external_vue_namespaceObject.createVNode)(item.icon, null, null)]);
1032
692
  }
1033
693
  if (isDone(index)) {
1034
694
  return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Done, {
1035
- "class": "".concat(_this2.resolveClassName('process-icon-done'))
695
+ "class": "".concat(_this.resolveClassName('process-icon-done'))
1036
696
  }, null);
1037
697
  }
1038
698
  // return (<span class="number">{<item.icon/>}</span>);
@@ -1047,19 +707,19 @@ var processProps = {
1047
707
  }, [this.defaultProcessList.map(function (item, index) {
1048
708
  return (0,external_vue_namespaceObject.createVNode)("li", {
1049
709
  "onClick": function onClick() {
1050
- _this2.jumpTo(index + 1);
710
+ _this.jumpTo(index + 1);
1051
711
  },
1052
712
  "style": {
1053
- cursor: _this2.controllable ? 'pointer' : ''
713
+ cursor: _this.controllable ? 'pointer' : ''
1054
714
  },
1055
715
  "class": {
1056
- success: _this2.curProcess >= index + 1,
1057
- current: isLoadingStatus(item) && index === _this2.curProcess - 1,
1058
- error: isErrorStatus(item) && index === _this2.curProcess - 1
716
+ success: _this.curProcess >= index + 1,
717
+ current: isLoadingStatus(item) && index === _this.curProcess - 1,
718
+ error: isErrorStatus(item) && index === _this.curProcess - 1
1059
719
  }
1060
720
  }, [(0,external_vue_namespaceObject.createVNode)("div", null, [(0,external_vue_namespaceObject.createVNode)("span", {
1061
721
  "class": "display"
1062
- }, [item[_this2.displayKey]]), renderIcon(index, item)])]);
722
+ }, [item[_this.displayKey]]), renderIcon(index, item)])]);
1063
723
  })])]);
1064
724
  }
1065
725
  }));