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/table.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
+
import { Column } from './props';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
data: import("vue-types").VueTypeDef<any[]> & {
|
3
4
|
default: () => any[];
|
4
5
|
};
|
5
|
-
columns: import("vue-types").VueTypeDef<
|
6
|
-
default: () =>
|
6
|
+
columns: import("vue-types").VueTypeDef<Column[]> & {
|
7
|
+
default: () => Column[];
|
7
8
|
};
|
8
9
|
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
9
10
|
columnPick: import("vue-types").VueTypeDef<"disabled" | "single" | "multi"> & {
|
@@ -23,7 +24,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
24
|
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
24
25
|
default: string | number;
|
25
26
|
};
|
26
|
-
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber
|
27
|
+
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
|
28
|
+
default: import("./props").RowHeightFunctionNumber;
|
29
|
+
};
|
27
30
|
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
28
31
|
default: number;
|
29
32
|
} & {
|
@@ -76,9 +79,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
76
79
|
emptyCellText: import("vue-types").VueTypeDef<any> & {
|
77
80
|
default: any;
|
78
81
|
};
|
79
|
-
isEmptyCell: import("vue-types").VueTypeDef<any> & {
|
80
|
-
default: any;
|
81
|
-
};
|
82
82
|
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
83
83
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
84
84
|
default: any;
|
@@ -143,11 +143,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
143
143
|
} & {
|
144
144
|
default: boolean;
|
145
145
|
};
|
146
|
-
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
147
|
-
default: boolean;
|
148
|
-
} & {
|
149
|
-
default: boolean;
|
150
|
-
};
|
151
146
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
152
147
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
153
148
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -167,21 +162,95 @@ declare const _default: import("vue").DefineComponent<{
|
|
167
162
|
} & {
|
168
163
|
default: boolean;
|
169
164
|
};
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
165
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
166
|
+
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
167
|
+
columnFilter: (_args: {
|
168
|
+
checked: string[];
|
169
|
+
column: Column;
|
170
|
+
index: number;
|
171
|
+
}) => boolean;
|
172
|
+
columnSort: (_args: {
|
173
|
+
column: Column;
|
174
|
+
index: number;
|
175
|
+
type: import("./const").SORT_OPTION;
|
176
|
+
}) => boolean;
|
177
|
+
colFilterSave: (_args: {
|
178
|
+
column: Column;
|
179
|
+
values: any[];
|
180
|
+
}) => boolean;
|
181
|
+
rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
182
|
+
rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
183
|
+
rowExpand: (_args: {
|
184
|
+
row: any;
|
185
|
+
column: Column;
|
186
|
+
index: number;
|
187
|
+
rows: any[];
|
188
|
+
e: MouseEvent;
|
189
|
+
}) => boolean;
|
190
|
+
select: (_args: {
|
191
|
+
row: any;
|
192
|
+
index: number;
|
193
|
+
checked: string;
|
194
|
+
data: any[];
|
195
|
+
}) => boolean;
|
196
|
+
selectAll: (_args: {
|
197
|
+
checked: string;
|
198
|
+
data: any[];
|
199
|
+
}) => boolean;
|
200
|
+
selectionChange: (_args: {
|
201
|
+
row: any;
|
202
|
+
index: number;
|
203
|
+
checked: string;
|
204
|
+
data: any[];
|
205
|
+
isAll: boolean;
|
206
|
+
}) => boolean;
|
207
|
+
pageLimitChange: (_arg: number) => boolean;
|
208
|
+
pageValueChange: (_arg: number) => boolean;
|
209
|
+
settingChange: (_args: {
|
210
|
+
checked: string[];
|
211
|
+
size: string;
|
212
|
+
height: number;
|
213
|
+
fields: Record<string, any>[];
|
214
|
+
}) => boolean;
|
215
|
+
scrollBottom: (_args: {
|
216
|
+
translateX: number;
|
217
|
+
translateY: number;
|
218
|
+
scrollTop: number;
|
219
|
+
scrollLeft: number;
|
220
|
+
bottom: number;
|
221
|
+
}) => boolean;
|
222
|
+
cellClick: (_args: {
|
223
|
+
event: MouseEvent;
|
224
|
+
row: any;
|
225
|
+
column: Column;
|
226
|
+
cell: {
|
227
|
+
getValue: () => string;
|
228
|
+
};
|
229
|
+
rowIndex: number;
|
230
|
+
columnIndex: number;
|
231
|
+
}) => boolean;
|
232
|
+
cellDblclick: (_args: {
|
233
|
+
event: MouseEvent;
|
234
|
+
row: any;
|
235
|
+
column: Column;
|
236
|
+
cell: {
|
237
|
+
getValue: () => string;
|
238
|
+
};
|
239
|
+
rowIndex: number;
|
240
|
+
columnIndex: number;
|
241
|
+
}) => boolean;
|
242
|
+
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
243
|
+
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
244
|
+
dragend: (_args: {
|
245
|
+
sourceEvent: DragEvent;
|
246
|
+
data: any[];
|
247
|
+
}) => boolean;
|
248
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
180
249
|
data: import("vue-types").VueTypeDef<any[]> & {
|
181
250
|
default: () => any[];
|
182
251
|
};
|
183
|
-
columns: import("vue-types").VueTypeDef<
|
184
|
-
default: () =>
|
252
|
+
columns: import("vue-types").VueTypeDef<Column[]> & {
|
253
|
+
default: () => Column[];
|
185
254
|
};
|
186
255
|
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
187
256
|
columnPick: import("vue-types").VueTypeDef<"disabled" | "single" | "multi"> & {
|
@@ -201,7 +270,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
201
270
|
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
202
271
|
default: string | number;
|
203
272
|
};
|
204
|
-
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber
|
273
|
+
rowHeight: import("vue-types").VueTypeDef<import("./props").RowHeightFunctionNumber> & {
|
274
|
+
default: import("./props").RowHeightFunctionNumber;
|
275
|
+
};
|
205
276
|
headHeight: import("vue-types").VueTypeValidableDef<number> & {
|
206
277
|
default: number;
|
207
278
|
} & {
|
@@ -254,9 +325,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
254
325
|
emptyCellText: import("vue-types").VueTypeDef<any> & {
|
255
326
|
default: any;
|
256
327
|
};
|
257
|
-
isEmptyCell: import("vue-types").VueTypeDef<any> & {
|
258
|
-
default: any;
|
259
|
-
};
|
260
328
|
settings: import("vue-types").VueTypeDef<import("./props").ISettingPropType>;
|
261
329
|
rowClass: import("vue-types").VueTypeDef<any> & {
|
262
330
|
default: any;
|
@@ -321,11 +389,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
321
389
|
} & {
|
322
390
|
default: boolean;
|
323
391
|
};
|
324
|
-
intersectionObserver: import("vue-types").VueTypeValidableDef<boolean> & {
|
325
|
-
default: boolean;
|
326
|
-
} & {
|
327
|
-
default: boolean;
|
328
|
-
};
|
329
392
|
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
330
393
|
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
331
394
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
@@ -345,21 +408,94 @@ declare const _default: import("vue").DefineComponent<{
|
|
345
408
|
} & {
|
346
409
|
default: boolean;
|
347
410
|
};
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
};
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
411
|
+
}>> & {
|
412
|
+
onDragend?: (_args: {
|
413
|
+
sourceEvent: DragEvent;
|
414
|
+
data: any[];
|
415
|
+
}) => any;
|
416
|
+
onSelect?: (_args: {
|
417
|
+
row: any;
|
418
|
+
index: number;
|
419
|
+
checked: string;
|
420
|
+
data: any[];
|
421
|
+
}) => any;
|
422
|
+
onCellClick?: (_args: {
|
423
|
+
event: MouseEvent;
|
424
|
+
row: any;
|
425
|
+
column: Column;
|
426
|
+
cell: {
|
427
|
+
getValue: () => string;
|
428
|
+
};
|
429
|
+
rowIndex: number;
|
430
|
+
columnIndex: number;
|
431
|
+
}) => any;
|
432
|
+
onCellDblclick?: (_args: {
|
433
|
+
event: MouseEvent;
|
434
|
+
row: any;
|
435
|
+
column: Column;
|
436
|
+
cell: {
|
437
|
+
getValue: () => string;
|
438
|
+
};
|
439
|
+
rowIndex: number;
|
440
|
+
columnIndex: number;
|
441
|
+
}) => any;
|
442
|
+
onColumnFilter?: (_args: {
|
443
|
+
checked: string[];
|
444
|
+
column: Column;
|
445
|
+
index: number;
|
446
|
+
}) => any;
|
447
|
+
onColFilterSave?: (_args: {
|
448
|
+
column: Column;
|
449
|
+
values: any[];
|
450
|
+
}) => any;
|
451
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
452
|
+
onColumnSort?: (_args: {
|
453
|
+
column: Column;
|
454
|
+
index: number;
|
455
|
+
type: import("./const").SORT_OPTION;
|
456
|
+
}) => any;
|
457
|
+
onPageLimitChange?: (_arg: number) => any;
|
458
|
+
onPageValueChange?: (_arg: number) => any;
|
459
|
+
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
460
|
+
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
461
|
+
onRowExpand?: (_args: {
|
462
|
+
row: any;
|
463
|
+
column: Column;
|
464
|
+
index: number;
|
465
|
+
rows: any[];
|
466
|
+
e: MouseEvent;
|
467
|
+
}) => any;
|
468
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
469
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
470
|
+
onSelectAll?: (_args: {
|
471
|
+
checked: string;
|
472
|
+
data: any[];
|
473
|
+
}) => any;
|
474
|
+
onSelectionChange?: (_args: {
|
475
|
+
row: any;
|
476
|
+
index: number;
|
477
|
+
checked: string;
|
478
|
+
data: any[];
|
479
|
+
isAll: boolean;
|
480
|
+
}) => any;
|
481
|
+
onScrollBottom?: (_args: {
|
482
|
+
translateX: number;
|
483
|
+
translateY: number;
|
484
|
+
scrollTop: number;
|
485
|
+
scrollLeft: number;
|
486
|
+
bottom: number;
|
487
|
+
}) => any;
|
488
|
+
onSettingChange?: (_args: {
|
489
|
+
checked: string[];
|
490
|
+
size: string;
|
491
|
+
height: number;
|
492
|
+
fields: Record<string, any>[];
|
493
|
+
}) => any;
|
494
|
+
}, {
|
358
495
|
data: any[];
|
359
496
|
thead: import("./props").Thead;
|
360
497
|
height: string | number;
|
361
498
|
maxHeight: string | number;
|
362
|
-
scrollbar: boolean;
|
363
499
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
364
500
|
pagination: boolean | {
|
365
501
|
[key: string]: any;
|
@@ -374,8 +510,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
374
510
|
[key: string]: any;
|
375
511
|
};
|
376
512
|
columnPick: "disabled" | "single" | "multi";
|
377
|
-
columns:
|
513
|
+
columns: Column[];
|
378
514
|
stripe: boolean;
|
515
|
+
rowHeight: import("./props").RowHeightFunctionNumber;
|
379
516
|
showHead: boolean;
|
380
517
|
sortValFormat: any[];
|
381
518
|
virtualEnabled: boolean;
|
@@ -383,7 +520,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
383
520
|
remotePagination: boolean;
|
384
521
|
acrossAll: boolean;
|
385
522
|
emptyCellText: any;
|
386
|
-
isEmptyCell: any;
|
387
523
|
rowClass: any;
|
388
524
|
rowStyle: any;
|
389
525
|
cellStyle: any;
|
@@ -395,11 +531,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
395
531
|
defaultSort: import("./props").ISortOption;
|
396
532
|
isRowSelectEnable: any;
|
397
533
|
observerResize: boolean;
|
398
|
-
intersectionObserver: boolean;
|
399
534
|
prependStyle: import("vue").CSSProperties;
|
400
535
|
isFlex: boolean;
|
401
536
|
rowDraggable: any;
|
402
537
|
shiftMultiChecked: boolean;
|
403
|
-
fixedBottom: import("./props").FixedBottomOption;
|
404
538
|
}, {}>;
|
405
539
|
export default _default;
|