bkui-vue 0.0.2-beta.7 → 0.0.2-beta.70

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