bkui-vue 2.0.1-beta.60 → 2.0.1-beta.60.fix.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/README.md +0 -15
- package/dist/index.cjs.js +59 -59
- package/dist/index.esm.js +18048 -18492
- package/dist/index.umd.js +60 -60
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +0 -130
- package/lib/affix/affix.variable.css +1 -262
- package/lib/alert/alert.css +3 -133
- package/lib/alert/alert.d.ts +7 -0
- package/lib/alert/alert.variable.css +1 -262
- package/lib/alert/index.d.ts +15 -0
- package/lib/alert/index.js +6 -6
- package/lib/backtop/backtop.css +3 -133
- package/lib/backtop/backtop.variable.css +4 -395
- package/lib/badge/badge.css +26 -156
- package/lib/badge/badge.variable.css +1 -262
- package/lib/breadcrumb/breadcrumb.css +5 -135
- package/lib/breadcrumb/breadcrumb.variable.css +6 -397
- package/lib/button/button.css +143 -273
- package/lib/button/button.variable.css +1 -262
- package/lib/card/card.css +4 -134
- package/lib/card/card.variable.css +5 -396
- package/lib/cascader/cascader.css +23 -153
- package/lib/cascader/cascader.variable.css +24 -415
- package/lib/cascader/index.js +1 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +9 -147
- package/lib/checkbox/checkbox.d.ts +0 -32
- package/lib/checkbox/checkbox.less +0 -12
- package/lib/checkbox/checkbox.variable.css +1 -270
- package/lib/checkbox/index.d.ts +11 -46
- package/lib/checkbox/index.js +4 -9
- package/lib/code-diff/code-diff.css +0 -130
- package/lib/code-diff/code-diff.variable.css +1 -262
- package/lib/collapse/collapse.css +1 -131
- package/lib/collapse/collapse.variable.css +1 -262
- package/lib/collapse-transition/collapse-transition.css +0 -130
- package/lib/collapse-transition/collapse-transition.variable.css +1 -262
- package/lib/color-picker/color-picker.css +0 -130
- package/lib/color-picker/color-picker.variable.css +1 -262
- package/lib/config-provider/config-provider.css +0 -130
- package/lib/config-provider/config-provider.variable.css +1 -262
- package/lib/container/container.css +0 -130
- package/lib/container/container.variable.css +1 -392
- package/lib/date-picker/date-picker.css +17 -147
- package/lib/date-picker/date-picker.d.ts +9 -0
- package/lib/date-picker/date-picker.variable.css +1 -262
- package/lib/date-picker/index.d.ts +19 -0
- package/lib/date-picker/index.js +17 -29
- package/lib/date-picker/panel/time-range.d.ts +9 -0
- package/lib/date-picker/panel/time.d.ts +10 -1
- package/lib/date-picker/props.d.ts +4 -0
- package/lib/date-picker/time-picker.d.ts +9 -0
- package/lib/dialog/dialog.css +8 -138
- package/lib/dialog/dialog.d.ts +5 -16
- package/lib/dialog/dialog.variable.css +9 -400
- package/lib/dialog/index.d.ts +11 -34
- package/lib/dialog/props.d.ts +2 -7
- package/lib/directives/index.js +6 -12
- package/lib/divider/divider.css +3 -133
- package/lib/divider/divider.variable.css +1 -262
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.css +0 -130
- package/lib/dropdown/dropdown.variable.css +1 -392
- package/lib/dropdown/index.d.ts +2 -2
- package/lib/exception/exception.css +0 -130
- package/lib/exception/exception.variable.css +1 -262
- package/lib/fixed-navbar/fixed-navbar.css +4 -134
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -262
- package/lib/form/form-item.d.ts +18 -6
- package/lib/form/form.css +0 -130
- package/lib/form/form.variable.css +1 -262
- package/lib/form/index.d.ts +13 -6
- package/lib/form/index.js +6 -8
- package/lib/image/image-viewer.css +0 -130
- package/lib/image/image-viewer.variable.css +1 -262
- package/lib/image/image.css +0 -130
- package/lib/image/image.variable.css +1 -392
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +5 -3
- package/lib/info-box/info-box.css +4 -134
- package/lib/info-box/info-box.variable.css +1 -262
- package/lib/input/index.js +9 -36
- package/lib/input/input.css +72 -202
- package/lib/input/input.variable.css +73 -464
- package/lib/link/link.css +16 -146
- package/lib/link/link.variable.css +1 -262
- package/lib/loading/loading.css +16 -146
- package/lib/loading/loading.variable.css +17 -408
- package/lib/menu/menu.css +18 -148
- package/lib/menu/menu.variable.css +19 -410
- package/lib/menu/submenu.css +0 -130
- package/lib/menu/submenu.variable.css +1 -262
- package/lib/message/message.css +22 -153
- package/lib/message/message.less +2 -3
- package/lib/message/message.variable.css +2 -264
- package/lib/modal/index.d.ts +13 -41
- package/lib/modal/index.js +18 -33
- package/lib/modal/modal.css +4 -134
- package/lib/modal/modal.d.ts +5 -16
- package/lib/modal/modal.variable.css +5 -396
- package/lib/modal/props.mixin.d.ts +2 -7
- package/lib/navigation/navigation.css +2 -132
- package/lib/navigation/navigation.variable.css +1 -262
- package/lib/notify/notify.css +7 -137
- package/lib/notify/notify.variable.css +1 -262
- package/lib/overflow-title/components/overflow-title.d.ts +7 -0
- package/lib/overflow-title/index.d.ts +15 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/props.d.ts +3 -0
- package/lib/pagination/index.d.ts +19 -0
- package/lib/pagination/index.js +9 -47
- package/lib/pagination/pagination.css +9 -139
- package/lib/pagination/pagination.d.ts +13 -0
- package/lib/pagination/pagination.less +13 -14
- package/lib/pagination/pagination.variable.css +9 -270
- package/lib/pop-confirm/index.d.ts +32 -0
- package/lib/pop-confirm/index.js +18 -16
- package/lib/pop-confirm/pop-confirm.css +1 -133
- package/lib/pop-confirm/pop-confirm.d.ts +14 -0
- package/lib/pop-confirm/pop-confirm.less +1 -3
- package/lib/pop-confirm/pop-confirm.variable.css +2 -265
- package/lib/pop-confirm/props.d.ts +7 -1
- package/lib/popover/popover.css +0 -130
- package/lib/popover/popover.variable.css +1 -262
- package/lib/process/process.css +13 -143
- package/lib/process/process.variable.css +1 -262
- package/lib/progress/progress.css +4 -134
- package/lib/progress/progress.variable.css +5 -396
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.css +42 -172
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +1 -262
- package/lib/rate/rate.css +0 -130
- package/lib/rate/rate.variable.css +1 -262
- package/lib/resize-layout/resize-layout.css +0 -130
- package/lib/resize-layout/resize-layout.variable.css +1 -262
- package/lib/scrollbar/index.d.ts +13 -133
- package/lib/scrollbar/index.js +18444 -1343
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/{styles/themes/themes.css → scrollbar/scrollbar.variable.css} +76 -2
- package/lib/search-select/index.d.ts +72 -40
- package/lib/search-select/index.js +67 -85
- package/lib/search-select/input.d.ts +4 -5
- package/lib/search-select/search-select.css +33 -163
- package/lib/search-select/search-select.d.ts +39 -15
- package/lib/search-select/search-select.variable.css +34 -425
- package/lib/search-select/selected.d.ts +9 -11
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/common.d.ts +2 -2
- package/lib/select/index.d.ts +4 -32
- package/lib/select/index.js +59 -119
- package/lib/select/option.d.ts +5 -4
- package/lib/select/select.css +43 -175
- package/lib/select/select.d.ts +0 -12
- package/lib/select/select.less +4 -7
- package/lib/select/select.variable.css +44 -437
- package/lib/select/type.d.ts +10 -9
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +1 -72
- package/lib/sideslider/index.d.ts +11 -34
- package/lib/sideslider/index.js +0 -1
- package/lib/sideslider/sideslider.css +9 -138
- package/lib/sideslider/sideslider.d.ts +5 -16
- package/lib/sideslider/sideslider.less +8 -7
- package/lib/sideslider/sideslider.variable.css +9 -269
- package/lib/slider/slider.css +5 -135
- package/lib/slider/slider.variable.css +1 -262
- package/lib/steps/index.d.ts +18 -3
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +38 -168
- package/lib/steps/steps.d.ts +11 -1
- package/lib/steps/steps.variable.css +1 -262
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.css +0 -130
- package/lib/styles/mixins/animate.variable.css +1 -262
- package/lib/styles/mixins/mixins.css +0 -130
- package/lib/styles/mixins/mixins.variable.css +0 -130
- package/lib/styles/mixins/popper.css +0 -130
- package/lib/styles/mixins/popper.variable.css +1 -262
- package/lib/styles/mixins/scroll.css +0 -130
- package/lib/styles/mixins/scroll.variable.css +1 -262
- package/lib/styles/reset.css +0 -130
- package/lib/styles/reset.variable.css +1 -262
- package/lib/styles/themes/themes.less +129 -299
- package/lib/swiper/swiper.css +0 -130
- package/lib/swiper/swiper.variable.css +1 -262
- package/lib/switcher/switcher.css +17 -147
- package/lib/switcher/switcher.variable.css +18 -409
- package/lib/tab/index.d.ts +92 -0
- package/lib/tab/index.js +14 -1
- package/lib/tab/props.d.ts +35 -0
- package/lib/tab/tab-nav.d.ts +45 -2
- package/lib/tab/tab.css +17 -147
- package/lib/tab/tab.d.ts +44 -0
- package/lib/tab/tab.variable.css +1 -262
- package/lib/table/components/table-cell.d.ts +0 -22
- package/lib/table/components/table-column.d.ts +44 -1
- package/lib/table/const.d.ts +2 -15
- package/lib/table/events.d.ts +98 -2
- package/lib/table/index.d.ts +561 -89
- package/lib/table/index.js +3333 -3812
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/head-filter.css +0 -131
- package/lib/table/plugins/head-filter.d.ts +1 -2
- package/lib/table/plugins/head-filter.less +0 -1
- package/lib/table/plugins/head-filter.variable.css +1 -263
- package/lib/table/plugins/head-sort.css +0 -130
- package/lib/table/plugins/head-sort.variable.css +1 -262
- package/lib/table/plugins/settings.css +0 -131
- package/lib/table/plugins/settings.d.ts +16 -0
- package/lib/table/plugins/settings.less +0 -1
- package/lib/table/plugins/settings.variable.css +1 -263
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +35 -0
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/{hooks → plugins}/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +27 -0
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +23 -0
- package/lib/table/{hooks → plugins}/use-shift-key.d.ts +2 -4
- package/lib/table/props.d.ts +30 -92
- package/lib/table/table.css +327 -597
- package/lib/table/table.d.ts +181 -47
- package/lib/table/table.less +101 -228
- package/lib/table/table.variable.css +328 -859
- package/lib/table/use-attributes.d.ts +62 -0
- package/lib/table/use-column.d.ts +155 -0
- package/lib/table/use-common.d.ts +1679 -0
- package/lib/table/use-render.d.ts +11 -0
- package/lib/table/utils.d.ts +18 -45
- package/lib/table-column/index.d.ts +132 -3
- package/lib/table-column/index.js +28 -17367
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +6 -136
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +2 -263
- package/lib/tag-input/index.js +3 -3
- package/lib/tag-input/tag-input.css +18 -148
- package/lib/tag-input/tag-input.d.ts +14 -2
- package/lib/tag-input/tag-input.variable.css +1 -262
- package/lib/time-picker/index.d.ts +19 -0
- package/lib/time-picker/time-picker.css +0 -130
- package/lib/time-picker/time-picker.variable.css +1 -262
- package/lib/timeline/timeline.css +19 -149
- package/lib/timeline/timeline.variable.css +1 -262
- package/lib/transfer/transfer.css +19 -149
- package/lib/transfer/transfer.variable.css +1 -262
- package/lib/tree/constant.d.ts +1 -3
- package/lib/tree/index.d.ts +7 -21
- package/lib/tree/index.js +18 -61
- package/lib/tree/props.d.ts +5 -12
- package/lib/tree/tree.css +78 -242
- package/lib/tree/tree.d.ts +3 -9
- package/lib/tree/tree.variable.css +79 -504
- package/lib/tree/use-node-action.d.ts +9 -10
- package/lib/tree/use-node-async.d.ts +1 -2
- package/lib/tree/use-node-attribute.d.ts +34 -42
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +5 -8
- package/lib/tree/util.d.ts +21 -21
- package/lib/upload/index.d.ts +4 -27
- package/lib/upload/index.js +7 -30
- package/lib/upload/props.d.ts +2 -7
- package/lib/upload/upload.css +27 -157
- package/lib/upload/upload.d.ts +2 -13
- package/lib/upload/upload.type.d.ts +0 -6
- package/lib/upload/upload.variable.css +28 -419
- package/lib/virtual-render/index.d.ts +46 -12
- package/lib/virtual-render/index.js +148 -17469
- package/lib/virtual-render/props.d.ts +9 -2
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/use-scrollbar.d.ts +17 -4
- package/lib/virtual-render/v-virtual-render.d.ts +1 -7
- package/lib/virtual-render/virtual-render.css +69 -225
- package/lib/virtual-render/virtual-render.d.ts +22 -6
- package/lib/virtual-render/virtual-render.less +11 -2
- package/lib/virtual-render/virtual-render.variable.css +70 -487
- package/lib/volar.components.d.ts +0 -2
- package/package.json +1 -1
- package/lib/scrollbar/css/scrollbar.css +0 -239
- package/lib/scrollbar/css/scrollbar.less +0 -139
- package/lib/scrollbar/css/scrollbar.variable.css +0 -499
- package/lib/scrollbar/handlers/click-rail.d.ts +0 -2
- package/lib/scrollbar/handlers/drag-thumb.d.ts +0 -1
- package/lib/scrollbar/handlers/keyboard.d.ts +0 -2
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +0 -2
- package/lib/scrollbar/handlers/touch.d.ts +0 -4
- package/lib/scrollbar/helper/class-names.d.ts +0 -21
- package/lib/scrollbar/helper/css.d.ts +0 -3
- package/lib/scrollbar/helper/dom.d.ts +0 -4
- package/lib/scrollbar/helper/event-manager.d.ts +0 -20
- package/lib/scrollbar/helper/util.d.ts +0 -11
- package/lib/scrollbar/process-scroll-diff.d.ts +0 -1
- package/lib/scrollbar/update-geometry.d.ts +0 -8
- package/lib/shared/frame-throttle.d.ts +0 -15
- package/lib/styles/themes/themes.variable.css +0 -130
- package/lib/table/components/ghost-body.d.ts +0 -2
- package/lib/table/hooks/use-cell.d.ts +0 -20
- package/lib/table/hooks/use-column-resize.d.ts +0 -7
- package/lib/table/hooks/use-column-template.d.ts +0 -5
- package/lib/table/hooks/use-columns.d.ts +0 -69
- package/lib/table/hooks/use-fixed-column.d.ts +0 -10
- package/lib/table/hooks/use-head.d.ts +0 -16
- package/lib/table/hooks/use-layout.d.ts +0 -25
- package/lib/table/hooks/use-pagination.d.ts +0 -16
- package/lib/table/hooks/use-render.d.ts +0 -21
- package/lib/table/hooks/use-rows.d.ts +0 -30
- package/lib/table/hooks/use-settings.d.ts +0 -134
- /package/lib/table/{components → plugins}/body-empty.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-scroll-loading.d.ts +0 -0
package/lib/table/index.d.ts
CHANGED
@@ -29,7 +29,9 @@ declare const BkTable: {
|
|
29
29
|
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
30
30
|
default: string | number;
|
31
31
|
};
|
32
|
-
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber
|
32
|
+
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
|
33
|
+
default: import("./props").RowHeightFunctionNumber;
|
34
|
+
};
|
33
35
|
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
34
36
|
default: number;
|
35
37
|
} & {
|
@@ -82,9 +84,6 @@ declare const BkTable: {
|
|
82
84
|
emptyCellText: import("vue-types").VueTypeDef<any> & {
|
83
85
|
default: any;
|
84
86
|
};
|
85
|
-
isEmptyCell: import("vue-types").VueTypeDef<any> & {
|
86
|
-
default: any;
|
87
|
-
};
|
88
87
|
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
89
88
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
90
89
|
default: any;
|
@@ -149,11 +148,6 @@ declare const BkTable: {
|
|
149
148
|
} & {
|
150
149
|
default: boolean;
|
151
150
|
};
|
152
|
-
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
153
|
-
default: boolean;
|
154
|
-
} & {
|
155
|
-
default: boolean;
|
156
|
-
};
|
157
151
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
158
152
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
159
153
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -173,16 +167,173 @@ declare const BkTable: {
|
|
173
167
|
} & {
|
174
168
|
default: boolean;
|
175
169
|
};
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
};
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
170
|
+
}>> & {
|
171
|
+
onDragend?: (_args: {
|
172
|
+
sourceEvent: DragEvent;
|
173
|
+
data: any[];
|
174
|
+
}) => any;
|
175
|
+
onSelect?: (_args: {
|
176
|
+
row: any;
|
177
|
+
index: number;
|
178
|
+
checked: string;
|
179
|
+
data: any[];
|
180
|
+
}) => any;
|
181
|
+
onCellClick?: (_args: {
|
182
|
+
event: MouseEvent;
|
183
|
+
row: any;
|
184
|
+
column: import("./props").Column;
|
185
|
+
cell: {
|
186
|
+
getValue: () => string;
|
187
|
+
};
|
188
|
+
rowIndex: number;
|
189
|
+
columnIndex: number;
|
190
|
+
}) => any;
|
191
|
+
onCellDblclick?: (_args: {
|
192
|
+
event: MouseEvent;
|
193
|
+
row: any;
|
194
|
+
column: import("./props").Column;
|
195
|
+
cell: {
|
196
|
+
getValue: () => string;
|
197
|
+
};
|
198
|
+
rowIndex: number;
|
199
|
+
columnIndex: number;
|
200
|
+
}) => any;
|
201
|
+
onColumnFilter?: (_args: {
|
202
|
+
checked: string[];
|
203
|
+
column: import("./props").Column;
|
204
|
+
index: number;
|
205
|
+
}) => any;
|
206
|
+
onColFilterSave?: (_args: {
|
207
|
+
column: import("./props").Column;
|
208
|
+
values: any[];
|
209
|
+
}) => any;
|
210
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
211
|
+
onColumnSort?: (_args: {
|
212
|
+
column: import("./props").Column;
|
213
|
+
index: number;
|
214
|
+
type: import("./const").SORT_OPTION;
|
215
|
+
}) => any;
|
216
|
+
onPageLimitChange?: (_arg: number) => any;
|
217
|
+
onPageValueChange?: (_arg: number) => any;
|
218
|
+
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
219
|
+
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
220
|
+
onRowExpand?: (_args: {
|
221
|
+
row: any;
|
222
|
+
column: import("./props").Column;
|
223
|
+
index: number;
|
224
|
+
rows: any[];
|
225
|
+
e: MouseEvent;
|
226
|
+
}) => any;
|
227
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
228
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
229
|
+
onSelectAll?: (_args: {
|
230
|
+
checked: string;
|
231
|
+
data: any[];
|
232
|
+
}) => any;
|
233
|
+
onSelectionChange?: (_args: {
|
234
|
+
row: any;
|
235
|
+
index: number;
|
236
|
+
checked: string;
|
237
|
+
data: any[];
|
238
|
+
isAll: boolean;
|
239
|
+
}) => any;
|
240
|
+
onScrollBottom?: (_args: {
|
241
|
+
translateX: number;
|
242
|
+
translateY: number;
|
243
|
+
scrollTop: number;
|
244
|
+
scrollLeft: number;
|
245
|
+
bottom: number;
|
246
|
+
}) => any;
|
247
|
+
onSettingChange?: (_args: {
|
248
|
+
checked: string[];
|
249
|
+
size: string;
|
250
|
+
height: number;
|
251
|
+
fields: Record<string, any>[];
|
252
|
+
}) => any;
|
253
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
254
|
+
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
255
|
+
columnFilter: (_args: {
|
256
|
+
checked: string[];
|
257
|
+
column: import("./props").Column;
|
258
|
+
index: number;
|
259
|
+
}) => boolean;
|
260
|
+
columnSort: (_args: {
|
261
|
+
column: import("./props").Column;
|
262
|
+
index: number;
|
263
|
+
type: import("./const").SORT_OPTION;
|
264
|
+
}) => boolean;
|
265
|
+
colFilterSave: (_args: {
|
266
|
+
column: import("./props").Column;
|
267
|
+
values: any[];
|
268
|
+
}) => boolean;
|
269
|
+
rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
270
|
+
rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
271
|
+
rowExpand: (_args: {
|
272
|
+
row: any;
|
273
|
+
column: import("./props").Column;
|
274
|
+
index: number;
|
275
|
+
rows: any[];
|
276
|
+
e: MouseEvent;
|
277
|
+
}) => boolean;
|
278
|
+
select: (_args: {
|
279
|
+
row: any;
|
280
|
+
index: number;
|
281
|
+
checked: string;
|
282
|
+
data: any[];
|
283
|
+
}) => boolean;
|
284
|
+
selectAll: (_args: {
|
285
|
+
checked: string;
|
286
|
+
data: any[];
|
287
|
+
}) => boolean;
|
288
|
+
selectionChange: (_args: {
|
289
|
+
row: any;
|
290
|
+
index: number;
|
291
|
+
checked: string;
|
292
|
+
data: any[];
|
293
|
+
isAll: boolean;
|
294
|
+
}) => boolean;
|
295
|
+
pageLimitChange: (_arg: number) => boolean;
|
296
|
+
pageValueChange: (_arg: number) => boolean;
|
297
|
+
settingChange: (_args: {
|
298
|
+
checked: string[];
|
299
|
+
size: string;
|
300
|
+
height: number;
|
301
|
+
fields: Record<string, any>[];
|
302
|
+
}) => boolean;
|
303
|
+
scrollBottom: (_args: {
|
304
|
+
translateX: number;
|
305
|
+
translateY: number;
|
306
|
+
scrollTop: number;
|
307
|
+
scrollLeft: number;
|
308
|
+
bottom: number;
|
309
|
+
}) => boolean;
|
310
|
+
cellClick: (_args: {
|
311
|
+
event: MouseEvent;
|
312
|
+
row: any;
|
313
|
+
column: import("./props").Column;
|
314
|
+
cell: {
|
315
|
+
getValue: () => string;
|
316
|
+
};
|
317
|
+
rowIndex: number;
|
318
|
+
columnIndex: number;
|
319
|
+
}) => boolean;
|
320
|
+
cellDblclick: (_args: {
|
321
|
+
event: MouseEvent;
|
322
|
+
row: any;
|
323
|
+
column: import("./props").Column;
|
324
|
+
cell: {
|
325
|
+
getValue: () => string;
|
326
|
+
};
|
327
|
+
rowIndex: number;
|
328
|
+
columnIndex: number;
|
329
|
+
}) => boolean;
|
330
|
+
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
331
|
+
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
332
|
+
dragend: (_args: {
|
333
|
+
sourceEvent: DragEvent;
|
334
|
+
data: any[];
|
335
|
+
}) => boolean;
|
336
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<ExtractPropTypes<{
|
186
337
|
data: import("vue-types").VueTypeDef<any[]> & {
|
187
338
|
default: () => any[];
|
188
339
|
};
|
@@ -207,7 +358,9 @@ declare const BkTable: {
|
|
207
358
|
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
208
359
|
default: string | number;
|
209
360
|
};
|
210
|
-
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber
|
361
|
+
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
|
362
|
+
default: import("./props").RowHeightFunctionNumber;
|
363
|
+
};
|
211
364
|
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
212
365
|
default: number;
|
213
366
|
} & {
|
@@ -260,9 +413,6 @@ declare const BkTable: {
|
|
260
413
|
emptyCellText: import("vue-types").VueTypeDef<any> & {
|
261
414
|
default: any;
|
262
415
|
};
|
263
|
-
isEmptyCell: import("vue-types").VueTypeDef<any> & {
|
264
|
-
default: any;
|
265
|
-
};
|
266
416
|
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
267
417
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
268
418
|
default: any;
|
@@ -327,11 +477,6 @@ declare const BkTable: {
|
|
327
477
|
} & {
|
328
478
|
default: boolean;
|
329
479
|
};
|
330
|
-
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
331
|
-
default: boolean;
|
332
|
-
} & {
|
333
|
-
default: boolean;
|
334
|
-
};
|
335
480
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
336
481
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
337
482
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -351,21 +496,94 @@ declare const BkTable: {
|
|
351
496
|
} & {
|
352
497
|
default: boolean;
|
353
498
|
};
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
};
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
499
|
+
}>> & {
|
500
|
+
onDragend?: (_args: {
|
501
|
+
sourceEvent: DragEvent;
|
502
|
+
data: any[];
|
503
|
+
}) => any;
|
504
|
+
onSelect?: (_args: {
|
505
|
+
row: any;
|
506
|
+
index: number;
|
507
|
+
checked: string;
|
508
|
+
data: any[];
|
509
|
+
}) => any;
|
510
|
+
onCellClick?: (_args: {
|
511
|
+
event: MouseEvent;
|
512
|
+
row: any;
|
513
|
+
column: import("./props").Column;
|
514
|
+
cell: {
|
515
|
+
getValue: () => string;
|
516
|
+
};
|
517
|
+
rowIndex: number;
|
518
|
+
columnIndex: number;
|
519
|
+
}) => any;
|
520
|
+
onCellDblclick?: (_args: {
|
521
|
+
event: MouseEvent;
|
522
|
+
row: any;
|
523
|
+
column: import("./props").Column;
|
524
|
+
cell: {
|
525
|
+
getValue: () => string;
|
526
|
+
};
|
527
|
+
rowIndex: number;
|
528
|
+
columnIndex: number;
|
529
|
+
}) => any;
|
530
|
+
onColumnFilter?: (_args: {
|
531
|
+
checked: string[];
|
532
|
+
column: import("./props").Column;
|
533
|
+
index: number;
|
534
|
+
}) => any;
|
535
|
+
onColFilterSave?: (_args: {
|
536
|
+
column: import("./props").Column;
|
537
|
+
values: any[];
|
538
|
+
}) => any;
|
539
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
540
|
+
onColumnSort?: (_args: {
|
541
|
+
column: import("./props").Column;
|
542
|
+
index: number;
|
543
|
+
type: import("./const").SORT_OPTION;
|
544
|
+
}) => any;
|
545
|
+
onPageLimitChange?: (_arg: number) => any;
|
546
|
+
onPageValueChange?: (_arg: number) => any;
|
547
|
+
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
548
|
+
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
549
|
+
onRowExpand?: (_args: {
|
550
|
+
row: any;
|
551
|
+
column: import("./props").Column;
|
552
|
+
index: number;
|
553
|
+
rows: any[];
|
554
|
+
e: MouseEvent;
|
555
|
+
}) => any;
|
556
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
557
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
558
|
+
onSelectAll?: (_args: {
|
559
|
+
checked: string;
|
560
|
+
data: any[];
|
561
|
+
}) => any;
|
562
|
+
onSelectionChange?: (_args: {
|
563
|
+
row: any;
|
564
|
+
index: number;
|
565
|
+
checked: string;
|
566
|
+
data: any[];
|
567
|
+
isAll: boolean;
|
568
|
+
}) => any;
|
569
|
+
onScrollBottom?: (_args: {
|
570
|
+
translateX: number;
|
571
|
+
translateY: number;
|
572
|
+
scrollTop: number;
|
573
|
+
scrollLeft: number;
|
574
|
+
bottom: number;
|
575
|
+
}) => any;
|
576
|
+
onSettingChange?: (_args: {
|
577
|
+
checked: string[];
|
578
|
+
size: string;
|
579
|
+
height: number;
|
580
|
+
fields: Record<string, any>[];
|
581
|
+
}) => any;
|
582
|
+
}, {
|
364
583
|
data: any[];
|
365
584
|
thead: import("./props").Thead;
|
366
585
|
height: string | number;
|
367
586
|
maxHeight: string | number;
|
368
|
-
scrollbar: boolean;
|
369
587
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
370
588
|
pagination: boolean | {
|
371
589
|
[key: string]: any;
|
@@ -382,6 +600,7 @@ declare const BkTable: {
|
|
382
600
|
columnPick: "disabled" | "single" | "multi";
|
383
601
|
columns: import("./props").Column[];
|
384
602
|
stripe: boolean;
|
603
|
+
rowHeight: import("./props").RowHeightFunctionNumber;
|
385
604
|
showHead: boolean;
|
386
605
|
sortValFormat: any[];
|
387
606
|
virtualEnabled: boolean;
|
@@ -389,7 +608,6 @@ declare const BkTable: {
|
|
389
608
|
remotePagination: boolean;
|
390
609
|
acrossAll: boolean;
|
391
610
|
emptyCellText: any;
|
392
|
-
isEmptyCell: any;
|
393
611
|
rowClass: any;
|
394
612
|
rowStyle: any;
|
395
613
|
cellStyle: any;
|
@@ -401,12 +619,10 @@ declare const BkTable: {
|
|
401
619
|
defaultSort: import("./props").ISortOption;
|
402
620
|
isRowSelectEnable: any;
|
403
621
|
observerResize: boolean;
|
404
|
-
intersectionObserver: boolean;
|
405
622
|
prependStyle: import("vue").CSSProperties;
|
406
623
|
isFlex: boolean;
|
407
624
|
rowDraggable: any;
|
408
625
|
shiftMultiChecked: boolean;
|
409
|
-
fixedBottom: import("./props").FixedBottomOption;
|
410
626
|
}, true, {}, {}, {
|
411
627
|
P: {};
|
412
628
|
B: {};
|
@@ -439,7 +655,9 @@ declare const BkTable: {
|
|
439
655
|
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
440
656
|
default: string | number;
|
441
657
|
};
|
442
|
-
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber
|
658
|
+
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
|
659
|
+
default: import("./props").RowHeightFunctionNumber;
|
660
|
+
};
|
443
661
|
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
444
662
|
default: number;
|
445
663
|
} & {
|
@@ -492,9 +710,6 @@ declare const BkTable: {
|
|
492
710
|
emptyCellText: import("vue-types").VueTypeDef<any> & {
|
493
711
|
default: any;
|
494
712
|
};
|
495
|
-
isEmptyCell: import("vue-types").VueTypeDef<any> & {
|
496
|
-
default: any;
|
497
|
-
};
|
498
713
|
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
499
714
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
500
715
|
default: any;
|
@@ -559,11 +774,6 @@ declare const BkTable: {
|
|
559
774
|
} & {
|
560
775
|
default: boolean;
|
561
776
|
};
|
562
|
-
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
563
|
-
default: boolean;
|
564
|
-
} & {
|
565
|
-
default: boolean;
|
566
|
-
};
|
567
777
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
568
778
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
569
779
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -583,21 +793,94 @@ declare const BkTable: {
|
|
583
793
|
} & {
|
584
794
|
default: boolean;
|
585
795
|
};
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
};
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
796
|
+
}>> & {
|
797
|
+
onDragend?: (_args: {
|
798
|
+
sourceEvent: DragEvent;
|
799
|
+
data: any[];
|
800
|
+
}) => any;
|
801
|
+
onSelect?: (_args: {
|
802
|
+
row: any;
|
803
|
+
index: number;
|
804
|
+
checked: string;
|
805
|
+
data: any[];
|
806
|
+
}) => any;
|
807
|
+
onCellClick?: (_args: {
|
808
|
+
event: MouseEvent;
|
809
|
+
row: any;
|
810
|
+
column: import("./props").Column;
|
811
|
+
cell: {
|
812
|
+
getValue: () => string;
|
813
|
+
};
|
814
|
+
rowIndex: number;
|
815
|
+
columnIndex: number;
|
816
|
+
}) => any;
|
817
|
+
onCellDblclick?: (_args: {
|
818
|
+
event: MouseEvent;
|
819
|
+
row: any;
|
820
|
+
column: import("./props").Column;
|
821
|
+
cell: {
|
822
|
+
getValue: () => string;
|
823
|
+
};
|
824
|
+
rowIndex: number;
|
825
|
+
columnIndex: number;
|
826
|
+
}) => any;
|
827
|
+
onColumnFilter?: (_args: {
|
828
|
+
checked: string[];
|
829
|
+
column: import("./props").Column;
|
830
|
+
index: number;
|
831
|
+
}) => any;
|
832
|
+
onColFilterSave?: (_args: {
|
833
|
+
column: import("./props").Column;
|
834
|
+
values: any[];
|
835
|
+
}) => any;
|
836
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
837
|
+
onColumnSort?: (_args: {
|
838
|
+
column: import("./props").Column;
|
839
|
+
index: number;
|
840
|
+
type: import("./const").SORT_OPTION;
|
841
|
+
}) => any;
|
842
|
+
onPageLimitChange?: (_arg: number) => any;
|
843
|
+
onPageValueChange?: (_arg: number) => any;
|
844
|
+
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
845
|
+
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
846
|
+
onRowExpand?: (_args: {
|
847
|
+
row: any;
|
848
|
+
column: import("./props").Column;
|
849
|
+
index: number;
|
850
|
+
rows: any[];
|
851
|
+
e: MouseEvent;
|
852
|
+
}) => any;
|
853
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
854
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
855
|
+
onSelectAll?: (_args: {
|
856
|
+
checked: string;
|
857
|
+
data: any[];
|
858
|
+
}) => any;
|
859
|
+
onSelectionChange?: (_args: {
|
860
|
+
row: any;
|
861
|
+
index: number;
|
862
|
+
checked: string;
|
863
|
+
data: any[];
|
864
|
+
isAll: boolean;
|
865
|
+
}) => any;
|
866
|
+
onScrollBottom?: (_args: {
|
867
|
+
translateX: number;
|
868
|
+
translateY: number;
|
869
|
+
scrollTop: number;
|
870
|
+
scrollLeft: number;
|
871
|
+
bottom: number;
|
872
|
+
}) => any;
|
873
|
+
onSettingChange?: (_args: {
|
874
|
+
checked: string[];
|
875
|
+
size: string;
|
876
|
+
height: number;
|
877
|
+
fields: Record<string, any>[];
|
878
|
+
}) => any;
|
879
|
+
}, () => JSX.Element, {}, {}, {}, {
|
596
880
|
data: any[];
|
597
881
|
thead: import("./props").Thead;
|
598
882
|
height: string | number;
|
599
883
|
maxHeight: string | number;
|
600
|
-
scrollbar: boolean;
|
601
884
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
602
885
|
pagination: boolean | {
|
603
886
|
[key: string]: any;
|
@@ -614,6 +897,7 @@ declare const BkTable: {
|
|
614
897
|
columnPick: "disabled" | "single" | "multi";
|
615
898
|
columns: import("./props").Column[];
|
616
899
|
stripe: boolean;
|
900
|
+
rowHeight: import("./props").RowHeightFunctionNumber;
|
617
901
|
showHead: boolean;
|
618
902
|
sortValFormat: any[];
|
619
903
|
virtualEnabled: boolean;
|
@@ -621,7 +905,6 @@ declare const BkTable: {
|
|
621
905
|
remotePagination: boolean;
|
622
906
|
acrossAll: boolean;
|
623
907
|
emptyCellText: any;
|
624
|
-
isEmptyCell: any;
|
625
908
|
rowClass: any;
|
626
909
|
rowStyle: any;
|
627
910
|
cellStyle: any;
|
@@ -633,12 +916,10 @@ declare const BkTable: {
|
|
633
916
|
defaultSort: import("./props").ISortOption;
|
634
917
|
isRowSelectEnable: any;
|
635
918
|
observerResize: boolean;
|
636
|
-
intersectionObserver: boolean;
|
637
919
|
prependStyle: import("vue").CSSProperties;
|
638
920
|
isFlex: boolean;
|
639
921
|
rowDraggable: any;
|
640
922
|
shiftMultiChecked: boolean;
|
641
|
-
fixedBottom: import("./props").FixedBottomOption;
|
642
923
|
}>;
|
643
924
|
__isFragment?: never;
|
644
925
|
__isTeleport?: never;
|
@@ -668,7 +949,9 @@ declare const BkTable: {
|
|
668
949
|
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
669
950
|
default: string | number;
|
670
951
|
};
|
671
|
-
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber
|
952
|
+
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
|
953
|
+
default: import("./props").RowHeightFunctionNumber;
|
954
|
+
};
|
672
955
|
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
673
956
|
default: number;
|
674
957
|
} & {
|
@@ -721,9 +1004,6 @@ declare const BkTable: {
|
|
721
1004
|
emptyCellText: import("vue-types").VueTypeDef<any> & {
|
722
1005
|
default: any;
|
723
1006
|
};
|
724
|
-
isEmptyCell: import("vue-types").VueTypeDef<any> & {
|
725
|
-
default: any;
|
726
|
-
};
|
727
1007
|
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
728
1008
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
729
1009
|
default: any;
|
@@ -788,11 +1068,6 @@ declare const BkTable: {
|
|
788
1068
|
} & {
|
789
1069
|
default: boolean;
|
790
1070
|
};
|
791
|
-
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
792
|
-
default: boolean;
|
793
|
-
} & {
|
794
|
-
default: boolean;
|
795
|
-
};
|
796
1071
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
797
1072
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
798
1073
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -812,21 +1087,177 @@ declare const BkTable: {
|
|
812
1087
|
} & {
|
813
1088
|
default: boolean;
|
814
1089
|
};
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
};
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
1090
|
+
}>> & {
|
1091
|
+
onDragend?: (_args: {
|
1092
|
+
sourceEvent: DragEvent;
|
1093
|
+
data: any[];
|
1094
|
+
}) => any;
|
1095
|
+
onSelect?: (_args: {
|
1096
|
+
row: any;
|
1097
|
+
index: number;
|
1098
|
+
checked: string;
|
1099
|
+
data: any[];
|
1100
|
+
}) => any;
|
1101
|
+
onCellClick?: (_args: {
|
1102
|
+
event: MouseEvent;
|
1103
|
+
row: any;
|
1104
|
+
column: import("./props").Column;
|
1105
|
+
cell: {
|
1106
|
+
getValue: () => string;
|
1107
|
+
};
|
1108
|
+
rowIndex: number;
|
1109
|
+
columnIndex: number;
|
1110
|
+
}) => any;
|
1111
|
+
onCellDblclick?: (_args: {
|
1112
|
+
event: MouseEvent;
|
1113
|
+
row: any;
|
1114
|
+
column: import("./props").Column;
|
1115
|
+
cell: {
|
1116
|
+
getValue: () => string;
|
1117
|
+
};
|
1118
|
+
rowIndex: number;
|
1119
|
+
columnIndex: number;
|
1120
|
+
}) => any;
|
1121
|
+
onColumnFilter?: (_args: {
|
1122
|
+
checked: string[];
|
1123
|
+
column: import("./props").Column;
|
1124
|
+
index: number;
|
1125
|
+
}) => any;
|
1126
|
+
onColFilterSave?: (_args: {
|
1127
|
+
column: import("./props").Column;
|
1128
|
+
values: any[];
|
1129
|
+
}) => any;
|
1130
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
1131
|
+
onColumnSort?: (_args: {
|
1132
|
+
column: import("./props").Column;
|
1133
|
+
index: number;
|
1134
|
+
type: import("./const").SORT_OPTION;
|
1135
|
+
}) => any;
|
1136
|
+
onPageLimitChange?: (_arg: number) => any;
|
1137
|
+
onPageValueChange?: (_arg: number) => any;
|
1138
|
+
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1139
|
+
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1140
|
+
onRowExpand?: (_args: {
|
1141
|
+
row: any;
|
1142
|
+
column: import("./props").Column;
|
1143
|
+
index: number;
|
1144
|
+
rows: any[];
|
1145
|
+
e: MouseEvent;
|
1146
|
+
}) => any;
|
1147
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1148
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
1149
|
+
onSelectAll?: (_args: {
|
1150
|
+
checked: string;
|
1151
|
+
data: any[];
|
1152
|
+
}) => any;
|
1153
|
+
onSelectionChange?: (_args: {
|
1154
|
+
row: any;
|
1155
|
+
index: number;
|
1156
|
+
checked: string;
|
1157
|
+
data: any[];
|
1158
|
+
isAll: boolean;
|
1159
|
+
}) => any;
|
1160
|
+
onScrollBottom?: (_args: {
|
1161
|
+
translateX: number;
|
1162
|
+
translateY: number;
|
1163
|
+
scrollTop: number;
|
1164
|
+
scrollLeft: number;
|
1165
|
+
bottom: number;
|
1166
|
+
}) => any;
|
1167
|
+
onSettingChange?: (_args: {
|
1168
|
+
checked: string[];
|
1169
|
+
size: string;
|
1170
|
+
height: number;
|
1171
|
+
fields: Record<string, any>[];
|
1172
|
+
}) => any;
|
1173
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
1174
|
+
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
1175
|
+
columnFilter: (_args: {
|
1176
|
+
checked: string[];
|
1177
|
+
column: import("./props").Column;
|
1178
|
+
index: number;
|
1179
|
+
}) => boolean;
|
1180
|
+
columnSort: (_args: {
|
1181
|
+
column: import("./props").Column;
|
1182
|
+
index: number;
|
1183
|
+
type: import("./const").SORT_OPTION;
|
1184
|
+
}) => boolean;
|
1185
|
+
colFilterSave: (_args: {
|
1186
|
+
column: import("./props").Column;
|
1187
|
+
values: any[];
|
1188
|
+
}) => boolean;
|
1189
|
+
rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1190
|
+
rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1191
|
+
rowExpand: (_args: {
|
1192
|
+
row: any;
|
1193
|
+
column: import("./props").Column;
|
1194
|
+
index: number;
|
1195
|
+
rows: any[];
|
1196
|
+
e: MouseEvent;
|
1197
|
+
}) => boolean;
|
1198
|
+
select: (_args: {
|
1199
|
+
row: any;
|
1200
|
+
index: number;
|
1201
|
+
checked: string;
|
1202
|
+
data: any[];
|
1203
|
+
}) => boolean;
|
1204
|
+
selectAll: (_args: {
|
1205
|
+
checked: string;
|
1206
|
+
data: any[];
|
1207
|
+
}) => boolean;
|
1208
|
+
selectionChange: (_args: {
|
1209
|
+
row: any;
|
1210
|
+
index: number;
|
1211
|
+
checked: string;
|
1212
|
+
data: any[];
|
1213
|
+
isAll: boolean;
|
1214
|
+
}) => boolean;
|
1215
|
+
pageLimitChange: (_arg: number) => boolean;
|
1216
|
+
pageValueChange: (_arg: number) => boolean;
|
1217
|
+
settingChange: (_args: {
|
1218
|
+
checked: string[];
|
1219
|
+
size: string;
|
1220
|
+
height: number;
|
1221
|
+
fields: Record<string, any>[];
|
1222
|
+
}) => boolean;
|
1223
|
+
scrollBottom: (_args: {
|
1224
|
+
translateX: number;
|
1225
|
+
translateY: number;
|
1226
|
+
scrollTop: number;
|
1227
|
+
scrollLeft: number;
|
1228
|
+
bottom: number;
|
1229
|
+
}) => boolean;
|
1230
|
+
cellClick: (_args: {
|
1231
|
+
event: MouseEvent;
|
1232
|
+
row: any;
|
1233
|
+
column: import("./props").Column;
|
1234
|
+
cell: {
|
1235
|
+
getValue: () => string;
|
1236
|
+
};
|
1237
|
+
rowIndex: number;
|
1238
|
+
columnIndex: number;
|
1239
|
+
}) => boolean;
|
1240
|
+
cellDblclick: (_args: {
|
1241
|
+
event: MouseEvent;
|
1242
|
+
row: any;
|
1243
|
+
column: import("./props").Column;
|
1244
|
+
cell: {
|
1245
|
+
getValue: () => string;
|
1246
|
+
};
|
1247
|
+
rowIndex: number;
|
1248
|
+
columnIndex: number;
|
1249
|
+
}) => boolean;
|
1250
|
+
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1251
|
+
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
1252
|
+
dragend: (_args: {
|
1253
|
+
sourceEvent: DragEvent;
|
1254
|
+
data: any[];
|
1255
|
+
}) => boolean;
|
1256
|
+
}, string, {
|
825
1257
|
data: any[];
|
826
1258
|
thead: import("./props").Thead;
|
827
1259
|
height: string | number;
|
828
1260
|
maxHeight: string | number;
|
829
|
-
scrollbar: boolean;
|
830
1261
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
831
1262
|
pagination: boolean | {
|
832
1263
|
[key: string]: any;
|
@@ -843,6 +1274,7 @@ declare const BkTable: {
|
|
843
1274
|
columnPick: "disabled" | "single" | "multi";
|
844
1275
|
columns: import("./props").Column[];
|
845
1276
|
stripe: boolean;
|
1277
|
+
rowHeight: import("./props").RowHeightFunctionNumber;
|
846
1278
|
showHead: boolean;
|
847
1279
|
sortValFormat: any[];
|
848
1280
|
virtualEnabled: boolean;
|
@@ -850,7 +1282,6 @@ declare const BkTable: {
|
|
850
1282
|
remotePagination: boolean;
|
851
1283
|
acrossAll: boolean;
|
852
1284
|
emptyCellText: any;
|
853
|
-
isEmptyCell: any;
|
854
1285
|
rowClass: any;
|
855
1286
|
rowStyle: any;
|
856
1287
|
cellStyle: any;
|
@@ -862,12 +1293,10 @@ declare const BkTable: {
|
|
862
1293
|
defaultSort: import("./props").ISortOption;
|
863
1294
|
isRowSelectEnable: any;
|
864
1295
|
observerResize: boolean;
|
865
|
-
intersectionObserver: boolean;
|
866
1296
|
prependStyle: import("vue").CSSProperties;
|
867
1297
|
isFlex: boolean;
|
868
1298
|
rowDraggable: any;
|
869
1299
|
shiftMultiChecked: boolean;
|
870
|
-
fixedBottom: import("./props").FixedBottomOption;
|
871
1300
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
|
872
1301
|
Column: import("vue").DefineComponent<{
|
873
1302
|
label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
@@ -908,7 +1337,50 @@ declare const BkTable: {
|
|
908
1337
|
} & {
|
909
1338
|
default: number;
|
910
1339
|
};
|
911
|
-
},
|
1340
|
+
}, {
|
1341
|
+
column: {
|
1342
|
+
fixed?: boolean | "left" | "right";
|
1343
|
+
resizable?: boolean;
|
1344
|
+
minWidth?: string | number;
|
1345
|
+
index?: number;
|
1346
|
+
columnKey?: string;
|
1347
|
+
colspan?: import("./props").SpanFunctionString;
|
1348
|
+
rowspan?: import("./props").SpanFunctionString;
|
1349
|
+
render?: import("./props").RenderFunctionString;
|
1350
|
+
sort?: string | boolean | {
|
1351
|
+
sortFn?: Function;
|
1352
|
+
sortScope?: import("./props").SortScope;
|
1353
|
+
value?: import("./const").SORT_OPTION;
|
1354
|
+
};
|
1355
|
+
filter?: string | boolean | {
|
1356
|
+
list: any[];
|
1357
|
+
filterFn?: Function;
|
1358
|
+
match?: import("./props").FullEnum;
|
1359
|
+
checked?: any[];
|
1360
|
+
filterScope?: import("./props").SortScope;
|
1361
|
+
btnSave?: string | boolean;
|
1362
|
+
btnReset?: string | boolean;
|
1363
|
+
height?: number;
|
1364
|
+
maxHeight?: number;
|
1365
|
+
};
|
1366
|
+
type?: "index" | "expand" | "__COL_TYPE_NONE" | "selection";
|
1367
|
+
label?: import("./props").LabelFunctionString;
|
1368
|
+
width?: string | number;
|
1369
|
+
className?: import("./props").RowClassFunctionString;
|
1370
|
+
align?: "" | "left" | "right" | "center";
|
1371
|
+
showOverflowTooltip?: boolean | {
|
1372
|
+
content: string | ((col: import("./props").Column, row: any) => string);
|
1373
|
+
disabled?: boolean | ((col: import("./props").Column, row: any) => boolean);
|
1374
|
+
watchCellResize?: boolean;
|
1375
|
+
mode?: "auto" | "static";
|
1376
|
+
popoverOption?: any;
|
1377
|
+
resizerWay?: import("./props").ResizerWay;
|
1378
|
+
showHead?: boolean;
|
1379
|
+
};
|
1380
|
+
field: import("./props").LabelFunctionString;
|
1381
|
+
prop?: import("./props").LabelFunctionString;
|
1382
|
+
};
|
1383
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
912
1384
|
label: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
913
1385
|
field: import("vue-types").VueTypeDef<import("./props").LabelFunctionString>;
|
914
1386
|
render: import("vue-types").VueTypeDef<import("./props").RenderFunctionString>;
|