bkui-vue 2.0.1-beta.111 → 2.0.1-beta.112

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 (257) hide show
  1. package/dist/index.cjs.js +54 -54
  2. package/dist/index.esm.js +23106 -23099
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +57 -111
  6. package/lib/affix/index.js +17 -17
  7. package/lib/alert/index.d.ts +73 -126
  8. package/lib/alert/index.js +20 -20
  9. package/lib/animate-number/index.d.ts +33 -96
  10. package/lib/animate-number/index.js +8 -7
  11. package/lib/backtop/index.d.ts +69 -117
  12. package/lib/backtop/index.js +11 -10
  13. package/lib/badge/index.d.ts +119 -152
  14. package/lib/badge/index.js +19 -19
  15. package/lib/breadcrumb/index.d.ts +67 -119
  16. package/lib/breadcrumb/index.js +17 -17
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +121 -156
  19. package/lib/button/index.js +19 -20
  20. package/lib/card/index.d.ts +128 -157
  21. package/lib/card/index.js +20 -22
  22. package/lib/cascader/cascader.d.ts +5 -5
  23. package/lib/cascader/index.d.ts +395 -356
  24. package/lib/cascader/index.js +74 -805
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +143 -175
  27. package/lib/checkbox/index.js +45 -45
  28. package/lib/code-diff/index.d.ts +65 -82
  29. package/lib/code-diff/index.js +381 -438
  30. package/lib/collapse/index.d.ts +156 -175
  31. package/lib/collapse/index.js +28 -27
  32. package/lib/collapse-transition/index.d.ts +19 -94
  33. package/lib/collapse-transition/index.js +4 -3
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +144 -165
  36. package/lib/color-picker/index.js +50 -294
  37. package/lib/config-provider/index.d.ts +160 -227
  38. package/lib/config-provider/index.js +17 -17
  39. package/lib/container/container.d.ts +1 -1
  40. package/lib/container/index.d.ts +74 -85
  41. package/lib/container/index.js +28 -26
  42. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  43. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  44. package/lib/date-picker/date-picker.d.ts +4 -4
  45. package/lib/date-picker/index.d.ts +382 -352
  46. package/lib/date-picker/index.js +154 -150
  47. package/lib/date-picker/panel/date-range.d.ts +1 -1
  48. package/lib/date-picker/panel/date.d.ts +1 -1
  49. package/lib/date-picker/panel/time-range.d.ts +2 -2
  50. package/lib/date-picker/panel/time.d.ts +2 -2
  51. package/lib/date-picker/time-picker.d.ts +4 -4
  52. package/lib/dialog/index.d.ts +299 -269
  53. package/lib/dialog/index.js +227 -228
  54. package/lib/directives/index.d.ts +1 -0
  55. package/lib/directives/index.js +29 -29
  56. package/lib/divider/index.d.ts +57 -111
  57. package/lib/divider/index.js +3 -2
  58. package/lib/dropdown/dropdown.d.ts +1 -1
  59. package/lib/dropdown/index.d.ts +94 -136
  60. package/lib/dropdown/index.js +24 -22
  61. package/lib/exception/index.d.ts +41 -102
  62. package/lib/exception/index.js +21 -21
  63. package/lib/fixed-navbar/index.d.ts +59 -113
  64. package/lib/fixed-navbar/index.js +3 -2
  65. package/lib/form/form.d.ts +1 -1
  66. package/lib/form/index.d.ts +80 -132
  67. package/lib/form/index.js +21 -22
  68. package/lib/icon/angle-double-down-line.js +17 -17
  69. package/lib/icon/angle-double-left-line.js +17 -17
  70. package/lib/icon/angle-double-left.js +17 -17
  71. package/lib/icon/angle-double-right-line.js +17 -17
  72. package/lib/icon/angle-double-right.js +17 -17
  73. package/lib/icon/angle-double-up-line.js +17 -17
  74. package/lib/icon/angle-down-fill.js +17 -17
  75. package/lib/icon/angle-down-line.js +17 -17
  76. package/lib/icon/angle-down.js +17 -17
  77. package/lib/icon/angle-left.js +17 -17
  78. package/lib/icon/angle-right.js +17 -17
  79. package/lib/icon/angle-up-fill.js +17 -17
  80. package/lib/icon/angle-up.js +17 -17
  81. package/lib/icon/archive-fill.js +17 -17
  82. package/lib/icon/arrows-left.js +17 -17
  83. package/lib/icon/arrows-right.js +17 -17
  84. package/lib/icon/assistant.js +17 -17
  85. package/lib/icon/audio-fill.js +17 -17
  86. package/lib/icon/bk.js +17 -17
  87. package/lib/icon/circle.js +17 -17
  88. package/lib/icon/close-line.js +17 -17
  89. package/lib/icon/close.js +17 -17
  90. package/lib/icon/code.js +17 -17
  91. package/lib/icon/cog-shape.js +17 -17
  92. package/lib/icon/collapse-left.js +17 -17
  93. package/lib/icon/copy-shape.js +17 -17
  94. package/lib/icon/copy.js +17 -17
  95. package/lib/icon/data-shape.js +17 -17
  96. package/lib/icon/del.js +17 -17
  97. package/lib/icon/doc-fill.js +17 -17
  98. package/lib/icon/done.js +17 -17
  99. package/lib/icon/down-shape.js +17 -17
  100. package/lib/icon/down-small.js +17 -17
  101. package/lib/icon/edit-line.js +17 -17
  102. package/lib/icon/ellipsis.js +17 -17
  103. package/lib/icon/enlarge-line.js +17 -17
  104. package/lib/icon/error.js +17 -17
  105. package/lib/icon/excel-fill.js +17 -17
  106. package/lib/icon/exclamation-circle-shape.js +17 -17
  107. package/lib/icon/eye.js +17 -17
  108. package/lib/icon/filliscreen-line.js +17 -17
  109. package/lib/icon/fix-line.js +17 -17
  110. package/lib/icon/fix-shape.js +17 -17
  111. package/lib/icon/folder-open.js +17 -17
  112. package/lib/icon/folder-shape-open.js +17 -17
  113. package/lib/icon/folder-shape.js +17 -17
  114. package/lib/icon/folder.js +17 -17
  115. package/lib/icon/funnel.js +17 -17
  116. package/lib/icon/grag-fill.js +17 -17
  117. package/lib/icon/help-document-fill.js +17 -17
  118. package/lib/icon/help-fill.js +17 -17
  119. package/lib/icon/help.js +17 -17
  120. package/lib/icon/image-fill.js +17 -17
  121. package/lib/icon/img-error.js +17 -17
  122. package/lib/icon/img-placehoulder.js +17 -17
  123. package/lib/icon/info-line.js +17 -17
  124. package/lib/icon/info.js +17 -17
  125. package/lib/icon/left-shape.js +17 -17
  126. package/lib/icon/left-turn-line.js +17 -17
  127. package/lib/icon/loading.js +17 -17
  128. package/lib/icon/narrow-line.js +17 -17
  129. package/lib/icon/original.js +17 -17
  130. package/lib/icon/pdf-fill.js +17 -17
  131. package/lib/icon/play-shape.js +17 -17
  132. package/lib/icon/plus.js +17 -17
  133. package/lib/icon/ppt-fill.js +17 -17
  134. package/lib/icon/qq.js +17 -17
  135. package/lib/icon/right-shape.js +17 -17
  136. package/lib/icon/right-turn-line.js +17 -17
  137. package/lib/icon/search.js +17 -17
  138. package/lib/icon/share.js +17 -17
  139. package/lib/icon/spinner.js +17 -17
  140. package/lib/icon/success.js +17 -17
  141. package/lib/icon/switcher-loading.js +17 -17
  142. package/lib/icon/text-all.js +17 -17
  143. package/lib/icon/text-file.js +17 -17
  144. package/lib/icon/text-fill.js +17 -17
  145. package/lib/icon/transfer.js +17 -17
  146. package/lib/icon/tree-application-shape.js +17 -17
  147. package/lib/icon/unfull-screen.js +17 -17
  148. package/lib/icon/unvisible.js +17 -17
  149. package/lib/icon/up-shape.js +17 -17
  150. package/lib/icon/upload.js +17 -17
  151. package/lib/icon/video-fill.js +17 -17
  152. package/lib/icon/warn.js +17 -17
  153. package/lib/icon/weixin-pro.js +17 -17
  154. package/lib/icon/weixin.js +17 -17
  155. package/lib/image/index.d.ts +113 -149
  156. package/lib/image/index.js +27 -26
  157. package/lib/index.js +1 -1
  158. package/lib/info-box/index.js +232 -233
  159. package/lib/input/index.d.ts +326 -293
  160. package/lib/input/index.js +46 -48
  161. package/lib/link/index.d.ts +73 -122
  162. package/lib/link/index.js +2 -2
  163. package/lib/loading/index.d.ts +130 -156
  164. package/lib/loading/index.js +32 -33
  165. package/lib/loading/loading.d.ts +1 -1
  166. package/lib/menu/index.d.ts +55 -116
  167. package/lib/menu/index.js +26 -25
  168. package/lib/message/index.js +24 -25
  169. package/lib/message/messageConstructor.d.ts +5 -5
  170. package/lib/modal/index.d.ts +171 -185
  171. package/lib/modal/index.js +19 -19
  172. package/lib/navigation/index.d.ts +152 -188
  173. package/lib/navigation/index.js +9 -7
  174. package/lib/notify/index.js +20 -21
  175. package/lib/overflow-title/index.d.ts +343 -256
  176. package/lib/overflow-title/index.js +11 -10
  177. package/lib/pagination/index.d.ts +185 -199
  178. package/lib/pagination/index.js +49 -56
  179. package/lib/pagination/pagination.d.ts +1 -1
  180. package/lib/plugin-popover/index.d.ts +1 -1
  181. package/lib/plugin-popover/index.js +4 -3777
  182. package/lib/pop-confirm/index.d.ts +119 -157
  183. package/lib/pop-confirm/index.js +5 -4
  184. package/lib/pop-confirm/pop-confirm.d.ts +5 -5
  185. package/lib/pop-confirm/props.d.ts +1 -1
  186. package/lib/popover/content.d.ts +1 -1
  187. package/lib/popover/index.d.ts +421 -359
  188. package/lib/popover/index.js +221 -123
  189. package/lib/popover2/index.d.ts +8 -83
  190. package/lib/popover2/index.js +2 -2
  191. package/lib/process/index.d.ts +93 -137
  192. package/lib/process/index.js +226 -226
  193. package/lib/progress/index.d.ts +178 -187
  194. package/lib/progress/index.js +22 -21
  195. package/lib/progress/progress.d.ts +2 -2
  196. package/lib/radio/index.d.ts +91 -140
  197. package/lib/radio/index.js +46 -48
  198. package/lib/rate/index.d.ts +55 -112
  199. package/lib/rate/index.js +19 -20
  200. package/lib/resize-layout/index.d.ts +168 -192
  201. package/lib/resize-layout/index.js +20 -21
  202. package/lib/resize-layout/resize-layout.d.ts +2 -2
  203. package/lib/scrollbar/index.js +38 -38
  204. package/lib/search-select/index.d.ts +678 -895
  205. package/lib/search-select/index.js +274 -274
  206. package/lib/search-select/input.d.ts +2 -2
  207. package/lib/search-select/search-select.d.ts +133 -188
  208. package/lib/search-select/selected.d.ts +133 -188
  209. package/lib/select/index.d.ts +1380 -1221
  210. package/lib/select/index.js +336 -334
  211. package/lib/select/select.d.ts +134 -171
  212. package/lib/select/selectTagInput.d.ts +2 -2
  213. package/lib/shared/index.js +54 -56
  214. package/lib/sideslider/index.d.ts +197 -201
  215. package/lib/sideslider/index.js +227 -228
  216. package/lib/slider/index.d.ts +214 -210
  217. package/lib/slider/index.js +226 -225
  218. package/lib/steps/index.d.ts +110 -149
  219. package/lib/steps/index.js +230 -231
  220. package/lib/swiper/index.d.ts +81 -127
  221. package/lib/swiper/index.js +18 -18
  222. package/lib/switcher/index.d.ts +152 -174
  223. package/lib/switcher/index.js +20 -22
  224. package/lib/tab/index.d.ts +151 -183
  225. package/lib/tab/index.js +20 -19
  226. package/lib/table/components/table-column.d.ts +1 -1
  227. package/lib/table/hooks/use-columns.d.ts +1 -1
  228. package/lib/table/hooks/use-layout.d.ts +2 -2
  229. package/lib/table/hooks/use-rows.d.ts +1 -1
  230. package/lib/table/index.d.ts +459 -364
  231. package/lib/table/index.js +336 -348
  232. package/lib/table/table.d.ts +3 -3
  233. package/lib/table-column/index.d.ts +104 -150
  234. package/lib/table-column/index.js +7 -731
  235. package/lib/tag/index.d.ts +95 -142
  236. package/lib/tag/index.js +19 -19
  237. package/lib/tag-input/index.d.ts +750 -533
  238. package/lib/tag-input/index.js +151 -151
  239. package/lib/tag-input/tag-input.d.ts +9 -9
  240. package/lib/tag-input/tag-props.d.ts +1 -1
  241. package/lib/tag-input/tag-render.d.ts +2 -2
  242. package/lib/time-picker/index.d.ts +439 -386
  243. package/lib/timeline/index.d.ts +64 -131
  244. package/lib/timeline/index.js +6 -6
  245. package/lib/transfer/index.d.ts +192 -207
  246. package/lib/transfer/transfer.d.ts +1 -1
  247. package/lib/tree/index.d.ts +350 -308
  248. package/lib/tree/index.js +71 -74
  249. package/lib/tree/tree.d.ts +1 -1
  250. package/lib/tree/use-tree-init.d.ts +1 -1
  251. package/lib/upload/index.d.ts +311 -273
  252. package/lib/upload/index.js +261 -264
  253. package/lib/upload/upload.d.ts +2 -2
  254. package/lib/virtual-render/index.d.ts +333 -241
  255. package/lib/virtual-render/index.js +29 -29
  256. package/lib/virtual-render/virtual-render.d.ts +1 -1
  257. package/package.json +1 -1
@@ -38,304 +38,304 @@ var _typeof = (__webpack_require__(7425)["default"]);
38
38
  function _regeneratorRuntime() {
39
39
  "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
40
40
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
41
- return exports;
41
+ return e;
42
42
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
43
- var exports = {},
44
- Op = Object.prototype,
45
- hasOwn = Op.hasOwnProperty,
46
- defineProperty = Object.defineProperty || function (obj, key, desc) {
47
- obj[key] = desc.value;
43
+ var t,
44
+ e = {},
45
+ r = Object.prototype,
46
+ n = r.hasOwnProperty,
47
+ o = Object.defineProperty || function (t, e, r) {
48
+ t[e] = r.value;
48
49
  },
49
- $Symbol = "function" == typeof Symbol ? Symbol : {},
50
- iteratorSymbol = $Symbol.iterator || "@@iterator",
51
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
52
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
53
- function define(obj, key, value) {
54
- return Object.defineProperty(obj, key, {
55
- value: value,
50
+ i = "function" == typeof Symbol ? Symbol : {},
51
+ a = i.iterator || "@@iterator",
52
+ c = i.asyncIterator || "@@asyncIterator",
53
+ u = i.toStringTag || "@@toStringTag";
54
+ function define(t, e, r) {
55
+ return Object.defineProperty(t, e, {
56
+ value: r,
56
57
  enumerable: !0,
57
58
  configurable: !0,
58
59
  writable: !0
59
- }), obj[key];
60
+ }), t[e];
60
61
  }
61
62
  try {
62
63
  define({}, "");
63
- } catch (err) {
64
- define = function define(obj, key, value) {
65
- return obj[key] = value;
64
+ } catch (t) {
65
+ define = function define(t, e, r) {
66
+ return t[e] = r;
66
67
  };
67
68
  }
68
- function wrap(innerFn, outerFn, self, tryLocsList) {
69
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
70
- generator = Object.create(protoGenerator.prototype),
71
- context = new Context(tryLocsList || []);
72
- return defineProperty(generator, "_invoke", {
73
- value: makeInvokeMethod(innerFn, self, context)
74
- }), generator;
69
+ function wrap(t, e, r, n) {
70
+ var i = e && e.prototype instanceof Generator ? e : Generator,
71
+ a = Object.create(i.prototype),
72
+ c = new Context(n || []);
73
+ return o(a, "_invoke", {
74
+ value: makeInvokeMethod(t, r, c)
75
+ }), a;
75
76
  }
76
- function tryCatch(fn, obj, arg) {
77
+ function tryCatch(t, e, r) {
77
78
  try {
78
79
  return {
79
80
  type: "normal",
80
- arg: fn.call(obj, arg)
81
+ arg: t.call(e, r)
81
82
  };
82
- } catch (err) {
83
+ } catch (t) {
83
84
  return {
84
85
  type: "throw",
85
- arg: err
86
+ arg: t
86
87
  };
87
88
  }
88
89
  }
89
- exports.wrap = wrap;
90
- var ContinueSentinel = {};
90
+ e.wrap = wrap;
91
+ var h = "suspendedStart",
92
+ l = "suspendedYield",
93
+ f = "executing",
94
+ s = "completed",
95
+ y = {};
91
96
  function Generator() {}
92
97
  function GeneratorFunction() {}
93
98
  function GeneratorFunctionPrototype() {}
94
- var IteratorPrototype = {};
95
- define(IteratorPrototype, iteratorSymbol, function () {
99
+ var p = {};
100
+ define(p, a, function () {
96
101
  return this;
97
102
  });
98
- var getProto = Object.getPrototypeOf,
99
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
100
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
101
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
102
- function defineIteratorMethods(prototype) {
103
- ["next", "throw", "return"].forEach(function (method) {
104
- define(prototype, method, function (arg) {
105
- return this._invoke(method, arg);
103
+ var d = Object.getPrototypeOf,
104
+ v = d && d(d(values([])));
105
+ v && v !== r && n.call(v, a) && (p = v);
106
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
107
+ function defineIteratorMethods(t) {
108
+ ["next", "throw", "return"].forEach(function (e) {
109
+ define(t, e, function (t) {
110
+ return this._invoke(e, t);
106
111
  });
107
112
  });
108
113
  }
109
- function AsyncIterator(generator, PromiseImpl) {
110
- function invoke(method, arg, resolve, reject) {
111
- var record = tryCatch(generator[method], generator, arg);
112
- if ("throw" !== record.type) {
113
- var result = record.arg,
114
- value = result.value;
115
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
116
- invoke("next", value, resolve, reject);
117
- }, function (err) {
118
- invoke("throw", err, resolve, reject);
119
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
120
- result.value = unwrapped, resolve(result);
121
- }, function (error) {
122
- return invoke("throw", error, resolve, reject);
114
+ function AsyncIterator(t, e) {
115
+ function invoke(r, o, i, a) {
116
+ var c = tryCatch(t[r], t, o);
117
+ if ("throw" !== c.type) {
118
+ var u = c.arg,
119
+ h = u.value;
120
+ return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
121
+ invoke("next", t, i, a);
122
+ }, function (t) {
123
+ invoke("throw", t, i, a);
124
+ }) : e.resolve(h).then(function (t) {
125
+ u.value = t, i(u);
126
+ }, function (t) {
127
+ return invoke("throw", t, i, a);
123
128
  });
124
129
  }
125
- reject(record.arg);
130
+ a(c.arg);
126
131
  }
127
- var previousPromise;
128
- defineProperty(this, "_invoke", {
129
- value: function value(method, arg) {
132
+ var r;
133
+ o(this, "_invoke", {
134
+ value: function value(t, n) {
130
135
  function callInvokeWithMethodAndArg() {
131
- return new PromiseImpl(function (resolve, reject) {
132
- invoke(method, arg, resolve, reject);
136
+ return new e(function (e, r) {
137
+ invoke(t, n, e, r);
133
138
  });
134
139
  }
135
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
140
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
136
141
  }
137
142
  });
138
143
  }
139
- function makeInvokeMethod(innerFn, self, context) {
140
- var state = "suspendedStart";
141
- return function (method, arg) {
142
- if ("executing" === state) throw new Error("Generator is already running");
143
- if ("completed" === state) {
144
- if ("throw" === method) throw arg;
145
- return doneResult();
144
+ function makeInvokeMethod(e, r, n) {
145
+ var o = h;
146
+ return function (i, a) {
147
+ if (o === f) throw new Error("Generator is already running");
148
+ if (o === s) {
149
+ if ("throw" === i) throw a;
150
+ return {
151
+ value: t,
152
+ done: !0
153
+ };
146
154
  }
147
- for (context.method = method, context.arg = arg;;) {
148
- var delegate = context.delegate;
149
- if (delegate) {
150
- var delegateResult = maybeInvokeDelegate(delegate, context);
151
- if (delegateResult) {
152
- if (delegateResult === ContinueSentinel) continue;
153
- return delegateResult;
155
+ for (n.method = i, n.arg = a;;) {
156
+ var c = n.delegate;
157
+ if (c) {
158
+ var u = maybeInvokeDelegate(c, n);
159
+ if (u) {
160
+ if (u === y) continue;
161
+ return u;
154
162
  }
155
163
  }
156
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
157
- if ("suspendedStart" === state) throw state = "completed", context.arg;
158
- context.dispatchException(context.arg);
159
- } else "return" === context.method && context.abrupt("return", context.arg);
160
- state = "executing";
161
- var record = tryCatch(innerFn, self, context);
162
- if ("normal" === record.type) {
163
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
164
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
165
+ if (o === h) throw o = s, n.arg;
166
+ n.dispatchException(n.arg);
167
+ } else "return" === n.method && n.abrupt("return", n.arg);
168
+ o = f;
169
+ var p = tryCatch(e, r, n);
170
+ if ("normal" === p.type) {
171
+ if (o = n.done ? s : l, p.arg === y) continue;
164
172
  return {
165
- value: record.arg,
166
- done: context.done
173
+ value: p.arg,
174
+ done: n.done
167
175
  };
168
176
  }
169
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
177
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
170
178
  }
171
179
  };
172
180
  }
173
- function maybeInvokeDelegate(delegate, context) {
174
- var methodName = context.method,
175
- method = delegate.iterator[methodName];
176
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
177
- var record = tryCatch(method, delegate.iterator, context.arg);
178
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
179
- var info = record.arg;
180
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
181
+ function maybeInvokeDelegate(e, r) {
182
+ var n = r.method,
183
+ o = e.iterator[n];
184
+ 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;
185
+ var i = tryCatch(o, e.iterator, r.arg);
186
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
187
+ var a = i.arg;
188
+ 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);
181
189
  }
182
- function pushTryEntry(locs) {
183
- var entry = {
184
- tryLoc: locs[0]
190
+ function pushTryEntry(t) {
191
+ var e = {
192
+ tryLoc: t[0]
185
193
  };
186
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
194
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
187
195
  }
188
- function resetTryEntry(entry) {
189
- var record = entry.completion || {};
190
- record.type = "normal", delete record.arg, entry.completion = record;
196
+ function resetTryEntry(t) {
197
+ var e = t.completion || {};
198
+ e.type = "normal", delete e.arg, t.completion = e;
191
199
  }
192
- function Context(tryLocsList) {
200
+ function Context(t) {
193
201
  this.tryEntries = [{
194
202
  tryLoc: "root"
195
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
203
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
196
204
  }
197
- function values(iterable) {
198
- if (iterable) {
199
- var iteratorMethod = iterable[iteratorSymbol];
200
- if (iteratorMethod) return iteratorMethod.call(iterable);
201
- if ("function" == typeof iterable.next) return iterable;
202
- if (!isNaN(iterable.length)) {
203
- var i = -1,
204
- next = function next() {
205
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
206
- return next.value = undefined, next.done = !0, next;
205
+ function values(e) {
206
+ if (e || "" === e) {
207
+ var r = e[a];
208
+ if (r) return r.call(e);
209
+ if ("function" == typeof e.next) return e;
210
+ if (!isNaN(e.length)) {
211
+ var o = -1,
212
+ i = function next() {
213
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
214
+ return next.value = t, next.done = !0, next;
207
215
  };
208
- return next.next = next;
216
+ return i.next = i;
209
217
  }
210
218
  }
211
- return {
212
- next: doneResult
213
- };
219
+ throw new TypeError(_typeof(e) + " is not iterable");
214
220
  }
215
- function doneResult() {
216
- return {
217
- value: undefined,
218
- done: !0
219
- };
220
- }
221
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
221
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
222
222
  value: GeneratorFunctionPrototype,
223
223
  configurable: !0
224
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
224
+ }), o(GeneratorFunctionPrototype, "constructor", {
225
225
  value: GeneratorFunction,
226
226
  configurable: !0
227
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
228
- var ctor = "function" == typeof genFun && genFun.constructor;
229
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
230
- }, exports.mark = function (genFun) {
231
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
232
- }, exports.awrap = function (arg) {
227
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
228
+ var e = "function" == typeof t && t.constructor;
229
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
230
+ }, e.mark = function (t) {
231
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
232
+ }, e.awrap = function (t) {
233
233
  return {
234
- __await: arg
234
+ __await: t
235
235
  };
236
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
236
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
237
237
  return this;
238
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
239
- void 0 === PromiseImpl && (PromiseImpl = Promise);
240
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
241
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
242
- return result.done ? result.value : iter.next();
238
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
239
+ void 0 === i && (i = Promise);
240
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
241
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
242
+ return t.done ? t.value : a.next();
243
243
  });
244
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
244
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
245
245
  return this;
246
- }), define(Gp, "toString", function () {
246
+ }), define(g, "toString", function () {
247
247
  return "[object Generator]";
248
- }), exports.keys = function (val) {
249
- var object = Object(val),
250
- keys = [];
251
- for (var key in object) keys.push(key);
252
- return keys.reverse(), function next() {
253
- for (; keys.length;) {
254
- var key = keys.pop();
255
- if (key in object) return next.value = key, next.done = !1, next;
248
+ }), e.keys = function (t) {
249
+ var e = Object(t),
250
+ r = [];
251
+ for (var n in e) r.push(n);
252
+ return r.reverse(), function next() {
253
+ for (; r.length;) {
254
+ var t = r.pop();
255
+ if (t in e) return next.value = t, next.done = !1, next;
256
256
  }
257
257
  return next.done = !0, next;
258
258
  };
259
- }, exports.values = values, Context.prototype = {
259
+ }, e.values = values, Context.prototype = {
260
260
  constructor: Context,
261
- reset: function reset(skipTempReset) {
262
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
261
+ reset: function reset(e) {
262
+ 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);
263
263
  },
264
264
  stop: function stop() {
265
265
  this.done = !0;
266
- var rootRecord = this.tryEntries[0].completion;
267
- if ("throw" === rootRecord.type) throw rootRecord.arg;
266
+ var t = this.tryEntries[0].completion;
267
+ if ("throw" === t.type) throw t.arg;
268
268
  return this.rval;
269
269
  },
270
- dispatchException: function dispatchException(exception) {
271
- if (this.done) throw exception;
272
- var context = this;
273
- function handle(loc, caught) {
274
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
270
+ dispatchException: function dispatchException(e) {
271
+ if (this.done) throw e;
272
+ var r = this;
273
+ function handle(n, o) {
274
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
275
275
  }
276
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
277
- var entry = this.tryEntries[i],
278
- record = entry.completion;
279
- if ("root" === entry.tryLoc) return handle("end");
280
- if (entry.tryLoc <= this.prev) {
281
- var hasCatch = hasOwn.call(entry, "catchLoc"),
282
- hasFinally = hasOwn.call(entry, "finallyLoc");
283
- if (hasCatch && hasFinally) {
284
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
285
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
286
- } else if (hasCatch) {
287
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
276
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
277
+ var i = this.tryEntries[o],
278
+ a = i.completion;
279
+ if ("root" === i.tryLoc) return handle("end");
280
+ if (i.tryLoc <= this.prev) {
281
+ var c = n.call(i, "catchLoc"),
282
+ u = n.call(i, "finallyLoc");
283
+ if (c && u) {
284
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
285
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
286
+ } else if (c) {
287
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
288
288
  } else {
289
- if (!hasFinally) throw new Error("try statement without catch or finally");
290
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
289
+ if (!u) throw new Error("try statement without catch or finally");
290
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
291
291
  }
292
292
  }
293
293
  }
294
294
  },
295
- abrupt: function abrupt(type, arg) {
296
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
297
- var entry = this.tryEntries[i];
298
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
299
- var finallyEntry = entry;
295
+ abrupt: function abrupt(t, e) {
296
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
297
+ var o = this.tryEntries[r];
298
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
299
+ var i = o;
300
300
  break;
301
301
  }
302
302
  }
303
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
304
- var record = finallyEntry ? finallyEntry.completion : {};
305
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
303
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
304
+ var a = i ? i.completion : {};
305
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
306
306
  },
307
- complete: function complete(record, afterLoc) {
308
- if ("throw" === record.type) throw record.arg;
309
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
307
+ complete: function complete(t, e) {
308
+ if ("throw" === t.type) throw t.arg;
309
+ 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;
310
310
  },
311
- finish: function finish(finallyLoc) {
312
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
313
- var entry = this.tryEntries[i];
314
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
311
+ finish: function finish(t) {
312
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
313
+ var r = this.tryEntries[e];
314
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
315
315
  }
316
316
  },
317
- "catch": function _catch(tryLoc) {
318
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
319
- var entry = this.tryEntries[i];
320
- if (entry.tryLoc === tryLoc) {
321
- var record = entry.completion;
322
- if ("throw" === record.type) {
323
- var thrown = record.arg;
324
- resetTryEntry(entry);
317
+ "catch": function _catch(t) {
318
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
319
+ var r = this.tryEntries[e];
320
+ if (r.tryLoc === t) {
321
+ var n = r.completion;
322
+ if ("throw" === n.type) {
323
+ var o = n.arg;
324
+ resetTryEntry(r);
325
325
  }
326
- return thrown;
326
+ return o;
327
327
  }
328
328
  }
329
329
  throw new Error("illegal catch attempt");
330
330
  },
331
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
331
+ delegateYield: function delegateYield(e, r, n) {
332
332
  return this.delegate = {
333
- iterator: values(iterable),
334
- resultName: resultName,
335
- nextLoc: nextLoc
336
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
333
+ iterator: values(e),
334
+ resultName: r,
335
+ nextLoc: n
336
+ }, "next" === this.method && (this.arg = t), y;
337
337
  }
338
- }, exports;
338
+ }, e;
339
339
  }
340
340
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
341
341
 
@@ -344,14 +344,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
344
344
  /***/ 7425:
345
345
  /***/ ((module) => {
346
346
 
347
- function _typeof(obj) {
347
+ function _typeof(o) {
348
348
  "@babel/helpers - typeof";
349
349
 
350
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
351
- return typeof obj;
352
- } : function (obj) {
353
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
354
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
350
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
351
+ return typeof o;
352
+ } : function (o) {
353
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
354
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
355
355
  }
356
356
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
357
357
 
@@ -476,38 +476,38 @@ var isEqual_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
476
476
  var isEqual_y = x => () => x
477
477
  const isEqual_namespaceObject = isEqual_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__["default"] });
478
478
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
479
- function typeof_typeof(obj) {
479
+ function typeof_typeof(o) {
480
480
  "@babel/helpers - typeof";
481
481
 
482
- return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
483
- return typeof obj;
484
- } : function (obj) {
485
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
486
- }, typeof_typeof(obj);
482
+ return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
483
+ return typeof o;
484
+ } : function (o) {
485
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
486
+ }, typeof_typeof(o);
487
487
  }
488
488
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
489
489
 
490
- function _toPrimitive(input, hint) {
491
- if (typeof_typeof(input) !== "object" || input === null) return input;
492
- var prim = input[Symbol.toPrimitive];
493
- if (prim !== undefined) {
494
- var res = prim.call(input, hint || "default");
495
- if (typeof_typeof(res) !== "object") return res;
490
+ function toPrimitive(t, r) {
491
+ if ("object" != typeof_typeof(t) || !t) return t;
492
+ var e = t[Symbol.toPrimitive];
493
+ if (void 0 !== e) {
494
+ var i = e.call(t, r || "default");
495
+ if ("object" != typeof_typeof(i)) return i;
496
496
  throw new TypeError("@@toPrimitive must return a primitive value.");
497
497
  }
498
- return (hint === "string" ? String : Number)(input);
498
+ return ("string" === r ? String : Number)(t);
499
499
  }
500
500
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
501
501
 
502
502
 
503
- function _toPropertyKey(arg) {
504
- var key = _toPrimitive(arg, "string");
505
- return typeof_typeof(key) === "symbol" ? key : String(key);
503
+ function toPropertyKey(t) {
504
+ var i = toPrimitive(t, "string");
505
+ return "symbol" == typeof_typeof(i) ? i : String(i);
506
506
  }
507
507
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
508
508
 
509
509
  function defineProperty_defineProperty(obj, key, value) {
510
- key = _toPropertyKey(key);
510
+ key = toPropertyKey(key);
511
511
  if (key in obj) {
512
512
  Object.defineProperty(obj, key, {
513
513
  value: value,
@@ -522,7 +522,6 @@ function defineProperty_defineProperty(obj, key, value) {
522
522
  }
523
523
  ;// CONCATENATED MODULE: ../../packages/table/src/const.ts
524
524
 
525
- var _DEF_COLOR;
526
525
  /*
527
526
  * Tencent is pleased to support the open source community by making
528
527
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -631,7 +630,7 @@ var IHeadColor;
631
630
  /**
632
631
  * 根据表格的使用场景,表头支持颜色自定义,默认提供的选项:FAFBFD、F0F1F5,尽量一个项目选用同一种颜色。
633
632
  */
634
- var DEF_COLOR = (_DEF_COLOR = {}, defineProperty_defineProperty(_DEF_COLOR, IHeadColor.DEF1, '#FAFBFD'), defineProperty_defineProperty(_DEF_COLOR, IHeadColor.DEF2, '#F0F1F5'), _DEF_COLOR);
633
+ var DEF_COLOR = defineProperty_defineProperty(defineProperty_defineProperty({}, IHeadColor.DEF1, '#FAFBFD'), IHeadColor.DEF2, '#F0F1F5');
635
634
  var SETTING_SIZE = {
636
635
  large: 78,
637
636
  medium: 60,
@@ -1203,7 +1202,7 @@ var isElement_y = x => () => x
1203
1202
  const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
1204
1203
  ;// CONCATENATED MODULE: ../../packages/table/src/events.ts
1205
1204
 
1206
- var _EMIT_EVENT_TYPES, _CELL_EVENT_TYPES;
1205
+ var _EMIT_EVENT_TYPES;
1207
1206
  /*
1208
1207
  * Tencent is pleased to support the open source community by making
1209
1208
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1295,8 +1294,8 @@ var EVENT_SCROLL_FN = function EVENT_SCROLL_FN(_args) {
1295
1294
  var EVENT_DRAGEND_FN = function EVENT_DRAGEND_FN(_args) {
1296
1295
  return true;
1297
1296
  };
1298
- var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.COLUMN_PICK, EVENT_COL_PICK), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.COLUMN_FILTER, EVENT_COL_FILTER), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.COLUMN_SORT, EVENT_COL_SORT), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.COLUMN_FILTER_SAVE, EVENT_COL_FILTER_SAVE), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_CLICK, EVENT_MOUSE_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_DBL_CLICK, EVENT_MOUSE_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_EXPAND_CLICK, EVENT_EXPAND_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_SELECT, EVENT_ROW_SELECT_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_SELECT_ALL, EVENT_ROW_SELECT_ALL_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_SELECT_CHANGE, EVENT_ROW_SELECT_CHANGE_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.PAGE_LIMIT_CHANGE, EVENT_PAGE_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.PAGE_VALUE_CHANGE, EVENT_PAGE_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.SETTING_CHANGE, EVENT_SETTING_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.SCROLL_BOTTOM, EVENT_SCROLL_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CELL_CLICK, EVENT_CELL_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CELL_DBL_CLICK, EVENT_CELL_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_MOUSE_ENTER, EVENT_MOUSE_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.ROW_MOUSE_LEAVE, EVENT_MOUSE_FN), defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.DRAG_END, EVENT_DRAGEND_FN), _EMIT_EVENT_TYPES);
1299
- var CELL_EVENT_TYPES = (_CELL_EVENT_TYPES = {}, defineProperty_defineProperty(_CELL_EVENT_TYPES, EMIT_EVENTS.NATIVE_CLICK, EVENT_MOUSE_FN), defineProperty_defineProperty(_CELL_EVENT_TYPES, EMIT_EVENTS.NATIVE_DBL_CLICK, EVENT_MOUSE_FN), _CELL_EVENT_TYPES);
1297
+ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.COLUMN_PICK, EVENT_COL_PICK), EMIT_EVENTS.COLUMN_FILTER, EVENT_COL_FILTER), EMIT_EVENTS.COLUMN_SORT, EVENT_COL_SORT), EMIT_EVENTS.COLUMN_FILTER_SAVE, EVENT_COL_FILTER_SAVE), EMIT_EVENTS.ROW_CLICK, EVENT_MOUSE_FN), EMIT_EVENTS.ROW_DBL_CLICK, EVENT_MOUSE_FN), EMIT_EVENTS.ROW_EXPAND_CLICK, EVENT_EXPAND_FN), EMIT_EVENTS.ROW_SELECT, EVENT_ROW_SELECT_FN), EMIT_EVENTS.ROW_SELECT_ALL, EVENT_ROW_SELECT_ALL_FN), EMIT_EVENTS.ROW_SELECT_CHANGE, EVENT_ROW_SELECT_CHANGE_FN), defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.PAGE_LIMIT_CHANGE, EVENT_PAGE_FN), EMIT_EVENTS.PAGE_VALUE_CHANGE, EVENT_PAGE_FN), EMIT_EVENTS.SETTING_CHANGE, EVENT_SETTING_FN), EMIT_EVENTS.SCROLL_BOTTOM, EVENT_SCROLL_FN), EMIT_EVENTS.CELL_CLICK, EVENT_CELL_FN), EMIT_EVENTS.CELL_DBL_CLICK, EVENT_CELL_FN), EMIT_EVENTS.ROW_MOUSE_ENTER, EVENT_MOUSE_FN), EMIT_EVENTS.ROW_MOUSE_LEAVE, EVENT_MOUSE_FN), EMIT_EVENTS.DRAG_END, EVENT_DRAGEND_FN));
1298
+ var CELL_EVENT_TYPES = defineProperty_defineProperty(defineProperty_defineProperty({}, EMIT_EVENTS.NATIVE_CLICK, EVENT_MOUSE_FN), EMIT_EVENTS.NATIVE_DBL_CLICK, EVENT_MOUSE_FN);
1300
1299
  ;// CONCATENATED MODULE: external "lodash/throttle"
1301
1300
  var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1302
1301
  var throttle_y = x => () => x
@@ -1333,7 +1332,6 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
1333
1332
 
1334
1333
 
1335
1334
  /* harmony default export */ const use_column_resize = (function (columns, _ref) {
1336
- var _handler;
1337
1335
  var afterResize = _ref.afterResize;
1338
1336
  var getColumnAttribute = columns.getColumnAttribute,
1339
1337
  getColumnOrderWidth = columns.getColumnOrderWidth,
@@ -1380,7 +1378,7 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
1380
1378
  dragOffsetX.value = -1000;
1381
1379
  dragWidth = 0;
1382
1380
  removeCursor(headTable);
1383
- afterResize === null || afterResize === void 0 ? void 0 : afterResize();
1381
+ afterResize === null || afterResize === void 0 || afterResize();
1384
1382
  headTable = null;
1385
1383
  var target = e.target;
1386
1384
  handleMouseoutDragSection(target);
@@ -1404,13 +1402,13 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
1404
1402
  var setNodeCursor = function () {
1405
1403
  return (0,debounce_namespaceObject["default"])(function (target) {
1406
1404
  document.body.style.setProperty('user-select', 'none');
1407
- target === null || target === void 0 ? void 0 : target.classList.add('col-resize-hover');
1405
+ target === null || target === void 0 || target.classList.add('col-resize-hover');
1408
1406
  });
1409
1407
  }();
1410
1408
  var removeCursor = function removeCursor(target) {
1411
1409
  setNodeCursor.cancel();
1412
1410
  document.body.style.removeProperty('user-select');
1413
- target === null || target === void 0 ? void 0 : target.classList.remove('col-resize-hover');
1411
+ target === null || target === void 0 || target.classList.remove('col-resize-hover');
1414
1412
  };
1415
1413
  var handlemouseDownEvent = function handlemouseDownEvent(e) {
1416
1414
  if (!isInDragSection) {
@@ -1432,19 +1430,19 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
1432
1430
  var _target$parentElement;
1433
1431
  var targetElements = target === null || target === void 0 || (_target$parentElement = target.parentElement) === null || _target$parentElement === void 0 || (_target$parentElement = _target$parentElement.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.querySelectorAll('.col-pointer-hover');
1434
1432
  targetElements.forEach(function (element) {
1435
- element === null || element === void 0 ? void 0 : element.classList.remove('col-pointer-hover');
1436
- element === null || element === void 0 ? void 0 : element.classList.remove('poiner-left');
1437
- element === null || element === void 0 ? void 0 : element.classList.remove('poiner-right');
1433
+ element === null || element === void 0 || element.classList.remove('col-pointer-hover');
1434
+ element === null || element === void 0 || element.classList.remove('poiner-left');
1435
+ element === null || element === void 0 || element.classList.remove('poiner-right');
1438
1436
  });
1439
1437
  };
1440
1438
  var addPointerClass = function addPointerClass(target, poinerPlacement) {
1441
1439
  var targetTh = target.parentElement;
1442
- targetTh === null || targetTh === void 0 ? void 0 : targetTh.classList.add('col-pointer-hover');
1443
- targetTh === null || targetTh === void 0 ? void 0 : targetTh.classList.add("poiner-".concat(poinerPlacement));
1440
+ targetTh === null || targetTh === void 0 || targetTh.classList.add('col-pointer-hover');
1441
+ targetTh === null || targetTh === void 0 || targetTh.classList.add("poiner-".concat(poinerPlacement));
1444
1442
  var nextTarget = poinerPlacement === 'right' ? targetTh.nextElementSibling : targetTh.previousElementSibling;
1445
1443
  var nextPlacement = poinerPlacement === 'right' ? 'left' : 'right';
1446
- nextTarget === null || nextTarget === void 0 ? void 0 : nextTarget.classList.add('col-pointer-hover');
1447
- nextTarget === null || nextTarget === void 0 ? void 0 : nextTarget.classList.add("poiner-".concat(nextPlacement));
1444
+ nextTarget === null || nextTarget === void 0 || nextTarget.classList.add('col-pointer-hover');
1445
+ nextTarget === null || nextTarget === void 0 || nextTarget.classList.add("poiner-".concat(nextPlacement));
1448
1446
  };
1449
1447
  var handleMouseoutDragSection = function handleMouseoutDragSection(target) {
1450
1448
  if (!isDraging) {
@@ -1455,7 +1453,7 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
1455
1453
  document.removeEventListener('mousedown', handlemouseDownEvent);
1456
1454
  }
1457
1455
  };
1458
- var handler = (_handler = {}, defineProperty_defineProperty(_handler, EVENTS.MOUSE_MOVE, function (e, column, index) {
1456
+ var handler = defineProperty_defineProperty(defineProperty_defineProperty({}, EVENTS.MOUSE_MOVE, function (e, column, index) {
1459
1457
  stopDefaultEvent(e);
1460
1458
  if (isMouseDown) {
1461
1459
  isDraging = true;
@@ -1484,10 +1482,10 @@ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTER
1484
1482
  handleMouseoutDragSection(target);
1485
1483
  }
1486
1484
  }
1487
- }), defineProperty_defineProperty(_handler, EVENTS.MOUSE_OUT, function (e, _column, _index) {
1485
+ }), EVENTS.MOUSE_OUT, function (e, _column, _index) {
1488
1486
  var target = e.target;
1489
1487
  handleMouseoutDragSection(target);
1490
- }), _handler);
1488
+ });
1491
1489
  var getEventName = function getEventName(event) {
1492
1490
  return "".concat(pluginName, "_").concat(event);
1493
1491
  };
@@ -3161,8 +3159,7 @@ var getSortFn = function getSortFn(column, sortType) {
3161
3159
  } : userFn;
3162
3160
  };
3163
3161
  var getNextSortType = function getNextSortType(sortType) {
3164
- var _steps;
3165
- var steps = (_steps = {}, defineProperty_defineProperty(_steps, SORT_OPTION.NULL, 3), defineProperty_defineProperty(_steps, SORT_OPTION.ASC, 1), defineProperty_defineProperty(_steps, SORT_OPTION.DESC, 2), _steps);
3162
+ var steps = defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, SORT_OPTION.NULL, 3), SORT_OPTION.ASC, 1), SORT_OPTION.DESC, 2);
3166
3163
  if (steps[sortType] === undefined) {
3167
3164
  return SORT_OPTION.ASC;
3168
3165
  }
@@ -3584,7 +3581,7 @@ var useColumns = function useColumns(props) {
3584
3581
  if (thColspan > 1) {
3585
3582
  updateParentThColspan(parent, thColspan - 1);
3586
3583
  }
3587
- (_col$children6 = col.children) === null || _col$children6 === void 0 ? void 0 : _col$children6.forEach(function (c, index) {
3584
+ (_col$children6 = col.children) === null || _col$children6 === void 0 || _col$children6.forEach(function (c, index) {
3588
3585
  leftColumnCount = leftColumnCount + foreachAllColumns(c, depth + 1, col, leftColumnCount + index);
3589
3586
  });
3590
3587
  return childLength > 0 ? childLength - 1 : 0;
@@ -3607,7 +3604,6 @@ var useColumns = function useColumns(props) {
3607
3604
  // resolveDraggableColumn();
3608
3605
  var skipColNum = 0;
3609
3606
  (tableColumnList || []).forEach(function (col, index) {
3610
- var _Object$assign2;
3611
3607
  var _ref = needColSpan.value ? getColumnSpanConfig(col, index, skipColNum) : {
3612
3608
  skipCol: false,
3613
3609
  skipColumnNum: 0,
@@ -3629,29 +3625,28 @@ var useColumns = function useColumns(props) {
3629
3625
  var settings = (_props$settings = props.settings) !== null && _props$settings !== void 0 ? _props$settings : {};
3630
3626
  var filterObj = resolveColumnFilterProp(col);
3631
3627
  if (filterObj.enabled) {
3632
- var _filterObj$checked, _setFilterColumns;
3633
- setFilterColumns(col, (_setFilterColumns = {}, defineProperty_defineProperty(_setFilterColumns, COLUMN_ATTRIBUTE.COL_FILTER_FN, filterFn), defineProperty_defineProperty(_setFilterColumns, COLUMN_ATTRIBUTE.COL_FILTER_VALUES, (_filterObj$checked = filterObj.checked) !== null && _filterObj$checked !== void 0 ? _filterObj$checked : []), _setFilterColumns));
3628
+ var _filterObj$checked;
3629
+ setFilterColumns(col, defineProperty_defineProperty(defineProperty_defineProperty({}, COLUMN_ATTRIBUTE.COL_FILTER_FN, filterFn), COLUMN_ATTRIBUTE.COL_FILTER_VALUES, (_filterObj$checked = filterObj.checked) !== null && _filterObj$checked !== void 0 ? _filterObj$checked : []));
3634
3630
  }
3635
3631
  if (enabled) {
3636
- var _setSortColumns;
3637
- setSortColumns(col, (_setSortColumns = {}, defineProperty_defineProperty(_setSortColumns, COLUMN_ATTRIBUTE.COL_SORT_TYPE, type), defineProperty_defineProperty(_setSortColumns, COLUMN_ATTRIBUTE.COL_SORT_FN, fn), defineProperty_defineProperty(_setSortColumns, COLUMN_ATTRIBUTE.COL_SORT_SCOPE, scope), _setSortColumns));
3632
+ setSortColumns(col, defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, COLUMN_ATTRIBUTE.COL_SORT_TYPE, type), COLUMN_ATTRIBUTE.COL_SORT_FN, fn), COLUMN_ATTRIBUTE.COL_SORT_SCOPE, scope));
3638
3633
  }
3639
- tableColumnSchema.set(col, (_tableColumnSchema$se = {}, defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.CALC_WIDTH, undefined), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.RESIZE_WIDTH, undefined), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_RECT, (0,external_vue_namespaceObject.reactive)({
3634
+ tableColumnSchema.set(col, (_tableColumnSchema$se = {}, defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.CALC_WIDTH, undefined), COLUMN_ATTRIBUTE.RESIZE_WIDTH, undefined), COLUMN_ATTRIBUTE.COL_RECT, (0,external_vue_namespaceObject.reactive)({
3640
3635
  width: null,
3641
3636
  left: null,
3642
3637
  right: null,
3643
3638
  height: null
3644
- })), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_MIN_WIDTH, resolveMinWidth(col)), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.LISTENERS, new Map()), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.WIDTH, col.width), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.IS_HIDDEN, isColumnHidden((_settings$fields = settings.fields) !== null && _settings$fields !== void 0 ? _settings$fields : [], col, (_settings$checked = settings.checked) !== null && _settings$checked !== void 0 ? _settings$checked : [])), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_SORT_TYPE, (0,external_vue_namespaceObject.ref)(type)), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_SORT_FN, fn), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_FILTER_OBJ, filterObj), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_FILTER_FN, filterFn), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_FILTER_SCOPE, undefined), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_SORT_SCOPE, scope), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_SORT_ACTIVE, (0,external_vue_namespaceObject.ref)(active)), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_IS_DRAG, false), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_SPAN, {
3639
+ })), COLUMN_ATTRIBUTE.COL_MIN_WIDTH, resolveMinWidth(col)), COLUMN_ATTRIBUTE.LISTENERS, new Map()), COLUMN_ATTRIBUTE.WIDTH, col.width), COLUMN_ATTRIBUTE.IS_HIDDEN, isColumnHidden((_settings$fields = settings.fields) !== null && _settings$fields !== void 0 ? _settings$fields : [], col, (_settings$checked = settings.checked) !== null && _settings$checked !== void 0 ? _settings$checked : [])), COLUMN_ATTRIBUTE.COL_SORT_TYPE, (0,external_vue_namespaceObject.ref)(type)), COLUMN_ATTRIBUTE.COL_SORT_FN, fn), COLUMN_ATTRIBUTE.COL_FILTER_OBJ, filterObj), defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_FILTER_FN, filterFn), COLUMN_ATTRIBUTE.COL_FILTER_SCOPE, undefined), COLUMN_ATTRIBUTE.COL_SORT_SCOPE, scope), COLUMN_ATTRIBUTE.COL_SORT_ACTIVE, (0,external_vue_namespaceObject.ref)(active)), COLUMN_ATTRIBUTE.COL_IS_DRAG, false), COLUMN_ATTRIBUTE.COL_SPAN, {
3645
3640
  skipCol: skipCol,
3646
3641
  skipColumnNum: skipColumnNum,
3647
3642
  skipColLen: skipColLen
3648
- }), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_UID, esm_browser_v4()), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.SELECTION_DISABLED, false), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.SELECTION_INDETERMINATE, false), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.SELECTION_VAL, false), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_RESIZEABLE, col.resizable !== false), defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_FIXED_STYLE, (0,external_vue_namespaceObject.reactive)({})), _tableColumnSchema$se));
3643
+ }), COLUMN_ATTRIBUTE.COL_UID, esm_browser_v4()), COLUMN_ATTRIBUTE.SELECTION_DISABLED, false), COLUMN_ATTRIBUTE.SELECTION_INDETERMINATE, false), COLUMN_ATTRIBUTE.SELECTION_VAL, false), defineProperty_defineProperty(defineProperty_defineProperty(_tableColumnSchema$se, COLUMN_ATTRIBUTE.COL_RESIZEABLE, col.resizable !== false), COLUMN_ATTRIBUTE.COL_FIXED_STYLE, (0,external_vue_namespaceObject.reactive)({}))));
3649
3644
  }
3650
- Object.assign(tableColumnSchema.get(col), (_Object$assign2 = {}, defineProperty_defineProperty(_Object$assign2, COLUMN_ATTRIBUTE.COL_SPAN, {
3645
+ Object.assign(tableColumnSchema.get(col), defineProperty_defineProperty(defineProperty_defineProperty({}, COLUMN_ATTRIBUTE.COL_SPAN, {
3651
3646
  skipCol: skipCol,
3652
3647
  skipColumnNum: skipColumnNum,
3653
3648
  skipColLen: skipColLen
3654
- }), defineProperty_defineProperty(_Object$assign2, COLUMN_ATTRIBUTE.COL_MIN_WIDTH, resolveMinWidth(col)), _Object$assign2));
3649
+ }), COLUMN_ATTRIBUTE.COL_MIN_WIDTH, resolveMinWidth(col)));
3655
3650
  });
3656
3651
  };
3657
3652
  var setFixedStyle = function setFixedStyle(column, style) {
@@ -3689,7 +3684,7 @@ var useColumns = function useColumns(props) {
3689
3684
  tableColumnList.push.apply(tableColumnList, _toConsumableArray(flatColumnTemplate(columns)));
3690
3685
  formatColumns();
3691
3686
  setVisibleColumns();
3692
- onComplete === null || onComplete === void 0 ? void 0 : onComplete();
3687
+ onComplete === null || onComplete === void 0 || onComplete();
3693
3688
  });
3694
3689
  var setColumnIsHidden = function setColumnIsHidden(column) {
3695
3690
  var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
@@ -3699,12 +3694,11 @@ var useColumns = function useColumns(props) {
3699
3694
  setColumnAttribute(column, COLUMN_ATTRIBUTE.RESIZE_WIDTH, value);
3700
3695
  };
3701
3696
  var setColumnSortOption = function setColumnSortOption(column, option) {
3702
- var _target;
3703
3697
  var type = option.type,
3704
3698
  fn = option.fn,
3705
3699
  scope = option.scope,
3706
3700
  active = option.active;
3707
- var target = (_target = {}, defineProperty_defineProperty(_target, COLUMN_ATTRIBUTE.COL_SORT_TYPE, type), defineProperty_defineProperty(_target, COLUMN_ATTRIBUTE.COL_SORT_FN, fn), defineProperty_defineProperty(_target, COLUMN_ATTRIBUTE.COL_SORT_ACTIVE, active), defineProperty_defineProperty(_target, COLUMN_ATTRIBUTE.COL_SORT_SCOPE, scope), _target);
3701
+ var target = defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, COLUMN_ATTRIBUTE.COL_SORT_TYPE, type), COLUMN_ATTRIBUTE.COL_SORT_FN, fn), COLUMN_ATTRIBUTE.COL_SORT_ACTIVE, active), COLUMN_ATTRIBUTE.COL_SORT_SCOPE, scope);
3708
3702
  [COLUMN_ATTRIBUTE.COL_SORT_TYPE, COLUMN_ATTRIBUTE.COL_SORT_FN, COLUMN_ATTRIBUTE.COL_SORT_ACTIVE, COLUMN_ATTRIBUTE.COL_SORT_SCOPE].forEach(function (name) {
3709
3703
  if (target[name] !== undefined) {
3710
3704
  setColumnAttribute(column, name, target[name]);
@@ -3808,8 +3802,7 @@ var useColumns = function useColumns(props) {
3808
3802
  return (_tableColumnSchema$ge2 = tableColumnSchema.get(col)) === null || _tableColumnSchema$ge2 === void 0 ? void 0 : _tableColumnSchema$ge2[attributeName];
3809
3803
  };
3810
3804
  var getColumnClass = function getColumnClass(column, colIndex) {
3811
- var _ref4;
3812
- return _ref4 = {}, defineProperty_defineProperty(_ref4, "".concat(uuid, "-column-").concat(colIndex), false), defineProperty_defineProperty(_ref4, "column_fixed", !!column.fixed), defineProperty_defineProperty(_ref4, "column_fixed_left", !!column.fixed), defineProperty_defineProperty(_ref4, "column_fixed_right", column.fixed === 'right'), _ref4;
3805
+ return defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, "".concat(uuid, "-column-").concat(colIndex), false), "column_fixed", !!column.fixed), "column_fixed_left", !!column.fixed), "column_fixed_right", column.fixed === 'right');
3813
3806
  };
3814
3807
  var getHeadColumnClass = function getHeadColumnClass(column, colIndex) {
3815
3808
  return use_columns_objectSpread({}, getColumnClass(column, colIndex));
@@ -4002,7 +3995,7 @@ var useColumns = function useColumns(props) {
4002
3995
  };
4003
3996
  var beforeEventFire = function beforeEventFire(fn) {
4004
3997
  if (props.rowDraggable) {
4005
- fn === null || fn === void 0 ? void 0 : fn();
3998
+ fn === null || fn === void 0 || fn();
4006
3999
  }
4007
4000
  };
4008
4001
  var getTargetRow = function getTargetRow(event) {
@@ -4125,21 +4118,21 @@ var useColumns = function useColumns(props) {
4125
4118
  * 固定列Hooks
4126
4119
  */
4127
4120
  /* harmony default export */ const use_fixed_column = (function (_props, columns) {
4128
- var fixedLeftColumns = computed(function () {
4121
+ var fixedLeftColumns = (0,external_vue_namespaceObject.computed)(function () {
4129
4122
  return columns.visibleColumns.filter(function (column) {
4130
4123
  return !!column.fixed && column.fixed !== 'right';
4131
4124
  });
4132
4125
  });
4133
- var fixedRightColumns = computed(function () {
4126
+ var fixedRightColumns = (0,external_vue_namespaceObject.computed)(function () {
4134
4127
  return columns.visibleColumns.filter(function (column) {
4135
4128
  return !!column.fixed && column.fixed === 'right';
4136
4129
  });
4137
4130
  });
4138
- var fixedLeftStyle = reactive({
4131
+ var fixedLeftStyle = (0,external_vue_namespaceObject.reactive)({
4139
4132
  left: 0,
4140
4133
  width: '0'
4141
4134
  });
4142
- var fixedRightStyle = reactive({
4135
+ var fixedRightStyle = (0,external_vue_namespaceObject.reactive)({
4143
4136
  right: 0,
4144
4137
  width: '0'
4145
4138
  });
@@ -4234,7 +4227,7 @@ const virtual_render_less_namespaceObject = virtual_render_less_x({ });
4234
4227
  * IN THE SOFTWARE.
4235
4228
  */
4236
4229
 
4237
- /* harmony default export */ const ghost_body = (defineComponent({
4230
+ /* harmony default export */ const ghost_body = ((0,external_vue_namespaceObject.defineComponent)({
4238
4231
  name: 'GhostBody',
4239
4232
  setup: function setup(_, ctx) {
4240
4233
  var columnGhostStyle = {
@@ -4380,7 +4373,6 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4380
4373
 
4381
4374
 
4382
4375
  /* harmony default export */ const use_layout = (function (props, ctx) {
4383
- var _bodyClass;
4384
4376
  var refRoot = (0,external_vue_namespaceObject.ref)(null);
4385
4377
  var refHead = (0,external_vue_namespaceObject.ref)(null);
4386
4378
  var refBody = (0,external_vue_namespaceObject.ref)(null);
@@ -4417,23 +4409,22 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4417
4409
  };
4418
4410
  });
4419
4411
  var headClass = (0,external_vue_namespaceObject.computed)(function () {
4420
- var _classes2;
4421
- return (0,shared_namespaceObject.classes)((_classes2 = {}, defineProperty_defineProperty(_classes2, resolveClassName('table-head'), true), defineProperty_defineProperty(_classes2, 'has-settings', !!props.settings), defineProperty_defineProperty(_classes2, 'has-group', headerRowCount.value > 1), _classes2));
4412
+ return (0,shared_namespaceObject.classes)(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, resolveClassName('table-head'), true), 'has-settings', !!props.settings), 'has-group', headerRowCount.value > 1));
4422
4413
  });
4423
4414
  var setFixedColumnShawdow = function setFixedColumnShawdow() {
4424
4415
  var _refRoot$value, _refRoot$value2;
4425
4416
  var rightShawdow = offsetRight.value > 0 ? '0 0 10px rgb(0 0 0 / 12%)' : null;
4426
4417
  var leftShawdow = translateX.value > 0 ? '0 0 10px rgb(0 0 0 / 12%)' : null;
4427
- (_refRoot$value = refRoot.value) === null || _refRoot$value === void 0 || (_refRoot$value = _refRoot$value.style) === null || _refRoot$value === void 0 ? void 0 : _refRoot$value.setProperty('--shadow-right', rightShawdow);
4428
- (_refRoot$value2 = refRoot.value) === null || _refRoot$value2 === void 0 || (_refRoot$value2 = _refRoot$value2.style) === null || _refRoot$value2 === void 0 ? void 0 : _refRoot$value2.setProperty('--shadow-left', leftShawdow);
4418
+ (_refRoot$value = refRoot.value) === null || _refRoot$value === void 0 || (_refRoot$value = _refRoot$value.style) === null || _refRoot$value === void 0 || _refRoot$value.setProperty('--shadow-right', rightShawdow);
4419
+ (_refRoot$value2 = refRoot.value) === null || _refRoot$value2 === void 0 || (_refRoot$value2 = _refRoot$value2.style) === null || _refRoot$value2 === void 0 || _refRoot$value2.setProperty('--shadow-left', leftShawdow);
4429
4420
  };
4430
4421
  var setRootStyleVars = (0,shared_namespaceObject.throttle)(function () {
4431
4422
  var _refRoot$value3, _refRoot$value4, _refRoot$value5, _refRoot$value6, _refRoot$value7;
4432
- (_refRoot$value3 = refRoot.value) === null || _refRoot$value3 === void 0 || (_refRoot$value3 = _refRoot$value3.style) === null || _refRoot$value3 === void 0 ? void 0 : _refRoot$value3.setProperty('--drag-offset-x', "".concat(dragOffsetX.value + translateX.value, "px"));
4433
- (_refRoot$value4 = refRoot.value) === null || _refRoot$value4 === void 0 || (_refRoot$value4 = _refRoot$value4.style) === null || _refRoot$value4 === void 0 ? void 0 : _refRoot$value4.setProperty('--drag-offset-h-x', "".concat(dragOffsetX.value - 2, "px"));
4434
- (_refRoot$value5 = refRoot.value) === null || _refRoot$value5 === void 0 || (_refRoot$value5 = _refRoot$value5.style) === null || _refRoot$value5 === void 0 ? void 0 : _refRoot$value5.setProperty('--translate-y', "".concat(translateY.value, "px"));
4435
- (_refRoot$value6 = refRoot.value) === null || _refRoot$value6 === void 0 || (_refRoot$value6 = _refRoot$value6.style) === null || _refRoot$value6 === void 0 ? void 0 : _refRoot$value6.setProperty('--translate-x', "".concat(translateX.value, "px"));
4436
- (_refRoot$value7 = refRoot.value) === null || _refRoot$value7 === void 0 || (_refRoot$value7 = _refRoot$value7.style) === null || _refRoot$value7 === void 0 ? void 0 : _refRoot$value7.setProperty('--translate-x-1', "-".concat(translateX.value, "px"));
4423
+ (_refRoot$value3 = refRoot.value) === null || _refRoot$value3 === void 0 || (_refRoot$value3 = _refRoot$value3.style) === null || _refRoot$value3 === void 0 || _refRoot$value3.setProperty('--drag-offset-x', "".concat(dragOffsetX.value + translateX.value, "px"));
4424
+ (_refRoot$value4 = refRoot.value) === null || _refRoot$value4 === void 0 || (_refRoot$value4 = _refRoot$value4.style) === null || _refRoot$value4 === void 0 || _refRoot$value4.setProperty('--drag-offset-h-x', "".concat(dragOffsetX.value - 2, "px"));
4425
+ (_refRoot$value5 = refRoot.value) === null || _refRoot$value5 === void 0 || (_refRoot$value5 = _refRoot$value5.style) === null || _refRoot$value5 === void 0 || _refRoot$value5.setProperty('--translate-y', "".concat(translateY.value, "px"));
4426
+ (_refRoot$value6 = refRoot.value) === null || _refRoot$value6 === void 0 || (_refRoot$value6 = _refRoot$value6.style) === null || _refRoot$value6 === void 0 || _refRoot$value6.setProperty('--translate-x', "".concat(translateX.value, "px"));
4427
+ (_refRoot$value7 = refRoot.value) === null || _refRoot$value7 === void 0 || (_refRoot$value7 = _refRoot$value7.style) === null || _refRoot$value7 === void 0 || _refRoot$value7.setProperty('--translate-x-1', "-".concat(translateX.value, "px"));
4437
4428
  setFixedColumnShawdow();
4438
4429
  });
4439
4430
  var setTranslateX = function setTranslateX(val) {
@@ -4449,11 +4440,11 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4449
4440
  };
4450
4441
  var initRootStyleVars = function initRootStyleVars() {
4451
4442
  var _refRoot$value8, _refRoot$value9, _refRoot$value10, _refRoot$value11, _refRoot$value12;
4452
- (_refRoot$value8 = refRoot.value) === null || _refRoot$value8 === void 0 || (_refRoot$value8 = _refRoot$value8.style) === null || _refRoot$value8 === void 0 ? void 0 : _refRoot$value8.setProperty('--drag-offset-x', '-1000px');
4453
- (_refRoot$value9 = refRoot.value) === null || _refRoot$value9 === void 0 || (_refRoot$value9 = _refRoot$value9.style) === null || _refRoot$value9 === void 0 ? void 0 : _refRoot$value9.setProperty('--drag-offset-h-x', '-1000px');
4454
- (_refRoot$value10 = refRoot.value) === null || _refRoot$value10 === void 0 || (_refRoot$value10 = _refRoot$value10.style) === null || _refRoot$value10 === void 0 ? void 0 : _refRoot$value10.setProperty('--translate-y', '0px');
4455
- (_refRoot$value11 = refRoot.value) === null || _refRoot$value11 === void 0 || (_refRoot$value11 = _refRoot$value11.style) === null || _refRoot$value11 === void 0 ? void 0 : _refRoot$value11.setProperty('--translate-x', '0px');
4456
- (_refRoot$value12 = refRoot.value) === null || _refRoot$value12 === void 0 || (_refRoot$value12 = _refRoot$value12.style) === null || _refRoot$value12 === void 0 ? void 0 : _refRoot$value12.setProperty('--translate-x-1', '0px');
4443
+ (_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');
4444
+ (_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');
4445
+ (_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');
4446
+ (_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');
4447
+ (_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');
4457
4448
  };
4458
4449
  var setDragOffsetX = function setDragOffsetX(val) {
4459
4450
  dragOffsetX.value = val;
@@ -4471,10 +4462,9 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4471
4462
  paddingRight: props.scrollbar ? null : "".concat(SCROLLY_WIDTH, "px")
4472
4463
  };
4473
4464
  });
4474
- var bodyClass = (_bodyClass = {}, defineProperty_defineProperty(_bodyClass, resolveClassName('table-body'), true), defineProperty_defineProperty(_bodyClass, 'is-bk-scrollbar', props.scrollbar), _bodyClass);
4465
+ var bodyClass = defineProperty_defineProperty(defineProperty_defineProperty({}, resolveClassName('table-body'), true), 'is-bk-scrollbar', props.scrollbar);
4475
4466
  var footerClass = (0,external_vue_namespaceObject.computed)(function () {
4476
- var _classes3;
4477
- return (0,shared_namespaceObject.classes)((_classes3 = {}, defineProperty_defineProperty(_classes3, resolveClassName('table-footer'), true), defineProperty_defineProperty(_classes3, 'is-hidden', footHeight.value === 0), _classes3));
4467
+ return (0,shared_namespaceObject.classes)(defineProperty_defineProperty(defineProperty_defineProperty({}, resolveClassName('table-footer'), true), 'is-hidden', footHeight.value === 0));
4478
4468
  });
4479
4469
  var renderContainer = function renderContainer(childrend) {
4480
4470
  var _ctx$slots$default, _ctx$slots2;
@@ -4592,12 +4582,10 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4592
4582
  'resize-column': true
4593
4583
  };
4594
4584
  var scrollContentClass = (0,external_vue_namespaceObject.computed)(function () {
4595
- var _ref2;
4596
- return _ref2 = {}, defineProperty_defineProperty(_ref2, resolveClassName('table-body-content'), true), defineProperty_defineProperty(_ref2, resolveClassName('stripe'), props.stripe), _ref2;
4585
+ return defineProperty_defineProperty(defineProperty_defineProperty({}, resolveClassName('table-body-content'), true), resolveClassName('stripe'), props.stripe);
4597
4586
  });
4598
4587
  var fixedWrapperClass = (0,external_vue_namespaceObject.computed)(function () {
4599
- var _ref3;
4600
- return _ref3 = {}, defineProperty_defineProperty(_ref3, resolveClassName('table-fixed'), true), defineProperty_defineProperty(_ref3, 'has-virtual-scroll', props.virtualEnabled), _ref3;
4588
+ return defineProperty_defineProperty(defineProperty_defineProperty({}, resolveClassName('table-fixed'), true), 'has-virtual-scroll', props.virtualEnabled);
4601
4589
  });
4602
4590
  var fixedBottomRow = resolveClassName('table-fixed-bottom');
4603
4591
  var fixedBottomLoadingStyle = (0,external_vue_namespaceObject.computed)(function () {
@@ -4739,7 +4727,7 @@ function use_layout_objectSpread(e) { for (var r = 1; r < arguments.length; r++)
4739
4727
  }
4740
4728
  dispose();
4741
4729
  instance = observerResize(target.value, function () {
4742
- fn === null || fn === void 0 ? void 0 : fn.apply.apply(fn, _toConsumableArray(args));
4730
+ fn === null || fn === void 0 || fn.apply.apply(fn, _toConsumableArray(args));
4743
4731
  }, 60, true, 'debounce');
4744
4732
  if (immediate) {
4745
4733
  instance.start();
@@ -4900,7 +4888,8 @@ const exception_less_namespaceObject = exception_less_x({ });
4900
4888
 
4901
4889
 
4902
4890
 
4903
- /* harmony default export */ const body_empty = (defineComponent({
4891
+
4892
+ /* harmony default export */ const body_empty = ((0,external_vue_namespaceObject.defineComponent)({
4904
4893
  name: 'BodyEmpty',
4905
4894
  props: {
4906
4895
  list: shared_namespaceObject.PropTypes.array.def([]),
@@ -4910,13 +4899,13 @@ const exception_less_namespaceObject = exception_less_x({ });
4910
4899
  emits: ['change'],
4911
4900
  setup: function setup(props) {
4912
4901
  var t = (0,config_provider_namespaceObject.useLocale)('table');
4913
- var localEmptyText = computed(function () {
4902
+ var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
4914
4903
  if (props.emptyText === undefined) {
4915
4904
  return t.value.emptyText;
4916
4905
  }
4917
4906
  return props.emptyText;
4918
4907
  });
4919
- var type = computed(function () {
4908
+ var type = (0,external_vue_namespaceObject.computed)(function () {
4920
4909
  return props.list.length === 0 ? 'empty' : 'search-empty';
4921
4910
  });
4922
4911
  return function () {
@@ -5152,7 +5141,7 @@ const exception_less_namespaceObject = exception_less_x({ });
5152
5141
  }
5153
5142
  } else {
5154
5143
  var _bkEllipsisIns;
5155
- (_bkEllipsisIns = bkEllipsisIns) === null || _bkEllipsisIns === void 0 ? void 0 : _bkEllipsisIns.destroyInstance(target);
5144
+ (_bkEllipsisIns = bkEllipsisIns) === null || _bkEllipsisIns === void 0 || _bkEllipsisIns.destroyInstance(target);
5156
5145
  bkEllipsisIns = null;
5157
5146
  }
5158
5147
  };
@@ -5182,7 +5171,7 @@ const exception_less_namespaceObject = exception_less_x({ });
5182
5171
  if (entries[0].intersectionRatio <= 0) {
5183
5172
  var _bkEllipsisIns2;
5184
5173
  renderSlots.value = false;
5185
- (_bkEllipsisIns2 = bkEllipsisIns) === null || _bkEllipsisIns2 === void 0 ? void 0 : _bkEllipsisIns2.destroyInstance(refRoot.value);
5174
+ (_bkEllipsisIns2 = bkEllipsisIns) === null || _bkEllipsisIns2 === void 0 || _bkEllipsisIns2.destroyInstance(refRoot.value);
5186
5175
  return;
5187
5176
  }
5188
5177
  renderSlots.value = true;
@@ -5190,7 +5179,7 @@ const exception_less_namespaceObject = exception_less_x({ });
5190
5179
  }, {
5191
5180
  threshold: 0.5
5192
5181
  });
5193
- (_intersectionObserver = intersectionObserver) === null || _intersectionObserver === void 0 ? void 0 : _intersectionObserver.observe(refRoot.value);
5182
+ (_intersectionObserver = intersectionObserver) === null || _intersectionObserver === void 0 || _intersectionObserver.observe(refRoot.value);
5194
5183
  };
5195
5184
  (0,external_vue_namespaceObject.onMounted)(function () {
5196
5185
  initObserver();
@@ -5201,10 +5190,10 @@ const exception_less_namespaceObject = exception_less_x({ });
5201
5190
  });
5202
5191
  (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
5203
5192
  var _resizeObserverIns, _bkEllipsisIns3, _intersectionObserver2;
5204
- (_resizeObserverIns = resizeObserverIns) === null || _resizeObserverIns === void 0 ? void 0 : _resizeObserverIns.disconnect();
5193
+ (_resizeObserverIns = resizeObserverIns) === null || _resizeObserverIns === void 0 || _resizeObserverIns.disconnect();
5205
5194
  resizeObserverIns = null;
5206
- (_bkEllipsisIns3 = bkEllipsisIns) === null || _bkEllipsisIns3 === void 0 ? void 0 : _bkEllipsisIns3.destroyInstance(refRoot.value);
5207
- (_intersectionObserver2 = intersectionObserver) === null || _intersectionObserver2 === void 0 ? void 0 : _intersectionObserver2.disconnect();
5195
+ (_bkEllipsisIns3 = bkEllipsisIns) === null || _bkEllipsisIns3 === void 0 || _bkEllipsisIns3.destroyInstance(refRoot.value);
5196
+ (_intersectionObserver2 = intersectionObserver) === null || _intersectionObserver2 === void 0 || _intersectionObserver2.disconnect();
5208
5197
  intersectionObserver = null;
5209
5198
  });
5210
5199
  var hasExplain = props.headExplain || props.column.explain;
@@ -5246,7 +5235,7 @@ const exception_less_namespaceObject = exception_less_x({ });
5246
5235
  * IN THE SOFTWARE.
5247
5236
  */
5248
5237
 
5249
- /* harmony default export */ const table_row = (defineComponent({
5238
+ /* harmony default export */ const table_row = ((0,external_vue_namespaceObject.defineComponent)({
5250
5239
  name: 'TableRow',
5251
5240
  render: function render() {
5252
5241
  var _this$$slots$default, _this$$slots;
@@ -5271,6 +5260,7 @@ var isEmpty_y = x => () => x
5271
5260
  const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEmpty_e109fd6b__["default"] });
5272
5261
  ;// CONCATENATED MODULE: ../../packages/table/src/hooks/use-cell.tsx
5273
5262
 
5263
+
5274
5264
  /*
5275
5265
  * Tencent is pleased to support the open source community by making
5276
5266
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -5428,7 +5418,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
5428
5418
  var defaultFn = function defaultFn() {
5429
5419
  var type = resolvePropVal(column, 'type', [column, row]);
5430
5420
  if (type === 'index') {
5431
- return rows.getRowAttribute(toRaw(row), TABLE_ROW_ATTRIBUTE.ROW_INDEX);
5421
+ return rows.getRowAttribute((0,external_vue_namespaceObject.toRaw)(row), TABLE_ROW_ATTRIBUTE.ROW_INDEX);
5432
5422
  }
5433
5423
  var key = resolvePropVal(column, 'field', [column, row]);
5434
5424
  var cell = getRowText(row, key);
@@ -5439,7 +5429,7 @@ const isEmpty_namespaceObject = isEmpty_x({ ["default"]: () => __WEBPACK_EXTERNA
5439
5429
  return "".concat(cell);
5440
5430
  }
5441
5431
  if (typeof_typeof(cell) === 'object' && cell !== null) {
5442
- return JSON.stringify(unref(cell));
5432
+ return JSON.stringify((0,external_vue_namespaceObject.unref)(cell));
5443
5433
  }
5444
5434
  if (isEmptyCellText(cell)) {
5445
5435
  var emptyCellText = props.emptyCellText;
@@ -5779,8 +5769,7 @@ var ROW_HEIGHT = 32;
5779
5769
  deep: true
5780
5770
  });
5781
5771
  var headClass = (0,external_vue_namespaceObject.computed)(function () {
5782
- var _classes;
5783
- return (0,shared_namespaceObject.classes)((_classes = {}, defineProperty_defineProperty(_classes, resolveClassName('table-head-action'), true), defineProperty_defineProperty(_classes, 'column-filter', true), defineProperty_defineProperty(_classes, '--row-height', "".concat(props.height, "px")), defineProperty_defineProperty(_classes, "active", state.checked.length), defineProperty_defineProperty(_classes, "opened", state.isOpen), _classes));
5772
+ return (0,shared_namespaceObject.classes)(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, resolveClassName('table-head-action'), true), 'column-filter', true), '--row-height', "".concat(props.height, "px")), "active", state.checked.length), "opened", state.isOpen));
5784
5773
  });
5785
5774
  var headFilterContentClass = (0,shared_namespaceObject.classes)(defineProperty_defineProperty({}, resolveClassName('table-head-filter'), true));
5786
5775
  var refVirtualRender = (0,external_vue_namespaceObject.ref)(null);
@@ -5788,7 +5777,7 @@ var ROW_HEIGHT = 32;
5788
5777
  state.isOpen = isOpen;
5789
5778
  isOpen && setTimeout(function () {
5790
5779
  var _refVirtualRender$val;
5791
- (_refVirtualRender$val = refVirtualRender.value) === null || _refVirtualRender$val === void 0 ? void 0 : _refVirtualRender$val.reset();
5780
+ (_refVirtualRender$val = refVirtualRender.value) === null || _refVirtualRender$val === void 0 || _refVirtualRender$val.reset();
5792
5781
  });
5793
5782
  if (!isOpen) {
5794
5783
  searchValue.value = '';
@@ -5923,7 +5912,7 @@ var ROW_HEIGHT = 32;
5923
5912
  handleFilterChange();
5924
5913
  };
5925
5914
  var renderDisplayTooltip = /*#__PURE__*/function () {
5926
- var _ref2 = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
5915
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
5927
5916
  return regenerator_default().wrap(function _callee$(_context) {
5928
5917
  while (1) switch (_context.prev = _context.next) {
5929
5918
  case 0:
@@ -6037,31 +6026,31 @@ function _arrayWithHoles(arr) {
6037
6026
  if (Array.isArray(arr)) return arr;
6038
6027
  }
6039
6028
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
6040
- function _iterableToArrayLimit(arr, i) {
6041
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
6042
- if (null != _i) {
6043
- var _s,
6044
- _e,
6045
- _x,
6046
- _r,
6047
- _arr = [],
6048
- _n = !0,
6049
- _d = !1;
6029
+ function _iterableToArrayLimit(r, l) {
6030
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
6031
+ if (null != t) {
6032
+ var e,
6033
+ n,
6034
+ i,
6035
+ u,
6036
+ a = [],
6037
+ f = !0,
6038
+ o = !1;
6050
6039
  try {
6051
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
6052
- if (Object(_i) !== _i) return;
6053
- _n = !1;
6054
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
6055
- } catch (err) {
6056
- _d = !0, _e = err;
6040
+ if (i = (t = t.call(r)).next, 0 === l) {
6041
+ if (Object(t) !== t) return;
6042
+ f = !1;
6043
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
6044
+ } catch (r) {
6045
+ o = !0, n = r;
6057
6046
  } finally {
6058
6047
  try {
6059
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
6048
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
6060
6049
  } finally {
6061
- if (_d) throw _e;
6050
+ if (o) throw n;
6062
6051
  }
6063
6052
  }
6064
- return _arr;
6053
+ return a;
6065
6054
  }
6066
6055
  }
6067
6056
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
@@ -6217,6 +6206,7 @@ const _namespaceObject = _x({ ["AngleDownFill"]: () => __WEBPACK_EXTERNAL_MODULE
6217
6206
 
6218
6207
 
6219
6208
 
6209
+
6220
6210
  function use_head_isSlot(s) {
6221
6211
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
6222
6212
  }
@@ -6228,10 +6218,10 @@ function use_head_isSlot(s) {
6228
6218
  ctx = _ref.ctx,
6229
6219
  column = _ref.column,
6230
6220
  index = _ref.index;
6231
- var sortType = ref(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_TYPE));
6232
- var sortActive = ref(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_ACTIVE));
6233
- var rawColumn = toRaw(column);
6234
- var refDropdownPop = ref(null);
6221
+ var sortType = (0,external_vue_namespaceObject.ref)(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_TYPE));
6222
+ var sortActive = (0,external_vue_namespaceObject.ref)(columns.getColumnAttribute(column, COLUMN_ATTRIBUTE.COL_SORT_ACTIVE));
6223
+ var rawColumn = (0,external_vue_namespaceObject.toRaw)(column);
6224
+ var refDropdownPop = (0,external_vue_namespaceObject.ref)(null);
6235
6225
  /**
6236
6226
  * 点击排序事件
6237
6227
  * @param sortFn 排序函数
@@ -6275,7 +6265,7 @@ function use_head_isSlot(s) {
6275
6265
  var handleFilterChange = function handleFilterChange(checked) {
6276
6266
  ctx.emit(EMIT_EVENTS.COLUMN_FILTER, {
6277
6267
  checked: checked,
6278
- column: unref(column),
6268
+ column: (0,external_vue_namespaceObject.unref)(column),
6279
6269
  index: index
6280
6270
  });
6281
6271
  };
@@ -6289,7 +6279,7 @@ function use_head_isSlot(s) {
6289
6279
  columns.setColumnAttribute(column, COLUMN_ATTRIBUTE.COL_FILTER_VALUES, []);
6290
6280
  ctx.emit(EMIT_EVENTS.COLUMN_FILTER, {
6291
6281
  checked: [],
6292
- column: unref(column),
6282
+ column: (0,external_vue_namespaceObject.unref)(column),
6293
6283
  index: index
6294
6284
  });
6295
6285
  };
@@ -6461,12 +6451,12 @@ function use_head_isSlot(s) {
6461
6451
  '--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]
6462
6452
  });
6463
6453
  var group = columns.getGroupAttribute(rawColumn);
6464
- var classList = computed(function () {
6454
+ var classList = (0,external_vue_namespaceObject.computed)(function () {
6465
6455
  return [columns.getHeadColumnClass(column, index), columns.getColumnCustomClass(column), column.align || props.headerAlign || props.align, {
6466
6456
  'is-last-child': (group === null || group === void 0 ? void 0 : group.offsetLeft) + 1 === columns.visibleColumns.length
6467
6457
  }];
6468
6458
  });
6469
- var groupClass = computed(function () {
6459
+ var groupClass = (0,external_vue_namespaceObject.computed)(function () {
6470
6460
  return classList.value.concat([{
6471
6461
  'is-head-group': group === null || group === void 0 ? void 0 : group.isGroup,
6472
6462
  'is-head-group-child': !!(group !== null && group !== void 0 && group.parent)
@@ -6597,6 +6587,7 @@ var multiShiftKey = function multiShiftKey(props) {
6597
6587
  ;// CONCATENATED MODULE: ../../packages/table/src/hooks/use-render.tsx
6598
6588
 
6599
6589
 
6590
+
6600
6591
  /*
6601
6592
  * Tencent is pleased to support the open source community by making
6602
6593
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -6775,7 +6766,7 @@ function use_render_isSlot(s) {
6775
6766
  */
6776
6767
  var renderTBody = function renderTBody(list) {
6777
6768
  var dataList = list !== null && list !== void 0 ? list : rows.pageRowList;
6778
- var localEmptyText = computed(function () {
6769
+ var localEmptyText = (0,external_vue_namespaceObject.computed)(function () {
6779
6770
  if (props.emptyText === undefined) {
6780
6771
  return t.value.emptyText;
6781
6772
  }
@@ -7038,7 +7029,7 @@ function use_render_isSlot(s) {
7038
7029
  }), null);
7039
7030
  }
7040
7031
  };
7041
- onUnmounted(function () {
7032
+ (0,external_vue_namespaceObject.onUnmounted)(function () {
7042
7033
  multiShiftKey.removeMultiCheckedEvents();
7043
7034
  });
7044
7035
  return {
@@ -7133,7 +7124,6 @@ var useRows = function useRows(props) {
7133
7124
  * @param data
7134
7125
  */
7135
7126
  var formatDataSchema = function formatDataSchema() {
7136
- var _tableRowSchema$set2;
7137
7127
  var hasSelectedRow = false;
7138
7128
  var hasUnSelectedRow = false;
7139
7129
  tableRowList.value.forEach(function (item, index) {
@@ -7146,8 +7136,7 @@ var useRows = function useRows(props) {
7146
7136
  hasUnSelectedRow = true;
7147
7137
  }
7148
7138
  if (!tableRowSchema.has(row)) {
7149
- var _tableRowSchema$set;
7150
- tableRowSchema.set(row, (_tableRowSchema$set = {}, defineProperty_defineProperty(_tableRowSchema$set, TABLE_ROW_ATTRIBUTE.ROW_EXPAND, false), defineProperty_defineProperty(_tableRowSchema$set, TABLE_ROW_ATTRIBUTE.ROW_SELECTION, isSelected), defineProperty_defineProperty(_tableRowSchema$set, TABLE_ROW_ATTRIBUTE.ROW_UID, rowId), defineProperty_defineProperty(_tableRowSchema$set, TABLE_ROW_ATTRIBUTE.ROW_INDEX, index + 1), defineProperty_defineProperty(_tableRowSchema$set, TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, false), _tableRowSchema$set));
7139
+ tableRowSchema.set(row, defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty(defineProperty_defineProperty({}, TABLE_ROW_ATTRIBUTE.ROW_EXPAND, false), TABLE_ROW_ATTRIBUTE.ROW_SELECTION, isSelected), TABLE_ROW_ATTRIBUTE.ROW_UID, rowId), TABLE_ROW_ATTRIBUTE.ROW_INDEX, index + 1), TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, false));
7151
7140
  }
7152
7141
  // 当传入的data改变时,更新相关属性
7153
7142
  // ROW_EXPAND & ROW_SELECTION & ROW_UID 不做更新
@@ -7156,7 +7145,7 @@ var useRows = function useRows(props) {
7156
7145
  target[TABLE_ROW_ATTRIBUTE.ROW_INDEX] = index + 1;
7157
7146
  target[TABLE_ROW_ATTRIBUTE.ROW_HEIGHT] = getSelfRowHeight(item, index);
7158
7147
  });
7159
- tableRowSchema.set(CHECK_ALL_OBJ, (_tableRowSchema$set2 = {}, defineProperty_defineProperty(_tableRowSchema$set2, TABLE_ROW_ATTRIBUTE.ROW_SELECTION, hasSelectedRow), defineProperty_defineProperty(_tableRowSchema$set2, TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, hasSelectedRow && hasUnSelectedRow), _tableRowSchema$set2));
7148
+ tableRowSchema.set(CHECK_ALL_OBJ, defineProperty_defineProperty(defineProperty_defineProperty({}, TABLE_ROW_ATTRIBUTE.ROW_SELECTION, hasSelectedRow), TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, hasSelectedRow && hasUnSelectedRow));
7160
7149
  };
7161
7150
  var getSelectionRowArgs = function getSelectionRowArgs(row, index) {
7162
7151
  return {
@@ -7189,9 +7178,8 @@ var useRows = function useRows(props) {
7189
7178
  setRowSelection(row, !getRowAttribute(row, TABLE_ROW_ATTRIBUTE.ROW_SELECTION));
7190
7179
  };
7191
7180
  var toggleAllSelection = function toggleAllSelection(value) {
7192
- var _tableRowSchema$set4;
7193
7181
  var val = value !== null && value !== void 0 ? value : !isCheckedAll();
7194
- tableRowSchema.set(CHECK_ALL_OBJ, (_tableRowSchema$set4 = {}, defineProperty_defineProperty(_tableRowSchema$set4, TABLE_ROW_ATTRIBUTE.ROW_SELECTION, val), defineProperty_defineProperty(_tableRowSchema$set4, TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, false), _tableRowSchema$set4));
7182
+ tableRowSchema.set(CHECK_ALL_OBJ, defineProperty_defineProperty(defineProperty_defineProperty({}, TABLE_ROW_ATTRIBUTE.ROW_SELECTION, val), TABLE_ROW_ATTRIBUTE.ROW_SELECTION_INDETERMINATE, false));
7195
7183
  if (props.acrossAll) {
7196
7184
  tableRowList.value.forEach(function (row, index) {
7197
7185
  return setRowSelection(row, val, index);
@@ -7535,8 +7523,8 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
7535
7523
  Object.assign(options, result);
7536
7524
  columns.setColumnAttributeBySettings(options, result.checked);
7537
7525
  columns.setVisibleColumns();
7538
- afterSetting === null || afterSetting === void 0 ? void 0 : afterSetting(result);
7539
- (_refSetting$value = refSetting.value) === null || _refSetting$value === void 0 ? void 0 : _refSetting$value.hide();
7526
+ afterSetting === null || afterSetting === void 0 || afterSetting(result);
7527
+ (_refSetting$value = refSetting.value) === null || _refSetting$value === void 0 || _refSetting$value.hide();
7540
7528
  ctx.emit(EMIT_EVENTS.SETTING_CHANGE, result);
7541
7529
  };
7542
7530
  var handleCancelClick = function handleCancelClick() {
@@ -7545,12 +7533,12 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
7545
7533
  activeSize.value = cachedValue.activeSize;
7546
7534
  activeHeight.value = cachedValue.activeHeight;
7547
7535
  checkedFields.value = cachedValue.checkedFields;
7548
- (_refSetting$value2 = refSetting.value) === null || _refSetting$value2 === void 0 ? void 0 : _refSetting$value2.hide();
7536
+ (_refSetting$value2 = refSetting.value) === null || _refSetting$value2 === void 0 || _refSetting$value2.hide();
7549
7537
  };
7550
7538
  var handleSettingClick = function handleSettingClick() {
7551
7539
  if (options.trigger === 'manual') {
7552
7540
  var _refSetting$value3;
7553
- (_refSetting$value3 = refSetting.value) === null || _refSetting$value3 === void 0 ? void 0 : _refSetting$value3.show();
7541
+ (_refSetting$value3 = refSetting.value) === null || _refSetting$value3 === void 0 || _refSetting$value3.show();
7554
7542
  }
7555
7543
  };
7556
7544
  var handleCheckAllClick = function handleCheckAllClick(e) {
@@ -7643,7 +7631,7 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
7643
7631
  deep: true
7644
7632
  });
7645
7633
  var renderDisplayTooltip = /*#__PURE__*/function () {
7646
- var _ref = _asyncToGenerator(/*#__PURE__*/regenerator_default().mark(function _callee() {
7634
+ var _ref = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
7647
7635
  return regenerator_default().wrap(function _callee$(_context) {
7648
7636
  while (1) switch (_context.prev = _context.next) {
7649
7637
  case 0:
@@ -8107,7 +8095,7 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
8107
8095
  (0,external_vue_namespaceObject.watch)(pageListLength, function (val, old) {
8108
8096
  if (val < old) {
8109
8097
  var _refBody$value2, _refBody$value2$updat;
8110
- refBody === null || refBody === void 0 || (_refBody$value2 = refBody.value) === null || _refBody$value2 === void 0 || (_refBody$value2$updat = _refBody$value2.updateScroll) === null || _refBody$value2$updat === void 0 ? void 0 : _refBody$value2$updat.call(_refBody$value2);
8098
+ refBody === null || refBody === void 0 || (_refBody$value2 = refBody.value) === null || _refBody$value2 === void 0 || (_refBody$value2$updat = _refBody$value2.updateScroll) === null || _refBody$value2$updat === void 0 || _refBody$value2$updat.call(_refBody$value2);
8111
8099
  scrollTo(undefined, 0);
8112
8100
  }
8113
8101
  });