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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +8323 -8377
  3. package/dist/index.umd.js +48 -48
  4. package/lib/affix/index.js +5 -3
  5. package/lib/alert/index.js +2 -3
  6. package/lib/backtop/index.js +2 -2
  7. package/lib/badge/index.js +3 -4
  8. package/lib/breadcrumb/index.js +4 -4
  9. package/lib/button/index.js +6 -6
  10. package/lib/card/index.js +16 -5
  11. package/lib/cascader/index.js +70 -53
  12. package/lib/checkbox/index.js +4 -4
  13. package/lib/collapse/index.js +58 -6
  14. package/lib/color-picker/index.js +14 -11
  15. package/lib/config-provider/index.js +51 -3
  16. package/lib/container/index.js +55 -7
  17. package/lib/date-picker/index.js +202 -156
  18. package/lib/dialog/index.js +140 -431
  19. package/lib/directives/index.js +59 -19
  20. package/lib/dropdown/index.js +8 -8
  21. package/lib/exception/index.js +5 -5
  22. package/lib/form/index.js +22 -16
  23. package/lib/icon/angle-double-down-line.js +84 -374
  24. package/lib/icon/angle-double-left-line.js +84 -374
  25. package/lib/icon/angle-double-left.js +84 -374
  26. package/lib/icon/angle-double-right-line.js +84 -374
  27. package/lib/icon/angle-double-right.js +84 -374
  28. package/lib/icon/angle-double-up-line.js +84 -374
  29. package/lib/icon/angle-down-fill.js +84 -374
  30. package/lib/icon/angle-down-line.js +84 -374
  31. package/lib/icon/angle-down.js +84 -374
  32. package/lib/icon/angle-left.js +84 -374
  33. package/lib/icon/angle-right.js +84 -374
  34. package/lib/icon/angle-up-fill.js +84 -374
  35. package/lib/icon/angle-up.js +84 -374
  36. package/lib/icon/archive-fill.js +84 -374
  37. package/lib/icon/arrows-left.js +84 -374
  38. package/lib/icon/arrows-right.js +84 -374
  39. package/lib/icon/assistant.js +84 -374
  40. package/lib/icon/audio-fill.js +84 -374
  41. package/lib/icon/bk.js +84 -374
  42. package/lib/icon/circle.js +84 -374
  43. package/lib/icon/close-line.js +84 -374
  44. package/lib/icon/close.js +84 -374
  45. package/lib/icon/code.js +84 -374
  46. package/lib/icon/cog-shape.js +84 -374
  47. package/lib/icon/collapse-left.js +84 -374
  48. package/lib/icon/copy-shape.js +84 -374
  49. package/lib/icon/copy.js +84 -374
  50. package/lib/icon/data-shape.js +84 -374
  51. package/lib/icon/del.js +84 -374
  52. package/lib/icon/doc-fill.js +84 -374
  53. package/lib/icon/done.js +84 -374
  54. package/lib/icon/down-shape.js +84 -374
  55. package/lib/icon/down-small.js +84 -374
  56. package/lib/icon/edit-line.js +84 -374
  57. package/lib/icon/ellipsis.js +84 -374
  58. package/lib/icon/enlarge-line.js +84 -374
  59. package/lib/icon/error.js +84 -374
  60. package/lib/icon/excel-fill.js +84 -374
  61. package/lib/icon/exclamation-circle-shape.js +84 -374
  62. package/lib/icon/eye.js +84 -374
  63. package/lib/icon/filliscreen-line.js +84 -374
  64. package/lib/icon/fix-line.js +84 -374
  65. package/lib/icon/fix-shape.js +84 -374
  66. package/lib/icon/folder-open.js +84 -374
  67. package/lib/icon/folder-shape-open.js +84 -374
  68. package/lib/icon/folder-shape.js +84 -374
  69. package/lib/icon/folder.js +84 -374
  70. package/lib/icon/funnel.js +84 -374
  71. package/lib/icon/help-document-fill.js +84 -374
  72. package/lib/icon/help-fill.js +84 -374
  73. package/lib/icon/help.js +84 -374
  74. package/lib/icon/image-fill.js +131 -382
  75. package/lib/icon/img-error.js +131 -382
  76. package/lib/icon/img-placehoulder.js +131 -382
  77. package/lib/icon/index.js +563 -531
  78. package/lib/icon/info-line.js +131 -382
  79. package/lib/icon/info.js +131 -382
  80. package/lib/icon/left-shape.js +131 -382
  81. package/lib/icon/left-turn-line.js +131 -382
  82. package/lib/icon/narrow-line.js +131 -382
  83. package/lib/icon/original.js +131 -382
  84. package/lib/icon/pdf-fill.js +131 -382
  85. package/lib/icon/play-shape.js +131 -382
  86. package/lib/icon/plus.js +131 -382
  87. package/lib/icon/ppt-fill.js +131 -382
  88. package/lib/icon/qq.js +131 -382
  89. package/lib/icon/right-shape.js +131 -382
  90. package/lib/icon/right-turn-line.js +131 -382
  91. package/lib/icon/search.js +131 -382
  92. package/lib/icon/share.js +131 -382
  93. package/lib/icon/spinner.js +131 -382
  94. package/lib/icon/success.js +131 -382
  95. package/lib/icon/switcher-loading.js +131 -382
  96. package/lib/icon/text-file.js +131 -382
  97. package/lib/icon/text-fill.js +131 -382
  98. package/lib/icon/transfer.js +131 -382
  99. package/lib/icon/tree-application-shape.js +131 -382
  100. package/lib/icon/unfull-screen.js +131 -382
  101. package/lib/icon/unvisible.js +131 -382
  102. package/lib/icon/up-shape.js +131 -382
  103. package/lib/icon/upload.js +131 -382
  104. package/lib/icon/video-fill.js +131 -382
  105. package/lib/icon/warn.js +131 -382
  106. package/lib/icon/weixin-pro.js +131 -382
  107. package/lib/icon/weixin.js +131 -382
  108. package/lib/image/index.js +57 -9
  109. package/lib/info-box/index.js +145 -436
  110. package/lib/input/index.js +105 -415
  111. package/lib/link/index.js +2 -2
  112. package/lib/loading/index.js +18 -16
  113. package/lib/menu/index.js +22 -23
  114. package/lib/message/index.js +62 -57
  115. package/lib/modal/index.js +77 -18
  116. package/lib/navigation/index.js +11 -11
  117. package/lib/notify/index.js +51 -48
  118. package/lib/overflow-title/index.js +6 -5
  119. package/lib/plugin-popover/index.js +202 -364
  120. package/lib/popover/index.js +202 -364
  121. package/lib/process/index.js +55 -395
  122. package/lib/progress/index.js +51 -48
  123. package/lib/radio/index.js +4 -4
  124. package/lib/rate/index.js +2 -2
  125. package/lib/resize-layout/index.js +4 -5
  126. package/lib/search-select/index.js +179 -486
  127. package/lib/select/index.js +148 -479
  128. package/lib/shared/index.js +176 -352
  129. package/lib/sideslider/index.js +82 -373
  130. package/lib/slider/index.js +48 -386
  131. package/lib/steps/index.js +67 -405
  132. package/lib/swiper/index.js +10 -10
  133. package/lib/switcher/index.js +2 -2
  134. package/lib/tab/index.js +63 -8
  135. package/lib/table/index.js +262 -424
  136. package/lib/table-column/index.js +7 -6
  137. package/lib/tag/index.js +2 -2
  138. package/lib/tag-input/index.js +29 -21
  139. package/lib/timeline/index.js +6 -7
  140. package/lib/transfer/index.js +8 -8
  141. package/lib/tree/index.js +139 -319
  142. package/lib/upload/index.js +104 -423
  143. package/lib/virtual-render/index.js +60 -16
  144. package/package.json +2 -1
@@ -13,274 +13,8 @@ import * as __WEBPACK_EXTERNAL_MODULE__exception_12c197e0__ from "../exception";
13
13
  import * as __WEBPACK_EXTERNAL_MODULE__popover_cf5f8dce__ from "../popover";
14
14
  import * as __WEBPACK_EXTERNAL_MODULE__icon__2ba2075d__ from "../icon/";
15
15
  import * as __WEBPACK_EXTERNAL_MODULE__button_59c00871__ from "../button";
16
- /******/ var __webpack_modules__ = ({
17
-
18
- /***/ 8022:
19
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
20
-
21
- var v1 = __webpack_require__(4481);
22
- var v4 = __webpack_require__(6426);
23
-
24
- var uuid = v4;
25
- uuid.v1 = v1;
26
- uuid.v4 = v4;
27
-
28
- module.exports = uuid;
29
-
30
-
31
- /***/ }),
32
-
33
- /***/ 8725:
34
- /***/ ((module) => {
35
-
36
- /**
37
- * Convert array of 16 byte values to UUID string format of the form:
38
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
39
- */
40
- var byteToHex = [];
41
- for (var i = 0; i < 256; ++i) {
42
- byteToHex[i] = (i + 0x100).toString(16).substr(1);
43
- }
44
-
45
- function bytesToUuid(buf, offset) {
46
- var i = offset || 0;
47
- var bth = byteToHex;
48
- // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
49
- return ([
50
- bth[buf[i++]], bth[buf[i++]],
51
- bth[buf[i++]], bth[buf[i++]], '-',
52
- bth[buf[i++]], bth[buf[i++]], '-',
53
- bth[buf[i++]], bth[buf[i++]], '-',
54
- bth[buf[i++]], bth[buf[i++]], '-',
55
- bth[buf[i++]], bth[buf[i++]],
56
- bth[buf[i++]], bth[buf[i++]],
57
- bth[buf[i++]], bth[buf[i++]]
58
- ]).join('');
59
- }
60
-
61
- module.exports = bytesToUuid;
62
-
63
-
64
- /***/ }),
65
-
66
- /***/ 9157:
67
- /***/ ((module) => {
68
-
69
- // Unique ID creation requires a high quality random # generator. In the
70
- // browser this is a little complicated due to unknown quality of Math.random()
71
- // and inconsistent support for the `crypto` API. We do the best we can via
72
- // feature-detection
73
-
74
- // getRandomValues needs to be invoked in a context where "this" is a Crypto
75
- // implementation. Also, find the complete implementation of crypto on IE11.
76
- var getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
77
- (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));
78
-
79
- if (getRandomValues) {
80
- // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
81
- var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
82
-
83
- module.exports = function whatwgRNG() {
84
- getRandomValues(rnds8);
85
- return rnds8;
86
- };
87
- } else {
88
- // Math.random()-based (RNG)
89
- //
90
- // If all else fails, use Math.random(). It's fast, but is of unspecified
91
- // quality.
92
- var rnds = new Array(16);
93
-
94
- module.exports = function mathRNG() {
95
- for (var i = 0, r; i < 16; i++) {
96
- if ((i & 0x03) === 0) r = Math.random() * 0x100000000;
97
- rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;
98
- }
99
-
100
- return rnds;
101
- };
102
- }
103
-
104
-
105
- /***/ }),
106
-
107
- /***/ 4481:
108
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
109
-
110
- var rng = __webpack_require__(9157);
111
- var bytesToUuid = __webpack_require__(8725);
112
-
113
- // **`v1()` - Generate time-based UUID**
114
- //
115
- // Inspired by https://github.com/LiosK/UUID.js
116
- // and http://docs.python.org/library/uuid.html
117
-
118
- var _nodeId;
119
- var _clockseq;
120
-
121
- // Previous uuid creation time
122
- var _lastMSecs = 0;
123
- var _lastNSecs = 0;
124
-
125
- // See https://github.com/uuidjs/uuid for API details
126
- function v1(options, buf, offset) {
127
- var i = buf && offset || 0;
128
- var b = buf || [];
129
-
130
- options = options || {};
131
- var node = options.node || _nodeId;
132
- var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;
133
-
134
- // node and clockseq need to be initialized to random values if they're not
135
- // specified. We do this lazily to minimize issues related to insufficient
136
- // system entropy. See #189
137
- if (node == null || clockseq == null) {
138
- var seedBytes = rng();
139
- if (node == null) {
140
- // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
141
- node = _nodeId = [
142
- seedBytes[0] | 0x01,
143
- seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]
144
- ];
145
- }
146
- if (clockseq == null) {
147
- // Per 4.2.2, randomize (14 bit) clockseq
148
- clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
149
- }
150
- }
151
-
152
- // UUID timestamps are 100 nano-second units since the Gregorian epoch,
153
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
154
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
155
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
156
- var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();
157
-
158
- // Per 4.2.1.2, use count of uuid's generated during the current clock
159
- // cycle to simulate higher resolution clock
160
- var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
161
-
162
- // Time since last uuid creation (in msecs)
163
- var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;
164
-
165
- // Per 4.2.1.2, Bump clockseq on clock regression
166
- if (dt < 0 && options.clockseq === undefined) {
167
- clockseq = clockseq + 1 & 0x3fff;
168
- }
169
-
170
- // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
171
- // time interval
172
- if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
173
- nsecs = 0;
174
- }
175
-
176
- // Per 4.2.1.2 Throw error if too many uuids are requested
177
- if (nsecs >= 10000) {
178
- throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');
179
- }
180
-
181
- _lastMSecs = msecs;
182
- _lastNSecs = nsecs;
183
- _clockseq = clockseq;
184
-
185
- // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
186
- msecs += 12219292800000;
187
-
188
- // `time_low`
189
- var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
190
- b[i++] = tl >>> 24 & 0xff;
191
- b[i++] = tl >>> 16 & 0xff;
192
- b[i++] = tl >>> 8 & 0xff;
193
- b[i++] = tl & 0xff;
194
-
195
- // `time_mid`
196
- var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;
197
- b[i++] = tmh >>> 8 & 0xff;
198
- b[i++] = tmh & 0xff;
199
-
200
- // `time_high_and_version`
201
- b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
202
- b[i++] = tmh >>> 16 & 0xff;
203
-
204
- // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
205
- b[i++] = clockseq >>> 8 | 0x80;
206
-
207
- // `clock_seq_low`
208
- b[i++] = clockseq & 0xff;
209
-
210
- // `node`
211
- for (var n = 0; n < 6; ++n) {
212
- b[i + n] = node[n];
213
- }
214
-
215
- return buf ? buf : bytesToUuid(b);
216
- }
217
-
218
- module.exports = v1;
219
-
220
-
221
- /***/ }),
222
-
223
- /***/ 6426:
224
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
225
-
226
- var rng = __webpack_require__(9157);
227
- var bytesToUuid = __webpack_require__(8725);
228
-
229
- function v4(options, buf, offset) {
230
- var i = buf && offset || 0;
231
-
232
- if (typeof(options) == 'string') {
233
- buf = options === 'binary' ? new Array(16) : null;
234
- options = null;
235
- }
236
- options = options || {};
237
-
238
- var rnds = options.random || (options.rng || rng)();
239
-
240
- // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
241
- rnds[6] = (rnds[6] & 0x0f) | 0x40;
242
- rnds[8] = (rnds[8] & 0x3f) | 0x80;
243
-
244
- // Copy bytes to buffer, if provided
245
- if (buf) {
246
- for (var ii = 0; ii < 16; ++ii) {
247
- buf[i + ii] = rnds[ii];
248
- }
249
- }
250
-
251
- return buf || bytesToUuid(rnds);
252
- }
253
-
254
- module.exports = v4;
255
-
256
-
257
- /***/ })
258
-
259
- /******/ });
260
- /************************************************************************/
261
- /******/ // The module cache
262
- /******/ var __webpack_module_cache__ = {};
263
- /******/
264
- /******/ // The require function
265
- /******/ function __webpack_require__(moduleId) {
266
- /******/ // Check if module is in cache
267
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
268
- /******/ if (cachedModule !== undefined) {
269
- /******/ return cachedModule.exports;
270
- /******/ }
271
- /******/ // Create a new module (and put it into the cache)
272
- /******/ var module = __webpack_module_cache__[moduleId] = {
273
- /******/ // no module.id needed
274
- /******/ // no module.loaded needed
275
- /******/ exports: {}
276
- /******/ };
277
- /******/
278
- /******/ // Execute the module function
279
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
280
- /******/
281
- /******/ // Return the exports of the module
282
- /******/ return module.exports;
283
- /******/ }
16
+ /******/ // The require scope
17
+ /******/ var __webpack_require__ = {};
284
18
  /******/
285
19
  /************************************************************************/
286
20
  /******/ /* webpack/runtime/define property getters */
@@ -314,8 +48,6 @@ module.exports = v4;
314
48
  /******/
315
49
  /************************************************************************/
316
50
  var __webpack_exports__ = {};
317
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
318
- (() => {
319
51
 
320
52
  // EXPORTS
321
53
  __webpack_require__.d(__webpack_exports__, {
@@ -948,21 +680,22 @@ var TableColumnProp = {
948
680
  return;
949
681
  }
950
682
  nodes.forEach(function (node) {
951
- var _a, _b, _c;
683
+ var _node$type, _node$children2;
952
684
  if (Array.isArray(node)) {
953
685
  reduceColumns(node);
954
686
  return;
955
687
  }
956
688
  var skipValidateKey0 = true;
957
- if (((_a = node.type) === null || _a === void 0 ? void 0 : _a.name) === 'TableColumn') {
689
+ if (((_node$type = node.type) === null || _node$type === void 0 ? void 0 : _node$type.name) === 'TableColumn') {
690
+ var _node$children;
958
691
  skipValidateKey0 = Object.hasOwnProperty.call(node.props || {}, 'key');
959
692
  var resolveProp = Object.assign({}, node.props, {
960
693
  field: node.props.prop || node.props.field,
961
- render: (_b = node.children) === null || _b === void 0 ? void 0 : _b["default"]
694
+ render: (_node$children = node.children) === null || _node$children === void 0 ? void 0 : _node$children["default"]
962
695
  });
963
696
  sortColumns.push((0,external_vue_namespaceObject.unref)(resolveProp));
964
697
  }
965
- if (((_c = node.children) === null || _c === void 0 ? void 0 : _c.length) && skipValidateKey0) {
698
+ if ((_node$children2 = node.children) !== null && _node$children2 !== void 0 && _node$children2.length && skipValidateKey0) {
966
699
  reduceColumns(node.children);
967
700
  }
968
701
  });
@@ -984,8 +717,8 @@ var TableColumnProp = {
984
717
  }
985
718
  },
986
719
  render: function render() {
987
- var _a, _b;
988
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(_b = (_a = this.$slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a, {
720
+ var _this$$slots$default, _this$$slots;
721
+ return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots, {
989
722
  row: {}
990
723
  })]);
991
724
  }
@@ -1026,6 +759,7 @@ function _createClass(Constructor, protoProps, staticProps) {
1026
759
  ;// CONCATENATED MODULE: ../../packages/table/src/cache.ts
1027
760
 
1028
761
 
762
+
1029
763
  /*
1030
764
  * Tencent is pleased to support the open source community by making
1031
765
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1054,7 +788,7 @@ function _createClass(Constructor, protoProps, staticProps) {
1054
788
  var BkTableCache = /*#__PURE__*/function () {
1055
789
  function BkTableCache() {
1056
790
  _classCallCheck(this, BkTableCache);
1057
- this.storage = undefined;
791
+ defineProperty_defineProperty(this, "storage", undefined);
1058
792
  this.storage = {};
1059
793
  }
1060
794
  _createClass(BkTableCache, [{
@@ -1217,6 +951,9 @@ function _toConsumableArray(arr) {
1217
951
  ;// CONCATENATED MODULE: ../../packages/table/src/plugins/use-pagination.tsx
1218
952
 
1219
953
 
954
+
955
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
956
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1220
957
  /*
1221
958
  * Tencent is pleased to support the open source community by making
1222
959
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1259,7 +996,7 @@ var resolvePaginationOption = function resolvePaginationOption(propPagination, d
1259
996
  if (!/\d+/.test(current)) {
1260
997
  current = 1;
1261
998
  }
1262
- return Object.assign(Object.assign(Object.assign({}, defVal), propPagination), {
999
+ return _objectSpread(_objectSpread(_objectSpread({}, defVal), propPagination), {}, {
1263
1000
  current: current
1264
1001
  });
1265
1002
  }
@@ -1322,9 +1059,9 @@ var resolvePaginationOption = function resolvePaginationOption(propPagination, d
1322
1059
  }
1323
1060
  };
1324
1061
  var resolvePageData = function resolvePageData(filterFn, sortFn, activeSortColumn) {
1325
- var _a;
1062
+ var _activeSortColumn$sor;
1326
1063
  var sourceData = indexData.slice();
1327
- var _ref = (_a = activeSortColumn === null || activeSortColumn === void 0 ? void 0 : activeSortColumn.sort) !== null && _a !== void 0 ? _a : {},
1064
+ var _ref = (_activeSortColumn$sor = activeSortColumn === null || activeSortColumn === void 0 ? void 0 : activeSortColumn.sort) !== null && _activeSortColumn$sor !== void 0 ? _activeSortColumn$sor : {},
1328
1065
  sortScope = _ref.sortScope;
1329
1066
  if (sortScope === SortScope.ALL) {
1330
1067
  sort(sourceData, sortFn, activeSortColumn);
@@ -1347,7 +1084,7 @@ var resolvePaginationOption = function resolvePaginationOption(propPagination, d
1347
1084
  if (!props.pagination) {
1348
1085
  return;
1349
1086
  }
1350
- localPagination.value = props.remotePagination ? pagination : Object.assign(Object.assign({}, pagination), {
1087
+ localPagination.value = props.remotePagination ? pagination : _objectSpread(_objectSpread({}, pagination), {}, {
1351
1088
  count: indexData.length
1352
1089
  });
1353
1090
  // Object.assign(localPagination, resolved);
@@ -1413,8 +1150,8 @@ const external_loading_namespaceObject = external_loading_x({ ["BkLoadingMode"]:
1413
1150
  return refScrollLoading.value !== null && (typeof refScrollLoading.value === 'boolean' && refScrollLoading.value || typeof_typeof(refScrollLoading.value) === 'object');
1414
1151
  });
1415
1152
  var renderScrollLoading = function renderScrollLoading() {
1416
- var _a, _b, _c;
1417
1153
  if (isRender.value) {
1154
+ var _ctx$slots$fixedBotto, _ctx$slots$fixedBotto2, _ctx$slots;
1418
1155
  var _getLoadingOption = getLoadingOption(),
1419
1156
  loading = _getLoadingOption.loading,
1420
1157
  size = _getLoadingOption.size,
@@ -1422,7 +1159,7 @@ const external_loading_namespaceObject = external_loading_x({ ["BkLoadingMode"]:
1422
1159
  title = _getLoadingOption.title,
1423
1160
  inline = _getLoadingOption.inline,
1424
1161
  indicator = _getLoadingOption.indicator;
1425
- return (_c = (_b = (_a = ctx.slots).fixedBottom) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : (0,external_vue_namespaceObject.createVNode)(external_loading_namespaceObject["default"], {
1162
+ return (_ctx$slots$fixedBotto = (_ctx$slots$fixedBotto2 = (_ctx$slots = ctx.slots).fixedBottom) === null || _ctx$slots$fixedBotto2 === void 0 ? void 0 : _ctx$slots$fixedBotto2.call(_ctx$slots)) !== null && _ctx$slots$fixedBotto !== void 0 ? _ctx$slots$fixedBotto : (0,external_vue_namespaceObject.createVNode)(external_loading_namespaceObject["default"], {
1426
1163
  loading: loading,
1427
1164
  size: size,
1428
1165
  mode: mode,
@@ -1436,8 +1173,94 @@ const external_loading_namespaceObject = external_loading_x({ ["BkLoadingMode"]:
1436
1173
  renderScrollLoading: renderScrollLoading
1437
1174
  };
1438
1175
  });
1439
- // EXTERNAL MODULE: ../../node_modules/uuid/index.js
1440
- var uuid = __webpack_require__(8022);
1176
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
1177
+ const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1178
+ /* harmony default export */ const esm_browser_native = ({
1179
+ randomUUID
1180
+ });
1181
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/rng.js
1182
+ // Unique ID creation requires a high quality random # generator. In the browser we therefore
1183
+ // require the crypto API and do not support built-in fallback to lower quality random number
1184
+ // generators (like Math.random()).
1185
+ let getRandomValues;
1186
+ const rnds8 = new Uint8Array(16);
1187
+ function rng() {
1188
+ // lazy load so that environments that need to polyfill have a chance to do so
1189
+ if (!getRandomValues) {
1190
+ // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
1191
+ getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
1192
+
1193
+ if (!getRandomValues) {
1194
+ throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
1195
+ }
1196
+ }
1197
+
1198
+ return getRandomValues(rnds8);
1199
+ }
1200
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/stringify.js
1201
+
1202
+ /**
1203
+ * Convert array of 16 byte values to UUID string format of the form:
1204
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
1205
+ */
1206
+
1207
+ const byteToHex = [];
1208
+
1209
+ for (let i = 0; i < 256; ++i) {
1210
+ byteToHex.push((i + 0x100).toString(16).slice(1));
1211
+ }
1212
+
1213
+ function unsafeStringify(arr, offset = 0) {
1214
+ // Note: Be careful editing this code! It's been tuned for performance
1215
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
1216
+ return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
1217
+ }
1218
+
1219
+ function stringify(arr, offset = 0) {
1220
+ const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
1221
+ // of the following:
1222
+ // - One or more input array values don't map to a hex octet (leading to
1223
+ // "undefined" in the uuid)
1224
+ // - Invalid input values for the RFC `version` or `variant` fields
1225
+
1226
+ if (!validate(uuid)) {
1227
+ throw TypeError('Stringified UUID is invalid');
1228
+ }
1229
+
1230
+ return uuid;
1231
+ }
1232
+
1233
+ /* harmony default export */ const esm_browser_stringify = ((/* unused pure expression or super */ null && (stringify)));
1234
+ ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/v4.js
1235
+
1236
+
1237
+
1238
+
1239
+ function v4(options, buf, offset) {
1240
+ if (esm_browser_native.randomUUID && !buf && !options) {
1241
+ return esm_browser_native.randomUUID();
1242
+ }
1243
+
1244
+ options = options || {};
1245
+ const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
1246
+
1247
+ rnds[6] = rnds[6] & 0x0f | 0x40;
1248
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
1249
+
1250
+ if (buf) {
1251
+ offset = offset || 0;
1252
+
1253
+ for (let i = 0; i < 16; ++i) {
1254
+ buf[offset + i] = rnds[i];
1255
+ }
1256
+
1257
+ return buf;
1258
+ }
1259
+
1260
+ return unsafeStringify(rnds);
1261
+ }
1262
+
1263
+ /* harmony default export */ const esm_browser_v4 = (v4);
1441
1264
  ;// CONCATENATED MODULE: external "../checkbox"
1442
1265
  var external_checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1443
1266
  var external_checkbox_y = x => () => x
@@ -2393,6 +2216,8 @@ var index = (function () {
2393
2216
 
2394
2217
 
2395
2218
  var _this = undefined;
2219
+ function utils_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2220
+ function utils_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? utils_ownKeys(Object(source), !0).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : utils_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2396
2221
  /*
2397
2222
  * Tencent is pleased to support the open source community by making
2398
2223
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -2535,9 +2360,9 @@ var resolvePropBorderToClassStr = function resolvePropBorderToClassStr(val) {
2535
2360
  * @returns
2536
2361
  */
2537
2362
  var getColumnReactWidth = function getColumnReactWidth(colmun) {
2363
+ var _ref, _colmun$orders$;
2538
2364
  var orders = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ['resizeWidth', 'calcWidth', 'width'];
2539
- var _c, _d;
2540
- return (_d = (_c = colmun[orders[0]]) !== null && _c !== void 0 ? _c : colmun[orders[1]]) !== null && _d !== void 0 ? _d : colmun[orders[2]];
2365
+ return (_ref = (_colmun$orders$ = colmun[orders[0]]) !== null && _colmun$orders$ !== void 0 ? _colmun$orders$ : colmun[orders[1]]) !== null && _ref !== void 0 ? _ref : colmun[orders[2]];
2541
2366
  };
2542
2367
  /**
2543
2368
  * 根据Props Column配置计算并设置列宽度
@@ -2549,8 +2374,8 @@ var getColumnReactWidth = function getColumnReactWidth(colmun) {
2549
2374
  var resolveColumnWidth = function resolveColumnWidth(root, colgroups) {
2550
2375
  var autoWidth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : COL_MIN_WIDTH;
2551
2376
  var offsetWidth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
2552
- var _ref = root.getBoundingClientRect() || {},
2553
- width = _ref.width;
2377
+ var _ref2 = root.getBoundingClientRect() || {},
2378
+ width = _ref2.width;
2554
2379
  var availableWidth = width - offsetWidth;
2555
2380
  // 可用来平均的宽度
2556
2381
  var avgWidth = availableWidth;
@@ -2748,7 +2573,7 @@ var getRowKey = function getRowKey(item, props, index) {
2748
2573
  if (val !== null) {
2749
2574
  return val;
2750
2575
  }
2751
- return (0,uuid.v4)();
2576
+ return esm_browser_v4();
2752
2577
  };
2753
2578
  var getRowKeyNull = function getRowKeyNull(item, props, index) {
2754
2579
  if (typeof props.rowKey === 'string') {
@@ -2775,7 +2600,7 @@ var hasRootScrollY = function hasRootScrollY(root, querySelector) {
2775
2600
  var getColumnClass = function getColumnClass(column) {
2776
2601
  var colIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
2777
2602
  var uuid = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
2778
- return Object.assign(Object.assign({}, uuid ? _defineProperty({}, "".concat(uuid, "-column-").concat(colIndex), true) : {}), {
2603
+ return utils_objectSpread(utils_objectSpread({}, uuid ? _defineProperty({}, "".concat(uuid, "-column-").concat(colIndex), true) : {}), {}, {
2779
2604
  column_fixed: !!column.fixed,
2780
2605
  column_fixed_left: !!column.fixed,
2781
2606
  column_fixed_right: column.fixed === 'right'
@@ -2852,7 +2677,7 @@ var skipThisColumn = function skipThisColumn(columns, colIndex, row, rowIndex) {
2852
2677
  return skip;
2853
2678
  };
2854
2679
  var getSortFn = function getSortFn(column, sortType) {
2855
- var _c, _d;
2680
+ var _column$sort, _column$sort2;
2856
2681
  var fieldName = column.field;
2857
2682
  var getVal = function getVal(row) {
2858
2683
  return getRowText(row, fieldName, column);
@@ -2865,7 +2690,7 @@ var getSortFn = function getSortFn(column, sortType) {
2865
2690
  }
2866
2691
  return String.prototype.localeCompare.call(val0, val1);
2867
2692
  };
2868
- var sortFn = typeof ((_c = column.sort) === null || _c === void 0 ? void 0 : _c.sortFn) === 'function' ? (_d = column.sort) === null || _d === void 0 ? void 0 : _d.sortFn : sortFn0;
2693
+ var sortFn = typeof ((_column$sort = column.sort) === null || _column$sort === void 0 ? void 0 : _column$sort.sortFn) === 'function' ? (_column$sort2 = column.sort) === null || _column$sort2 === void 0 ? void 0 : _column$sort2.sortFn : sortFn0;
2869
2694
  return sortType === SORT_OPTION.NULL ? function () {
2870
2695
  return true;
2871
2696
  } : function (_a, _b) {
@@ -2893,7 +2718,7 @@ var resolveSort = function resolveSort(sort) {
2893
2718
  }
2894
2719
  if (typeof_typeof(sort) === 'object' && sort !== null) {
2895
2720
  if (typeof_typeof(sort.sortFn)) {
2896
- return Object.assign({
2721
+ return utils_objectSpread({
2897
2722
  value: 'custom'
2898
2723
  }, sort);
2899
2724
  }
@@ -2901,10 +2726,10 @@ var resolveSort = function resolveSort(sort) {
2901
2726
  }
2902
2727
  return null;
2903
2728
  };
2904
- var isRowSelectEnable = function isRowSelectEnable(props, _ref3) {
2905
- var row = _ref3.row,
2906
- index = _ref3.index,
2907
- isCheckAll = _ref3.isCheckAll;
2729
+ var isRowSelectEnable = function isRowSelectEnable(props, _ref4) {
2730
+ var row = _ref4.row,
2731
+ index = _ref4.index,
2732
+ isCheckAll = _ref4.isCheckAll;
2908
2733
  if (typeof props.isRowSelectEnable === 'boolean') {
2909
2734
  return props.isRowSelectEnable !== false;
2910
2735
  }
@@ -3030,7 +2855,6 @@ var getRowIndex = function getRowIndex(row, index) {
3030
2855
  showOverflowTooltip = _resolveSetting$showO === void 0 ? false : _resolveSetting$showO;
3031
2856
  var bkEllipsisIns = null;
3032
2857
  var resolveTooltipOption = function resolveTooltipOption() {
3033
- var _a;
3034
2858
  var disabled = true;
3035
2859
  var resizerWay = props.resizerWay;
3036
2860
  var content = refRoot.value.innerText;
@@ -3055,9 +2879,10 @@ var getRowIndex = function getRowIndex(row, index) {
3055
2879
  disabled = Reflect.apply(disabled, _this, [props.column, props.row]);
3056
2880
  }
3057
2881
  if (props.isHead) {
2882
+ var _getEllipsisTarget;
3058
2883
  disabled = false;
3059
2884
  mode = 'auto';
3060
- content = (_a = getEllipsisTarget()) === null || _a === void 0 ? void 0 : _a.innerHTML;
2885
+ content = (_getEllipsisTarget = getEllipsisTarget()) === null || _getEllipsisTarget === void 0 ? void 0 : _getEllipsisTarget.innerHTML;
3061
2886
  if (props.headExplain) {
3062
2887
  mode = 'static';
3063
2888
  content = props.headExplain;
@@ -3083,9 +2908,9 @@ var getRowIndex = function getRowIndex(row, index) {
3083
2908
  };
3084
2909
  };
3085
2910
  var getEllipsisTarget = function getEllipsisTarget() {
3086
- var _a, _b;
3087
2911
  if (props.isHead) {
3088
- return (_b = (_a = refRoot.value) === null || _a === void 0 ? void 0 : _a.querySelector) === null || _b === void 0 ? void 0 : _b.call(_a, '.head-text');
2912
+ var _refRoot$value, _refRoot$value$queryS;
2913
+ return (_refRoot$value = refRoot.value) === null || _refRoot$value === void 0 || (_refRoot$value$queryS = _refRoot$value.querySelector) === null || _refRoot$value$queryS === void 0 ? void 0 : _refRoot$value$queryS.call(_refRoot$value, '.head-text');
3089
2914
  }
3090
2915
  return refRoot.value;
3091
2916
  };
@@ -3115,7 +2940,8 @@ var getRowIndex = function getRowIndex(row, index) {
3115
2940
  });
3116
2941
  }
3117
2942
  } else {
3118
- bkEllipsisIns === null || bkEllipsisIns === void 0 ? void 0 : bkEllipsisIns.destroyInstance(target);
2943
+ var _bkEllipsisIns;
2944
+ (_bkEllipsisIns = bkEllipsisIns) === null || _bkEllipsisIns === void 0 ? void 0 : _bkEllipsisIns.destroyInstance(target);
3119
2945
  bkEllipsisIns = null;
3120
2946
  }
3121
2947
  };
@@ -3139,17 +2965,18 @@ var getRowIndex = function getRowIndex(row, index) {
3139
2965
  }
3140
2966
  });
3141
2967
  (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
3142
- bkEllipsisIns === null || bkEllipsisIns === void 0 ? void 0 : bkEllipsisIns.destroyInstance(refRoot.value);
2968
+ var _bkEllipsisIns2;
2969
+ (_bkEllipsisIns2 = bkEllipsisIns) === null || _bkEllipsisIns2 === void 0 ? void 0 : _bkEllipsisIns2.destroyInstance(refRoot.value);
3143
2970
  });
3144
2971
  var hasExplain = props.headExplain || props.column.explain;
3145
2972
  return function () {
3146
- var _a;
2973
+ var _slots$default;
3147
2974
  return (0,external_vue_namespaceObject.createVNode)("div", {
3148
2975
  "class": ['cell', props.column.type, hasExplain ? 'explain' : ''],
3149
2976
  "style": cellStyle.value,
3150
2977
  "ref": refRoot,
3151
2978
  "title": props.title
3152
- }, [(_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)]);
2979
+ }, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)]);
3153
2980
  };
3154
2981
  }
3155
2982
  }));
@@ -3184,13 +3011,14 @@ var getRowIndex = function getRowIndex(row, index) {
3184
3011
  /* harmony default export */ const table_row = ((0,external_vue_namespaceObject.defineComponent)({
3185
3012
  name: 'TableRow',
3186
3013
  render: function render() {
3187
- var _a, _b;
3188
- return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(_b = (_a = this.$slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a)]);
3014
+ var _this$$slots$default, _this$$slots;
3015
+ return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)]);
3189
3016
  }
3190
3017
  }));
3191
3018
  ;// CONCATENATED MODULE: ../../packages/table/src/plugins/index.tsx
3192
3019
 
3193
3020
 
3021
+
3194
3022
  /*
3195
3023
  * Tencent is pleased to support the open source community by making
3196
3024
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -3218,8 +3046,8 @@ var getRowIndex = function getRowIndex(row, index) {
3218
3046
  */
3219
3047
  var TablePlugins = /*#__PURE__*/_createClass(function TablePlugins(props, ctx) {
3220
3048
  _classCallCheck(this, TablePlugins);
3221
- this.props = null;
3222
- this.ctx = null;
3049
+ defineProperty_defineProperty(this, "props", null);
3050
+ defineProperty_defineProperty(this, "ctx", null);
3223
3051
  this.props = props;
3224
3052
  this.ctx = ctx;
3225
3053
  });
@@ -3345,8 +3173,8 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
3345
3173
  var _toRefs = (0,external_vue_namespaceObject.toRefs)(props.column),
3346
3174
  filter = _toRefs.filter;
3347
3175
  var checked = (0,external_vue_namespaceObject.computed)(function () {
3348
- var _a, _b;
3349
- return (_b = (_a = filter.value) === null || _a === void 0 ? void 0 : _a.checked) !== null && _b !== void 0 ? _b : [];
3176
+ var _filter$value$checked, _filter$value;
3177
+ return (_filter$value$checked = (_filter$value = filter.value) === null || _filter$value === void 0 ? void 0 : _filter$value.checked) !== null && _filter$value$checked !== void 0 ? _filter$value$checked : [];
3350
3178
  });
3351
3179
  var state = (0,external_vue_namespaceObject.reactive)({
3352
3180
  isOpen: false,
@@ -3438,9 +3266,9 @@ const external_popover_namespaceObject = external_popover_x({ ["default"]: () =>
3438
3266
  text: text
3439
3267
  };
3440
3268
  };
3441
- var _filter$value = filter.value,
3442
- btnSave = _filter$value.btnSave,
3443
- btnReset = _filter$value.btnReset;
3269
+ var _filter$value2 = filter.value,
3270
+ btnSave = _filter$value2.btnSave,
3271
+ btnReset = _filter$value2.btnReset;
3444
3272
  var renderSaveBtn = function renderSaveBtn() {
3445
3273
  var _resolveBtnOption2 = resolveBtnOption(btnSave, t.value.confirm),
3446
3274
  disabled = _resolveBtnOption2.disabled,
@@ -3657,11 +3485,11 @@ const _namespaceObject = _x({ ["AngleDownFill"]: () => __WEBPACK_EXTERNAL_MODULE
3657
3485
  },
3658
3486
  emits: ['change'],
3659
3487
  setup: function setup(props, _ref) {
3488
+ var _props$column;
3660
3489
  var emit = _ref.emit;
3661
- var _a, _b;
3662
3490
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
3663
3491
  resolveClassName = _usePrefix.resolveClassName;
3664
- var defSort = ((_b = (_a = props.column) === null || _a === void 0 ? void 0 : _a.sort) === null || _b === void 0 ? void 0 : _b.value) || props.defaultSort || SORT_OPTION.NULL;
3492
+ var defSort = ((_props$column = props.column) === null || _props$column === void 0 || (_props$column = _props$column.sort) === null || _props$column === void 0 ? void 0 : _props$column.value) || props.defaultSort || SORT_OPTION.NULL;
3665
3493
  var sortType = (0,external_vue_namespaceObject.ref)(defSort);
3666
3494
  (0,external_vue_namespaceObject.watch)(function () {
3667
3495
  return [props.defaultSort];
@@ -3676,7 +3504,6 @@ const _namespaceObject = _x({ ["AngleDownFill"]: () => __WEBPACK_EXTERNAL_MODULE
3676
3504
  * @param type 排序类型
3677
3505
  */
3678
3506
  var handleSortClick = function handleSortClick(e, type) {
3679
- var _a;
3680
3507
  e.stopImmediatePropagation();
3681
3508
  e.stopPropagation();
3682
3509
  e.preventDefault();
@@ -3691,7 +3518,8 @@ const _namespaceObject = _x({ ["AngleDownFill"]: () => __WEBPACK_EXTERNAL_MODULE
3691
3518
  var execFn = getSortFn(props.column, currentSort);
3692
3519
  var sort = resolveSort(props.column.sort);
3693
3520
  if ((sort === null || sort === void 0 ? void 0 : sort.value) === 'custom') {
3694
- emit('change', (_a = sort === null || sort === void 0 ? void 0 : sort.sortFn) !== null && _a !== void 0 ? _a : execFn, currentSort);
3521
+ var _sort$sortFn;
3522
+ emit('change', (_sort$sortFn = sort === null || sort === void 0 ? void 0 : sort.sortFn) !== null && _sort$sortFn !== void 0 ? _sort$sortFn : execFn, currentSort);
3695
3523
  return;
3696
3524
  }
3697
3525
  emit('change', execFn, currentSort);
@@ -3722,6 +3550,9 @@ const external_button_namespaceObject = external_button_x({ ["default"]: () => _
3722
3550
  ;// CONCATENATED MODULE: ../../packages/table/src/plugins/settings.tsx
3723
3551
 
3724
3552
 
3553
+
3554
+ function settings_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3555
+ function settings_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? settings_ownKeys(Object(source), !0).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : settings_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3725
3556
  /*
3726
3557
  * Tencent is pleased to support the open source community by making
3727
3558
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -3784,7 +3615,7 @@ function _isSlot(s) {
3784
3615
  if (typeof props.settings === 'boolean') {
3785
3616
  return {
3786
3617
  fields: props.columns.map(function (col) {
3787
- return Object.assign(Object.assign({}, col), {
3618
+ return settings_objectSpread(settings_objectSpread({}, col), {}, {
3788
3619
  field: col.field || col.type
3789
3620
  });
3790
3621
  }),
@@ -3861,8 +3692,8 @@ function _isSlot(s) {
3861
3692
  }
3862
3693
  };
3863
3694
  var isLimit = (0,external_vue_namespaceObject.computed)(function () {
3864
- var _a;
3865
- return ((_a = localSettings.value.limit) !== null && _a !== void 0 ? _a : 0) > 0;
3695
+ var _localSettings$value$;
3696
+ return ((_localSettings$value$ = localSettings.value.limit) !== null && _localSettings$value$ !== void 0 ? _localSettings$value$ : 0) > 0;
3866
3697
  });
3867
3698
  var sizeList = localSettings.value.sizeList || defaultSizeList;
3868
3699
  var isFiledDisabled = (0,external_vue_namespaceObject.computed)(function () {
@@ -3945,8 +3776,8 @@ function _isSlot(s) {
3945
3776
  }, null)]);
3946
3777
  },
3947
3778
  content: function content() {
3779
+ var _slots$default;
3948
3780
  var _slot2;
3949
- var _a;
3950
3781
  return (0,external_vue_namespaceObject.createVNode)("div", {
3951
3782
  "class": "setting-content"
3952
3783
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
@@ -3998,7 +3829,7 @@ function _isSlot(s) {
3998
3829
  "default": function _default() {
3999
3830
  return [_slot2];
4000
3831
  }
4001
- }), (_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots), showLineHeight.value ? (0,external_vue_namespaceObject.createVNode)("div", {
3832
+ }), (_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots), showLineHeight.value ? (0,external_vue_namespaceObject.createVNode)("div", {
4002
3833
  "class": "setting-body-line-height"
4003
3834
  }, [t.value.setting.lineHeight.title, (0,external_vue_namespaceObject.createTextVNode)("\uFF1A"), renderSize()]) : '']), (0,external_vue_namespaceObject.createVNode)("div", {
4004
3835
  "class": "setting-footer"
@@ -4178,6 +4009,8 @@ function _isSlot(s) {
4178
4009
 
4179
4010
 
4180
4011
 
4012
+ function render_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4013
+ function render_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? render_ownKeys(Object(source), !0).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : render_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4181
4014
  /*
4182
4015
  * Tencent is pleased to support the open source community by making
4183
4016
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -4227,7 +4060,7 @@ var TableRender = /*#__PURE__*/function () {
4227
4060
  function TableRender(props, ctx, reactiveProp, colgroups, styleRef, t) {
4228
4061
  var _this = this;
4229
4062
  _classCallCheck(this, TableRender);
4230
- this.getRowHeight = function (row, rowIndex) {
4063
+ defineProperty_defineProperty(this, "getRowHeight", function (row, rowIndex) {
4231
4064
  var _this$setting = _this.setting,
4232
4065
  size = _this$setting.size,
4233
4066
  height = _this$setting.height;
@@ -4235,22 +4068,22 @@ var TableRender = /*#__PURE__*/function () {
4235
4068
  return resolvePropVal(_this.setting, 'height', ['tbody', row, rowIndex, size]);
4236
4069
  }
4237
4070
  return resolvePropVal(_this.props, 'rowHeight', ['tbody', row, rowIndex]);
4238
- };
4239
- this.getColumnClass = function (column, colIndex) {
4071
+ });
4072
+ defineProperty_defineProperty(this, "getColumnClass", function (column, colIndex) {
4240
4073
  var _ref;
4241
4074
  return _ref = {}, defineProperty_defineProperty(_ref, "".concat(_this.uuid, "-column-").concat(colIndex), true), defineProperty_defineProperty(_ref, "column_fixed", !!column.fixed), defineProperty_defineProperty(_ref, "column_fixed_left", !!column.fixed), defineProperty_defineProperty(_ref, "column_fixed_right", column.fixed === 'right'), defineProperty_defineProperty(_ref, "".concat(column.className), true), _ref;
4242
- };
4243
- this.getHeadColumnClass = function (column, colIndex) {
4244
- return Object.assign(Object.assign({}, _this.getColumnClass(column, colIndex)), {
4075
+ });
4076
+ defineProperty_defineProperty(this, "getHeadColumnClass", function (column, colIndex) {
4077
+ return render_objectSpread(render_objectSpread({}, _this.getColumnClass(column, colIndex)), {}, {
4245
4078
  active: _this.isColActive(colIndex)
4246
4079
  });
4247
- };
4080
+ });
4248
4081
  this.props = props;
4249
4082
  this.context = ctx;
4250
4083
  this.reactiveProp = reactiveProp;
4251
4084
  this.colgroups = colgroups;
4252
4085
  this.plugins = new TablePlugins(props, ctx);
4253
- this.uuid = (0,uuid.v4)();
4086
+ this.uuid = esm_browser_v4();
4254
4087
  this.events = new Map();
4255
4088
  this.styleRef = styleRef;
4256
4089
  this.t = t;
@@ -4267,8 +4100,9 @@ var TableRender = /*#__PURE__*/function () {
4267
4100
  }, {
4268
4101
  key: "renderTableHeadSchema",
4269
4102
  value: function renderTableHeadSchema() {
4270
- var _this2 = this;
4271
- var _a, _b;
4103
+ var _this2 = this,
4104
+ _this$context$slots$s,
4105
+ _this$context$slots;
4272
4106
  var _resolveHeadConfig = resolveHeadConfig(this.props),
4273
4107
  _resolveHeadConfig$is = _resolveHeadConfig.isShow,
4274
4108
  isShow = _resolveHeadConfig$is === void 0 ? true : _resolveHeadConfig$is;
@@ -4276,14 +4110,14 @@ var TableRender = /*#__PURE__*/function () {
4276
4110
  return null;
4277
4111
  }
4278
4112
  var handleSettingsChanged = function handleSettingsChanged(arg) {
4279
- var _a;
4113
+ var _this2$props$settings;
4280
4114
  var _arg$checked = arg.checked,
4281
4115
  checked = _arg$checked === void 0 ? [] : _arg$checked,
4282
4116
  size = arg.size,
4283
4117
  height = arg.height;
4284
4118
  _this2.reactiveProp.setting.size = size;
4285
4119
  _this2.reactiveProp.setting.height = height;
4286
- var settingFields = ((_a = _this2.props.settings) === null || _a === void 0 ? void 0 : _a.fields) || [];
4120
+ var settingFields = ((_this2$props$settings = _this2.props.settings) === null || _this2$props$settings === void 0 ? void 0 : _this2$props$settings.fields) || [];
4287
4121
  if (checked.length) {
4288
4122
  _this2.colgroups.forEach(function (col) {
4289
4123
  col.isHidden = isColumnHidden(settingFields, col, checked);
@@ -4299,7 +4133,7 @@ var TableRender = /*#__PURE__*/function () {
4299
4133
  "onChange": handleSettingsChanged
4300
4134
  }, {
4301
4135
  "default": function _default() {
4302
- return [(_b = (_a = _this2.context.slots).setting) === null || _b === void 0 ? void 0 : _b.call(_a)];
4136
+ return [(_this$context$slots$s = (_this$context$slots = _this2.context.slots).setting) === null || _this$context$slots$s === void 0 ? void 0 : _this$context$slots$s.call(_this$context$slots)];
4303
4137
  }
4304
4138
  }) : '', (0,external_vue_namespaceObject.createVNode)("table", {
4305
4139
  "cellpadding": 0,
@@ -4315,7 +4149,6 @@ var TableRender = /*#__PURE__*/function () {
4315
4149
  key: "renderTableBodySchema",
4316
4150
  value: function renderTableBodySchema(rows) {
4317
4151
  var _this3 = this;
4318
- var _a, _b, _c;
4319
4152
  var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
4320
4153
  if (_this3.props.emptyText === undefined) {
4321
4154
  return _this3.t.value.emptyText;
@@ -4323,7 +4156,8 @@ var TableRender = /*#__PURE__*/function () {
4323
4156
  return _this3.props.emptyText;
4324
4157
  });
4325
4158
  if (!rows.length) {
4326
- return (_c = (_b = (_a = this.context.slots).empty) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : (0,external_vue_namespaceObject.createVNode)(body_empty, {
4159
+ var _this$context$slots$e, _this$context$slots$e2, _this$context$slots2;
4160
+ return (_this$context$slots$e = (_this$context$slots$e2 = (_this$context$slots2 = this.context.slots).empty) === null || _this$context$slots$e2 === void 0 ? void 0 : _this$context$slots$e2.call(_this$context$slots2)) !== null && _this$context$slots$e !== void 0 ? _this$context$slots$e : (0,external_vue_namespaceObject.createVNode)(body_empty, {
4327
4161
  "filterList": rows,
4328
4162
  "list": this.props.data,
4329
4163
  "emptyText": localEmptyText.value
@@ -4351,14 +4185,15 @@ var TableRender = /*#__PURE__*/function () {
4351
4185
  }
4352
4186
  }), null);
4353
4187
  }
4188
+ }, {
4189
+ key: "on",
4190
+ value:
4354
4191
  /**
4355
4192
  * 注册监听事件
4356
4193
  * @param eventName
4357
4194
  * @param watcher
4358
4195
  */
4359
- }, {
4360
- key: "on",
4361
- value: function on(eventName, watcher) {
4196
+ function on(eventName, watcher) {
4362
4197
  if (!this.events.has(eventName)) {
4363
4198
  this.events.set(eventName, []);
4364
4199
  }
@@ -4613,9 +4448,9 @@ var TableRender = /*#__PURE__*/function () {
4613
4448
  }, [(0,external_vue_namespaceObject.createVNode)(table_row, null, {
4614
4449
  "default": function _default() {
4615
4450
  return [(0,external_vue_namespaceObject.createVNode)("tr", null, [_this8.filterColGroups.map(function (column, index) {
4616
- var _a, _b;
4451
+ var _this8$props$thead$co, _this8$props$thead;
4617
4452
  var headStyle = Object.assign({}, resolveFixedColumnStyle(column, _this8.styleRef.value.hasScrollY), {
4618
- '--background-color': DEF_COLOR[(_b = (_a = _this8.props.thead) === null || _a === void 0 ? void 0 : _a.color) !== null && _b !== void 0 ? _b : IHeadColor.DEF1]
4453
+ '--background-color': DEF_COLOR[(_this8$props$thead$co = (_this8$props$thead = _this8.props.thead) === null || _this8$props$thead === void 0 ? void 0 : _this8$props$thead.color) !== null && _this8$props$thead$co !== void 0 ? _this8$props$thead$co : IHeadColor.DEF1]
4619
4454
  });
4620
4455
  return (0,external_vue_namespaceObject.createVNode)("th", (0,external_vue_namespaceObject.mergeProps)({
4621
4456
  "colspan": 1,
@@ -4685,7 +4520,7 @@ var TableRender = /*#__PURE__*/function () {
4685
4520
  return _this9.handleRowLeave(e, row, rowIndex, rows);
4686
4521
  }
4687
4522
  }, [_this9.filterColGroups.map(function (column, index) {
4688
- var _a, _b;
4523
+ var _row$skipRowKey$colum, _row$skipRowKey;
4689
4524
  var cellStyle = [resolveFixedColumnStyle(column)].concat(_toConsumableArray(formatPropAsArray(_this9.props.cellStyle, [column, index, row, rowIndex, _this9])));
4690
4525
  var tdCtxClass = {
4691
4526
  'expand-cell': column.type === 'expand'
@@ -4695,7 +4530,7 @@ var TableRender = /*#__PURE__*/function () {
4695
4530
  rowspan = _resolveCellSpan.rowspan;
4696
4531
  var skipRowKey = const_TABLE_ROW_ATTRIBUTE.ROW_SKIP_CFG;
4697
4532
  var columnIdKey = column[COLUMN_ATTRIBUTE.COL_UID];
4698
- var _ref2 = (_b = (_a = row[skipRowKey]) === null || _a === void 0 ? void 0 : _a[columnIdKey]) !== null && _b !== void 0 ? _b : {},
4533
+ var _ref2 = (_row$skipRowKey$colum = (_row$skipRowKey = row[skipRowKey]) === null || _row$skipRowKey === void 0 ? void 0 : _row$skipRowKey[columnIdKey]) !== null && _row$skipRowKey$colum !== void 0 ? _row$skipRowKey$colum : {},
4699
4534
  _ref2$skipRow = _ref2.skipRow,
4700
4535
  skipRow = _ref2$skipRow === void 0 ? false : _ref2$skipRow,
4701
4536
  _ref2$skipCol = _ref2.skipCol,
@@ -4754,9 +4589,9 @@ var TableRender = /*#__PURE__*/function () {
4754
4589
  key: "renderExpandRow",
4755
4590
  value: function renderExpandRow(row, rowClass, rowIndex) {
4756
4591
  var _this10 = this;
4757
- var _a, _b, _c;
4758
4592
  var isExpand = !!row[const_TABLE_ROW_ATTRIBUTE.ROW_EXPAND];
4759
4593
  if (isExpand) {
4594
+ var _this$context$slots$e3, _this$context$slots$e4, _this$context$slots3;
4760
4595
  var resovledClass = [].concat(_toConsumableArray(rowClass), [{
4761
4596
  row_expend: true
4762
4597
  }]);
@@ -4771,13 +4606,16 @@ var TableRender = /*#__PURE__*/function () {
4771
4606
  }, [(0,external_vue_namespaceObject.createVNode)("td", {
4772
4607
  "colspan": _this10.filterColGroups.length,
4773
4608
  "rowspan": 1
4774
- }, [(_c = (_b = (_a = _this10.context.slots).expandRow) === null || _b === void 0 ? void 0 : _b.call(_a, getRowSourceData(row))) !== null && _c !== void 0 ? _c : (0,external_vue_namespaceObject.createVNode)("div", {
4609
+ }, [(_this$context$slots$e3 = (_this$context$slots$e4 = (_this$context$slots3 = _this10.context.slots).expandRow) === null || _this$context$slots$e4 === void 0 ? void 0 : _this$context$slots$e4.call(_this$context$slots3, getRowSourceData(row))) !== null && _this$context$slots$e3 !== void 0 ? _this$context$slots$e3 : (0,external_vue_namespaceObject.createVNode)("div", {
4775
4610
  "class": "expand-cell-ctx"
4776
4611
  }, [(0,external_vue_namespaceObject.createTextVNode)("Expand Row")])])])];
4777
4612
  }
4778
4613
  });
4779
4614
  }
4780
4615
  }
4616
+ }, {
4617
+ key: "handleRowClick",
4618
+ value:
4781
4619
  /**
4782
4620
  * table row click handle
4783
4621
  * @param e
@@ -4785,9 +4623,7 @@ var TableRender = /*#__PURE__*/function () {
4785
4623
  * @param index
4786
4624
  * @param rows
4787
4625
  */
4788
- }, {
4789
- key: "handleRowClick",
4790
- value: function handleRowClick(e, row, index, rows) {
4626
+ function handleRowClick(e, row, index, rows) {
4791
4627
  this.context.emit(EMIT_EVENTS.ROW_CLICK, e, row, index, rows, this);
4792
4628
  }
4793
4629
  /**
@@ -4832,11 +4668,11 @@ var TableRender = /*#__PURE__*/function () {
4832
4668
  }, {
4833
4669
  key: "renderCellCallbackFn",
4834
4670
  value: function renderCellCallbackFn(row, column, index, rows) {
4835
- var _a;
4671
+ var _row$TABLE_ROW_ATTRIB;
4836
4672
  var cell = getRowText(row, resolvePropVal(column, 'field', [column, row]), column);
4837
4673
  var attrIndex = row[const_TABLE_ROW_ATTRIBUTE.ROW_INDEX];
4838
4674
  var rowIndex = typeof attrIndex === 'number' ? attrIndex : index;
4839
- var data = (_a = row[const_TABLE_ROW_ATTRIBUTE.ROW_SOURCE_DATA]) !== null && _a !== void 0 ? _a : this.props.data[rowIndex];
4675
+ var data = (_row$TABLE_ROW_ATTRIB = row[const_TABLE_ROW_ATTRIBUTE.ROW_SOURCE_DATA]) !== null && _row$TABLE_ROW_ATTRIB !== void 0 ? _row$TABLE_ROW_ATTRIB : this.props.data[rowIndex];
4840
4676
  return column.render({
4841
4677
  cell: cell,
4842
4678
  data: data,
@@ -4877,16 +4713,16 @@ var TableRender = /*#__PURE__*/function () {
4877
4713
  value: function renderExpandColumn(row, column, index, rows) {
4878
4714
  var _this12 = this;
4879
4715
  var renderExpandSlot = function renderExpandSlot() {
4880
- var _a, _b, _c;
4716
+ var _this12$context$slots, _this12$context$slots2, _this12$context$slots3;
4881
4717
  if (typeof column.render === 'function') {
4882
4718
  return _this12.renderCellCallbackFn(row, column, index, rows);
4883
4719
  }
4884
- return (_c = (_b = (_a = _this12.context.slots).expandCell) === null || _b === void 0 ? void 0 : _b.call(_a, {
4720
+ return (_this12$context$slots = (_this12$context$slots2 = (_this12$context$slots3 = _this12.context.slots).expandCell) === null || _this12$context$slots2 === void 0 ? void 0 : _this12$context$slots2.call(_this12$context$slots3, {
4885
4721
  row: row,
4886
4722
  column: column,
4887
4723
  index: index,
4888
4724
  rows: rows
4889
- })) !== null && _c !== void 0 ? _c : _this12.getExpandCell(row);
4725
+ })) !== null && _this12$context$slots !== void 0 ? _this12$context$slots : _this12.getExpandCell(row);
4890
4726
  };
4891
4727
  return (0,external_vue_namespaceObject.createVNode)("span", {
4892
4728
  "class": "expand-btn-action",
@@ -4906,8 +4742,9 @@ var TableRender = /*#__PURE__*/function () {
4906
4742
  }, {
4907
4743
  key: "renderCell",
4908
4744
  value: function renderCell(row, column, index, rows) {
4909
- var _this13 = this;
4910
- var _a, _b;
4745
+ var _this13 = this,
4746
+ _renderFn$column$type,
4747
+ _renderFn$column$type2;
4911
4748
  var defaultFn = function defaultFn() {
4912
4749
  var key = resolvePropVal(column, 'field', [column, row]);
4913
4750
  var cell = getRowText(row, key, column);
@@ -4939,7 +4776,7 @@ var TableRender = /*#__PURE__*/function () {
4939
4776
  return _this13.renderCheckboxColumn(row, index);
4940
4777
  }
4941
4778
  };
4942
- return (_b = (_a = renderFn[column.type]) === null || _a === void 0 ? void 0 : _a.call(renderFn, row, column, index, rows)) !== null && _b !== void 0 ? _b : defaultFn();
4779
+ 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();
4943
4780
  }
4944
4781
  /**
4945
4782
  * 判定指定列是否为选中状态
@@ -5054,24 +4891,24 @@ var TableRender = /*#__PURE__*/function () {
5054
4891
  }
5055
4892
  };
5056
4893
  var getColumns = function getColumns() {
5057
- var _a;
5058
- if (targetColumns === null || targetColumns === void 0 ? void 0 : targetColumns.length) {
4894
+ var _props$columns;
4895
+ if (targetColumns !== null && targetColumns !== void 0 && targetColumns.length) {
5059
4896
  return targetColumns;
5060
4897
  }
5061
- if ((_a = props.columns) === null || _a === void 0 ? void 0 : _a.length) {
4898
+ if ((_props$columns = props.columns) !== null && _props$columns !== void 0 && _props$columns.length) {
5062
4899
  return props.columns;
5063
4900
  }
5064
4901
  return [];
5065
4902
  };
5066
4903
  var getActiveColumn = function getActiveColumn() {
5067
- var _a;
5068
4904
  if (props.colSortBehavior === IColSortBehavior.independent) {
4905
+ var _getColumns$filter;
5069
4906
  var filters = [SORT_OPTION.ASC, SORT_OPTION.DESC];
5070
4907
  // @ts-ignore
5071
- return (_a = getColumns().filter(function (col) {
5072
- var _a;
5073
- return filters.includes((_a = col.sort) === null || _a === void 0 ? void 0 : _a.value);
5074
- })) === null || _a === void 0 ? void 0 : _a[0];
4908
+ return (_getColumns$filter = getColumns().filter(function (col) {
4909
+ var _col$sort;
4910
+ return filters.includes((_col$sort = col.sort) === null || _col$sort === void 0 ? void 0 : _col$sort.value);
4911
+ })) === null || _getColumns$filter === void 0 ? void 0 : _getColumns$filter[0];
5075
4912
  }
5076
4913
  return null;
5077
4914
  };
@@ -5212,13 +5049,13 @@ var use_active_columns_resolveActiveColumns = function resolveActiveColumns(prop
5212
5049
  var dragStartOffsetX = 0;
5213
5050
  var dragOffsetX = (0,external_vue_namespaceObject.ref)(-1000);
5214
5051
  var handleMouseUp = function handleMouseUp(e) {
5215
- var _a;
5052
+ var _dragColumn$resizeWid;
5216
5053
  isMouseDown = false;
5217
5054
  isDraging = false;
5218
5055
  var bodyStyle = document.body.style;
5219
5056
  bodyStyle.cursor = '';
5220
5057
  var diff = e.clientX - startX;
5221
- var resolveWidth = ((_a = dragColumn.resizeWidth) !== null && _a !== void 0 ? _a : dragColumn.calcWidth) + diff;
5058
+ var resolveWidth = ((_dragColumn$resizeWid = dragColumn.resizeWidth) !== null && _dragColumn$resizeWid !== void 0 ? _dragColumn$resizeWid : dragColumn.calcWidth) + diff;
5222
5059
  var minWidth = Number(dragColumn.minWidth);
5223
5060
  dragColumn.resizeWidth = resolveWidth > minWidth ? resolveWidth : minWidth;
5224
5061
  document.removeEventListener('mouseup', handleMouseUp);
@@ -5233,9 +5070,9 @@ var use_active_columns_resolveActiveColumns = function resolveActiveColumns(prop
5233
5070
  };
5234
5071
  var updateOffsetX = function updateOffsetX(e) {
5235
5072
  return (0,external_lodash_namespaceObject.throttle)(function () {
5236
- var _a;
5073
+ var _dragColumn$resizeWid2;
5237
5074
  var diff = e.clientX - startX;
5238
- var resolveWidth = ((_a = dragColumn.resizeWidth) !== null && _a !== void 0 ? _a : dragColumn.calcWidth) + diff;
5075
+ var resolveWidth = ((_dragColumn$resizeWid2 = dragColumn.resizeWidth) !== null && _dragColumn$resizeWid2 !== void 0 ? _dragColumn$resizeWid2 : dragColumn.calcWidth) + diff;
5239
5076
  var minWidth = Number(dragColumn.minWidth);
5240
5077
  if (minWidth < resolveWidth) {
5241
5078
  dragOffsetX.value = e.clientX - startX + dragStartOffsetX;
@@ -5248,10 +5085,10 @@ var use_active_columns_resolveActiveColumns = function resolveActiveColumns(prop
5248
5085
  updateOffsetX(e)();
5249
5086
  };
5250
5087
  var setChildrenNodeCursor = function setChildrenNodeCursor(root, cursor) {
5251
- var _a, _b;
5252
5088
  if ((0,external_lodash_namespaceObject.isElement)(root)) {
5253
- (_a = root.style) === null || _a === void 0 ? void 0 : _a.setProperty('cursor', cursor);
5254
- if (((_b = root.childNodes) === null || _b === void 0 ? void 0 : _b.length) > 0) {
5089
+ var _root$style, _root$childNodes;
5090
+ (_root$style = root.style) === null || _root$style === void 0 ? void 0 : _root$style.setProperty('cursor', cursor);
5091
+ if (((_root$childNodes = root.childNodes) === null || _root$childNodes === void 0 ? void 0 : _root$childNodes.length) > 0) {
5255
5092
  root.childNodes.forEach(function (node) {
5256
5093
  return setChildrenNodeCursor(node, cursor);
5257
5094
  });
@@ -5491,14 +5328,15 @@ var useClass = function useClass(props, targetColumns, root, reactiveProp, pageD
5491
5328
  maxHeight: ''
5492
5329
  });
5493
5330
  var getHeadHeight = function getHeadHeight(rootEl) {
5494
- var _a, _b, _c;
5495
5331
  if (props.showHead) {
5332
+ var _ref, _head$offsetHeight;
5496
5333
  if (!rootEl) {
5497
- return (_a = resolvePropHeight(props.headHeight, LINE_HEIGHT)) !== null && _a !== void 0 ? _a : 0;
5334
+ var _resolvePropHeight;
5335
+ return (_resolvePropHeight = resolvePropHeight(props.headHeight, LINE_HEIGHT)) !== null && _resolvePropHeight !== void 0 ? _resolvePropHeight : 0;
5498
5336
  }
5499
5337
  var selector = (0,external_shared_namespaceObject.resolveClassName)('table-head');
5500
5338
  var head = rootEl.querySelector(selector);
5501
- return (_c = (_b = head === null || head === void 0 ? void 0 : head.offsetHeight) !== null && _b !== void 0 ? _b : resolvePropHeight(props.headHeight, LINE_HEIGHT)) !== null && _c !== void 0 ? _c : 0;
5339
+ return (_ref = (_head$offsetHeight = head === null || head === void 0 ? void 0 : head.offsetHeight) !== null && _head$offsetHeight !== void 0 ? _head$offsetHeight : resolvePropHeight(props.headHeight, LINE_HEIGHT)) !== null && _ref !== void 0 ? _ref : 0;
5502
5340
  }
5503
5341
  return 0;
5504
5342
  };
@@ -5529,7 +5367,7 @@ var useClass = function useClass(props, targetColumns, root, reactiveProp, pageD
5529
5367
  var resolveMaxHeight = resolvePropHeight(props.maxHeight);
5530
5368
  return resolveContentHeight(resolveMaxHeight, headHeight.value, resolveFooterHeight);
5531
5369
  });
5532
- contentStyle.display = (pageData === null || pageData === void 0 ? void 0 : pageData.length) ? 'block' : false;
5370
+ contentStyle.display = pageData !== null && pageData !== void 0 && pageData.length ? 'block' : false;
5533
5371
  contentStyle.minHeight = "".concat(minHeight, "px");
5534
5372
  contentStyle.height = contentHeight;
5535
5373
  contentStyle.maxHeight = maxHeight;
@@ -5538,16 +5376,16 @@ var useClass = function useClass(props, targetColumns, root, reactiveProp, pageD
5538
5376
  resetTableHeight(root === null || root === void 0 ? void 0 : root.value);
5539
5377
  });
5540
5378
  var resetTableHeight = function resetTableHeight(rootEl) {
5541
- var _a, _b;
5542
5379
  if (rootEl) {
5380
+ var _tableBody$offsetHeig, _tableBodyContent$off;
5543
5381
  var _headHeight = getHeadHeight(rootEl);
5544
5382
  var contentselector = ".".concat((0,external_shared_namespaceObject.resolveClassName)('table-body-content'), " > table");
5545
5383
  var bodySelector = ".".concat((0,external_shared_namespaceObject.resolveClassName)('table-body'));
5546
5384
  var tableBody = rootEl.querySelector(bodySelector);
5547
5385
  var tableBodyContent = rootEl.querySelector(contentselector);
5548
5386
  resolveContentStyle(rootEl);
5549
- maxFixHeight.value = ((_a = tableBody === null || tableBody === void 0 ? void 0 : tableBody.offsetHeight) !== null && _a !== void 0 ? _a : LINE_HEIGHT * 10) + _headHeight;
5550
- fixHeight.value = ((_b = tableBodyContent === null || tableBodyContent === void 0 ? void 0 : tableBodyContent.offsetHeight) !== null && _b !== void 0 ? _b : LINE_HEIGHT * 10) + _headHeight;
5387
+ maxFixHeight.value = ((_tableBody$offsetHeig = tableBody === null || tableBody === void 0 ? void 0 : tableBody.offsetHeight) !== null && _tableBody$offsetHeig !== void 0 ? _tableBody$offsetHeig : LINE_HEIGHT * 10) + _headHeight;
5388
+ fixHeight.value = ((_tableBodyContent$off = tableBodyContent === null || tableBodyContent === void 0 ? void 0 : tableBodyContent.offsetHeight) !== null && _tableBodyContent$off !== void 0 ? _tableBodyContent$off : LINE_HEIGHT * 10) + _headHeight;
5551
5389
  updateBorderClass(rootEl);
5552
5390
  }
5553
5391
  };
@@ -5597,7 +5435,7 @@ var useClass = function useClass(props, targetColumns, root, reactiveProp, pageD
5597
5435
  * @param targetColumns 解析之后的column配置(主要用来处理通过<bk-column>配置的数据结构)
5598
5436
  */
5599
5437
  var useInit = function useInit(props, targetColumns) {
5600
- var _a, _b;
5438
+ var _props$settings4, _props$settings5;
5601
5439
  var colgroups = (0,external_vue_namespaceObject.reactive)([]);
5602
5440
  var _useColumn2 = use_column(props, targetColumns),
5603
5441
  getColumns = _useColumn2.getColumns;
@@ -5618,9 +5456,9 @@ var useInit = function useInit(props, targetColumns) {
5618
5456
  return getColumns();
5619
5457
  });
5620
5458
  var updateColGroups = function updateColGroups(settings) {
5621
- var _a, _b;
5622
- var checked = (settings === null || settings === void 0 ? void 0 : settings.checked) || ((_a = props.settings) === null || _a === void 0 ? void 0 : _a.checked) || [];
5623
- var settingFields = (settings === null || settings === void 0 ? void 0 : settings.fields) || ((_b = props.settings) === null || _b === void 0 ? void 0 : _b.fields) || [];
5459
+ var _props$settings, _props$settings2;
5460
+ var checked = (settings === null || settings === void 0 ? void 0 : settings.checked) || ((_props$settings = props.settings) === null || _props$settings === void 0 ? void 0 : _props$settings.checked) || [];
5461
+ var settingFields = (settings === null || settings === void 0 ? void 0 : settings.fields) || ((_props$settings2 = props.settings) === null || _props$settings2 === void 0 ? void 0 : _props$settings2.fields) || [];
5624
5462
  colgroups.length = 0;
5625
5463
  colgroups.push.apply(colgroups, _toConsumableArray(resolvedColumns.value.map(function (col) {
5626
5464
  var _Object$assign;
@@ -5630,7 +5468,7 @@ var useInit = function useInit(props, targetColumns) {
5630
5468
  minWidth: resolveMinWidth(col),
5631
5469
  listeners: new Map(),
5632
5470
  isHidden: isColumnHidden(settingFields, col, checked)
5633
- }, defineProperty_defineProperty(_Object$assign, COLUMN_ATTRIBUTE.COL_UID, (0,uuid.v4)()), defineProperty_defineProperty(_Object$assign, COLUMN_ATTRIBUTE.COL_SOURCE_DATA, col), _Object$assign));
5471
+ }, defineProperty_defineProperty(_Object$assign, COLUMN_ATTRIBUTE.COL_UID, esm_browser_v4()), defineProperty_defineProperty(_Object$assign, COLUMN_ATTRIBUTE.COL_SOURCE_DATA, col), _Object$assign));
5634
5472
  })));
5635
5473
  };
5636
5474
  if (typeof_typeof(props.settings) === 'object') {
@@ -5646,8 +5484,8 @@ var useInit = function useInit(props, targetColumns) {
5646
5484
  (0,external_vue_namespaceObject.watch)(function () {
5647
5485
  return [props.settings];
5648
5486
  }, function () {
5649
- var _a;
5650
- if ((((_a = props.settings) === null || _a === void 0 ? void 0 : _a.checked) || []).length) {
5487
+ var _props$settings3;
5488
+ if ((((_props$settings3 = props.settings) === null || _props$settings3 === void 0 ? void 0 : _props$settings3.checked) || []).length) {
5651
5489
  updateColGroups();
5652
5490
  }
5653
5491
  });
@@ -5682,15 +5520,15 @@ var useInit = function useInit(props, targetColumns) {
5682
5520
  activeColumns: activeColumns,
5683
5521
  settings: props.settings,
5684
5522
  setting: {
5685
- size: (_a = props.settings) === null || _a === void 0 ? void 0 : _a.size,
5686
- height: SETTING_SIZE[(_b = props.settings) === null || _b === void 0 ? void 0 : _b.size]
5523
+ size: (_props$settings4 = props.settings) === null || _props$settings4 === void 0 ? void 0 : _props$settings4.size,
5524
+ height: SETTING_SIZE[(_props$settings5 = props.settings) === null || _props$settings5 === void 0 ? void 0 : _props$settings5.size]
5687
5525
  },
5688
5526
  defaultSort: defSort || props.defaultSort
5689
5527
  });
5690
5528
  var isRowExpand = function isRowExpand(rowId) {
5691
- var _a;
5692
5529
  if (reactiveSchema.rowActions.has(rowId)) {
5693
- return (_a = reactiveSchema.rowActions.get(rowId)) === null || _a === void 0 ? void 0 : _a.isExpand;
5530
+ var _reactiveSchema$rowAc;
5531
+ return (_reactiveSchema$rowAc = reactiveSchema.rowActions.get(rowId)) === null || _reactiveSchema$rowAc === void 0 ? void 0 : _reactiveSchema$rowAc.isExpand;
5694
5532
  }
5695
5533
  return false;
5696
5534
  };
@@ -5701,11 +5539,11 @@ var useInit = function useInit(props, targetColumns) {
5701
5539
  reactiveSchema.defaultSort = defSort || props.defaultSort;
5702
5540
  };
5703
5541
  var setRowExpand = function setRowExpand(row) {
5542
+ var _reactiveSchema$rowAc2;
5704
5543
  var expand = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
5705
- var _a;
5706
5544
  var rowId = row[const_TABLE_ROW_ATTRIBUTE.ROW_UID];
5707
5545
  var isExpand = typeof expand === 'boolean' ? expand : !isRowExpand(rowId);
5708
- reactiveSchema.rowActions.set(rowId, Object.assign({}, (_a = reactiveSchema.rowActions.get(rowId)) !== null && _a !== void 0 ? _a : {}, {
5546
+ reactiveSchema.rowActions.set(rowId, Object.assign({}, (_reactiveSchema$rowAc2 = reactiveSchema.rowActions.get(rowId)) !== null && _reactiveSchema$rowAc2 !== void 0 ? _reactiveSchema$rowAc2 : {}, {
5709
5547
  isExpand: isExpand
5710
5548
  }));
5711
5549
  updateIndexData();
@@ -5713,10 +5551,10 @@ var useInit = function useInit(props, targetColumns) {
5713
5551
  var setAllRowExpand = function setAllRowExpand() {
5714
5552
  var expand = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
5715
5553
  indexData.forEach(function (item) {
5716
- var _a;
5554
+ var _reactiveSchema$rowAc3;
5717
5555
  var rowId = item[const_TABLE_ROW_ATTRIBUTE.ROW_UID];
5718
5556
  var isExpand = typeof expand === 'boolean' ? expand : !isRowExpand(rowId);
5719
- reactiveSchema.rowActions.set(rowId, Object.assign({}, (_a = reactiveSchema.rowActions.get(rowId)) !== null && _a !== void 0 ? _a : {}, {
5557
+ reactiveSchema.rowActions.set(rowId, Object.assign({}, (_reactiveSchema$rowAc3 = reactiveSchema.rowActions.get(rowId)) !== null && _reactiveSchema$rowAc3 !== void 0 ? _reactiveSchema$rowAc3 : {}, {
5720
5558
  isExpand: isExpand
5721
5559
  }));
5722
5560
  });
@@ -5740,9 +5578,9 @@ var useInit = function useInit(props, targetColumns) {
5740
5578
  };
5741
5579
  var validateSelectionFn = function validateSelectionFn(row) {
5742
5580
  var rowId = row[const_TABLE_ROW_ATTRIBUTE.ROW_UID];
5743
- var _ref = reactiveSchema.rowActions.get(rowId) || {},
5744
- _ref$isSelected = _ref.isSelected,
5745
- isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected;
5581
+ var _ref2 = reactiveSchema.rowActions.get(rowId) || {},
5582
+ _ref2$isSelected = _ref2.isSelected,
5583
+ isSelected = _ref2$isSelected === void 0 ? false : _ref2$isSelected;
5746
5584
  return isSelected;
5747
5585
  };
5748
5586
  /**
@@ -5794,14 +5632,14 @@ var useInit = function useInit(props, targetColumns) {
5794
5632
  reactiveSchema.rowActions.set(const_TABLE_ROW_ATTRIBUTE.ROW_SELECTION_ALL, isChecked);
5795
5633
  reactiveSchema.rowActions.set(const_TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, false);
5796
5634
  indexData.forEach(function (row, index) {
5797
- var _a;
5798
5635
  if (isRowSelectEnable(props, {
5799
5636
  row: row,
5800
5637
  index: index,
5801
5638
  isCheckAll: false
5802
5639
  })) {
5640
+ var _reactiveSchema$rowAc4;
5803
5641
  var rowId = row[const_TABLE_ROW_ATTRIBUTE.ROW_UID];
5804
- var target = Object.assign({}, (_a = reactiveSchema.rowActions.get(rowId)) !== null && _a !== void 0 ? _a : {}, {
5642
+ var target = Object.assign({}, (_reactiveSchema$rowAc4 = reactiveSchema.rowActions.get(rowId)) !== null && _reactiveSchema$rowAc4 !== void 0 ? _reactiveSchema$rowAc4 : {}, {
5805
5643
  isSelected: isChecked
5806
5644
  });
5807
5645
  reactiveSchema.rowActions.set(rowId, target);
@@ -5820,11 +5658,11 @@ var useInit = function useInit(props, targetColumns) {
5820
5658
  * @param selected
5821
5659
  */
5822
5660
  var toggleRowSelection = function toggleRowSelection(row, selected) {
5823
- var _a;
5824
5661
  var rowId = row[const_TABLE_ROW_ATTRIBUTE.ROW_UID];
5825
5662
  if (rowId) {
5663
+ var _reactiveSchema$rowAc5;
5826
5664
  var isSelected = typeof selected === 'boolean' ? selected : !resolveSelection(row, rowId);
5827
- var target = Object.assign({}, (_a = reactiveSchema.rowActions.get(rowId)) !== null && _a !== void 0 ? _a : {}, {
5665
+ var target = Object.assign({}, (_reactiveSchema$rowAc5 = reactiveSchema.rowActions.get(rowId)) !== null && _reactiveSchema$rowAc5 !== void 0 ? _reactiveSchema$rowAc5 : {}, {
5828
5666
  isSelected: isSelected
5829
5667
  });
5830
5668
  reactiveSchema.rowActions.set(rowId, target);
@@ -5868,7 +5706,6 @@ var useInit = function useInit(props, targetColumns) {
5868
5706
  */
5869
5707
  var resolveSelection = function resolveSelection(row, _rowId, index) {
5870
5708
  return resolveSelectionRow(row, function () {
5871
- var _a;
5872
5709
  var rowId = _rowId === undefined ? row[const_TABLE_ROW_ATTRIBUTE.ROW_UID] : _rowId;
5873
5710
  if (isRowSelectEnable(props, {
5874
5711
  row: row,
@@ -5878,7 +5715,8 @@ var useInit = function useInit(props, targetColumns) {
5878
5715
  return true;
5879
5716
  }
5880
5717
  if (reactiveSchema.rowActions.has(rowId)) {
5881
- return (_a = reactiveSchema.rowActions.get(rowId)) === null || _a === void 0 ? void 0 : _a.isSelected;
5718
+ var _reactiveSchema$rowAc6;
5719
+ return (_reactiveSchema$rowAc6 = reactiveSchema.rowActions.get(rowId)) === null || _reactiveSchema$rowAc6 === void 0 ? void 0 : _reactiveSchema$rowAc6.isSelected;
5882
5720
  }
5883
5721
  return false;
5884
5722
  });
@@ -5912,7 +5750,7 @@ var useInit = function useInit(props, targetColumns) {
5912
5750
  indexData.length = 0;
5913
5751
  var resolvedData = props.data.map(function (d) {
5914
5752
  var _Object$assign3;
5915
- var target = Object.assign({}, d, (_Object$assign3 = {}, defineProperty_defineProperty(_Object$assign3, const_TABLE_ROW_ATTRIBUTE.ROW_UID, (0,uuid.v4)()), defineProperty_defineProperty(_Object$assign3, const_TABLE_ROW_ATTRIBUTE.ROW_SOURCE_DATA, d), _Object$assign3));
5753
+ var target = Object.assign({}, d, (_Object$assign3 = {}, defineProperty_defineProperty(_Object$assign3, const_TABLE_ROW_ATTRIBUTE.ROW_UID, esm_browser_v4()), defineProperty_defineProperty(_Object$assign3, const_TABLE_ROW_ATTRIBUTE.ROW_SOURCE_DATA, d), _Object$assign3));
5916
5754
  indexData.push(target);
5917
5755
  return target;
5918
5756
  });
@@ -5992,19 +5830,19 @@ var useInit = function useInit(props, targetColumns) {
5992
5830
  }
5993
5831
  };
5994
5832
  var getSkipConfig = function getSkipConfig(row, rowId, rowIndex, skipCfg, preRowId) {
5995
- var _a;
5833
+ var _skipCfg$preRowId;
5996
5834
  var skipColumnNum = 0;
5997
- var preRowConfig = (_a = skipCfg[preRowId]) !== null && _a !== void 0 ? _a : {};
5835
+ var preRowConfig = (_skipCfg$preRowId = skipCfg[preRowId]) !== null && _skipCfg$preRowId !== void 0 ? _skipCfg$preRowId : {};
5998
5836
  if (!skipCfg[rowId]) {
5999
5837
  skipCfg[rowId] = {};
6000
5838
  }
6001
5839
  colgroups.forEach(function (column, index) {
6002
- var _a, _b;
5840
+ var _preRowConfig$colId$s, _preRowConfig$colId;
6003
5841
  var _resolveCellSpan = resolveCellSpan(column, index, row, rowIndex),
6004
5842
  colspan = _resolveCellSpan.colspan,
6005
5843
  rowspan = _resolveCellSpan.rowspan;
6006
5844
  var colId = column[COLUMN_ATTRIBUTE.COL_UID];
6007
- var preRowColSkipLen = (_b = (_a = preRowConfig[colId]) === null || _a === void 0 ? void 0 : _a.skipRowLen) !== null && _b !== void 0 ? _b : 0;
5845
+ var preRowColSkipLen = (_preRowConfig$colId$s = (_preRowConfig$colId = preRowConfig[colId]) === null || _preRowConfig$colId === void 0 ? void 0 : _preRowConfig$colId.skipRowLen) !== null && _preRowConfig$colId$s !== void 0 ? _preRowConfig$colId$s : 0;
6008
5846
  var target = defineProperty_defineProperty({}, colId, {
6009
5847
  skipRowLen: 0,
6010
5848
  skipRow: false,
@@ -6101,6 +5939,8 @@ var useInit = function useInit(props, targetColumns) {
6101
5939
  ;// CONCATENATED MODULE: ../../packages/table/src/table.tsx
6102
5940
 
6103
5941
 
5942
+ function table_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5943
+ function table_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? table_ownKeys(Object(source), !0).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : table_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6104
5944
  /*
6105
5945
  * Tencent is pleased to support the open source community by making
6106
5946
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -6345,8 +6185,8 @@ var useInit = function useInit(props, targetColumns) {
6345
6185
  });
6346
6186
  });
6347
6187
  var handleScrollChanged = function handleScrollChanged(args) {
6348
- var _a;
6349
- var preBottom = (_a = reactiveSchema.pos.bottom) !== null && _a !== void 0 ? _a : 0;
6188
+ var _reactiveSchema$pos$b;
6189
+ var preBottom = (_reactiveSchema$pos$b = reactiveSchema.pos.bottom) !== null && _reactiveSchema$pos$b !== void 0 ? _reactiveSchema$pos$b : 0;
6350
6190
  var pagination = args[1];
6351
6191
  var translateX = pagination.translateX,
6352
6192
  translateY = pagination.translateY,
@@ -6358,7 +6198,7 @@ var useInit = function useInit(props, targetColumns) {
6358
6198
  var bottom = pos.bottom;
6359
6199
  if (bottom <= 2 && preBottom > bottom) {
6360
6200
  (0,external_shared_namespaceObject.debounce)(60, function () {
6361
- ctx.emit(EMIT_EVENTS.SCROLL_BOTTOM, Object.assign(Object.assign({}, pos), {
6201
+ ctx.emit(EMIT_EVENTS.SCROLL_BOTTOM, table_objectSpread(table_objectSpread({}, pos), {}, {
6362
6202
  translateX: translateX,
6363
6203
  translateY: translateY
6364
6204
  }));
@@ -6367,12 +6207,12 @@ var useInit = function useInit(props, targetColumns) {
6367
6207
  updateOffsetRight();
6368
6208
  };
6369
6209
  var scrollTo = function scrollTo() {
6210
+ var _refVirtualRender$val, _refVirtualRender$val2;
6370
6211
  var option = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
6371
6212
  left: 0,
6372
6213
  top: 0
6373
6214
  };
6374
- var _a, _b;
6375
- (_b = (_a = refVirtualRender.value) === null || _a === void 0 ? void 0 : _a.scrollTo) === null || _b === void 0 ? void 0 : _b.call(_a, option);
6215
+ (_refVirtualRender$val = refVirtualRender.value) === null || _refVirtualRender$val === void 0 || (_refVirtualRender$val2 = _refVirtualRender$val.scrollTo) === null || _refVirtualRender$val2 === void 0 ? void 0 : _refVirtualRender$val2.call(_refVirtualRender$val, option);
6376
6216
  };
6377
6217
  (0,external_vue_namespaceObject.onMounted)(function () {
6378
6218
  if (props.observerResize) {
@@ -6412,7 +6252,7 @@ var useInit = function useInit(props, targetColumns) {
6412
6252
  getRoot: getRoot
6413
6253
  });
6414
6254
  var tableBodyClass = (0,external_vue_namespaceObject.computed)(function () {
6415
- return Object.assign(Object.assign({}, contentClass), {
6255
+ return table_objectSpread(table_objectSpread({}, contentClass), {}, {
6416
6256
  '__is-empty': !pageData.length
6417
6257
  });
6418
6258
  });
@@ -6425,12 +6265,12 @@ var useInit = function useInit(props, targetColumns) {
6425
6265
  'offset-x': true
6426
6266
  };
6427
6267
  var resizeColumnStyle = (0,external_vue_namespaceObject.computed)(function () {
6428
- return Object.assign(Object.assign({}, dragOffsetXStyle.value), {
6268
+ return table_objectSpread(table_objectSpread({}, dragOffsetXStyle.value), {}, {
6429
6269
  left: "".concat(dragOffsetX.value - reactiveSchema.scrollTranslateX, "px")
6430
6270
  });
6431
6271
  });
6432
6272
  var resizeHeadColStyle = (0,external_vue_namespaceObject.computed)(function () {
6433
- return Object.assign(Object.assign({}, dragOffsetXStyle.value), {
6273
+ return table_objectSpread(table_objectSpread({}, dragOffsetXStyle.value), {}, {
6434
6274
  width: '6px',
6435
6275
  left: "".concat(dragOffsetX.value - reactiveSchema.scrollTranslateX, "px")
6436
6276
  });
@@ -6455,7 +6295,7 @@ var useInit = function useInit(props, targetColumns) {
6455
6295
  };
6456
6296
  });
6457
6297
  var fixedContainerStyle = (0,external_vue_namespaceObject.computed)(function () {
6458
- return Object.assign({
6298
+ return table_objectSpread({
6459
6299
  right: hasScrollYRef.value ? "".concat(SCROLLY_WIDTH, "px") : 0,
6460
6300
  '--fix-height': "".concat(fixHeight.value, "px"),
6461
6301
  '--fix-max-height': "".concat(maxFixHeight.value, "px")
@@ -6470,7 +6310,7 @@ var useInit = function useInit(props, targetColumns) {
6470
6310
  };
6471
6311
  });
6472
6312
  var prependStyle = (0,external_vue_namespaceObject.computed)(function () {
6473
- return Object.assign({
6313
+ return table_objectSpread({
6474
6314
  '--prepend-left': "".concat(reactiveSchema.scrollTranslateX, "px"),
6475
6315
  position: 'sticky',
6476
6316
  top: 0,
@@ -6487,7 +6327,7 @@ var useInit = function useInit(props, targetColumns) {
6487
6327
  return null;
6488
6328
  };
6489
6329
  return function () {
6490
- var _a, _b;
6330
+ var _ctx$slots$default, _ctx$slots;
6491
6331
  return (0,external_vue_namespaceObject.createVNode)("div", {
6492
6332
  "class": tableClass.value,
6493
6333
  "style": wrapperStyle.value,
@@ -6547,7 +6387,7 @@ var useInit = function useInit(props, targetColumns) {
6547
6387
  "style": footerStyle.value
6548
6388
  }, [hasFooter.value && tableRender.renderTableFooter(localPagination.value)]), (0,external_vue_namespaceObject.createVNode)("div", {
6549
6389
  "style": columnGhostStyle
6550
- }, [(_b = (_a = ctx.slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a)])]);
6390
+ }, [(_ctx$slots$default = (_ctx$slots = ctx.slots)["default"]) === null || _ctx$slots$default === void 0 ? void 0 : _ctx$slots$default.call(_ctx$slots)])]);
6551
6391
  };
6552
6392
  }
6553
6393
  }));
@@ -6560,8 +6400,6 @@ var BkTable = (0,external_shared_namespaceObject.withInstallProps)(table, {
6560
6400
  });
6561
6401
  /* harmony default export */ const src = (BkTable);
6562
6402
 
6563
- })();
6564
-
6565
6403
  var __webpack_exports__BkTable = __webpack_exports__.IR;
6566
6404
  var __webpack_exports__BkTableColumn = __webpack_exports__.Nr;
6567
6405
  var __webpack_exports__default = __webpack_exports__.ZP;