bkui-vue 2.0.1-beta.23 → 2.0.1-beta.25

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 (200) hide show
  1. package/dist/index.cjs.js +63 -63
  2. package/dist/index.esm.js +14194 -14230
  3. package/dist/index.umd.js +63 -63
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.css +130 -0
  7. package/lib/affix/affix.variable.css +262 -1
  8. package/lib/alert/alert.css +133 -3
  9. package/lib/alert/alert.variable.css +262 -1
  10. package/lib/backtop/backtop.css +133 -3
  11. package/lib/backtop/backtop.variable.css +395 -4
  12. package/lib/badge/badge.css +156 -26
  13. package/lib/badge/badge.variable.css +262 -1
  14. package/lib/breadcrumb/breadcrumb.css +135 -5
  15. package/lib/breadcrumb/breadcrumb.variable.css +397 -6
  16. package/lib/button/button.css +273 -143
  17. package/lib/button/button.variable.css +262 -1
  18. package/lib/card/card.css +134 -4
  19. package/lib/card/card.variable.css +396 -5
  20. package/lib/cascader/cascader.css +153 -23
  21. package/lib/cascader/cascader.variable.css +415 -24
  22. package/lib/checkbox/checkbox.css +139 -9
  23. package/lib/checkbox/checkbox.variable.css +262 -1
  24. package/lib/code-diff/code-diff.css +130 -0
  25. package/lib/code-diff/code-diff.variable.css +262 -1
  26. package/lib/collapse/collapse.css +131 -1
  27. package/lib/collapse/collapse.variable.css +262 -1
  28. package/lib/collapse-transition/collapse-transition.css +130 -0
  29. package/lib/collapse-transition/collapse-transition.variable.css +262 -1
  30. package/lib/color-picker/color-picker.css +130 -0
  31. package/lib/color-picker/color-picker.variable.css +262 -1
  32. package/lib/config-provider/config-provider.css +130 -0
  33. package/lib/config-provider/config-provider.variable.css +262 -1
  34. package/lib/container/container.css +130 -0
  35. package/lib/container/container.variable.css +392 -1
  36. package/lib/date-picker/date-picker.css +147 -17
  37. package/lib/date-picker/date-picker.variable.css +262 -1
  38. package/lib/dialog/dialog.css +138 -8
  39. package/lib/dialog/dialog.variable.css +400 -9
  40. package/lib/divider/divider.css +133 -3
  41. package/lib/divider/divider.variable.css +262 -1
  42. package/lib/dropdown/dropdown.css +130 -0
  43. package/lib/dropdown/dropdown.variable.css +392 -1
  44. package/lib/exception/exception.css +130 -0
  45. package/lib/exception/exception.variable.css +262 -1
  46. package/lib/fixed-navbar/fixed-navbar.css +134 -4
  47. package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
  48. package/lib/form/form.css +130 -0
  49. package/lib/form/form.variable.css +262 -1
  50. package/lib/image/image-viewer.css +130 -0
  51. package/lib/image/image-viewer.variable.css +262 -1
  52. package/lib/image/image.css +130 -0
  53. package/lib/image/image.variable.css +392 -1
  54. package/lib/index.js +1 -1
  55. package/lib/info-box/info-box.css +134 -4
  56. package/lib/info-box/info-box.variable.css +262 -1
  57. package/lib/input/input.css +202 -72
  58. package/lib/input/input.variable.css +464 -73
  59. package/lib/link/link.css +146 -16
  60. package/lib/link/link.variable.css +262 -1
  61. package/lib/loading/loading.css +146 -16
  62. package/lib/loading/loading.variable.css +408 -17
  63. package/lib/menu/menu.css +148 -18
  64. package/lib/menu/menu.variable.css +410 -19
  65. package/lib/menu/submenu.css +130 -0
  66. package/lib/menu/submenu.variable.css +262 -1
  67. package/lib/message/message.css +151 -21
  68. package/lib/message/message.variable.css +262 -1
  69. package/lib/modal/modal.css +134 -4
  70. package/lib/modal/modal.variable.css +396 -5
  71. package/lib/navigation/navigation.css +132 -2
  72. package/lib/navigation/navigation.variable.css +262 -1
  73. package/lib/notify/notify.css +137 -7
  74. package/lib/notify/notify.variable.css +262 -1
  75. package/lib/pagination/pagination.css +131 -1
  76. package/lib/pagination/pagination.variable.css +262 -1
  77. package/lib/pop-confirm/pop-confirm.css +130 -0
  78. package/lib/pop-confirm/pop-confirm.variable.css +262 -1
  79. package/lib/popover/popover.css +130 -0
  80. package/lib/popover/popover.variable.css +262 -1
  81. package/lib/process/process.css +143 -13
  82. package/lib/process/process.variable.css +262 -1
  83. package/lib/progress/progress.css +134 -4
  84. package/lib/progress/progress.variable.css +396 -5
  85. package/lib/radio/radio.css +172 -42
  86. package/lib/radio/radio.variable.css +262 -1
  87. package/lib/rate/rate.css +130 -0
  88. package/lib/rate/rate.variable.css +262 -1
  89. package/lib/resize-layout/resize-layout.css +130 -0
  90. package/lib/resize-layout/resize-layout.variable.css +262 -1
  91. package/lib/scrollbar/index.js +38 -12
  92. package/lib/scrollbar/scrollbar-core/index.d.ts +2 -1
  93. package/lib/scrollbar/scrollbar.css +130 -0
  94. package/lib/scrollbar/scrollbar.variable.css +262 -1
  95. package/lib/search-select/search-select.css +163 -33
  96. package/lib/search-select/search-select.variable.css +425 -34
  97. package/lib/select/select.css +169 -39
  98. package/lib/select/select.variable.css +431 -40
  99. package/lib/shared/frame-throttle.d.ts +15 -0
  100. package/lib/shared/index.d.ts +1 -0
  101. package/lib/shared/index.js +72 -1
  102. package/lib/sideslider/sideslider.css +131 -1
  103. package/lib/sideslider/sideslider.variable.css +262 -1
  104. package/lib/slider/slider.css +135 -5
  105. package/lib/slider/slider.variable.css +262 -1
  106. package/lib/steps/index.d.ts +3 -3
  107. package/lib/steps/steps.css +168 -38
  108. package/lib/steps/steps.d.ts +1 -1
  109. package/lib/steps/steps.variable.css +262 -1
  110. package/lib/styles/mixins/animate.css +130 -0
  111. package/lib/styles/mixins/animate.variable.css +262 -1
  112. package/lib/styles/mixins/mixins.css +130 -0
  113. package/lib/styles/mixins/mixins.variable.css +130 -0
  114. package/lib/styles/mixins/popper.css +130 -0
  115. package/lib/styles/mixins/popper.variable.css +262 -1
  116. package/lib/styles/mixins/scroll.css +130 -0
  117. package/lib/styles/mixins/scroll.variable.css +262 -1
  118. package/lib/styles/reset.css +130 -0
  119. package/lib/styles/reset.variable.css +262 -1
  120. package/lib/styles/themes/themes.css +130 -0
  121. package/lib/styles/themes/themes.less +299 -129
  122. package/lib/styles/themes/themes.variable.css +130 -0
  123. package/lib/swiper/swiper.css +130 -0
  124. package/lib/swiper/swiper.variable.css +262 -1
  125. package/lib/switcher/switcher.css +147 -17
  126. package/lib/switcher/switcher.variable.css +409 -18
  127. package/lib/tab/tab.css +147 -17
  128. package/lib/tab/tab.variable.css +262 -1
  129. package/lib/table/components/ghost-body.d.ts +2 -0
  130. package/lib/table/components/table-column.d.ts +3 -44
  131. package/lib/table/const.d.ts +12 -0
  132. package/lib/table/events.d.ts +2 -98
  133. package/lib/table/hooks/use-cell.d.ts +20 -0
  134. package/lib/table/hooks/use-column-resize.d.ts +7 -0
  135. package/lib/table/hooks/use-column-template.d.ts +5 -0
  136. package/lib/table/hooks/use-columns.d.ts +54 -0
  137. package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
  138. package/lib/table/hooks/use-fixed-column.d.ts +10 -0
  139. package/lib/table/hooks/use-head.d.ts +15 -0
  140. package/lib/table/hooks/use-layout.d.ts +22 -0
  141. package/lib/table/hooks/use-pagination.d.ts +16 -0
  142. package/lib/table/hooks/use-render.d.ts +23 -0
  143. package/lib/table/hooks/use-rows.d.ts +25 -0
  144. package/lib/table/hooks/use-settings.d.ts +24 -0
  145. package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
  146. package/lib/table/index.d.ts +49 -561
  147. package/lib/table/index.js +3236 -3377
  148. package/lib/table/plugins/head-filter.css +130 -0
  149. package/lib/table/plugins/head-filter.d.ts +2 -1
  150. package/lib/table/plugins/head-filter.variable.css +262 -1
  151. package/lib/table/plugins/head-sort.css +130 -0
  152. package/lib/table/plugins/head-sort.variable.css +262 -1
  153. package/lib/table/plugins/settings.css +131 -0
  154. package/lib/table/plugins/settings.less +1 -0
  155. package/lib/table/plugins/settings.variable.css +263 -1
  156. package/lib/table/props.d.ts +31 -12
  157. package/lib/table/table.css +361 -243
  158. package/lib/table/table.d.ts +27 -181
  159. package/lib/table/table.less +69 -91
  160. package/lib/table/table.variable.css +623 -244
  161. package/lib/table/utils.d.ts +26 -3
  162. package/lib/table-column/index.d.ts +9 -132
  163. package/lib/table-column/index.js +17314 -25
  164. package/lib/tag/tag.css +135 -5
  165. package/lib/tag/tag.variable.css +262 -1
  166. package/lib/tag-input/tag-input.css +148 -18
  167. package/lib/tag-input/tag-input.variable.css +262 -1
  168. package/lib/time-picker/time-picker.css +130 -0
  169. package/lib/time-picker/time-picker.variable.css +262 -1
  170. package/lib/timeline/timeline.css +149 -19
  171. package/lib/timeline/timeline.variable.css +262 -1
  172. package/lib/transfer/transfer.css +149 -19
  173. package/lib/transfer/transfer.variable.css +262 -1
  174. package/lib/tree/index.js +10 -0
  175. package/lib/tree/tree.css +139 -9
  176. package/lib/tree/tree.variable.css +401 -10
  177. package/lib/upload/upload.css +157 -27
  178. package/lib/upload/upload.variable.css +419 -28
  179. package/lib/virtual-render/index.d.ts +4 -15
  180. package/lib/virtual-render/index.js +1 -1
  181. package/lib/virtual-render/props.d.ts +1 -3
  182. package/lib/virtual-render/virtual-render.css +130 -0
  183. package/lib/virtual-render/virtual-render.d.ts +2 -7
  184. package/lib/virtual-render/virtual-render.variable.css +392 -1
  185. package/package.json +1 -1
  186. package/lib/table/plugins/col-group.d.ts +0 -38
  187. package/lib/table/plugins/settings.d.ts +0 -16
  188. package/lib/table/plugins/use-active-columns.d.ts +0 -16
  189. package/lib/table/plugins/use-column-resize.d.ts +0 -35
  190. package/lib/table/plugins/use-column-template.d.ts +0 -7
  191. package/lib/table/plugins/use-fixed-column.d.ts +0 -27
  192. package/lib/table/plugins/use-head-cell.d.ts +0 -7
  193. package/lib/table/plugins/use-pagination.d.ts +0 -23
  194. package/lib/table/use-attributes.d.ts +0 -62
  195. package/lib/table/use-column.d.ts +0 -155
  196. package/lib/table/use-common.d.ts +0 -1679
  197. package/lib/table/use-render.d.ts +0 -11
  198. /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
  199. /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
  200. /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -29,9 +29,7 @@ declare const BkTable: {
29
29
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
30
30
  default: string | number;
31
31
  };
32
- rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
33
- default: import("./props").RowHeightFunctionNumber;
34
- };
32
+ rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber>;
35
33
  headHeight: import("vue-types").VueTypeValidableDef<number> & {
36
34
  default: number;
37
35
  } & {
@@ -167,173 +165,15 @@ declare const BkTable: {
167
165
  } & {
168
166
  default: boolean;
169
167
  };
170
- }>> & {
171
- onDragend?: (_args: {
172
- sourceEvent: DragEvent;
173
- data: any[];
174
- }) => any;
175
- onSelect?: (_args: {
176
- row: any;
177
- index: number;
178
- checked: string;
179
- data: any[];
180
- }) => any;
181
- onCellClick?: (_args: {
182
- event: MouseEvent;
183
- row: any;
184
- column: import("./props").Column;
185
- cell: {
186
- getValue: () => string;
187
- };
188
- rowIndex: number;
189
- columnIndex: number;
190
- }) => any;
191
- onCellDblclick?: (_args: {
192
- event: MouseEvent;
193
- row: any;
194
- column: import("./props").Column;
195
- cell: {
196
- getValue: () => string;
197
- };
198
- rowIndex: number;
199
- columnIndex: number;
200
- }) => any;
201
- onColumnFilter?: (_args: {
202
- checked: string[];
203
- column: import("./props").Column;
204
- index: number;
205
- }) => any;
206
- onColFilterSave?: (_args: {
207
- column: import("./props").Column;
208
- values: any[];
209
- }) => any;
210
- onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
211
- onColumnSort?: (_args: {
212
- column: import("./props").Column;
213
- index: number;
214
- type: import("./const").SORT_OPTION;
215
- }) => any;
216
- onPageLimitChange?: (_arg: number) => any;
217
- onPageValueChange?: (_arg: number) => any;
218
- onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
219
- onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
220
- onRowExpand?: (_args: {
221
- row: any;
222
- column: import("./props").Column;
223
- index: number;
224
- rows: any[];
225
- e: MouseEvent;
226
- }) => any;
227
- onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
228
- onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
229
- onSelectAll?: (_args: {
230
- checked: string;
231
- data: any[];
232
- }) => any;
233
- onSelectionChange?: (_args: {
234
- row: any;
235
- index: number;
236
- checked: string;
237
- data: any[];
238
- isAll: boolean;
239
- }) => any;
240
- onScrollBottom?: (_args: {
241
- translateX: number;
242
- translateY: number;
243
- scrollTop: number;
244
- scrollLeft: number;
245
- bottom: number;
246
- }) => any;
247
- onSettingChange?: (_args: {
248
- checked: string[];
249
- size: string;
250
- height: number;
251
- fields: Record<string, any>[];
252
- }) => any;
253
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
254
- columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
255
- columnFilter: (_args: {
256
- checked: string[];
257
- column: import("./props").Column;
258
- index: number;
259
- }) => boolean;
260
- columnSort: (_args: {
261
- column: import("./props").Column;
262
- index: number;
263
- type: import("./const").SORT_OPTION;
264
- }) => boolean;
265
- colFilterSave: (_args: {
266
- column: import("./props").Column;
267
- values: any[];
268
- }) => boolean;
269
- rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
270
- rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
271
- rowExpand: (_args: {
272
- row: any;
273
- column: import("./props").Column;
274
- index: number;
275
- rows: any[];
276
- e: MouseEvent;
277
- }) => boolean;
278
- select: (_args: {
279
- row: any;
280
- index: number;
281
- checked: string;
282
- data: any[];
283
- }) => boolean;
284
- selectAll: (_args: {
285
- checked: string;
286
- data: any[];
287
- }) => boolean;
288
- selectionChange: (_args: {
289
- row: any;
290
- index: number;
291
- checked: string;
292
- data: any[];
293
- isAll: boolean;
294
- }) => boolean;
295
- pageLimitChange: (_arg: number) => boolean;
296
- pageValueChange: (_arg: number) => boolean;
297
- settingChange: (_args: {
298
- checked: string[];
299
- size: string;
300
- height: number;
301
- fields: Record<string, any>[];
302
- }) => boolean;
303
- scrollBottom: (_args: {
304
- translateX: number;
305
- translateY: number;
306
- scrollTop: number;
307
- scrollLeft: number;
308
- bottom: number;
309
- }) => boolean;
310
- cellClick: (_args: {
311
- event: MouseEvent;
312
- row: any;
313
- column: import("./props").Column;
314
- cell: {
315
- getValue: () => string;
316
- };
317
- rowIndex: number;
318
- columnIndex: number;
319
- }) => boolean;
320
- cellDblclick: (_args: {
321
- event: MouseEvent;
322
- row: any;
323
- column: import("./props").Column;
324
- cell: {
325
- getValue: () => string;
326
- };
327
- rowIndex: number;
328
- columnIndex: number;
329
- }) => boolean;
330
- rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
331
- rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
332
- dragend: (_args: {
333
- sourceEvent: DragEvent;
334
- data: any[];
335
- }) => boolean;
336
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<ExtractPropTypes<{
168
+ scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
169
+ default: boolean;
170
+ } & {
171
+ default: boolean;
172
+ };
173
+ fixedBottom: import("vue-types").VueTypeDef<import("./props").FixedBottomOption> & {
174
+ default: () => import("./props").FixedBottomOption;
175
+ };
176
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, (...args: any[]) => boolean>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<ExtractPropTypes<{
337
177
  data: import("vue-types").VueTypeDef<any[]> & {
338
178
  default: () => any[];
339
179
  };
@@ -358,9 +198,7 @@ declare const BkTable: {
358
198
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
359
199
  default: string | number;
360
200
  };
361
- rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
362
- default: import("./props").RowHeightFunctionNumber;
363
- };
201
+ rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber>;
364
202
  headHeight: import("vue-types").VueTypeValidableDef<number> & {
365
203
  default: number;
366
204
  } & {
@@ -496,94 +334,20 @@ declare const BkTable: {
496
334
  } & {
497
335
  default: boolean;
498
336
  };
499
- }>> & {
500
- onDragend?: (_args: {
501
- sourceEvent: DragEvent;
502
- data: any[];
503
- }) => any;
504
- onSelect?: (_args: {
505
- row: any;
506
- index: number;
507
- checked: string;
508
- data: any[];
509
- }) => any;
510
- onCellClick?: (_args: {
511
- event: MouseEvent;
512
- row: any;
513
- column: import("./props").Column;
514
- cell: {
515
- getValue: () => string;
516
- };
517
- rowIndex: number;
518
- columnIndex: number;
519
- }) => any;
520
- onCellDblclick?: (_args: {
521
- event: MouseEvent;
522
- row: any;
523
- column: import("./props").Column;
524
- cell: {
525
- getValue: () => string;
526
- };
527
- rowIndex: number;
528
- columnIndex: number;
529
- }) => any;
530
- onColumnFilter?: (_args: {
531
- checked: string[];
532
- column: import("./props").Column;
533
- index: number;
534
- }) => any;
535
- onColFilterSave?: (_args: {
536
- column: import("./props").Column;
537
- values: any[];
538
- }) => any;
539
- onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
540
- onColumnSort?: (_args: {
541
- column: import("./props").Column;
542
- index: number;
543
- type: import("./const").SORT_OPTION;
544
- }) => any;
545
- onPageLimitChange?: (_arg: number) => any;
546
- onPageValueChange?: (_arg: number) => any;
547
- onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
548
- onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
549
- onRowExpand?: (_args: {
550
- row: any;
551
- column: import("./props").Column;
552
- index: number;
553
- rows: any[];
554
- e: MouseEvent;
555
- }) => any;
556
- onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
557
- onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
558
- onSelectAll?: (_args: {
559
- checked: string;
560
- data: any[];
561
- }) => any;
562
- onSelectionChange?: (_args: {
563
- row: any;
564
- index: number;
565
- checked: string;
566
- data: any[];
567
- isAll: boolean;
568
- }) => any;
569
- onScrollBottom?: (_args: {
570
- translateX: number;
571
- translateY: number;
572
- scrollTop: number;
573
- scrollLeft: number;
574
- bottom: number;
575
- }) => any;
576
- onSettingChange?: (_args: {
577
- checked: string[];
578
- size: string;
579
- height: number;
580
- fields: Record<string, any>[];
581
- }) => any;
582
- }, {
337
+ scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
338
+ default: boolean;
339
+ } & {
340
+ default: boolean;
341
+ };
342
+ fixedBottom: import("vue-types").VueTypeDef<import("./props").FixedBottomOption> & {
343
+ default: () => import("./props").FixedBottomOption;
344
+ };
345
+ }>>, {
583
346
  data: any[];
584
347
  thead: import("./props").Thead;
585
348
  height: string | number;
586
349
  maxHeight: string | number;
350
+ scrollbar: boolean;
587
351
  border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
588
352
  pagination: boolean | {
589
353
  [key: string]: any;
@@ -600,7 +364,6 @@ declare const BkTable: {
600
364
  columnPick: "disabled" | "single" | "multi";
601
365
  columns: import("./props").Column[];
602
366
  stripe: boolean;
603
- rowHeight: import("./props").RowHeightFunctionNumber;
604
367
  showHead: boolean;
605
368
  sortValFormat: any[];
606
369
  virtualEnabled: boolean;
@@ -623,6 +386,7 @@ declare const BkTable: {
623
386
  isFlex: boolean;
624
387
  rowDraggable: any;
625
388
  shiftMultiChecked: boolean;
389
+ fixedBottom: import("./props").FixedBottomOption;
626
390
  }, true, {}, {}, {
627
391
  P: {};
628
392
  B: {};
@@ -655,9 +419,7 @@ declare const BkTable: {
655
419
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
656
420
  default: string | number;
657
421
  };
658
- rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
659
- default: import("./props").RowHeightFunctionNumber;
660
- };
422
+ rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber>;
661
423
  headHeight: import("vue-types").VueTypeValidableDef<number> & {
662
424
  default: number;
663
425
  } & {
@@ -793,94 +555,20 @@ declare const BkTable: {
793
555
  } & {
794
556
  default: boolean;
795
557
  };
796
- }>> & {
797
- onDragend?: (_args: {
798
- sourceEvent: DragEvent;
799
- data: any[];
800
- }) => any;
801
- onSelect?: (_args: {
802
- row: any;
803
- index: number;
804
- checked: string;
805
- data: any[];
806
- }) => any;
807
- onCellClick?: (_args: {
808
- event: MouseEvent;
809
- row: any;
810
- column: import("./props").Column;
811
- cell: {
812
- getValue: () => string;
813
- };
814
- rowIndex: number;
815
- columnIndex: number;
816
- }) => any;
817
- onCellDblclick?: (_args: {
818
- event: MouseEvent;
819
- row: any;
820
- column: import("./props").Column;
821
- cell: {
822
- getValue: () => string;
823
- };
824
- rowIndex: number;
825
- columnIndex: number;
826
- }) => any;
827
- onColumnFilter?: (_args: {
828
- checked: string[];
829
- column: import("./props").Column;
830
- index: number;
831
- }) => any;
832
- onColFilterSave?: (_args: {
833
- column: import("./props").Column;
834
- values: any[];
835
- }) => any;
836
- onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
837
- onColumnSort?: (_args: {
838
- column: import("./props").Column;
839
- index: number;
840
- type: import("./const").SORT_OPTION;
841
- }) => any;
842
- onPageLimitChange?: (_arg: number) => any;
843
- onPageValueChange?: (_arg: number) => any;
844
- onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
845
- onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
846
- onRowExpand?: (_args: {
847
- row: any;
848
- column: import("./props").Column;
849
- index: number;
850
- rows: any[];
851
- e: MouseEvent;
852
- }) => any;
853
- onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
854
- onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
855
- onSelectAll?: (_args: {
856
- checked: string;
857
- data: any[];
858
- }) => any;
859
- onSelectionChange?: (_args: {
860
- row: any;
861
- index: number;
862
- checked: string;
863
- data: any[];
864
- isAll: boolean;
865
- }) => any;
866
- onScrollBottom?: (_args: {
867
- translateX: number;
868
- translateY: number;
869
- scrollTop: number;
870
- scrollLeft: number;
871
- bottom: number;
872
- }) => any;
873
- onSettingChange?: (_args: {
874
- checked: string[];
875
- size: string;
876
- height: number;
877
- fields: Record<string, any>[];
878
- }) => any;
879
- }, () => JSX.Element, {}, {}, {}, {
558
+ scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
559
+ default: boolean;
560
+ } & {
561
+ default: boolean;
562
+ };
563
+ fixedBottom: import("vue-types").VueTypeDef<import("./props").FixedBottomOption> & {
564
+ default: () => import("./props").FixedBottomOption;
565
+ };
566
+ }>>, () => JSX.Element, {}, {}, {}, {
880
567
  data: any[];
881
568
  thead: import("./props").Thead;
882
569
  height: string | number;
883
570
  maxHeight: string | number;
571
+ scrollbar: boolean;
884
572
  border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
885
573
  pagination: boolean | {
886
574
  [key: string]: any;
@@ -897,7 +585,6 @@ declare const BkTable: {
897
585
  columnPick: "disabled" | "single" | "multi";
898
586
  columns: import("./props").Column[];
899
587
  stripe: boolean;
900
- rowHeight: import("./props").RowHeightFunctionNumber;
901
588
  showHead: boolean;
902
589
  sortValFormat: any[];
903
590
  virtualEnabled: boolean;
@@ -920,6 +607,7 @@ declare const BkTable: {
920
607
  isFlex: boolean;
921
608
  rowDraggable: any;
922
609
  shiftMultiChecked: boolean;
610
+ fixedBottom: import("./props").FixedBottomOption;
923
611
  }>;
924
612
  __isFragment?: never;
925
613
  __isTeleport?: never;
@@ -949,9 +637,7 @@ declare const BkTable: {
949
637
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
950
638
  default: string | number;
951
639
  };
952
- rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
953
- default: import("./props").RowHeightFunctionNumber;
954
- };
640
+ rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber>;
955
641
  headHeight: import("vue-types").VueTypeValidableDef<number> & {
956
642
  default: number;
957
643
  } & {
@@ -1087,177 +773,20 @@ declare const BkTable: {
1087
773
  } & {
1088
774
  default: boolean;
1089
775
  };
1090
- }>> & {
1091
- onDragend?: (_args: {
1092
- sourceEvent: DragEvent;
1093
- data: any[];
1094
- }) => any;
1095
- onSelect?: (_args: {
1096
- row: any;
1097
- index: number;
1098
- checked: string;
1099
- data: any[];
1100
- }) => any;
1101
- onCellClick?: (_args: {
1102
- event: MouseEvent;
1103
- row: any;
1104
- column: import("./props").Column;
1105
- cell: {
1106
- getValue: () => string;
1107
- };
1108
- rowIndex: number;
1109
- columnIndex: number;
1110
- }) => any;
1111
- onCellDblclick?: (_args: {
1112
- event: MouseEvent;
1113
- row: any;
1114
- column: import("./props").Column;
1115
- cell: {
1116
- getValue: () => string;
1117
- };
1118
- rowIndex: number;
1119
- columnIndex: number;
1120
- }) => any;
1121
- onColumnFilter?: (_args: {
1122
- checked: string[];
1123
- column: import("./props").Column;
1124
- index: number;
1125
- }) => any;
1126
- onColFilterSave?: (_args: {
1127
- column: import("./props").Column;
1128
- values: any[];
1129
- }) => any;
1130
- onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
1131
- onColumnSort?: (_args: {
1132
- column: import("./props").Column;
1133
- index: number;
1134
- type: import("./const").SORT_OPTION;
1135
- }) => any;
1136
- onPageLimitChange?: (_arg: number) => any;
1137
- onPageValueChange?: (_arg: number) => any;
1138
- onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1139
- onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1140
- onRowExpand?: (_args: {
1141
- row: any;
1142
- column: import("./props").Column;
1143
- index: number;
1144
- rows: any[];
1145
- e: MouseEvent;
1146
- }) => any;
1147
- onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1148
- onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1149
- onSelectAll?: (_args: {
1150
- checked: string;
1151
- data: any[];
1152
- }) => any;
1153
- onSelectionChange?: (_args: {
1154
- row: any;
1155
- index: number;
1156
- checked: string;
1157
- data: any[];
1158
- isAll: boolean;
1159
- }) => any;
1160
- onScrollBottom?: (_args: {
1161
- translateX: number;
1162
- translateY: number;
1163
- scrollTop: number;
1164
- scrollLeft: number;
1165
- bottom: number;
1166
- }) => any;
1167
- onSettingChange?: (_args: {
1168
- checked: string[];
1169
- size: string;
1170
- height: number;
1171
- fields: Record<string, any>[];
1172
- }) => any;
1173
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1174
- columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
1175
- columnFilter: (_args: {
1176
- checked: string[];
1177
- column: import("./props").Column;
1178
- index: number;
1179
- }) => boolean;
1180
- columnSort: (_args: {
1181
- column: import("./props").Column;
1182
- index: number;
1183
- type: import("./const").SORT_OPTION;
1184
- }) => boolean;
1185
- colFilterSave: (_args: {
1186
- column: import("./props").Column;
1187
- values: any[];
1188
- }) => boolean;
1189
- rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
1190
- rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
1191
- rowExpand: (_args: {
1192
- row: any;
1193
- column: import("./props").Column;
1194
- index: number;
1195
- rows: any[];
1196
- e: MouseEvent;
1197
- }) => boolean;
1198
- select: (_args: {
1199
- row: any;
1200
- index: number;
1201
- checked: string;
1202
- data: any[];
1203
- }) => boolean;
1204
- selectAll: (_args: {
1205
- checked: string;
1206
- data: any[];
1207
- }) => boolean;
1208
- selectionChange: (_args: {
1209
- row: any;
1210
- index: number;
1211
- checked: string;
1212
- data: any[];
1213
- isAll: boolean;
1214
- }) => boolean;
1215
- pageLimitChange: (_arg: number) => boolean;
1216
- pageValueChange: (_arg: number) => boolean;
1217
- settingChange: (_args: {
1218
- checked: string[];
1219
- size: string;
1220
- height: number;
1221
- fields: Record<string, any>[];
1222
- }) => boolean;
1223
- scrollBottom: (_args: {
1224
- translateX: number;
1225
- translateY: number;
1226
- scrollTop: number;
1227
- scrollLeft: number;
1228
- bottom: number;
1229
- }) => boolean;
1230
- cellClick: (_args: {
1231
- event: MouseEvent;
1232
- row: any;
1233
- column: import("./props").Column;
1234
- cell: {
1235
- getValue: () => string;
1236
- };
1237
- rowIndex: number;
1238
- columnIndex: number;
1239
- }) => boolean;
1240
- cellDblclick: (_args: {
1241
- event: MouseEvent;
1242
- row: any;
1243
- column: import("./props").Column;
1244
- cell: {
1245
- getValue: () => string;
1246
- };
1247
- rowIndex: number;
1248
- columnIndex: number;
1249
- }) => boolean;
1250
- rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
1251
- rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
1252
- dragend: (_args: {
1253
- sourceEvent: DragEvent;
1254
- data: any[];
1255
- }) => boolean;
1256
- }, string, {
776
+ scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
777
+ default: boolean;
778
+ } & {
779
+ default: boolean;
780
+ };
781
+ fixedBottom: import("vue-types").VueTypeDef<import("./props").FixedBottomOption> & {
782
+ default: () => import("./props").FixedBottomOption;
783
+ };
784
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, (...args: any[]) => boolean>, string, {
1257
785
  data: any[];
1258
786
  thead: import("./props").Thead;
1259
787
  height: string | number;
1260
788
  maxHeight: string | number;
789
+ scrollbar: boolean;
1261
790
  border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
1262
791
  pagination: boolean | {
1263
792
  [key: string]: any;
@@ -1274,7 +803,6 @@ declare const BkTable: {
1274
803
  columnPick: "disabled" | "single" | "multi";
1275
804
  columns: import("./props").Column[];
1276
805
  stripe: boolean;
1277
- rowHeight: import("./props").RowHeightFunctionNumber;
1278
806
  showHead: boolean;
1279
807
  sortValFormat: any[];
1280
808
  virtualEnabled: boolean;
@@ -1297,6 +825,7 @@ declare const BkTable: {
1297
825
  isFlex: boolean;
1298
826
  rowDraggable: any;
1299
827
  shiftMultiChecked: boolean;
828
+ fixedBottom: import("./props").FixedBottomOption;
1300
829
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
1301
830
  Column: import("vue").DefineComponent<{
1302
831
  label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
@@ -1337,50 +866,9 @@ declare const BkTable: {
1337
866
  } & {
1338
867
  default: number;
1339
868
  };
1340
- }, {
1341
- column: {
1342
- fixed?: boolean | "left" | "right";
1343
- resizable?: boolean;
1344
- minWidth?: string | number;
1345
- index?: number;
1346
- columnKey?: string;
1347
- colspan?: import("./props").SpanFunctionString;
1348
- rowspan?: import("./props").SpanFunctionString;
1349
- render?: import("./props").RenderFunctionString;
1350
- sort?: string | boolean | {
1351
- sortFn?: Function;
1352
- sortScope?: import("./props").SortScope;
1353
- value?: import("./const").SORT_OPTION;
1354
- };
1355
- filter?: string | boolean | {
1356
- list: any[];
1357
- filterFn?: Function;
1358
- match?: import("./props").FullEnum;
1359
- checked?: any[];
1360
- filterScope?: import("./props").SortScope;
1361
- btnSave?: string | boolean;
1362
- btnReset?: string | boolean;
1363
- height?: number;
1364
- maxHeight?: number;
1365
- };
1366
- type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
1367
- label?: import("./props").LabelFunctionString;
1368
- width?: string | number;
1369
- className?: import("./props").RowClassFunctionString;
1370
- align?: "" | "left" | "right" | "center";
1371
- showOverflowTooltip?: boolean | {
1372
- content: string | ((col: import("./props").Column, row: any) => string);
1373
- disabled?: boolean | ((col: import("./props").Column, row: any) => boolean);
1374
- watchCellResize?: boolean;
1375
- mode?: "auto" | "static";
1376
- popoverOption?: any;
1377
- resizerWay?: import("./props").ResizerWay;
1378
- showHead?: boolean;
1379
- };
1380
- field: import("./props").LabelFunctionString;
1381
- prop?: import("./props").LabelFunctionString;
1382
- };
1383
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
869
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
870
+ [key: string]: any;
871
+ }>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
1384
872
  label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1385
873
  field: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1386
874
  render: import("vue-types").VueTypeDef<import("./props").RenderFunctionString>;