bkui-vue 2.0.2-beta.48 → 2.0.2-beta.49

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 (154) hide show
  1. package/dist/index.cjs.js +42 -47
  2. package/dist/index.esm.js +7009 -7201
  3. package/dist/index.umd.js +45 -50
  4. package/lib/affix/index.js +14 -12
  5. package/lib/alert/index.js +14 -12
  6. package/lib/animate-number/index.js +12 -11
  7. package/lib/backtop/index.js +11 -10
  8. package/lib/badge/index.js +14 -12
  9. package/lib/breadcrumb/index.js +14 -12
  10. package/lib/button/index.js +14 -12
  11. package/lib/card/index.js +14 -12
  12. package/lib/cascader/index.js +101 -94
  13. package/lib/checkbox/index.js +35 -37
  14. package/lib/code-diff/index.js +674 -1170
  15. package/lib/collapse/index.js +42 -44
  16. package/lib/collapse-transition/index.js +4 -3
  17. package/lib/color-picker/index.js +60 -59
  18. package/lib/config-provider/index.js +14 -12
  19. package/lib/container/index.js +25 -21
  20. package/lib/date-picker/index.js +51 -58
  21. package/lib/dialog/index.js +441 -43
  22. package/lib/directives/index.js +34 -37
  23. package/lib/divider/index.js +3 -2
  24. package/lib/dropdown/index.js +21 -17
  25. package/lib/exception/index.js +17 -14
  26. package/lib/fixed-navbar/index.js +3 -2
  27. package/lib/form/index.js +34 -37
  28. package/lib/icon/angle-double-down-line.js +36 -29
  29. package/lib/icon/angle-double-left-line.js +36 -29
  30. package/lib/icon/angle-double-left.js +36 -29
  31. package/lib/icon/angle-double-right-line.js +36 -29
  32. package/lib/icon/angle-double-right.js +36 -29
  33. package/lib/icon/angle-double-up-line.js +36 -29
  34. package/lib/icon/angle-down-fill.js +36 -29
  35. package/lib/icon/angle-down-line.js +36 -29
  36. package/lib/icon/angle-down.js +36 -29
  37. package/lib/icon/angle-left.js +36 -29
  38. package/lib/icon/angle-right.js +36 -29
  39. package/lib/icon/angle-up-fill.js +36 -29
  40. package/lib/icon/angle-up.js +36 -29
  41. package/lib/icon/archive-fill.js +36 -29
  42. package/lib/icon/arrows-left.js +36 -29
  43. package/lib/icon/arrows-right.js +36 -29
  44. package/lib/icon/assistant.js +36 -29
  45. package/lib/icon/audio-fill.js +36 -29
  46. package/lib/icon/bk.js +36 -29
  47. package/lib/icon/circle.js +36 -29
  48. package/lib/icon/close-line.js +36 -29
  49. package/lib/icon/close.js +36 -29
  50. package/lib/icon/code.js +36 -29
  51. package/lib/icon/cog-shape.js +36 -29
  52. package/lib/icon/collapse-left.js +36 -29
  53. package/lib/icon/copy-shape.js +36 -29
  54. package/lib/icon/copy.js +36 -29
  55. package/lib/icon/data-shape.js +36 -29
  56. package/lib/icon/del.js +36 -29
  57. package/lib/icon/doc-fill.js +36 -29
  58. package/lib/icon/done.js +36 -29
  59. package/lib/icon/down-shape.js +36 -29
  60. package/lib/icon/down-small.js +36 -29
  61. package/lib/icon/edit-line.js +36 -29
  62. package/lib/icon/ellipsis.js +36 -29
  63. package/lib/icon/enlarge-line.js +36 -29
  64. package/lib/icon/error.js +36 -29
  65. package/lib/icon/excel-fill.js +36 -29
  66. package/lib/icon/exclamation-circle-shape.js +36 -29
  67. package/lib/icon/eye.js +36 -29
  68. package/lib/icon/filliscreen-line.js +36 -29
  69. package/lib/icon/fix-line.js +36 -29
  70. package/lib/icon/fix-shape.js +36 -29
  71. package/lib/icon/folder-open.js +36 -29
  72. package/lib/icon/folder-shape-open.js +36 -29
  73. package/lib/icon/folder-shape.js +36 -29
  74. package/lib/icon/folder.js +36 -29
  75. package/lib/icon/funnel.js +36 -29
  76. package/lib/icon/grag-fill.js +36 -29
  77. package/lib/icon/help-document-fill.js +36 -29
  78. package/lib/icon/help-fill.js +36 -29
  79. package/lib/icon/help.js +36 -29
  80. package/lib/icon/image-fill.js +36 -29
  81. package/lib/icon/img-error.js +36 -29
  82. package/lib/icon/img-placehoulder.js +36 -29
  83. package/lib/icon/info-line.js +36 -29
  84. package/lib/icon/info.js +36 -29
  85. package/lib/icon/left-shape.js +36 -29
  86. package/lib/icon/left-turn-line.js +36 -29
  87. package/lib/icon/loading.js +36 -29
  88. package/lib/icon/narrow-line.js +36 -29
  89. package/lib/icon/original.js +36 -29
  90. package/lib/icon/pdf-fill.js +36 -29
  91. package/lib/icon/play-shape.js +36 -29
  92. package/lib/icon/plus.js +36 -29
  93. package/lib/icon/ppt-fill.js +36 -29
  94. package/lib/icon/qq.js +36 -29
  95. package/lib/icon/right-shape.js +36 -29
  96. package/lib/icon/right-turn-line.js +36 -29
  97. package/lib/icon/search.js +36 -29
  98. package/lib/icon/share.js +36 -29
  99. package/lib/icon/spinner.js +36 -29
  100. package/lib/icon/success.js +36 -29
  101. package/lib/icon/switcher-loading.js +36 -29
  102. package/lib/icon/text-all.js +36 -29
  103. package/lib/icon/text-file.js +36 -29
  104. package/lib/icon/text-fill.js +36 -29
  105. package/lib/icon/transfer.js +36 -29
  106. package/lib/icon/tree-application-shape.js +36 -29
  107. package/lib/icon/unfull-screen.js +36 -29
  108. package/lib/icon/unvisible.js +36 -29
  109. package/lib/icon/up-shape.js +36 -29
  110. package/lib/icon/upload.js +36 -29
  111. package/lib/icon/video-fill.js +36 -29
  112. package/lib/icon/warn.js +36 -29
  113. package/lib/icon/weixin-pro.js +36 -29
  114. package/lib/icon/weixin.js +36 -29
  115. package/lib/image/index.js +47 -49
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +461 -62
  118. package/lib/input/index.js +60 -62
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +25 -22
  121. package/lib/menu/index.js +34 -36
  122. package/lib/message/index.js +31 -34
  123. package/lib/modal/index.js +14 -12
  124. package/lib/navigation/index.js +9 -7
  125. package/lib/notify/index.js +14 -12
  126. package/lib/overflow-title/index.js +10 -9
  127. package/lib/pagination/index.js +29 -32
  128. package/lib/pop-confirm/index.js +5 -4
  129. package/lib/popover/index.js +136 -209
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +452 -59
  132. package/lib/progress/index.js +19 -16
  133. package/lib/radio/index.js +34 -37
  134. package/lib/rate/index.js +14 -12
  135. package/lib/resize-layout/index.js +20 -18
  136. package/lib/scrollbar/index.js +58 -51
  137. package/lib/search-select/index.js +595 -222
  138. package/lib/select/index.js +463 -111
  139. package/lib/shared/index.js +95 -83
  140. package/lib/sideslider/index.js +441 -43
  141. package/lib/slider/index.js +446 -49
  142. package/lib/steps/index.js +458 -60
  143. package/lib/swiper/index.js +17 -15
  144. package/lib/switcher/index.js +14 -12
  145. package/lib/tab/index.js +40 -42
  146. package/lib/table/index.js +501 -152
  147. package/lib/tag/index.js +14 -12
  148. package/lib/tag-input/index.js +41 -47
  149. package/lib/timeline/index.js +0 -1
  150. package/lib/transfer/index.js +17 -22
  151. package/lib/tree/index.js +66 -73
  152. package/lib/upload/index.js +487 -136
  153. package/lib/virtual-render/index.js +51 -47
  154. package/package.json +1 -2
@@ -628,6 +628,354 @@ normalizeWheel.getEventType = function() /*string*/ {
628
628
  module.exports = normalizeWheel;
629
629
 
630
630
 
631
+ /***/ }),
632
+
633
+ /***/ 7609:
634
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
635
+
636
+ var _typeof = (__webpack_require__(7425)["default"]);
637
+ function _regeneratorRuntime() {
638
+ "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
639
+ module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
640
+ return e;
641
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
642
+ var t,
643
+ e = {},
644
+ r = Object.prototype,
645
+ n = r.hasOwnProperty,
646
+ o = Object.defineProperty || function (t, e, r) {
647
+ t[e] = r.value;
648
+ },
649
+ i = "function" == typeof Symbol ? Symbol : {},
650
+ a = i.iterator || "@@iterator",
651
+ c = i.asyncIterator || "@@asyncIterator",
652
+ u = i.toStringTag || "@@toStringTag";
653
+ function define(t, e, r) {
654
+ return Object.defineProperty(t, e, {
655
+ value: r,
656
+ enumerable: !0,
657
+ configurable: !0,
658
+ writable: !0
659
+ }), t[e];
660
+ }
661
+ try {
662
+ define({}, "");
663
+ } catch (t) {
664
+ define = function define(t, e, r) {
665
+ return t[e] = r;
666
+ };
667
+ }
668
+ function wrap(t, e, r, n) {
669
+ var i = e && e.prototype instanceof Generator ? e : Generator,
670
+ a = Object.create(i.prototype),
671
+ c = new Context(n || []);
672
+ return o(a, "_invoke", {
673
+ value: makeInvokeMethod(t, r, c)
674
+ }), a;
675
+ }
676
+ function tryCatch(t, e, r) {
677
+ try {
678
+ return {
679
+ type: "normal",
680
+ arg: t.call(e, r)
681
+ };
682
+ } catch (t) {
683
+ return {
684
+ type: "throw",
685
+ arg: t
686
+ };
687
+ }
688
+ }
689
+ e.wrap = wrap;
690
+ var h = "suspendedStart",
691
+ l = "suspendedYield",
692
+ f = "executing",
693
+ s = "completed",
694
+ y = {};
695
+ function Generator() {}
696
+ function GeneratorFunction() {}
697
+ function GeneratorFunctionPrototype() {}
698
+ var p = {};
699
+ define(p, a, function () {
700
+ return this;
701
+ });
702
+ var d = Object.getPrototypeOf,
703
+ v = d && d(d(values([])));
704
+ v && v !== r && n.call(v, a) && (p = v);
705
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
706
+ function defineIteratorMethods(t) {
707
+ ["next", "throw", "return"].forEach(function (e) {
708
+ define(t, e, function (t) {
709
+ return this._invoke(e, t);
710
+ });
711
+ });
712
+ }
713
+ function AsyncIterator(t, e) {
714
+ function invoke(r, o, i, a) {
715
+ var c = tryCatch(t[r], t, o);
716
+ if ("throw" !== c.type) {
717
+ var u = c.arg,
718
+ h = u.value;
719
+ return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
720
+ invoke("next", t, i, a);
721
+ }, function (t) {
722
+ invoke("throw", t, i, a);
723
+ }) : e.resolve(h).then(function (t) {
724
+ u.value = t, i(u);
725
+ }, function (t) {
726
+ return invoke("throw", t, i, a);
727
+ });
728
+ }
729
+ a(c.arg);
730
+ }
731
+ var r;
732
+ o(this, "_invoke", {
733
+ value: function value(t, n) {
734
+ function callInvokeWithMethodAndArg() {
735
+ return new e(function (e, r) {
736
+ invoke(t, n, e, r);
737
+ });
738
+ }
739
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
740
+ }
741
+ });
742
+ }
743
+ function makeInvokeMethod(e, r, n) {
744
+ var o = h;
745
+ return function (i, a) {
746
+ if (o === f) throw new Error("Generator is already running");
747
+ if (o === s) {
748
+ if ("throw" === i) throw a;
749
+ return {
750
+ value: t,
751
+ done: !0
752
+ };
753
+ }
754
+ for (n.method = i, n.arg = a;;) {
755
+ var c = n.delegate;
756
+ if (c) {
757
+ var u = maybeInvokeDelegate(c, n);
758
+ if (u) {
759
+ if (u === y) continue;
760
+ return u;
761
+ }
762
+ }
763
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
764
+ if (o === h) throw o = s, n.arg;
765
+ n.dispatchException(n.arg);
766
+ } else "return" === n.method && n.abrupt("return", n.arg);
767
+ o = f;
768
+ var p = tryCatch(e, r, n);
769
+ if ("normal" === p.type) {
770
+ if (o = n.done ? s : l, p.arg === y) continue;
771
+ return {
772
+ value: p.arg,
773
+ done: n.done
774
+ };
775
+ }
776
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
777
+ }
778
+ };
779
+ }
780
+ function maybeInvokeDelegate(e, r) {
781
+ var n = r.method,
782
+ o = e.iterator[n];
783
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
784
+ var i = tryCatch(o, e.iterator, r.arg);
785
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
786
+ var a = i.arg;
787
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
788
+ }
789
+ function pushTryEntry(t) {
790
+ var e = {
791
+ tryLoc: t[0]
792
+ };
793
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
794
+ }
795
+ function resetTryEntry(t) {
796
+ var e = t.completion || {};
797
+ e.type = "normal", delete e.arg, t.completion = e;
798
+ }
799
+ function Context(t) {
800
+ this.tryEntries = [{
801
+ tryLoc: "root"
802
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
803
+ }
804
+ function values(e) {
805
+ if (e || "" === e) {
806
+ var r = e[a];
807
+ if (r) return r.call(e);
808
+ if ("function" == typeof e.next) return e;
809
+ if (!isNaN(e.length)) {
810
+ var o = -1,
811
+ i = function next() {
812
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
813
+ return next.value = t, next.done = !0, next;
814
+ };
815
+ return i.next = i;
816
+ }
817
+ }
818
+ throw new TypeError(_typeof(e) + " is not iterable");
819
+ }
820
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
821
+ value: GeneratorFunctionPrototype,
822
+ configurable: !0
823
+ }), o(GeneratorFunctionPrototype, "constructor", {
824
+ value: GeneratorFunction,
825
+ configurable: !0
826
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
827
+ var e = "function" == typeof t && t.constructor;
828
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
829
+ }, e.mark = function (t) {
830
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
831
+ }, e.awrap = function (t) {
832
+ return {
833
+ __await: t
834
+ };
835
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
836
+ return this;
837
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
838
+ void 0 === i && (i = Promise);
839
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
840
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
841
+ return t.done ? t.value : a.next();
842
+ });
843
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
844
+ return this;
845
+ }), define(g, "toString", function () {
846
+ return "[object Generator]";
847
+ }), e.keys = function (t) {
848
+ var e = Object(t),
849
+ r = [];
850
+ for (var n in e) r.push(n);
851
+ return r.reverse(), function next() {
852
+ for (; r.length;) {
853
+ var t = r.pop();
854
+ if (t in e) return next.value = t, next.done = !1, next;
855
+ }
856
+ return next.done = !0, next;
857
+ };
858
+ }, e.values = values, Context.prototype = {
859
+ constructor: Context,
860
+ reset: function reset(e) {
861
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
862
+ },
863
+ stop: function stop() {
864
+ this.done = !0;
865
+ var t = this.tryEntries[0].completion;
866
+ if ("throw" === t.type) throw t.arg;
867
+ return this.rval;
868
+ },
869
+ dispatchException: function dispatchException(e) {
870
+ if (this.done) throw e;
871
+ var r = this;
872
+ function handle(n, o) {
873
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
874
+ }
875
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
876
+ var i = this.tryEntries[o],
877
+ a = i.completion;
878
+ if ("root" === i.tryLoc) return handle("end");
879
+ if (i.tryLoc <= this.prev) {
880
+ var c = n.call(i, "catchLoc"),
881
+ u = n.call(i, "finallyLoc");
882
+ if (c && u) {
883
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
884
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
885
+ } else if (c) {
886
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
887
+ } else {
888
+ if (!u) throw new Error("try statement without catch or finally");
889
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
890
+ }
891
+ }
892
+ }
893
+ },
894
+ abrupt: function abrupt(t, e) {
895
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
896
+ var o = this.tryEntries[r];
897
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
898
+ var i = o;
899
+ break;
900
+ }
901
+ }
902
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
903
+ var a = i ? i.completion : {};
904
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
905
+ },
906
+ complete: function complete(t, e) {
907
+ if ("throw" === t.type) throw t.arg;
908
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
909
+ },
910
+ finish: function finish(t) {
911
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
912
+ var r = this.tryEntries[e];
913
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
914
+ }
915
+ },
916
+ "catch": function _catch(t) {
917
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
918
+ var r = this.tryEntries[e];
919
+ if (r.tryLoc === t) {
920
+ var n = r.completion;
921
+ if ("throw" === n.type) {
922
+ var o = n.arg;
923
+ resetTryEntry(r);
924
+ }
925
+ return o;
926
+ }
927
+ }
928
+ throw new Error("illegal catch attempt");
929
+ },
930
+ delegateYield: function delegateYield(e, r, n) {
931
+ return this.delegate = {
932
+ iterator: values(e),
933
+ resultName: r,
934
+ nextLoc: n
935
+ }, "next" === this.method && (this.arg = t), y;
936
+ }
937
+ }, e;
938
+ }
939
+ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
940
+
941
+ /***/ }),
942
+
943
+ /***/ 7425:
944
+ /***/ ((module) => {
945
+
946
+ function _typeof(o) {
947
+ "@babel/helpers - typeof";
948
+
949
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
950
+ return typeof o;
951
+ } : function (o) {
952
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
953
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
954
+ }
955
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
956
+
957
+ /***/ }),
958
+
959
+ /***/ 2841:
960
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
961
+
962
+ // TODO(Babel 8): Remove this file.
963
+
964
+ var runtime = __webpack_require__(7609)();
965
+ module.exports = runtime;
966
+
967
+ // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
968
+ try {
969
+ regeneratorRuntime = runtime;
970
+ } catch (accidentalStrictMode) {
971
+ if (typeof globalThis === "object") {
972
+ globalThis.regeneratorRuntime = runtime;
973
+ } else {
974
+ Function("r", "regeneratorRuntime = r")(runtime);
975
+ }
976
+ }
977
+
978
+
631
979
  /***/ })
632
980
 
633
981
  /******/ });
@@ -705,40 +1053,46 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
705
1053
  var y = x => () => x
706
1054
  const shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType, ["SelectedType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedType, ["SelectedTypeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedTypeEnum, ["SizeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SizeEnum, ["TagThemeType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["observerResize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.observerResize, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
707
1055
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
708
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
1056
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
709
1057
  try {
710
- var i = n[a](c),
711
- u = i.value;
712
- } catch (n) {
713
- return void e(n);
1058
+ var info = gen[key](arg);
1059
+ var value = info.value;
1060
+ } catch (error) {
1061
+ reject(error);
1062
+ return;
1063
+ }
1064
+ if (info.done) {
1065
+ resolve(value);
1066
+ } else {
1067
+ Promise.resolve(value).then(_next, _throw);
714
1068
  }
715
- i.done ? t(u) : Promise.resolve(u).then(r, o);
716
1069
  }
717
- function _asyncToGenerator(n) {
1070
+ function _asyncToGenerator(fn) {
718
1071
  return function () {
719
- var t = this,
720
- e = arguments;
721
- return new Promise(function (r, o) {
722
- var a = n.apply(t, e);
723
- function _next(n) {
724
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
1072
+ var self = this,
1073
+ args = arguments;
1074
+ return new Promise(function (resolve, reject) {
1075
+ var gen = fn.apply(self, args);
1076
+ function _next(value) {
1077
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
725
1078
  }
726
- function _throw(n) {
727
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
1079
+ function _throw(err) {
1080
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
728
1081
  }
729
- _next(void 0);
1082
+ _next(undefined);
730
1083
  });
731
1084
  };
732
1085
  }
733
-
1086
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
1087
+ var regenerator = __webpack_require__(2841);
1088
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
734
1089
  ;// CONCATENATED MODULE: external "vue"
735
1090
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
736
1091
  var external_vue_y = x => () => x
737
1092
  const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["customRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.customRef, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
738
1093
  ;// CONCATENATED MODULE: ../../packages/select/src/common.ts
739
1094
 
740
- function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
741
- function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { if (r) i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n;else { var o = function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); }; o("next", 0), o("throw", 1), o("return", 2); } }, _regeneratorDefine2(e, r, n, t); }
1095
+
742
1096
  /*
743
1097
  * Tencent is pleased to support the open source community by making
744
1098
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -871,31 +1225,31 @@ function useRemoteSearch(method, callBack) {
871
1225
  return searchValue.value || customOptionName.value;
872
1226
  });
873
1227
  var searchLoading = (0,external_vue_namespaceObject.ref)(false);
874
- (0,external_vue_namespaceObject.watch)(curSearchValue, /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
875
- var _t;
876
- return _regenerator().w(function (_context) {
877
- while (1) switch (_context.n) {
1228
+ (0,external_vue_namespaceObject.watch)(curSearchValue, /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
1229
+ return regenerator_default().wrap(function _callee$(_context) {
1230
+ while (1) switch (_context.prev = _context.next) {
878
1231
  case 0:
879
- _context.p = 0;
1232
+ _context.prev = 0;
880
1233
  searchLoading.value = true;
881
- _context.n = 1;
1234
+ _context.next = 4;
882
1235
  return method(curSearchValue.value);
883
- case 1:
1236
+ case 4:
884
1237
  searchLoading.value = false;
885
- _context.n = 3;
1238
+ _context.next = 10;
886
1239
  break;
887
- case 2:
888
- _context.p = 2;
889
- _t = _context.v;
890
- console.error(_t);
891
- case 3:
892
- _context.p = 3;
1240
+ case 7:
1241
+ _context.prev = 7;
1242
+ _context.t0 = _context["catch"](0);
1243
+ console.error(_context.t0);
1244
+ case 10:
1245
+ _context.prev = 10;
893
1246
  callBack === null || callBack === void 0 || callBack();
894
- return _context.f(3);
895
- case 4:
896
- return _context.a(2);
1247
+ return _context.finish(10);
1248
+ case 13:
1249
+ case "end":
1250
+ return _context.stop();
897
1251
  }
898
- }, _callee, null, [[0, 2, 3, 4]]);
1252
+ }, _callee, null, [[0, 7, 10, 13]]);
899
1253
  })));
900
1254
  return {
901
1255
  customOptionName: customOptionName,
@@ -929,7 +1283,6 @@ function _typeof(o) {
929
1283
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
930
1284
  }, _typeof(o);
931
1285
  }
932
-
933
1286
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
934
1287
 
935
1288
  function toPrimitive(t, r) {
@@ -942,26 +1295,29 @@ function toPrimitive(t, r) {
942
1295
  }
943
1296
  return ("string" === r ? String : Number)(t);
944
1297
  }
945
-
946
1298
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
947
1299
 
948
1300
 
949
1301
  function toPropertyKey(t) {
950
1302
  var i = toPrimitive(t, "string");
951
- return "symbol" == _typeof(i) ? i : i + "";
1303
+ return "symbol" == _typeof(i) ? i : String(i);
952
1304
  }
953
-
954
1305
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
955
1306
 
956
- function _defineProperty(e, r, t) {
957
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
958
- value: t,
959
- enumerable: !0,
960
- configurable: !0,
961
- writable: !0
962
- }) : e[r] = t, e;
1307
+ function _defineProperty(obj, key, value) {
1308
+ key = toPropertyKey(key);
1309
+ if (key in obj) {
1310
+ Object.defineProperty(obj, key, {
1311
+ value: value,
1312
+ enumerable: true,
1313
+ configurable: true,
1314
+ writable: true
1315
+ });
1316
+ } else {
1317
+ obj[key] = value;
1318
+ }
1319
+ return obj;
963
1320
  }
964
-
965
1321
  ;// CONCATENATED MODULE: external "../checkbox"
966
1322
  var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
967
1323
  var checkbox_y = x => () => x
@@ -984,6 +1340,9 @@ var isEqual_y = x => () => x
984
1340
  const isEqual_namespaceObject = isEqual_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__["default"] });
985
1341
  ;// CONCATENATED MODULE: ../../packages/select/src/option.tsx
986
1342
 
1343
+
1344
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1345
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
987
1346
  /*
988
1347
  * Tencent is pleased to support the open source community by making
989
1348
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1010,8 +1369,6 @@ const isEqual_namespaceObject = isEqual_x({ ["default"]: () => __WEBPACK_EXTERNA
1010
1369
  * IN THE SOFTWARE.
1011
1370
  */
1012
1371
 
1013
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1014
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1015
1372
 
1016
1373
 
1017
1374
 
@@ -1019,7 +1376,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1019
1376
 
1020
1377
 
1021
1378
 
1022
- /* harmony default export */ const src_option = (defineComponent({
1379
+ /* harmony default export */ const src_option = ((0,external_vue_namespaceObject.defineComponent)({
1023
1380
  name: 'Option',
1024
1381
  props: {
1025
1382
  id: {
@@ -1033,47 +1390,47 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1033
1390
  setup: function setup(props, _ref) {
1034
1391
  var attrs = _ref.attrs;
1035
1392
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1036
- var _getCurrentInstance = getCurrentInstance(),
1393
+ var _getCurrentInstance = (0,external_vue_namespaceObject.getCurrentInstance)(),
1037
1394
  proxy = _getCurrentInstance.proxy;
1038
- var states = reactive({
1395
+ var states = (0,external_vue_namespaceObject.reactive)({
1039
1396
  visible: true
1040
1397
  });
1041
- var _toRefs = toRefs(props),
1398
+ var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
1042
1399
  disabled = _toRefs.disabled,
1043
1400
  id = _toRefs.id,
1044
1401
  name = _toRefs.name;
1045
1402
  // 兼容label
1046
- var optionName = computed(function () {
1403
+ var optionName = (0,external_vue_namespaceObject.computed)(function () {
1047
1404
  return name.value !== undefined ? name.value : attrs.label;
1048
1405
  });
1049
1406
  // 兼容value
1050
- var optionID = computed(function () {
1407
+ var optionID = (0,external_vue_namespaceObject.computed)(function () {
1051
1408
  return id.value !== undefined ? id.value : attrs.value;
1052
1409
  });
1053
- var select = inject(selectKey, null);
1054
- var group = inject(optionGroupKey, null);
1055
- var selected = computed(function () {
1410
+ var select = (0,external_vue_namespaceObject.inject)(selectKey, null);
1411
+ var group = (0,external_vue_namespaceObject.inject)(optionGroupKey, null);
1412
+ var selected = (0,external_vue_namespaceObject.computed)(function () {
1056
1413
  var _select$selected;
1057
1414
  return select === null || select === void 0 || (_select$selected = select.selected) === null || _select$selected === void 0 ? void 0 : _select$selected.some(function (item) {
1058
1415
  return (0,isEqual_namespaceObject["default"])(item.value, optionID.value);
1059
1416
  });
1060
1417
  });
1061
- var multiple = computed(function () {
1418
+ var multiple = (0,external_vue_namespaceObject.computed)(function () {
1062
1419
  return select === null || select === void 0 ? void 0 : select.multiple;
1063
1420
  });
1064
- var isHover = computed(function () {
1421
+ var isHover = (0,external_vue_namespaceObject.computed)(function () {
1065
1422
  return (select === null || select === void 0 ? void 0 : select.activeOptionValue) === optionID.value;
1066
1423
  });
1067
- var showSelectedIcon = computed(function () {
1424
+ var showSelectedIcon = (0,external_vue_namespaceObject.computed)(function () {
1068
1425
  return (select === null || select === void 0 ? void 0 : select.showSelectedIcon) && multiple.value;
1069
1426
  });
1070
- var selectedStyle = computed(function () {
1427
+ var selectedStyle = (0,external_vue_namespaceObject.computed)(function () {
1071
1428
  return select === null || select === void 0 ? void 0 : select.selectedStyle;
1072
1429
  });
1073
- var searchValue = computed(function () {
1430
+ var searchValue = (0,external_vue_namespaceObject.computed)(function () {
1074
1431
  return select === null || select === void 0 ? void 0 : select.curSearchValue;
1075
1432
  });
1076
- var highlightKeyword = computed(function () {
1433
+ var highlightKeyword = (0,external_vue_namespaceObject.computed)(function () {
1077
1434
  return select === null || select === void 0 ? void 0 : select.highlightKeyword;
1078
1435
  });
1079
1436
  var handleOptionClick = function handleOptionClick() {
@@ -1112,17 +1469,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1112
1469
  }
1113
1470
  return list.length ? list : str;
1114
1471
  };
1115
- onBeforeMount(function () {
1472
+ (0,external_vue_namespaceObject.onBeforeMount)(function () {
1116
1473
  select === null || select === void 0 || select.register(optionID.value, proxy);
1117
1474
  group === null || group === void 0 || group.register(optionID.value, proxy);
1118
1475
  });
1119
- onBeforeUnmount(function () {
1476
+ (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
1120
1477
  select === null || select === void 0 || select.unregister(optionID.value, proxy);
1121
1478
  group === null || group === void 0 || group.unregister(optionID.value, proxy);
1122
1479
  });
1123
1480
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1124
1481
  resolveClassName = _usePrefix.resolveClassName;
1125
- return _objectSpread(_objectSpread({}, toRefs(states)), {}, {
1482
+ return _objectSpread(_objectSpread({}, (0,external_vue_namespaceObject.toRefs)(states)), {}, {
1126
1483
  selected: selected,
1127
1484
  multiple: multiple,
1128
1485
  isHover: isHover,
@@ -1167,47 +1524,42 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
1167
1524
  }
1168
1525
  }));
1169
1526
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
1170
- function _arrayLikeToArray(r, a) {
1171
- (null == a || a > r.length) && (a = r.length);
1172
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1173
- return n;
1527
+ function _arrayLikeToArray(arr, len) {
1528
+ if (len == null || len > arr.length) len = arr.length;
1529
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1530
+ return arr2;
1174
1531
  }
1175
-
1176
1532
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1177
1533
 
1178
- function _arrayWithoutHoles(r) {
1179
- if (Array.isArray(r)) return _arrayLikeToArray(r);
1534
+ function _arrayWithoutHoles(arr) {
1535
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
1180
1536
  }
1181
-
1182
1537
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1183
- function _iterableToArray(r) {
1184
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1538
+ function _iterableToArray(iter) {
1539
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1185
1540
  }
1186
-
1187
1541
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
1188
1542
 
1189
- function _unsupportedIterableToArray(r, a) {
1190
- if (r) {
1191
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
1192
- var t = {}.toString.call(r).slice(8, -1);
1193
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
1194
- }
1543
+ function _unsupportedIterableToArray(o, minLen) {
1544
+ if (!o) return;
1545
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
1546
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1547
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1548
+ if (n === "Map" || n === "Set") return Array.from(o);
1549
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1195
1550
  }
1196
-
1197
1551
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1198
1552
  function _nonIterableSpread() {
1199
1553
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1200
1554
  }
1201
-
1202
1555
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1203
1556
 
1204
1557
 
1205
1558
 
1206
1559
 
1207
- function _toConsumableArray(r) {
1208
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
1560
+ function _toConsumableArray(arr) {
1561
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1209
1562
  }
1210
-
1211
1563
  ;// CONCATENATED MODULE: ../../packages/select/src/optionGroup.tsx
1212
1564
 
1213
1565
 
@@ -1319,9 +1671,9 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
1319
1671
  }
1320
1672
  }));
1321
1673
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
1322
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = clickoutside_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
1323
- function clickoutside_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return clickoutside_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? clickoutside_arrayLikeToArray(r, a) : void 0; } }
1324
- function clickoutside_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
1674
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = clickoutside_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
1675
+ function clickoutside_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return clickoutside_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return clickoutside_arrayLikeToArray(o, minLen); }
1676
+ function clickoutside_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
1325
1677
  /*
1326
1678
  * Tencent is pleased to support the open source community by making
1327
1679
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -3439,9 +3791,9 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
3439
3791
 
3440
3792
 
3441
3793
 
3442
- function select_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = select_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
3443
- function select_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return select_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? select_arrayLikeToArray(r, a) : void 0; } }
3444
- function select_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
3794
+ function select_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = select_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
3795
+ function select_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return select_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return select_arrayLikeToArray(o, minLen); }
3796
+ function select_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
3445
3797
  function select_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3446
3798
  function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? select_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : select_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3447
3799
  /*
@@ -4442,7 +4794,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4442
4794
  };
4443
4795
  // 默认trigger输入框渲染
4444
4796
  var renderTriggerInput = function renderTriggerInput() {
4445
- var _this$$slots0;
4797
+ var _this$$slots10;
4446
4798
  if (_this.multipleMode === 'tag') {
4447
4799
  var _this$$slots6, _this$$slots8;
4448
4800
  return (0,external_vue_namespaceObject.createVNode)(selectTagInput, {
@@ -4494,10 +4846,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4494
4846
  "onInput": _this.handleInputChange
4495
4847
  }, _this.prefix ? {
4496
4848
  prefix: _this.prefix
4497
- } : null), select_objectSpread(select_objectSpread({}, typeof ((_this$$slots0 = _this.$slots) === null || _this$$slots0 === void 0 ? void 0 : _this$$slots0.prefix) === 'function' ? {
4849
+ } : null), select_objectSpread(select_objectSpread({}, typeof ((_this$$slots10 = _this.$slots) === null || _this$$slots10 === void 0 ? void 0 : _this$$slots10.prefix) === 'function' ? {
4498
4850
  prefix: function prefix() {
4499
- var _this$$slots1, _this$$slots1$prefix;
4500
- return (_this$$slots1 = _this.$slots) === null || _this$$slots1 === void 0 || (_this$$slots1$prefix = _this$$slots1.prefix) === null || _this$$slots1$prefix === void 0 ? void 0 : _this$$slots1$prefix.call(_this$$slots1);
4851
+ var _this$$slots11, _this$$slots11$prefix;
4852
+ return (_this$$slots11 = _this.$slots) === null || _this$$slots11 === void 0 || (_this$$slots11$prefix = _this$$slots11.prefix) === null || _this$$slots11$prefix === void 0 ? void 0 : _this$$slots11$prefix.call(_this$$slots11);
4501
4853
  }
4502
4854
  } : null), {}, {
4503
4855
  suffix: function suffix() {
@@ -4507,7 +4859,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4507
4859
  };
4508
4860
  // 渲染trigger
4509
4861
  var renderSelectTrigger = function renderSelectTrigger() {
4510
- var _this$$slots10, _this$$slots10$trigge;
4862
+ var _this$$slots12, _this$$slots12$trigge;
4511
4863
  return (0,external_vue_namespaceObject.createVNode)("div", {
4512
4864
  "ref": "triggerRef",
4513
4865
  "style": {
@@ -4517,7 +4869,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4517
4869
  "onClick": _this.handleTogglePopover,
4518
4870
  "onMouseenter": _this.setHover,
4519
4871
  "onMouseleave": _this.cancelHover
4520
- }, [((_this$$slots10 = _this.$slots) === null || _this$$slots10 === void 0 || (_this$$slots10$trigge = _this$$slots10.trigger) === null || _this$$slots10$trigge === void 0 ? void 0 : _this$$slots10$trigge.call(_this$$slots10, {
4872
+ }, [((_this$$slots12 = _this.$slots) === null || _this$$slots12 === void 0 || (_this$$slots12$trigge = _this$$slots12.trigger) === null || _this$$slots12$trigge === void 0 ? void 0 : _this$$slots12$trigge.call(_this$$slots12, {
4521
4873
  selected: _this.selected
4522
4874
  })) || renderTriggerInput()]);
4523
4875
  };
@@ -4535,10 +4887,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4535
4887
  }
4536
4888
  }, {
4537
4889
  "default": function _default(_ref3) {
4538
- var _this$$slots11, _this$$slots12;
4890
+ var _this$$slots13, _this$$slots14;
4539
4891
  var data = _ref3.data;
4540
4892
  // 兼容以前slots
4541
- var optionRender = ((_this$$slots11 = _this.$slots) === null || _this$$slots11 === void 0 ? void 0 : _this$$slots11.optionRender) || ((_this$$slots12 = _this.$slots) === null || _this$$slots12 === void 0 ? void 0 : _this$$slots12.virtualScrollRender);
4893
+ var optionRender = ((_this$$slots13 = _this.$slots) === null || _this$$slots13 === void 0 ? void 0 : _this$$slots13.optionRender) || ((_this$$slots14 = _this.$slots) === null || _this$$slots14 === void 0 ? void 0 : _this$$slots14.virtualScrollRender);
4542
4894
  return data.map(function (item) {
4543
4895
  return (0,external_vue_namespaceObject.createVNode)(src_option, {
4544
4896
  "id": item[_this.idKey],
@@ -4555,9 +4907,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4555
4907
  });
4556
4908
  }
4557
4909
  }) : _this.filterList.map(function (item) {
4558
- var _this$$slots13, _this$$slots14;
4910
+ var _this$$slots15, _this$$slots16;
4559
4911
  // 兼容以前slots
4560
- var optionRender = ((_this$$slots13 = _this.$slots) === null || _this$$slots13 === void 0 ? void 0 : _this$$slots13.optionRender) || ((_this$$slots14 = _this.$slots) === null || _this$$slots14 === void 0 ? void 0 : _this$$slots14.virtualScrollRender);
4912
+ var optionRender = ((_this$$slots15 = _this.$slots) === null || _this$$slots15 === void 0 ? void 0 : _this$$slots15.optionRender) || ((_this$$slots16 = _this.$slots) === null || _this$$slots16 === void 0 ? void 0 : _this$$slots16.virtualScrollRender);
4561
4913
  return (0,external_vue_namespaceObject.createVNode)(src_option, {
4562
4914
  "id": item[_this.idKey],
4563
4915
  "key": item[_this.idKey],
@@ -4574,7 +4926,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4574
4926
  };
4575
4927
  // 渲染内容
4576
4928
  var renderSelectContent = function renderSelectContent() {
4577
- var _this$$slots15, _this$$slots15$defaul, _this$$slots16, _this$$slots17;
4929
+ var _this$$slots17, _this$$slots17$defaul, _this$$slots18, _this$$slots19;
4578
4930
  return (0,external_vue_namespaceObject.createVNode)("div", {
4579
4931
  "ref": "contentRef",
4580
4932
  "class": _this.resolveClassName('select-content-wrapper')
@@ -4611,7 +4963,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4611
4963
  "onScroll": _this.handleScroll
4612
4964
  }, [(0,external_vue_namespaceObject.createVNode)("ul", {
4613
4965
  "class": _this.resolveClassName('select-options')
4614
- }, [renderSelectAll(), renderList(), (_this$$slots15 = _this.$slots) === null || _this$$slots15 === void 0 || (_this$$slots15$defaul = _this$$slots15["default"]) === null || _this$$slots15$defaul === void 0 ? void 0 : _this$$slots15$defaul.call(_this$$slots15), _this.scrollLoading && (0,external_vue_namespaceObject.createVNode)("li", {
4966
+ }, [renderSelectAll(), renderList(), (_this$$slots17 = _this.$slots) === null || _this$$slots17 === void 0 || (_this$$slots17$defaul = _this$$slots17["default"]) === null || _this$$slots17$defaul === void 0 ? void 0 : _this$$slots17$defaul.call(_this$$slots17), _this.scrollLoading && (0,external_vue_namespaceObject.createVNode)("li", {
4615
4967
  "class": _this.resolveClassName('select-options-loading')
4616
4968
  }, [(0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
4617
4969
  "class": "spinner mr5",
@@ -4619,9 +4971,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
4619
4971
  "mode": "spin",
4620
4972
  "size": "mini",
4621
4973
  "theme": "primary"
4622
- }, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$slots16 = _this.$slots) === null || _this$$slots16 === void 0 ? void 0 : _this$$slots16.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
4974
+ }, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$slots18 = _this.$slots) === null || _this$$slots18 === void 0 ? void 0 : _this$$slots18.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
4623
4975
  "class": _this.resolveClassName('select-extension')
4624
- }, [(_this$$slots17 = _this.$slots) === null || _this$$slots17 === void 0 ? void 0 : _this$$slots17.extension()])])]);
4976
+ }, [(_this$$slots19 = _this.$slots) === null || _this$$slots19 === void 0 ? void 0 : _this$$slots19.extension()])])]);
4625
4977
  };
4626
4978
  return (0,external_vue_namespaceObject.createVNode)("div", {
4627
4979
  "class": selectClass