bkui-vue 0.0.2-beta.8 → 0.0.2-table-refactor.1

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 (241) hide show
  1. package/dist/index.cjs.js +70 -62
  2. package/dist/index.esm.js +16711 -16319
  3. package/dist/index.umd.js +72 -64
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.d.ts +1 -1
  15. package/lib/affix/index.d.ts +4 -4
  16. package/lib/alert/alert.css +7 -0
  17. package/lib/alert/alert.d.ts +5 -5
  18. package/lib/alert/alert.less +16 -6
  19. package/lib/alert/alert.variable.css +7 -0
  20. package/lib/alert/index.d.ts +10 -10
  21. package/lib/animate-number/index.d.ts +1 -1
  22. package/lib/backtop/index.d.ts +1 -1
  23. package/lib/badge/badge.d.ts +2 -2
  24. package/lib/badge/index.d.ts +7 -7
  25. package/lib/breadcrumb/index.d.ts +2 -2
  26. package/lib/button/button.css +20 -0
  27. package/lib/button/button.less +105 -94
  28. package/lib/button/button.variable.css +20 -0
  29. package/lib/button/index.d.ts +2 -2
  30. package/lib/card/card.d.ts +1 -1
  31. package/lib/card/index.d.ts +4 -4
  32. package/lib/cascader/cascader.d.ts +1 -0
  33. package/lib/cascader/index.d.ts +5 -2
  34. package/lib/cascader/index.js +1 -1
  35. package/lib/cascader/interface.d.ts +1 -1
  36. package/lib/checkbox/checkbox-group.d.ts +6 -3
  37. package/lib/checkbox/checkbox.d.ts +4 -4
  38. package/lib/checkbox/index.d.ts +22 -19
  39. package/lib/checkbox/index.js +1 -1
  40. package/lib/code-diff/index.d.ts +1 -1
  41. package/lib/collapse/index.d.ts +2 -2
  42. package/lib/collapse-transition/index.d.ts +128 -2
  43. package/lib/collapse-transition/index.js +1 -1
  44. package/lib/color-picker/color-picker.d.ts +16 -0
  45. package/lib/color-picker/components/recommend-colors.d.ts +16 -0
  46. package/lib/color-picker/index.d.ts +19 -1
  47. package/lib/color-picker/index.js +1 -1
  48. package/lib/components.d.ts +1 -1
  49. package/lib/config-provider/config-provider.d.ts +3 -0
  50. package/lib/config-provider/index.d.ts +5 -1
  51. package/lib/config-provider/index.js +1 -1
  52. package/lib/config-provider/token.d.ts +1 -0
  53. package/lib/config-provider/use-global-config.d.ts +2 -0
  54. package/lib/config-provider/use-prefix.d.ts +2 -0
  55. package/lib/container/index.d.ts +2 -2
  56. package/lib/container/index.js +1 -1
  57. package/lib/date-picker/date-picker.d.ts +3 -1
  58. package/lib/date-picker/index.d.ts +12 -5
  59. package/lib/date-picker/index.js +1 -1
  60. package/lib/date-picker/panel/date-range.d.ts +2 -1
  61. package/lib/dialog/index.d.ts +1 -1
  62. package/lib/directives/index.js +1 -1
  63. package/lib/directives/tooltips.d.ts +3 -2
  64. package/lib/divider/index.d.ts +1 -1
  65. package/lib/dropdown/dropdown.css +1 -0
  66. package/lib/dropdown/dropdown.d.ts +1 -1
  67. package/lib/dropdown/dropdown.variable.css +1 -0
  68. package/lib/dropdown/index.d.ts +7 -7
  69. package/lib/exception/index.d.ts +2 -2
  70. package/lib/fixed-navbar/index.d.ts +1 -1
  71. package/lib/form/index.d.ts +3 -3
  72. package/lib/form/index.js +1 -1
  73. package/lib/hooks.d.ts +1 -1
  74. package/lib/hooks.js +1 -1
  75. package/lib/icon/assistant.d.ts +4 -0
  76. package/lib/icon/assistant.js +1 -0
  77. package/lib/icon/index.d.ts +1 -0
  78. package/lib/icon/index.js +1 -1
  79. package/lib/image/index.d.ts +1 -1
  80. package/lib/image/index.js +1 -1
  81. package/lib/info-box/index.js +1 -1
  82. package/lib/input/index.d.ts +146 -50
  83. package/lib/input/index.js +2 -1
  84. package/lib/input/index.js.LICENSE.txt +1 -0
  85. package/lib/input/input.css +34 -6
  86. package/lib/input/input.d.ts +100 -11
  87. package/lib/input/input.less +53 -14
  88. package/lib/input/input.variable.css +34 -6
  89. package/lib/input/util.d.ts +6 -0
  90. package/lib/link/index.d.ts +4 -4
  91. package/lib/link/link.d.ts +1 -1
  92. package/lib/loading/index.d.ts +2 -2
  93. package/lib/locale/index.js +1 -1
  94. package/lib/locale/lang/en.d.ts +1 -0
  95. package/lib/menu/index.d.ts +2 -2
  96. package/lib/message/index.js +1 -1
  97. package/lib/message/message.css +33 -9
  98. package/lib/message/message.less +78 -54
  99. package/lib/message/message.variable.css +33 -9
  100. package/lib/message/messageConstructor.d.ts +30 -8
  101. package/lib/modal/index.d.ts +2 -2
  102. package/lib/modal/index.js +1 -1
  103. package/lib/navigation/index.d.ts +4 -1
  104. package/lib/navigation/index.js +1 -1
  105. package/lib/navigation/navigation.d.ts +1 -0
  106. package/lib/notify/index.js +1 -1
  107. package/lib/notify/notifyConstructor.d.ts +1 -1
  108. package/lib/overflow-title/components/overflow-title.d.ts +257 -1
  109. package/lib/overflow-title/index.d.ts +387 -2
  110. package/lib/overflow-title/index.js +1 -1
  111. package/lib/overflow-title/props.d.ts +129 -0
  112. package/lib/pagination/index.d.ts +2 -2
  113. package/lib/plugin-popover/index.js +1 -1
  114. package/lib/pop-confirm/index.d.ts +1 -1
  115. package/lib/popover/const.d.ts +22 -9
  116. package/lib/popover/content.d.ts +33 -0
  117. package/lib/popover/index.d.ts +154 -61
  118. package/lib/popover/index.js +1 -1
  119. package/lib/popover/popover.css +1 -0
  120. package/lib/popover/popover.d.ts +64 -23
  121. package/lib/popover/popover.less +3 -2
  122. package/lib/popover/popover.variable.css +1 -0
  123. package/lib/popover/props.d.ts +29 -4
  124. package/lib/popover/use-floating.d.ts +2 -2
  125. package/lib/popover/use-popover-init.d.ts +2 -1
  126. package/lib/popover2/index.d.ts +1 -1
  127. package/lib/preset.d.ts +2 -0
  128. package/lib/process/index.d.ts +1 -1
  129. package/lib/progress/index.d.ts +1 -1
  130. package/lib/radio/index.d.ts +23 -23
  131. package/lib/radio/radio-button.d.ts +4 -4
  132. package/lib/radio/radio-group.d.ts +4 -4
  133. package/lib/radio/radio.d.ts +4 -4
  134. package/lib/rate/index.d.ts +8 -4
  135. package/lib/rate/index.js +1 -1
  136. package/lib/rate/rate.d.ts +2 -1
  137. package/lib/resize-layout/index.d.ts +4 -4
  138. package/lib/resize-layout/index.js +1 -1
  139. package/lib/resize-layout/resize-layout.css +12 -0
  140. package/lib/resize-layout/resize-layout.d.ts +1 -1
  141. package/lib/resize-layout/resize-layout.less +12 -0
  142. package/lib/resize-layout/resize-layout.variable.css +12 -0
  143. package/lib/search-select/index.d.ts +62 -29
  144. package/lib/search-select/index.js +1 -1
  145. package/lib/search-select/input.d.ts +5 -1
  146. package/lib/search-select/menu.d.ts +33 -2
  147. package/lib/search-select/search-select.css +31 -11
  148. package/lib/search-select/search-select.d.ts +23 -20
  149. package/lib/search-select/search-select.less +29 -10
  150. package/lib/search-select/search-select.variable.css +31 -11
  151. package/lib/search-select/selected.d.ts +5 -1
  152. package/lib/search-select/utils.d.ts +13 -5
  153. package/lib/select/index.d.ts +180 -84
  154. package/lib/select/index.js +1 -1
  155. package/lib/select/option.d.ts +11 -0
  156. package/lib/select/select.css +9 -1
  157. package/lib/select/select.d.ts +75 -37
  158. package/lib/select/select.less +11 -1
  159. package/lib/select/select.variable.css +9 -1
  160. package/lib/select/selectTagInput.d.ts +8 -5
  161. package/lib/shared/helper.d.ts +1 -1
  162. package/lib/shared/index.js +1 -1
  163. package/lib/shared/mask-manager.d.ts +3 -4
  164. package/lib/shared/pop-manager.d.ts +6 -2
  165. package/lib/shared/popover.d.ts +2 -2
  166. package/lib/shared/vue-types.d.ts +3 -2
  167. package/lib/sideslider/index.d.ts +1 -1
  168. package/lib/slider/index.d.ts +1 -1
  169. package/lib/slider/index.js +1 -1
  170. package/lib/steps/index.d.ts +1 -1
  171. package/lib/steps/index.js +1 -1
  172. package/lib/styles/mixins/popper.less +6 -5
  173. package/lib/swiper/index.d.ts +1 -1
  174. package/lib/swiper/index.js +1 -1
  175. package/lib/swiper/swiper.css +0 -6
  176. package/lib/swiper/swiper.less +0 -8
  177. package/lib/swiper/swiper.variable.css +0 -6
  178. package/lib/switcher/index.d.ts +30 -16
  179. package/lib/switcher/index.js +1 -1
  180. package/lib/switcher/switcher.d.ts +74 -5
  181. package/lib/tab/index.d.ts +3 -3
  182. package/lib/tab/tab-nav.d.ts +12 -2
  183. package/lib/tab/tab-panel.d.ts +1 -1
  184. package/lib/table/components/table-cell.d.ts +22 -15
  185. package/lib/table/components/table-column.d.ts +154 -219
  186. package/lib/table/const.d.ts +34 -56
  187. package/lib/table/events.d.ts +180 -0
  188. package/lib/table/index.d.ts +746 -440
  189. package/lib/table/index.js +1 -1
  190. package/lib/table/plugins/head-filter.css +3 -0
  191. package/lib/table/plugins/head-filter.d.ts +3 -7
  192. package/lib/table/plugins/head-filter.less +3 -0
  193. package/lib/table/plugins/head-filter.variable.css +3 -0
  194. package/lib/table/plugins/head-sort.d.ts +3 -7
  195. package/lib/table/plugins/settings.d.ts +12 -26
  196. package/lib/table/plugins/use-column-resize.d.ts +30 -10
  197. package/lib/table/plugins/use-fixed-column.d.ts +7 -5
  198. package/lib/table/plugins/use-pagination.d.ts +7 -4
  199. package/lib/table/props.d.ts +219 -181
  200. package/lib/table/render.d.ts +12 -20
  201. package/lib/table/table.css +85 -5
  202. package/lib/table/table.d.ts +227 -104
  203. package/lib/table/table.less +75 -8
  204. package/lib/table/table.variable.css +85 -5
  205. package/lib/table/use-attributes.d.ts +55 -0
  206. package/lib/table/use-column.d.ts +175 -3
  207. package/lib/table/use-common.d.ts +1609 -76
  208. package/lib/table/use-render.d.ts +11 -0
  209. package/lib/table/utils.d.ts +30 -28
  210. package/lib/table-column/index.d.ts +237 -527
  211. package/lib/table-column/index.js +1 -1
  212. package/lib/tag/index.d.ts +10 -10
  213. package/lib/tag/index.js +1 -1
  214. package/lib/tag/tag.d.ts +5 -5
  215. package/lib/tag-input/index.d.ts +49 -13
  216. package/lib/tag-input/index.js +1 -1
  217. package/lib/tag-input/tag-input.css +6 -1
  218. package/lib/tag-input/tag-input.d.ts +46 -10
  219. package/lib/tag-input/tag-input.less +9 -4
  220. package/lib/tag-input/tag-input.variable.css +6 -1
  221. package/lib/tag-input/tag-props.d.ts +16 -4
  222. package/lib/time-picker/index.d.ts +1 -1
  223. package/lib/timeline/index.d.ts +1 -1
  224. package/lib/transfer/index.d.ts +1 -1
  225. package/lib/tree/constant.d.ts +2 -2
  226. package/lib/tree/index.d.ts +37 -7
  227. package/lib/tree/index.js +1 -1
  228. package/lib/tree/props.d.ts +8 -1
  229. package/lib/tree/tree.d.ts +20 -2
  230. package/lib/tree/use-node-action.d.ts +3 -2
  231. package/lib/tree/use-node-attribute.d.ts +15 -8
  232. package/lib/tree/use-tree-init.d.ts +1 -2
  233. package/lib/tree/util.d.ts +7 -2
  234. package/lib/upload/index.d.ts +1 -1
  235. package/lib/virtual-render/index.d.ts +43 -1
  236. package/lib/virtual-render/index.js +1 -1
  237. package/lib/virtual-render/props.d.ts +15 -0
  238. package/lib/virtual-render/v-virtual-render.d.ts +1 -0
  239. package/lib/virtual-render/virtual-render.d.ts +27 -2
  240. package/lib/volar.components.d.ts +24 -24
  241. package/package.json +17 -16
@@ -2,13 +2,14 @@ import { ExtractPropTypes } from 'vue';
2
2
  import Column from './components/table-column';
3
3
  import { tableProps } from './props';
4
4
  export type TableProps = Partial<ExtractPropTypes<typeof tableProps>>;
5
- export type { Column as TableIColumn, Settings as TableSettings, TableColumnProps } from './props';
5
+ export type { Column as TableIColumn, Settings as TableSettings } from './props';
6
6
  declare const BkTable: {
7
7
  new (...args: any[]): {
8
8
  $: import("vue").ComponentInternalInstance;
9
9
  $data: {};
10
10
  $props: {
11
11
  data?: any[];
12
+ thead?: import("./props").Thead;
12
13
  height?: string | number;
13
14
  maxHeight?: string | number;
14
15
  border?: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
@@ -17,29 +18,23 @@ declare const BkTable: {
17
18
  };
18
19
  minHeight?: string | number;
19
20
  columns?: import("./props").Column[];
21
+ checked?: unknown[];
20
22
  cellClass?: any;
21
23
  headHeight?: number;
22
24
  rowKey?: any;
23
25
  scrollLoading?: boolean | {
24
26
  [key: string]: any;
25
27
  };
26
- showOverflowTooltip?: boolean | import("./props").IOverflowTooltip;
27
28
  columnPick?: "disabled" | "single" | "multi";
28
- rowHeight?: any;
29
- showHead?: boolean;
30
29
  stripe?: boolean;
30
+ rowHeight?: import("./props").RowHeightFunctionNumber;
31
+ showHead?: boolean;
31
32
  virtualEnabled?: boolean;
32
33
  paginationHeight?: number;
33
34
  remotePagination?: boolean;
35
+ acrossAll?: boolean;
34
36
  emptyText?: string;
35
- settings?: boolean | {
36
- fields: import("./props").Field[] | (() => import("./props").Field[]);
37
- checked: string[] | (() => string[]);
38
- limit: number;
39
- size: "small" | "medium" | "large";
40
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
41
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
42
- };
37
+ emptyCellText?: any;
43
38
  rowClass?: any;
44
39
  rowStyle?: any;
45
40
  cellStyle?: any;
@@ -52,12 +47,17 @@ declare const BkTable: {
52
47
  isRowSelectEnable?: any;
53
48
  observerResize?: boolean;
54
49
  prependStyle?: import("vue").CSSProperties;
50
+ isFlex?: boolean;
55
51
  class?: unknown;
56
52
  style?: unknown;
57
- readonly thead?: import("./props").Thead;
58
- onSelect?: (...args: any[]) => any;
59
- key?: string | number | symbol;
53
+ onSelect?: (_args: {
54
+ row: any;
55
+ index: Number;
56
+ checked: string;
57
+ data: any[];
58
+ }) => any;
60
59
  ref?: import("vue").VNodeRef;
60
+ key?: string | number | symbol;
61
61
  ref_for?: boolean;
62
62
  ref_key?: string;
63
63
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -101,24 +101,82 @@ declare const BkTable: {
101
101
  readonly headerAlign?: "" | "right" | "left" | "center";
102
102
  readonly align?: "" | "right" | "left" | "center";
103
103
  readonly activeColumn?: number | number[];
104
+ readonly settings?: import("./props").ISettingPropType;
105
+ readonly showOverflowTooltip?: import("./props").IOverflowTooltipProp;
104
106
  readonly resizerWay?: "debounce" | "throttle";
105
- onColumnPick?: (...args: any[]) => any;
106
- onColumnSort?: (...args: any[]) => any;
107
- onColumnFilter?: (...args: any[]) => any;
108
- onColFilterSave?: (...args: any[]) => any;
109
- onRowClick?: (...args: any[]) => any;
110
- onRowDblclick?: (...args: any[]) => any;
111
- onRowExpand?: (...args: any[]) => any;
112
- onRowMouseEnter?: (...args: any[]) => any;
113
- onRowMouseLeave?: (...args: any[]) => any;
114
- onPageLimitChange?: (...args: any[]) => any;
115
- onPageValueChange?: (...args: any[]) => any;
116
- onSettingChange?: (...args: any[]) => any;
117
- onScrollBottom?: (...args: any[]) => any;
118
- onSelectAll?: (...args: any[]) => any;
119
- onSelectionChange?: (...args: any[]) => any;
120
- onCellClick?: (...args: any[]) => any;
121
- onCellDblclick?: (...args: any[]) => any;
107
+ readonly colSortBehavior?: import("./props").IColSortBehavior;
108
+ onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
109
+ onColumnSort?: (_args: {
110
+ column: import("./props").Column;
111
+ index: number;
112
+ type: import("./const").SORT_OPTION;
113
+ }) => any;
114
+ onColumnFilter?: (_args: {
115
+ checked: string[];
116
+ column: import("./props").Column;
117
+ index: number;
118
+ }) => any;
119
+ onColFilterSave?: (_args: {
120
+ column: import("./props").Column;
121
+ values: any[];
122
+ }) => any;
123
+ onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
124
+ onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
125
+ onRowExpand?: (_args: {
126
+ row: any;
127
+ column: import("./props").Column;
128
+ index: Number;
129
+ rows: any[];
130
+ e: MouseEvent;
131
+ }) => any;
132
+ onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
133
+ onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
134
+ onPageLimitChange?: (_arg: number) => any;
135
+ onPageValueChange?: (_arg: number) => any;
136
+ onSettingChange?: (_args: {
137
+ checked: string[];
138
+ size: string;
139
+ height: number;
140
+ fields: Record<string, any>[];
141
+ }) => any;
142
+ onScrollBottom?: (_args: {
143
+ translateX: number;
144
+ translateY: number;
145
+ scrollTop: number;
146
+ scrollLeft: number;
147
+ bottom: number;
148
+ }) => any;
149
+ onSelectAll?: (_args: {
150
+ checked: string;
151
+ data: any[];
152
+ }) => any;
153
+ onSelectionChange?: (_args: {
154
+ row: any;
155
+ index: Number;
156
+ checked: string;
157
+ data: any[];
158
+ isAll: boolean;
159
+ }) => any;
160
+ onCellClick?: (_args: {
161
+ event: MouseEvent;
162
+ row: any;
163
+ column: import("./props").Column;
164
+ cell: {
165
+ getValue: () => string;
166
+ };
167
+ rowIndex: number;
168
+ columnIndex: number;
169
+ }) => any;
170
+ onCellDblclick?: (_args: {
171
+ event: MouseEvent;
172
+ row: any;
173
+ column: import("./props").Column;
174
+ cell: {
175
+ getValue: () => string;
176
+ };
177
+ rowIndex: number;
178
+ columnIndex: number;
179
+ }) => any;
122
180
  };
123
181
  $attrs: {
124
182
  [x: string]: unknown;
@@ -131,7 +189,67 @@ declare const BkTable: {
131
189
  }>;
132
190
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
133
191
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
134
- $emit: ((event: import("./const").EMIT_EVENTS.COLUMN_PICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_SORT, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_FILTER, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_FILTER_SAVE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_DBL_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_EXPAND_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_MOUSE_ENTER, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_MOUSE_LEAVE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.PAGE_LIMIT_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.PAGE_VALUE_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.SETTING_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.SCROLL_BOTTOM, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT_ALL, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CELL_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CELL_DBL_CLICK, ...args: any[]) => void);
192
+ $emit: ((event: import("./events").EMIT_EVENTS.COLUMN_PICK, _cols: import("./props").IColumnActive[]) => void) & ((event: import("./events").EMIT_EVENTS.COLUMN_SORT, _args: {
193
+ column: import("./props").Column;
194
+ index: number;
195
+ type: import("./const").SORT_OPTION;
196
+ }) => void) & ((event: import("./events").EMIT_EVENTS.COLUMN_FILTER, _args: {
197
+ checked: string[];
198
+ column: import("./props").Column;
199
+ index: number;
200
+ }) => void) & ((event: import("./events").EMIT_EVENTS.COLUMN_FILTER_SAVE, _args: {
201
+ column: import("./props").Column;
202
+ values: any[];
203
+ }) => void) & ((event: import("./events").EMIT_EVENTS.ROW_CLICK, _e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => void) & ((event: import("./events").EMIT_EVENTS.ROW_DBL_CLICK, _e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => void) & ((event: import("./events").EMIT_EVENTS.ROW_EXPAND_CLICK, _args: {
204
+ row: any;
205
+ column: import("./props").Column;
206
+ index: Number;
207
+ rows: any[];
208
+ e: MouseEvent;
209
+ }) => void) & ((event: import("./events").EMIT_EVENTS.ROW_MOUSE_ENTER, _e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => void) & ((event: import("./events").EMIT_EVENTS.ROW_MOUSE_LEAVE, _e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => void) & ((event: import("./events").EMIT_EVENTS.PAGE_LIMIT_CHANGE, _arg: number) => void) & ((event: import("./events").EMIT_EVENTS.PAGE_VALUE_CHANGE, _arg: number) => void) & ((event: import("./events").EMIT_EVENTS.SETTING_CHANGE, _args: {
210
+ checked: string[];
211
+ size: string;
212
+ height: number;
213
+ fields: Record<string, any>[];
214
+ }) => void) & ((event: import("./events").EMIT_EVENTS.SCROLL_BOTTOM, _args: {
215
+ translateX: number;
216
+ translateY: number;
217
+ scrollTop: number;
218
+ scrollLeft: number;
219
+ bottom: number;
220
+ }) => void) & ((event: import("./events").EMIT_EVENTS.ROW_SELECT, _args: {
221
+ row: any;
222
+ index: Number;
223
+ checked: string;
224
+ data: any[];
225
+ }) => void) & ((event: import("./events").EMIT_EVENTS.ROW_SELECT_ALL, _args: {
226
+ checked: string;
227
+ data: any[];
228
+ }) => void) & ((event: import("./events").EMIT_EVENTS.ROW_SELECT_CHANGE, _args: {
229
+ row: any;
230
+ index: Number;
231
+ checked: string;
232
+ data: any[];
233
+ isAll: boolean;
234
+ }) => void) & ((event: import("./events").EMIT_EVENTS.CELL_CLICK, _args: {
235
+ event: MouseEvent;
236
+ row: any;
237
+ column: import("./props").Column;
238
+ cell: {
239
+ getValue: () => string;
240
+ };
241
+ rowIndex: number;
242
+ columnIndex: number;
243
+ }) => void) & ((event: import("./events").EMIT_EVENTS.CELL_DBL_CLICK, _args: {
244
+ event: MouseEvent;
245
+ row: any;
246
+ column: import("./props").Column;
247
+ cell: {
248
+ getValue: () => string;
249
+ };
250
+ rowIndex: number;
251
+ columnIndex: number;
252
+ }) => void);
135
253
  $el: any;
136
254
  $options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
137
255
  data: import("vue-types").VueTypeDef<any[]> & {
@@ -147,14 +265,19 @@ declare const BkTable: {
147
265
  height: import("vue-types").VueTypeDef<string | number> & {
148
266
  default: string | number;
149
267
  };
268
+ stripe: import("vue-types").VueTypeValidableDef<boolean> & {
269
+ default: boolean;
270
+ } & {
271
+ default: boolean;
272
+ };
150
273
  minHeight: import("vue-types").VueTypeDef<string | number> & {
151
274
  default: string | number;
152
275
  };
153
276
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
154
277
  default: string | number;
155
278
  };
156
- rowHeight: import("vue-types").VueTypeDef<any> & {
157
- default: any;
279
+ rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
280
+ default: import("./props").RowHeightFunctionNumber;
158
281
  };
159
282
  headHeight: import("vue-types").VueTypeValidableDef<number> & {
160
283
  default: number;
@@ -166,11 +289,8 @@ declare const BkTable: {
166
289
  } & {
167
290
  default: boolean;
168
291
  };
169
- thead: import("vue-types").VueTypeShape<import("./props").Thead>;
170
- stripe: import("vue-types").VueTypeValidableDef<boolean> & {
171
- default: boolean;
172
- } & {
173
- default: boolean;
292
+ thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
293
+ default: () => import("./props").Thead;
174
294
  };
175
295
  virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
176
296
  default: boolean;
@@ -197,26 +317,18 @@ declare const BkTable: {
197
317
  } & {
198
318
  default: boolean;
199
319
  };
320
+ acrossAll: import("vue-types").VueTypeValidableDef<boolean> & {
321
+ default: boolean;
322
+ } & {
323
+ default: boolean;
324
+ };
200
325
  emptyText: import("vue-types").VueTypeValidableDef<string> & {
201
326
  default: string;
202
327
  };
203
- settings: import("vue-types").VueTypeDef<boolean | {
204
- fields: import("./props").Field[] | (() => import("./props").Field[]);
205
- checked: string[] | (() => string[]);
206
- limit: number;
207
- size: "small" | "medium" | "large";
208
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
209
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
210
- }> & {
211
- default: boolean | (() => {
212
- fields: import("./props").Field[] | (() => import("./props").Field[]);
213
- checked: string[] | (() => string[]);
214
- limit: number;
215
- size: "small" | "medium" | "large";
216
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
217
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
218
- });
328
+ emptyCellText: import("vue-types").VueTypeDef<any> & {
329
+ default: any;
219
330
  };
331
+ settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
220
332
  rowClass: import("vue-types").VueTypeDef<any> & {
221
333
  default: any;
222
334
  };
@@ -246,6 +358,11 @@ declare const BkTable: {
246
358
  } & {
247
359
  default: string;
248
360
  };
361
+ checked: import("vue-types").VueTypeValidableDef<unknown[]> & {
362
+ default: () => unknown[];
363
+ } & {
364
+ default: () => unknown[];
365
+ };
249
366
  isSelectedFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
250
367
  default: (...args: any[]) => any;
251
368
  } & {
@@ -254,9 +371,7 @@ declare const BkTable: {
254
371
  rowKey: import("vue-types").VueTypeDef<any> & {
255
372
  default: any;
256
373
  };
257
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("./props").IOverflowTooltip> & {
258
- default: boolean | (() => import("./props").IOverflowTooltip);
259
- };
374
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
260
375
  asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
261
376
  default: boolean;
262
377
  } & {
@@ -282,46 +397,173 @@ declare const BkTable: {
282
397
  prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
283
398
  default: () => import("vue").CSSProperties;
284
399
  };
400
+ colSortBehavior: import("vue-types").VueTypeDef<import("./props").IColSortBehavior>;
401
+ isFlex: import("vue-types").VueTypeValidableDef<boolean> & {
402
+ default: boolean;
403
+ } & {
404
+ default: boolean;
405
+ };
285
406
  }>> & {
286
- onSelect?: (...args: any[]) => any;
287
- onColumnPick?: (...args: any[]) => any;
288
- onColumnSort?: (...args: any[]) => any;
289
- onColumnFilter?: (...args: any[]) => any;
290
- onColFilterSave?: (...args: any[]) => any;
291
- onRowClick?: (...args: any[]) => any;
292
- onRowDblclick?: (...args: any[]) => any;
293
- onRowExpand?: (...args: any[]) => any;
294
- onRowMouseEnter?: (...args: any[]) => any;
295
- onRowMouseLeave?: (...args: any[]) => any;
296
- onPageLimitChange?: (...args: any[]) => any;
297
- onPageValueChange?: (...args: any[]) => any;
298
- onSettingChange?: (...args: any[]) => any;
299
- onScrollBottom?: (...args: any[]) => any;
300
- onSelectAll?: (...args: any[]) => any;
301
- onSelectionChange?: (...args: any[]) => any;
302
- onCellClick?: (...args: any[]) => any;
303
- onCellDblclick?: (...args: any[]) => any;
407
+ onSelect?: (_args: {
408
+ row: any;
409
+ index: Number;
410
+ checked: string;
411
+ data: any[];
412
+ }) => any;
413
+ onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
414
+ onColumnSort?: (_args: {
415
+ column: import("./props").Column;
416
+ index: number;
417
+ type: import("./const").SORT_OPTION;
418
+ }) => any;
419
+ onColumnFilter?: (_args: {
420
+ checked: string[];
421
+ column: import("./props").Column;
422
+ index: number;
423
+ }) => any;
424
+ onColFilterSave?: (_args: {
425
+ column: import("./props").Column;
426
+ values: any[];
427
+ }) => any;
428
+ onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
429
+ onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
430
+ onRowExpand?: (_args: {
431
+ row: any;
432
+ column: import("./props").Column;
433
+ index: Number;
434
+ rows: any[];
435
+ e: MouseEvent;
436
+ }) => any;
437
+ onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
438
+ onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
439
+ onPageLimitChange?: (_arg: number) => any;
440
+ onPageValueChange?: (_arg: number) => any;
441
+ onSettingChange?: (_args: {
442
+ checked: string[];
443
+ size: string;
444
+ height: number;
445
+ fields: Record<string, any>[];
446
+ }) => any;
447
+ onScrollBottom?: (_args: {
448
+ translateX: number;
449
+ translateY: number;
450
+ scrollTop: number;
451
+ scrollLeft: number;
452
+ bottom: number;
453
+ }) => any;
454
+ onSelectAll?: (_args: {
455
+ checked: string;
456
+ data: any[];
457
+ }) => any;
458
+ onSelectionChange?: (_args: {
459
+ row: any;
460
+ index: Number;
461
+ checked: string;
462
+ data: any[];
463
+ isAll: boolean;
464
+ }) => any;
465
+ onCellClick?: (_args: {
466
+ event: MouseEvent;
467
+ row: any;
468
+ column: import("./props").Column;
469
+ cell: {
470
+ getValue: () => string;
471
+ };
472
+ rowIndex: number;
473
+ columnIndex: number;
474
+ }) => any;
475
+ onCellDblclick?: (_args: {
476
+ event: MouseEvent;
477
+ row: any;
478
+ column: import("./props").Column;
479
+ cell: {
480
+ getValue: () => string;
481
+ };
482
+ rowIndex: number;
483
+ columnIndex: number;
484
+ }) => any;
304
485
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
305
- columnPick: (..._args: any[]) => boolean;
306
- columnFilter: (..._args: any[]) => boolean;
307
- columnSort: (..._args: any[]) => boolean;
308
- colFilterSave: (..._args: any[]) => boolean;
309
- rowClick: (..._args: any[]) => boolean;
310
- rowDblclick: (..._args: any[]) => boolean;
311
- rowExpand: (..._args: any[]) => boolean;
312
- select: (..._args: any[]) => boolean;
313
- selectAll: (..._args: any[]) => boolean;
314
- selectionChange: (..._args: any[]) => boolean;
315
- pageLimitChange: (..._args: any[]) => boolean;
316
- pageValueChange: (..._args: any[]) => boolean;
317
- settingChange: (..._args: any[]) => boolean;
318
- scrollBottom: (..._args: any[]) => boolean;
319
- cellClick: (..._args: any[]) => boolean;
320
- cellDblclick: (..._args: any[]) => boolean;
321
- rowMouseEnter: (..._args: any[]) => boolean;
322
- rowMouseLeave: (..._args: any[]) => boolean;
486
+ columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
487
+ columnFilter: (_args: {
488
+ checked: string[];
489
+ column: import("./props").Column;
490
+ index: number;
491
+ }) => boolean;
492
+ columnSort: (_args: {
493
+ column: import("./props").Column;
494
+ index: number;
495
+ type: import("./const").SORT_OPTION;
496
+ }) => boolean;
497
+ colFilterSave: (_args: {
498
+ column: import("./props").Column;
499
+ values: any[];
500
+ }) => boolean;
501
+ rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
502
+ rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
503
+ rowExpand: (_args: {
504
+ row: any;
505
+ column: import("./props").Column;
506
+ index: Number;
507
+ rows: any[];
508
+ e: MouseEvent;
509
+ }) => boolean;
510
+ select: (_args: {
511
+ row: any;
512
+ index: Number;
513
+ checked: string;
514
+ data: any[];
515
+ }) => boolean;
516
+ selectAll: (_args: {
517
+ checked: string;
518
+ data: any[];
519
+ }) => boolean;
520
+ selectionChange: (_args: {
521
+ row: any;
522
+ index: Number;
523
+ checked: string;
524
+ data: any[];
525
+ isAll: boolean;
526
+ }) => boolean;
527
+ pageLimitChange: (_arg: number) => boolean;
528
+ pageValueChange: (_arg: number) => boolean;
529
+ settingChange: (_args: {
530
+ checked: string[];
531
+ size: string;
532
+ height: number;
533
+ fields: Record<string, any>[];
534
+ }) => boolean;
535
+ scrollBottom: (_args: {
536
+ translateX: number;
537
+ translateY: number;
538
+ scrollTop: number;
539
+ scrollLeft: number;
540
+ bottom: number;
541
+ }) => boolean;
542
+ cellClick: (_args: {
543
+ event: MouseEvent;
544
+ row: any;
545
+ column: import("./props").Column;
546
+ cell: {
547
+ getValue: () => string;
548
+ };
549
+ rowIndex: number;
550
+ columnIndex: number;
551
+ }) => boolean;
552
+ cellDblclick: (_args: {
553
+ event: MouseEvent;
554
+ row: any;
555
+ column: import("./props").Column;
556
+ cell: {
557
+ getValue: () => string;
558
+ };
559
+ rowIndex: number;
560
+ columnIndex: number;
561
+ }) => boolean;
562
+ rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
563
+ rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
323
564
  }, string, {
324
565
  data: any[];
566
+ thead: import("./props").Thead;
325
567
  height: string | number;
326
568
  maxHeight: string | number;
327
569
  border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
@@ -330,29 +572,23 @@ declare const BkTable: {
330
572
  };
331
573
  minHeight: string | number;
332
574
  columns: import("./props").Column[];
575
+ checked: unknown[];
333
576
  cellClass: any;
334
577
  headHeight: number;
335
578
  rowKey: any;
336
579
  scrollLoading: boolean | {
337
580
  [key: string]: any;
338
581
  };
339
- showOverflowTooltip: boolean | import("./props").IOverflowTooltip;
340
582
  columnPick: "disabled" | "single" | "multi";
341
- rowHeight: any;
342
- showHead: boolean;
343
583
  stripe: boolean;
584
+ rowHeight: import("./props").RowHeightFunctionNumber;
585
+ showHead: boolean;
344
586
  virtualEnabled: boolean;
345
587
  paginationHeight: number;
346
588
  remotePagination: boolean;
589
+ acrossAll: boolean;
347
590
  emptyText: string;
348
- settings: boolean | {
349
- fields: import("./props").Field[] | (() => import("./props").Field[]);
350
- checked: string[] | (() => string[]);
351
- limit: number;
352
- size: "small" | "medium" | "large";
353
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
354
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
355
- };
591
+ emptyCellText: any;
356
592
  rowClass: any;
357
593
  rowStyle: any;
358
594
  cellStyle: any;
@@ -365,6 +601,7 @@ declare const BkTable: {
365
601
  isRowSelectEnable: any;
366
602
  observerResize: boolean;
367
603
  prependStyle: import("vue").CSSProperties;
604
+ isFlex: boolean;
368
605
  }, {}, string, {}> & {
369
606
  beforeCreate?: (() => void) | (() => void)[];
370
607
  created?: (() => void) | (() => void)[];
@@ -399,14 +636,19 @@ declare const BkTable: {
399
636
  height: import("vue-types").VueTypeDef<string | number> & {
400
637
  default: string | number;
401
638
  };
639
+ stripe: import("vue-types").VueTypeValidableDef<boolean> & {
640
+ default: boolean;
641
+ } & {
642
+ default: boolean;
643
+ };
402
644
  minHeight: import("vue-types").VueTypeDef<string | number> & {
403
645
  default: string | number;
404
646
  };
405
647
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
406
648
  default: string | number;
407
649
  };
408
- rowHeight: import("vue-types").VueTypeDef<any> & {
409
- default: any;
650
+ rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
651
+ default: import("./props").RowHeightFunctionNumber;
410
652
  };
411
653
  headHeight: import("vue-types").VueTypeValidableDef<number> & {
412
654
  default: number;
@@ -418,11 +660,8 @@ declare const BkTable: {
418
660
  } & {
419
661
  default: boolean;
420
662
  };
421
- thead: import("vue-types").VueTypeShape<import("./props").Thead>;
422
- stripe: import("vue-types").VueTypeValidableDef<boolean> & {
423
- default: boolean;
424
- } & {
425
- default: boolean;
663
+ thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
664
+ default: () => import("./props").Thead;
426
665
  };
427
666
  virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
428
667
  default: boolean;
@@ -449,26 +688,18 @@ declare const BkTable: {
449
688
  } & {
450
689
  default: boolean;
451
690
  };
691
+ acrossAll: import("vue-types").VueTypeValidableDef<boolean> & {
692
+ default: boolean;
693
+ } & {
694
+ default: boolean;
695
+ };
452
696
  emptyText: import("vue-types").VueTypeValidableDef<string> & {
453
697
  default: string;
454
698
  };
455
- settings: import("vue-types").VueTypeDef<boolean | {
456
- fields: import("./props").Field[] | (() => import("./props").Field[]);
457
- checked: string[] | (() => string[]);
458
- limit: number;
459
- size: "small" | "medium" | "large";
460
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
461
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
462
- }> & {
463
- default: boolean | (() => {
464
- fields: import("./props").Field[] | (() => import("./props").Field[]);
465
- checked: string[] | (() => string[]);
466
- limit: number;
467
- size: "small" | "medium" | "large";
468
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
469
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
470
- });
699
+ emptyCellText: import("vue-types").VueTypeDef<any> & {
700
+ default: any;
471
701
  };
702
+ settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
472
703
  rowClass: import("vue-types").VueTypeDef<any> & {
473
704
  default: any;
474
705
  };
@@ -498,6 +729,11 @@ declare const BkTable: {
498
729
  } & {
499
730
  default: string;
500
731
  };
732
+ checked: import("vue-types").VueTypeValidableDef<unknown[]> & {
733
+ default: () => unknown[];
734
+ } & {
735
+ default: () => unknown[];
736
+ };
501
737
  isSelectedFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
502
738
  default: (...args: any[]) => any;
503
739
  } & {
@@ -506,9 +742,7 @@ declare const BkTable: {
506
742
  rowKey: import("vue-types").VueTypeDef<any> & {
507
743
  default: any;
508
744
  };
509
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("./props").IOverflowTooltip> & {
510
- default: boolean | (() => import("./props").IOverflowTooltip);
511
- };
745
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
512
746
  asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
513
747
  default: boolean;
514
748
  } & {
@@ -534,25 +768,91 @@ declare const BkTable: {
534
768
  prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
535
769
  default: () => import("vue").CSSProperties;
536
770
  };
771
+ colSortBehavior: import("vue-types").VueTypeDef<import("./props").IColSortBehavior>;
772
+ isFlex: import("vue-types").VueTypeValidableDef<boolean> & {
773
+ default: boolean;
774
+ } & {
775
+ default: boolean;
776
+ };
537
777
  }>> & {
538
- onSelect?: (...args: any[]) => any;
539
- onColumnPick?: (...args: any[]) => any;
540
- onColumnSort?: (...args: any[]) => any;
541
- onColumnFilter?: (...args: any[]) => any;
542
- onColFilterSave?: (...args: any[]) => any;
543
- onRowClick?: (...args: any[]) => any;
544
- onRowDblclick?: (...args: any[]) => any;
545
- onRowExpand?: (...args: any[]) => any;
546
- onRowMouseEnter?: (...args: any[]) => any;
547
- onRowMouseLeave?: (...args: any[]) => any;
548
- onPageLimitChange?: (...args: any[]) => any;
549
- onPageValueChange?: (...args: any[]) => any;
550
- onSettingChange?: (...args: any[]) => any;
551
- onScrollBottom?: (...args: any[]) => any;
552
- onSelectAll?: (...args: any[]) => any;
553
- onSelectionChange?: (...args: any[]) => any;
554
- onCellClick?: (...args: any[]) => any;
555
- onCellDblclick?: (...args: any[]) => any;
778
+ onSelect?: (_args: {
779
+ row: any;
780
+ index: Number;
781
+ checked: string;
782
+ data: any[];
783
+ }) => any;
784
+ onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
785
+ onColumnSort?: (_args: {
786
+ column: import("./props").Column;
787
+ index: number;
788
+ type: import("./const").SORT_OPTION;
789
+ }) => any;
790
+ onColumnFilter?: (_args: {
791
+ checked: string[];
792
+ column: import("./props").Column;
793
+ index: number;
794
+ }) => any;
795
+ onColFilterSave?: (_args: {
796
+ column: import("./props").Column;
797
+ values: any[];
798
+ }) => any;
799
+ onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
800
+ onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
801
+ onRowExpand?: (_args: {
802
+ row: any;
803
+ column: import("./props").Column;
804
+ index: Number;
805
+ rows: any[];
806
+ e: MouseEvent;
807
+ }) => any;
808
+ onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
809
+ onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
810
+ onPageLimitChange?: (_arg: number) => any;
811
+ onPageValueChange?: (_arg: number) => any;
812
+ onSettingChange?: (_args: {
813
+ checked: string[];
814
+ size: string;
815
+ height: number;
816
+ fields: Record<string, any>[];
817
+ }) => any;
818
+ onScrollBottom?: (_args: {
819
+ translateX: number;
820
+ translateY: number;
821
+ scrollTop: number;
822
+ scrollLeft: number;
823
+ bottom: number;
824
+ }) => any;
825
+ onSelectAll?: (_args: {
826
+ checked: string;
827
+ data: any[];
828
+ }) => any;
829
+ onSelectionChange?: (_args: {
830
+ row: any;
831
+ index: Number;
832
+ checked: string;
833
+ data: any[];
834
+ isAll: boolean;
835
+ }) => any;
836
+ onCellClick?: (_args: {
837
+ event: MouseEvent;
838
+ row: any;
839
+ column: import("./props").Column;
840
+ cell: {
841
+ getValue: () => string;
842
+ };
843
+ rowIndex: number;
844
+ columnIndex: number;
845
+ }) => any;
846
+ onCellDblclick?: (_args: {
847
+ event: MouseEvent;
848
+ row: any;
849
+ column: import("./props").Column;
850
+ cell: {
851
+ getValue: () => string;
852
+ };
853
+ rowIndex: number;
854
+ columnIndex: number;
855
+ }) => any;
556
856
  } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
557
857
  __isFragment?: never;
558
858
  __isTeleport?: never;
@@ -571,14 +871,19 @@ declare const BkTable: {
571
871
  height: import("vue-types").VueTypeDef<string | number> & {
572
872
  default: string | number;
573
873
  };
874
+ stripe: import("vue-types").VueTypeValidableDef<boolean> & {
875
+ default: boolean;
876
+ } & {
877
+ default: boolean;
878
+ };
574
879
  minHeight: import("vue-types").VueTypeDef<string | number> & {
575
880
  default: string | number;
576
881
  };
577
882
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
578
883
  default: string | number;
579
884
  };
580
- rowHeight: import("vue-types").VueTypeDef<any> & {
581
- default: any;
885
+ rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
886
+ default: import("./props").RowHeightFunctionNumber;
582
887
  };
583
888
  headHeight: import("vue-types").VueTypeValidableDef<number> & {
584
889
  default: number;
@@ -590,11 +895,8 @@ declare const BkTable: {
590
895
  } & {
591
896
  default: boolean;
592
897
  };
593
- thead: import("vue-types").VueTypeShape<import("./props").Thead>;
594
- stripe: import("vue-types").VueTypeValidableDef<boolean> & {
595
- default: boolean;
596
- } & {
597
- default: boolean;
898
+ thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
899
+ default: () => import("./props").Thead;
598
900
  };
599
901
  virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
600
902
  default: boolean;
@@ -621,26 +923,18 @@ declare const BkTable: {
621
923
  } & {
622
924
  default: boolean;
623
925
  };
926
+ acrossAll: import("vue-types").VueTypeValidableDef<boolean> & {
927
+ default: boolean;
928
+ } & {
929
+ default: boolean;
930
+ };
624
931
  emptyText: import("vue-types").VueTypeValidableDef<string> & {
625
932
  default: string;
626
933
  };
627
- settings: import("vue-types").VueTypeDef<boolean | {
628
- fields: import("./props").Field[] | (() => import("./props").Field[]);
629
- checked: string[] | (() => string[]);
630
- limit: number;
631
- size: "small" | "medium" | "large";
632
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
633
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
634
- }> & {
635
- default: boolean | (() => {
636
- fields: import("./props").Field[] | (() => import("./props").Field[]);
637
- checked: string[] | (() => string[]);
638
- limit: number;
639
- size: "small" | "medium" | "large";
640
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
641
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
642
- });
934
+ emptyCellText: import("vue-types").VueTypeDef<any> & {
935
+ default: any;
643
936
  };
937
+ settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
644
938
  rowClass: import("vue-types").VueTypeDef<any> & {
645
939
  default: any;
646
940
  };
@@ -670,6 +964,11 @@ declare const BkTable: {
670
964
  } & {
671
965
  default: string;
672
966
  };
967
+ checked: import("vue-types").VueTypeValidableDef<unknown[]> & {
968
+ default: () => unknown[];
969
+ } & {
970
+ default: () => unknown[];
971
+ };
673
972
  isSelectedFn: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
674
973
  default: (...args: any[]) => any;
675
974
  } & {
@@ -678,9 +977,7 @@ declare const BkTable: {
678
977
  rowKey: import("vue-types").VueTypeDef<any> & {
679
978
  default: any;
680
979
  };
681
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("./props").IOverflowTooltip> & {
682
- default: boolean | (() => import("./props").IOverflowTooltip);
683
- };
980
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
684
981
  asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
685
982
  default: boolean;
686
983
  } & {
@@ -706,46 +1003,173 @@ declare const BkTable: {
706
1003
  prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
707
1004
  default: () => import("vue").CSSProperties;
708
1005
  };
1006
+ colSortBehavior: import("vue-types").VueTypeDef<import("./props").IColSortBehavior>;
1007
+ isFlex: import("vue-types").VueTypeValidableDef<boolean> & {
1008
+ default: boolean;
1009
+ } & {
1010
+ default: boolean;
1011
+ };
709
1012
  }>> & {
710
- onSelect?: (...args: any[]) => any;
711
- onColumnPick?: (...args: any[]) => any;
712
- onColumnSort?: (...args: any[]) => any;
713
- onColumnFilter?: (...args: any[]) => any;
714
- onColFilterSave?: (...args: any[]) => any;
715
- onRowClick?: (...args: any[]) => any;
716
- onRowDblclick?: (...args: any[]) => any;
717
- onRowExpand?: (...args: any[]) => any;
718
- onRowMouseEnter?: (...args: any[]) => any;
719
- onRowMouseLeave?: (...args: any[]) => any;
720
- onPageLimitChange?: (...args: any[]) => any;
721
- onPageValueChange?: (...args: any[]) => any;
722
- onSettingChange?: (...args: any[]) => any;
723
- onScrollBottom?: (...args: any[]) => any;
724
- onSelectAll?: (...args: any[]) => any;
725
- onSelectionChange?: (...args: any[]) => any;
726
- onCellClick?: (...args: any[]) => any;
727
- onCellDblclick?: (...args: any[]) => any;
1013
+ onSelect?: (_args: {
1014
+ row: any;
1015
+ index: Number;
1016
+ checked: string;
1017
+ data: any[];
1018
+ }) => any;
1019
+ onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
1020
+ onColumnSort?: (_args: {
1021
+ column: import("./props").Column;
1022
+ index: number;
1023
+ type: import("./const").SORT_OPTION;
1024
+ }) => any;
1025
+ onColumnFilter?: (_args: {
1026
+ checked: string[];
1027
+ column: import("./props").Column;
1028
+ index: number;
1029
+ }) => any;
1030
+ onColFilterSave?: (_args: {
1031
+ column: import("./props").Column;
1032
+ values: any[];
1033
+ }) => any;
1034
+ onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1035
+ onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1036
+ onRowExpand?: (_args: {
1037
+ row: any;
1038
+ column: import("./props").Column;
1039
+ index: Number;
1040
+ rows: any[];
1041
+ e: MouseEvent;
1042
+ }) => any;
1043
+ onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1044
+ onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
1045
+ onPageLimitChange?: (_arg: number) => any;
1046
+ onPageValueChange?: (_arg: number) => any;
1047
+ onSettingChange?: (_args: {
1048
+ checked: string[];
1049
+ size: string;
1050
+ height: number;
1051
+ fields: Record<string, any>[];
1052
+ }) => any;
1053
+ onScrollBottom?: (_args: {
1054
+ translateX: number;
1055
+ translateY: number;
1056
+ scrollTop: number;
1057
+ scrollLeft: number;
1058
+ bottom: number;
1059
+ }) => any;
1060
+ onSelectAll?: (_args: {
1061
+ checked: string;
1062
+ data: any[];
1063
+ }) => any;
1064
+ onSelectionChange?: (_args: {
1065
+ row: any;
1066
+ index: Number;
1067
+ checked: string;
1068
+ data: any[];
1069
+ isAll: boolean;
1070
+ }) => any;
1071
+ onCellClick?: (_args: {
1072
+ event: MouseEvent;
1073
+ row: any;
1074
+ column: import("./props").Column;
1075
+ cell: {
1076
+ getValue: () => string;
1077
+ };
1078
+ rowIndex: number;
1079
+ columnIndex: number;
1080
+ }) => any;
1081
+ onCellDblclick?: (_args: {
1082
+ event: MouseEvent;
1083
+ row: any;
1084
+ column: import("./props").Column;
1085
+ cell: {
1086
+ getValue: () => string;
1087
+ };
1088
+ rowIndex: number;
1089
+ columnIndex: number;
1090
+ }) => any;
728
1091
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
729
- columnPick: (..._args: any[]) => boolean;
730
- columnFilter: (..._args: any[]) => boolean;
731
- columnSort: (..._args: any[]) => boolean;
732
- colFilterSave: (..._args: any[]) => boolean;
733
- rowClick: (..._args: any[]) => boolean;
734
- rowDblclick: (..._args: any[]) => boolean;
735
- rowExpand: (..._args: any[]) => boolean;
736
- select: (..._args: any[]) => boolean;
737
- selectAll: (..._args: any[]) => boolean;
738
- selectionChange: (..._args: any[]) => boolean;
739
- pageLimitChange: (..._args: any[]) => boolean;
740
- pageValueChange: (..._args: any[]) => boolean;
741
- settingChange: (..._args: any[]) => boolean;
742
- scrollBottom: (..._args: any[]) => boolean;
743
- cellClick: (..._args: any[]) => boolean;
744
- cellDblclick: (..._args: any[]) => boolean;
745
- rowMouseEnter: (..._args: any[]) => boolean;
746
- rowMouseLeave: (..._args: any[]) => boolean;
1092
+ columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
1093
+ columnFilter: (_args: {
1094
+ checked: string[];
1095
+ column: import("./props").Column;
1096
+ index: number;
1097
+ }) => boolean;
1098
+ columnSort: (_args: {
1099
+ column: import("./props").Column;
1100
+ index: number;
1101
+ type: import("./const").SORT_OPTION;
1102
+ }) => boolean;
1103
+ colFilterSave: (_args: {
1104
+ column: import("./props").Column;
1105
+ values: any[];
1106
+ }) => boolean;
1107
+ rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
1108
+ rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
1109
+ rowExpand: (_args: {
1110
+ row: any;
1111
+ column: import("./props").Column;
1112
+ index: Number;
1113
+ rows: any[];
1114
+ e: MouseEvent;
1115
+ }) => boolean;
1116
+ select: (_args: {
1117
+ row: any;
1118
+ index: Number;
1119
+ checked: string;
1120
+ data: any[];
1121
+ }) => boolean;
1122
+ selectAll: (_args: {
1123
+ checked: string;
1124
+ data: any[];
1125
+ }) => boolean;
1126
+ selectionChange: (_args: {
1127
+ row: any;
1128
+ index: Number;
1129
+ checked: string;
1130
+ data: any[];
1131
+ isAll: boolean;
1132
+ }) => boolean;
1133
+ pageLimitChange: (_arg: number) => boolean;
1134
+ pageValueChange: (_arg: number) => boolean;
1135
+ settingChange: (_args: {
1136
+ checked: string[];
1137
+ size: string;
1138
+ height: number;
1139
+ fields: Record<string, any>[];
1140
+ }) => boolean;
1141
+ scrollBottom: (_args: {
1142
+ translateX: number;
1143
+ translateY: number;
1144
+ scrollTop: number;
1145
+ scrollLeft: number;
1146
+ bottom: number;
1147
+ }) => boolean;
1148
+ cellClick: (_args: {
1149
+ event: MouseEvent;
1150
+ row: any;
1151
+ column: import("./props").Column;
1152
+ cell: {
1153
+ getValue: () => string;
1154
+ };
1155
+ rowIndex: number;
1156
+ columnIndex: number;
1157
+ }) => boolean;
1158
+ cellDblclick: (_args: {
1159
+ event: MouseEvent;
1160
+ row: any;
1161
+ column: import("./props").Column;
1162
+ cell: {
1163
+ getValue: () => string;
1164
+ };
1165
+ rowIndex: number;
1166
+ columnIndex: number;
1167
+ }) => boolean;
1168
+ rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
1169
+ rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
747
1170
  }, string, {
748
1171
  data: any[];
1172
+ thead: import("./props").Thead;
749
1173
  height: string | number;
750
1174
  maxHeight: string | number;
751
1175
  border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
@@ -754,29 +1178,23 @@ declare const BkTable: {
754
1178
  };
755
1179
  minHeight: string | number;
756
1180
  columns: import("./props").Column[];
1181
+ checked: unknown[];
757
1182
  cellClass: any;
758
1183
  headHeight: number;
759
1184
  rowKey: any;
760
1185
  scrollLoading: boolean | {
761
1186
  [key: string]: any;
762
1187
  };
763
- showOverflowTooltip: boolean | import("./props").IOverflowTooltip;
764
1188
  columnPick: "disabled" | "single" | "multi";
765
- rowHeight: any;
766
- showHead: boolean;
767
1189
  stripe: boolean;
1190
+ rowHeight: import("./props").RowHeightFunctionNumber;
1191
+ showHead: boolean;
768
1192
  virtualEnabled: boolean;
769
1193
  paginationHeight: number;
770
1194
  remotePagination: boolean;
1195
+ acrossAll: boolean;
771
1196
  emptyText: string;
772
- settings: boolean | {
773
- fields: import("./props").Field[] | (() => import("./props").Field[]);
774
- checked: string[] | (() => string[]);
775
- limit: number;
776
- size: "small" | "medium" | "large";
777
- sizeList: import("./props").SizeItem[] | (object & (() => import("./props").SizeItem[]));
778
- showLineHeight: (boolean | object | (() => boolean) | ((props: Record<string, unknown>) => boolean)) & boolean;
779
- };
1197
+ emptyCellText: any;
780
1198
  rowClass: any;
781
1199
  rowStyle: any;
782
1200
  cellStyle: any;
@@ -789,17 +1207,12 @@ declare const BkTable: {
789
1207
  isRowSelectEnable: any;
790
1208
  observerResize: boolean;
791
1209
  prependStyle: import("vue").CSSProperties;
1210
+ isFlex: boolean;
792
1211
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
793
1212
  Column: import("vue").DefineComponent<{
794
- prop: import("vue-types").VueTypeDef<any>;
795
- index: import("vue-types").VueTypeValidableDef<number> & {
796
- default: number;
797
- } & {
798
- default: number;
799
- };
800
- label: import("vue-types").VueTypeDef<any>;
801
- field: import("vue-types").VueTypeDef<any>;
802
- render: import("vue-types").VueTypeDef<any>;
1213
+ label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1214
+ field: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1215
+ render: import("vue-types").VueTypeDef<import("./props").RenderFunctionString>;
803
1216
  width: import("vue-types").VueTypeDef<string | number>;
804
1217
  minWidth: import("vue-types").VueTypeDef<string | number> & {
805
1218
  default: string | number;
@@ -809,9 +1222,7 @@ declare const BkTable: {
809
1222
  } & {
810
1223
  default: string;
811
1224
  };
812
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("./props").IOverflowTooltip> & {
813
- default: boolean | (() => import("./props").IOverflowTooltip);
814
- };
1225
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
815
1226
  type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
816
1227
  resizable: import("vue-types").VueTypeValidableDef<boolean> & {
817
1228
  default: boolean;
@@ -821,72 +1232,49 @@ declare const BkTable: {
821
1232
  fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
822
1233
  default: boolean | "right" | "left";
823
1234
  };
824
- sort: import("vue-types").VueTypeDef<string | boolean | {
825
- sortFn: any;
826
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
827
- value: string;
828
- }> & {
829
- default: string | boolean | (() => {
830
- sortFn: any;
831
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
832
- value: string;
833
- });
1235
+ sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape>;
1236
+ filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape>;
1237
+ colspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
1238
+ default: (({ column, colIndex, row, rowIndex }: {
1239
+ column: any;
1240
+ colIndex: any;
1241
+ row: any;
1242
+ rowIndex: any;
1243
+ }) => number) | (() => Number);
834
1244
  };
835
- filter: import("vue-types").VueTypeDef<string | boolean | {
836
- list: any[] | (object & (() => any[]));
837
- filterFn: any;
838
- match: "full" | "fuzzy";
839
- checked: any[] | (object & (() => any[]));
840
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
841
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
842
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
843
- }> & {
844
- default: string | boolean | (() => {
845
- list: any[] | (object & (() => any[]));
846
- filterFn: any;
847
- match: "full" | "fuzzy";
848
- checked: any[] | (object & (() => any[]));
849
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
850
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
851
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
852
- });
1245
+ rowspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
1246
+ default: (({ column, colIndex, row, rowIndex }: {
1247
+ column: any;
1248
+ colIndex: any;
1249
+ row: any;
1250
+ rowIndex: any;
1251
+ }) => number) | (() => Number);
853
1252
  };
854
- colspan: import("vue-types").VueTypeDef<any>;
855
- rowspan: import("vue-types").VueTypeDef<any>;
856
1253
  align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
857
- className: import("vue-types").VueTypeDef<any>;
1254
+ className: import("vue-types").VueTypeDef<import("./props").RowClassFunctionString>;
1255
+ prop: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1256
+ index: import("vue-types").VueTypeValidableDef<number> & {
1257
+ default: number;
1258
+ } & {
1259
+ default: number;
1260
+ };
858
1261
  }, {
859
- initColumns: (_col: import("./components/table-column").ITableColumn | import("./components/table-column").ITableColumn[], _rm?: boolean) => void;
1262
+ initColumns: (_col: import("./props").Column | import("./props").Column[], _rm?: boolean) => void;
860
1263
  bkTableCache: {
861
1264
  queueStack: (_: any, fn: any) => any;
862
1265
  };
863
1266
  column: {
864
- field: string | Function;
865
- label: string | Function;
866
- render?: string | Function | import("vue").Slot<any>;
867
- width?: string | number;
1267
+ fixed?: boolean | "right" | "left";
868
1268
  minWidth?: string | number;
869
- columnKey?: string;
870
- showOverflowTooltip?: boolean | {
871
- content: string | Function;
872
- disabled?: boolean;
873
- watchCellResize?: boolean;
874
- mode?: "auto" | "static";
875
- };
876
- type?: string;
877
- fixed?: string | boolean;
878
1269
  resizable?: boolean;
879
- sort?: string | boolean | {
880
- sortFn?: Function;
881
- sortScope?: string;
882
- value?: string;
883
- };
884
- filter?: string | boolean | {
885
- list?: any;
886
- filterFn?: Function;
887
- checked?: any;
888
- };
889
- colspan?: Function | {
1270
+ index?: number;
1271
+ columnKey?: string;
1272
+ colspan?: (({ column, colIndex, row, rowIndex }: {
1273
+ column: any;
1274
+ colIndex: any;
1275
+ row: any;
1276
+ rowIndex: any;
1277
+ }) => number) | {
890
1278
  toString: (radix?: number) => string;
891
1279
  toFixed: (fractionDigits?: number) => string;
892
1280
  toExponential: (fractionDigits?: number) => string;
@@ -897,7 +1285,12 @@ declare const BkTable: {
897
1285
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
898
1286
  };
899
1287
  };
900
- rowspan?: Function | {
1288
+ rowspan?: (({ column, colIndex, row, rowIndex }: {
1289
+ column: any;
1290
+ colIndex: any;
1291
+ row: any;
1292
+ rowIndex: any;
1293
+ }) => number) | {
901
1294
  toString: (radix?: number) => string;
902
1295
  toFixed: (fractionDigits?: number) => string;
903
1296
  toExponential: (fractionDigits?: number) => string;
@@ -908,110 +1301,46 @@ declare const BkTable: {
908
1301
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
909
1302
  };
910
1303
  };
911
- textAlign?: {
912
- [x: number]: string;
913
- toString: () => string;
914
- charAt: (pos: number) => string;
915
- charCodeAt: (index: number) => number;
916
- concat: (...strings: string[]) => string;
917
- indexOf: (searchString: string, position?: number) => number;
918
- lastIndexOf: (searchString: string, position?: number) => number;
919
- localeCompare: {
920
- (that: string): number;
921
- (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
922
- };
923
- match: {
924
- (regexp: string | RegExp): RegExpMatchArray;
925
- (matcher: {
926
- [Symbol.match](string: string): RegExpMatchArray;
927
- }): RegExpMatchArray;
928
- };
929
- replace: {
930
- (searchValue: string | RegExp, replaceValue: string): string;
931
- (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
932
- (searchValue: {
933
- [Symbol.replace](string: string, replaceValue: string): string;
934
- }, replaceValue: string): string;
935
- (searchValue: {
936
- [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
937
- }, replacer: (substring: string, ...args: any[]) => string): string;
938
- };
939
- search: {
940
- (regexp: string | RegExp): number;
941
- (searcher: {
942
- [Symbol.search](string: string): number;
943
- }): number;
944
- };
945
- slice: (start?: number, end?: number) => string;
946
- split: {
947
- (separator: string | RegExp, limit?: number): string[];
948
- (splitter: {
949
- [Symbol.split](string: string, limit?: number): string[];
950
- }, limit?: number): string[];
951
- };
952
- substring: (start: number, end?: number) => string;
953
- toLowerCase: () => string;
954
- toLocaleLowerCase: (locales?: string | string[]) => string;
955
- toUpperCase: () => string;
956
- toLocaleUpperCase: (locales?: string | string[]) => string;
957
- trim: () => string;
958
- readonly length: number;
959
- substr: (from: number, length?: number) => string;
960
- valueOf: () => string;
961
- codePointAt: (pos: number) => number;
962
- includes: (searchString: string, position?: number) => boolean;
963
- endsWith: (searchString: string, endPosition?: number) => boolean;
964
- normalize: {
965
- (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
966
- (form?: string): string;
967
- };
968
- repeat: (count: number) => string;
969
- startsWith: (searchString: string, position?: number) => boolean;
970
- anchor: (name: string) => string;
971
- big: () => string;
972
- blink: () => string;
973
- bold: () => string;
974
- fixed: () => string;
975
- fontcolor: (color: string) => string;
976
- fontsize: {
977
- (size: number): string;
978
- (size: string): string;
979
- };
980
- italics: () => string;
981
- link: (url: string) => string;
982
- small: () => string;
983
- strike: () => string;
984
- sub: () => string;
985
- sup: () => string;
986
- padStart: (maxLength: number, fillString?: string) => string;
987
- padEnd: (maxLength: number, fillString?: string) => string;
988
- trimEnd: () => string;
989
- trimStart: () => string;
990
- trimLeft: () => string;
991
- trimRight: () => string;
992
- matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
993
- [Symbol.iterator]: () => IterableIterator<string>;
994
- at: (index: number) => string;
1304
+ render?: import("./props").RenderFunctionString;
1305
+ sort?: string | boolean | {
1306
+ sortFn?: Function;
1307
+ sortScope?: import("./props").SortScope;
1308
+ value?: import("./const").SORT_OPTION;
995
1309
  };
996
- className?: string | Function;
997
- align?: string;
998
- prop?: string | Function;
999
- index?: number;
1310
+ filter?: string | boolean | {
1311
+ list: any[];
1312
+ filterFn?: Function;
1313
+ match?: import("./props").FullEnum;
1314
+ checked?: any[];
1315
+ filterScope?: import("./props").SortScope;
1316
+ btnSave?: string | boolean;
1317
+ btnReset?: string | boolean;
1318
+ maxHeight?: number;
1319
+ };
1320
+ type?: "none" | "selection" | "index" | "expand";
1321
+ label?: import("./props").LabelFunctionString;
1322
+ width?: string | number;
1323
+ className?: import("./props").RowClassFunctionString;
1324
+ align?: "" | "right" | "left" | "center";
1325
+ showOverflowTooltip?: boolean | {
1326
+ content: string | Function;
1327
+ disabled?: (col: import("./props").Column, row: any) => boolean;
1328
+ watchCellResize?: boolean;
1329
+ mode?: "auto" | "static";
1330
+ popoverOption?: any;
1331
+ resizerWay?: import("./props").ResizerWay;
1332
+ };
1333
+ field: import("./props").LabelFunctionString;
1334
+ prop?: import("./props").LabelFunctionString;
1000
1335
  };
1001
1336
  }, unknown, {}, {
1002
1337
  updateColumnDefine(unmounted?: boolean): void;
1003
1338
  updateColumnDefineByParent(): void;
1004
1339
  updateColumnDefineByIndex(unmounted?: boolean): void;
1005
1340
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
1006
- prop: import("vue-types").VueTypeDef<any>;
1007
- index: import("vue-types").VueTypeValidableDef<number> & {
1008
- default: number;
1009
- } & {
1010
- default: number;
1011
- };
1012
- label: import("vue-types").VueTypeDef<any>;
1013
- field: import("vue-types").VueTypeDef<any>;
1014
- render: import("vue-types").VueTypeDef<any>;
1341
+ label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1342
+ field: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1343
+ render: import("vue-types").VueTypeDef<import("./props").RenderFunctionString>;
1015
1344
  width: import("vue-types").VueTypeDef<string | number>;
1016
1345
  minWidth: import("vue-types").VueTypeDef<string | number> & {
1017
1346
  default: string | number;
@@ -1021,9 +1350,7 @@ declare const BkTable: {
1021
1350
  } & {
1022
1351
  default: string;
1023
1352
  };
1024
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("./props").IOverflowTooltip> & {
1025
- default: boolean | (() => import("./props").IOverflowTooltip);
1026
- };
1353
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp>;
1027
1354
  type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
1028
1355
  resizable: import("vue-types").VueTypeValidableDef<boolean> & {
1029
1356
  default: boolean;
@@ -1033,62 +1360,41 @@ declare const BkTable: {
1033
1360
  fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
1034
1361
  default: boolean | "right" | "left";
1035
1362
  };
1036
- sort: import("vue-types").VueTypeDef<string | boolean | {
1037
- sortFn: any;
1038
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1039
- value: string;
1040
- }> & {
1041
- default: string | boolean | (() => {
1042
- sortFn: any;
1043
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1044
- value: string;
1045
- });
1363
+ sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape>;
1364
+ filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape>;
1365
+ colspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
1366
+ default: (({ column, colIndex, row, rowIndex }: {
1367
+ column: any;
1368
+ colIndex: any;
1369
+ row: any;
1370
+ rowIndex: any;
1371
+ }) => number) | (() => Number);
1046
1372
  };
1047
- filter: import("vue-types").VueTypeDef<string | boolean | {
1048
- list: any[] | (object & (() => any[]));
1049
- filterFn: any;
1050
- match: "full" | "fuzzy";
1051
- checked: any[] | (object & (() => any[]));
1052
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1053
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1054
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1055
- }> & {
1056
- default: string | boolean | (() => {
1057
- list: any[] | (object & (() => any[]));
1058
- filterFn: any;
1059
- match: "full" | "fuzzy";
1060
- checked: any[] | (object & (() => any[]));
1061
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1062
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1063
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1064
- });
1373
+ rowspan: import("vue-types").VueTypeDef<import("./props").SpanFunctionString> & {
1374
+ default: (({ column, colIndex, row, rowIndex }: {
1375
+ column: any;
1376
+ colIndex: any;
1377
+ row: any;
1378
+ rowIndex: any;
1379
+ }) => number) | (() => Number);
1065
1380
  };
1066
- colspan: import("vue-types").VueTypeDef<any>;
1067
- rowspan: import("vue-types").VueTypeDef<any>;
1068
1381
  align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
1069
- className: import("vue-types").VueTypeDef<any>;
1070
- }>>, {
1071
- sort: string | boolean | {
1072
- sortFn: any;
1073
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1074
- value: string;
1075
- };
1076
- filter: string | boolean | {
1077
- list: any[] | (object & (() => any[]));
1078
- filterFn: any;
1079
- match: "full" | "fuzzy";
1080
- checked: any[] | (object & (() => any[]));
1081
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
1082
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1083
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
1382
+ className: import("vue-types").VueTypeDef<import("./props").RowClassFunctionString>;
1383
+ prop: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
1384
+ index: import("vue-types").VueTypeValidableDef<number> & {
1385
+ default: number;
1386
+ } & {
1387
+ default: number;
1084
1388
  };
1389
+ }>>, {
1085
1390
  fixed: boolean | "right" | "left";
1086
1391
  minWidth: string | number;
1392
+ resizable: boolean;
1087
1393
  index: number;
1088
1394
  columnKey: string;
1089
- showOverflowTooltip: boolean | import("./props").IOverflowTooltip;
1090
- resizable: boolean;
1395
+ colspan: import("./props").SpanFunctionString;
1396
+ rowspan: import("./props").SpanFunctionString;
1091
1397
  }, {}>;
1092
1398
  }>;
1093
1399
  export default BkTable;
1094
- export { BkTable, Column as BkTableColumn, };
1400
+ export { BkTable, Column as BkTableColumn };