bkui-vue 2.0.1-beta.15 → 2.0.1-beta.15.table.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +63 -63
- package/dist/index.esm.js +15152 -15326
- package/dist/index.umd.js +63 -63
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +129 -0
- package/lib/affix/affix.variable.css +258 -0
- package/lib/alert/alert.css +132 -3
- package/lib/alert/alert.variable.css +258 -0
- package/lib/backtop/backtop.css +132 -3
- package/lib/backtop/backtop.variable.css +390 -3
- package/lib/badge/badge.css +155 -26
- package/lib/badge/badge.variable.css +258 -0
- package/lib/breadcrumb/breadcrumb.css +134 -5
- package/lib/breadcrumb/breadcrumb.variable.css +392 -5
- package/lib/button/button.css +272 -143
- package/lib/button/button.variable.css +258 -0
- package/lib/button/index.js +0 -1
- package/lib/card/card.css +133 -4
- package/lib/card/card.variable.css +391 -4
- package/lib/cascader/cascader.css +152 -23
- package/lib/cascader/cascader.variable.css +410 -23
- package/lib/checkbox/checkbox.css +138 -9
- package/lib/checkbox/checkbox.variable.css +258 -0
- package/lib/code-diff/code-diff.css +129 -0
- package/lib/code-diff/code-diff.variable.css +258 -0
- package/lib/collapse/collapse.css +130 -1
- package/lib/collapse/collapse.variable.css +258 -0
- package/lib/collapse-transition/collapse-transition.css +129 -0
- package/lib/collapse-transition/collapse-transition.variable.css +258 -0
- package/lib/color-picker/color-picker.css +129 -0
- package/lib/color-picker/color-picker.variable.css +258 -0
- package/lib/config-provider/config-provider.css +129 -0
- package/lib/config-provider/config-provider.variable.css +258 -0
- package/lib/container/container.css +129 -0
- package/lib/container/container.variable.css +387 -0
- package/lib/container/index.js +0 -1
- package/lib/date-picker/date-picker.css +146 -17
- package/lib/date-picker/date-picker.variable.css +258 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/panel/date-range.d.ts +4 -4
- package/lib/dialog/dialog.css +137 -8
- package/lib/dialog/dialog.variable.css +395 -8
- package/lib/divider/divider.css +132 -3
- package/lib/divider/divider.variable.css +258 -0
- package/lib/dropdown/dropdown.css +129 -0
- package/lib/dropdown/dropdown.variable.css +387 -0
- package/lib/exception/exception.css +129 -0
- package/lib/exception/exception.variable.css +258 -0
- package/lib/fixed-navbar/fixed-navbar.css +133 -4
- package/lib/fixed-navbar/fixed-navbar.variable.css +258 -0
- package/lib/form/form.css +129 -0
- package/lib/form/form.variable.css +258 -0
- package/lib/form/index.js +0 -1
- package/lib/image/image-viewer.css +129 -0
- package/lib/image/image-viewer.variable.css +258 -0
- package/lib/image/image.css +129 -0
- package/lib/image/image.variable.css +387 -0
- package/lib/image/index.js +0 -1
- package/lib/index.js +1 -1
- package/lib/info-box/info-box.css +133 -4
- package/lib/info-box/info-box.variable.css +258 -0
- package/lib/input/index.js +0 -1
- package/lib/input/input.css +201 -72
- package/lib/input/input.variable.css +459 -72
- package/lib/link/link.css +145 -16
- package/lib/link/link.variable.css +258 -0
- package/lib/loading/loading.css +145 -16
- package/lib/loading/loading.variable.css +403 -16
- package/lib/menu/menu.css +147 -18
- package/lib/menu/menu.variable.css +405 -18
- package/lib/menu/submenu.css +129 -0
- package/lib/menu/submenu.variable.css +258 -0
- package/lib/message/message.css +150 -21
- package/lib/message/message.variable.css +258 -0
- package/lib/modal/modal.css +133 -4
- package/lib/modal/modal.variable.css +391 -4
- package/lib/navigation/navigation.css +131 -2
- package/lib/navigation/navigation.variable.css +258 -0
- package/lib/notify/notify.css +136 -7
- package/lib/notify/notify.variable.css +258 -0
- package/lib/pagination/pagination.css +130 -1
- package/lib/pagination/pagination.variable.css +258 -0
- package/lib/plugin-popover/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.css +129 -0
- package/lib/pop-confirm/pop-confirm.variable.css +258 -0
- package/lib/popover/index.js +0 -1
- package/lib/popover/popover.css +129 -0
- package/lib/popover/popover.variable.css +258 -0
- package/lib/process/process.css +142 -13
- package/lib/process/process.variable.css +258 -0
- package/lib/progress/index.js +0 -1
- package/lib/progress/progress.css +133 -4
- package/lib/progress/progress.variable.css +391 -4
- package/lib/radio/radio.css +171 -42
- package/lib/radio/radio.variable.css +258 -0
- package/lib/rate/rate.css +129 -0
- package/lib/rate/rate.variable.css +258 -0
- package/lib/resize-layout/resize-layout.css +129 -0
- package/lib/resize-layout/resize-layout.variable.css +258 -0
- package/lib/scrollbar/scrollbar.css +129 -0
- package/lib/scrollbar/scrollbar.variable.css +258 -0
- package/lib/search-select/search-select.css +162 -33
- package/lib/search-select/search-select.variable.css +420 -33
- package/lib/select/index.js +0 -2
- package/lib/select/select.css +168 -39
- package/lib/select/select.variable.css +426 -39
- package/lib/sideslider/sideslider.css +130 -1
- package/lib/sideslider/sideslider.variable.css +258 -0
- package/lib/slider/slider.css +134 -5
- package/lib/slider/slider.variable.css +258 -0
- package/lib/steps/steps.css +167 -38
- package/lib/steps/steps.variable.css +258 -0
- package/lib/styles/mixins/animate.css +129 -0
- package/lib/styles/mixins/animate.variable.css +258 -0
- package/lib/styles/mixins/mixins.css +129 -0
- package/lib/styles/mixins/mixins.variable.css +129 -0
- package/lib/styles/mixins/popper.css +129 -0
- package/lib/styles/mixins/popper.variable.css +258 -0
- package/lib/styles/mixins/scroll.css +129 -0
- package/lib/styles/mixins/scroll.variable.css +258 -0
- package/lib/styles/reset.css +129 -0
- package/lib/styles/reset.variable.css +258 -0
- package/lib/styles/themes/themes.css +129 -0
- package/lib/styles/themes/themes.less +306 -127
- package/lib/styles/themes/themes.variable.css +129 -0
- package/lib/swiper/swiper.css +129 -0
- package/lib/swiper/swiper.variable.css +258 -0
- package/lib/switcher/switcher.css +146 -17
- package/lib/switcher/switcher.variable.css +404 -17
- package/lib/tab/tab.css +146 -17
- package/lib/tab/tab.variable.css +258 -0
- package/lib/table/const.d.ts +12 -0
- package/lib/table/events.d.ts +2 -98
- package/lib/table/hooks/use-column-resize.d.ts +5 -0
- package/lib/table/{plugins → hooks}/use-column-template.d.ts +1 -2
- package/lib/table/hooks/use-columns.d.ts +53 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +15 -0
- package/lib/table/hooks/use-layout.d.ts +20 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +23 -0
- package/lib/table/hooks/use-rows.d.ts +25 -0
- package/lib/table/hooks/use-settings.d.ts +23 -0
- package/lib/table/index.d.ts +27 -502
- package/lib/table/index.js +3125 -3524
- package/lib/table/plugins/head-filter.css +129 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.variable.css +258 -0
- package/lib/table/plugins/head-sort.css +129 -0
- package/lib/table/plugins/head-sort.variable.css +258 -0
- package/lib/table/plugins/settings.css +130 -0
- package/lib/table/plugins/settings.less +1 -0
- package/lib/table/plugins/settings.variable.css +259 -0
- package/lib/table/props.d.ts +17 -8
- package/lib/table/table.css +321 -191
- package/lib/table/table.d.ts +18 -174
- package/lib/table/table.less +24 -22
- package/lib/table/table.variable.css +579 -191
- package/lib/table/utils.d.ts +24 -3
- package/lib/table-column/index.js +18 -2
- package/lib/tag/tag.css +134 -5
- package/lib/tag/tag.variable.css +258 -0
- package/lib/tag-input/tag-input.css +147 -18
- package/lib/tag-input/tag-input.variable.css +258 -0
- package/lib/time-picker/time-picker.css +129 -0
- package/lib/time-picker/time-picker.variable.css +258 -0
- package/lib/timeline/timeline.css +148 -19
- package/lib/timeline/timeline.variable.css +258 -0
- package/lib/transfer/transfer.css +148 -19
- package/lib/transfer/transfer.variable.css +258 -0
- package/lib/tree/tree.css +138 -9
- package/lib/tree/tree.variable.css +396 -9
- package/lib/upload/upload.css +156 -27
- package/lib/upload/upload.variable.css +414 -27
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/virtual-render.css +129 -0
- package/lib/virtual-render/virtual-render.variable.css +387 -0
- package/package.json +1 -1
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -155
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-shift-key.d.ts +0 -0
package/lib/table/index.d.ts
CHANGED
@@ -167,173 +167,12 @@ declare const BkTable: {
|
|
167
167
|
} & {
|
168
168
|
default: boolean;
|
169
169
|
};
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
}
|
175
|
-
|
176
|
-
row: any;
|
177
|
-
index: number;
|
178
|
-
checked: string;
|
179
|
-
data: any[];
|
180
|
-
}) => any;
|
181
|
-
onCellClick?: (_args: {
|
182
|
-
event: MouseEvent;
|
183
|
-
row: any;
|
184
|
-
column: import("./props").Column;
|
185
|
-
cell: {
|
186
|
-
getValue: () => string;
|
187
|
-
};
|
188
|
-
rowIndex: number;
|
189
|
-
columnIndex: number;
|
190
|
-
}) => any;
|
191
|
-
onCellDblclick?: (_args: {
|
192
|
-
event: MouseEvent;
|
193
|
-
row: any;
|
194
|
-
column: import("./props").Column;
|
195
|
-
cell: {
|
196
|
-
getValue: () => string;
|
197
|
-
};
|
198
|
-
rowIndex: number;
|
199
|
-
columnIndex: number;
|
200
|
-
}) => any;
|
201
|
-
onColumnFilter?: (_args: {
|
202
|
-
checked: string[];
|
203
|
-
column: import("./props").Column;
|
204
|
-
index: number;
|
205
|
-
}) => any;
|
206
|
-
onColFilterSave?: (_args: {
|
207
|
-
column: import("./props").Column;
|
208
|
-
values: any[];
|
209
|
-
}) => any;
|
210
|
-
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
211
|
-
onColumnSort?: (_args: {
|
212
|
-
column: import("./props").Column;
|
213
|
-
index: number;
|
214
|
-
type: import("./const").SORT_OPTION;
|
215
|
-
}) => any;
|
216
|
-
onPageLimitChange?: (_arg: number) => any;
|
217
|
-
onPageValueChange?: (_arg: number) => any;
|
218
|
-
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
219
|
-
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
220
|
-
onRowExpand?: (_args: {
|
221
|
-
row: any;
|
222
|
-
column: import("./props").Column;
|
223
|
-
index: number;
|
224
|
-
rows: any[];
|
225
|
-
e: MouseEvent;
|
226
|
-
}) => any;
|
227
|
-
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
228
|
-
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
229
|
-
onSelectAll?: (_args: {
|
230
|
-
checked: string;
|
231
|
-
data: any[];
|
232
|
-
}) => any;
|
233
|
-
onSelectionChange?: (_args: {
|
234
|
-
row: any;
|
235
|
-
index: number;
|
236
|
-
checked: string;
|
237
|
-
data: any[];
|
238
|
-
isAll: boolean;
|
239
|
-
}) => any;
|
240
|
-
onScrollBottom?: (_args: {
|
241
|
-
translateX: number;
|
242
|
-
translateY: number;
|
243
|
-
scrollTop: number;
|
244
|
-
scrollLeft: number;
|
245
|
-
bottom: number;
|
246
|
-
}) => any;
|
247
|
-
onSettingChange?: (_args: {
|
248
|
-
checked: string[];
|
249
|
-
size: string;
|
250
|
-
height: number;
|
251
|
-
fields: Record<string, any>[];
|
252
|
-
}) => any;
|
253
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
254
|
-
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
255
|
-
columnFilter: (_args: {
|
256
|
-
checked: string[];
|
257
|
-
column: import("./props").Column;
|
258
|
-
index: number;
|
259
|
-
}) => boolean;
|
260
|
-
columnSort: (_args: {
|
261
|
-
column: import("./props").Column;
|
262
|
-
index: number;
|
263
|
-
type: import("./const").SORT_OPTION;
|
264
|
-
}) => boolean;
|
265
|
-
colFilterSave: (_args: {
|
266
|
-
column: import("./props").Column;
|
267
|
-
values: any[];
|
268
|
-
}) => boolean;
|
269
|
-
rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
270
|
-
rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
271
|
-
rowExpand: (_args: {
|
272
|
-
row: any;
|
273
|
-
column: import("./props").Column;
|
274
|
-
index: number;
|
275
|
-
rows: any[];
|
276
|
-
e: MouseEvent;
|
277
|
-
}) => boolean;
|
278
|
-
select: (_args: {
|
279
|
-
row: any;
|
280
|
-
index: number;
|
281
|
-
checked: string;
|
282
|
-
data: any[];
|
283
|
-
}) => boolean;
|
284
|
-
selectAll: (_args: {
|
285
|
-
checked: string;
|
286
|
-
data: any[];
|
287
|
-
}) => boolean;
|
288
|
-
selectionChange: (_args: {
|
289
|
-
row: any;
|
290
|
-
index: number;
|
291
|
-
checked: string;
|
292
|
-
data: any[];
|
293
|
-
isAll: boolean;
|
294
|
-
}) => boolean;
|
295
|
-
pageLimitChange: (_arg: number) => boolean;
|
296
|
-
pageValueChange: (_arg: number) => boolean;
|
297
|
-
settingChange: (_args: {
|
298
|
-
checked: string[];
|
299
|
-
size: string;
|
300
|
-
height: number;
|
301
|
-
fields: Record<string, any>[];
|
302
|
-
}) => boolean;
|
303
|
-
scrollBottom: (_args: {
|
304
|
-
translateX: number;
|
305
|
-
translateY: number;
|
306
|
-
scrollTop: number;
|
307
|
-
scrollLeft: number;
|
308
|
-
bottom: number;
|
309
|
-
}) => boolean;
|
310
|
-
cellClick: (_args: {
|
311
|
-
event: MouseEvent;
|
312
|
-
row: any;
|
313
|
-
column: import("./props").Column;
|
314
|
-
cell: {
|
315
|
-
getValue: () => string;
|
316
|
-
};
|
317
|
-
rowIndex: number;
|
318
|
-
columnIndex: number;
|
319
|
-
}) => boolean;
|
320
|
-
cellDblclick: (_args: {
|
321
|
-
event: MouseEvent;
|
322
|
-
row: any;
|
323
|
-
column: import("./props").Column;
|
324
|
-
cell: {
|
325
|
-
getValue: () => string;
|
326
|
-
};
|
327
|
-
rowIndex: number;
|
328
|
-
columnIndex: number;
|
329
|
-
}) => boolean;
|
330
|
-
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
331
|
-
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
332
|
-
dragend: (_args: {
|
333
|
-
sourceEvent: DragEvent;
|
334
|
-
data: any[];
|
335
|
-
}) => boolean;
|
336
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<ExtractPropTypes<{
|
170
|
+
scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
|
171
|
+
default: boolean;
|
172
|
+
} & {
|
173
|
+
default: boolean;
|
174
|
+
};
|
175
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, (...args: any[]) => boolean>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<ExtractPropTypes<{
|
337
176
|
data: import("vue-types").VueTypeDef<any[]> & {
|
338
177
|
default: () => any[];
|
339
178
|
};
|
@@ -496,94 +335,17 @@ declare const BkTable: {
|
|
496
335
|
} & {
|
497
336
|
default: boolean;
|
498
337
|
};
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
}
|
504
|
-
|
505
|
-
row: any;
|
506
|
-
index: number;
|
507
|
-
checked: string;
|
508
|
-
data: any[];
|
509
|
-
}) => any;
|
510
|
-
onCellClick?: (_args: {
|
511
|
-
event: MouseEvent;
|
512
|
-
row: any;
|
513
|
-
column: import("./props").Column;
|
514
|
-
cell: {
|
515
|
-
getValue: () => string;
|
516
|
-
};
|
517
|
-
rowIndex: number;
|
518
|
-
columnIndex: number;
|
519
|
-
}) => any;
|
520
|
-
onCellDblclick?: (_args: {
|
521
|
-
event: MouseEvent;
|
522
|
-
row: any;
|
523
|
-
column: import("./props").Column;
|
524
|
-
cell: {
|
525
|
-
getValue: () => string;
|
526
|
-
};
|
527
|
-
rowIndex: number;
|
528
|
-
columnIndex: number;
|
529
|
-
}) => any;
|
530
|
-
onColumnFilter?: (_args: {
|
531
|
-
checked: string[];
|
532
|
-
column: import("./props").Column;
|
533
|
-
index: number;
|
534
|
-
}) => any;
|
535
|
-
onColFilterSave?: (_args: {
|
536
|
-
column: import("./props").Column;
|
537
|
-
values: any[];
|
538
|
-
}) => any;
|
539
|
-
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
540
|
-
onColumnSort?: (_args: {
|
541
|
-
column: import("./props").Column;
|
542
|
-
index: number;
|
543
|
-
type: import("./const").SORT_OPTION;
|
544
|
-
}) => any;
|
545
|
-
onPageLimitChange?: (_arg: number) => any;
|
546
|
-
onPageValueChange?: (_arg: number) => any;
|
547
|
-
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
548
|
-
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
549
|
-
onRowExpand?: (_args: {
|
550
|
-
row: any;
|
551
|
-
column: import("./props").Column;
|
552
|
-
index: number;
|
553
|
-
rows: any[];
|
554
|
-
e: MouseEvent;
|
555
|
-
}) => any;
|
556
|
-
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
557
|
-
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
558
|
-
onSelectAll?: (_args: {
|
559
|
-
checked: string;
|
560
|
-
data: any[];
|
561
|
-
}) => any;
|
562
|
-
onSelectionChange?: (_args: {
|
563
|
-
row: any;
|
564
|
-
index: number;
|
565
|
-
checked: string;
|
566
|
-
data: any[];
|
567
|
-
isAll: boolean;
|
568
|
-
}) => any;
|
569
|
-
onScrollBottom?: (_args: {
|
570
|
-
translateX: number;
|
571
|
-
translateY: number;
|
572
|
-
scrollTop: number;
|
573
|
-
scrollLeft: number;
|
574
|
-
bottom: number;
|
575
|
-
}) => any;
|
576
|
-
onSettingChange?: (_args: {
|
577
|
-
checked: string[];
|
578
|
-
size: string;
|
579
|
-
height: number;
|
580
|
-
fields: Record<string, any>[];
|
581
|
-
}) => any;
|
582
|
-
}, {
|
338
|
+
scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
|
339
|
+
default: boolean;
|
340
|
+
} & {
|
341
|
+
default: boolean;
|
342
|
+
};
|
343
|
+
}>>, {
|
583
344
|
data: any[];
|
584
345
|
thead: import("./props").Thead;
|
585
346
|
height: string | number;
|
586
347
|
maxHeight: string | number;
|
348
|
+
scrollbar: boolean;
|
587
349
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
588
350
|
pagination: boolean | {
|
589
351
|
[key: string]: any;
|
@@ -793,94 +555,17 @@ declare const BkTable: {
|
|
793
555
|
} & {
|
794
556
|
default: boolean;
|
795
557
|
};
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
}
|
801
|
-
|
802
|
-
row: any;
|
803
|
-
index: number;
|
804
|
-
checked: string;
|
805
|
-
data: any[];
|
806
|
-
}) => any;
|
807
|
-
onCellClick?: (_args: {
|
808
|
-
event: MouseEvent;
|
809
|
-
row: any;
|
810
|
-
column: import("./props").Column;
|
811
|
-
cell: {
|
812
|
-
getValue: () => string;
|
813
|
-
};
|
814
|
-
rowIndex: number;
|
815
|
-
columnIndex: number;
|
816
|
-
}) => any;
|
817
|
-
onCellDblclick?: (_args: {
|
818
|
-
event: MouseEvent;
|
819
|
-
row: any;
|
820
|
-
column: import("./props").Column;
|
821
|
-
cell: {
|
822
|
-
getValue: () => string;
|
823
|
-
};
|
824
|
-
rowIndex: number;
|
825
|
-
columnIndex: number;
|
826
|
-
}) => any;
|
827
|
-
onColumnFilter?: (_args: {
|
828
|
-
checked: string[];
|
829
|
-
column: import("./props").Column;
|
830
|
-
index: number;
|
831
|
-
}) => any;
|
832
|
-
onColFilterSave?: (_args: {
|
833
|
-
column: import("./props").Column;
|
834
|
-
values: any[];
|
835
|
-
}) => any;
|
836
|
-
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
837
|
-
onColumnSort?: (_args: {
|
838
|
-
column: import("./props").Column;
|
839
|
-
index: number;
|
840
|
-
type: import("./const").SORT_OPTION;
|
841
|
-
}) => any;
|
842
|
-
onPageLimitChange?: (_arg: number) => any;
|
843
|
-
onPageValueChange?: (_arg: number) => any;
|
844
|
-
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
845
|
-
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
846
|
-
onRowExpand?: (_args: {
|
847
|
-
row: any;
|
848
|
-
column: import("./props").Column;
|
849
|
-
index: number;
|
850
|
-
rows: any[];
|
851
|
-
e: MouseEvent;
|
852
|
-
}) => any;
|
853
|
-
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
854
|
-
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
855
|
-
onSelectAll?: (_args: {
|
856
|
-
checked: string;
|
857
|
-
data: any[];
|
858
|
-
}) => any;
|
859
|
-
onSelectionChange?: (_args: {
|
860
|
-
row: any;
|
861
|
-
index: number;
|
862
|
-
checked: string;
|
863
|
-
data: any[];
|
864
|
-
isAll: boolean;
|
865
|
-
}) => any;
|
866
|
-
onScrollBottom?: (_args: {
|
867
|
-
translateX: number;
|
868
|
-
translateY: number;
|
869
|
-
scrollTop: number;
|
870
|
-
scrollLeft: number;
|
871
|
-
bottom: number;
|
872
|
-
}) => any;
|
873
|
-
onSettingChange?: (_args: {
|
874
|
-
checked: string[];
|
875
|
-
size: string;
|
876
|
-
height: number;
|
877
|
-
fields: Record<string, any>[];
|
878
|
-
}) => any;
|
879
|
-
}, () => JSX.Element, {}, {}, {}, {
|
558
|
+
scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
|
559
|
+
default: boolean;
|
560
|
+
} & {
|
561
|
+
default: boolean;
|
562
|
+
};
|
563
|
+
}>>, () => JSX.Element, {}, {}, {}, {
|
880
564
|
data: any[];
|
881
565
|
thead: import("./props").Thead;
|
882
566
|
height: string | number;
|
883
567
|
maxHeight: string | number;
|
568
|
+
scrollbar: boolean;
|
884
569
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
885
570
|
pagination: boolean | {
|
886
571
|
[key: string]: any;
|
@@ -1087,177 +772,17 @@ declare const BkTable: {
|
|
1087
772
|
} & {
|
1088
773
|
default: boolean;
|
1089
774
|
};
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
}
|
1095
|
-
|
1096
|
-
row: any;
|
1097
|
-
index: number;
|
1098
|
-
checked: string;
|
1099
|
-
data: any[];
|
1100
|
-
}) => any;
|
1101
|
-
onCellClick?: (_args: {
|
1102
|
-
event: MouseEvent;
|
1103
|
-
row: any;
|
1104
|
-
column: import("./props").Column;
|
1105
|
-
cell: {
|
1106
|
-
getValue: () => string;
|
1107
|
-
};
|
1108
|
-
rowIndex: number;
|
1109
|
-
columnIndex: number;
|
1110
|
-
}) => any;
|
1111
|
-
onCellDblclick?: (_args: {
|
1112
|
-
event: MouseEvent;
|
1113
|
-
row: any;
|
1114
|
-
column: import("./props").Column;
|
1115
|
-
cell: {
|
1116
|
-
getValue: () => string;
|
1117
|
-
};
|
1118
|
-
rowIndex: number;
|
1119
|
-
columnIndex: number;
|
1120
|
-
}) => any;
|
1121
|
-
onColumnFilter?: (_args: {
|
1122
|
-
checked: string[];
|
1123
|
-
column: import("./props").Column;
|
1124
|
-
index: number;
|
1125
|
-
}) => any;
|
1126
|
-
onColFilterSave?: (_args: {
|
1127
|
-
column: import("./props").Column;
|
1128
|
-
values: any[];
|
1129
|
-
}) => any;
|
1130
|
-
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
1131
|
-
onColumnSort?: (_args: {
|
1132
|
-
column: import("./props").Column;
|
1133
|
-
index: number;
|
1134
|
-
type: import("./const").SORT_OPTION;
|
1135
|
-
}) => any;
|
1136
|
-
onPageLimitChange?: (_arg: number) => any;
|
1137
|
-
onPageValueChange?: (_arg: number) => any;
|
1138
|
-
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1139
|
-
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1140
|
-
onRowExpand?: (_args: {
|
1141
|
-
row: any;
|
1142
|
-
column: import("./props").Column;
|
1143
|
-
index: number;
|
1144
|
-
rows: any[];
|
1145
|
-
e: MouseEvent;
|
1146
|
-
}) => any;
|
1147
|
-
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1148
|
-
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1149
|
-
onSelectAll?: (_args: {
|
1150
|
-
checked: string;
|
1151
|
-
data: any[];
|
1152
|
-
}) => any;
|
1153
|
-
onSelectionChange?: (_args: {
|
1154
|
-
row: any;
|
1155
|
-
index: number;
|
1156
|
-
checked: string;
|
1157
|
-
data: any[];
|
1158
|
-
isAll: boolean;
|
1159
|
-
}) => any;
|
1160
|
-
onScrollBottom?: (_args: {
|
1161
|
-
translateX: number;
|
1162
|
-
translateY: number;
|
1163
|
-
scrollTop: number;
|
1164
|
-
scrollLeft: number;
|
1165
|
-
bottom: number;
|
1166
|
-
}) => any;
|
1167
|
-
onSettingChange?: (_args: {
|
1168
|
-
checked: string[];
|
1169
|
-
size: string;
|
1170
|
-
height: number;
|
1171
|
-
fields: Record<string, any>[];
|
1172
|
-
}) => any;
|
1173
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
1174
|
-
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
1175
|
-
columnFilter: (_args: {
|
1176
|
-
checked: string[];
|
1177
|
-
column: import("./props").Column;
|
1178
|
-
index: number;
|
1179
|
-
}) => boolean;
|
1180
|
-
columnSort: (_args: {
|
1181
|
-
column: import("./props").Column;
|
1182
|
-
index: number;
|
1183
|
-
type: import("./const").SORT_OPTION;
|
1184
|
-
}) => boolean;
|
1185
|
-
colFilterSave: (_args: {
|
1186
|
-
column: import("./props").Column;
|
1187
|
-
values: any[];
|
1188
|
-
}) => boolean;
|
1189
|
-
rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1190
|
-
rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1191
|
-
rowExpand: (_args: {
|
1192
|
-
row: any;
|
1193
|
-
column: import("./props").Column;
|
1194
|
-
index: number;
|
1195
|
-
rows: any[];
|
1196
|
-
e: MouseEvent;
|
1197
|
-
}) => boolean;
|
1198
|
-
select: (_args: {
|
1199
|
-
row: any;
|
1200
|
-
index: number;
|
1201
|
-
checked: string;
|
1202
|
-
data: any[];
|
1203
|
-
}) => boolean;
|
1204
|
-
selectAll: (_args: {
|
1205
|
-
checked: string;
|
1206
|
-
data: any[];
|
1207
|
-
}) => boolean;
|
1208
|
-
selectionChange: (_args: {
|
1209
|
-
row: any;
|
1210
|
-
index: number;
|
1211
|
-
checked: string;
|
1212
|
-
data: any[];
|
1213
|
-
isAll: boolean;
|
1214
|
-
}) => boolean;
|
1215
|
-
pageLimitChange: (_arg: number) => boolean;
|
1216
|
-
pageValueChange: (_arg: number) => boolean;
|
1217
|
-
settingChange: (_args: {
|
1218
|
-
checked: string[];
|
1219
|
-
size: string;
|
1220
|
-
height: number;
|
1221
|
-
fields: Record<string, any>[];
|
1222
|
-
}) => boolean;
|
1223
|
-
scrollBottom: (_args: {
|
1224
|
-
translateX: number;
|
1225
|
-
translateY: number;
|
1226
|
-
scrollTop: number;
|
1227
|
-
scrollLeft: number;
|
1228
|
-
bottom: number;
|
1229
|
-
}) => boolean;
|
1230
|
-
cellClick: (_args: {
|
1231
|
-
event: MouseEvent;
|
1232
|
-
row: any;
|
1233
|
-
column: import("./props").Column;
|
1234
|
-
cell: {
|
1235
|
-
getValue: () => string;
|
1236
|
-
};
|
1237
|
-
rowIndex: number;
|
1238
|
-
columnIndex: number;
|
1239
|
-
}) => boolean;
|
1240
|
-
cellDblclick: (_args: {
|
1241
|
-
event: MouseEvent;
|
1242
|
-
row: any;
|
1243
|
-
column: import("./props").Column;
|
1244
|
-
cell: {
|
1245
|
-
getValue: () => string;
|
1246
|
-
};
|
1247
|
-
rowIndex: number;
|
1248
|
-
columnIndex: number;
|
1249
|
-
}) => boolean;
|
1250
|
-
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1251
|
-
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1252
|
-
dragend: (_args: {
|
1253
|
-
sourceEvent: DragEvent;
|
1254
|
-
data: any[];
|
1255
|
-
}) => boolean;
|
1256
|
-
}, string, {
|
775
|
+
scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
|
776
|
+
default: boolean;
|
777
|
+
} & {
|
778
|
+
default: boolean;
|
779
|
+
};
|
780
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, (...args: any[]) => boolean>, string, {
|
1257
781
|
data: any[];
|
1258
782
|
thead: import("./props").Thead;
|
1259
783
|
height: string | number;
|
1260
784
|
maxHeight: string | number;
|
785
|
+
scrollbar: boolean;
|
1261
786
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
1262
787
|
pagination: boolean | {
|
1263
788
|
[key: string]: any;
|