@qqt-product/ui 0.0.13 → 0.0.14
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.es.js +54012 -78511
- package/dist/index.umd.js +24 -123
- package/dist/lib/components/breadcrumb/index.d.ts +1 -1
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
- package/dist/lib/components/card-list-layout/index.d.ts +14 -14
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +4 -4
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +7 -7
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +14 -14
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +1 -1
- package/dist/lib/components/cascader/index.d.ts +6 -6
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +6 -6
- package/dist/lib/components/checkbox/index.d.ts +7 -7
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +7 -7
- package/dist/lib/components/codeEditorModel/index.d.ts +4 -98
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +4 -98
- package/dist/lib/components/collapse-transition/index.d.ts +1 -1
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
- package/dist/lib/components/coutdown/index.d.ts +4 -14
- package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -8
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +4 -22
- package/dist/lib/components/currency/index.d.ts +3 -3
- package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
- package/dist/lib/components/detail-form/index.d.ts +4 -4
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +4 -4
- package/dist/lib/components/detail-grid/index.d.ts +337 -292
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +337 -292
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +2 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -1
- package/dist/lib/components/edit-form/index.d.ts +4 -4
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
- package/dist/lib/components/edit-grid/index.d.ts +337 -293
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +2 -2
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +337 -293
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/index.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +8 -4
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +2 -2
- package/dist/lib/components/editor/src/index.vue.d.ts +2 -2
- package/dist/lib/components/field-select-modal/index.d.ts +9 -9
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +2 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +9 -9
- package/dist/lib/components/item-wrap/index.d.ts +2 -2
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +2 -2
- package/dist/lib/components/layout/index.d.ts +2 -2
- package/dist/lib/components/layout/src/header/index.vue.d.ts +11 -11
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +9 -9
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +4 -4
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/index.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +1 -1
- package/dist/lib/components/layout-anchor/index.d.ts +1 -1
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +1 -1
- package/dist/lib/components/layout-buttons/index.d.ts +3 -3
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +3 -3
- package/dist/lib/components/layout-pattern/index.d.ts +1 -1
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +44 -6
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/index.d.ts +7 -7
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +23 -23
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +656 -566
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +10 -10
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +7 -7
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +3 -3
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +2 -2
- package/dist/lib/components/page-layout/index.d.ts +1 -1
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +1 -1
- package/dist/lib/components/radio/index.d.ts +7 -7
- package/dist/lib/components/radio/src/radio.vue.d.ts +7 -7
- package/dist/lib/components/remote-select/index.d.ts +5 -5
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
- package/dist/lib/components/select/index.d.ts +5 -5
- package/dist/lib/components/select/src/select.vue.d.ts +5 -5
- package/dist/lib/components/select-modal/index.d.ts +71 -67
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +71 -67
- package/dist/lib/components/switch/index.d.ts +2 -2
- package/dist/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/dist/lib/components/tree-select/index.d.ts +5 -5
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
- package/dist/lib/components/upload-file/index.d.ts +23 -15
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +29 -15
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +1 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +6 -19
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +22 -13
- package/dist/lib/components/upload-image/index.d.ts +4 -4
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +4 -4
- package/dist/lib/components/vxe-select/index.d.ts +6 -6
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +6 -6
- package/dist/lib/index.d.ts +1 -2
- package/dist/style.css +2 -2
- package/package.json +19 -19
- package/dist/components/ComponentsDemo.vue.d.ts +0 -13
- package/dist/components/EditPage.vue.d.ts +0 -6011
- package/dist/components/PreviewList.vue.d.ts +0 -218
- package/dist/components/hook/use-field-select-modal-hook.d.ts +0 -288
- package/dist/components/login.vue.d.ts +0 -19
- package/dist/components/mock.d.ts +0 -260
- package/dist/components/mockList.d.ts +0 -44
- package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +0 -15
- package/dist/router/index.d.ts +0 -4
- package/dist/stores/user.d.ts +0 -25
- package/dist/utils/qApiPlugin.d.ts +0 -6
- package/dist/views/dashboard/workspace.vue.d.ts +0 -6972
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, VNode, RendererNode, RendererElement, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxePagerEvents } from 'vxe-table';
|
|
2
|
+
import type { SizeType, VxeTableDataRow, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxePagerEvents } from 'vxe-table';
|
|
3
3
|
import { ObjectMap } from '../../../list-page-layout-types';
|
|
4
4
|
declare const _sfc_main: DefineComponent<{}, {
|
|
5
5
|
open: (row: ObjectMap) => void;
|
|
@@ -8,7 +8,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
8
8
|
auditOptions: {
|
|
9
9
|
size?: SizeType | undefined;
|
|
10
10
|
id?: string | undefined;
|
|
11
|
-
data?:
|
|
11
|
+
data?: VxeTableDataRow[] | undefined;
|
|
12
12
|
height?: VxeTablePropTypes.Height | undefined;
|
|
13
13
|
maxHeight?: VxeTablePropTypes.MaxHeight | undefined;
|
|
14
14
|
resizable?: boolean | undefined;
|
|
@@ -26,19 +26,19 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
26
26
|
highlightHoverColumn?: boolean | undefined;
|
|
27
27
|
highlightCell?: boolean | undefined;
|
|
28
28
|
showFooter?: boolean | undefined;
|
|
29
|
-
footerMethod?: VxeTablePropTypes.FooterMethod | undefined;
|
|
30
|
-
rowClassName?: VxeTablePropTypes.RowClassName | undefined;
|
|
31
|
-
cellClassName?: VxeTablePropTypes.CellClassName | undefined;
|
|
32
|
-
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName | undefined;
|
|
33
|
-
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName | undefined;
|
|
34
|
-
footerRowClassName?: VxeTablePropTypes.FooterRowClassName | undefined;
|
|
35
|
-
footerCellClassName?: VxeTablePropTypes.FooterCellClassName | undefined;
|
|
36
|
-
cellStyle?: VxeTablePropTypes.CellStyle | undefined;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
29
|
+
footerMethod?: VxeTablePropTypes.FooterMethod<VxeTableDataRow> | undefined;
|
|
30
|
+
rowClassName?: VxeTablePropTypes.RowClassName<VxeTableDataRow> | undefined;
|
|
31
|
+
cellClassName?: VxeTablePropTypes.CellClassName<VxeTableDataRow> | undefined;
|
|
32
|
+
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName<VxeTableDataRow> | undefined;
|
|
33
|
+
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName<VxeTableDataRow> | undefined;
|
|
34
|
+
footerRowClassName?: VxeTablePropTypes.FooterRowClassName<VxeTableDataRow> | undefined;
|
|
35
|
+
footerCellClassName?: VxeTablePropTypes.FooterCellClassName<VxeTableDataRow> | undefined;
|
|
36
|
+
cellStyle?: VxeTablePropTypes.CellStyle<VxeTableDataRow> | undefined;
|
|
37
|
+
rowStyle?: VxeTablePropTypes.RowStyle<VxeTableDataRow> | undefined;
|
|
38
|
+
headerCellStyle?: VxeTablePropTypes.HeaderCellStyle<VxeTableDataRow> | undefined;
|
|
39
|
+
headerRowStyle?: VxeTablePropTypes.HeaderRowStyle<VxeTableDataRow> | undefined;
|
|
40
|
+
footerRowStyle?: VxeTablePropTypes.FooterRowStyle<VxeTableDataRow> | undefined;
|
|
41
|
+
footerCellStyle?: VxeTablePropTypes.FooterCellStyle<VxeTableDataRow> | undefined;
|
|
42
42
|
mergeCells?: {
|
|
43
43
|
row: any;
|
|
44
44
|
col: number | {
|
|
@@ -57,12 +57,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
57
57
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
58
58
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
59
59
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
60
|
-
className: VxeColumnPropTypes.ClassName
|
|
61
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
62
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
63
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
60
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
61
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
62
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
63
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
64
64
|
sortable: boolean;
|
|
65
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
65
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
66
66
|
sortType: VxeColumnPropTypes.SortType;
|
|
67
67
|
filters: {
|
|
68
68
|
label?: string | number | undefined;
|
|
@@ -72,7 +72,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
72
72
|
checked?: boolean | undefined;
|
|
73
73
|
}[];
|
|
74
74
|
filterMultiple: boolean;
|
|
75
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
75
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
76
76
|
filterRender: {
|
|
77
77
|
options?: any[] | undefined;
|
|
78
78
|
optionProps?: {
|
|
@@ -102,8 +102,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
102
102
|
};
|
|
103
103
|
treeNode: boolean;
|
|
104
104
|
visible: boolean;
|
|
105
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
106
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
105
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
106
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
107
107
|
titleHelp: {
|
|
108
108
|
useHTML?: boolean | undefined;
|
|
109
109
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -123,7 +123,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
123
123
|
cellType: VxeColumnPropTypes.CellType;
|
|
124
124
|
cellRender: {
|
|
125
125
|
events?: {
|
|
126
|
-
[key: string]: (cellParams:
|
|
126
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
127
127
|
} | undefined;
|
|
128
128
|
options?: any[] | undefined;
|
|
129
129
|
optionProps?: {
|
|
@@ -150,7 +150,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
150
150
|
};
|
|
151
151
|
editRender: {
|
|
152
152
|
events?: {
|
|
153
|
-
[key: string]: (cellParams:
|
|
153
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
154
154
|
} | undefined;
|
|
155
155
|
enabled?: boolean | undefined;
|
|
156
156
|
options?: any[] | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
168
168
|
autofocus?: string | undefined;
|
|
169
169
|
autoselect?: boolean | undefined;
|
|
170
170
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
171
|
-
column: VxeTableDefines.ColumnInfo
|
|
171
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
172
172
|
}) => any) | {
|
|
173
173
|
exec: (string: string) => RegExpExecArray | null;
|
|
174
174
|
test: (string: string) => boolean;
|
|
@@ -294,16 +294,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
294
294
|
};
|
|
295
295
|
params: any;
|
|
296
296
|
slots: {
|
|
297
|
-
title?: string | ((params:
|
|
298
|
-
radio?: string | ((params:
|
|
299
|
-
checkbox?: string | ((params:
|
|
300
|
-
default?: string | ((params:
|
|
301
|
-
header?: string | ((params:
|
|
302
|
-
footer?: string | ((params:
|
|
303
|
-
content?: string | ((params:
|
|
304
|
-
filter?: string | ((params:
|
|
305
|
-
edit?: string | ((params:
|
|
306
|
-
icon?: string | ((params:
|
|
297
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
298
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
299
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
300
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
301
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
302
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
303
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
304
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
305
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
306
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
307
307
|
};
|
|
308
308
|
id: string;
|
|
309
309
|
parentId: string;
|
|
@@ -312,6 +312,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
312
312
|
colSpan: number;
|
|
313
313
|
halfVisible: boolean;
|
|
314
314
|
defaultVisible: any;
|
|
315
|
+
defaultFixed: any;
|
|
315
316
|
checked: boolean;
|
|
316
317
|
halfChecked: boolean;
|
|
317
318
|
disabled: boolean;
|
|
@@ -325,16 +326,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
325
326
|
value: any;
|
|
326
327
|
};
|
|
327
328
|
children: any[];
|
|
328
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
329
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
329
330
|
[key: string]: any;
|
|
330
331
|
}>[];
|
|
331
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
332
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
332
333
|
[key: string]: any;
|
|
333
334
|
}>[];
|
|
334
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
335
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
335
336
|
[key: string]: any;
|
|
336
337
|
}>[];
|
|
337
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
338
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
338
339
|
[key: string]: any;
|
|
339
340
|
}>[];
|
|
340
341
|
getTitle: () => string;
|
|
@@ -361,12 +362,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
361
362
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
362
363
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
363
364
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
364
|
-
className: VxeColumnPropTypes.ClassName
|
|
365
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
366
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
367
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
365
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
366
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
367
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
368
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
368
369
|
sortable: boolean;
|
|
369
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
370
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
370
371
|
sortType: VxeColumnPropTypes.SortType;
|
|
371
372
|
filters: {
|
|
372
373
|
label?: string | number | undefined;
|
|
@@ -376,7 +377,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
376
377
|
checked?: boolean | undefined;
|
|
377
378
|
}[];
|
|
378
379
|
filterMultiple: boolean;
|
|
379
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
380
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
380
381
|
filterRender: {
|
|
381
382
|
options?: any[] | undefined;
|
|
382
383
|
optionProps?: {
|
|
@@ -406,8 +407,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
406
407
|
};
|
|
407
408
|
treeNode: boolean;
|
|
408
409
|
visible: boolean;
|
|
409
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
410
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
410
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
411
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
411
412
|
titleHelp: {
|
|
412
413
|
useHTML?: boolean | undefined;
|
|
413
414
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -427,7 +428,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
427
428
|
cellType: VxeColumnPropTypes.CellType;
|
|
428
429
|
cellRender: {
|
|
429
430
|
events?: {
|
|
430
|
-
[key: string]: (cellParams:
|
|
431
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
431
432
|
} | undefined;
|
|
432
433
|
options?: any[] | undefined;
|
|
433
434
|
optionProps?: {
|
|
@@ -454,7 +455,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
454
455
|
};
|
|
455
456
|
editRender: {
|
|
456
457
|
events?: {
|
|
457
|
-
[key: string]: (cellParams:
|
|
458
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
458
459
|
} | undefined;
|
|
459
460
|
enabled?: boolean | undefined;
|
|
460
461
|
options?: any[] | undefined;
|
|
@@ -472,7 +473,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
472
473
|
autofocus?: string | undefined;
|
|
473
474
|
autoselect?: boolean | undefined;
|
|
474
475
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
475
|
-
column: VxeTableDefines.ColumnInfo
|
|
476
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
476
477
|
}) => any) | {
|
|
477
478
|
exec: (string: string) => RegExpExecArray | null;
|
|
478
479
|
test: (string: string) => boolean;
|
|
@@ -598,16 +599,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
598
599
|
};
|
|
599
600
|
params: any;
|
|
600
601
|
slots: {
|
|
601
|
-
title?: string | ((params:
|
|
602
|
-
radio?: string | ((params:
|
|
603
|
-
checkbox?: string | ((params:
|
|
604
|
-
default?: string | ((params:
|
|
605
|
-
header?: string | ((params:
|
|
606
|
-
footer?: string | ((params:
|
|
607
|
-
content?: string | ((params:
|
|
608
|
-
filter?: string | ((params:
|
|
609
|
-
edit?: string | ((params:
|
|
610
|
-
icon?: string | ((params:
|
|
602
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
603
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
604
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
605
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
606
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
607
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
608
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
609
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
610
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
611
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
611
612
|
};
|
|
612
613
|
id: string;
|
|
613
614
|
parentId: string;
|
|
@@ -616,6 +617,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
616
617
|
colSpan: number;
|
|
617
618
|
halfVisible: boolean;
|
|
618
619
|
defaultVisible: any;
|
|
620
|
+
defaultFixed: any;
|
|
619
621
|
checked: boolean;
|
|
620
622
|
halfChecked: boolean;
|
|
621
623
|
disabled: boolean;
|
|
@@ -629,16 +631,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
629
631
|
value: any;
|
|
630
632
|
};
|
|
631
633
|
children: any[];
|
|
632
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
634
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
633
635
|
[key: string]: any;
|
|
634
636
|
}>[];
|
|
635
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
637
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
636
638
|
[key: string]: any;
|
|
637
639
|
}>[];
|
|
638
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
640
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
639
641
|
[key: string]: any;
|
|
640
642
|
}>[];
|
|
641
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
643
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
642
644
|
[key: string]: any;
|
|
643
645
|
}>[];
|
|
644
646
|
getTitle: () => string;
|
|
@@ -647,8 +649,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
647
649
|
rowspan: number;
|
|
648
650
|
colspan: number;
|
|
649
651
|
}[] | undefined;
|
|
650
|
-
spanMethod?: VxeTablePropTypes.SpanMethod | undefined;
|
|
651
|
-
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod | undefined;
|
|
652
|
+
spanMethod?: VxeTablePropTypes.SpanMethod<VxeTableDataRow> | undefined;
|
|
653
|
+
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod<VxeTableDataRow> | undefined;
|
|
652
654
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
653
655
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
654
656
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
@@ -678,9 +680,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
678
680
|
storage?: boolean | {
|
|
679
681
|
visible?: boolean | undefined;
|
|
680
682
|
resizable?: boolean | undefined;
|
|
683
|
+
fixed?: boolean | undefined;
|
|
684
|
+
order?: boolean | undefined;
|
|
681
685
|
} | undefined;
|
|
682
686
|
checkMethod?: ((params: {
|
|
683
|
-
column: VxeTableDefines.ColumnInfo
|
|
687
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
684
688
|
}) => boolean) | undefined;
|
|
685
689
|
} | undefined;
|
|
686
690
|
resizeConfig?: {
|
|
@@ -688,16 +692,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
688
692
|
} | undefined;
|
|
689
693
|
resizableConfig?: {
|
|
690
694
|
minWidth?: string | number | ((params: {
|
|
691
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
692
|
-
column: VxeTableDefines.ColumnInfo
|
|
695
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
696
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
693
697
|
columnIndex: number;
|
|
694
698
|
$columnIndex: number;
|
|
695
699
|
$rowIndex: number;
|
|
696
700
|
cell: HTMLElement;
|
|
697
701
|
}) => string | number) | undefined;
|
|
698
702
|
maxWidth?: string | number | ((params: {
|
|
699
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
700
|
-
column: VxeTableDefines.ColumnInfo
|
|
703
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
704
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
701
705
|
columnIndex: number;
|
|
702
706
|
$columnIndex: number;
|
|
703
707
|
$rowIndex: number;
|
|
@@ -707,10 +711,10 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
707
711
|
seqConfig?: {
|
|
708
712
|
startIndex?: number | undefined;
|
|
709
713
|
seqMethod?: ((params: {
|
|
710
|
-
column: VxeTableDefines.ColumnInfo
|
|
714
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
711
715
|
columnIndex: number;
|
|
712
716
|
$columnIndex: number;
|
|
713
|
-
row:
|
|
717
|
+
row: VxeTableDataRow;
|
|
714
718
|
rowIndex: number;
|
|
715
719
|
$rowIndex: number;
|
|
716
720
|
}) => string | number) | undefined;
|
|
@@ -725,9 +729,9 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
725
729
|
}[] | undefined;
|
|
726
730
|
orders?: VxeTablePropTypes.SortOrder[] | undefined;
|
|
727
731
|
sortMethod?: ((params: {
|
|
728
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
729
|
-
data:
|
|
730
|
-
sortList: VxeTableDefines.SortCheckedParams[];
|
|
732
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
733
|
+
data: VxeTableDataRow[];
|
|
734
|
+
sortList: VxeTableDefines.SortCheckedParams<VxeTableDataRow>[];
|
|
731
735
|
}) => any[]) | undefined;
|
|
732
736
|
remote?: boolean | undefined;
|
|
733
737
|
multiple?: boolean | undefined;
|
|
@@ -742,8 +746,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
742
746
|
options: VxeTableDefines.FilterOption[];
|
|
743
747
|
values: any[];
|
|
744
748
|
cellValue: any;
|
|
745
|
-
row:
|
|
746
|
-
column: VxeTableDefines.ColumnInfo
|
|
749
|
+
row: VxeTableDataRow;
|
|
750
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
747
751
|
}) => any) | undefined;
|
|
748
752
|
remote?: boolean | undefined;
|
|
749
753
|
showIcon?: boolean | undefined;
|
|
@@ -755,12 +759,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
755
759
|
labelField?: string | undefined;
|
|
756
760
|
checkRowKey?: string | number | undefined;
|
|
757
761
|
checkMethod?: ((params: {
|
|
758
|
-
row:
|
|
762
|
+
row: VxeTableDataRow;
|
|
759
763
|
}) => boolean) | undefined;
|
|
760
764
|
visibleMethod?: ((params: {
|
|
761
|
-
row:
|
|
765
|
+
row: VxeTableDataRow;
|
|
762
766
|
}) => boolean) | undefined;
|
|
763
|
-
trigger?: "" | "default" | "
|
|
767
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
764
768
|
highlight?: boolean | undefined;
|
|
765
769
|
strict?: boolean | undefined;
|
|
766
770
|
} | undefined;
|
|
@@ -775,12 +779,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
775
779
|
checkStrictly?: boolean | undefined;
|
|
776
780
|
strict?: boolean | undefined;
|
|
777
781
|
checkMethod?: ((params: {
|
|
778
|
-
row:
|
|
782
|
+
row: VxeTableDataRow;
|
|
779
783
|
}) => boolean) | undefined;
|
|
780
784
|
visibleMethod?: ((params: {
|
|
781
|
-
row:
|
|
785
|
+
row: VxeTableDataRow;
|
|
782
786
|
}) => boolean) | undefined;
|
|
783
|
-
trigger?: "" | "default" | "
|
|
787
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
784
788
|
highlight?: boolean | undefined;
|
|
785
789
|
range?: boolean | undefined;
|
|
786
790
|
} | undefined;
|
|
@@ -792,11 +796,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
792
796
|
leaveDelay?: number | undefined;
|
|
793
797
|
contentMethod?: ((params: {
|
|
794
798
|
items: any[];
|
|
795
|
-
row:
|
|
799
|
+
row: VxeTableDataRow;
|
|
796
800
|
rowIndex: number;
|
|
797
801
|
$rowIndex: number;
|
|
798
802
|
_rowIndex: number;
|
|
799
|
-
column: VxeTableDefines.ColumnInfo
|
|
803
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
800
804
|
columnIndex: number;
|
|
801
805
|
$columnIndex: number;
|
|
802
806
|
_columnIndex: number;
|
|
@@ -836,12 +840,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
836
840
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
837
841
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
838
842
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
839
|
-
className: VxeColumnPropTypes.ClassName
|
|
840
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
841
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
842
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
843
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
844
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
845
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
846
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
843
847
|
sortable: boolean;
|
|
844
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
848
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
845
849
|
sortType: VxeColumnPropTypes.SortType;
|
|
846
850
|
filters: {
|
|
847
851
|
label?: string | number | undefined;
|
|
@@ -851,7 +855,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
851
855
|
checked?: boolean | undefined;
|
|
852
856
|
}[];
|
|
853
857
|
filterMultiple: boolean;
|
|
854
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
858
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
855
859
|
filterRender: {
|
|
856
860
|
options?: any[] | undefined;
|
|
857
861
|
optionProps?: {
|
|
@@ -881,8 +885,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
881
885
|
};
|
|
882
886
|
treeNode: boolean;
|
|
883
887
|
visible: boolean;
|
|
884
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
885
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
888
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
889
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
886
890
|
titleHelp: {
|
|
887
891
|
useHTML?: boolean | undefined;
|
|
888
892
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -902,7 +906,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
902
906
|
cellType: VxeColumnPropTypes.CellType;
|
|
903
907
|
cellRender: {
|
|
904
908
|
events?: {
|
|
905
|
-
[key: string]: (cellParams:
|
|
909
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
906
910
|
} | undefined;
|
|
907
911
|
options?: any[] | undefined;
|
|
908
912
|
optionProps?: {
|
|
@@ -929,7 +933,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
929
933
|
};
|
|
930
934
|
editRender: {
|
|
931
935
|
events?: {
|
|
932
|
-
[key: string]: (cellParams:
|
|
936
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
933
937
|
} | undefined;
|
|
934
938
|
enabled?: boolean | undefined;
|
|
935
939
|
options?: any[] | undefined;
|
|
@@ -947,7 +951,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
947
951
|
autofocus?: string | undefined;
|
|
948
952
|
autoselect?: boolean | undefined;
|
|
949
953
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
950
|
-
column: VxeTableDefines.ColumnInfo
|
|
954
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
951
955
|
}) => any) | {
|
|
952
956
|
exec: (string: string) => RegExpExecArray | null;
|
|
953
957
|
test: (string: string) => boolean;
|
|
@@ -1073,16 +1077,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1073
1077
|
};
|
|
1074
1078
|
params: any;
|
|
1075
1079
|
slots: {
|
|
1076
|
-
title?: string | ((params:
|
|
1077
|
-
radio?: string | ((params:
|
|
1078
|
-
checkbox?: string | ((params:
|
|
1079
|
-
default?: string | ((params:
|
|
1080
|
-
header?: string | ((params:
|
|
1081
|
-
footer?: string | ((params:
|
|
1082
|
-
content?: string | ((params:
|
|
1083
|
-
filter?: string | ((params:
|
|
1084
|
-
edit?: string | ((params:
|
|
1085
|
-
icon?: string | ((params:
|
|
1080
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1081
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1082
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1083
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1084
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1085
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1086
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1087
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1088
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1089
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1086
1090
|
};
|
|
1087
1091
|
id: string;
|
|
1088
1092
|
parentId: string;
|
|
@@ -1091,6 +1095,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1091
1095
|
colSpan: number;
|
|
1092
1096
|
halfVisible: boolean;
|
|
1093
1097
|
defaultVisible: any;
|
|
1098
|
+
defaultFixed: any;
|
|
1094
1099
|
checked: boolean;
|
|
1095
1100
|
halfChecked: boolean;
|
|
1096
1101
|
disabled: boolean;
|
|
@@ -1104,16 +1109,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1104
1109
|
value: any;
|
|
1105
1110
|
};
|
|
1106
1111
|
children: any[];
|
|
1107
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1112
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1108
1113
|
[key: string]: any;
|
|
1109
1114
|
}>[];
|
|
1110
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1115
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1111
1116
|
[key: string]: any;
|
|
1112
1117
|
}>[];
|
|
1113
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1118
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1114
1119
|
[key: string]: any;
|
|
1115
1120
|
}>[];
|
|
1116
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1121
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1117
1122
|
[key: string]: any;
|
|
1118
1123
|
}>[];
|
|
1119
1124
|
getTitle: () => string;
|
|
@@ -1124,7 +1129,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1124
1129
|
field?: string | undefined;
|
|
1125
1130
|
}[] | undefined;
|
|
1126
1131
|
columnFilterMethod?: ((params: {
|
|
1127
|
-
column: VxeTableDefines.ColumnInfo
|
|
1132
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1128
1133
|
$columnIndex: number;
|
|
1129
1134
|
}) => boolean) | undefined;
|
|
1130
1135
|
dataFilterMethod?: ((params: {
|
|
@@ -1139,8 +1144,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1139
1144
|
useStyle?: boolean | undefined;
|
|
1140
1145
|
sheetMethod?: ((params: VxeTableDefines.ExtortSheetMethodParams) => void) | undefined;
|
|
1141
1146
|
exportMethod?: ((params: {
|
|
1142
|
-
$table: VxeTableConstructor
|
|
1143
|
-
$grid?: VxeGridConstructor | undefined;
|
|
1147
|
+
$table: VxeTableConstructor<any>;
|
|
1148
|
+
$grid?: VxeGridConstructor<any> | undefined;
|
|
1144
1149
|
options: VxeTablePropTypes.ExportHandleOptions;
|
|
1145
1150
|
}) => Promise<any>) | undefined;
|
|
1146
1151
|
beforeExportMethod?: ((params: {
|
|
@@ -1157,17 +1162,17 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1157
1162
|
message?: boolean | undefined;
|
|
1158
1163
|
remote?: boolean | undefined;
|
|
1159
1164
|
importMethod?: ((params: {
|
|
1160
|
-
$table: VxeTableConstructor
|
|
1161
|
-
$grid: VxeGridConstructor
|
|
1165
|
+
$table: VxeTableConstructor<any>;
|
|
1166
|
+
$grid: VxeGridConstructor<any>;
|
|
1162
1167
|
file: File;
|
|
1163
1168
|
options: VxeTablePropTypes.ImportHandleOptions;
|
|
1164
1169
|
}) => Promise<any>) | undefined;
|
|
1165
1170
|
beforeImportMethod?: ((params: {
|
|
1166
|
-
$table: VxeTableConstructor
|
|
1171
|
+
$table: VxeTableConstructor<any>;
|
|
1167
1172
|
options: any;
|
|
1168
1173
|
}) => void) | undefined;
|
|
1169
1174
|
afterImportMethod?: ((params: {
|
|
1170
|
-
$table: VxeTableConstructor
|
|
1175
|
+
$table: VxeTableConstructor<any>;
|
|
1171
1176
|
options: any;
|
|
1172
1177
|
status: boolean;
|
|
1173
1178
|
}) => void) | undefined;
|
|
@@ -1196,12 +1201,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1196
1201
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1197
1202
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1198
1203
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1199
|
-
className: VxeColumnPropTypes.ClassName
|
|
1200
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
1201
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
1202
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
1204
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
1205
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
1206
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
1207
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
1203
1208
|
sortable: boolean;
|
|
1204
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
1209
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
1205
1210
|
sortType: VxeColumnPropTypes.SortType;
|
|
1206
1211
|
filters: {
|
|
1207
1212
|
label?: string | number | undefined;
|
|
@@ -1211,7 +1216,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1211
1216
|
checked?: boolean | undefined;
|
|
1212
1217
|
}[];
|
|
1213
1218
|
filterMultiple: boolean;
|
|
1214
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
1219
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
1215
1220
|
filterRender: {
|
|
1216
1221
|
options?: any[] | undefined;
|
|
1217
1222
|
optionProps?: {
|
|
@@ -1241,8 +1246,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1241
1246
|
};
|
|
1242
1247
|
treeNode: boolean;
|
|
1243
1248
|
visible: boolean;
|
|
1244
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
1245
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
1249
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
1250
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
1246
1251
|
titleHelp: {
|
|
1247
1252
|
useHTML?: boolean | undefined;
|
|
1248
1253
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -1262,7 +1267,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1262
1267
|
cellType: VxeColumnPropTypes.CellType;
|
|
1263
1268
|
cellRender: {
|
|
1264
1269
|
events?: {
|
|
1265
|
-
[key: string]: (cellParams:
|
|
1270
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1266
1271
|
} | undefined;
|
|
1267
1272
|
options?: any[] | undefined;
|
|
1268
1273
|
optionProps?: {
|
|
@@ -1289,7 +1294,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1289
1294
|
};
|
|
1290
1295
|
editRender: {
|
|
1291
1296
|
events?: {
|
|
1292
|
-
[key: string]: (cellParams:
|
|
1297
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1293
1298
|
} | undefined;
|
|
1294
1299
|
enabled?: boolean | undefined;
|
|
1295
1300
|
options?: any[] | undefined;
|
|
@@ -1307,7 +1312,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1307
1312
|
autofocus?: string | undefined;
|
|
1308
1313
|
autoselect?: boolean | undefined;
|
|
1309
1314
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
1310
|
-
column: VxeTableDefines.ColumnInfo
|
|
1315
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1311
1316
|
}) => any) | {
|
|
1312
1317
|
exec: (string: string) => RegExpExecArray | null;
|
|
1313
1318
|
test: (string: string) => boolean;
|
|
@@ -1433,16 +1438,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1433
1438
|
};
|
|
1434
1439
|
params: any;
|
|
1435
1440
|
slots: {
|
|
1436
|
-
title?: string | ((params:
|
|
1437
|
-
radio?: string | ((params:
|
|
1438
|
-
checkbox?: string | ((params:
|
|
1439
|
-
default?: string | ((params:
|
|
1440
|
-
header?: string | ((params:
|
|
1441
|
-
footer?: string | ((params:
|
|
1442
|
-
content?: string | ((params:
|
|
1443
|
-
filter?: string | ((params:
|
|
1444
|
-
edit?: string | ((params:
|
|
1445
|
-
icon?: string | ((params:
|
|
1441
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1442
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1443
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1444
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1445
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1446
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1447
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1448
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1449
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1450
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1446
1451
|
};
|
|
1447
1452
|
id: string;
|
|
1448
1453
|
parentId: string;
|
|
@@ -1451,6 +1456,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1451
1456
|
colSpan: number;
|
|
1452
1457
|
halfVisible: boolean;
|
|
1453
1458
|
defaultVisible: any;
|
|
1459
|
+
defaultFixed: any;
|
|
1454
1460
|
checked: boolean;
|
|
1455
1461
|
halfChecked: boolean;
|
|
1456
1462
|
disabled: boolean;
|
|
@@ -1464,16 +1470,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1464
1470
|
value: any;
|
|
1465
1471
|
};
|
|
1466
1472
|
children: any[];
|
|
1467
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1473
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1468
1474
|
[key: string]: any;
|
|
1469
1475
|
}>[];
|
|
1470
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1476
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1471
1477
|
[key: string]: any;
|
|
1472
1478
|
}>[];
|
|
1473
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1479
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1474
1480
|
[key: string]: any;
|
|
1475
1481
|
}>[];
|
|
1476
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1482
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1477
1483
|
[key: string]: any;
|
|
1478
1484
|
}>[];
|
|
1479
1485
|
getTitle: () => string;
|
|
@@ -1486,7 +1492,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1486
1492
|
style?: string | undefined;
|
|
1487
1493
|
content?: string | undefined;
|
|
1488
1494
|
columnFilterMethod?: ((params: {
|
|
1489
|
-
column: VxeTableDefines.ColumnInfo
|
|
1495
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1490
1496
|
$columnIndex: number;
|
|
1491
1497
|
}) => boolean) | undefined;
|
|
1492
1498
|
dataFilterMethod?: ((params: {
|
|
@@ -1498,7 +1504,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1498
1504
|
$rowIndex: number;
|
|
1499
1505
|
}) => boolean) | undefined;
|
|
1500
1506
|
beforePrintMethod?: ((params: {
|
|
1501
|
-
$table: VxeTableConstructor | null;
|
|
1507
|
+
$table: VxeTableConstructor<any> | null;
|
|
1502
1508
|
content: string;
|
|
1503
1509
|
options: VxeTablePropTypes.PrintHandleOptions;
|
|
1504
1510
|
}) => string) | undefined;
|
|
@@ -1508,27 +1514,27 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1508
1514
|
expandAll?: boolean | undefined;
|
|
1509
1515
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1510
1516
|
accordion?: boolean | undefined;
|
|
1511
|
-
trigger?: "" | "default" | "
|
|
1517
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1512
1518
|
lazy?: boolean | undefined;
|
|
1513
1519
|
reserve?: boolean | undefined;
|
|
1514
1520
|
height?: number | undefined;
|
|
1515
1521
|
loadMethod?: ((params: {
|
|
1516
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1517
|
-
row:
|
|
1522
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1523
|
+
row: VxeTableDataRow;
|
|
1518
1524
|
rowIndex: number;
|
|
1519
1525
|
$rowIndex: number;
|
|
1520
1526
|
}) => Promise<void>) | undefined;
|
|
1521
1527
|
toggleMethod?: ((params: {
|
|
1522
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1528
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1523
1529
|
expanded: boolean;
|
|
1524
|
-
row:
|
|
1530
|
+
row: VxeTableDataRow;
|
|
1525
1531
|
rowIndex: number;
|
|
1526
1532
|
$rowIndex: number;
|
|
1527
|
-
column: VxeTableDefines.ColumnInfo
|
|
1533
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1528
1534
|
columnIndex: number;
|
|
1529
1535
|
$columnIndex: number;
|
|
1530
1536
|
}) => boolean) | undefined;
|
|
1531
|
-
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams) => boolean) | undefined;
|
|
1537
|
+
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1532
1538
|
showIcon?: boolean | undefined;
|
|
1533
1539
|
iconOpen?: string | undefined;
|
|
1534
1540
|
iconClose?: string | undefined;
|
|
@@ -1545,19 +1551,19 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1545
1551
|
expandAll?: boolean | undefined;
|
|
1546
1552
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1547
1553
|
accordion?: boolean | undefined;
|
|
1548
|
-
trigger?: "" | "default" | "
|
|
1554
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1549
1555
|
lazy?: boolean | undefined;
|
|
1550
1556
|
hasChild?: string | undefined;
|
|
1551
1557
|
reserve?: boolean | undefined;
|
|
1552
1558
|
loadMethod?: ((params: {
|
|
1553
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1554
|
-
row:
|
|
1559
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1560
|
+
row: VxeTableDataRow;
|
|
1555
1561
|
}) => Promise<any[]>) | undefined;
|
|
1556
1562
|
toggleMethod?: ((params: {
|
|
1557
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1563
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1558
1564
|
expanded: boolean;
|
|
1559
|
-
row:
|
|
1560
|
-
column: VxeTableDefines.ColumnInfo
|
|
1565
|
+
row: VxeTableDataRow;
|
|
1566
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1561
1567
|
columnIndex: number;
|
|
1562
1568
|
$columnIndex: number;
|
|
1563
1569
|
}) => boolean) | undefined;
|
|
@@ -1644,10 +1650,10 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1644
1650
|
visibleMethod?: ((params: {
|
|
1645
1651
|
type: string;
|
|
1646
1652
|
options: VxeTableDefines.MenuFirstOption[][];
|
|
1647
|
-
columns: VxeTableDefines.ColumnInfo[];
|
|
1648
|
-
row?:
|
|
1653
|
+
columns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1654
|
+
row?: VxeTableDataRow | undefined;
|
|
1649
1655
|
rowIndex?: number | undefined;
|
|
1650
|
-
column?: VxeTableDefines.ColumnInfo | undefined;
|
|
1656
|
+
column?: VxeTableDefines.ColumnInfo<VxeTableDataRow> | undefined;
|
|
1651
1657
|
columnIndex?: number | undefined;
|
|
1652
1658
|
}) => boolean) | undefined;
|
|
1653
1659
|
} | undefined;
|
|
@@ -1657,19 +1663,20 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1657
1663
|
extension?: boolean | undefined;
|
|
1658
1664
|
} | undefined;
|
|
1659
1665
|
areaConfig?: {
|
|
1666
|
+
multiple?: boolean | undefined;
|
|
1660
1667
|
selectCellByHeader?: boolean | undefined;
|
|
1661
1668
|
extendByCopy?: boolean | undefined;
|
|
1662
1669
|
extendByCalc?: boolean | undefined;
|
|
1663
|
-
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => any[][]) | undefined;
|
|
1670
|
+
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => any[][]) | undefined;
|
|
1664
1671
|
extendSetMethod?: ((params: {
|
|
1665
1672
|
cellValue: any;
|
|
1666
|
-
row:
|
|
1667
|
-
column: VxeTableDefines.ColumnInfo
|
|
1668
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => void) | undefined;
|
|
1669
|
-
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1673
|
+
row: VxeTableDataRow;
|
|
1674
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1675
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => void) | undefined;
|
|
1676
|
+
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1670
1677
|
afterExtendSetMethod?: ((params: {
|
|
1671
1678
|
extendValues: any[][];
|
|
1672
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1679
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1673
1680
|
} | undefined;
|
|
1674
1681
|
fnrConfig?: {
|
|
1675
1682
|
isFind?: boolean | undefined;
|
|
@@ -1684,36 +1691,36 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1684
1691
|
beforeFindMethod?: ((params: {
|
|
1685
1692
|
isAll: boolean;
|
|
1686
1693
|
findValue: string | null;
|
|
1687
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1688
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1694
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1695
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1689
1696
|
}) => boolean) | undefined;
|
|
1690
1697
|
afterFindMethod?: ((params: {
|
|
1691
1698
|
isAll: boolean;
|
|
1692
1699
|
findValue: string | null;
|
|
1693
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1694
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1695
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1700
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1701
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1702
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1696
1703
|
}) => void) | undefined;
|
|
1697
1704
|
isReplace?: boolean | undefined;
|
|
1698
1705
|
replaceMethod?: ((params: {
|
|
1699
|
-
row:
|
|
1700
|
-
column: VxeTableDefines.ColumnInfo
|
|
1706
|
+
row: VxeTableDataRow;
|
|
1707
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1701
1708
|
cellValue: any;
|
|
1702
1709
|
}) => void) | undefined;
|
|
1703
1710
|
beforeReplaceMethod?: ((params: {
|
|
1704
1711
|
isAll: boolean;
|
|
1705
1712
|
findValue: string | null;
|
|
1706
1713
|
replaceValue: string;
|
|
1707
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1708
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1714
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1715
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1709
1716
|
}) => boolean) | undefined;
|
|
1710
1717
|
afterReplaceMethod?: ((params: {
|
|
1711
1718
|
isAll: boolean;
|
|
1712
1719
|
findValue: string | null;
|
|
1713
1720
|
replaceValue: string;
|
|
1714
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1715
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1716
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1721
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1722
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1723
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1717
1724
|
}) => void) | undefined;
|
|
1718
1725
|
} | undefined;
|
|
1719
1726
|
keyboardConfig?: {
|
|
@@ -1730,26 +1737,26 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1730
1737
|
isChecked?: boolean | undefined;
|
|
1731
1738
|
enterToTab?: boolean | undefined;
|
|
1732
1739
|
delMethod?: ((params: {
|
|
1733
|
-
row:
|
|
1740
|
+
row: VxeTableDataRow;
|
|
1734
1741
|
rowIndex: number;
|
|
1735
|
-
column: VxeTableDefines.ColumnInfo
|
|
1742
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1736
1743
|
columnIndex: number;
|
|
1737
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1744
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1738
1745
|
}) => void) | undefined;
|
|
1739
1746
|
backMethod?: ((params: {
|
|
1740
|
-
row:
|
|
1747
|
+
row: VxeTableDataRow;
|
|
1741
1748
|
rowIndex: number;
|
|
1742
|
-
column: VxeTableDefines.ColumnInfo
|
|
1749
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1743
1750
|
columnIndex: number;
|
|
1744
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1751
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1745
1752
|
}) => void) | undefined;
|
|
1746
1753
|
editMethod?: ((params: {
|
|
1747
|
-
row:
|
|
1754
|
+
row: VxeTableDataRow;
|
|
1748
1755
|
rowIndex: number;
|
|
1749
|
-
column: VxeTableDefines.ColumnInfo
|
|
1756
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1750
1757
|
columnIndex: number;
|
|
1751
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1752
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1758
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1759
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1753
1760
|
}) => boolean) | undefined;
|
|
1754
1761
|
} | undefined;
|
|
1755
1762
|
clipConfig?: {
|
|
@@ -1761,97 +1768,97 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1761
1768
|
isColumnIncrement?: boolean | undefined;
|
|
1762
1769
|
copyMethod?: ((params: {
|
|
1763
1770
|
isCut: boolean;
|
|
1764
|
-
row:
|
|
1765
|
-
column: VxeTableDefines.ColumnInfo
|
|
1771
|
+
row: VxeTableDataRow;
|
|
1772
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1766
1773
|
cellValue: any;
|
|
1767
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1768
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1774
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1775
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1769
1776
|
}) => string) | undefined;
|
|
1770
1777
|
beforeCopyMethod?: ((params: {
|
|
1771
1778
|
isCut: boolean;
|
|
1772
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1773
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1774
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1775
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1779
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1780
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1781
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1782
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1776
1783
|
}) => boolean) | undefined;
|
|
1777
1784
|
afterCopyMethod?: ((params: {
|
|
1778
1785
|
isCut: boolean;
|
|
1779
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1780
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1781
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1786
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1787
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1788
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1782
1789
|
}) => boolean) | undefined;
|
|
1783
1790
|
cutMethod?: ((params: {
|
|
1784
|
-
row:
|
|
1785
|
-
column: VxeTableDefines.ColumnInfo
|
|
1791
|
+
row: VxeTableDataRow;
|
|
1792
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1786
1793
|
cellValue: any;
|
|
1787
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1788
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1794
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1795
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1789
1796
|
}) => void) | undefined;
|
|
1790
1797
|
beforeCutMethod?: ((params: {
|
|
1791
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1792
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1793
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1794
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1795
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1798
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1799
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1800
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1801
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1802
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1796
1803
|
}) => boolean) | undefined;
|
|
1797
1804
|
afterCutMethod?: ((params: {
|
|
1798
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1799
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1800
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1801
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1805
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1806
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1807
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1808
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1802
1809
|
}) => void) | undefined;
|
|
1803
1810
|
pasteMethod?: ((params: {
|
|
1804
1811
|
isCut: boolean;
|
|
1805
|
-
row:
|
|
1806
|
-
column: VxeTableDefines.ColumnInfo
|
|
1812
|
+
row: VxeTableDataRow;
|
|
1813
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1807
1814
|
cellValue: any;
|
|
1808
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1809
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1815
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1816
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1810
1817
|
}) => void) | undefined;
|
|
1811
1818
|
beforePasteMethod?: ((params: {
|
|
1812
1819
|
isCut: boolean;
|
|
1813
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1814
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1815
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1816
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1820
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1821
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1822
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1823
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1817
1824
|
cellValues: string[][];
|
|
1818
1825
|
pasteCells: string[][];
|
|
1819
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1820
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1826
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1827
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1821
1828
|
}) => boolean) | undefined;
|
|
1822
1829
|
afterPasteMethod?: ((params: {
|
|
1823
1830
|
isCut: boolean;
|
|
1824
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1825
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1826
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1831
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1832
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1833
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1827
1834
|
cellValues: any[][];
|
|
1828
1835
|
pasteCells: string[][];
|
|
1829
|
-
insertRows:
|
|
1830
|
-
insertColumns: VxeTableDefines.ColumnInfo[];
|
|
1831
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1832
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1836
|
+
insertRows: VxeTableDataRow[];
|
|
1837
|
+
insertColumns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1838
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1839
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1833
1840
|
}) => boolean) | undefined;
|
|
1834
1841
|
createRowsMethod?: ((params: {
|
|
1835
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1836
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1842
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1843
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1837
1844
|
cellValues: any[][];
|
|
1838
1845
|
pasteCells: string[][];
|
|
1839
|
-
insertRows:
|
|
1840
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1841
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1842
|
-
}) =>
|
|
1846
|
+
insertRows: VxeTableDataRow[];
|
|
1847
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1848
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1849
|
+
}) => VxeTableDataRow[]) | undefined;
|
|
1843
1850
|
createColumnsMethod?: ((params: {
|
|
1844
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1845
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1851
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1852
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1846
1853
|
cellValues: any[][];
|
|
1847
1854
|
pasteCells: string[][];
|
|
1848
|
-
insertColumns: VxeTableDefines.ColumnOptions[];
|
|
1849
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1850
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1851
|
-
}) => VxeTableDefines.ColumnOptions[]) | undefined;
|
|
1855
|
+
insertColumns: VxeTableDefines.ColumnOptions<VxeTableDataRow>[];
|
|
1856
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1857
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1858
|
+
}) => VxeTableDefines.ColumnOptions<VxeTableDataRow>[]) | undefined;
|
|
1852
1859
|
} | undefined;
|
|
1853
1860
|
editConfig?: {
|
|
1854
|
-
trigger?: "" | "
|
|
1861
|
+
trigger?: "" | "click" | "manual" | "dblclick" | null | undefined;
|
|
1855
1862
|
enabled?: boolean | undefined;
|
|
1856
1863
|
mode?: string | undefined;
|
|
1857
1864
|
icon?: string | undefined;
|
|
@@ -1862,20 +1869,20 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1862
1869
|
showAsterisk?: boolean | undefined;
|
|
1863
1870
|
autoClear?: boolean | undefined;
|
|
1864
1871
|
beforeEditMethod?: ((params: {
|
|
1865
|
-
row:
|
|
1872
|
+
row: VxeTableDataRow;
|
|
1866
1873
|
rowIndex: number;
|
|
1867
|
-
column: VxeTableDefines.ColumnInfo
|
|
1874
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1868
1875
|
columnIndex: number;
|
|
1869
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1870
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1876
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1877
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1871
1878
|
}) => boolean) | undefined;
|
|
1872
1879
|
activeMethod?: ((params: {
|
|
1873
|
-
row:
|
|
1880
|
+
row: VxeTableDataRow;
|
|
1874
1881
|
rowIndex: number;
|
|
1875
|
-
column: VxeTableDefines.ColumnInfo
|
|
1882
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1876
1883
|
columnIndex: number;
|
|
1877
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1878
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1884
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1885
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1879
1886
|
}) => boolean) | undefined;
|
|
1880
1887
|
} | undefined;
|
|
1881
1888
|
validConfig?: {
|
|
@@ -1884,7 +1891,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1884
1891
|
message?: string | undefined;
|
|
1885
1892
|
maxWidth?: number | undefined;
|
|
1886
1893
|
} | undefined;
|
|
1887
|
-
editRules?: VxeTablePropTypes.EditRules | undefined;
|
|
1894
|
+
editRules?: VxeTablePropTypes.EditRules<VxeTableDataRow> | undefined;
|
|
1888
1895
|
emptyText?: string | undefined;
|
|
1889
1896
|
emptyRender?: {
|
|
1890
1897
|
name?: string | undefined;
|
|
@@ -1926,16 +1933,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1926
1933
|
columns?: {
|
|
1927
1934
|
children?: any[] | undefined;
|
|
1928
1935
|
slots?: {
|
|
1929
|
-
title?: string | ((params:
|
|
1930
|
-
radio?: string | ((params:
|
|
1931
|
-
checkbox?: string | ((params:
|
|
1932
|
-
default?: string | ((params:
|
|
1933
|
-
header?: string | ((params:
|
|
1934
|
-
footer?: string | ((params:
|
|
1935
|
-
content?: string | ((params:
|
|
1936
|
-
filter?: string | ((params:
|
|
1937
|
-
edit?: string | ((params:
|
|
1938
|
-
icon?: string | ((params:
|
|
1936
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1937
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1938
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1939
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1940
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1941
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1942
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1943
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1944
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1945
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1939
1946
|
} | undefined;
|
|
1940
1947
|
colId?: VxeColumnPropTypes.ColId | undefined;
|
|
1941
1948
|
type?: VxeColumnPropTypes.Type | undefined;
|
|
@@ -1952,12 +1959,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1952
1959
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
1953
1960
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
1954
1961
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
1955
|
-
className?: VxeColumnPropTypes.ClassName | undefined;
|
|
1956
|
-
headerClassName?: VxeColumnPropTypes.HeaderClassName | undefined;
|
|
1957
|
-
footerClassName?: VxeColumnPropTypes.FooterClassName | undefined;
|
|
1958
|
-
formatter?: VxeColumnPropTypes.Formatter | undefined;
|
|
1962
|
+
className?: VxeColumnPropTypes.ClassName<VxeTableDataRow> | undefined;
|
|
1963
|
+
headerClassName?: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow> | undefined;
|
|
1964
|
+
footerClassName?: VxeColumnPropTypes.FooterClassName<VxeTableDataRow> | undefined;
|
|
1965
|
+
formatter?: VxeColumnPropTypes.Formatter<VxeTableDataRow> | undefined;
|
|
1959
1966
|
sortable?: boolean | undefined;
|
|
1960
|
-
sortBy?: VxeColumnPropTypes.SortBy | undefined;
|
|
1967
|
+
sortBy?: VxeColumnPropTypes.SortBy<VxeTableDataRow> | undefined;
|
|
1961
1968
|
sortType?: VxeColumnPropTypes.SortType | undefined;
|
|
1962
1969
|
filters?: {
|
|
1963
1970
|
label?: string | number | undefined;
|
|
@@ -1967,7 +1974,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1967
1974
|
checked?: boolean | undefined;
|
|
1968
1975
|
}[] | undefined;
|
|
1969
1976
|
filterMultiple?: boolean | undefined;
|
|
1970
|
-
filterMethod?: VxeColumnPropTypes.FilterMethod | undefined;
|
|
1977
|
+
filterMethod?: VxeColumnPropTypes.FilterMethod<VxeTableDataRow> | undefined;
|
|
1971
1978
|
filterRender?: {
|
|
1972
1979
|
options?: any[] | undefined;
|
|
1973
1980
|
optionProps?: {
|
|
@@ -1997,8 +2004,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
1997
2004
|
} | undefined;
|
|
1998
2005
|
treeNode?: boolean | undefined;
|
|
1999
2006
|
visible?: boolean | undefined;
|
|
2000
|
-
exportMethod?: VxeColumnPropTypes.ExportMethod | undefined;
|
|
2001
|
-
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod | undefined;
|
|
2007
|
+
exportMethod?: VxeColumnPropTypes.ExportMethod<VxeTableDataRow> | undefined;
|
|
2008
|
+
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow> | undefined;
|
|
2002
2009
|
titleHelp?: {
|
|
2003
2010
|
useHTML?: boolean | undefined;
|
|
2004
2011
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2018,7 +2025,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2018
2025
|
cellType?: VxeColumnPropTypes.CellType | undefined;
|
|
2019
2026
|
cellRender?: {
|
|
2020
2027
|
events?: {
|
|
2021
|
-
[key: string]: (cellParams:
|
|
2028
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2022
2029
|
} | undefined;
|
|
2023
2030
|
options?: any[] | undefined;
|
|
2024
2031
|
optionProps?: {
|
|
@@ -2045,7 +2052,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2045
2052
|
} | undefined;
|
|
2046
2053
|
editRender?: {
|
|
2047
2054
|
events?: {
|
|
2048
|
-
[key: string]: (cellParams:
|
|
2055
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2049
2056
|
} | undefined;
|
|
2050
2057
|
enabled?: boolean | undefined;
|
|
2051
2058
|
options?: any[] | undefined;
|
|
@@ -2063,7 +2070,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2063
2070
|
autofocus?: string | undefined;
|
|
2064
2071
|
autoselect?: boolean | undefined;
|
|
2065
2072
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
2066
|
-
column: VxeTableDefines.ColumnInfo
|
|
2073
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2067
2074
|
}) => any) | {
|
|
2068
2075
|
exec: (string: string) => RegExpExecArray | null;
|
|
2069
2076
|
test: (string: string) => boolean;
|
|
@@ -2193,7 +2200,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2193
2200
|
enabled?: boolean | undefined;
|
|
2194
2201
|
slots?: any;
|
|
2195
2202
|
size?: SizeType | undefined;
|
|
2196
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2203
|
+
layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
2197
2204
|
currentPage?: number | undefined;
|
|
2198
2205
|
loading?: boolean | undefined;
|
|
2199
2206
|
pageSize?: number | undefined;
|
|
@@ -2232,15 +2239,14 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2232
2239
|
message?: string | undefined;
|
|
2233
2240
|
} | undefined;
|
|
2234
2241
|
ajax?: {
|
|
2235
|
-
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams
|
|
2236
|
-
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams
|
|
2237
|
-
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams
|
|
2238
|
-
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams
|
|
2242
|
+
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2243
|
+
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2244
|
+
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2245
|
+
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2239
2246
|
} | undefined;
|
|
2240
2247
|
} | undefined;
|
|
2241
2248
|
toolbarConfig?: {
|
|
2242
2249
|
enabled?: boolean | undefined;
|
|
2243
|
-
buttons?: any[] | undefined;
|
|
2244
2250
|
zoom?: boolean | {
|
|
2245
2251
|
escRestore?: boolean | undefined;
|
|
2246
2252
|
iconIn?: string | undefined;
|
|
@@ -2267,7 +2273,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2267
2273
|
refresh?: boolean | {
|
|
2268
2274
|
queryMethod?: ((params: {
|
|
2269
2275
|
[key: string]: any;
|
|
2270
|
-
}) =>
|
|
2276
|
+
}) => any) | undefined;
|
|
2271
2277
|
code?: "" | "query" | "reload" | null | undefined;
|
|
2272
2278
|
icon?: string | undefined;
|
|
2273
2279
|
iconLoading?: string | undefined;
|
|
@@ -2289,11 +2295,45 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2289
2295
|
immediate?: boolean | undefined;
|
|
2290
2296
|
storage?: boolean | undefined;
|
|
2291
2297
|
checkMethod?: ((params: {
|
|
2292
|
-
column: VxeTableDefines.ColumnInfo
|
|
2298
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2293
2299
|
}) => boolean) | undefined;
|
|
2294
2300
|
isFooter?: boolean | undefined;
|
|
2295
2301
|
icon?: string | undefined;
|
|
2296
2302
|
} | undefined;
|
|
2303
|
+
buttons?: {
|
|
2304
|
+
dropdowns?: any[] | undefined;
|
|
2305
|
+
buttonRender?: {
|
|
2306
|
+
name?: string | undefined;
|
|
2307
|
+
props?: {
|
|
2308
|
+
[key: string]: any;
|
|
2309
|
+
} | undefined;
|
|
2310
|
+
attrs?: {
|
|
2311
|
+
[key: string]: any;
|
|
2312
|
+
} | undefined;
|
|
2313
|
+
events?: {
|
|
2314
|
+
[key: string]: (...args: any[]) => any;
|
|
2315
|
+
} | undefined;
|
|
2316
|
+
children?: any[] | undefined;
|
|
2317
|
+
cellType?: "string" | "number" | undefined;
|
|
2318
|
+
} | undefined;
|
|
2319
|
+
code?: string | undefined;
|
|
2320
|
+
visible?: boolean | undefined;
|
|
2321
|
+
params?: any;
|
|
2322
|
+
size?: SizeType | undefined;
|
|
2323
|
+
type?: string | undefined;
|
|
2324
|
+
className?: string | undefined;
|
|
2325
|
+
name?: VxeButtonPropTypes.Name | undefined;
|
|
2326
|
+
content?: string | undefined;
|
|
2327
|
+
placement?: string | undefined;
|
|
2328
|
+
status?: string | undefined;
|
|
2329
|
+
icon?: string | undefined;
|
|
2330
|
+
round?: boolean | undefined;
|
|
2331
|
+
circle?: boolean | undefined;
|
|
2332
|
+
disabled?: boolean | undefined;
|
|
2333
|
+
loading?: boolean | undefined;
|
|
2334
|
+
destroyOnClose?: boolean | undefined;
|
|
2335
|
+
transfer?: boolean | undefined;
|
|
2336
|
+
}[] | undefined;
|
|
2297
2337
|
tools?: {
|
|
2298
2338
|
dropdowns?: any[] | undefined;
|
|
2299
2339
|
toolRender?: {
|
|
@@ -2342,7 +2382,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2342
2382
|
titleWidth?: VxeFormPropTypes.TitleWidth | undefined;
|
|
2343
2383
|
titleColon?: boolean | undefined;
|
|
2344
2384
|
titleAsterisk?: boolean | undefined;
|
|
2385
|
+
showTitle?: boolean | undefined;
|
|
2345
2386
|
className?: VxeFormItemPropTypes.ClassName | undefined;
|
|
2387
|
+
contentClassName?: VxeFormItemPropTypes.ContentClassName | undefined;
|
|
2388
|
+
contentStyle?: VxeFormItemPropTypes.ContentStyle | undefined;
|
|
2389
|
+
titleClassName?: VxeFormItemPropTypes.TitleClassName | undefined;
|
|
2390
|
+
titleStyle?: VxeFormItemPropTypes.TitleStyle | undefined;
|
|
2346
2391
|
titlePrefix?: {
|
|
2347
2392
|
useHTML?: boolean | undefined;
|
|
2348
2393
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2379,7 +2424,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2379
2424
|
key?: string | undefined;
|
|
2380
2425
|
} | undefined;
|
|
2381
2426
|
content?: string | undefined;
|
|
2382
|
-
autofocus?:
|
|
2427
|
+
autofocus?: string | undefined;
|
|
2383
2428
|
defaultValue?: string | number | object | any[] | {
|
|
2384
2429
|
exec: (string: string) => RegExpExecArray | null;
|
|
2385
2430
|
test: (string: string) => boolean;
|
|
@@ -2525,7 +2570,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2525
2570
|
operaOptions: {
|
|
2526
2571
|
size?: SizeType | undefined;
|
|
2527
2572
|
id?: string | undefined;
|
|
2528
|
-
data?:
|
|
2573
|
+
data?: VxeTableDataRow[] | undefined;
|
|
2529
2574
|
height?: VxeTablePropTypes.Height | undefined;
|
|
2530
2575
|
maxHeight?: VxeTablePropTypes.MaxHeight | undefined;
|
|
2531
2576
|
resizable?: boolean | undefined;
|
|
@@ -2543,19 +2588,19 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2543
2588
|
highlightHoverColumn?: boolean | undefined;
|
|
2544
2589
|
highlightCell?: boolean | undefined;
|
|
2545
2590
|
showFooter?: boolean | undefined;
|
|
2546
|
-
footerMethod?: VxeTablePropTypes.FooterMethod | undefined;
|
|
2547
|
-
rowClassName?: VxeTablePropTypes.RowClassName | undefined;
|
|
2548
|
-
cellClassName?: VxeTablePropTypes.CellClassName | undefined;
|
|
2549
|
-
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName | undefined;
|
|
2550
|
-
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName | undefined;
|
|
2551
|
-
footerRowClassName?: VxeTablePropTypes.FooterRowClassName | undefined;
|
|
2552
|
-
footerCellClassName?: VxeTablePropTypes.FooterCellClassName | undefined;
|
|
2553
|
-
cellStyle?: VxeTablePropTypes.CellStyle | undefined;
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2591
|
+
footerMethod?: VxeTablePropTypes.FooterMethod<VxeTableDataRow> | undefined;
|
|
2592
|
+
rowClassName?: VxeTablePropTypes.RowClassName<VxeTableDataRow> | undefined;
|
|
2593
|
+
cellClassName?: VxeTablePropTypes.CellClassName<VxeTableDataRow> | undefined;
|
|
2594
|
+
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName<VxeTableDataRow> | undefined;
|
|
2595
|
+
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName<VxeTableDataRow> | undefined;
|
|
2596
|
+
footerRowClassName?: VxeTablePropTypes.FooterRowClassName<VxeTableDataRow> | undefined;
|
|
2597
|
+
footerCellClassName?: VxeTablePropTypes.FooterCellClassName<VxeTableDataRow> | undefined;
|
|
2598
|
+
cellStyle?: VxeTablePropTypes.CellStyle<VxeTableDataRow> | undefined;
|
|
2599
|
+
rowStyle?: VxeTablePropTypes.RowStyle<VxeTableDataRow> | undefined;
|
|
2600
|
+
headerCellStyle?: VxeTablePropTypes.HeaderCellStyle<VxeTableDataRow> | undefined;
|
|
2601
|
+
headerRowStyle?: VxeTablePropTypes.HeaderRowStyle<VxeTableDataRow> | undefined;
|
|
2602
|
+
footerRowStyle?: VxeTablePropTypes.FooterRowStyle<VxeTableDataRow> | undefined;
|
|
2603
|
+
footerCellStyle?: VxeTablePropTypes.FooterCellStyle<VxeTableDataRow> | undefined;
|
|
2559
2604
|
mergeCells?: {
|
|
2560
2605
|
row: any;
|
|
2561
2606
|
col: number | {
|
|
@@ -2574,12 +2619,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2574
2619
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
2575
2620
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
2576
2621
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
2577
|
-
className: VxeColumnPropTypes.ClassName
|
|
2578
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
2579
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
2580
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
2622
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
2623
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
2624
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
2625
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
2581
2626
|
sortable: boolean;
|
|
2582
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
2627
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
2583
2628
|
sortType: VxeColumnPropTypes.SortType;
|
|
2584
2629
|
filters: {
|
|
2585
2630
|
label?: string | number | undefined;
|
|
@@ -2589,7 +2634,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2589
2634
|
checked?: boolean | undefined;
|
|
2590
2635
|
}[];
|
|
2591
2636
|
filterMultiple: boolean;
|
|
2592
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
2637
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
2593
2638
|
filterRender: {
|
|
2594
2639
|
options?: any[] | undefined;
|
|
2595
2640
|
optionProps?: {
|
|
@@ -2619,8 +2664,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2619
2664
|
};
|
|
2620
2665
|
treeNode: boolean;
|
|
2621
2666
|
visible: boolean;
|
|
2622
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
2623
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
2667
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
2668
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
2624
2669
|
titleHelp: {
|
|
2625
2670
|
useHTML?: boolean | undefined;
|
|
2626
2671
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2640,7 +2685,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2640
2685
|
cellType: VxeColumnPropTypes.CellType;
|
|
2641
2686
|
cellRender: {
|
|
2642
2687
|
events?: {
|
|
2643
|
-
[key: string]: (cellParams:
|
|
2688
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2644
2689
|
} | undefined;
|
|
2645
2690
|
options?: any[] | undefined;
|
|
2646
2691
|
optionProps?: {
|
|
@@ -2667,7 +2712,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2667
2712
|
};
|
|
2668
2713
|
editRender: {
|
|
2669
2714
|
events?: {
|
|
2670
|
-
[key: string]: (cellParams:
|
|
2715
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2671
2716
|
} | undefined;
|
|
2672
2717
|
enabled?: boolean | undefined;
|
|
2673
2718
|
options?: any[] | undefined;
|
|
@@ -2685,7 +2730,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2685
2730
|
autofocus?: string | undefined;
|
|
2686
2731
|
autoselect?: boolean | undefined;
|
|
2687
2732
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
2688
|
-
column: VxeTableDefines.ColumnInfo
|
|
2733
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2689
2734
|
}) => any) | {
|
|
2690
2735
|
exec: (string: string) => RegExpExecArray | null;
|
|
2691
2736
|
test: (string: string) => boolean;
|
|
@@ -2811,16 +2856,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2811
2856
|
};
|
|
2812
2857
|
params: any;
|
|
2813
2858
|
slots: {
|
|
2814
|
-
title?: string | ((params:
|
|
2815
|
-
radio?: string | ((params:
|
|
2816
|
-
checkbox?: string | ((params:
|
|
2817
|
-
default?: string | ((params:
|
|
2818
|
-
header?: string | ((params:
|
|
2819
|
-
footer?: string | ((params:
|
|
2820
|
-
content?: string | ((params:
|
|
2821
|
-
filter?: string | ((params:
|
|
2822
|
-
edit?: string | ((params:
|
|
2823
|
-
icon?: string | ((params:
|
|
2859
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2860
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2861
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2862
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2863
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2864
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2865
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2866
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2867
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2868
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
2824
2869
|
};
|
|
2825
2870
|
id: string;
|
|
2826
2871
|
parentId: string;
|
|
@@ -2829,6 +2874,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2829
2874
|
colSpan: number;
|
|
2830
2875
|
halfVisible: boolean;
|
|
2831
2876
|
defaultVisible: any;
|
|
2877
|
+
defaultFixed: any;
|
|
2832
2878
|
checked: boolean;
|
|
2833
2879
|
halfChecked: boolean;
|
|
2834
2880
|
disabled: boolean;
|
|
@@ -2842,16 +2888,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2842
2888
|
value: any;
|
|
2843
2889
|
};
|
|
2844
2890
|
children: any[];
|
|
2845
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
2891
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
2846
2892
|
[key: string]: any;
|
|
2847
2893
|
}>[];
|
|
2848
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
2894
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
2849
2895
|
[key: string]: any;
|
|
2850
2896
|
}>[];
|
|
2851
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
2897
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
2852
2898
|
[key: string]: any;
|
|
2853
2899
|
}>[];
|
|
2854
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
2900
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
2855
2901
|
[key: string]: any;
|
|
2856
2902
|
}>[];
|
|
2857
2903
|
getTitle: () => string;
|
|
@@ -2878,12 +2924,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2878
2924
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
2879
2925
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
2880
2926
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
2881
|
-
className: VxeColumnPropTypes.ClassName
|
|
2882
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
2883
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
2884
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
2927
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
2928
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
2929
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
2930
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
2885
2931
|
sortable: boolean;
|
|
2886
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
2932
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
2887
2933
|
sortType: VxeColumnPropTypes.SortType;
|
|
2888
2934
|
filters: {
|
|
2889
2935
|
label?: string | number | undefined;
|
|
@@ -2893,7 +2939,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2893
2939
|
checked?: boolean | undefined;
|
|
2894
2940
|
}[];
|
|
2895
2941
|
filterMultiple: boolean;
|
|
2896
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
2942
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
2897
2943
|
filterRender: {
|
|
2898
2944
|
options?: any[] | undefined;
|
|
2899
2945
|
optionProps?: {
|
|
@@ -2923,8 +2969,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2923
2969
|
};
|
|
2924
2970
|
treeNode: boolean;
|
|
2925
2971
|
visible: boolean;
|
|
2926
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
2927
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
2972
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
2973
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
2928
2974
|
titleHelp: {
|
|
2929
2975
|
useHTML?: boolean | undefined;
|
|
2930
2976
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2944,7 +2990,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2944
2990
|
cellType: VxeColumnPropTypes.CellType;
|
|
2945
2991
|
cellRender: {
|
|
2946
2992
|
events?: {
|
|
2947
|
-
[key: string]: (cellParams:
|
|
2993
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2948
2994
|
} | undefined;
|
|
2949
2995
|
options?: any[] | undefined;
|
|
2950
2996
|
optionProps?: {
|
|
@@ -2971,7 +3017,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2971
3017
|
};
|
|
2972
3018
|
editRender: {
|
|
2973
3019
|
events?: {
|
|
2974
|
-
[key: string]: (cellParams:
|
|
3020
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2975
3021
|
} | undefined;
|
|
2976
3022
|
enabled?: boolean | undefined;
|
|
2977
3023
|
options?: any[] | undefined;
|
|
@@ -2989,7 +3035,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
2989
3035
|
autofocus?: string | undefined;
|
|
2990
3036
|
autoselect?: boolean | undefined;
|
|
2991
3037
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
2992
|
-
column: VxeTableDefines.ColumnInfo
|
|
3038
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2993
3039
|
}) => any) | {
|
|
2994
3040
|
exec: (string: string) => RegExpExecArray | null;
|
|
2995
3041
|
test: (string: string) => boolean;
|
|
@@ -3115,16 +3161,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3115
3161
|
};
|
|
3116
3162
|
params: any;
|
|
3117
3163
|
slots: {
|
|
3118
|
-
title?: string | ((params:
|
|
3119
|
-
radio?: string | ((params:
|
|
3120
|
-
checkbox?: string | ((params:
|
|
3121
|
-
default?: string | ((params:
|
|
3122
|
-
header?: string | ((params:
|
|
3123
|
-
footer?: string | ((params:
|
|
3124
|
-
content?: string | ((params:
|
|
3125
|
-
filter?: string | ((params:
|
|
3126
|
-
edit?: string | ((params:
|
|
3127
|
-
icon?: string | ((params:
|
|
3164
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3165
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3166
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3167
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3168
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3169
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3170
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3171
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3172
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3173
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3128
3174
|
};
|
|
3129
3175
|
id: string;
|
|
3130
3176
|
parentId: string;
|
|
@@ -3133,6 +3179,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3133
3179
|
colSpan: number;
|
|
3134
3180
|
halfVisible: boolean;
|
|
3135
3181
|
defaultVisible: any;
|
|
3182
|
+
defaultFixed: any;
|
|
3136
3183
|
checked: boolean;
|
|
3137
3184
|
halfChecked: boolean;
|
|
3138
3185
|
disabled: boolean;
|
|
@@ -3146,16 +3193,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3146
3193
|
value: any;
|
|
3147
3194
|
};
|
|
3148
3195
|
children: any[];
|
|
3149
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
3196
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3150
3197
|
[key: string]: any;
|
|
3151
3198
|
}>[];
|
|
3152
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
3199
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3153
3200
|
[key: string]: any;
|
|
3154
3201
|
}>[];
|
|
3155
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
3202
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3156
3203
|
[key: string]: any;
|
|
3157
3204
|
}>[];
|
|
3158
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
3205
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3159
3206
|
[key: string]: any;
|
|
3160
3207
|
}>[];
|
|
3161
3208
|
getTitle: () => string;
|
|
@@ -3164,8 +3211,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3164
3211
|
rowspan: number;
|
|
3165
3212
|
colspan: number;
|
|
3166
3213
|
}[] | undefined;
|
|
3167
|
-
spanMethod?: VxeTablePropTypes.SpanMethod | undefined;
|
|
3168
|
-
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod | undefined;
|
|
3214
|
+
spanMethod?: VxeTablePropTypes.SpanMethod<VxeTableDataRow> | undefined;
|
|
3215
|
+
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod<VxeTableDataRow> | undefined;
|
|
3169
3216
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
3170
3217
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
3171
3218
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
@@ -3195,9 +3242,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3195
3242
|
storage?: boolean | {
|
|
3196
3243
|
visible?: boolean | undefined;
|
|
3197
3244
|
resizable?: boolean | undefined;
|
|
3245
|
+
fixed?: boolean | undefined;
|
|
3246
|
+
order?: boolean | undefined;
|
|
3198
3247
|
} | undefined;
|
|
3199
3248
|
checkMethod?: ((params: {
|
|
3200
|
-
column: VxeTableDefines.ColumnInfo
|
|
3249
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3201
3250
|
}) => boolean) | undefined;
|
|
3202
3251
|
} | undefined;
|
|
3203
3252
|
resizeConfig?: {
|
|
@@ -3205,16 +3254,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3205
3254
|
} | undefined;
|
|
3206
3255
|
resizableConfig?: {
|
|
3207
3256
|
minWidth?: string | number | ((params: {
|
|
3208
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
3209
|
-
column: VxeTableDefines.ColumnInfo
|
|
3257
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
3258
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3210
3259
|
columnIndex: number;
|
|
3211
3260
|
$columnIndex: number;
|
|
3212
3261
|
$rowIndex: number;
|
|
3213
3262
|
cell: HTMLElement;
|
|
3214
3263
|
}) => string | number) | undefined;
|
|
3215
3264
|
maxWidth?: string | number | ((params: {
|
|
3216
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
3217
|
-
column: VxeTableDefines.ColumnInfo
|
|
3265
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
3266
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3218
3267
|
columnIndex: number;
|
|
3219
3268
|
$columnIndex: number;
|
|
3220
3269
|
$rowIndex: number;
|
|
@@ -3224,10 +3273,10 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3224
3273
|
seqConfig?: {
|
|
3225
3274
|
startIndex?: number | undefined;
|
|
3226
3275
|
seqMethod?: ((params: {
|
|
3227
|
-
column: VxeTableDefines.ColumnInfo
|
|
3276
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3228
3277
|
columnIndex: number;
|
|
3229
3278
|
$columnIndex: number;
|
|
3230
|
-
row:
|
|
3279
|
+
row: VxeTableDataRow;
|
|
3231
3280
|
rowIndex: number;
|
|
3232
3281
|
$rowIndex: number;
|
|
3233
3282
|
}) => string | number) | undefined;
|
|
@@ -3242,9 +3291,9 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3242
3291
|
}[] | undefined;
|
|
3243
3292
|
orders?: VxeTablePropTypes.SortOrder[] | undefined;
|
|
3244
3293
|
sortMethod?: ((params: {
|
|
3245
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
3246
|
-
data:
|
|
3247
|
-
sortList: VxeTableDefines.SortCheckedParams[];
|
|
3294
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
3295
|
+
data: VxeTableDataRow[];
|
|
3296
|
+
sortList: VxeTableDefines.SortCheckedParams<VxeTableDataRow>[];
|
|
3248
3297
|
}) => any[]) | undefined;
|
|
3249
3298
|
remote?: boolean | undefined;
|
|
3250
3299
|
multiple?: boolean | undefined;
|
|
@@ -3259,8 +3308,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3259
3308
|
options: VxeTableDefines.FilterOption[];
|
|
3260
3309
|
values: any[];
|
|
3261
3310
|
cellValue: any;
|
|
3262
|
-
row:
|
|
3263
|
-
column: VxeTableDefines.ColumnInfo
|
|
3311
|
+
row: VxeTableDataRow;
|
|
3312
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3264
3313
|
}) => any) | undefined;
|
|
3265
3314
|
remote?: boolean | undefined;
|
|
3266
3315
|
showIcon?: boolean | undefined;
|
|
@@ -3272,12 +3321,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3272
3321
|
labelField?: string | undefined;
|
|
3273
3322
|
checkRowKey?: string | number | undefined;
|
|
3274
3323
|
checkMethod?: ((params: {
|
|
3275
|
-
row:
|
|
3324
|
+
row: VxeTableDataRow;
|
|
3276
3325
|
}) => boolean) | undefined;
|
|
3277
3326
|
visibleMethod?: ((params: {
|
|
3278
|
-
row:
|
|
3327
|
+
row: VxeTableDataRow;
|
|
3279
3328
|
}) => boolean) | undefined;
|
|
3280
|
-
trigger?: "" | "default" | "
|
|
3329
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
3281
3330
|
highlight?: boolean | undefined;
|
|
3282
3331
|
strict?: boolean | undefined;
|
|
3283
3332
|
} | undefined;
|
|
@@ -3292,12 +3341,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3292
3341
|
checkStrictly?: boolean | undefined;
|
|
3293
3342
|
strict?: boolean | undefined;
|
|
3294
3343
|
checkMethod?: ((params: {
|
|
3295
|
-
row:
|
|
3344
|
+
row: VxeTableDataRow;
|
|
3296
3345
|
}) => boolean) | undefined;
|
|
3297
3346
|
visibleMethod?: ((params: {
|
|
3298
|
-
row:
|
|
3347
|
+
row: VxeTableDataRow;
|
|
3299
3348
|
}) => boolean) | undefined;
|
|
3300
|
-
trigger?: "" | "default" | "
|
|
3349
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
3301
3350
|
highlight?: boolean | undefined;
|
|
3302
3351
|
range?: boolean | undefined;
|
|
3303
3352
|
} | undefined;
|
|
@@ -3309,11 +3358,11 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3309
3358
|
leaveDelay?: number | undefined;
|
|
3310
3359
|
contentMethod?: ((params: {
|
|
3311
3360
|
items: any[];
|
|
3312
|
-
row:
|
|
3361
|
+
row: VxeTableDataRow;
|
|
3313
3362
|
rowIndex: number;
|
|
3314
3363
|
$rowIndex: number;
|
|
3315
3364
|
_rowIndex: number;
|
|
3316
|
-
column: VxeTableDefines.ColumnInfo
|
|
3365
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3317
3366
|
columnIndex: number;
|
|
3318
3367
|
$columnIndex: number;
|
|
3319
3368
|
_columnIndex: number;
|
|
@@ -3353,12 +3402,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3353
3402
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
3354
3403
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
3355
3404
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
3356
|
-
className: VxeColumnPropTypes.ClassName
|
|
3357
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
3358
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
3359
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
3405
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
3406
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
3407
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
3408
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
3360
3409
|
sortable: boolean;
|
|
3361
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
3410
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
3362
3411
|
sortType: VxeColumnPropTypes.SortType;
|
|
3363
3412
|
filters: {
|
|
3364
3413
|
label?: string | number | undefined;
|
|
@@ -3368,7 +3417,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3368
3417
|
checked?: boolean | undefined;
|
|
3369
3418
|
}[];
|
|
3370
3419
|
filterMultiple: boolean;
|
|
3371
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
3420
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
3372
3421
|
filterRender: {
|
|
3373
3422
|
options?: any[] | undefined;
|
|
3374
3423
|
optionProps?: {
|
|
@@ -3398,8 +3447,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3398
3447
|
};
|
|
3399
3448
|
treeNode: boolean;
|
|
3400
3449
|
visible: boolean;
|
|
3401
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
3402
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
3450
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
3451
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
3403
3452
|
titleHelp: {
|
|
3404
3453
|
useHTML?: boolean | undefined;
|
|
3405
3454
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -3419,7 +3468,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3419
3468
|
cellType: VxeColumnPropTypes.CellType;
|
|
3420
3469
|
cellRender: {
|
|
3421
3470
|
events?: {
|
|
3422
|
-
[key: string]: (cellParams:
|
|
3471
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
3423
3472
|
} | undefined;
|
|
3424
3473
|
options?: any[] | undefined;
|
|
3425
3474
|
optionProps?: {
|
|
@@ -3446,7 +3495,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3446
3495
|
};
|
|
3447
3496
|
editRender: {
|
|
3448
3497
|
events?: {
|
|
3449
|
-
[key: string]: (cellParams:
|
|
3498
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
3450
3499
|
} | undefined;
|
|
3451
3500
|
enabled?: boolean | undefined;
|
|
3452
3501
|
options?: any[] | undefined;
|
|
@@ -3464,7 +3513,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3464
3513
|
autofocus?: string | undefined;
|
|
3465
3514
|
autoselect?: boolean | undefined;
|
|
3466
3515
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
3467
|
-
column: VxeTableDefines.ColumnInfo
|
|
3516
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3468
3517
|
}) => any) | {
|
|
3469
3518
|
exec: (string: string) => RegExpExecArray | null;
|
|
3470
3519
|
test: (string: string) => boolean;
|
|
@@ -3590,16 +3639,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3590
3639
|
};
|
|
3591
3640
|
params: any;
|
|
3592
3641
|
slots: {
|
|
3593
|
-
title?: string | ((params:
|
|
3594
|
-
radio?: string | ((params:
|
|
3595
|
-
checkbox?: string | ((params:
|
|
3596
|
-
default?: string | ((params:
|
|
3597
|
-
header?: string | ((params:
|
|
3598
|
-
footer?: string | ((params:
|
|
3599
|
-
content?: string | ((params:
|
|
3600
|
-
filter?: string | ((params:
|
|
3601
|
-
edit?: string | ((params:
|
|
3602
|
-
icon?: string | ((params:
|
|
3642
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3643
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3644
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3645
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3646
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3647
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3648
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3649
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3650
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3651
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3603
3652
|
};
|
|
3604
3653
|
id: string;
|
|
3605
3654
|
parentId: string;
|
|
@@ -3608,6 +3657,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3608
3657
|
colSpan: number;
|
|
3609
3658
|
halfVisible: boolean;
|
|
3610
3659
|
defaultVisible: any;
|
|
3660
|
+
defaultFixed: any;
|
|
3611
3661
|
checked: boolean;
|
|
3612
3662
|
halfChecked: boolean;
|
|
3613
3663
|
disabled: boolean;
|
|
@@ -3621,16 +3671,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3621
3671
|
value: any;
|
|
3622
3672
|
};
|
|
3623
3673
|
children: any[];
|
|
3624
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
3674
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3625
3675
|
[key: string]: any;
|
|
3626
3676
|
}>[];
|
|
3627
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
3677
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3628
3678
|
[key: string]: any;
|
|
3629
3679
|
}>[];
|
|
3630
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
3680
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3631
3681
|
[key: string]: any;
|
|
3632
3682
|
}>[];
|
|
3633
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
3683
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3634
3684
|
[key: string]: any;
|
|
3635
3685
|
}>[];
|
|
3636
3686
|
getTitle: () => string;
|
|
@@ -3641,7 +3691,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3641
3691
|
field?: string | undefined;
|
|
3642
3692
|
}[] | undefined;
|
|
3643
3693
|
columnFilterMethod?: ((params: {
|
|
3644
|
-
column: VxeTableDefines.ColumnInfo
|
|
3694
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3645
3695
|
$columnIndex: number;
|
|
3646
3696
|
}) => boolean) | undefined;
|
|
3647
3697
|
dataFilterMethod?: ((params: {
|
|
@@ -3656,8 +3706,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3656
3706
|
useStyle?: boolean | undefined;
|
|
3657
3707
|
sheetMethod?: ((params: VxeTableDefines.ExtortSheetMethodParams) => void) | undefined;
|
|
3658
3708
|
exportMethod?: ((params: {
|
|
3659
|
-
$table: VxeTableConstructor
|
|
3660
|
-
$grid?: VxeGridConstructor | undefined;
|
|
3709
|
+
$table: VxeTableConstructor<any>;
|
|
3710
|
+
$grid?: VxeGridConstructor<any> | undefined;
|
|
3661
3711
|
options: VxeTablePropTypes.ExportHandleOptions;
|
|
3662
3712
|
}) => Promise<any>) | undefined;
|
|
3663
3713
|
beforeExportMethod?: ((params: {
|
|
@@ -3674,17 +3724,17 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3674
3724
|
message?: boolean | undefined;
|
|
3675
3725
|
remote?: boolean | undefined;
|
|
3676
3726
|
importMethod?: ((params: {
|
|
3677
|
-
$table: VxeTableConstructor
|
|
3678
|
-
$grid: VxeGridConstructor
|
|
3727
|
+
$table: VxeTableConstructor<any>;
|
|
3728
|
+
$grid: VxeGridConstructor<any>;
|
|
3679
3729
|
file: File;
|
|
3680
3730
|
options: VxeTablePropTypes.ImportHandleOptions;
|
|
3681
3731
|
}) => Promise<any>) | undefined;
|
|
3682
3732
|
beforeImportMethod?: ((params: {
|
|
3683
|
-
$table: VxeTableConstructor
|
|
3733
|
+
$table: VxeTableConstructor<any>;
|
|
3684
3734
|
options: any;
|
|
3685
3735
|
}) => void) | undefined;
|
|
3686
3736
|
afterImportMethod?: ((params: {
|
|
3687
|
-
$table: VxeTableConstructor
|
|
3737
|
+
$table: VxeTableConstructor<any>;
|
|
3688
3738
|
options: any;
|
|
3689
3739
|
status: boolean;
|
|
3690
3740
|
}) => void) | undefined;
|
|
@@ -3713,12 +3763,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3713
3763
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
3714
3764
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
3715
3765
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
3716
|
-
className: VxeColumnPropTypes.ClassName
|
|
3717
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
3718
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
3719
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
3766
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
3767
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
3768
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
3769
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
3720
3770
|
sortable: boolean;
|
|
3721
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
3771
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
3722
3772
|
sortType: VxeColumnPropTypes.SortType;
|
|
3723
3773
|
filters: {
|
|
3724
3774
|
label?: string | number | undefined;
|
|
@@ -3728,7 +3778,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3728
3778
|
checked?: boolean | undefined;
|
|
3729
3779
|
}[];
|
|
3730
3780
|
filterMultiple: boolean;
|
|
3731
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
3781
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
3732
3782
|
filterRender: {
|
|
3733
3783
|
options?: any[] | undefined;
|
|
3734
3784
|
optionProps?: {
|
|
@@ -3758,8 +3808,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3758
3808
|
};
|
|
3759
3809
|
treeNode: boolean;
|
|
3760
3810
|
visible: boolean;
|
|
3761
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
3762
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
3811
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
3812
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
3763
3813
|
titleHelp: {
|
|
3764
3814
|
useHTML?: boolean | undefined;
|
|
3765
3815
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -3779,7 +3829,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3779
3829
|
cellType: VxeColumnPropTypes.CellType;
|
|
3780
3830
|
cellRender: {
|
|
3781
3831
|
events?: {
|
|
3782
|
-
[key: string]: (cellParams:
|
|
3832
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
3783
3833
|
} | undefined;
|
|
3784
3834
|
options?: any[] | undefined;
|
|
3785
3835
|
optionProps?: {
|
|
@@ -3806,7 +3856,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3806
3856
|
};
|
|
3807
3857
|
editRender: {
|
|
3808
3858
|
events?: {
|
|
3809
|
-
[key: string]: (cellParams:
|
|
3859
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
3810
3860
|
} | undefined;
|
|
3811
3861
|
enabled?: boolean | undefined;
|
|
3812
3862
|
options?: any[] | undefined;
|
|
@@ -3824,7 +3874,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3824
3874
|
autofocus?: string | undefined;
|
|
3825
3875
|
autoselect?: boolean | undefined;
|
|
3826
3876
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
3827
|
-
column: VxeTableDefines.ColumnInfo
|
|
3877
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
3828
3878
|
}) => any) | {
|
|
3829
3879
|
exec: (string: string) => RegExpExecArray | null;
|
|
3830
3880
|
test: (string: string) => boolean;
|
|
@@ -3950,16 +4000,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3950
4000
|
};
|
|
3951
4001
|
params: any;
|
|
3952
4002
|
slots: {
|
|
3953
|
-
title?: string | ((params:
|
|
3954
|
-
radio?: string | ((params:
|
|
3955
|
-
checkbox?: string | ((params:
|
|
3956
|
-
default?: string | ((params:
|
|
3957
|
-
header?: string | ((params:
|
|
3958
|
-
footer?: string | ((params:
|
|
3959
|
-
content?: string | ((params:
|
|
3960
|
-
filter?: string | ((params:
|
|
3961
|
-
edit?: string | ((params:
|
|
3962
|
-
icon?: string | ((params:
|
|
4003
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4004
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4005
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4006
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4007
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4008
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4009
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4010
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4011
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4012
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
3963
4013
|
};
|
|
3964
4014
|
id: string;
|
|
3965
4015
|
parentId: string;
|
|
@@ -3968,6 +4018,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3968
4018
|
colSpan: number;
|
|
3969
4019
|
halfVisible: boolean;
|
|
3970
4020
|
defaultVisible: any;
|
|
4021
|
+
defaultFixed: any;
|
|
3971
4022
|
checked: boolean;
|
|
3972
4023
|
halfChecked: boolean;
|
|
3973
4024
|
disabled: boolean;
|
|
@@ -3981,16 +4032,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
3981
4032
|
value: any;
|
|
3982
4033
|
};
|
|
3983
4034
|
children: any[];
|
|
3984
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
4035
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3985
4036
|
[key: string]: any;
|
|
3986
4037
|
}>[];
|
|
3987
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
4038
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3988
4039
|
[key: string]: any;
|
|
3989
4040
|
}>[];
|
|
3990
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
4041
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3991
4042
|
[key: string]: any;
|
|
3992
4043
|
}>[];
|
|
3993
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
4044
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
3994
4045
|
[key: string]: any;
|
|
3995
4046
|
}>[];
|
|
3996
4047
|
getTitle: () => string;
|
|
@@ -4003,7 +4054,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4003
4054
|
style?: string | undefined;
|
|
4004
4055
|
content?: string | undefined;
|
|
4005
4056
|
columnFilterMethod?: ((params: {
|
|
4006
|
-
column: VxeTableDefines.ColumnInfo
|
|
4057
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4007
4058
|
$columnIndex: number;
|
|
4008
4059
|
}) => boolean) | undefined;
|
|
4009
4060
|
dataFilterMethod?: ((params: {
|
|
@@ -4015,7 +4066,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4015
4066
|
$rowIndex: number;
|
|
4016
4067
|
}) => boolean) | undefined;
|
|
4017
4068
|
beforePrintMethod?: ((params: {
|
|
4018
|
-
$table: VxeTableConstructor | null;
|
|
4069
|
+
$table: VxeTableConstructor<any> | null;
|
|
4019
4070
|
content: string;
|
|
4020
4071
|
options: VxeTablePropTypes.PrintHandleOptions;
|
|
4021
4072
|
}) => string) | undefined;
|
|
@@ -4025,27 +4076,27 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4025
4076
|
expandAll?: boolean | undefined;
|
|
4026
4077
|
expandRowKeys?: string[] | number[] | undefined;
|
|
4027
4078
|
accordion?: boolean | undefined;
|
|
4028
|
-
trigger?: "" | "default" | "
|
|
4079
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
4029
4080
|
lazy?: boolean | undefined;
|
|
4030
4081
|
reserve?: boolean | undefined;
|
|
4031
4082
|
height?: number | undefined;
|
|
4032
4083
|
loadMethod?: ((params: {
|
|
4033
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4034
|
-
row:
|
|
4084
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4085
|
+
row: VxeTableDataRow;
|
|
4035
4086
|
rowIndex: number;
|
|
4036
4087
|
$rowIndex: number;
|
|
4037
4088
|
}) => Promise<void>) | undefined;
|
|
4038
4089
|
toggleMethod?: ((params: {
|
|
4039
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4090
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4040
4091
|
expanded: boolean;
|
|
4041
|
-
row:
|
|
4092
|
+
row: VxeTableDataRow;
|
|
4042
4093
|
rowIndex: number;
|
|
4043
4094
|
$rowIndex: number;
|
|
4044
|
-
column: VxeTableDefines.ColumnInfo
|
|
4095
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4045
4096
|
columnIndex: number;
|
|
4046
4097
|
$columnIndex: number;
|
|
4047
4098
|
}) => boolean) | undefined;
|
|
4048
|
-
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams) => boolean) | undefined;
|
|
4099
|
+
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams<VxeTableDataRow>) => boolean) | undefined;
|
|
4049
4100
|
showIcon?: boolean | undefined;
|
|
4050
4101
|
iconOpen?: string | undefined;
|
|
4051
4102
|
iconClose?: string | undefined;
|
|
@@ -4062,19 +4113,19 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4062
4113
|
expandAll?: boolean | undefined;
|
|
4063
4114
|
expandRowKeys?: string[] | number[] | undefined;
|
|
4064
4115
|
accordion?: boolean | undefined;
|
|
4065
|
-
trigger?: "" | "default" | "
|
|
4116
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
4066
4117
|
lazy?: boolean | undefined;
|
|
4067
4118
|
hasChild?: string | undefined;
|
|
4068
4119
|
reserve?: boolean | undefined;
|
|
4069
4120
|
loadMethod?: ((params: {
|
|
4070
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4071
|
-
row:
|
|
4121
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4122
|
+
row: VxeTableDataRow;
|
|
4072
4123
|
}) => Promise<any[]>) | undefined;
|
|
4073
4124
|
toggleMethod?: ((params: {
|
|
4074
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4125
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4075
4126
|
expanded: boolean;
|
|
4076
|
-
row:
|
|
4077
|
-
column: VxeTableDefines.ColumnInfo
|
|
4127
|
+
row: VxeTableDataRow;
|
|
4128
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4078
4129
|
columnIndex: number;
|
|
4079
4130
|
$columnIndex: number;
|
|
4080
4131
|
}) => boolean) | undefined;
|
|
@@ -4161,10 +4212,10 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4161
4212
|
visibleMethod?: ((params: {
|
|
4162
4213
|
type: string;
|
|
4163
4214
|
options: VxeTableDefines.MenuFirstOption[][];
|
|
4164
|
-
columns: VxeTableDefines.ColumnInfo[];
|
|
4165
|
-
row?:
|
|
4215
|
+
columns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
4216
|
+
row?: VxeTableDataRow | undefined;
|
|
4166
4217
|
rowIndex?: number | undefined;
|
|
4167
|
-
column?: VxeTableDefines.ColumnInfo | undefined;
|
|
4218
|
+
column?: VxeTableDefines.ColumnInfo<VxeTableDataRow> | undefined;
|
|
4168
4219
|
columnIndex?: number | undefined;
|
|
4169
4220
|
}) => boolean) | undefined;
|
|
4170
4221
|
} | undefined;
|
|
@@ -4174,19 +4225,20 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4174
4225
|
extension?: boolean | undefined;
|
|
4175
4226
|
} | undefined;
|
|
4176
4227
|
areaConfig?: {
|
|
4228
|
+
multiple?: boolean | undefined;
|
|
4177
4229
|
selectCellByHeader?: boolean | undefined;
|
|
4178
4230
|
extendByCopy?: boolean | undefined;
|
|
4179
4231
|
extendByCalc?: boolean | undefined;
|
|
4180
|
-
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => any[][]) | undefined;
|
|
4232
|
+
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => any[][]) | undefined;
|
|
4181
4233
|
extendSetMethod?: ((params: {
|
|
4182
4234
|
cellValue: any;
|
|
4183
|
-
row:
|
|
4184
|
-
column: VxeTableDefines.ColumnInfo
|
|
4185
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => void) | undefined;
|
|
4186
|
-
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
4235
|
+
row: VxeTableDataRow;
|
|
4236
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4237
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => void) | undefined;
|
|
4238
|
+
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
4187
4239
|
afterExtendSetMethod?: ((params: {
|
|
4188
4240
|
extendValues: any[][];
|
|
4189
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
4241
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
4190
4242
|
} | undefined;
|
|
4191
4243
|
fnrConfig?: {
|
|
4192
4244
|
isFind?: boolean | undefined;
|
|
@@ -4201,36 +4253,36 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4201
4253
|
beforeFindMethod?: ((params: {
|
|
4202
4254
|
isAll: boolean;
|
|
4203
4255
|
findValue: string | null;
|
|
4204
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4205
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4256
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4257
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4206
4258
|
}) => boolean) | undefined;
|
|
4207
4259
|
afterFindMethod?: ((params: {
|
|
4208
4260
|
isAll: boolean;
|
|
4209
4261
|
findValue: string | null;
|
|
4210
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
4211
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4212
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4262
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
4263
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4264
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4213
4265
|
}) => void) | undefined;
|
|
4214
4266
|
isReplace?: boolean | undefined;
|
|
4215
4267
|
replaceMethod?: ((params: {
|
|
4216
|
-
row:
|
|
4217
|
-
column: VxeTableDefines.ColumnInfo
|
|
4268
|
+
row: VxeTableDataRow;
|
|
4269
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4218
4270
|
cellValue: any;
|
|
4219
4271
|
}) => void) | undefined;
|
|
4220
4272
|
beforeReplaceMethod?: ((params: {
|
|
4221
4273
|
isAll: boolean;
|
|
4222
4274
|
findValue: string | null;
|
|
4223
4275
|
replaceValue: string;
|
|
4224
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4225
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4276
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4277
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4226
4278
|
}) => boolean) | undefined;
|
|
4227
4279
|
afterReplaceMethod?: ((params: {
|
|
4228
4280
|
isAll: boolean;
|
|
4229
4281
|
findValue: string | null;
|
|
4230
4282
|
replaceValue: string;
|
|
4231
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
4232
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4233
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4283
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
4284
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4285
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4234
4286
|
}) => void) | undefined;
|
|
4235
4287
|
} | undefined;
|
|
4236
4288
|
keyboardConfig?: {
|
|
@@ -4247,26 +4299,26 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4247
4299
|
isChecked?: boolean | undefined;
|
|
4248
4300
|
enterToTab?: boolean | undefined;
|
|
4249
4301
|
delMethod?: ((params: {
|
|
4250
|
-
row:
|
|
4302
|
+
row: VxeTableDataRow;
|
|
4251
4303
|
rowIndex: number;
|
|
4252
|
-
column: VxeTableDefines.ColumnInfo
|
|
4304
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4253
4305
|
columnIndex: number;
|
|
4254
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4306
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4255
4307
|
}) => void) | undefined;
|
|
4256
4308
|
backMethod?: ((params: {
|
|
4257
|
-
row:
|
|
4309
|
+
row: VxeTableDataRow;
|
|
4258
4310
|
rowIndex: number;
|
|
4259
|
-
column: VxeTableDefines.ColumnInfo
|
|
4311
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4260
4312
|
columnIndex: number;
|
|
4261
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4313
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4262
4314
|
}) => void) | undefined;
|
|
4263
4315
|
editMethod?: ((params: {
|
|
4264
|
-
row:
|
|
4316
|
+
row: VxeTableDataRow;
|
|
4265
4317
|
rowIndex: number;
|
|
4266
|
-
column: VxeTableDefines.ColumnInfo
|
|
4318
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4267
4319
|
columnIndex: number;
|
|
4268
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4269
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4320
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4321
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4270
4322
|
}) => boolean) | undefined;
|
|
4271
4323
|
} | undefined;
|
|
4272
4324
|
clipConfig?: {
|
|
@@ -4278,97 +4330,97 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4278
4330
|
isColumnIncrement?: boolean | undefined;
|
|
4279
4331
|
copyMethod?: ((params: {
|
|
4280
4332
|
isCut: boolean;
|
|
4281
|
-
row:
|
|
4282
|
-
column: VxeTableDefines.ColumnInfo
|
|
4333
|
+
row: VxeTableDataRow;
|
|
4334
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4283
4335
|
cellValue: any;
|
|
4284
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4285
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4336
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4337
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4286
4338
|
}) => string) | undefined;
|
|
4287
4339
|
beforeCopyMethod?: ((params: {
|
|
4288
4340
|
isCut: boolean;
|
|
4289
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
4290
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
4291
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4292
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4341
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
4342
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4343
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4344
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4293
4345
|
}) => boolean) | undefined;
|
|
4294
4346
|
afterCopyMethod?: ((params: {
|
|
4295
4347
|
isCut: boolean;
|
|
4296
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
4297
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4298
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4348
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4349
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4350
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4299
4351
|
}) => boolean) | undefined;
|
|
4300
4352
|
cutMethod?: ((params: {
|
|
4301
|
-
row:
|
|
4302
|
-
column: VxeTableDefines.ColumnInfo
|
|
4353
|
+
row: VxeTableDataRow;
|
|
4354
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4303
4355
|
cellValue: any;
|
|
4304
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4305
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4356
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4357
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4306
4358
|
}) => void) | undefined;
|
|
4307
4359
|
beforeCutMethod?: ((params: {
|
|
4308
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
4309
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
4310
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
4311
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4312
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4360
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
4361
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4362
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4363
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4364
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4313
4365
|
}) => boolean) | undefined;
|
|
4314
4366
|
afterCutMethod?: ((params: {
|
|
4315
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
4316
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
4317
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4318
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4367
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4368
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4369
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4370
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4319
4371
|
}) => void) | undefined;
|
|
4320
4372
|
pasteMethod?: ((params: {
|
|
4321
4373
|
isCut: boolean;
|
|
4322
|
-
row:
|
|
4323
|
-
column: VxeTableDefines.ColumnInfo
|
|
4374
|
+
row: VxeTableDataRow;
|
|
4375
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4324
4376
|
cellValue: any;
|
|
4325
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4326
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4377
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4378
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4327
4379
|
}) => void) | undefined;
|
|
4328
4380
|
beforePasteMethod?: ((params: {
|
|
4329
4381
|
isCut: boolean;
|
|
4330
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
4331
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
4332
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
4333
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
4382
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
4383
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4384
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4385
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4334
4386
|
cellValues: string[][];
|
|
4335
4387
|
pasteCells: string[][];
|
|
4336
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4337
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4388
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4389
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4338
4390
|
}) => boolean) | undefined;
|
|
4339
4391
|
afterPasteMethod?: ((params: {
|
|
4340
4392
|
isCut: boolean;
|
|
4341
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
4342
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
4343
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
4393
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4394
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4395
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4344
4396
|
cellValues: any[][];
|
|
4345
4397
|
pasteCells: string[][];
|
|
4346
|
-
insertRows:
|
|
4347
|
-
insertColumns: VxeTableDefines.ColumnInfo[];
|
|
4348
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4349
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4398
|
+
insertRows: VxeTableDataRow[];
|
|
4399
|
+
insertColumns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
4400
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4401
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4350
4402
|
}) => boolean) | undefined;
|
|
4351
4403
|
createRowsMethod?: ((params: {
|
|
4352
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
4353
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
4404
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4405
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4354
4406
|
cellValues: any[][];
|
|
4355
4407
|
pasteCells: string[][];
|
|
4356
|
-
insertRows:
|
|
4357
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4358
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4359
|
-
}) =>
|
|
4408
|
+
insertRows: VxeTableDataRow[];
|
|
4409
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4410
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4411
|
+
}) => VxeTableDataRow[]) | undefined;
|
|
4360
4412
|
createColumnsMethod?: ((params: {
|
|
4361
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
4362
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
4413
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4414
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
4363
4415
|
cellValues: any[][];
|
|
4364
4416
|
pasteCells: string[][];
|
|
4365
|
-
insertColumns: VxeTableDefines.ColumnOptions[];
|
|
4366
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4367
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4368
|
-
}) => VxeTableDefines.ColumnOptions[]) | undefined;
|
|
4417
|
+
insertColumns: VxeTableDefines.ColumnOptions<VxeTableDataRow>[];
|
|
4418
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4419
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4420
|
+
}) => VxeTableDefines.ColumnOptions<VxeTableDataRow>[]) | undefined;
|
|
4369
4421
|
} | undefined;
|
|
4370
4422
|
editConfig?: {
|
|
4371
|
-
trigger?: "" | "
|
|
4423
|
+
trigger?: "" | "click" | "manual" | "dblclick" | null | undefined;
|
|
4372
4424
|
enabled?: boolean | undefined;
|
|
4373
4425
|
mode?: string | undefined;
|
|
4374
4426
|
icon?: string | undefined;
|
|
@@ -4379,20 +4431,20 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4379
4431
|
showAsterisk?: boolean | undefined;
|
|
4380
4432
|
autoClear?: boolean | undefined;
|
|
4381
4433
|
beforeEditMethod?: ((params: {
|
|
4382
|
-
row:
|
|
4434
|
+
row: VxeTableDataRow;
|
|
4383
4435
|
rowIndex: number;
|
|
4384
|
-
column: VxeTableDefines.ColumnInfo
|
|
4436
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4385
4437
|
columnIndex: number;
|
|
4386
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4387
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4438
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4439
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4388
4440
|
}) => boolean) | undefined;
|
|
4389
4441
|
activeMethod?: ((params: {
|
|
4390
|
-
row:
|
|
4442
|
+
row: VxeTableDataRow;
|
|
4391
4443
|
rowIndex: number;
|
|
4392
|
-
column: VxeTableDefines.ColumnInfo
|
|
4444
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4393
4445
|
columnIndex: number;
|
|
4394
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
4395
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
4446
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
4447
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
4396
4448
|
}) => boolean) | undefined;
|
|
4397
4449
|
} | undefined;
|
|
4398
4450
|
validConfig?: {
|
|
@@ -4401,7 +4453,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4401
4453
|
message?: string | undefined;
|
|
4402
4454
|
maxWidth?: number | undefined;
|
|
4403
4455
|
} | undefined;
|
|
4404
|
-
editRules?: VxeTablePropTypes.EditRules | undefined;
|
|
4456
|
+
editRules?: VxeTablePropTypes.EditRules<VxeTableDataRow> | undefined;
|
|
4405
4457
|
emptyText?: string | undefined;
|
|
4406
4458
|
emptyRender?: {
|
|
4407
4459
|
name?: string | undefined;
|
|
@@ -4443,16 +4495,16 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4443
4495
|
columns?: {
|
|
4444
4496
|
children?: any[] | undefined;
|
|
4445
4497
|
slots?: {
|
|
4446
|
-
title?: string | ((params:
|
|
4447
|
-
radio?: string | ((params:
|
|
4448
|
-
checkbox?: string | ((params:
|
|
4449
|
-
default?: string | ((params:
|
|
4450
|
-
header?: string | ((params:
|
|
4451
|
-
footer?: string | ((params:
|
|
4452
|
-
content?: string | ((params:
|
|
4453
|
-
filter?: string | ((params:
|
|
4454
|
-
edit?: string | ((params:
|
|
4455
|
-
icon?: string | ((params:
|
|
4498
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4499
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4500
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4501
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4502
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4503
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4504
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4505
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4506
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4507
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
4456
4508
|
} | undefined;
|
|
4457
4509
|
colId?: VxeColumnPropTypes.ColId | undefined;
|
|
4458
4510
|
type?: VxeColumnPropTypes.Type | undefined;
|
|
@@ -4469,12 +4521,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4469
4521
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
4470
4522
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
4471
4523
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
4472
|
-
className?: VxeColumnPropTypes.ClassName | undefined;
|
|
4473
|
-
headerClassName?: VxeColumnPropTypes.HeaderClassName | undefined;
|
|
4474
|
-
footerClassName?: VxeColumnPropTypes.FooterClassName | undefined;
|
|
4475
|
-
formatter?: VxeColumnPropTypes.Formatter | undefined;
|
|
4524
|
+
className?: VxeColumnPropTypes.ClassName<VxeTableDataRow> | undefined;
|
|
4525
|
+
headerClassName?: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow> | undefined;
|
|
4526
|
+
footerClassName?: VxeColumnPropTypes.FooterClassName<VxeTableDataRow> | undefined;
|
|
4527
|
+
formatter?: VxeColumnPropTypes.Formatter<VxeTableDataRow> | undefined;
|
|
4476
4528
|
sortable?: boolean | undefined;
|
|
4477
|
-
sortBy?: VxeColumnPropTypes.SortBy | undefined;
|
|
4529
|
+
sortBy?: VxeColumnPropTypes.SortBy<VxeTableDataRow> | undefined;
|
|
4478
4530
|
sortType?: VxeColumnPropTypes.SortType | undefined;
|
|
4479
4531
|
filters?: {
|
|
4480
4532
|
label?: string | number | undefined;
|
|
@@ -4484,7 +4536,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4484
4536
|
checked?: boolean | undefined;
|
|
4485
4537
|
}[] | undefined;
|
|
4486
4538
|
filterMultiple?: boolean | undefined;
|
|
4487
|
-
filterMethod?: VxeColumnPropTypes.FilterMethod | undefined;
|
|
4539
|
+
filterMethod?: VxeColumnPropTypes.FilterMethod<VxeTableDataRow> | undefined;
|
|
4488
4540
|
filterRender?: {
|
|
4489
4541
|
options?: any[] | undefined;
|
|
4490
4542
|
optionProps?: {
|
|
@@ -4514,8 +4566,8 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4514
4566
|
} | undefined;
|
|
4515
4567
|
treeNode?: boolean | undefined;
|
|
4516
4568
|
visible?: boolean | undefined;
|
|
4517
|
-
exportMethod?: VxeColumnPropTypes.ExportMethod | undefined;
|
|
4518
|
-
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod | undefined;
|
|
4569
|
+
exportMethod?: VxeColumnPropTypes.ExportMethod<VxeTableDataRow> | undefined;
|
|
4570
|
+
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow> | undefined;
|
|
4519
4571
|
titleHelp?: {
|
|
4520
4572
|
useHTML?: boolean | undefined;
|
|
4521
4573
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -4535,7 +4587,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4535
4587
|
cellType?: VxeColumnPropTypes.CellType | undefined;
|
|
4536
4588
|
cellRender?: {
|
|
4537
4589
|
events?: {
|
|
4538
|
-
[key: string]: (cellParams:
|
|
4590
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
4539
4591
|
} | undefined;
|
|
4540
4592
|
options?: any[] | undefined;
|
|
4541
4593
|
optionProps?: {
|
|
@@ -4562,7 +4614,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4562
4614
|
} | undefined;
|
|
4563
4615
|
editRender?: {
|
|
4564
4616
|
events?: {
|
|
4565
|
-
[key: string]: (cellParams:
|
|
4617
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
4566
4618
|
} | undefined;
|
|
4567
4619
|
enabled?: boolean | undefined;
|
|
4568
4620
|
options?: any[] | undefined;
|
|
@@ -4580,7 +4632,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4580
4632
|
autofocus?: string | undefined;
|
|
4581
4633
|
autoselect?: boolean | undefined;
|
|
4582
4634
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
4583
|
-
column: VxeTableDefines.ColumnInfo
|
|
4635
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4584
4636
|
}) => any) | {
|
|
4585
4637
|
exec: (string: string) => RegExpExecArray | null;
|
|
4586
4638
|
test: (string: string) => boolean;
|
|
@@ -4710,7 +4762,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4710
4762
|
enabled?: boolean | undefined;
|
|
4711
4763
|
slots?: any;
|
|
4712
4764
|
size?: SizeType | undefined;
|
|
4713
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
4765
|
+
layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
4714
4766
|
currentPage?: number | undefined;
|
|
4715
4767
|
loading?: boolean | undefined;
|
|
4716
4768
|
pageSize?: number | undefined;
|
|
@@ -4749,15 +4801,14 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4749
4801
|
message?: string | undefined;
|
|
4750
4802
|
} | undefined;
|
|
4751
4803
|
ajax?: {
|
|
4752
|
-
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams
|
|
4753
|
-
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams
|
|
4754
|
-
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams
|
|
4755
|
-
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams
|
|
4804
|
+
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
4805
|
+
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
4806
|
+
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
4807
|
+
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
4756
4808
|
} | undefined;
|
|
4757
4809
|
} | undefined;
|
|
4758
4810
|
toolbarConfig?: {
|
|
4759
4811
|
enabled?: boolean | undefined;
|
|
4760
|
-
buttons?: any[] | undefined;
|
|
4761
4812
|
zoom?: boolean | {
|
|
4762
4813
|
escRestore?: boolean | undefined;
|
|
4763
4814
|
iconIn?: string | undefined;
|
|
@@ -4784,7 +4835,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4784
4835
|
refresh?: boolean | {
|
|
4785
4836
|
queryMethod?: ((params: {
|
|
4786
4837
|
[key: string]: any;
|
|
4787
|
-
}) =>
|
|
4838
|
+
}) => any) | undefined;
|
|
4788
4839
|
code?: "" | "query" | "reload" | null | undefined;
|
|
4789
4840
|
icon?: string | undefined;
|
|
4790
4841
|
iconLoading?: string | undefined;
|
|
@@ -4806,11 +4857,45 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4806
4857
|
immediate?: boolean | undefined;
|
|
4807
4858
|
storage?: boolean | undefined;
|
|
4808
4859
|
checkMethod?: ((params: {
|
|
4809
|
-
column: VxeTableDefines.ColumnInfo
|
|
4860
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
4810
4861
|
}) => boolean) | undefined;
|
|
4811
4862
|
isFooter?: boolean | undefined;
|
|
4812
4863
|
icon?: string | undefined;
|
|
4813
4864
|
} | undefined;
|
|
4865
|
+
buttons?: {
|
|
4866
|
+
dropdowns?: any[] | undefined;
|
|
4867
|
+
buttonRender?: {
|
|
4868
|
+
name?: string | undefined;
|
|
4869
|
+
props?: {
|
|
4870
|
+
[key: string]: any;
|
|
4871
|
+
} | undefined;
|
|
4872
|
+
attrs?: {
|
|
4873
|
+
[key: string]: any;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
events?: {
|
|
4876
|
+
[key: string]: (...args: any[]) => any;
|
|
4877
|
+
} | undefined;
|
|
4878
|
+
children?: any[] | undefined;
|
|
4879
|
+
cellType?: "string" | "number" | undefined;
|
|
4880
|
+
} | undefined;
|
|
4881
|
+
code?: string | undefined;
|
|
4882
|
+
visible?: boolean | undefined;
|
|
4883
|
+
params?: any;
|
|
4884
|
+
size?: SizeType | undefined;
|
|
4885
|
+
type?: string | undefined;
|
|
4886
|
+
className?: string | undefined;
|
|
4887
|
+
name?: VxeButtonPropTypes.Name | undefined;
|
|
4888
|
+
content?: string | undefined;
|
|
4889
|
+
placement?: string | undefined;
|
|
4890
|
+
status?: string | undefined;
|
|
4891
|
+
icon?: string | undefined;
|
|
4892
|
+
round?: boolean | undefined;
|
|
4893
|
+
circle?: boolean | undefined;
|
|
4894
|
+
disabled?: boolean | undefined;
|
|
4895
|
+
loading?: boolean | undefined;
|
|
4896
|
+
destroyOnClose?: boolean | undefined;
|
|
4897
|
+
transfer?: boolean | undefined;
|
|
4898
|
+
}[] | undefined;
|
|
4814
4899
|
tools?: {
|
|
4815
4900
|
dropdowns?: any[] | undefined;
|
|
4816
4901
|
toolRender?: {
|
|
@@ -4859,7 +4944,12 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4859
4944
|
titleWidth?: VxeFormPropTypes.TitleWidth | undefined;
|
|
4860
4945
|
titleColon?: boolean | undefined;
|
|
4861
4946
|
titleAsterisk?: boolean | undefined;
|
|
4947
|
+
showTitle?: boolean | undefined;
|
|
4862
4948
|
className?: VxeFormItemPropTypes.ClassName | undefined;
|
|
4949
|
+
contentClassName?: VxeFormItemPropTypes.ContentClassName | undefined;
|
|
4950
|
+
contentStyle?: VxeFormItemPropTypes.ContentStyle | undefined;
|
|
4951
|
+
titleClassName?: VxeFormItemPropTypes.TitleClassName | undefined;
|
|
4952
|
+
titleStyle?: VxeFormItemPropTypes.TitleStyle | undefined;
|
|
4863
4953
|
titlePrefix?: {
|
|
4864
4954
|
useHTML?: boolean | undefined;
|
|
4865
4955
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -4896,7 +4986,7 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
4896
4986
|
key?: string | undefined;
|
|
4897
4987
|
} | undefined;
|
|
4898
4988
|
content?: string | undefined;
|
|
4899
|
-
autofocus?:
|
|
4989
|
+
autofocus?: string | undefined;
|
|
4900
4990
|
defaultValue?: string | number | object | any[] | {
|
|
4901
4991
|
exec: (string: string) => RegExpExecArray | null;
|
|
4902
4992
|
test: (string: string) => boolean;
|
|
@@ -5084,5 +5174,5 @@ declare const _sfc_main: DefineComponent<{}, {
|
|
|
5084
5174
|
operaTableData: Ref<never[]>;
|
|
5085
5175
|
auditTableData: Ref<never[]>;
|
|
5086
5176
|
currentRow: Ref<{}>;
|
|
5087
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
5177
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
|
|
5088
5178
|
export default _sfc_main;
|