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
@@ -468,385 +468,44 @@ function _defineProperty(obj, key, value) {
468
468
  }
469
469
  return obj;
470
470
  }
471
- ;// CONCATENATED MODULE: external "vue"
472
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
473
- var external_vue_y = x => () => x
474
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
475
- // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
476
- var regenerator = __webpack_require__(2841);
477
- var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
478
- ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
479
- /******************************************************************************
480
- Copyright (c) Microsoft Corporation.
481
-
482
- Permission to use, copy, modify, and/or distribute this software for any
483
- purpose with or without fee is hereby granted.
484
-
485
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
486
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
487
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
488
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
489
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
490
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
491
- PERFORMANCE OF THIS SOFTWARE.
492
- ***************************************************************************** */
493
- /* global Reflect, Promise, SuppressedError, Symbol */
494
-
495
- var extendStatics = function(d, b) {
496
- extendStatics = Object.setPrototypeOf ||
497
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
498
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
499
- return extendStatics(d, b);
500
- };
501
-
502
- function __extends(d, b) {
503
- if (typeof b !== "function" && b !== null)
504
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
505
- extendStatics(d, b);
506
- function __() { this.constructor = d; }
507
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
508
- }
509
-
510
- var __assign = function() {
511
- __assign = Object.assign || function __assign(t) {
512
- for (var s, i = 1, n = arguments.length; i < n; i++) {
513
- s = arguments[i];
514
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
515
- }
516
- return t;
517
- }
518
- return __assign.apply(this, arguments);
519
- }
520
-
521
- function __rest(s, e) {
522
- var t = {};
523
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
524
- t[p] = s[p];
525
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
526
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
527
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
528
- t[p[i]] = s[p[i]];
529
- }
530
- return t;
531
- }
532
-
533
- function __decorate(decorators, target, key, desc) {
534
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
535
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
536
- 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;
537
- return c > 3 && r && Object.defineProperty(target, key, r), r;
538
- }
539
-
540
- function __param(paramIndex, decorator) {
541
- return function (target, key) { decorator(target, key, paramIndex); }
542
- }
543
-
544
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
545
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
546
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
547
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
548
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
549
- var _, done = false;
550
- for (var i = decorators.length - 1; i >= 0; i--) {
551
- var context = {};
552
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
553
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
554
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
555
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
556
- if (kind === "accessor") {
557
- if (result === void 0) continue;
558
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
559
- if (_ = accept(result.get)) descriptor.get = _;
560
- if (_ = accept(result.set)) descriptor.set = _;
561
- if (_ = accept(result.init)) initializers.unshift(_);
562
- }
563
- else if (_ = accept(result)) {
564
- if (kind === "field") initializers.unshift(_);
565
- else descriptor[key] = _;
566
- }
567
- }
568
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
569
- done = true;
570
- };
571
-
572
- function __runInitializers(thisArg, initializers, value) {
573
- var useValue = arguments.length > 2;
574
- for (var i = 0; i < initializers.length; i++) {
575
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
576
- }
577
- return useValue ? value : void 0;
578
- };
579
-
580
- function __propKey(x) {
581
- return typeof x === "symbol" ? x : "".concat(x);
582
- };
583
-
584
- function __setFunctionName(f, name, prefix) {
585
- if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
586
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
587
- };
588
-
589
- function __metadata(metadataKey, metadataValue) {
590
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
591
- }
592
-
593
- function __awaiter(thisArg, _arguments, P, generator) {
594
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
595
- return new (P || (P = Promise))(function (resolve, reject) {
596
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
597
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
598
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
599
- step((generator = generator.apply(thisArg, _arguments || [])).next());
600
- });
601
- }
602
-
603
- function __generator(thisArg, body) {
604
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
605
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
606
- function verb(n) { return function (v) { return step([n, v]); }; }
607
- function step(op) {
608
- if (f) throw new TypeError("Generator is already executing.");
609
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
610
- 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;
611
- if (y = 0, t) op = [op[0] & 2, t.value];
612
- switch (op[0]) {
613
- case 0: case 1: t = op; break;
614
- case 4: _.label++; return { value: op[1], done: false };
615
- case 5: _.label++; y = op[1]; op = [0]; continue;
616
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
617
- default:
618
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
619
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
620
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
621
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
622
- if (t[2]) _.ops.pop();
623
- _.trys.pop(); continue;
624
- }
625
- op = body.call(thisArg, _);
626
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
627
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
628
- }
629
- }
630
-
631
- var __createBinding = Object.create ? (function(o, m, k, k2) {
632
- if (k2 === undefined) k2 = k;
633
- var desc = Object.getOwnPropertyDescriptor(m, k);
634
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
635
- desc = { enumerable: true, get: function() { return m[k]; } };
636
- }
637
- Object.defineProperty(o, k2, desc);
638
- }) : (function(o, m, k, k2) {
639
- if (k2 === undefined) k2 = k;
640
- o[k2] = m[k];
641
- });
642
-
643
- function __exportStar(m, o) {
644
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
645
- }
646
-
647
- function __values(o) {
648
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
649
- if (m) return m.call(o);
650
- if (o && typeof o.length === "number") return {
651
- next: function () {
652
- if (o && i >= o.length) o = void 0;
653
- return { value: o && o[i++], done: !o };
654
- }
655
- };
656
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
657
- }
658
-
659
- function __read(o, n) {
660
- var m = typeof Symbol === "function" && o[Symbol.iterator];
661
- if (!m) return o;
662
- var i = m.call(o), r, ar = [], e;
471
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
472
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
663
473
  try {
664
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
474
+ var info = gen[key](arg);
475
+ var value = info.value;
476
+ } catch (error) {
477
+ reject(error);
478
+ return;
665
479
  }
666
- catch (error) { e = { error: error }; }
667
- finally {
668
- try {
669
- if (r && !r.done && (m = i["return"])) m.call(i);
670
- }
671
- finally { if (e) throw e.error; }
672
- }
673
- return ar;
674
- }
675
-
676
- /** @deprecated */
677
- function __spread() {
678
- for (var ar = [], i = 0; i < arguments.length; i++)
679
- ar = ar.concat(__read(arguments[i]));
680
- return ar;
681
- }
682
-
683
- /** @deprecated */
684
- function __spreadArrays() {
685
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
686
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
687
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
688
- r[k] = a[j];
689
- return r;
690
- }
691
-
692
- function __spreadArray(to, from, pack) {
693
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
694
- if (ar || !(i in from)) {
695
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
696
- ar[i] = from[i];
697
- }
698
- }
699
- return to.concat(ar || Array.prototype.slice.call(from));
700
- }
701
-
702
- function __await(v) {
703
- return this instanceof __await ? (this.v = v, this) : new __await(v);
704
- }
705
-
706
- function __asyncGenerator(thisArg, _arguments, generator) {
707
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
708
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
709
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
710
- 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); }); }; }
711
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
712
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
713
- function fulfill(value) { resume("next", value); }
714
- function reject(value) { resume("throw", value); }
715
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
716
- }
717
-
718
- function __asyncDelegator(o) {
719
- var i, p;
720
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
721
- 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; }
722
- }
723
-
724
- function __asyncValues(o) {
725
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
726
- var m = o[Symbol.asyncIterator], i;
727
- 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);
728
- 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); }); }; }
729
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
730
- }
731
-
732
- function __makeTemplateObject(cooked, raw) {
733
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
734
- return cooked;
735
- };
736
-
737
- var __setModuleDefault = Object.create ? (function(o, v) {
738
- Object.defineProperty(o, "default", { enumerable: true, value: v });
739
- }) : function(o, v) {
740
- o["default"] = v;
741
- };
742
-
743
- function __importStar(mod) {
744
- if (mod && mod.__esModule) return mod;
745
- var result = {};
746
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
747
- __setModuleDefault(result, mod);
748
- return result;
749
- }
750
-
751
- function __importDefault(mod) {
752
- return (mod && mod.__esModule) ? mod : { default: mod };
753
- }
754
-
755
- function __classPrivateFieldGet(receiver, state, kind, f) {
756
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
757
- 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");
758
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
759
- }
760
-
761
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
762
- if (kind === "m") throw new TypeError("Private method is not writable");
763
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
764
- 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");
765
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
766
- }
767
-
768
- function __classPrivateFieldIn(state, receiver) {
769
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
770
- return typeof state === "function" ? receiver === state : state.has(receiver);
771
- }
772
-
773
- function __addDisposableResource(env, value, async) {
774
- if (value !== null && value !== void 0) {
775
- if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
776
- var dispose;
777
- if (async) {
778
- if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
779
- dispose = value[Symbol.asyncDispose];
780
- }
781
- if (dispose === void 0) {
782
- if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
783
- dispose = value[Symbol.dispose];
784
- }
785
- if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
786
- env.stack.push({ value: value, dispose: dispose, async: async });
787
- }
788
- else if (async) {
789
- env.stack.push({ async: true });
480
+ if (info.done) {
481
+ resolve(value);
482
+ } else {
483
+ Promise.resolve(value).then(_next, _throw);
790
484
  }
791
- return value;
792
485
  }
793
-
794
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
795
- var e = new Error(message);
796
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
797
- };
798
-
799
- function __disposeResources(env) {
800
- function fail(e) {
801
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
802
- env.hasError = true;
803
- }
804
- function next() {
805
- while (env.stack.length) {
806
- var rec = env.stack.pop();
807
- try {
808
- var result = rec.dispose && rec.dispose.call(rec.value);
809
- if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
486
+ function _asyncToGenerator(fn) {
487
+ return function () {
488
+ var self = this,
489
+ args = arguments;
490
+ return new Promise(function (resolve, reject) {
491
+ var gen = fn.apply(self, args);
492
+ function _next(value) {
493
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
810
494
  }
811
- catch (e) {
812
- fail(e);
495
+ function _throw(err) {
496
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
813
497
  }
814
- }
815
- if (env.hasError) throw env.error;
816
- }
817
- return next();
498
+ _next(undefined);
499
+ });
500
+ };
818
501
  }
819
-
820
- /* harmony default export */ const tslib_es6 = ({
821
- __extends,
822
- __assign,
823
- __rest,
824
- __decorate,
825
- __param,
826
- __metadata,
827
- __awaiter,
828
- __generator,
829
- __createBinding,
830
- __exportStar,
831
- __values,
832
- __read,
833
- __spread,
834
- __spreadArrays,
835
- __spreadArray,
836
- __await,
837
- __asyncGenerator,
838
- __asyncDelegator,
839
- __asyncValues,
840
- __makeTemplateObject,
841
- __importStar,
842
- __importDefault,
843
- __classPrivateFieldGet,
844
- __classPrivateFieldSet,
845
- __classPrivateFieldIn,
846
- __addDisposableResource,
847
- __disposeResources,
848
- });
849
-
502
+ ;// CONCATENATED MODULE: external "vue"
503
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
504
+ var external_vue_y = x => () => x
505
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
506
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
507
+ var regenerator = __webpack_require__(2841);
508
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
850
509
  ;// CONCATENATED MODULE: external "vue-types"
851
510
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
852
511
  var external_vue_types_y = x => () => x
@@ -863,6 +522,7 @@ const external_icon_namespaceObject = external_icon_x({ ["Circle"]: () => __WEBP
863
522
 
864
523
 
865
524
 
525
+
866
526
  /**
867
527
  * Tencent is pleased to support the open source community by making
868
528
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -893,7 +553,6 @@ const external_icon_namespaceObject = external_icon_x({ ["Circle"]: () => __WEBP
893
553
 
894
554
 
895
555
 
896
-
897
556
  var StatusEnum;
898
557
  (function (StatusEnum) {
899
558
  StatusEnum["UNKNOWN"] = "";
@@ -918,7 +577,6 @@ var stepsProps = {
918
577
  props: stepsProps,
919
578
  emits: ['update:curStep', 'click'],
920
579
  setup: function setup(props, _ref) {
921
- var _this = this;
922
580
  var emit = _ref.emit;
923
581
  var t = (0,external_config_provider_namespaceObject.useLocale)('steps');
924
582
  var lang = (0,external_config_provider_namespaceObject.useLocale)('lang');
@@ -927,16 +585,16 @@ var stepsProps = {
927
585
  var _defaultSteps$value;
928
586
  var defaults = [];
929
587
  steps.forEach(function (step) {
930
- var _a;
931
588
  if (typeof step === 'string') {
932
589
  defaults.push(step);
933
590
  } else {
591
+ var _step$border;
934
592
  defaults.push({
935
593
  title: step.title,
936
594
  icon: step.icon,
937
595
  description: step.description,
938
596
  status: step.status,
939
- border: (_a = step.border) !== null && _a !== void 0 ? _a : true
597
+ border: (_step$border = step.border) !== null && _step$border !== void 0 ? _step$border : true
940
598
  });
941
599
  }
942
600
  });
@@ -946,8 +604,7 @@ var stepsProps = {
946
604
  stepsProps.curStep = curStep;
947
605
  };
948
606
  var init = function init() {
949
- var _defaultSteps$value2;
950
- var _a;
607
+ var _defaultSteps$value2, _props$steps;
951
608
  (_defaultSteps$value2 = defaultSteps.value).splice.apply(_defaultSteps$value2, [0, defaultSteps.value.length].concat([{
952
609
  title: t.value.step1,
953
610
  icon: 1
@@ -958,7 +615,7 @@ var stepsProps = {
958
615
  title: t.value.step3,
959
616
  icon: 3
960
617
  }]));
961
- if ((_a = props.steps) === null || _a === void 0 ? void 0 : _a.length) {
618
+ if ((_props$steps = props.steps) !== null && _props$steps !== void 0 && _props$steps.length) {
962
619
  updateSteps(props.steps);
963
620
  }
964
621
  };
@@ -971,9 +628,8 @@ var stepsProps = {
971
628
  // watch(() => globalConfigData, () => {
972
629
  // init();
973
630
  // }, { deep: true });
974
- var jumpTo = function jumpTo(index) {
975
- return __awaiter(_this, void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee2() {
976
- var _this2 = this;
631
+ var jumpTo = /*#__PURE__*/function () {
632
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(index) {
977
633
  return regenerator_default().wrap(function _callee2$(_context2) {
978
634
  while (1) switch (_context2.prev = _context2.next) {
979
635
  case 0:
@@ -987,8 +643,8 @@ var stepsProps = {
987
643
  break;
988
644
  }
989
645
  _context2.next = 5;
990
- return new Promise(function (resolve, reject) {
991
- return __awaiter(_this2, void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
646
+ return new Promise( /*#__PURE__*/function () {
647
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
992
648
  var confirmed;
993
649
  return regenerator_default().wrap(function _callee$(_context) {
994
650
  while (1) switch (_context.prev = _context.next) {
@@ -1004,7 +660,10 @@ var stepsProps = {
1004
660
  }
1005
661
  }, _callee);
1006
662
  }));
1007
- });
663
+ return function (_x2, _x3) {
664
+ return _ref3.apply(this, arguments);
665
+ };
666
+ }());
1008
667
  case 5:
1009
668
  emit('update:curStep', index);
1010
669
  emit('click', index);
@@ -1021,7 +680,10 @@ var stepsProps = {
1021
680
  }
1022
681
  }, _callee2, null, [[0, 9]]);
1023
682
  }));
1024
- };
683
+ return function jumpTo(_x) {
684
+ return _ref2.apply(this, arguments);
685
+ };
686
+ }();
1025
687
  (0,external_vue_namespaceObject.onMounted)(init);
1026
688
  (0,external_vue_namespaceObject.watch)(function () {
1027
689
  return props.steps;
@@ -1047,16 +709,16 @@ var stepsProps = {
1047
709
  },
1048
710
  render: function render() {
1049
711
  var _classes,
1050
- _this3 = this;
712
+ _this = this;
1051
713
  var stepsClsPrefix = this.resolveClassName('steps');
1052
714
  var stepsThemeCls = this.theme ? "".concat(stepsClsPrefix, "-").concat(this.theme) : '';
1053
715
  var stepsSizeCls = this.size ? "".concat(stepsClsPrefix, "-").concat(this.size) : '';
1054
716
  var stepsCls = (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(this.extCls), !!this.extCls), _defineProperty(_classes, "".concat(this.resolveClassName("steps-".concat(this.direction))), this.direction), _defineProperty(_classes, "".concat(this.resolveClassName("steps-".concat(this.lineType))), this.lineType), _classes), "".concat(stepsThemeCls, " ").concat(stepsClsPrefix, " ").concat(stepsSizeCls));
1055
717
  var isDone = function isDone(index) {
1056
- return _this3.curStep > index + 1 || _this3.defaultSteps[index].status === 'done';
718
+ return _this.curStep > index + 1 || _this.defaultSteps[index].status === 'done';
1057
719
  };
1058
720
  var isCurrent = function isCurrent(index) {
1059
- return _this3.curStep === index + 1;
721
+ return _this.curStep === index + 1;
1060
722
  };
1061
723
  var iconType = function iconType(step) {
1062
724
  var icon = step.icon;
@@ -1079,19 +741,19 @@ var stepsProps = {
1079
741
  return step.status === 'error';
1080
742
  };
1081
743
  var renderIcon = function renderIcon(index, step) {
1082
- if (isCurrent(index) && _this3.status === 'loading' || isLoadingStatus(step)) {
744
+ if (isCurrent(index) && _this.status === 'loading' || isLoadingStatus(step)) {
1083
745
  return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Circle, {
1084
- "class": "".concat(_this3.resolveClassName('icon'), " ").concat(_this3.resolveClassName('steps-icon'), " icon-loading")
746
+ "class": "".concat(_this.resolveClassName('icon'), " ").concat(_this.resolveClassName('steps-icon'), " icon-loading")
1085
747
  }, null);
1086
748
  }
1087
- if (isCurrent(index) && _this3.status === 'error' || isErrorStatus(step)) {
749
+ if (isCurrent(index) && _this.status === 'error' || isErrorStatus(step)) {
1088
750
  return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
1089
- "class": "".concat(_this3.resolveClassName('steps-icon'))
751
+ "class": "".concat(_this.resolveClassName('steps-icon'))
1090
752
  }, null);
1091
753
  }
1092
754
  if (isDone(index)) {
1093
755
  return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Done, {
1094
- "class": "".concat(_this3.resolveClassName('steps-icon'))
756
+ "class": "".concat(_this.resolveClassName('steps-icon'))
1095
757
  }, null);
1096
758
  }
1097
759
  return (0,external_vue_namespaceObject.createVNode)("span", null, [isNumberIcon(index, step) ? index + 1 : (0,external_vue_namespaceObject.createVNode)(step.icon, null, null)]);
@@ -1099,29 +761,29 @@ var stepsProps = {
1099
761
  return (0,external_vue_namespaceObject.createVNode)("div", {
1100
762
  "class": stepsCls
1101
763
  }, [this.defaultSteps.map(function (step, index) {
1102
- var _a, _b, _c;
764
+ var _this$$slots, _this$$slots2, _this$$slots3;
1103
765
  return (0,external_vue_namespaceObject.createVNode)("div", {
1104
- "class": [_this3.resolveClassName('step'), !step.title ? _this3.resolveClassName('step-no-content') : '', isDone(index) ? 'done' : '', isCurrent(index) ? 'current' : '', isCurrent(index) && _this3.status === 'error' ? 'isError' : '', step.status && isCurrent(index) ? ["".concat(_this3.resolveClassName("step-".concat(step.status)))] : '']
766
+ "class": [_this.resolveClassName('step'), !step.title ? _this.resolveClassName('step-no-content') : '', isDone(index) ? 'done' : '', isCurrent(index) ? 'current' : '', isCurrent(index) && _this.status === 'error' ? 'isError' : '', step.status && isCurrent(index) ? ["".concat(_this.resolveClassName("step-".concat(step.status)))] : '']
1105
767
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
1106
- "class": ["".concat(_this3.resolveClassName('step-indicator')), "".concat(_this3.resolveClassName("step-".concat(iconType(step) ? 'icon' : 'number'))), "".concat(_this3.resolveClassName("step-icon".concat(step.status)))],
768
+ "class": ["".concat(_this.resolveClassName('step-indicator')), "".concat(_this.resolveClassName("step-".concat(iconType(step) ? 'icon' : 'number'))), "".concat(_this.resolveClassName("step-icon".concat(step.status)))],
1107
769
  "style": {
1108
- cursor: _this3.controllable ? 'pointer' : ''
770
+ cursor: _this.controllable ? 'pointer' : ''
1109
771
  },
1110
772
  "onClick": function onClick() {
1111
- _this3.jumpTo(index + 1);
773
+ _this.jumpTo(index + 1);
1112
774
  }
1113
- }, [(_c = (_b = (_a = _this3.$slots)[index + 1]) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : renderIcon(index, step)]), step.title ? (0,external_vue_namespaceObject.createVNode)("div", {
1114
- "class": "".concat(_this3.resolveClassName('step-content'))
775
+ }, [(_this$$slots = (_this$$slots2 = (_this$$slots3 = _this.$slots)[index + 1]) === null || _this$$slots2 === void 0 ? void 0 : _this$$slots2.call(_this$$slots3)) !== null && _this$$slots !== void 0 ? _this$$slots : renderIcon(index, step)]), step.title ? (0,external_vue_namespaceObject.createVNode)("div", {
776
+ "class": "".concat(_this.resolveClassName('step-content'))
1115
777
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
1116
- "class": "".concat(_this3.resolveClassName('step-title')),
778
+ "class": "".concat(_this.resolveClassName('step-title')),
1117
779
  "style": {
1118
- cursor: _this3.controllable ? 'pointer' : ''
780
+ cursor: _this.controllable ? 'pointer' : ''
1119
781
  },
1120
782
  "onClick": function onClick() {
1121
- _this3.jumpTo(index + 1);
783
+ _this.jumpTo(index + 1);
1122
784
  }
1123
785
  }, [step.title]), step.description && (0,external_vue_namespaceObject.createVNode)("div", {
1124
- "class": "".concat(_this3.resolveClassName('step-description')),
786
+ "class": "".concat(_this.resolveClassName('step-description')),
1125
787
  "title": step.description
1126
788
  }, [step.description])]) : '']);
1127
789
  })]);
@@ -151,8 +151,8 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
151
151
  resolveClassName = _usePrefix.resolveClassName;
152
152
  // 计算属性
153
153
  var computedRenderDataList = (0,external_vue_namespaceObject.computed)(function () {
154
- var _a;
155
- return ((_a = list.value) === null || _a === void 0 ? void 0 : _a.length) > 0 ? list.value : pics.value;
154
+ var _list$value;
155
+ return ((_list$value = list.value) === null || _list$value === void 0 ? void 0 : _list$value.length) > 0 ? list.value : pics.value;
156
156
  });
157
157
  var computedSwiperTranslateStyle = (0,external_vue_namespaceObject.computed)(function () {
158
158
  return {
@@ -208,8 +208,8 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
208
208
  };
209
209
  // 如果没有传递高宽属性,组件的高宽需要随着父元素的变化而变化
210
210
  var watchParentSizeChange = function watchParentSizeChange() {
211
- var _a;
212
- var parentEle = (_a = swiperRef.value) === null || _a === void 0 ? void 0 : _a.parentElement;
211
+ var _swiperRef$value;
212
+ var parentEle = (_swiperRef$value = swiperRef.value) === null || _swiperRef$value === void 0 ? void 0 : _swiperRef$value.parentElement;
213
213
  if (!parentEle || !window.ResizeObserver) {
214
214
  return;
215
215
  }
@@ -219,8 +219,8 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
219
219
  resizeObserver.observe(parentEle);
220
220
  };
221
221
  var endWatchParentSizeChange = function endWatchParentSizeChange() {
222
- var _a;
223
- (_a = resizeObserver.disconnect) === null || _a === void 0 ? void 0 : _a.call(resizeObserver);
222
+ var _resizeObserver$disco, _resizeObserver;
223
+ (_resizeObserver$disco = (_resizeObserver = resizeObserver).disconnect) === null || _resizeObserver$disco === void 0 ? void 0 : _resizeObserver$disco.call(_resizeObserver);
224
224
  };
225
225
  var getElementSize = function getElementSize(node) {
226
226
  if (node === undefined) {
@@ -239,8 +239,8 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
239
239
  };
240
240
  // 计算组件的高宽 & 宽度
241
241
  var calcSize = function calcSize() {
242
- var _a;
243
- var swiperParentSize = getElementSize((_a = swiperRef.value) === null || _a === void 0 ? void 0 : _a.parentElement);
242
+ var _swiperRef$value2;
243
+ var swiperParentSize = getElementSize((_swiperRef$value2 = swiperRef.value) === null || _swiperRef$value2 === void 0 ? void 0 : _swiperRef$value2.parentElement);
244
244
  renderWidth.value = +width.value > 0 ? width.value : swiperParentSize.width;
245
245
  renderHeight.value = +height.value > 0 ? height.value : swiperParentSize.height;
246
246
  };
@@ -264,11 +264,11 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
264
264
  "style": computedSwiperTranslateStyle.value,
265
265
  "class": "".concat(resolveClassName('transition'), " ").concat(resolveClassName('swiper-main'))
266
266
  }, [computedRenderDataList.value.map(function (renderData) {
267
- var _a, _b;
267
+ var _slots$default, _slots$default2;
268
268
  return (0,external_vue_namespaceObject.createVNode)("h3", {
269
269
  "class": "".concat(resolveClassName('swiper-card')),
270
270
  "style": computedSwiperRenderStyle.value
271
- }, [(_b = (_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots, renderData)) !== null && _b !== void 0 ? _b : (0,external_vue_namespaceObject.createVNode)("span", {
271
+ }, [(_slots$default = (_slots$default2 = slots["default"]) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots, renderData)) !== null && _slots$default !== void 0 ? _slots$default : (0,external_vue_namespaceObject.createVNode)("span", {
272
272
  "class": getRenderItemClass(renderData),
273
273
  "style": getRenderItemStyle(renderData),
274
274
  "onClick": function onClick() {