bkui-vue 2.0.2-beta.47 → 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
@@ -636,6 +636,354 @@ normalizeWheel.getEventType = function() /*string*/ {
636
636
  module.exports = normalizeWheel;
637
637
 
638
638
 
639
+ /***/ }),
640
+
641
+ /***/ 7609:
642
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
643
+
644
+ var _typeof = (__webpack_require__(7425)["default"]);
645
+ function _regeneratorRuntime() {
646
+ "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
647
+ module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
648
+ return e;
649
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports;
650
+ var t,
651
+ e = {},
652
+ r = Object.prototype,
653
+ n = r.hasOwnProperty,
654
+ o = Object.defineProperty || function (t, e, r) {
655
+ t[e] = r.value;
656
+ },
657
+ i = "function" == typeof Symbol ? Symbol : {},
658
+ a = i.iterator || "@@iterator",
659
+ c = i.asyncIterator || "@@asyncIterator",
660
+ u = i.toStringTag || "@@toStringTag";
661
+ function define(t, e, r) {
662
+ return Object.defineProperty(t, e, {
663
+ value: r,
664
+ enumerable: !0,
665
+ configurable: !0,
666
+ writable: !0
667
+ }), t[e];
668
+ }
669
+ try {
670
+ define({}, "");
671
+ } catch (t) {
672
+ define = function define(t, e, r) {
673
+ return t[e] = r;
674
+ };
675
+ }
676
+ function wrap(t, e, r, n) {
677
+ var i = e && e.prototype instanceof Generator ? e : Generator,
678
+ a = Object.create(i.prototype),
679
+ c = new Context(n || []);
680
+ return o(a, "_invoke", {
681
+ value: makeInvokeMethod(t, r, c)
682
+ }), a;
683
+ }
684
+ function tryCatch(t, e, r) {
685
+ try {
686
+ return {
687
+ type: "normal",
688
+ arg: t.call(e, r)
689
+ };
690
+ } catch (t) {
691
+ return {
692
+ type: "throw",
693
+ arg: t
694
+ };
695
+ }
696
+ }
697
+ e.wrap = wrap;
698
+ var h = "suspendedStart",
699
+ l = "suspendedYield",
700
+ f = "executing",
701
+ s = "completed",
702
+ y = {};
703
+ function Generator() {}
704
+ function GeneratorFunction() {}
705
+ function GeneratorFunctionPrototype() {}
706
+ var p = {};
707
+ define(p, a, function () {
708
+ return this;
709
+ });
710
+ var d = Object.getPrototypeOf,
711
+ v = d && d(d(values([])));
712
+ v && v !== r && n.call(v, a) && (p = v);
713
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
714
+ function defineIteratorMethods(t) {
715
+ ["next", "throw", "return"].forEach(function (e) {
716
+ define(t, e, function (t) {
717
+ return this._invoke(e, t);
718
+ });
719
+ });
720
+ }
721
+ function AsyncIterator(t, e) {
722
+ function invoke(r, o, i, a) {
723
+ var c = tryCatch(t[r], t, o);
724
+ if ("throw" !== c.type) {
725
+ var u = c.arg,
726
+ h = u.value;
727
+ return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
728
+ invoke("next", t, i, a);
729
+ }, function (t) {
730
+ invoke("throw", t, i, a);
731
+ }) : e.resolve(h).then(function (t) {
732
+ u.value = t, i(u);
733
+ }, function (t) {
734
+ return invoke("throw", t, i, a);
735
+ });
736
+ }
737
+ a(c.arg);
738
+ }
739
+ var r;
740
+ o(this, "_invoke", {
741
+ value: function value(t, n) {
742
+ function callInvokeWithMethodAndArg() {
743
+ return new e(function (e, r) {
744
+ invoke(t, n, e, r);
745
+ });
746
+ }
747
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
748
+ }
749
+ });
750
+ }
751
+ function makeInvokeMethod(e, r, n) {
752
+ var o = h;
753
+ return function (i, a) {
754
+ if (o === f) throw new Error("Generator is already running");
755
+ if (o === s) {
756
+ if ("throw" === i) throw a;
757
+ return {
758
+ value: t,
759
+ done: !0
760
+ };
761
+ }
762
+ for (n.method = i, n.arg = a;;) {
763
+ var c = n.delegate;
764
+ if (c) {
765
+ var u = maybeInvokeDelegate(c, n);
766
+ if (u) {
767
+ if (u === y) continue;
768
+ return u;
769
+ }
770
+ }
771
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
772
+ if (o === h) throw o = s, n.arg;
773
+ n.dispatchException(n.arg);
774
+ } else "return" === n.method && n.abrupt("return", n.arg);
775
+ o = f;
776
+ var p = tryCatch(e, r, n);
777
+ if ("normal" === p.type) {
778
+ if (o = n.done ? s : l, p.arg === y) continue;
779
+ return {
780
+ value: p.arg,
781
+ done: n.done
782
+ };
783
+ }
784
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
785
+ }
786
+ };
787
+ }
788
+ function maybeInvokeDelegate(e, r) {
789
+ var n = r.method,
790
+ o = e.iterator[n];
791
+ 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;
792
+ var i = tryCatch(o, e.iterator, r.arg);
793
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
794
+ var a = i.arg;
795
+ 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);
796
+ }
797
+ function pushTryEntry(t) {
798
+ var e = {
799
+ tryLoc: t[0]
800
+ };
801
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
802
+ }
803
+ function resetTryEntry(t) {
804
+ var e = t.completion || {};
805
+ e.type = "normal", delete e.arg, t.completion = e;
806
+ }
807
+ function Context(t) {
808
+ this.tryEntries = [{
809
+ tryLoc: "root"
810
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
811
+ }
812
+ function values(e) {
813
+ if (e || "" === e) {
814
+ var r = e[a];
815
+ if (r) return r.call(e);
816
+ if ("function" == typeof e.next) return e;
817
+ if (!isNaN(e.length)) {
818
+ var o = -1,
819
+ i = function next() {
820
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
821
+ return next.value = t, next.done = !0, next;
822
+ };
823
+ return i.next = i;
824
+ }
825
+ }
826
+ throw new TypeError(_typeof(e) + " is not iterable");
827
+ }
828
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
829
+ value: GeneratorFunctionPrototype,
830
+ configurable: !0
831
+ }), o(GeneratorFunctionPrototype, "constructor", {
832
+ value: GeneratorFunction,
833
+ configurable: !0
834
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
835
+ var e = "function" == typeof t && t.constructor;
836
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
837
+ }, e.mark = function (t) {
838
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
839
+ }, e.awrap = function (t) {
840
+ return {
841
+ __await: t
842
+ };
843
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
844
+ return this;
845
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
846
+ void 0 === i && (i = Promise);
847
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
848
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
849
+ return t.done ? t.value : a.next();
850
+ });
851
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
852
+ return this;
853
+ }), define(g, "toString", function () {
854
+ return "[object Generator]";
855
+ }), e.keys = function (t) {
856
+ var e = Object(t),
857
+ r = [];
858
+ for (var n in e) r.push(n);
859
+ return r.reverse(), function next() {
860
+ for (; r.length;) {
861
+ var t = r.pop();
862
+ if (t in e) return next.value = t, next.done = !1, next;
863
+ }
864
+ return next.done = !0, next;
865
+ };
866
+ }, e.values = values, Context.prototype = {
867
+ constructor: Context,
868
+ reset: function reset(e) {
869
+ 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);
870
+ },
871
+ stop: function stop() {
872
+ this.done = !0;
873
+ var t = this.tryEntries[0].completion;
874
+ if ("throw" === t.type) throw t.arg;
875
+ return this.rval;
876
+ },
877
+ dispatchException: function dispatchException(e) {
878
+ if (this.done) throw e;
879
+ var r = this;
880
+ function handle(n, o) {
881
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
882
+ }
883
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
884
+ var i = this.tryEntries[o],
885
+ a = i.completion;
886
+ if ("root" === i.tryLoc) return handle("end");
887
+ if (i.tryLoc <= this.prev) {
888
+ var c = n.call(i, "catchLoc"),
889
+ u = n.call(i, "finallyLoc");
890
+ if (c && u) {
891
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
892
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
893
+ } else if (c) {
894
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
895
+ } else {
896
+ if (!u) throw new Error("try statement without catch or finally");
897
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
898
+ }
899
+ }
900
+ }
901
+ },
902
+ abrupt: function abrupt(t, e) {
903
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
904
+ var o = this.tryEntries[r];
905
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
906
+ var i = o;
907
+ break;
908
+ }
909
+ }
910
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
911
+ var a = i ? i.completion : {};
912
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
913
+ },
914
+ complete: function complete(t, e) {
915
+ if ("throw" === t.type) throw t.arg;
916
+ 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;
917
+ },
918
+ finish: function finish(t) {
919
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
920
+ var r = this.tryEntries[e];
921
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
922
+ }
923
+ },
924
+ "catch": function _catch(t) {
925
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
926
+ var r = this.tryEntries[e];
927
+ if (r.tryLoc === t) {
928
+ var n = r.completion;
929
+ if ("throw" === n.type) {
930
+ var o = n.arg;
931
+ resetTryEntry(r);
932
+ }
933
+ return o;
934
+ }
935
+ }
936
+ throw new Error("illegal catch attempt");
937
+ },
938
+ delegateYield: function delegateYield(e, r, n) {
939
+ return this.delegate = {
940
+ iterator: values(e),
941
+ resultName: r,
942
+ nextLoc: n
943
+ }, "next" === this.method && (this.arg = t), y;
944
+ }
945
+ }, e;
946
+ }
947
+ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
948
+
949
+ /***/ }),
950
+
951
+ /***/ 7425:
952
+ /***/ ((module) => {
953
+
954
+ function _typeof(o) {
955
+ "@babel/helpers - typeof";
956
+
957
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
958
+ return typeof o;
959
+ } : function (o) {
960
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
961
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
962
+ }
963
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
964
+
965
+ /***/ }),
966
+
967
+ /***/ 2841:
968
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
969
+
970
+ // TODO(Babel 8): Remove this file.
971
+
972
+ var runtime = __webpack_require__(7609)();
973
+ module.exports = runtime;
974
+
975
+ // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
976
+ try {
977
+ regeneratorRuntime = runtime;
978
+ } catch (accidentalStrictMode) {
979
+ if (typeof globalThis === "object") {
980
+ globalThis.regeneratorRuntime = runtime;
981
+ } else {
982
+ Function("r", "regeneratorRuntime = r")(runtime);
983
+ }
984
+ }
985
+
986
+
639
987
  /***/ })
640
988
 
641
989
  /******/ });
@@ -723,10 +1071,9 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
723
1071
  var y = x => () => x
724
1072
  const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["hasOverflowEllipsis"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.hasOverflowEllipsis, ["isElement"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.isElement, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["throttle"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.throttle, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
725
1073
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js
726
- function _objectDestructuringEmpty(t) {
727
- if (null == t) throw new TypeError("Cannot destructure " + t);
1074
+ function _objectDestructuringEmpty(obj) {
1075
+ if (obj == null) throw new TypeError("Cannot destructure " + obj);
728
1076
  }
729
-
730
1077
  ;// CONCATENATED MODULE: external "vue"
731
1078
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
732
1079
  var external_vue_y = x => () => x
@@ -745,7 +1092,6 @@ function typeof_typeof(o) {
745
1092
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
746
1093
  }, typeof_typeof(o);
747
1094
  }
748
-
749
1095
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
750
1096
 
751
1097
  function toPrimitive(t, r) {
@@ -758,26 +1104,29 @@ function toPrimitive(t, r) {
758
1104
  }
759
1105
  return ("string" === r ? String : Number)(t);
760
1106
  }
761
-
762
1107
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
763
1108
 
764
1109
 
765
1110
  function toPropertyKey(t) {
766
1111
  var i = toPrimitive(t, "string");
767
- return "symbol" == typeof_typeof(i) ? i : i + "";
1112
+ return "symbol" == typeof_typeof(i) ? i : String(i);
768
1113
  }
769
-
770
1114
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
771
1115
 
772
- function defineProperty_defineProperty(e, r, t) {
773
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
774
- value: t,
775
- enumerable: !0,
776
- configurable: !0,
777
- writable: !0
778
- }) : e[r] = t, e;
1116
+ function defineProperty_defineProperty(obj, key, value) {
1117
+ key = toPropertyKey(key);
1118
+ if (key in obj) {
1119
+ Object.defineProperty(obj, key, {
1120
+ value: value,
1121
+ enumerable: true,
1122
+ configurable: true,
1123
+ writable: true
1124
+ });
1125
+ } else {
1126
+ obj[key] = value;
1127
+ }
1128
+ return obj;
779
1129
  }
780
-
781
1130
  ;// CONCATENATED MODULE: ../../packages/table/src/const.ts
782
1131
 
783
1132
  /*
@@ -1447,9 +1796,9 @@ var TableColumnProp = {
1447
1796
  }
1448
1797
  }));
1449
1798
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
1450
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _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; } } }; }
1451
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _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) ? _arrayLikeToArray(r, a) : void 0; } }
1452
- function _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; }
1799
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _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; } } }; }
1800
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _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 _arrayLikeToArray(o, minLen); }
1801
+ function _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; }
1453
1802
  /*
1454
1803
  * Tencent is pleased to support the open source community by making
1455
1804
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1732,47 +2081,42 @@ var mousewheel = {
1732
2081
  };
1733
2082
  /* harmony default export */ const src_mousewheel = ((/* unused pure expression or super */ null && (mousewheel)));
1734
2083
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
1735
- function arrayLikeToArray_arrayLikeToArray(r, a) {
1736
- (null == a || a > r.length) && (a = r.length);
1737
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1738
- return n;
2084
+ function arrayLikeToArray_arrayLikeToArray(arr, len) {
2085
+ if (len == null || len > arr.length) len = arr.length;
2086
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
2087
+ return arr2;
1739
2088
  }
1740
-
1741
2089
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1742
2090
 
1743
- function _arrayWithoutHoles(r) {
1744
- if (Array.isArray(r)) return arrayLikeToArray_arrayLikeToArray(r);
2091
+ function _arrayWithoutHoles(arr) {
2092
+ if (Array.isArray(arr)) return arrayLikeToArray_arrayLikeToArray(arr);
1745
2093
  }
1746
-
1747
2094
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1748
- function _iterableToArray(r) {
1749
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
2095
+ function _iterableToArray(iter) {
2096
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1750
2097
  }
1751
-
1752
2098
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
1753
2099
 
1754
- function unsupportedIterableToArray_unsupportedIterableToArray(r, a) {
1755
- if (r) {
1756
- if ("string" == typeof r) return arrayLikeToArray_arrayLikeToArray(r, a);
1757
- var t = {}.toString.call(r).slice(8, -1);
1758
- 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_arrayLikeToArray(r, a) : void 0;
1759
- }
2100
+ function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
2101
+ if (!o) return;
2102
+ if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
2103
+ var n = Object.prototype.toString.call(o).slice(8, -1);
2104
+ if (n === "Object" && o.constructor) n = o.constructor.name;
2105
+ if (n === "Map" || n === "Set") return Array.from(o);
2106
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
1760
2107
  }
1761
-
1762
2108
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1763
2109
  function _nonIterableSpread() {
1764
2110
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1765
2111
  }
1766
-
1767
2112
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1768
2113
 
1769
2114
 
1770
2115
 
1771
2116
 
1772
- function _toConsumableArray(r) {
1773
- return _arrayWithoutHoles(r) || _iterableToArray(r) || unsupportedIterableToArray_unsupportedIterableToArray(r) || _nonIterableSpread();
2117
+ function _toConsumableArray(arr) {
2118
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || _nonIterableSpread();
1774
2119
  }
1775
-
1776
2120
  ;// CONCATENATED MODULE: external "@popperjs/core"
1777
2121
  var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1778
2122
  var core_y = x => () => x
@@ -2280,7 +2624,7 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
2280
2624
  e.stopPropagation();
2281
2625
  e.preventDefault();
2282
2626
  };
2283
- var _handleMouseUp = function handleMouseUp(e) {
2627
+ var handleMouseUp = function handleMouseUp(e) {
2284
2628
  stopDefaultEvent(e);
2285
2629
  isMouseDown = false;
2286
2630
  isDraging = false;
@@ -2289,7 +2633,7 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
2289
2633
  var calcWidth = resolveWidth > minWidth ? resolveWidth : minWidth;
2290
2634
  setNextColumnWidth(dragColumn, calcWidth);
2291
2635
  setColumnAttribute(dragColumn, COLUMN_ATTRIBUTE.WIDTH, calcWidth);
2292
- document.removeEventListener('mouseup', _handleMouseUp);
2636
+ document.removeEventListener('mouseup', handleMouseUp);
2293
2637
  dragOffsetX.value = -1000;
2294
2638
  dragWidth = 0;
2295
2639
  removeCursor(headTable);
@@ -2339,7 +2683,7 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
2339
2683
  dragOffsetX.value = e.clientX - rect.left;
2340
2684
  setNodeCursor(headTable);
2341
2685
  isMouseDown = true;
2342
- document.addEventListener('mouseup', _handleMouseUp);
2686
+ document.addEventListener('mouseup', handleMouseUp);
2343
2687
  };
2344
2688
  var removePointerClass = function removePointerClass(target) {
2345
2689
  var _target$parentElement;
@@ -3656,7 +4000,7 @@ function utils_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { va
3656
4000
  * @param args 如果是函数,传递参数
3657
4001
  * @returns
3658
4002
  */
3659
- var _resolvePropVal = function resolvePropVal(prop, key, args) {
4003
+ var resolvePropVal = function resolvePropVal(prop, key, args) {
3660
4004
  if (prop === undefined || prop === null) {
3661
4005
  return undefined;
3662
4006
  }
@@ -3672,7 +4016,7 @@ var _resolvePropVal = function resolvePropVal(prop, key, args) {
3672
4016
  }
3673
4017
  if (Array.isArray(key)) {
3674
4018
  return key.map(function (_key) {
3675
- return _resolvePropVal(prop, _key, args);
4019
+ return resolvePropVal(prop, _key, args);
3676
4020
  }).filter(function (val) {
3677
4021
  return val !== undefined;
3678
4022
  }).at(0);
@@ -3683,7 +4027,6 @@ var _resolvePropVal = function resolvePropVal(prop, key, args) {
3683
4027
  * @param props
3684
4028
  * @returns
3685
4029
  */
3686
-
3687
4030
  var resolveActiveColumns = function resolveActiveColumns(props) {
3688
4031
  if (props.columnPick !== 'disabled') {
3689
4032
  if (props.columnPick === 'multi') {
@@ -3881,7 +4224,7 @@ var getRowValue = function getRowValue(row, key) {
3881
4224
  * @param args 如果是function参数
3882
4225
  * @returns
3883
4226
  */
3884
- var _formatPropAsArray = function formatPropAsArray(prop, args) {
4227
+ var formatPropAsArray = function formatPropAsArray(prop, args) {
3885
4228
  if (Array.isArray(prop)) {
3886
4229
  return prop;
3887
4230
  }
@@ -3889,11 +4232,10 @@ var _formatPropAsArray = function formatPropAsArray(prop, args) {
3889
4232
  return [prop];
3890
4233
  }
3891
4234
  if (typeof prop === 'function') {
3892
- return _formatPropAsArray(Reflect.apply(prop, _this, args), args);
4235
+ return formatPropAsArray(Reflect.apply(prop, _this, args), args);
3893
4236
  }
3894
4237
  return [];
3895
4238
  };
3896
-
3897
4239
  var isRenderScrollBottomLoading = function isRenderScrollBottomLoading(props) {
3898
4240
  if (props.scrollLoading === null) {
3899
4241
  return false;
@@ -3975,10 +4317,10 @@ var isColumnHidden = function isColumnHidden(settingFields, column, checked) {
3975
4317
  };
3976
4318
  var isSettingField = function isSettingField(col) {
3977
4319
  return settingFields.some(function (field) {
3978
- return getFieldValue(field) === _resolvePropVal(col, ['field', 'type'], [col]);
4320
+ return getFieldValue(field) === resolvePropVal(col, ['field', 'type'], [col]);
3979
4321
  });
3980
4322
  };
3981
- return isSettingField(column) && checked.length && !checked.includes(_resolvePropVal(column, ['field', 'type'], [column]));
4323
+ return isSettingField(column) && checked.length && !checked.includes(resolvePropVal(column, ['field', 'type'], [column]));
3982
4324
  };
3983
4325
  var resolveColumnSpan = function resolveColumnSpan(column, colIndex, row, rowIndex, key) {
3984
4326
  if (typeof column[key] === 'function') {
@@ -4381,7 +4723,7 @@ var useColumns = function useColumns(props) {
4381
4723
  };
4382
4724
  var defaultFilterFn = function defaultFilterFn(checked, row) {
4383
4725
  var match = col.filter.match;
4384
- var matchText = getRowText(row, _resolvePropVal(col, 'field', [col, row]));
4726
+ var matchText = getRowText(row, resolvePropVal(col, 'field', [col, row]));
4385
4727
  if (match !== 'fuzzy') {
4386
4728
  return checked.includes(matchText);
4387
4729
  }
@@ -4408,26 +4750,26 @@ var useColumns = function useColumns(props) {
4408
4750
  if (dragColumn) {
4409
4751
  cols.unshift(dragColumn);
4410
4752
  }
4411
- var _getMaxDepth = function getMaxDepth(root) {
4753
+ var getMaxDepth = function getMaxDepth(root) {
4412
4754
  var depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
4413
4755
  if (root.length && maxDepth < depth) {
4414
4756
  maxDepth = depth;
4415
4757
  }
4416
4758
  root.forEach(function (col) {
4417
4759
  var _col$children;
4418
- return _getMaxDepth((_col$children = col.children) !== null && _col$children !== void 0 ? _col$children : [], depth + 1);
4760
+ return getMaxDepth((_col$children = col.children) !== null && _col$children !== void 0 ? _col$children : [], depth + 1);
4419
4761
  });
4420
4762
  };
4421
- _getMaxDepth(cols);
4422
- var _updateParentThColspan = function updateParentThColspan(col, count) {
4763
+ getMaxDepth(cols);
4764
+ var updateParentThColspan = function updateParentThColspan(col, count) {
4423
4765
  if (col) {
4424
4766
  var colMap = columnGroupMap.get(col);
4425
4767
  colMap.thColspan = colMap.thColspan + count;
4426
4768
  colMap.offsetLeft = colMap.offsetLeft + count;
4427
- _updateParentThColspan(colMap.parent, count);
4769
+ updateParentThColspan(colMap.parent, count);
4428
4770
  }
4429
4771
  };
4430
- var _foreachAllColumns = function foreachAllColumns(column, depth, parent, left) {
4772
+ var foreachAllColumns = function foreachAllColumns(column, depth, parent, left) {
4431
4773
  var _col$children$length, _col$children2, _col$children$length2, _col$children3, _col$children$length3, _col$children4, _col$children$length4, _col$children5, _col$children6;
4432
4774
  var col = (0,external_vue_namespaceObject.toRaw)(column);
4433
4775
  var leftColumnCount = left;
@@ -4459,16 +4801,16 @@ var useColumns = function useColumns(props) {
4459
4801
  });
4460
4802
  columnGroup[depth].push(col);
4461
4803
  if (thColspan > 1) {
4462
- _updateParentThColspan(parent, thColspan - 1);
4804
+ updateParentThColspan(parent, thColspan - 1);
4463
4805
  }
4464
4806
  (_col$children6 = col.children) === null || _col$children6 === void 0 || _col$children6.forEach(function (c, index) {
4465
- leftColumnCount = leftColumnCount + _foreachAllColumns(c, depth + 1, col, leftColumnCount + index);
4807
+ leftColumnCount = leftColumnCount + foreachAllColumns(c, depth + 1, col, leftColumnCount + index);
4466
4808
  });
4467
4809
  return childLength > 0 ? childLength - 1 : 0;
4468
4810
  };
4469
4811
  var leftColumnCount = 0;
4470
4812
  cols.forEach(function (col, index) {
4471
- leftColumnCount = leftColumnCount + _foreachAllColumns(col, 0, null, leftColumnCount + index);
4813
+ leftColumnCount = leftColumnCount + foreachAllColumns(col, 0, null, leftColumnCount + index);
4472
4814
  });
4473
4815
  return targetColumns;
4474
4816
  };
@@ -4998,21 +5340,21 @@ var useColumns = function useColumns(props) {
4998
5340
  * 固定列Hooks
4999
5341
  */
5000
5342
  /* harmony default export */ const use_fixed_column = (function (_props, columns) {
5001
- var fixedLeftColumns = computed(function () {
5343
+ var fixedLeftColumns = (0,external_vue_namespaceObject.computed)(function () {
5002
5344
  return columns.visibleColumns.filter(function (column) {
5003
5345
  return !!column.fixed && column.fixed !== 'right';
5004
5346
  });
5005
5347
  });
5006
- var fixedRightColumns = computed(function () {
5348
+ var fixedRightColumns = (0,external_vue_namespaceObject.computed)(function () {
5007
5349
  return columns.visibleColumns.filter(function (column) {
5008
5350
  return !!column.fixed && column.fixed === 'right';
5009
5351
  });
5010
5352
  });
5011
- var fixedLeftStyle = reactive({
5353
+ var fixedLeftStyle = (0,external_vue_namespaceObject.reactive)({
5012
5354
  left: 0,
5013
5355
  width: '0'
5014
5356
  });
5015
- var fixedRightStyle = reactive({
5357
+ var fixedRightStyle = (0,external_vue_namespaceObject.reactive)({
5016
5358
  right: 0,
5017
5359
  width: '0'
5018
5360
  });
@@ -5107,7 +5449,7 @@ const virtual_render_less_namespaceObject = virtual_render_less_x({ });
5107
5449
  * IN THE SOFTWARE.
5108
5450
  */
5109
5451
 
5110
- /* harmony default export */ const ghost_body = (defineComponent({
5452
+ /* harmony default export */ const ghost_body = ((0,external_vue_namespaceObject.defineComponent)({
5111
5453
  name: 'GhostBody',
5112
5454
  setup: function setup(_, ctx) {
5113
5455
  var columnGhostStyle = {
@@ -5319,12 +5661,12 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
5319
5661
  setRootStyleVars();
5320
5662
  };
5321
5663
  var initRootStyleVars = function initRootStyleVars() {
5322
- var _refRoot$value8, _refRoot$value9, _refRoot$value0, _refRoot$value1, _refRoot$value10;
5664
+ var _refRoot$value8, _refRoot$value9, _refRoot$value10, _refRoot$value11, _refRoot$value12;
5323
5665
  (_refRoot$value8 = refRoot.value) === null || _refRoot$value8 === void 0 || (_refRoot$value8 = _refRoot$value8.style) === null || _refRoot$value8 === void 0 || _refRoot$value8.setProperty('--drag-offset-x', '-1000px');
5324
5666
  (_refRoot$value9 = refRoot.value) === null || _refRoot$value9 === void 0 || (_refRoot$value9 = _refRoot$value9.style) === null || _refRoot$value9 === void 0 || _refRoot$value9.setProperty('--drag-offset-h-x', '-1000px');
5325
- (_refRoot$value0 = refRoot.value) === null || _refRoot$value0 === void 0 || (_refRoot$value0 = _refRoot$value0.style) === null || _refRoot$value0 === void 0 || _refRoot$value0.setProperty('--translate-y', '0px');
5326
- (_refRoot$value1 = refRoot.value) === null || _refRoot$value1 === void 0 || (_refRoot$value1 = _refRoot$value1.style) === null || _refRoot$value1 === void 0 || _refRoot$value1.setProperty('--translate-x', '0px');
5327
- (_refRoot$value10 = refRoot.value) === null || _refRoot$value10 === void 0 || (_refRoot$value10 = _refRoot$value10.style) === null || _refRoot$value10 === void 0 || _refRoot$value10.setProperty('--translate-x-1', '0px');
5667
+ (_refRoot$value10 = refRoot.value) === null || _refRoot$value10 === void 0 || (_refRoot$value10 = _refRoot$value10.style) === null || _refRoot$value10 === void 0 || _refRoot$value10.setProperty('--translate-y', '0px');
5668
+ (_refRoot$value11 = refRoot.value) === null || _refRoot$value11 === void 0 || (_refRoot$value11 = _refRoot$value11.style) === null || _refRoot$value11 === void 0 || _refRoot$value11.setProperty('--translate-x', '0px');
5669
+ (_refRoot$value12 = refRoot.value) === null || _refRoot$value12 === void 0 || (_refRoot$value12 = _refRoot$value12.style) === null || _refRoot$value12 === void 0 || _refRoot$value12.setProperty('--translate-x-1', '0px');
5328
5670
  };
5329
5671
  var setDragOffsetX = function setDragOffsetX(val) {
5330
5672
  dragOffsetX.value = val;
@@ -5332,7 +5674,7 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
5332
5674
  };
5333
5675
  var config = resolveHeadConfig(props);
5334
5676
  var headHeight = (0,external_vue_namespaceObject.computed)(function () {
5335
- return _resolvePropVal(config, 'height', ['thead']) * headerRowCount.value;
5677
+ return resolvePropVal(config, 'height', ['thead']) * headerRowCount.value;
5336
5678
  });
5337
5679
  var headStyle = (0,external_vue_namespaceObject.computed)(function () {
5338
5680
  var _props$thead$color, _props$thead;
@@ -5768,7 +6110,8 @@ const exception_less_namespaceObject = exception_less_x({ });
5768
6110
 
5769
6111
 
5770
6112
 
5771
- /* harmony default export */ const body_empty = (defineComponent({
6113
+
6114
+ /* harmony default export */ const body_empty = ((0,external_vue_namespaceObject.defineComponent)({
5772
6115
  name: 'BodyEmpty',
5773
6116
  props: {
5774
6117
  list: shared_namespaceObject.PropTypes.array.def([]),
@@ -5778,13 +6121,13 @@ const exception_less_namespaceObject = exception_less_x({ });
5778
6121
  emits: ['change'],
5779
6122
  setup: function setup(props) {
5780
6123
  var t = (0,config_provider_namespaceObject.useLocale)('table');
5781
- var localEmptyText = computed(function () {
6124
+ var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
5782
6125
  if (props.emptyText === undefined) {
5783
6126
  return t.value.emptyText;
5784
6127
  }
5785
6128
  return props.emptyText;
5786
6129
  });
5787
- var type = computed(function () {
6130
+ var type = (0,external_vue_namespaceObject.computed)(function () {
5788
6131
  return props.list.length === 0 ? 'empty' : 'search-empty';
5789
6132
  });
5790
6133
  return function () {
@@ -5955,7 +6298,7 @@ const exception_less_namespaceObject = exception_less_x({ });
5955
6298
  if (typeof_typeof(props.column.explain) === 'object') {
5956
6299
  // 这里需要处理content为空,提供defaultContent
5957
6300
  content = function content() {
5958
- return _resolvePropVal(props.column.explain, 'content', [props.column, props.row]) || defaultContent;
6301
+ return resolvePropVal(props.column.explain, 'content', [props.column, props.row]) || defaultContent;
5959
6302
  };
5960
6303
  }
5961
6304
  }
@@ -6114,7 +6457,7 @@ const exception_less_namespaceObject = exception_less_x({ });
6114
6457
  * IN THE SOFTWARE.
6115
6458
  */
6116
6459
 
6117
- /* harmony default export */ const table_row = (defineComponent({
6460
+ /* harmony default export */ const table_row = ((0,external_vue_namespaceObject.defineComponent)({
6118
6461
  name: 'TableRow',
6119
6462
  render: function render() {
6120
6463
  var _this$$slots$default, _this$$slots;
@@ -6139,6 +6482,7 @@ var isEmpty_y = x => () => x
6139
6482
  const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"] });
6140
6483
  ;// CONCATENATED MODULE: ../../packages/table/src/hooks/use-cell.tsx
6141
6484
 
6485
+
6142
6486
  /*
6143
6487
  * Tencent is pleased to support the open source community by making
6144
6488
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -6294,11 +6638,11 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
6294
6638
  var renderCell = function renderCell() {
6295
6639
  var _renderFn$column$type, _renderFn$column$type2;
6296
6640
  var defaultFn = function defaultFn() {
6297
- var type = _resolvePropVal(column, 'type', [column, row]);
6641
+ var type = resolvePropVal(column, 'type', [column, row]);
6298
6642
  if (type === 'index') {
6299
- return rows.getRowAttribute(toRaw(row), TABLE_ROW_ATTRIBUTE.ROW_INDEX);
6643
+ return rows.getRowAttribute((0,external_vue_namespaceObject.toRaw)(row), TABLE_ROW_ATTRIBUTE.ROW_INDEX);
6300
6644
  }
6301
- var key = _resolvePropVal(column, 'field', [column, row]);
6645
+ var key = resolvePropVal(column, 'field', [column, row]);
6302
6646
  var cell = getRowText(row, key);
6303
6647
  if (typeof column.render === 'function') {
6304
6648
  return renderCellCallbackFn();
@@ -6307,7 +6651,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
6307
6651
  return "".concat(cell);
6308
6652
  }
6309
6653
  if (typeof_typeof(cell) === 'object' && cell !== null) {
6310
- return JSON.stringify(unref(cell));
6654
+ return JSON.stringify((0,external_vue_namespaceObject.unref)(cell));
6311
6655
  }
6312
6656
  if (isEmptyCellText(cell)) {
6313
6657
  var emptyCellText = props.emptyCellText;
@@ -6336,7 +6680,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
6336
6680
  return (_renderFn$column$type = (_renderFn$column$type2 = renderFn[column.type]) === null || _renderFn$column$type2 === void 0 ? void 0 : _renderFn$column$type2.call(renderFn, row, column, index, rows)) !== null && _renderFn$column$type !== void 0 ? _renderFn$column$type : defaultFn();
6337
6681
  };
6338
6682
  var renderCellCallbackFn = function renderCellCallbackFn() {
6339
- var cell = getRowText(row, _resolvePropVal(column, 'field', [column, row]));
6683
+ var cell = getRowText(row, resolvePropVal(column, 'field', [column, row]));
6340
6684
  var data = row;
6341
6685
  return column.render({
6342
6686
  cell: cell,
@@ -6405,32 +6749,39 @@ var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
6405
6749
  var popover_less_y = x => () => x
6406
6750
  const popover_less_namespaceObject = popover_less_x({ });
6407
6751
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
6408
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
6752
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
6409
6753
  try {
6410
- var i = n[a](c),
6411
- u = i.value;
6412
- } catch (n) {
6413
- return void e(n);
6754
+ var info = gen[key](arg);
6755
+ var value = info.value;
6756
+ } catch (error) {
6757
+ reject(error);
6758
+ return;
6759
+ }
6760
+ if (info.done) {
6761
+ resolve(value);
6762
+ } else {
6763
+ Promise.resolve(value).then(_next, _throw);
6414
6764
  }
6415
- i.done ? t(u) : Promise.resolve(u).then(r, o);
6416
6765
  }
6417
- function _asyncToGenerator(n) {
6766
+ function _asyncToGenerator(fn) {
6418
6767
  return function () {
6419
- var t = this,
6420
- e = arguments;
6421
- return new Promise(function (r, o) {
6422
- var a = n.apply(t, e);
6423
- function _next(n) {
6424
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
6768
+ var self = this,
6769
+ args = arguments;
6770
+ return new Promise(function (resolve, reject) {
6771
+ var gen = fn.apply(self, args);
6772
+ function _next(value) {
6773
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
6425
6774
  }
6426
- function _throw(n) {
6427
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
6775
+ function _throw(err) {
6776
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
6428
6777
  }
6429
- _next(void 0);
6778
+ _next(undefined);
6430
6779
  });
6431
6780
  };
6432
6781
  }
6433
-
6782
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
6783
+ var regenerator = __webpack_require__(2841);
6784
+ var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
6434
6785
  ;// CONCATENATED MODULE: external "../button"
6435
6786
  var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
6436
6787
  var button_y = x => () => x
@@ -6545,8 +6896,7 @@ var useCheckboxToolTip = function useCheckboxToolTip() {
6545
6896
 
6546
6897
 
6547
6898
 
6548
- 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 }; })(); }
6549
- 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); }
6899
+
6550
6900
  /*
6551
6901
  * Tencent is pleased to support the open source community by making
6552
6902
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -6780,22 +7130,23 @@ var ROW_HEIGHT = 32;
6780
7130
  handleFilterChange();
6781
7131
  };
6782
7132
  var renderDisplayTooltip = /*#__PURE__*/function () {
6783
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
6784
- return _regenerator().w(function (_context) {
6785
- while (1) switch (_context.n) {
7133
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
7134
+ return regenerator_default().wrap(function _callee$(_context) {
7135
+ while (1) switch (_context.prev = _context.next) {
6786
7136
  case 0:
6787
- _context.n = 1;
7137
+ _context.next = 2;
6788
7138
  return new Promise(function (resolve) {
6789
7139
  return setTimeout(resolve, 0);
6790
7140
  });
6791
- case 1:
7141
+ case 2:
6792
7142
  localData.value.forEach(function (item) {
6793
7143
  if (!Object.prototype.hasOwnProperty.call(item, 'showOverflowTooltip')) {
6794
7144
  item.showOverflowTooltip = resolveOverflowTips("list-item-".concat(item.value, "-ref"), filterPopoverRef, allTextRef);
6795
7145
  }
6796
7146
  });
6797
- case 2:
6798
- return _context.a(2);
7147
+ case 3:
7148
+ case "end":
7149
+ return _context.stop();
6799
7150
  }
6800
7151
  }, _callee);
6801
7152
  }));
@@ -6889,10 +7240,9 @@ var ROW_HEIGHT = 32;
6889
7240
  }
6890
7241
  }));
6891
7242
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
6892
- function _arrayWithHoles(r) {
6893
- if (Array.isArray(r)) return r;
7243
+ function _arrayWithHoles(arr) {
7244
+ if (Array.isArray(arr)) return arr;
6894
7245
  }
6895
-
6896
7246
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
6897
7247
  function _iterableToArrayLimit(r, l) {
6898
7248
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -6921,21 +7271,18 @@ function _iterableToArrayLimit(r, l) {
6921
7271
  return a;
6922
7272
  }
6923
7273
  }
6924
-
6925
7274
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
6926
7275
  function _nonIterableRest() {
6927
7276
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
6928
7277
  }
6929
-
6930
7278
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
6931
7279
 
6932
7280
 
6933
7281
 
6934
7282
 
6935
- function _slicedToArray(r, e) {
6936
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || unsupportedIterableToArray_unsupportedIterableToArray(r, e) || _nonIterableRest();
7283
+ function _slicedToArray(arr, i) {
7284
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
6937
7285
  }
6938
-
6939
7286
  ;// CONCATENATED MODULE: external "../icon/"
6940
7287
  var _x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
6941
7288
  var _y = x => () => x
@@ -7077,6 +7424,7 @@ const _namespaceObject = _x({ ["AngleDownFill"]: () => __WEBPACK_EXTERNAL_MODULE
7077
7424
 
7078
7425
 
7079
7426
 
7427
+
7080
7428
  function use_head_isSlot(s) {
7081
7429
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
7082
7430
  }
@@ -7088,10 +7436,10 @@ function use_head_isSlot(s) {
7088
7436
  ctx = _ref.ctx,
7089
7437
  column = _ref.column,
7090
7438
  index = _ref.index;
7091
- var sortType = ref(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_TYPE));
7092
- var sortActive = ref(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_ACTIVE));
7093
- var rawColumn = toRaw(column);
7094
- var refDropdownPop = ref(null);
7439
+ var sortType = (0,external_vue_namespaceObject.ref)(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_TYPE));
7440
+ var sortActive = (0,external_vue_namespaceObject.ref)(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_ACTIVE));
7441
+ var rawColumn = (0,external_vue_namespaceObject.toRaw)(column);
7442
+ var refDropdownPop = (0,external_vue_namespaceObject.ref)(null);
7095
7443
  /**
7096
7444
  * 点击排序事件
7097
7445
  * @param sortFn 排序函数
@@ -7135,7 +7483,7 @@ function use_head_isSlot(s) {
7135
7483
  var handleFilterChange = function handleFilterChange(checked) {
7136
7484
  ctx.emit(EMIT_EVENTS.COLUMN_FILTER, {
7137
7485
  checked: checked,
7138
- column: unref(column),
7486
+ column: (0,external_vue_namespaceObject.unref)(column),
7139
7487
  index: index
7140
7488
  });
7141
7489
  };
@@ -7149,7 +7497,7 @@ function use_head_isSlot(s) {
7149
7497
  columns.setColumnAttribute(column, COLUMN_ATTRIBUTE.COL_FILTER_VALUES, []);
7150
7498
  ctx.emit(EMIT_EVENTS.COLUMN_FILTER, {
7151
7499
  checked: [],
7152
- column: unref(column),
7500
+ column: (0,external_vue_namespaceObject.unref)(column),
7153
7501
  index: index
7154
7502
  });
7155
7503
  };
@@ -7176,7 +7524,7 @@ function use_head_isSlot(s) {
7176
7524
  column: column
7177
7525
  });
7178
7526
  }
7179
- return _resolvePropVal(column, 'label', [index]);
7527
+ return resolvePropVal(column, 'label', [index]);
7180
7528
  };
7181
7529
  var getHeadCellRender = function getHeadCellRender() {
7182
7530
  var cells = [];
@@ -7287,7 +7635,7 @@ function use_head_isSlot(s) {
7287
7635
  return (0,external_vue_namespaceObject.createVNode)(table_cell, {
7288
7636
  "class": headClass,
7289
7637
  "column": column,
7290
- "headExplain": _resolvePropVal(column.explain, 'head', [column]),
7638
+ "headExplain": resolvePropVal(column.explain, 'head', [column]),
7291
7639
  "isHead": true,
7292
7640
  "observerResize": props.observerResize,
7293
7641
  "parentSetting": props.showOverflowTooltip,
@@ -7321,19 +7669,19 @@ function use_head_isSlot(s) {
7321
7669
  '--background-color': DEF_COLOR[(_props$thead$color = (_props$thead = props.thead) === null || _props$thead === void 0 ? void 0 : _props$thead.color) !== null && _props$thead$color !== void 0 ? _props$thead$color : IHeadColor.DEF1]
7322
7670
  });
7323
7671
  var group = columns.getGroupAttribute(rawColumn);
7324
- var classList = computed(function () {
7672
+ var classList = (0,external_vue_namespaceObject.computed)(function () {
7325
7673
  return [columns.getHeadColumnClass(column, index), columns.getColumnCustomClass(column), column.align || props.headerAlign || props.align, {
7326
7674
  'is-last-child': (group === null || group === void 0 ? void 0 : group.offsetLeft) + 1 === columns.visibleColumns.length
7327
7675
  }];
7328
7676
  });
7329
- var groupClass = computed(function () {
7677
+ var groupClass = (0,external_vue_namespaceObject.computed)(function () {
7330
7678
  return classList.value.concat([{
7331
7679
  'is-head-group': group === null || group === void 0 ? void 0 : group.isGroup,
7332
7680
  'is-head-group-child': !!(group !== null && group !== void 0 && group.parent)
7333
7681
  }]);
7334
7682
  });
7335
7683
  var getGroupRender = function getGroupRender() {
7336
- return _resolvePropVal(column, 'label', [index, column]);
7684
+ return resolvePropVal(column, 'label', [index, column]);
7337
7685
  };
7338
7686
  var getTH = function getTH() {
7339
7687
  if (group !== null && group !== void 0 && group.isGroup) {
@@ -7457,6 +7805,7 @@ var multiShiftKey = function multiShiftKey(props) {
7457
7805
  ;// CONCATENATED MODULE: ../../packages/table/src/hooks/use-render.tsx
7458
7806
 
7459
7807
 
7808
+
7460
7809
  /*
7461
7810
  * Tencent is pleased to support the open source community by making
7462
7811
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -7533,7 +7882,7 @@ function use_render_isSlot(s) {
7533
7882
  var config = resolveHeadConfig(props);
7534
7883
  var rowStyle = {
7535
7884
  // @ts-ignore:next-line
7536
- '--row-height': "".concat(_resolvePropVal(config, 'height', ['thead']), "px"),
7885
+ '--row-height': "".concat(resolvePropVal(config, 'height', ['thead']), "px"),
7537
7886
  backgroundColor: props.thead.color
7538
7887
  };
7539
7888
  return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("thead", {
@@ -7569,7 +7918,7 @@ function use_render_isSlot(s) {
7569
7918
  /** **************************************** Rows Render ******************************* **/
7570
7919
  var renderAppendLastRow = function renderAppendLastRow() {
7571
7920
  var rowId = 'append-last-row';
7572
- var rowStyle = [].concat(_toConsumableArray(_formatPropAsArray(props.rowStyle, [])), [{
7921
+ var rowStyle = [].concat(_toConsumableArray(formatPropAsArray(props.rowStyle, [])), [{
7573
7922
  '--row-height': "".concat(getRowHeight(null, null, 'append-last-row'), "px")
7574
7923
  }]);
7575
7924
  if (props.appendLastRow.type === 'default') {
@@ -7635,7 +7984,7 @@ function use_render_isSlot(s) {
7635
7984
  */
7636
7985
  var renderTBody = function renderTBody(list) {
7637
7986
  var dataList = list !== null && list !== void 0 ? list : rows.pageRowList;
7638
- var localEmptyText = computed(function () {
7987
+ var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
7639
7988
  if (props.emptyText === undefined) {
7640
7989
  return t.value.emptyText;
7641
7990
  }
@@ -7724,10 +8073,10 @@ function use_render_isSlot(s) {
7724
8073
  var getRowRender = function getRowRender(row, rowIndex, preRow, rowList, rowSpanMap, needRowSpan) {
7725
8074
  var isChild = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
7726
8075
  var rowLength = rowList.length;
7727
- var rowStyle = [].concat(_toConsumableArray(_formatPropAsArray(props.rowStyle, [row, rowIndex])), [{
8076
+ var rowStyle = [].concat(_toConsumableArray(formatPropAsArray(props.rowStyle, [row, rowIndex])), [{
7728
8077
  '--row-height': "".concat(getRowHeight(row, rowIndex), "px")
7729
8078
  }]);
7730
- var rowClass = [].concat(_toConsumableArray(_formatPropAsArray(props.rowClass, [row, rowIndex])), ["hover-".concat(props.rowHover), rowIndex % 2 === 1 && props.stripe ? 'stripe-row' : '']);
8079
+ var rowClass = [].concat(_toConsumableArray(formatPropAsArray(props.rowClass, [row, rowIndex])), ["hover-".concat(props.rowHover), rowIndex % 2 === 1 && props.stripe ? 'stripe-row' : '']);
7731
8080
  var rowId = rows.getRowAttribute(row, TABLE_ROW_ATTRIBUTE.ROW_UID);
7732
8081
  return [(0,external_vue_namespaceObject.createVNode)(table_row, {
7733
8082
  "key": rowId
@@ -7752,7 +8101,7 @@ function use_render_isSlot(s) {
7752
8101
  return handleRowLeave(e, row, rowIndex, rowList);
7753
8102
  }
7754
8103
  }, dragEvents), [columns.visibleColumns.map(function (column, index) {
7755
- var cellStyle = [columns.getFixedStlye(column)].concat(_toConsumableArray(_formatPropAsArray(props.cellStyle, [column, index, row, rowIndex])));
8104
+ var cellStyle = [columns.getFixedStlye(column)].concat(_toConsumableArray(formatPropAsArray(props.cellStyle, [column, index, row, rowIndex])));
7756
8105
  var _resolveCellSpan = resolveCellSpan(column, index, row, rowIndex),
7757
8106
  colspan = _resolveCellSpan.colspan,
7758
8107
  rowspan = _resolveCellSpan.rowspan;
@@ -7767,7 +8116,7 @@ function use_render_isSlot(s) {
7767
8116
  };
7768
8117
  if (!skipRow && !skipCol) {
7769
8118
  var _slot;
7770
- var cellClass = [columns.getColumnClass(column, index), columns.getColumnCustomClass(column, row), column.align || props.align].concat(_toConsumableArray(_formatPropAsArray(props.cellClass, [column, index, row, rowIndex])), [{
8119
+ var cellClass = [columns.getColumnClass(column, index), columns.getColumnCustomClass(column, row), column.align || props.align].concat(_toConsumableArray(formatPropAsArray(props.cellClass, [column, index, row, rowIndex])), [{
7771
8120
  'expand-row': rows.getRowAttribute(row, TABLE_ROW_ATTRIBUTE.ROW_EXPAND),
7772
8121
  'is-last': rowIndex + rowspan >= rowLength
7773
8122
  }]);
@@ -7898,7 +8247,7 @@ function use_render_isSlot(s) {
7898
8247
  }), null);
7899
8248
  }
7900
8249
  };
7901
- onUnmounted(function () {
8250
+ (0,external_vue_namespaceObject.onUnmounted)(function () {
7902
8251
  multiShiftKey.removeMultiCheckedEvents();
7903
8252
  });
7904
8253
  return {
@@ -7980,7 +8329,7 @@ var useRows = function useRows(props) {
7980
8329
  };
7981
8330
  var getSelfRowHeight = function getSelfRowHeight(row, rowIndex, type) {
7982
8331
  if (typeof props.rowHeight === 'function' || /^\d+/.test("".concat(props.rowHeight))) {
7983
- return _resolvePropVal(props, 'rowHeight', [{
8332
+ return resolvePropVal(props, 'rowHeight', [{
7984
8333
  index: rowIndex,
7985
8334
  type: type !== null && type !== void 0 ? type : 'tbody',
7986
8335
  row: row
@@ -8176,18 +8525,18 @@ var useRows = function useRows(props) {
8176
8525
  var batchPushRowList = function batchPushRowList(rowList) {
8177
8526
  var startIndex = 0;
8178
8527
  var size = 50;
8179
- var _batchPushItem = function batchPushItem() {
8528
+ var batchPushItem = function batchPushItem() {
8180
8529
  var endIndex = startIndex + size;
8181
8530
  pageRowList.push.apply(pageRowList, _toConsumableArray(rowList.slice(startIndex, endIndex)));
8182
8531
  if (endIndex < rowList.length) {
8183
8532
  startIndex = endIndex;
8184
8533
  setTimeout(function () {
8185
- _batchPushItem();
8534
+ batchPushItem();
8186
8535
  });
8187
8536
  }
8188
8537
  };
8189
8538
  if (rowList.length > size) {
8190
- _batchPushItem();
8539
+ batchPushItem();
8191
8540
  return;
8192
8541
  }
8193
8542
  pageRowList.push.apply(pageRowList, _toConsumableArray(rowList));
@@ -8263,8 +8612,7 @@ var useRows = function useRows(props) {
8263
8612
 
8264
8613
 
8265
8614
 
8266
- function use_settings_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 use_settings_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]())) : (use_settings_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, use_settings_regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, use_settings_regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), use_settings_regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", use_settings_regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), use_settings_regeneratorDefine2(u), use_settings_regeneratorDefine2(u, o, "Generator"), use_settings_regeneratorDefine2(u, n, function () { return this; }), use_settings_regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (use_settings_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
8267
- function use_settings_regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } use_settings_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) { use_settings_regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); }; o("next", 0), o("throw", 1), o("return", 2); } }, use_settings_regeneratorDefine2(e, r, n, t); }
8615
+
8268
8616
  /*
8269
8617
  * Tencent is pleased to support the open source community by making
8270
8618
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -8318,7 +8666,7 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
8318
8666
  var filterPopoverRef = (0,external_vue_namespaceObject.ref)();
8319
8667
  var allTextRef = (0,external_vue_namespaceObject.ref)([]);
8320
8668
  var resolvedColVal = function resolvedColVal(item, index) {
8321
- return _resolvePropVal(item, ['id', 'field', 'type'], [item, index]);
8669
+ return resolvePropVal(item, ['id', 'field', 'type'], [item, index]);
8322
8670
  };
8323
8671
  var getDefaultSettings = function getDefaultSettings() {
8324
8672
  return {
@@ -8501,22 +8849,23 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
8501
8849
  deep: true
8502
8850
  });
8503
8851
  var renderDisplayTooltip = /*#__PURE__*/function () {
8504
- var _ref = _asyncToGenerator(/*#__PURE__*/use_settings_regenerator().m(function _callee() {
8505
- return use_settings_regenerator().w(function (_context) {
8506
- while (1) switch (_context.n) {
8852
+ var _ref = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
8853
+ return regenerator_default().wrap(function _callee$(_context) {
8854
+ while (1) switch (_context.prev = _context.next) {
8507
8855
  case 0:
8508
- _context.n = 1;
8856
+ _context.next = 2;
8509
8857
  return new Promise(function (resolve) {
8510
8858
  return setTimeout(resolve, 0);
8511
8859
  });
8512
- case 1:
8860
+ case 2:
8513
8861
  renderFields.value.forEach(function (item, index) {
8514
8862
  if (!Object.prototype.hasOwnProperty.call(item, 'showOverflowTooltip')) {
8515
- item.showOverflowTooltip = resolveOverflowTips("field-item-".concat(_resolvePropVal(item, ['id', 'field', 'type'], [item, index]), "-ref"), filterPopoverRef, allTextRef);
8863
+ item.showOverflowTooltip = resolveOverflowTips("field-item-".concat(resolvePropVal(item, ['id', 'field', 'type'], [item, index]), "-ref"), filterPopoverRef, allTextRef);
8516
8864
  }
8517
8865
  });
8518
- case 2:
8519
- return _context.a(2);
8866
+ case 3:
8867
+ case "end":
8868
+ return _context.stop();
8520
8869
  }
8521
8870
  }, _callee);
8522
8871
  }));
@@ -8575,11 +8924,11 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
8575
8924
  "default": function _default() {
8576
8925
  return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("span", {
8577
8926
  "ref": function ref(el) {
8578
- return allTextRef.value["field-item-".concat(_resolvePropVal(item, ['id', 'field', 'type'], [item, index]), "-ref")] = el;
8927
+ return allTextRef.value["field-item-".concat(resolvePropVal(item, ['id', 'field', 'type'], [item, index]), "-ref")] = el;
8579
8928
  }
8580
- }, [_resolvePropVal(item, ['name', 'label'], [item, index])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), {
8929
+ }, [resolvePropVal(item, ['name', 'label'], [item, index])]), [[(0,external_vue_namespaceObject.resolveDirective)("bk-tooltips"), {
8581
8930
  placement: 'top-start',
8582
- content: _resolvePropVal(item, ['name', 'label'], [item, index]),
8931
+ content: resolvePropVal(item, ['name', 'label'], [item, index]),
8583
8932
  disabled: !item.showOverflowTooltip
8584
8933
  }]])];
8585
8934
  }