bkui-vue 0.0.2-beta.7 → 0.0.2-beta.9
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.
- package/dist/index.cjs.js +54 -54
- package/dist/index.esm.js +7445 -7494
- package/dist/index.umd.js +54 -54
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/components.d.ts +1 -1
- package/lib/container/index.js +1 -1
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +5 -5
- package/lib/message/index.js +1 -1
- package/lib/message/messageConstructor.d.ts +5 -4
- package/lib/plugin-popover/index.js +1 -1
- package/lib/popover/const.d.ts +22 -9
- package/lib/popover/index.d.ts +80 -45
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +24 -16
- package/lib/popover/props.d.ts +4 -2
- package/lib/popover/use-floating.d.ts +1 -1
- package/lib/select/index.d.ts +0 -12
- package/lib/select/select.d.ts +0 -6
- package/lib/styles/mixins/clearfix.less +0 -10
- package/lib/styles/mixins/clearfix.variable.css +0 -8
- package/lib/table/components/table-cell.d.ts +15 -6
- package/lib/table/components/table-column.d.ts +108 -215
- package/lib/table/const.d.ts +16 -54
- package/lib/table/events.d.ts +180 -0
- package/lib/table/index.d.ts +749 -410
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.d.ts +3 -7
- package/lib/table/plugins/head-sort.d.ts +3 -7
- package/lib/table/plugins/settings.d.ts +8 -12
- package/lib/table/plugins/use-fixed-column.d.ts +3 -2
- package/lib/table/props.d.ts +147 -160
- package/lib/table/render.d.ts +6 -4
- package/lib/table/table.css +16 -2
- package/lib/table/table.d.ts +194 -83
- package/lib/table/table.less +38 -2
- package/lib/table/table.variable.css +16 -2
- package/lib/table/use-column.d.ts +47 -1
- package/lib/table/use-common.d.ts +22 -9
- package/lib/table/utils.d.ts +1 -0
- package/lib/table-column/index.d.ts +417 -537
- package/lib/table-column/index.js +1 -1
- package/lib/tag-input/index.d.ts +0 -6
- package/lib/tag-input/tag-input.d.ts +0 -4
- package/lib/tag-input/tag-props.d.ts +0 -2
- package/package.json +1 -1
- package/lib/styles/mixins/clearfix.css +0 -8
- package/lib/styles/mixins/mixins.css +0 -72
- package/lib/styles/mixins/mixins.less +0 -5
- package/lib/styles/mixins/mixins.variable.css +0 -72
package/lib/table/index.d.ts
CHANGED
@@ -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
|
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,16 @@ declare const BkTable: {
|
|
23
24
|
scrollLoading?: boolean | {
|
24
25
|
[key: string]: any;
|
25
26
|
};
|
26
|
-
showOverflowTooltip?:
|
27
|
+
showOverflowTooltip?: import("./props").IOverflowTooltipProp;
|
27
28
|
columnPick?: "disabled" | "single" | "multi";
|
29
|
+
stripe?: boolean;
|
28
30
|
rowHeight?: any;
|
29
31
|
showHead?: boolean;
|
30
32
|
virtualEnabled?: boolean;
|
31
33
|
paginationHeight?: number;
|
32
34
|
remotePagination?: boolean;
|
33
35
|
emptyText?: string;
|
34
|
-
settings?:
|
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
|
-
};
|
36
|
+
settings?: import("./props").ISettingPropType;
|
42
37
|
rowClass?: any;
|
43
38
|
rowStyle?: any;
|
44
39
|
cellStyle?: any;
|
@@ -53,8 +48,12 @@ declare const BkTable: {
|
|
53
48
|
prependStyle?: import("vue").CSSProperties;
|
54
49
|
class?: unknown;
|
55
50
|
style?: unknown;
|
56
|
-
|
57
|
-
|
51
|
+
onSelect?: (_args: {
|
52
|
+
row: Record<string, any>;
|
53
|
+
index: Number;
|
54
|
+
checked: string;
|
55
|
+
data: Record<string, any>[];
|
56
|
+
}) => any;
|
58
57
|
key?: string | number | symbol;
|
59
58
|
ref?: import("vue").VNodeRef;
|
60
59
|
ref_for?: boolean;
|
@@ -101,23 +100,78 @@ declare const BkTable: {
|
|
101
100
|
readonly align?: "" | "right" | "left" | "center";
|
102
101
|
readonly activeColumn?: number | number[];
|
103
102
|
readonly resizerWay?: "debounce" | "throttle";
|
104
|
-
onColumnPick?: (
|
105
|
-
onColumnSort?: (
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
103
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
104
|
+
onColumnSort?: (_args: {
|
105
|
+
column: import("./props").Column;
|
106
|
+
index: number;
|
107
|
+
type: import("./const").SORT_OPTION;
|
108
|
+
}) => any;
|
109
|
+
onColumnFilter?: (_args: {
|
110
|
+
checked: string[];
|
111
|
+
column: import("./props").Column;
|
112
|
+
index: number;
|
113
|
+
}) => any;
|
114
|
+
onColFilterSave?: (_args: {
|
115
|
+
column: import("./props").Column;
|
116
|
+
values: Record<string, any>[];
|
117
|
+
}) => any;
|
118
|
+
onRowClick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
119
|
+
onRowDblclick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
120
|
+
onRowExpand?: (_args: {
|
121
|
+
row: Record<string, any>;
|
122
|
+
column: import("./props").Column;
|
123
|
+
index: Number;
|
124
|
+
rows: Record<string, any>[];
|
125
|
+
e: MouseEvent;
|
126
|
+
}) => any;
|
127
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
128
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
129
|
+
onPageLimitChange?: (_arg: number) => any;
|
130
|
+
onPageValueChange?: (_arg: number) => any;
|
131
|
+
onSettingChange?: (_args: {
|
132
|
+
checked: string[];
|
133
|
+
size: string;
|
134
|
+
height: number;
|
135
|
+
fields: Record<string, any>[];
|
136
|
+
}) => any;
|
137
|
+
onScrollBottom?: (_args: {
|
138
|
+
translateX: number;
|
139
|
+
translateY: number;
|
140
|
+
scrollTop: number;
|
141
|
+
scrollLeft: number;
|
142
|
+
bottom: number;
|
143
|
+
}) => any;
|
144
|
+
onSelectAll?: (_args: {
|
145
|
+
checked: string;
|
146
|
+
data: Record<string, any>[];
|
147
|
+
}) => any;
|
148
|
+
onSelectionChange?: (_args: {
|
149
|
+
row: Record<string, any>;
|
150
|
+
index: Number;
|
151
|
+
checked: string;
|
152
|
+
data: Record<string, any>[];
|
153
|
+
isAll: boolean;
|
154
|
+
}) => any;
|
155
|
+
onCellClick?: (_args: {
|
156
|
+
event: MouseEvent;
|
157
|
+
row: Record<string, any>;
|
158
|
+
column: import("./props").Column;
|
159
|
+
cell: {
|
160
|
+
getValue: () => string;
|
161
|
+
};
|
162
|
+
rowIndex: number;
|
163
|
+
columnIndex: number;
|
164
|
+
}) => any;
|
165
|
+
onCellDblclick?: (_args: {
|
166
|
+
event: MouseEvent;
|
167
|
+
row: Record<string, any>;
|
168
|
+
column: import("./props").Column;
|
169
|
+
cell: {
|
170
|
+
getValue: () => string;
|
171
|
+
};
|
172
|
+
rowIndex: number;
|
173
|
+
columnIndex: number;
|
174
|
+
}) => any;
|
121
175
|
};
|
122
176
|
$attrs: {
|
123
177
|
[x: string]: unknown;
|
@@ -130,7 +184,67 @@ declare const BkTable: {
|
|
130
184
|
}>;
|
131
185
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
132
186
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
133
|
-
$emit: ((event: import("./
|
187
|
+
$emit: ((event: import("./events").EMIT_EVENTS.COLUMN_PICK, _cols: import("./props").IColumnActive[]) => void) & ((event: import("./events").EMIT_EVENTS.COLUMN_SORT, _args: {
|
188
|
+
column: import("./props").Column;
|
189
|
+
index: number;
|
190
|
+
type: import("./const").SORT_OPTION;
|
191
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.COLUMN_FILTER, _args: {
|
192
|
+
checked: string[];
|
193
|
+
column: import("./props").Column;
|
194
|
+
index: number;
|
195
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.COLUMN_FILTER_SAVE, _args: {
|
196
|
+
column: import("./props").Column;
|
197
|
+
values: Record<string, any>[];
|
198
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.ROW_CLICK, _e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => void) & ((event: import("./events").EMIT_EVENTS.ROW_DBL_CLICK, _e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => void) & ((event: import("./events").EMIT_EVENTS.ROW_EXPAND_CLICK, _args: {
|
199
|
+
row: Record<string, any>;
|
200
|
+
column: import("./props").Column;
|
201
|
+
index: Number;
|
202
|
+
rows: Record<string, any>[];
|
203
|
+
e: MouseEvent;
|
204
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.ROW_MOUSE_ENTER, _e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => void) & ((event: import("./events").EMIT_EVENTS.ROW_MOUSE_LEAVE, _e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, 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: {
|
205
|
+
checked: string[];
|
206
|
+
size: string;
|
207
|
+
height: number;
|
208
|
+
fields: Record<string, any>[];
|
209
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.SCROLL_BOTTOM, _args: {
|
210
|
+
translateX: number;
|
211
|
+
translateY: number;
|
212
|
+
scrollTop: number;
|
213
|
+
scrollLeft: number;
|
214
|
+
bottom: number;
|
215
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.ROW_SELECT, _args: {
|
216
|
+
row: Record<string, any>;
|
217
|
+
index: Number;
|
218
|
+
checked: string;
|
219
|
+
data: Record<string, any>[];
|
220
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.ROW_SELECT_ALL, _args: {
|
221
|
+
checked: string;
|
222
|
+
data: Record<string, any>[];
|
223
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.ROW_SELECT_CHANGE, _args: {
|
224
|
+
row: Record<string, any>;
|
225
|
+
index: Number;
|
226
|
+
checked: string;
|
227
|
+
data: Record<string, any>[];
|
228
|
+
isAll: boolean;
|
229
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.CELL_CLICK, _args: {
|
230
|
+
event: MouseEvent;
|
231
|
+
row: Record<string, any>;
|
232
|
+
column: import("./props").Column;
|
233
|
+
cell: {
|
234
|
+
getValue: () => string;
|
235
|
+
};
|
236
|
+
rowIndex: number;
|
237
|
+
columnIndex: number;
|
238
|
+
}) => void) & ((event: import("./events").EMIT_EVENTS.CELL_DBL_CLICK, _args: {
|
239
|
+
event: MouseEvent;
|
240
|
+
row: Record<string, any>;
|
241
|
+
column: import("./props").Column;
|
242
|
+
cell: {
|
243
|
+
getValue: () => string;
|
244
|
+
};
|
245
|
+
rowIndex: number;
|
246
|
+
columnIndex: number;
|
247
|
+
}) => void);
|
134
248
|
$el: any;
|
135
249
|
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
136
250
|
data: import("vue-types").VueTypeDef<any[]> & {
|
@@ -146,6 +260,11 @@ declare const BkTable: {
|
|
146
260
|
height: import("vue-types").VueTypeDef<string | number> & {
|
147
261
|
default: string | number;
|
148
262
|
};
|
263
|
+
stripe: import("vue-types").VueTypeValidableDef<boolean> & {
|
264
|
+
default: boolean;
|
265
|
+
} & {
|
266
|
+
default: boolean;
|
267
|
+
};
|
149
268
|
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
150
269
|
default: string | number;
|
151
270
|
};
|
@@ -165,7 +284,9 @@ declare const BkTable: {
|
|
165
284
|
} & {
|
166
285
|
default: boolean;
|
167
286
|
};
|
168
|
-
thead: import("vue-types").
|
287
|
+
thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
|
288
|
+
default: () => import("./props").Thead;
|
289
|
+
};
|
169
290
|
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
170
291
|
default: boolean;
|
171
292
|
} & {
|
@@ -194,22 +315,8 @@ declare const BkTable: {
|
|
194
315
|
emptyText: import("vue-types").VueTypeValidableDef<string> & {
|
195
316
|
default: string;
|
196
317
|
};
|
197
|
-
settings: import("vue-types").VueTypeDef<
|
198
|
-
|
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
|
-
});
|
318
|
+
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType> & {
|
319
|
+
default: boolean | (() => import("./props").Settings);
|
213
320
|
};
|
214
321
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
215
322
|
default: any;
|
@@ -248,8 +355,13 @@ declare const BkTable: {
|
|
248
355
|
rowKey: import("vue-types").VueTypeDef<any> & {
|
249
356
|
default: any;
|
250
357
|
};
|
251
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
252
|
-
default: boolean | (() =>
|
358
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp> & {
|
359
|
+
default: boolean | (() => {
|
360
|
+
content: string | Function;
|
361
|
+
disabled?: boolean;
|
362
|
+
watchCellResize?: boolean;
|
363
|
+
mode?: "auto" | "static";
|
364
|
+
});
|
253
365
|
};
|
254
366
|
asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
|
255
367
|
default: boolean;
|
@@ -277,45 +389,166 @@ declare const BkTable: {
|
|
277
389
|
default: () => import("vue").CSSProperties;
|
278
390
|
};
|
279
391
|
}>> & {
|
280
|
-
onSelect?: (
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
392
|
+
onSelect?: (_args: {
|
393
|
+
row: Record<string, any>;
|
394
|
+
index: Number;
|
395
|
+
checked: string;
|
396
|
+
data: Record<string, any>[];
|
397
|
+
}) => any;
|
398
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
399
|
+
onColumnSort?: (_args: {
|
400
|
+
column: import("./props").Column;
|
401
|
+
index: number;
|
402
|
+
type: import("./const").SORT_OPTION;
|
403
|
+
}) => any;
|
404
|
+
onColumnFilter?: (_args: {
|
405
|
+
checked: string[];
|
406
|
+
column: import("./props").Column;
|
407
|
+
index: number;
|
408
|
+
}) => any;
|
409
|
+
onColFilterSave?: (_args: {
|
410
|
+
column: import("./props").Column;
|
411
|
+
values: Record<string, any>[];
|
412
|
+
}) => any;
|
413
|
+
onRowClick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
414
|
+
onRowDblclick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
415
|
+
onRowExpand?: (_args: {
|
416
|
+
row: Record<string, any>;
|
417
|
+
column: import("./props").Column;
|
418
|
+
index: Number;
|
419
|
+
rows: Record<string, any>[];
|
420
|
+
e: MouseEvent;
|
421
|
+
}) => any;
|
422
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
423
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
424
|
+
onPageLimitChange?: (_arg: number) => any;
|
425
|
+
onPageValueChange?: (_arg: number) => any;
|
426
|
+
onSettingChange?: (_args: {
|
427
|
+
checked: string[];
|
428
|
+
size: string;
|
429
|
+
height: number;
|
430
|
+
fields: Record<string, any>[];
|
431
|
+
}) => any;
|
432
|
+
onScrollBottom?: (_args: {
|
433
|
+
translateX: number;
|
434
|
+
translateY: number;
|
435
|
+
scrollTop: number;
|
436
|
+
scrollLeft: number;
|
437
|
+
bottom: number;
|
438
|
+
}) => any;
|
439
|
+
onSelectAll?: (_args: {
|
440
|
+
checked: string;
|
441
|
+
data: Record<string, any>[];
|
442
|
+
}) => any;
|
443
|
+
onSelectionChange?: (_args: {
|
444
|
+
row: Record<string, any>;
|
445
|
+
index: Number;
|
446
|
+
checked: string;
|
447
|
+
data: Record<string, any>[];
|
448
|
+
isAll: boolean;
|
449
|
+
}) => any;
|
450
|
+
onCellClick?: (_args: {
|
451
|
+
event: MouseEvent;
|
452
|
+
row: Record<string, any>;
|
453
|
+
column: import("./props").Column;
|
454
|
+
cell: {
|
455
|
+
getValue: () => string;
|
456
|
+
};
|
457
|
+
rowIndex: number;
|
458
|
+
columnIndex: number;
|
459
|
+
}) => any;
|
460
|
+
onCellDblclick?: (_args: {
|
461
|
+
event: MouseEvent;
|
462
|
+
row: Record<string, any>;
|
463
|
+
column: import("./props").Column;
|
464
|
+
cell: {
|
465
|
+
getValue: () => string;
|
466
|
+
};
|
467
|
+
rowIndex: number;
|
468
|
+
columnIndex: number;
|
469
|
+
}) => any;
|
298
470
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
299
|
-
columnPick: (
|
300
|
-
columnFilter: (
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
471
|
+
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
472
|
+
columnFilter: (_args: {
|
473
|
+
checked: string[];
|
474
|
+
column: import("./props").Column;
|
475
|
+
index: number;
|
476
|
+
}) => boolean;
|
477
|
+
columnSort: (_args: {
|
478
|
+
column: import("./props").Column;
|
479
|
+
index: number;
|
480
|
+
type: import("./const").SORT_OPTION;
|
481
|
+
}) => boolean;
|
482
|
+
colFilterSave: (_args: {
|
483
|
+
column: import("./props").Column;
|
484
|
+
values: Record<string, any>[];
|
485
|
+
}) => boolean;
|
486
|
+
rowClick: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
487
|
+
rowDblclick: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
488
|
+
rowExpand: (_args: {
|
489
|
+
row: Record<string, any>;
|
490
|
+
column: import("./props").Column;
|
491
|
+
index: Number;
|
492
|
+
rows: Record<string, any>[];
|
493
|
+
e: MouseEvent;
|
494
|
+
}) => boolean;
|
495
|
+
select: (_args: {
|
496
|
+
row: Record<string, any>;
|
497
|
+
index: Number;
|
498
|
+
checked: string;
|
499
|
+
data: Record<string, any>[];
|
500
|
+
}) => boolean;
|
501
|
+
selectAll: (_args: {
|
502
|
+
checked: string;
|
503
|
+
data: Record<string, any>[];
|
504
|
+
}) => boolean;
|
505
|
+
selectionChange: (_args: {
|
506
|
+
row: Record<string, any>;
|
507
|
+
index: Number;
|
508
|
+
checked: string;
|
509
|
+
data: Record<string, any>[];
|
510
|
+
isAll: boolean;
|
511
|
+
}) => boolean;
|
512
|
+
pageLimitChange: (_arg: number) => boolean;
|
513
|
+
pageValueChange: (_arg: number) => boolean;
|
514
|
+
settingChange: (_args: {
|
515
|
+
checked: string[];
|
516
|
+
size: string;
|
517
|
+
height: number;
|
518
|
+
fields: Record<string, any>[];
|
519
|
+
}) => boolean;
|
520
|
+
scrollBottom: (_args: {
|
521
|
+
translateX: number;
|
522
|
+
translateY: number;
|
523
|
+
scrollTop: number;
|
524
|
+
scrollLeft: number;
|
525
|
+
bottom: number;
|
526
|
+
}) => boolean;
|
527
|
+
cellClick: (_args: {
|
528
|
+
event: MouseEvent;
|
529
|
+
row: Record<string, any>;
|
530
|
+
column: import("./props").Column;
|
531
|
+
cell: {
|
532
|
+
getValue: () => string;
|
533
|
+
};
|
534
|
+
rowIndex: number;
|
535
|
+
columnIndex: number;
|
536
|
+
}) => boolean;
|
537
|
+
cellDblclick: (_args: {
|
538
|
+
event: MouseEvent;
|
539
|
+
row: Record<string, any>;
|
540
|
+
column: import("./props").Column;
|
541
|
+
cell: {
|
542
|
+
getValue: () => string;
|
543
|
+
};
|
544
|
+
rowIndex: number;
|
545
|
+
columnIndex: number;
|
546
|
+
}) => boolean;
|
547
|
+
rowMouseEnter: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
548
|
+
rowMouseLeave: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
317
549
|
}, string, {
|
318
550
|
data: any[];
|
551
|
+
thead: import("./props").Thead;
|
319
552
|
height: string | number;
|
320
553
|
maxHeight: string | number;
|
321
554
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
@@ -330,22 +563,16 @@ declare const BkTable: {
|
|
330
563
|
scrollLoading: boolean | {
|
331
564
|
[key: string]: any;
|
332
565
|
};
|
333
|
-
showOverflowTooltip:
|
566
|
+
showOverflowTooltip: import("./props").IOverflowTooltipProp;
|
334
567
|
columnPick: "disabled" | "single" | "multi";
|
568
|
+
stripe: boolean;
|
335
569
|
rowHeight: any;
|
336
570
|
showHead: boolean;
|
337
571
|
virtualEnabled: boolean;
|
338
572
|
paginationHeight: number;
|
339
573
|
remotePagination: boolean;
|
340
574
|
emptyText: string;
|
341
|
-
settings:
|
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
|
-
};
|
575
|
+
settings: import("./props").ISettingPropType;
|
349
576
|
rowClass: any;
|
350
577
|
rowStyle: any;
|
351
578
|
cellStyle: any;
|
@@ -392,6 +619,11 @@ declare const BkTable: {
|
|
392
619
|
height: import("vue-types").VueTypeDef<string | number> & {
|
393
620
|
default: string | number;
|
394
621
|
};
|
622
|
+
stripe: import("vue-types").VueTypeValidableDef<boolean> & {
|
623
|
+
default: boolean;
|
624
|
+
} & {
|
625
|
+
default: boolean;
|
626
|
+
};
|
395
627
|
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
396
628
|
default: string | number;
|
397
629
|
};
|
@@ -411,7 +643,9 @@ declare const BkTable: {
|
|
411
643
|
} & {
|
412
644
|
default: boolean;
|
413
645
|
};
|
414
|
-
thead: import("vue-types").
|
646
|
+
thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
|
647
|
+
default: () => import("./props").Thead;
|
648
|
+
};
|
415
649
|
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
416
650
|
default: boolean;
|
417
651
|
} & {
|
@@ -440,22 +674,8 @@ declare const BkTable: {
|
|
440
674
|
emptyText: import("vue-types").VueTypeValidableDef<string> & {
|
441
675
|
default: string;
|
442
676
|
};
|
443
|
-
settings: import("vue-types").VueTypeDef<
|
444
|
-
|
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
|
-
});
|
677
|
+
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType> & {
|
678
|
+
default: boolean | (() => import("./props").Settings);
|
459
679
|
};
|
460
680
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
461
681
|
default: any;
|
@@ -494,8 +714,13 @@ declare const BkTable: {
|
|
494
714
|
rowKey: import("vue-types").VueTypeDef<any> & {
|
495
715
|
default: any;
|
496
716
|
};
|
497
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
498
|
-
default: boolean | (() =>
|
717
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp> & {
|
718
|
+
default: boolean | (() => {
|
719
|
+
content: string | Function;
|
720
|
+
disabled?: boolean;
|
721
|
+
watchCellResize?: boolean;
|
722
|
+
mode?: "auto" | "static";
|
723
|
+
});
|
499
724
|
};
|
500
725
|
asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
|
501
726
|
default: boolean;
|
@@ -523,24 +748,84 @@ declare const BkTable: {
|
|
523
748
|
default: () => import("vue").CSSProperties;
|
524
749
|
};
|
525
750
|
}>> & {
|
526
|
-
onSelect?: (
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
751
|
+
onSelect?: (_args: {
|
752
|
+
row: Record<string, any>;
|
753
|
+
index: Number;
|
754
|
+
checked: string;
|
755
|
+
data: Record<string, any>[];
|
756
|
+
}) => any;
|
757
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
758
|
+
onColumnSort?: (_args: {
|
759
|
+
column: import("./props").Column;
|
760
|
+
index: number;
|
761
|
+
type: import("./const").SORT_OPTION;
|
762
|
+
}) => any;
|
763
|
+
onColumnFilter?: (_args: {
|
764
|
+
checked: string[];
|
765
|
+
column: import("./props").Column;
|
766
|
+
index: number;
|
767
|
+
}) => any;
|
768
|
+
onColFilterSave?: (_args: {
|
769
|
+
column: import("./props").Column;
|
770
|
+
values: Record<string, any>[];
|
771
|
+
}) => any;
|
772
|
+
onRowClick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
773
|
+
onRowDblclick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
774
|
+
onRowExpand?: (_args: {
|
775
|
+
row: Record<string, any>;
|
776
|
+
column: import("./props").Column;
|
777
|
+
index: Number;
|
778
|
+
rows: Record<string, any>[];
|
779
|
+
e: MouseEvent;
|
780
|
+
}) => any;
|
781
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
782
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
783
|
+
onPageLimitChange?: (_arg: number) => any;
|
784
|
+
onPageValueChange?: (_arg: number) => any;
|
785
|
+
onSettingChange?: (_args: {
|
786
|
+
checked: string[];
|
787
|
+
size: string;
|
788
|
+
height: number;
|
789
|
+
fields: Record<string, any>[];
|
790
|
+
}) => any;
|
791
|
+
onScrollBottom?: (_args: {
|
792
|
+
translateX: number;
|
793
|
+
translateY: number;
|
794
|
+
scrollTop: number;
|
795
|
+
scrollLeft: number;
|
796
|
+
bottom: number;
|
797
|
+
}) => any;
|
798
|
+
onSelectAll?: (_args: {
|
799
|
+
checked: string;
|
800
|
+
data: Record<string, any>[];
|
801
|
+
}) => any;
|
802
|
+
onSelectionChange?: (_args: {
|
803
|
+
row: Record<string, any>;
|
804
|
+
index: Number;
|
805
|
+
checked: string;
|
806
|
+
data: Record<string, any>[];
|
807
|
+
isAll: boolean;
|
808
|
+
}) => any;
|
809
|
+
onCellClick?: (_args: {
|
810
|
+
event: MouseEvent;
|
811
|
+
row: Record<string, any>;
|
812
|
+
column: import("./props").Column;
|
813
|
+
cell: {
|
814
|
+
getValue: () => string;
|
815
|
+
};
|
816
|
+
rowIndex: number;
|
817
|
+
columnIndex: number;
|
818
|
+
}) => any;
|
819
|
+
onCellDblclick?: (_args: {
|
820
|
+
event: MouseEvent;
|
821
|
+
row: Record<string, any>;
|
822
|
+
column: import("./props").Column;
|
823
|
+
cell: {
|
824
|
+
getValue: () => string;
|
825
|
+
};
|
826
|
+
rowIndex: number;
|
827
|
+
columnIndex: number;
|
828
|
+
}) => any;
|
544
829
|
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
|
545
830
|
__isFragment?: never;
|
546
831
|
__isTeleport?: never;
|
@@ -559,6 +844,11 @@ declare const BkTable: {
|
|
559
844
|
height: import("vue-types").VueTypeDef<string | number> & {
|
560
845
|
default: string | number;
|
561
846
|
};
|
847
|
+
stripe: import("vue-types").VueTypeValidableDef<boolean> & {
|
848
|
+
default: boolean;
|
849
|
+
} & {
|
850
|
+
default: boolean;
|
851
|
+
};
|
562
852
|
minHeight: import("vue-types").VueTypeDef<string | number> & {
|
563
853
|
default: string | number;
|
564
854
|
};
|
@@ -578,7 +868,9 @@ declare const BkTable: {
|
|
578
868
|
} & {
|
579
869
|
default: boolean;
|
580
870
|
};
|
581
|
-
thead: import("vue-types").
|
871
|
+
thead: import("vue-types").VueTypeDef<import("./props").Thead> & {
|
872
|
+
default: () => import("./props").Thead;
|
873
|
+
};
|
582
874
|
virtualEnabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
583
875
|
default: boolean;
|
584
876
|
} & {
|
@@ -607,22 +899,8 @@ declare const BkTable: {
|
|
607
899
|
emptyText: import("vue-types").VueTypeValidableDef<string> & {
|
608
900
|
default: string;
|
609
901
|
};
|
610
|
-
settings: import("vue-types").VueTypeDef<
|
611
|
-
|
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
|
-
});
|
902
|
+
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType> & {
|
903
|
+
default: boolean | (() => import("./props").Settings);
|
626
904
|
};
|
627
905
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
628
906
|
default: any;
|
@@ -661,8 +939,13 @@ declare const BkTable: {
|
|
661
939
|
rowKey: import("vue-types").VueTypeDef<any> & {
|
662
940
|
default: any;
|
663
941
|
};
|
664
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
665
|
-
default: boolean | (() =>
|
942
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp> & {
|
943
|
+
default: boolean | (() => {
|
944
|
+
content: string | Function;
|
945
|
+
disabled?: boolean;
|
946
|
+
watchCellResize?: boolean;
|
947
|
+
mode?: "auto" | "static";
|
948
|
+
});
|
666
949
|
};
|
667
950
|
asyncData: import("vue-types").VueTypeValidableDef<boolean> & {
|
668
951
|
default: boolean;
|
@@ -690,45 +973,166 @@ declare const BkTable: {
|
|
690
973
|
default: () => import("vue").CSSProperties;
|
691
974
|
};
|
692
975
|
}>> & {
|
693
|
-
onSelect?: (
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
976
|
+
onSelect?: (_args: {
|
977
|
+
row: Record<string, any>;
|
978
|
+
index: Number;
|
979
|
+
checked: string;
|
980
|
+
data: Record<string, any>[];
|
981
|
+
}) => any;
|
982
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
983
|
+
onColumnSort?: (_args: {
|
984
|
+
column: import("./props").Column;
|
985
|
+
index: number;
|
986
|
+
type: import("./const").SORT_OPTION;
|
987
|
+
}) => any;
|
988
|
+
onColumnFilter?: (_args: {
|
989
|
+
checked: string[];
|
990
|
+
column: import("./props").Column;
|
991
|
+
index: number;
|
992
|
+
}) => any;
|
993
|
+
onColFilterSave?: (_args: {
|
994
|
+
column: import("./props").Column;
|
995
|
+
values: Record<string, any>[];
|
996
|
+
}) => any;
|
997
|
+
onRowClick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
998
|
+
onRowDblclick?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
999
|
+
onRowExpand?: (_args: {
|
1000
|
+
row: Record<string, any>;
|
1001
|
+
column: import("./props").Column;
|
1002
|
+
index: Number;
|
1003
|
+
rows: Record<string, any>[];
|
1004
|
+
e: MouseEvent;
|
1005
|
+
}) => any;
|
1006
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
1007
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => any;
|
1008
|
+
onPageLimitChange?: (_arg: number) => any;
|
1009
|
+
onPageValueChange?: (_arg: number) => any;
|
1010
|
+
onSettingChange?: (_args: {
|
1011
|
+
checked: string[];
|
1012
|
+
size: string;
|
1013
|
+
height: number;
|
1014
|
+
fields: Record<string, any>[];
|
1015
|
+
}) => any;
|
1016
|
+
onScrollBottom?: (_args: {
|
1017
|
+
translateX: number;
|
1018
|
+
translateY: number;
|
1019
|
+
scrollTop: number;
|
1020
|
+
scrollLeft: number;
|
1021
|
+
bottom: number;
|
1022
|
+
}) => any;
|
1023
|
+
onSelectAll?: (_args: {
|
1024
|
+
checked: string;
|
1025
|
+
data: Record<string, any>[];
|
1026
|
+
}) => any;
|
1027
|
+
onSelectionChange?: (_args: {
|
1028
|
+
row: Record<string, any>;
|
1029
|
+
index: Number;
|
1030
|
+
checked: string;
|
1031
|
+
data: Record<string, any>[];
|
1032
|
+
isAll: boolean;
|
1033
|
+
}) => any;
|
1034
|
+
onCellClick?: (_args: {
|
1035
|
+
event: MouseEvent;
|
1036
|
+
row: Record<string, any>;
|
1037
|
+
column: import("./props").Column;
|
1038
|
+
cell: {
|
1039
|
+
getValue: () => string;
|
1040
|
+
};
|
1041
|
+
rowIndex: number;
|
1042
|
+
columnIndex: number;
|
1043
|
+
}) => any;
|
1044
|
+
onCellDblclick?: (_args: {
|
1045
|
+
event: MouseEvent;
|
1046
|
+
row: Record<string, any>;
|
1047
|
+
column: import("./props").Column;
|
1048
|
+
cell: {
|
1049
|
+
getValue: () => string;
|
1050
|
+
};
|
1051
|
+
rowIndex: number;
|
1052
|
+
columnIndex: number;
|
1053
|
+
}) => any;
|
711
1054
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
712
|
-
columnPick: (
|
713
|
-
columnFilter: (
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
1055
|
+
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
1056
|
+
columnFilter: (_args: {
|
1057
|
+
checked: string[];
|
1058
|
+
column: import("./props").Column;
|
1059
|
+
index: number;
|
1060
|
+
}) => boolean;
|
1061
|
+
columnSort: (_args: {
|
1062
|
+
column: import("./props").Column;
|
1063
|
+
index: number;
|
1064
|
+
type: import("./const").SORT_OPTION;
|
1065
|
+
}) => boolean;
|
1066
|
+
colFilterSave: (_args: {
|
1067
|
+
column: import("./props").Column;
|
1068
|
+
values: Record<string, any>[];
|
1069
|
+
}) => boolean;
|
1070
|
+
rowClick: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
1071
|
+
rowDblclick: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
1072
|
+
rowExpand: (_args: {
|
1073
|
+
row: Record<string, any>;
|
1074
|
+
column: import("./props").Column;
|
1075
|
+
index: Number;
|
1076
|
+
rows: Record<string, any>[];
|
1077
|
+
e: MouseEvent;
|
1078
|
+
}) => boolean;
|
1079
|
+
select: (_args: {
|
1080
|
+
row: Record<string, any>;
|
1081
|
+
index: Number;
|
1082
|
+
checked: string;
|
1083
|
+
data: Record<string, any>[];
|
1084
|
+
}) => boolean;
|
1085
|
+
selectAll: (_args: {
|
1086
|
+
checked: string;
|
1087
|
+
data: Record<string, any>[];
|
1088
|
+
}) => boolean;
|
1089
|
+
selectionChange: (_args: {
|
1090
|
+
row: Record<string, any>;
|
1091
|
+
index: Number;
|
1092
|
+
checked: string;
|
1093
|
+
data: Record<string, any>[];
|
1094
|
+
isAll: boolean;
|
1095
|
+
}) => boolean;
|
1096
|
+
pageLimitChange: (_arg: number) => boolean;
|
1097
|
+
pageValueChange: (_arg: number) => boolean;
|
1098
|
+
settingChange: (_args: {
|
1099
|
+
checked: string[];
|
1100
|
+
size: string;
|
1101
|
+
height: number;
|
1102
|
+
fields: Record<string, any>[];
|
1103
|
+
}) => boolean;
|
1104
|
+
scrollBottom: (_args: {
|
1105
|
+
translateX: number;
|
1106
|
+
translateY: number;
|
1107
|
+
scrollTop: number;
|
1108
|
+
scrollLeft: number;
|
1109
|
+
bottom: number;
|
1110
|
+
}) => boolean;
|
1111
|
+
cellClick: (_args: {
|
1112
|
+
event: MouseEvent;
|
1113
|
+
row: Record<string, any>;
|
1114
|
+
column: import("./props").Column;
|
1115
|
+
cell: {
|
1116
|
+
getValue: () => string;
|
1117
|
+
};
|
1118
|
+
rowIndex: number;
|
1119
|
+
columnIndex: number;
|
1120
|
+
}) => boolean;
|
1121
|
+
cellDblclick: (_args: {
|
1122
|
+
event: MouseEvent;
|
1123
|
+
row: Record<string, any>;
|
1124
|
+
column: import("./props").Column;
|
1125
|
+
cell: {
|
1126
|
+
getValue: () => string;
|
1127
|
+
};
|
1128
|
+
rowIndex: number;
|
1129
|
+
columnIndex: number;
|
1130
|
+
}) => boolean;
|
1131
|
+
rowMouseEnter: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
1132
|
+
rowMouseLeave: (_e: MouseEvent, _row: Record<string, any>, _index: number, _rows: Record<string, any>[], _this: any) => boolean;
|
730
1133
|
}, string, {
|
731
1134
|
data: any[];
|
1135
|
+
thead: import("./props").Thead;
|
732
1136
|
height: string | number;
|
733
1137
|
maxHeight: string | number;
|
734
1138
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
@@ -743,22 +1147,16 @@ declare const BkTable: {
|
|
743
1147
|
scrollLoading: boolean | {
|
744
1148
|
[key: string]: any;
|
745
1149
|
};
|
746
|
-
showOverflowTooltip:
|
1150
|
+
showOverflowTooltip: import("./props").IOverflowTooltipProp;
|
747
1151
|
columnPick: "disabled" | "single" | "multi";
|
1152
|
+
stripe: boolean;
|
748
1153
|
rowHeight: any;
|
749
1154
|
showHead: boolean;
|
750
1155
|
virtualEnabled: boolean;
|
751
1156
|
paginationHeight: number;
|
752
1157
|
remotePagination: boolean;
|
753
1158
|
emptyText: string;
|
754
|
-
settings:
|
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
|
-
};
|
1159
|
+
settings: import("./props").ISettingPropType;
|
762
1160
|
rowClass: any;
|
763
1161
|
rowStyle: any;
|
764
1162
|
cellStyle: any;
|
@@ -773,12 +1171,6 @@ declare const BkTable: {
|
|
773
1171
|
prependStyle: import("vue").CSSProperties;
|
774
1172
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
775
1173
|
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
1174
|
label: import("vue-types").VueTypeDef<any>;
|
783
1175
|
field: import("vue-types").VueTypeDef<any>;
|
784
1176
|
render: import("vue-types").VueTypeDef<any>;
|
@@ -791,8 +1183,13 @@ declare const BkTable: {
|
|
791
1183
|
} & {
|
792
1184
|
default: string;
|
793
1185
|
};
|
794
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
795
|
-
default: boolean | (() =>
|
1186
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp> & {
|
1187
|
+
default: boolean | (() => {
|
1188
|
+
content: string | Function;
|
1189
|
+
disabled?: boolean;
|
1190
|
+
watchCellResize?: boolean;
|
1191
|
+
mode?: "auto" | "static";
|
1192
|
+
});
|
796
1193
|
};
|
797
1194
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
798
1195
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -803,51 +1200,138 @@ declare const BkTable: {
|
|
803
1200
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
804
1201
|
default: boolean | "right" | "left";
|
805
1202
|
};
|
806
|
-
sort: import("vue-types").VueTypeDef<
|
807
|
-
|
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
|
-
});
|
1203
|
+
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape> & {
|
1204
|
+
default: string | boolean | (() => import("./props").ISortShape);
|
816
1205
|
};
|
817
|
-
filter: import("vue-types").VueTypeDef<
|
818
|
-
|
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
|
-
});
|
1206
|
+
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape> & {
|
1207
|
+
default: string | boolean | (() => import("./props").IFilterShape);
|
835
1208
|
};
|
836
1209
|
colspan: import("vue-types").VueTypeDef<any>;
|
837
1210
|
rowspan: import("vue-types").VueTypeDef<any>;
|
838
1211
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
839
1212
|
className: import("vue-types").VueTypeDef<any>;
|
1213
|
+
prop: import("vue-types").VueTypeDef<any>;
|
1214
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
1215
|
+
default: number;
|
1216
|
+
} & {
|
1217
|
+
default: number;
|
1218
|
+
};
|
840
1219
|
}, {
|
841
|
-
initColumns: (_col:
|
1220
|
+
initColumns: (_col: Partial<ExtractPropTypes<{
|
1221
|
+
label: import("vue-types").VueTypeDef<any>;
|
1222
|
+
field: import("vue-types").VueTypeDef<any>;
|
1223
|
+
render: import("vue-types").VueTypeDef<any>;
|
1224
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
1225
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
1226
|
+
default: string | number;
|
1227
|
+
};
|
1228
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
1229
|
+
default: string;
|
1230
|
+
} & {
|
1231
|
+
default: string;
|
1232
|
+
};
|
1233
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp> & {
|
1234
|
+
default: boolean | (() => {
|
1235
|
+
content: string | Function;
|
1236
|
+
disabled?: boolean;
|
1237
|
+
watchCellResize?: boolean;
|
1238
|
+
mode?: "auto" | "static";
|
1239
|
+
});
|
1240
|
+
};
|
1241
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
1242
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1243
|
+
default: boolean;
|
1244
|
+
} & {
|
1245
|
+
default: boolean;
|
1246
|
+
};
|
1247
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
1248
|
+
default: boolean | "right" | "left";
|
1249
|
+
};
|
1250
|
+
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape> & {
|
1251
|
+
default: string | boolean | (() => import("./props").ISortShape);
|
1252
|
+
};
|
1253
|
+
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape> & {
|
1254
|
+
default: string | boolean | (() => import("./props").IFilterShape);
|
1255
|
+
};
|
1256
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
1257
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
1258
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
1259
|
+
className: import("vue-types").VueTypeDef<any>;
|
1260
|
+
prop: import("vue-types").VueTypeDef<any>;
|
1261
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
1262
|
+
default: number;
|
1263
|
+
} & {
|
1264
|
+
default: number;
|
1265
|
+
};
|
1266
|
+
}>> | Partial<ExtractPropTypes<{
|
1267
|
+
label: import("vue-types").VueTypeDef<any>;
|
1268
|
+
field: import("vue-types").VueTypeDef<any>;
|
1269
|
+
render: import("vue-types").VueTypeDef<any>;
|
1270
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
1271
|
+
minWidth: import("vue-types").VueTypeDef<string | number> & {
|
1272
|
+
default: string | number;
|
1273
|
+
};
|
1274
|
+
columnKey: import("vue-types").VueTypeValidableDef<string> & {
|
1275
|
+
default: string;
|
1276
|
+
} & {
|
1277
|
+
default: string;
|
1278
|
+
};
|
1279
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp> & {
|
1280
|
+
default: boolean | (() => {
|
1281
|
+
content: string | Function;
|
1282
|
+
disabled?: boolean;
|
1283
|
+
watchCellResize?: boolean;
|
1284
|
+
mode?: "auto" | "static";
|
1285
|
+
});
|
1286
|
+
};
|
1287
|
+
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
1288
|
+
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
1289
|
+
default: boolean;
|
1290
|
+
} & {
|
1291
|
+
default: boolean;
|
1292
|
+
};
|
1293
|
+
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
1294
|
+
default: boolean | "right" | "left";
|
1295
|
+
};
|
1296
|
+
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape> & {
|
1297
|
+
default: string | boolean | (() => import("./props").ISortShape);
|
1298
|
+
};
|
1299
|
+
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape> & {
|
1300
|
+
default: string | boolean | (() => import("./props").IFilterShape);
|
1301
|
+
};
|
1302
|
+
colspan: import("vue-types").VueTypeDef<any>;
|
1303
|
+
rowspan: import("vue-types").VueTypeDef<any>;
|
1304
|
+
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
1305
|
+
className: import("vue-types").VueTypeDef<any>;
|
1306
|
+
prop: import("vue-types").VueTypeDef<any>;
|
1307
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
1308
|
+
default: number;
|
1309
|
+
} & {
|
1310
|
+
default: number;
|
1311
|
+
};
|
1312
|
+
}>>[], _rm?: boolean) => void;
|
842
1313
|
bkTableCache: {
|
843
1314
|
queueStack: (_: any, fn: any) => any;
|
844
1315
|
};
|
845
1316
|
column: {
|
846
|
-
field:
|
847
|
-
|
848
|
-
|
849
|
-
|
1317
|
+
field: any;
|
1318
|
+
sort?: string | boolean | {
|
1319
|
+
sortFn?: Function;
|
1320
|
+
sortScope?: import("./props").SortScope;
|
1321
|
+
value?: import("./const").SORT_OPTION;
|
1322
|
+
};
|
1323
|
+
filter?: string | boolean | {
|
1324
|
+
list: any[];
|
1325
|
+
filterFn?: Function;
|
1326
|
+
match?: import("./props").FullEnum;
|
1327
|
+
checked?: any[];
|
1328
|
+
filterScope?: import("./props").SortScope;
|
1329
|
+
btnSave?: string | boolean;
|
1330
|
+
btnReset?: string | boolean;
|
1331
|
+
};
|
1332
|
+
fixed?: boolean | "right" | "left";
|
850
1333
|
minWidth?: string | number;
|
1334
|
+
index?: number;
|
851
1335
|
columnKey?: string;
|
852
1336
|
showOverflowTooltip?: boolean | {
|
853
1337
|
content: string | Function;
|
@@ -855,142 +1339,22 @@ declare const BkTable: {
|
|
855
1339
|
watchCellResize?: boolean;
|
856
1340
|
mode?: "auto" | "static";
|
857
1341
|
};
|
858
|
-
type?: string;
|
859
|
-
fixed?: string | boolean;
|
860
1342
|
resizable?: boolean;
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
};
|
871
|
-
colspan?: Function | {
|
872
|
-
toString: (radix?: number) => string;
|
873
|
-
toFixed: (fractionDigits?: number) => string;
|
874
|
-
toExponential: (fractionDigits?: number) => string;
|
875
|
-
toPrecision: (precision?: number) => string;
|
876
|
-
valueOf: () => number;
|
877
|
-
toLocaleString: {
|
878
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
879
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
880
|
-
};
|
881
|
-
};
|
882
|
-
rowspan?: Function | {
|
883
|
-
toString: (radix?: number) => string;
|
884
|
-
toFixed: (fractionDigits?: number) => string;
|
885
|
-
toExponential: (fractionDigits?: number) => string;
|
886
|
-
toPrecision: (precision?: number) => string;
|
887
|
-
valueOf: () => number;
|
888
|
-
toLocaleString: {
|
889
|
-
(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
|
890
|
-
(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
891
|
-
};
|
892
|
-
};
|
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;
|
977
|
-
};
|
978
|
-
className?: string | Function;
|
979
|
-
align?: string;
|
980
|
-
prop?: string | Function;
|
981
|
-
index?: number;
|
1343
|
+
render?: any;
|
1344
|
+
type?: "none" | "selection" | "index" | "expand";
|
1345
|
+
label?: any;
|
1346
|
+
width?: string | number;
|
1347
|
+
className?: any;
|
1348
|
+
align?: "" | "right" | "left" | "center";
|
1349
|
+
colspan?: any;
|
1350
|
+
rowspan?: any;
|
1351
|
+
prop?: any;
|
982
1352
|
};
|
983
1353
|
}, unknown, {}, {
|
984
1354
|
updateColumnDefine(unmounted?: boolean): void;
|
985
1355
|
updateColumnDefineByParent(): void;
|
986
1356
|
updateColumnDefineByIndex(unmounted?: boolean): void;
|
987
1357
|
}, 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
1358
|
label: import("vue-types").VueTypeDef<any>;
|
995
1359
|
field: import("vue-types").VueTypeDef<any>;
|
996
1360
|
render: import("vue-types").VueTypeDef<any>;
|
@@ -1003,8 +1367,13 @@ declare const BkTable: {
|
|
1003
1367
|
} & {
|
1004
1368
|
default: string;
|
1005
1369
|
};
|
1006
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<
|
1007
|
-
default: boolean | (() =>
|
1370
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<import("./props").IOverflowTooltipProp> & {
|
1371
|
+
default: boolean | (() => {
|
1372
|
+
content: string | Function;
|
1373
|
+
disabled?: boolean;
|
1374
|
+
watchCellResize?: boolean;
|
1375
|
+
mode?: "auto" | "static";
|
1376
|
+
});
|
1008
1377
|
};
|
1009
1378
|
type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
|
1010
1379
|
resizable: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -1015,60 +1384,30 @@ declare const BkTable: {
|
|
1015
1384
|
fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
|
1016
1385
|
default: boolean | "right" | "left";
|
1017
1386
|
};
|
1018
|
-
sort: import("vue-types").VueTypeDef<
|
1019
|
-
|
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
|
-
});
|
1387
|
+
sort: import("vue-types").VueTypeDef<import("./props").ISortPropShape> & {
|
1388
|
+
default: string | boolean | (() => import("./props").ISortShape);
|
1028
1389
|
};
|
1029
|
-
filter: import("vue-types").VueTypeDef<
|
1030
|
-
|
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
|
-
});
|
1390
|
+
filter: import("vue-types").VueTypeDef<import("./props").IFilterPropShape> & {
|
1391
|
+
default: string | boolean | (() => import("./props").IFilterShape);
|
1047
1392
|
};
|
1048
1393
|
colspan: import("vue-types").VueTypeDef<any>;
|
1049
1394
|
rowspan: import("vue-types").VueTypeDef<any>;
|
1050
1395
|
align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
1051
1396
|
className: import("vue-types").VueTypeDef<any>;
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
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);
|
1397
|
+
prop: import("vue-types").VueTypeDef<any>;
|
1398
|
+
index: import("vue-types").VueTypeValidableDef<number> & {
|
1399
|
+
default: number;
|
1400
|
+
} & {
|
1401
|
+
default: number;
|
1066
1402
|
};
|
1403
|
+
}>>, {
|
1404
|
+
sort: import("./props").ISortPropShape;
|
1405
|
+
filter: import("./props").IFilterPropShape;
|
1067
1406
|
fixed: boolean | "right" | "left";
|
1068
1407
|
minWidth: string | number;
|
1069
1408
|
index: number;
|
1070
1409
|
columnKey: string;
|
1071
|
-
showOverflowTooltip:
|
1410
|
+
showOverflowTooltip: import("./props").IOverflowTooltipProp;
|
1072
1411
|
resizable: boolean;
|
1073
1412
|
}, {}>;
|
1074
1413
|
}>;
|