@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 { ruleItem } from './src/hook/use-grid-config-hook';
|
|
2
|
-
import type { VxeGridProps, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
|
|
2
|
+
import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
|
|
3
3
|
import type { PageButton, ColumnItem, RecordStringNumber, PageButtonWithGroupCode } from '../edit-page-layout';
|
|
4
4
|
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
5
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
@@ -39,7 +39,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
39
39
|
readonly default: () => {};
|
|
40
40
|
};
|
|
41
41
|
readonly vxeGridConfig: {
|
|
42
|
-
readonly type: PropType<VxeGridProps<
|
|
42
|
+
readonly type: PropType<VxeGridProps<VxeTableDataRow>>;
|
|
43
43
|
readonly default: () => {};
|
|
44
44
|
};
|
|
45
45
|
readonly shake: {
|
|
@@ -54,11 +54,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
54
54
|
groupName: Ref<string>;
|
|
55
55
|
groupCode: Ref<string>;
|
|
56
56
|
wrapBoxHeight: ComputedRef<number>;
|
|
57
|
-
xGrid: Ref<VxeGridInstance | undefined>;
|
|
57
|
+
xGrid: Ref<VxeGridInstance<any> | undefined>;
|
|
58
58
|
gridOptions: {
|
|
59
59
|
size?: SizeType | undefined;
|
|
60
60
|
id?: string | undefined;
|
|
61
|
-
data?:
|
|
61
|
+
data?: VxeTableDataRow[] | undefined;
|
|
62
62
|
height?: VxeTablePropTypes.Height | undefined;
|
|
63
63
|
maxHeight?: VxeTablePropTypes.MaxHeight | undefined;
|
|
64
64
|
resizable?: boolean | undefined;
|
|
@@ -76,19 +76,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
76
76
|
highlightHoverColumn?: boolean | undefined;
|
|
77
77
|
highlightCell?: boolean | undefined;
|
|
78
78
|
showFooter?: boolean | undefined;
|
|
79
|
-
footerMethod?: VxeTablePropTypes.FooterMethod | undefined;
|
|
80
|
-
rowClassName?: VxeTablePropTypes.RowClassName | undefined;
|
|
81
|
-
cellClassName?: VxeTablePropTypes.CellClassName | undefined;
|
|
82
|
-
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName | undefined;
|
|
83
|
-
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName | undefined;
|
|
84
|
-
footerRowClassName?: VxeTablePropTypes.FooterRowClassName | undefined;
|
|
85
|
-
footerCellClassName?: VxeTablePropTypes.FooterCellClassName | undefined;
|
|
86
|
-
cellStyle?: VxeTablePropTypes.CellStyle | undefined;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
79
|
+
footerMethod?: VxeTablePropTypes.FooterMethod<VxeTableDataRow> | undefined;
|
|
80
|
+
rowClassName?: VxeTablePropTypes.RowClassName<VxeTableDataRow> | undefined;
|
|
81
|
+
cellClassName?: VxeTablePropTypes.CellClassName<VxeTableDataRow> | undefined;
|
|
82
|
+
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName<VxeTableDataRow> | undefined;
|
|
83
|
+
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName<VxeTableDataRow> | undefined;
|
|
84
|
+
footerRowClassName?: VxeTablePropTypes.FooterRowClassName<VxeTableDataRow> | undefined;
|
|
85
|
+
footerCellClassName?: VxeTablePropTypes.FooterCellClassName<VxeTableDataRow> | undefined;
|
|
86
|
+
cellStyle?: VxeTablePropTypes.CellStyle<VxeTableDataRow> | undefined;
|
|
87
|
+
rowStyle?: VxeTablePropTypes.RowStyle<VxeTableDataRow> | undefined;
|
|
88
|
+
headerCellStyle?: VxeTablePropTypes.HeaderCellStyle<VxeTableDataRow> | undefined;
|
|
89
|
+
headerRowStyle?: VxeTablePropTypes.HeaderRowStyle<VxeTableDataRow> | undefined;
|
|
90
|
+
footerRowStyle?: VxeTablePropTypes.FooterRowStyle<VxeTableDataRow> | undefined;
|
|
91
|
+
footerCellStyle?: VxeTablePropTypes.FooterCellStyle<VxeTableDataRow> | undefined;
|
|
92
92
|
mergeCells?: {
|
|
93
93
|
row: any;
|
|
94
94
|
col: number | {
|
|
@@ -107,12 +107,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
107
107
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
108
108
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
109
109
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
110
|
-
className: VxeColumnPropTypes.ClassName
|
|
111
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
112
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
113
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
110
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
111
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
112
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
113
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
114
114
|
sortable: boolean;
|
|
115
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
115
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
116
116
|
sortType: VxeColumnPropTypes.SortType;
|
|
117
117
|
filters: {
|
|
118
118
|
label?: string | number | undefined;
|
|
@@ -122,7 +122,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
122
122
|
checked?: boolean | undefined;
|
|
123
123
|
}[];
|
|
124
124
|
filterMultiple: boolean;
|
|
125
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
125
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
126
126
|
filterRender: {
|
|
127
127
|
options?: any[] | undefined;
|
|
128
128
|
optionProps?: {
|
|
@@ -152,8 +152,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
152
152
|
};
|
|
153
153
|
treeNode: boolean;
|
|
154
154
|
visible: boolean;
|
|
155
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
156
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
155
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
156
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
157
157
|
titleHelp: {
|
|
158
158
|
useHTML?: boolean | undefined;
|
|
159
159
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -173,7 +173,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
173
173
|
cellType: VxeColumnPropTypes.CellType;
|
|
174
174
|
cellRender: {
|
|
175
175
|
events?: {
|
|
176
|
-
[key: string]: (cellParams:
|
|
176
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
177
177
|
} | undefined;
|
|
178
178
|
options?: any[] | undefined;
|
|
179
179
|
optionProps?: {
|
|
@@ -200,7 +200,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
200
200
|
};
|
|
201
201
|
editRender: {
|
|
202
202
|
events?: {
|
|
203
|
-
[key: string]: (cellParams:
|
|
203
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
204
204
|
} | undefined;
|
|
205
205
|
enabled?: boolean | undefined;
|
|
206
206
|
options?: any[] | undefined;
|
|
@@ -218,7 +218,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
218
218
|
autofocus?: string | undefined;
|
|
219
219
|
autoselect?: boolean | undefined;
|
|
220
220
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
221
|
-
column: VxeTableDefines.ColumnInfo
|
|
221
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
222
222
|
}) => any) | {
|
|
223
223
|
exec: (string: string) => RegExpExecArray | null;
|
|
224
224
|
test: (string: string) => boolean;
|
|
@@ -344,16 +344,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
344
344
|
};
|
|
345
345
|
params: any;
|
|
346
346
|
slots: {
|
|
347
|
-
title?: string | ((params:
|
|
348
|
-
radio?: string | ((params:
|
|
349
|
-
checkbox?: string | ((params:
|
|
350
|
-
default?: string | ((params:
|
|
351
|
-
header?: string | ((params:
|
|
352
|
-
footer?: string | ((params:
|
|
353
|
-
content?: string | ((params:
|
|
354
|
-
filter?: string | ((params:
|
|
355
|
-
edit?: string | ((params:
|
|
356
|
-
icon?: string | ((params:
|
|
347
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
348
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
349
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
350
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
351
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
352
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
353
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
354
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
355
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
356
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
357
357
|
};
|
|
358
358
|
id: string;
|
|
359
359
|
parentId: string;
|
|
@@ -362,6 +362,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
362
362
|
colSpan: number;
|
|
363
363
|
halfVisible: boolean;
|
|
364
364
|
defaultVisible: any;
|
|
365
|
+
defaultFixed: any;
|
|
365
366
|
checked: boolean;
|
|
366
367
|
halfChecked: boolean;
|
|
367
368
|
disabled: boolean;
|
|
@@ -375,16 +376,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
375
376
|
value: any;
|
|
376
377
|
};
|
|
377
378
|
children: any[];
|
|
378
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
379
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
379
380
|
[key: string]: any;
|
|
380
381
|
}>[];
|
|
381
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
382
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
382
383
|
[key: string]: any;
|
|
383
384
|
}>[];
|
|
384
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
385
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
385
386
|
[key: string]: any;
|
|
386
387
|
}>[];
|
|
387
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
388
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
388
389
|
[key: string]: any;
|
|
389
390
|
}>[];
|
|
390
391
|
getTitle: () => string;
|
|
@@ -411,12 +412,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
411
412
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
412
413
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
413
414
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
414
|
-
className: VxeColumnPropTypes.ClassName
|
|
415
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
416
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
417
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
415
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
416
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
417
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
418
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
418
419
|
sortable: boolean;
|
|
419
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
420
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
420
421
|
sortType: VxeColumnPropTypes.SortType;
|
|
421
422
|
filters: {
|
|
422
423
|
label?: string | number | undefined;
|
|
@@ -426,7 +427,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
426
427
|
checked?: boolean | undefined;
|
|
427
428
|
}[];
|
|
428
429
|
filterMultiple: boolean;
|
|
429
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
430
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
430
431
|
filterRender: {
|
|
431
432
|
options?: any[] | undefined;
|
|
432
433
|
optionProps?: {
|
|
@@ -456,8 +457,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
456
457
|
};
|
|
457
458
|
treeNode: boolean;
|
|
458
459
|
visible: boolean;
|
|
459
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
460
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
460
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
461
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
461
462
|
titleHelp: {
|
|
462
463
|
useHTML?: boolean | undefined;
|
|
463
464
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -477,7 +478,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
477
478
|
cellType: VxeColumnPropTypes.CellType;
|
|
478
479
|
cellRender: {
|
|
479
480
|
events?: {
|
|
480
|
-
[key: string]: (cellParams:
|
|
481
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
481
482
|
} | undefined;
|
|
482
483
|
options?: any[] | undefined;
|
|
483
484
|
optionProps?: {
|
|
@@ -504,7 +505,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
504
505
|
};
|
|
505
506
|
editRender: {
|
|
506
507
|
events?: {
|
|
507
|
-
[key: string]: (cellParams:
|
|
508
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
508
509
|
} | undefined;
|
|
509
510
|
enabled?: boolean | undefined;
|
|
510
511
|
options?: any[] | undefined;
|
|
@@ -522,7 +523,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
522
523
|
autofocus?: string | undefined;
|
|
523
524
|
autoselect?: boolean | undefined;
|
|
524
525
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
525
|
-
column: VxeTableDefines.ColumnInfo
|
|
526
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
526
527
|
}) => any) | {
|
|
527
528
|
exec: (string: string) => RegExpExecArray | null;
|
|
528
529
|
test: (string: string) => boolean;
|
|
@@ -648,16 +649,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
648
649
|
};
|
|
649
650
|
params: any;
|
|
650
651
|
slots: {
|
|
651
|
-
title?: string | ((params:
|
|
652
|
-
radio?: string | ((params:
|
|
653
|
-
checkbox?: string | ((params:
|
|
654
|
-
default?: string | ((params:
|
|
655
|
-
header?: string | ((params:
|
|
656
|
-
footer?: string | ((params:
|
|
657
|
-
content?: string | ((params:
|
|
658
|
-
filter?: string | ((params:
|
|
659
|
-
edit?: string | ((params:
|
|
660
|
-
icon?: string | ((params:
|
|
652
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
653
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
654
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
655
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
656
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
657
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
658
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
659
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
660
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
661
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
661
662
|
};
|
|
662
663
|
id: string;
|
|
663
664
|
parentId: string;
|
|
@@ -666,6 +667,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
666
667
|
colSpan: number;
|
|
667
668
|
halfVisible: boolean;
|
|
668
669
|
defaultVisible: any;
|
|
670
|
+
defaultFixed: any;
|
|
669
671
|
checked: boolean;
|
|
670
672
|
halfChecked: boolean;
|
|
671
673
|
disabled: boolean;
|
|
@@ -679,16 +681,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
679
681
|
value: any;
|
|
680
682
|
};
|
|
681
683
|
children: any[];
|
|
682
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
684
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
683
685
|
[key: string]: any;
|
|
684
686
|
}>[];
|
|
685
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
687
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
686
688
|
[key: string]: any;
|
|
687
689
|
}>[];
|
|
688
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
690
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
689
691
|
[key: string]: any;
|
|
690
692
|
}>[];
|
|
691
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
693
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
692
694
|
[key: string]: any;
|
|
693
695
|
}>[];
|
|
694
696
|
getTitle: () => string;
|
|
@@ -697,8 +699,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
697
699
|
rowspan: number;
|
|
698
700
|
colspan: number;
|
|
699
701
|
}[] | undefined;
|
|
700
|
-
spanMethod?: VxeTablePropTypes.SpanMethod | undefined;
|
|
701
|
-
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod | undefined;
|
|
702
|
+
spanMethod?: VxeTablePropTypes.SpanMethod<VxeTableDataRow> | undefined;
|
|
703
|
+
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod<VxeTableDataRow> | undefined;
|
|
702
704
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
703
705
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
704
706
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
@@ -728,9 +730,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
728
730
|
storage?: boolean | {
|
|
729
731
|
visible?: boolean | undefined;
|
|
730
732
|
resizable?: boolean | undefined;
|
|
733
|
+
fixed?: boolean | undefined;
|
|
734
|
+
order?: boolean | undefined;
|
|
731
735
|
} | undefined;
|
|
732
736
|
checkMethod?: ((params: {
|
|
733
|
-
column: VxeTableDefines.ColumnInfo
|
|
737
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
734
738
|
}) => boolean) | undefined;
|
|
735
739
|
} | undefined;
|
|
736
740
|
resizeConfig?: {
|
|
@@ -738,16 +742,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
738
742
|
} | undefined;
|
|
739
743
|
resizableConfig?: {
|
|
740
744
|
minWidth?: string | number | ((params: {
|
|
741
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
742
|
-
column: VxeTableDefines.ColumnInfo
|
|
745
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
746
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
743
747
|
columnIndex: number;
|
|
744
748
|
$columnIndex: number;
|
|
745
749
|
$rowIndex: number;
|
|
746
750
|
cell: HTMLElement;
|
|
747
751
|
}) => string | number) | undefined;
|
|
748
752
|
maxWidth?: string | number | ((params: {
|
|
749
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
750
|
-
column: VxeTableDefines.ColumnInfo
|
|
753
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
754
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
751
755
|
columnIndex: number;
|
|
752
756
|
$columnIndex: number;
|
|
753
757
|
$rowIndex: number;
|
|
@@ -757,10 +761,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
757
761
|
seqConfig?: {
|
|
758
762
|
startIndex?: number | undefined;
|
|
759
763
|
seqMethod?: ((params: {
|
|
760
|
-
column: VxeTableDefines.ColumnInfo
|
|
764
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
761
765
|
columnIndex: number;
|
|
762
766
|
$columnIndex: number;
|
|
763
|
-
row:
|
|
767
|
+
row: VxeTableDataRow;
|
|
764
768
|
rowIndex: number;
|
|
765
769
|
$rowIndex: number;
|
|
766
770
|
}) => string | number) | undefined;
|
|
@@ -775,9 +779,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
775
779
|
}[] | undefined;
|
|
776
780
|
orders?: VxeTablePropTypes.SortOrder[] | undefined;
|
|
777
781
|
sortMethod?: ((params: {
|
|
778
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
779
|
-
data:
|
|
780
|
-
sortList: VxeTableDefines.SortCheckedParams[];
|
|
782
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
783
|
+
data: VxeTableDataRow[];
|
|
784
|
+
sortList: VxeTableDefines.SortCheckedParams<VxeTableDataRow>[];
|
|
781
785
|
}) => any[]) | undefined;
|
|
782
786
|
remote?: boolean | undefined;
|
|
783
787
|
multiple?: boolean | undefined;
|
|
@@ -792,8 +796,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
792
796
|
options: VxeTableDefines.FilterOption[];
|
|
793
797
|
values: any[];
|
|
794
798
|
cellValue: any;
|
|
795
|
-
row:
|
|
796
|
-
column: VxeTableDefines.ColumnInfo
|
|
799
|
+
row: VxeTableDataRow;
|
|
800
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
797
801
|
}) => any) | undefined;
|
|
798
802
|
remote?: boolean | undefined;
|
|
799
803
|
showIcon?: boolean | undefined;
|
|
@@ -805,12 +809,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
805
809
|
labelField?: string | undefined;
|
|
806
810
|
checkRowKey?: string | number | undefined;
|
|
807
811
|
checkMethod?: ((params: {
|
|
808
|
-
row:
|
|
812
|
+
row: VxeTableDataRow;
|
|
809
813
|
}) => boolean) | undefined;
|
|
810
814
|
visibleMethod?: ((params: {
|
|
811
|
-
row:
|
|
815
|
+
row: VxeTableDataRow;
|
|
812
816
|
}) => boolean) | undefined;
|
|
813
|
-
trigger?: "" | "default" | "
|
|
817
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
814
818
|
highlight?: boolean | undefined;
|
|
815
819
|
strict?: boolean | undefined;
|
|
816
820
|
} | undefined;
|
|
@@ -825,12 +829,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
825
829
|
checkStrictly?: boolean | undefined;
|
|
826
830
|
strict?: boolean | undefined;
|
|
827
831
|
checkMethod?: ((params: {
|
|
828
|
-
row:
|
|
832
|
+
row: VxeTableDataRow;
|
|
829
833
|
}) => boolean) | undefined;
|
|
830
834
|
visibleMethod?: ((params: {
|
|
831
|
-
row:
|
|
835
|
+
row: VxeTableDataRow;
|
|
832
836
|
}) => boolean) | undefined;
|
|
833
|
-
trigger?: "" | "default" | "
|
|
837
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
834
838
|
highlight?: boolean | undefined;
|
|
835
839
|
range?: boolean | undefined;
|
|
836
840
|
} | undefined;
|
|
@@ -842,11 +846,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
842
846
|
leaveDelay?: number | undefined;
|
|
843
847
|
contentMethod?: ((params: {
|
|
844
848
|
items: any[];
|
|
845
|
-
row:
|
|
849
|
+
row: VxeTableDataRow;
|
|
846
850
|
rowIndex: number;
|
|
847
851
|
$rowIndex: number;
|
|
848
852
|
_rowIndex: number;
|
|
849
|
-
column: VxeTableDefines.ColumnInfo
|
|
853
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
850
854
|
columnIndex: number;
|
|
851
855
|
$columnIndex: number;
|
|
852
856
|
_columnIndex: number;
|
|
@@ -886,12 +890,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
886
890
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
887
891
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
888
892
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
889
|
-
className: VxeColumnPropTypes.ClassName
|
|
890
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
891
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
892
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
893
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
894
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
895
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
896
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
893
897
|
sortable: boolean;
|
|
894
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
898
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
895
899
|
sortType: VxeColumnPropTypes.SortType;
|
|
896
900
|
filters: {
|
|
897
901
|
label?: string | number | undefined;
|
|
@@ -901,7 +905,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
901
905
|
checked?: boolean | undefined;
|
|
902
906
|
}[];
|
|
903
907
|
filterMultiple: boolean;
|
|
904
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
908
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
905
909
|
filterRender: {
|
|
906
910
|
options?: any[] | undefined;
|
|
907
911
|
optionProps?: {
|
|
@@ -931,8 +935,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
931
935
|
};
|
|
932
936
|
treeNode: boolean;
|
|
933
937
|
visible: boolean;
|
|
934
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
935
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
938
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
939
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
936
940
|
titleHelp: {
|
|
937
941
|
useHTML?: boolean | undefined;
|
|
938
942
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -952,7 +956,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
952
956
|
cellType: VxeColumnPropTypes.CellType;
|
|
953
957
|
cellRender: {
|
|
954
958
|
events?: {
|
|
955
|
-
[key: string]: (cellParams:
|
|
959
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
956
960
|
} | undefined;
|
|
957
961
|
options?: any[] | undefined;
|
|
958
962
|
optionProps?: {
|
|
@@ -979,7 +983,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
979
983
|
};
|
|
980
984
|
editRender: {
|
|
981
985
|
events?: {
|
|
982
|
-
[key: string]: (cellParams:
|
|
986
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
983
987
|
} | undefined;
|
|
984
988
|
enabled?: boolean | undefined;
|
|
985
989
|
options?: any[] | undefined;
|
|
@@ -997,7 +1001,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
997
1001
|
autofocus?: string | undefined;
|
|
998
1002
|
autoselect?: boolean | undefined;
|
|
999
1003
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
1000
|
-
column: VxeTableDefines.ColumnInfo
|
|
1004
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1001
1005
|
}) => any) | {
|
|
1002
1006
|
exec: (string: string) => RegExpExecArray | null;
|
|
1003
1007
|
test: (string: string) => boolean;
|
|
@@ -1123,16 +1127,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1123
1127
|
};
|
|
1124
1128
|
params: any;
|
|
1125
1129
|
slots: {
|
|
1126
|
-
title?: string | ((params:
|
|
1127
|
-
radio?: string | ((params:
|
|
1128
|
-
checkbox?: string | ((params:
|
|
1129
|
-
default?: string | ((params:
|
|
1130
|
-
header?: string | ((params:
|
|
1131
|
-
footer?: string | ((params:
|
|
1132
|
-
content?: string | ((params:
|
|
1133
|
-
filter?: string | ((params:
|
|
1134
|
-
edit?: string | ((params:
|
|
1135
|
-
icon?: string | ((params:
|
|
1130
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1131
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1132
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1133
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1134
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1135
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1136
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1137
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1138
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1139
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1136
1140
|
};
|
|
1137
1141
|
id: string;
|
|
1138
1142
|
parentId: string;
|
|
@@ -1141,6 +1145,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1141
1145
|
colSpan: number;
|
|
1142
1146
|
halfVisible: boolean;
|
|
1143
1147
|
defaultVisible: any;
|
|
1148
|
+
defaultFixed: any;
|
|
1144
1149
|
checked: boolean;
|
|
1145
1150
|
halfChecked: boolean;
|
|
1146
1151
|
disabled: boolean;
|
|
@@ -1154,16 +1159,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1154
1159
|
value: any;
|
|
1155
1160
|
};
|
|
1156
1161
|
children: any[];
|
|
1157
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1162
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1158
1163
|
[key: string]: any;
|
|
1159
1164
|
}>[];
|
|
1160
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1165
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1161
1166
|
[key: string]: any;
|
|
1162
1167
|
}>[];
|
|
1163
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1168
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1164
1169
|
[key: string]: any;
|
|
1165
1170
|
}>[];
|
|
1166
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1171
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1167
1172
|
[key: string]: any;
|
|
1168
1173
|
}>[];
|
|
1169
1174
|
getTitle: () => string;
|
|
@@ -1174,7 +1179,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1174
1179
|
field?: string | undefined;
|
|
1175
1180
|
}[] | undefined;
|
|
1176
1181
|
columnFilterMethod?: ((params: {
|
|
1177
|
-
column: VxeTableDefines.ColumnInfo
|
|
1182
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1178
1183
|
$columnIndex: number;
|
|
1179
1184
|
}) => boolean) | undefined;
|
|
1180
1185
|
dataFilterMethod?: ((params: {
|
|
@@ -1189,8 +1194,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1189
1194
|
useStyle?: boolean | undefined;
|
|
1190
1195
|
sheetMethod?: ((params: VxeTableDefines.ExtortSheetMethodParams) => void) | undefined;
|
|
1191
1196
|
exportMethod?: ((params: {
|
|
1192
|
-
$table: VxeTableConstructor
|
|
1193
|
-
$grid?: VxeGridConstructor | undefined;
|
|
1197
|
+
$table: VxeTableConstructor<any>;
|
|
1198
|
+
$grid?: VxeGridConstructor<any> | undefined;
|
|
1194
1199
|
options: VxeTablePropTypes.ExportHandleOptions;
|
|
1195
1200
|
}) => Promise<any>) | undefined;
|
|
1196
1201
|
beforeExportMethod?: ((params: {
|
|
@@ -1207,17 +1212,17 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1207
1212
|
message?: boolean | undefined;
|
|
1208
1213
|
remote?: boolean | undefined;
|
|
1209
1214
|
importMethod?: ((params: {
|
|
1210
|
-
$table: VxeTableConstructor
|
|
1211
|
-
$grid: VxeGridConstructor
|
|
1215
|
+
$table: VxeTableConstructor<any>;
|
|
1216
|
+
$grid: VxeGridConstructor<any>;
|
|
1212
1217
|
file: File;
|
|
1213
1218
|
options: VxeTablePropTypes.ImportHandleOptions;
|
|
1214
1219
|
}) => Promise<any>) | undefined;
|
|
1215
1220
|
beforeImportMethod?: ((params: {
|
|
1216
|
-
$table: VxeTableConstructor
|
|
1221
|
+
$table: VxeTableConstructor<any>;
|
|
1217
1222
|
options: any;
|
|
1218
1223
|
}) => void) | undefined;
|
|
1219
1224
|
afterImportMethod?: ((params: {
|
|
1220
|
-
$table: VxeTableConstructor
|
|
1225
|
+
$table: VxeTableConstructor<any>;
|
|
1221
1226
|
options: any;
|
|
1222
1227
|
status: boolean;
|
|
1223
1228
|
}) => void) | undefined;
|
|
@@ -1246,12 +1251,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1246
1251
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1247
1252
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1248
1253
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1249
|
-
className: VxeColumnPropTypes.ClassName
|
|
1250
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
1251
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
1252
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
1254
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
1255
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
1256
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
1257
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
1253
1258
|
sortable: boolean;
|
|
1254
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
1259
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
1255
1260
|
sortType: VxeColumnPropTypes.SortType;
|
|
1256
1261
|
filters: {
|
|
1257
1262
|
label?: string | number | undefined;
|
|
@@ -1261,7 +1266,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1261
1266
|
checked?: boolean | undefined;
|
|
1262
1267
|
}[];
|
|
1263
1268
|
filterMultiple: boolean;
|
|
1264
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
1269
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
1265
1270
|
filterRender: {
|
|
1266
1271
|
options?: any[] | undefined;
|
|
1267
1272
|
optionProps?: {
|
|
@@ -1291,8 +1296,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1291
1296
|
};
|
|
1292
1297
|
treeNode: boolean;
|
|
1293
1298
|
visible: boolean;
|
|
1294
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
1295
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
1299
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
1300
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
1296
1301
|
titleHelp: {
|
|
1297
1302
|
useHTML?: boolean | undefined;
|
|
1298
1303
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -1312,7 +1317,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1312
1317
|
cellType: VxeColumnPropTypes.CellType;
|
|
1313
1318
|
cellRender: {
|
|
1314
1319
|
events?: {
|
|
1315
|
-
[key: string]: (cellParams:
|
|
1320
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1316
1321
|
} | undefined;
|
|
1317
1322
|
options?: any[] | undefined;
|
|
1318
1323
|
optionProps?: {
|
|
@@ -1339,7 +1344,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1339
1344
|
};
|
|
1340
1345
|
editRender: {
|
|
1341
1346
|
events?: {
|
|
1342
|
-
[key: string]: (cellParams:
|
|
1347
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1343
1348
|
} | undefined;
|
|
1344
1349
|
enabled?: boolean | undefined;
|
|
1345
1350
|
options?: any[] | undefined;
|
|
@@ -1357,7 +1362,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1357
1362
|
autofocus?: string | undefined;
|
|
1358
1363
|
autoselect?: boolean | undefined;
|
|
1359
1364
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
1360
|
-
column: VxeTableDefines.ColumnInfo
|
|
1365
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1361
1366
|
}) => any) | {
|
|
1362
1367
|
exec: (string: string) => RegExpExecArray | null;
|
|
1363
1368
|
test: (string: string) => boolean;
|
|
@@ -1483,16 +1488,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1483
1488
|
};
|
|
1484
1489
|
params: any;
|
|
1485
1490
|
slots: {
|
|
1486
|
-
title?: string | ((params:
|
|
1487
|
-
radio?: string | ((params:
|
|
1488
|
-
checkbox?: string | ((params:
|
|
1489
|
-
default?: string | ((params:
|
|
1490
|
-
header?: string | ((params:
|
|
1491
|
-
footer?: string | ((params:
|
|
1492
|
-
content?: string | ((params:
|
|
1493
|
-
filter?: string | ((params:
|
|
1494
|
-
edit?: string | ((params:
|
|
1495
|
-
icon?: string | ((params:
|
|
1491
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1492
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1493
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1494
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1495
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1496
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1497
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1498
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1499
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1500
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1496
1501
|
};
|
|
1497
1502
|
id: string;
|
|
1498
1503
|
parentId: string;
|
|
@@ -1501,6 +1506,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1501
1506
|
colSpan: number;
|
|
1502
1507
|
halfVisible: boolean;
|
|
1503
1508
|
defaultVisible: any;
|
|
1509
|
+
defaultFixed: any;
|
|
1504
1510
|
checked: boolean;
|
|
1505
1511
|
halfChecked: boolean;
|
|
1506
1512
|
disabled: boolean;
|
|
@@ -1514,16 +1520,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1514
1520
|
value: any;
|
|
1515
1521
|
};
|
|
1516
1522
|
children: any[];
|
|
1517
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1523
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1518
1524
|
[key: string]: any;
|
|
1519
1525
|
}>[];
|
|
1520
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1526
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1521
1527
|
[key: string]: any;
|
|
1522
1528
|
}>[];
|
|
1523
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1529
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1524
1530
|
[key: string]: any;
|
|
1525
1531
|
}>[];
|
|
1526
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1532
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1527
1533
|
[key: string]: any;
|
|
1528
1534
|
}>[];
|
|
1529
1535
|
getTitle: () => string;
|
|
@@ -1536,7 +1542,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1536
1542
|
style?: string | undefined;
|
|
1537
1543
|
content?: string | undefined;
|
|
1538
1544
|
columnFilterMethod?: ((params: {
|
|
1539
|
-
column: VxeTableDefines.ColumnInfo
|
|
1545
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1540
1546
|
$columnIndex: number;
|
|
1541
1547
|
}) => boolean) | undefined;
|
|
1542
1548
|
dataFilterMethod?: ((params: {
|
|
@@ -1548,7 +1554,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1548
1554
|
$rowIndex: number;
|
|
1549
1555
|
}) => boolean) | undefined;
|
|
1550
1556
|
beforePrintMethod?: ((params: {
|
|
1551
|
-
$table: VxeTableConstructor | null;
|
|
1557
|
+
$table: VxeTableConstructor<any> | null;
|
|
1552
1558
|
content: string;
|
|
1553
1559
|
options: VxeTablePropTypes.PrintHandleOptions;
|
|
1554
1560
|
}) => string) | undefined;
|
|
@@ -1558,27 +1564,27 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1558
1564
|
expandAll?: boolean | undefined;
|
|
1559
1565
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1560
1566
|
accordion?: boolean | undefined;
|
|
1561
|
-
trigger?: "" | "default" | "
|
|
1567
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1562
1568
|
lazy?: boolean | undefined;
|
|
1563
1569
|
reserve?: boolean | undefined;
|
|
1564
1570
|
height?: number | undefined;
|
|
1565
1571
|
loadMethod?: ((params: {
|
|
1566
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1567
|
-
row:
|
|
1572
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1573
|
+
row: VxeTableDataRow;
|
|
1568
1574
|
rowIndex: number;
|
|
1569
1575
|
$rowIndex: number;
|
|
1570
1576
|
}) => Promise<void>) | undefined;
|
|
1571
1577
|
toggleMethod?: ((params: {
|
|
1572
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1578
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1573
1579
|
expanded: boolean;
|
|
1574
|
-
row:
|
|
1580
|
+
row: VxeTableDataRow;
|
|
1575
1581
|
rowIndex: number;
|
|
1576
1582
|
$rowIndex: number;
|
|
1577
|
-
column: VxeTableDefines.ColumnInfo
|
|
1583
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1578
1584
|
columnIndex: number;
|
|
1579
1585
|
$columnIndex: number;
|
|
1580
1586
|
}) => boolean) | undefined;
|
|
1581
|
-
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams) => boolean) | undefined;
|
|
1587
|
+
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1582
1588
|
showIcon?: boolean | undefined;
|
|
1583
1589
|
iconOpen?: string | undefined;
|
|
1584
1590
|
iconClose?: string | undefined;
|
|
@@ -1595,19 +1601,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1595
1601
|
expandAll?: boolean | undefined;
|
|
1596
1602
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1597
1603
|
accordion?: boolean | undefined;
|
|
1598
|
-
trigger?: "" | "default" | "
|
|
1604
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1599
1605
|
lazy?: boolean | undefined;
|
|
1600
1606
|
hasChild?: string | undefined;
|
|
1601
1607
|
reserve?: boolean | undefined;
|
|
1602
1608
|
loadMethod?: ((params: {
|
|
1603
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1604
|
-
row:
|
|
1609
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1610
|
+
row: VxeTableDataRow;
|
|
1605
1611
|
}) => Promise<any[]>) | undefined;
|
|
1606
1612
|
toggleMethod?: ((params: {
|
|
1607
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1613
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1608
1614
|
expanded: boolean;
|
|
1609
|
-
row:
|
|
1610
|
-
column: VxeTableDefines.ColumnInfo
|
|
1615
|
+
row: VxeTableDataRow;
|
|
1616
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1611
1617
|
columnIndex: number;
|
|
1612
1618
|
$columnIndex: number;
|
|
1613
1619
|
}) => boolean) | undefined;
|
|
@@ -1694,10 +1700,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1694
1700
|
visibleMethod?: ((params: {
|
|
1695
1701
|
type: string;
|
|
1696
1702
|
options: VxeTableDefines.MenuFirstOption[][];
|
|
1697
|
-
columns: VxeTableDefines.ColumnInfo[];
|
|
1698
|
-
row?:
|
|
1703
|
+
columns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1704
|
+
row?: VxeTableDataRow | undefined;
|
|
1699
1705
|
rowIndex?: number | undefined;
|
|
1700
|
-
column?: VxeTableDefines.ColumnInfo | undefined;
|
|
1706
|
+
column?: VxeTableDefines.ColumnInfo<VxeTableDataRow> | undefined;
|
|
1701
1707
|
columnIndex?: number | undefined;
|
|
1702
1708
|
}) => boolean) | undefined;
|
|
1703
1709
|
} | undefined;
|
|
@@ -1707,19 +1713,20 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1707
1713
|
extension?: boolean | undefined;
|
|
1708
1714
|
} | undefined;
|
|
1709
1715
|
areaConfig?: {
|
|
1716
|
+
multiple?: boolean | undefined;
|
|
1710
1717
|
selectCellByHeader?: boolean | undefined;
|
|
1711
1718
|
extendByCopy?: boolean | undefined;
|
|
1712
1719
|
extendByCalc?: boolean | undefined;
|
|
1713
|
-
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => any[][]) | undefined;
|
|
1720
|
+
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => any[][]) | undefined;
|
|
1714
1721
|
extendSetMethod?: ((params: {
|
|
1715
1722
|
cellValue: any;
|
|
1716
|
-
row:
|
|
1717
|
-
column: VxeTableDefines.ColumnInfo
|
|
1718
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => void) | undefined;
|
|
1719
|
-
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1723
|
+
row: VxeTableDataRow;
|
|
1724
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1725
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => void) | undefined;
|
|
1726
|
+
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1720
1727
|
afterExtendSetMethod?: ((params: {
|
|
1721
1728
|
extendValues: any[][];
|
|
1722
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1729
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1723
1730
|
} | undefined;
|
|
1724
1731
|
fnrConfig?: {
|
|
1725
1732
|
isFind?: boolean | undefined;
|
|
@@ -1734,36 +1741,36 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1734
1741
|
beforeFindMethod?: ((params: {
|
|
1735
1742
|
isAll: boolean;
|
|
1736
1743
|
findValue: string | null;
|
|
1737
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1738
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1744
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1745
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1739
1746
|
}) => boolean) | undefined;
|
|
1740
1747
|
afterFindMethod?: ((params: {
|
|
1741
1748
|
isAll: boolean;
|
|
1742
1749
|
findValue: string | null;
|
|
1743
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1744
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1745
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1750
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1751
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1752
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1746
1753
|
}) => void) | undefined;
|
|
1747
1754
|
isReplace?: boolean | undefined;
|
|
1748
1755
|
replaceMethod?: ((params: {
|
|
1749
|
-
row:
|
|
1750
|
-
column: VxeTableDefines.ColumnInfo
|
|
1756
|
+
row: VxeTableDataRow;
|
|
1757
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1751
1758
|
cellValue: any;
|
|
1752
1759
|
}) => void) | undefined;
|
|
1753
1760
|
beforeReplaceMethod?: ((params: {
|
|
1754
1761
|
isAll: boolean;
|
|
1755
1762
|
findValue: string | null;
|
|
1756
1763
|
replaceValue: string;
|
|
1757
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1758
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1764
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1765
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1759
1766
|
}) => boolean) | undefined;
|
|
1760
1767
|
afterReplaceMethod?: ((params: {
|
|
1761
1768
|
isAll: boolean;
|
|
1762
1769
|
findValue: string | null;
|
|
1763
1770
|
replaceValue: string;
|
|
1764
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1765
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1766
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1771
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1772
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1773
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1767
1774
|
}) => void) | undefined;
|
|
1768
1775
|
} | undefined;
|
|
1769
1776
|
keyboardConfig?: {
|
|
@@ -1780,26 +1787,26 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1780
1787
|
isChecked?: boolean | undefined;
|
|
1781
1788
|
enterToTab?: boolean | undefined;
|
|
1782
1789
|
delMethod?: ((params: {
|
|
1783
|
-
row:
|
|
1790
|
+
row: VxeTableDataRow;
|
|
1784
1791
|
rowIndex: number;
|
|
1785
|
-
column: VxeTableDefines.ColumnInfo
|
|
1792
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1786
1793
|
columnIndex: number;
|
|
1787
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1794
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1788
1795
|
}) => void) | undefined;
|
|
1789
1796
|
backMethod?: ((params: {
|
|
1790
|
-
row:
|
|
1797
|
+
row: VxeTableDataRow;
|
|
1791
1798
|
rowIndex: number;
|
|
1792
|
-
column: VxeTableDefines.ColumnInfo
|
|
1799
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1793
1800
|
columnIndex: number;
|
|
1794
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1801
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1795
1802
|
}) => void) | undefined;
|
|
1796
1803
|
editMethod?: ((params: {
|
|
1797
|
-
row:
|
|
1804
|
+
row: VxeTableDataRow;
|
|
1798
1805
|
rowIndex: number;
|
|
1799
|
-
column: VxeTableDefines.ColumnInfo
|
|
1806
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1800
1807
|
columnIndex: number;
|
|
1801
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1802
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1808
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1809
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1803
1810
|
}) => boolean) | undefined;
|
|
1804
1811
|
} | undefined;
|
|
1805
1812
|
clipConfig?: {
|
|
@@ -1811,97 +1818,97 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1811
1818
|
isColumnIncrement?: boolean | undefined;
|
|
1812
1819
|
copyMethod?: ((params: {
|
|
1813
1820
|
isCut: boolean;
|
|
1814
|
-
row:
|
|
1815
|
-
column: VxeTableDefines.ColumnInfo
|
|
1821
|
+
row: VxeTableDataRow;
|
|
1822
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1816
1823
|
cellValue: any;
|
|
1817
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1818
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1824
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1825
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1819
1826
|
}) => string) | undefined;
|
|
1820
1827
|
beforeCopyMethod?: ((params: {
|
|
1821
1828
|
isCut: boolean;
|
|
1822
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1823
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1824
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1825
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1829
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1830
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1831
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1832
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1826
1833
|
}) => boolean) | undefined;
|
|
1827
1834
|
afterCopyMethod?: ((params: {
|
|
1828
1835
|
isCut: boolean;
|
|
1829
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1830
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1831
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1836
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1837
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1838
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1832
1839
|
}) => boolean) | undefined;
|
|
1833
1840
|
cutMethod?: ((params: {
|
|
1834
|
-
row:
|
|
1835
|
-
column: VxeTableDefines.ColumnInfo
|
|
1841
|
+
row: VxeTableDataRow;
|
|
1842
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1836
1843
|
cellValue: any;
|
|
1837
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1838
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1844
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1845
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1839
1846
|
}) => void) | undefined;
|
|
1840
1847
|
beforeCutMethod?: ((params: {
|
|
1841
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1842
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1843
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1844
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1845
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1848
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1849
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1850
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1851
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1852
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1846
1853
|
}) => boolean) | undefined;
|
|
1847
1854
|
afterCutMethod?: ((params: {
|
|
1848
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1849
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1850
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1851
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1855
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1856
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1857
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1858
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1852
1859
|
}) => void) | undefined;
|
|
1853
1860
|
pasteMethod?: ((params: {
|
|
1854
1861
|
isCut: boolean;
|
|
1855
|
-
row:
|
|
1856
|
-
column: VxeTableDefines.ColumnInfo
|
|
1862
|
+
row: VxeTableDataRow;
|
|
1863
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1857
1864
|
cellValue: any;
|
|
1858
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1859
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1865
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1866
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1860
1867
|
}) => void) | undefined;
|
|
1861
1868
|
beforePasteMethod?: ((params: {
|
|
1862
1869
|
isCut: boolean;
|
|
1863
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1864
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1865
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1866
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1870
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1871
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1872
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1873
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1867
1874
|
cellValues: string[][];
|
|
1868
1875
|
pasteCells: string[][];
|
|
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
|
afterPasteMethod?: ((params: {
|
|
1873
1880
|
isCut: boolean;
|
|
1874
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1875
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1876
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1881
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1882
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1883
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1877
1884
|
cellValues: any[][];
|
|
1878
1885
|
pasteCells: string[][];
|
|
1879
|
-
insertRows:
|
|
1880
|
-
insertColumns: VxeTableDefines.ColumnInfo[];
|
|
1881
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1882
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1886
|
+
insertRows: VxeTableDataRow[];
|
|
1887
|
+
insertColumns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1888
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1889
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1883
1890
|
}) => boolean) | undefined;
|
|
1884
1891
|
createRowsMethod?: ((params: {
|
|
1885
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1886
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1892
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1893
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1887
1894
|
cellValues: any[][];
|
|
1888
1895
|
pasteCells: string[][];
|
|
1889
|
-
insertRows:
|
|
1890
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1891
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1892
|
-
}) =>
|
|
1896
|
+
insertRows: VxeTableDataRow[];
|
|
1897
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1898
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1899
|
+
}) => VxeTableDataRow[]) | undefined;
|
|
1893
1900
|
createColumnsMethod?: ((params: {
|
|
1894
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1895
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1901
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1902
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1896
1903
|
cellValues: any[][];
|
|
1897
1904
|
pasteCells: string[][];
|
|
1898
|
-
insertColumns: VxeTableDefines.ColumnOptions[];
|
|
1899
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1900
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1901
|
-
}) => VxeTableDefines.ColumnOptions[]) | undefined;
|
|
1905
|
+
insertColumns: VxeTableDefines.ColumnOptions<VxeTableDataRow>[];
|
|
1906
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1907
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1908
|
+
}) => VxeTableDefines.ColumnOptions<VxeTableDataRow>[]) | undefined;
|
|
1902
1909
|
} | undefined;
|
|
1903
1910
|
editConfig?: {
|
|
1904
|
-
trigger?: "" | "
|
|
1911
|
+
trigger?: "" | "click" | "manual" | "dblclick" | null | undefined;
|
|
1905
1912
|
enabled?: boolean | undefined;
|
|
1906
1913
|
mode?: string | undefined;
|
|
1907
1914
|
icon?: string | undefined;
|
|
@@ -1912,20 +1919,20 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1912
1919
|
showAsterisk?: boolean | undefined;
|
|
1913
1920
|
autoClear?: boolean | undefined;
|
|
1914
1921
|
beforeEditMethod?: ((params: {
|
|
1915
|
-
row:
|
|
1922
|
+
row: VxeTableDataRow;
|
|
1916
1923
|
rowIndex: number;
|
|
1917
|
-
column: VxeTableDefines.ColumnInfo
|
|
1924
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1918
1925
|
columnIndex: number;
|
|
1919
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1920
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1926
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1927
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1921
1928
|
}) => boolean) | undefined;
|
|
1922
1929
|
activeMethod?: ((params: {
|
|
1923
|
-
row:
|
|
1930
|
+
row: VxeTableDataRow;
|
|
1924
1931
|
rowIndex: number;
|
|
1925
|
-
column: VxeTableDefines.ColumnInfo
|
|
1932
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1926
1933
|
columnIndex: number;
|
|
1927
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1928
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1934
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1935
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1929
1936
|
}) => boolean) | undefined;
|
|
1930
1937
|
} | undefined;
|
|
1931
1938
|
validConfig?: {
|
|
@@ -1934,7 +1941,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1934
1941
|
message?: string | undefined;
|
|
1935
1942
|
maxWidth?: number | undefined;
|
|
1936
1943
|
} | undefined;
|
|
1937
|
-
editRules?: VxeTablePropTypes.EditRules | undefined;
|
|
1944
|
+
editRules?: VxeTablePropTypes.EditRules<VxeTableDataRow> | undefined;
|
|
1938
1945
|
emptyText?: string | undefined;
|
|
1939
1946
|
emptyRender?: {
|
|
1940
1947
|
name?: string | undefined;
|
|
@@ -1976,16 +1983,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1976
1983
|
columns?: {
|
|
1977
1984
|
children?: any[] | undefined;
|
|
1978
1985
|
slots?: {
|
|
1979
|
-
title?: string | ((params:
|
|
1980
|
-
radio?: string | ((params:
|
|
1981
|
-
checkbox?: string | ((params:
|
|
1982
|
-
default?: string | ((params:
|
|
1983
|
-
header?: string | ((params:
|
|
1984
|
-
footer?: string | ((params:
|
|
1985
|
-
content?: string | ((params:
|
|
1986
|
-
filter?: string | ((params:
|
|
1987
|
-
edit?: string | ((params:
|
|
1988
|
-
icon?: string | ((params:
|
|
1986
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1987
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1988
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1989
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1990
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1991
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1992
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1993
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1994
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1995
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1989
1996
|
} | undefined;
|
|
1990
1997
|
colId?: VxeColumnPropTypes.ColId | undefined;
|
|
1991
1998
|
type?: VxeColumnPropTypes.Type | undefined;
|
|
@@ -2002,12 +2009,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2002
2009
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2003
2010
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2004
2011
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2005
|
-
className?: VxeColumnPropTypes.ClassName | undefined;
|
|
2006
|
-
headerClassName?: VxeColumnPropTypes.HeaderClassName | undefined;
|
|
2007
|
-
footerClassName?: VxeColumnPropTypes.FooterClassName | undefined;
|
|
2008
|
-
formatter?: VxeColumnPropTypes.Formatter | undefined;
|
|
2012
|
+
className?: VxeColumnPropTypes.ClassName<VxeTableDataRow> | undefined;
|
|
2013
|
+
headerClassName?: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow> | undefined;
|
|
2014
|
+
footerClassName?: VxeColumnPropTypes.FooterClassName<VxeTableDataRow> | undefined;
|
|
2015
|
+
formatter?: VxeColumnPropTypes.Formatter<VxeTableDataRow> | undefined;
|
|
2009
2016
|
sortable?: boolean | undefined;
|
|
2010
|
-
sortBy?: VxeColumnPropTypes.SortBy | undefined;
|
|
2017
|
+
sortBy?: VxeColumnPropTypes.SortBy<VxeTableDataRow> | undefined;
|
|
2011
2018
|
sortType?: VxeColumnPropTypes.SortType | undefined;
|
|
2012
2019
|
filters?: {
|
|
2013
2020
|
label?: string | number | undefined;
|
|
@@ -2017,7 +2024,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2017
2024
|
checked?: boolean | undefined;
|
|
2018
2025
|
}[] | undefined;
|
|
2019
2026
|
filterMultiple?: boolean | undefined;
|
|
2020
|
-
filterMethod?: VxeColumnPropTypes.FilterMethod | undefined;
|
|
2027
|
+
filterMethod?: VxeColumnPropTypes.FilterMethod<VxeTableDataRow> | undefined;
|
|
2021
2028
|
filterRender?: {
|
|
2022
2029
|
options?: any[] | undefined;
|
|
2023
2030
|
optionProps?: {
|
|
@@ -2047,8 +2054,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2047
2054
|
} | undefined;
|
|
2048
2055
|
treeNode?: boolean | undefined;
|
|
2049
2056
|
visible?: boolean | undefined;
|
|
2050
|
-
exportMethod?: VxeColumnPropTypes.ExportMethod | undefined;
|
|
2051
|
-
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod | undefined;
|
|
2057
|
+
exportMethod?: VxeColumnPropTypes.ExportMethod<VxeTableDataRow> | undefined;
|
|
2058
|
+
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow> | undefined;
|
|
2052
2059
|
titleHelp?: {
|
|
2053
2060
|
useHTML?: boolean | undefined;
|
|
2054
2061
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2068,7 +2075,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2068
2075
|
cellType?: VxeColumnPropTypes.CellType | undefined;
|
|
2069
2076
|
cellRender?: {
|
|
2070
2077
|
events?: {
|
|
2071
|
-
[key: string]: (cellParams:
|
|
2078
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2072
2079
|
} | undefined;
|
|
2073
2080
|
options?: any[] | undefined;
|
|
2074
2081
|
optionProps?: {
|
|
@@ -2095,7 +2102,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2095
2102
|
} | undefined;
|
|
2096
2103
|
editRender?: {
|
|
2097
2104
|
events?: {
|
|
2098
|
-
[key: string]: (cellParams:
|
|
2105
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2099
2106
|
} | undefined;
|
|
2100
2107
|
enabled?: boolean | undefined;
|
|
2101
2108
|
options?: any[] | undefined;
|
|
@@ -2113,7 +2120,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2113
2120
|
autofocus?: string | undefined;
|
|
2114
2121
|
autoselect?: boolean | undefined;
|
|
2115
2122
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
2116
|
-
column: VxeTableDefines.ColumnInfo
|
|
2123
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2117
2124
|
}) => any) | {
|
|
2118
2125
|
exec: (string: string) => RegExpExecArray | null;
|
|
2119
2126
|
test: (string: string) => boolean;
|
|
@@ -2243,7 +2250,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2243
2250
|
enabled?: boolean | undefined;
|
|
2244
2251
|
slots?: any;
|
|
2245
2252
|
size?: SizeType | undefined;
|
|
2246
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2253
|
+
layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
2247
2254
|
currentPage?: number | undefined;
|
|
2248
2255
|
loading?: boolean | undefined;
|
|
2249
2256
|
pageSize?: number | undefined;
|
|
@@ -2282,15 +2289,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2282
2289
|
message?: string | undefined;
|
|
2283
2290
|
} | undefined;
|
|
2284
2291
|
ajax?: {
|
|
2285
|
-
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams
|
|
2286
|
-
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams
|
|
2287
|
-
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams
|
|
2288
|
-
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams
|
|
2292
|
+
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2293
|
+
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2294
|
+
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2295
|
+
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2289
2296
|
} | undefined;
|
|
2290
2297
|
} | undefined;
|
|
2291
2298
|
toolbarConfig?: {
|
|
2292
2299
|
enabled?: boolean | undefined;
|
|
2293
|
-
buttons?: any[] | undefined;
|
|
2294
2300
|
zoom?: boolean | {
|
|
2295
2301
|
escRestore?: boolean | undefined;
|
|
2296
2302
|
iconIn?: string | undefined;
|
|
@@ -2317,7 +2323,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2317
2323
|
refresh?: boolean | {
|
|
2318
2324
|
queryMethod?: ((params: {
|
|
2319
2325
|
[key: string]: any;
|
|
2320
|
-
}) =>
|
|
2326
|
+
}) => any) | undefined;
|
|
2321
2327
|
code?: "" | "query" | "reload" | null | undefined;
|
|
2322
2328
|
icon?: string | undefined;
|
|
2323
2329
|
iconLoading?: string | undefined;
|
|
@@ -2339,11 +2345,45 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2339
2345
|
immediate?: boolean | undefined;
|
|
2340
2346
|
storage?: boolean | undefined;
|
|
2341
2347
|
checkMethod?: ((params: {
|
|
2342
|
-
column: VxeTableDefines.ColumnInfo
|
|
2348
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2343
2349
|
}) => boolean) | undefined;
|
|
2344
2350
|
isFooter?: boolean | undefined;
|
|
2345
2351
|
icon?: string | undefined;
|
|
2346
2352
|
} | undefined;
|
|
2353
|
+
buttons?: {
|
|
2354
|
+
dropdowns?: any[] | undefined;
|
|
2355
|
+
buttonRender?: {
|
|
2356
|
+
name?: string | undefined;
|
|
2357
|
+
props?: {
|
|
2358
|
+
[key: string]: any;
|
|
2359
|
+
} | undefined;
|
|
2360
|
+
attrs?: {
|
|
2361
|
+
[key: string]: any;
|
|
2362
|
+
} | undefined;
|
|
2363
|
+
events?: {
|
|
2364
|
+
[key: string]: (...args: any[]) => any;
|
|
2365
|
+
} | undefined;
|
|
2366
|
+
children?: any[] | undefined;
|
|
2367
|
+
cellType?: "string" | "number" | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
code?: string | undefined;
|
|
2370
|
+
visible?: boolean | undefined;
|
|
2371
|
+
params?: any;
|
|
2372
|
+
size?: SizeType | undefined;
|
|
2373
|
+
type?: string | undefined;
|
|
2374
|
+
className?: string | undefined;
|
|
2375
|
+
name?: VxeButtonPropTypes.Name | undefined;
|
|
2376
|
+
content?: string | undefined;
|
|
2377
|
+
placement?: string | undefined;
|
|
2378
|
+
status?: string | undefined;
|
|
2379
|
+
icon?: string | undefined;
|
|
2380
|
+
round?: boolean | undefined;
|
|
2381
|
+
circle?: boolean | undefined;
|
|
2382
|
+
disabled?: boolean | undefined;
|
|
2383
|
+
loading?: boolean | undefined;
|
|
2384
|
+
destroyOnClose?: boolean | undefined;
|
|
2385
|
+
transfer?: boolean | undefined;
|
|
2386
|
+
}[] | undefined;
|
|
2347
2387
|
tools?: {
|
|
2348
2388
|
dropdowns?: any[] | undefined;
|
|
2349
2389
|
toolRender?: {
|
|
@@ -2392,7 +2432,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2392
2432
|
titleWidth?: VxeFormPropTypes.TitleWidth | undefined;
|
|
2393
2433
|
titleColon?: boolean | undefined;
|
|
2394
2434
|
titleAsterisk?: boolean | undefined;
|
|
2435
|
+
showTitle?: boolean | undefined;
|
|
2395
2436
|
className?: VxeFormItemPropTypes.ClassName | undefined;
|
|
2437
|
+
contentClassName?: VxeFormItemPropTypes.ContentClassName | undefined;
|
|
2438
|
+
contentStyle?: VxeFormItemPropTypes.ContentStyle | undefined;
|
|
2439
|
+
titleClassName?: VxeFormItemPropTypes.TitleClassName | undefined;
|
|
2440
|
+
titleStyle?: VxeFormItemPropTypes.TitleStyle | undefined;
|
|
2396
2441
|
titlePrefix?: {
|
|
2397
2442
|
useHTML?: boolean | undefined;
|
|
2398
2443
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2429,7 +2474,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2429
2474
|
key?: string | undefined;
|
|
2430
2475
|
} | undefined;
|
|
2431
2476
|
content?: string | undefined;
|
|
2432
|
-
autofocus?:
|
|
2477
|
+
autofocus?: string | undefined;
|
|
2433
2478
|
defaultValue?: string | number | object | any[] | {
|
|
2434
2479
|
exec: (string: string) => RegExpExecArray | null;
|
|
2435
2480
|
test: (string: string) => boolean;
|
|
@@ -2574,7 +2619,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2574
2619
|
};
|
|
2575
2620
|
pageData: Ref<RecordStringNumber>;
|
|
2576
2621
|
handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
|
|
2577
|
-
computedColumns: ComputedRef<VxeGridPropTypes.Columns
|
|
2622
|
+
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
2578
2623
|
editRules: ComputedRef<ruleItem>;
|
|
2579
2624
|
shake: Ref<boolean>;
|
|
2580
2625
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
@@ -2611,7 +2656,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2611
2656
|
readonly default: () => {};
|
|
2612
2657
|
};
|
|
2613
2658
|
readonly vxeGridConfig: {
|
|
2614
|
-
readonly type: PropType<VxeGridProps<
|
|
2659
|
+
readonly type: PropType<VxeGridProps<VxeTableDataRow>>;
|
|
2615
2660
|
readonly default: () => {};
|
|
2616
2661
|
};
|
|
2617
2662
|
readonly shake: {
|
|
@@ -2619,15 +2664,15 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2619
2664
|
readonly default: true;
|
|
2620
2665
|
};
|
|
2621
2666
|
}>>, {
|
|
2622
|
-
readonly vxeGridConfig: VxeGridProps<any>;
|
|
2623
|
-
readonly extend: Record<string, any>;
|
|
2624
|
-
readonly groupCode: string;
|
|
2625
2667
|
readonly columns: ColumnItem[];
|
|
2668
|
+
readonly buttons: PageButton[];
|
|
2669
|
+
readonly extend: Record<string, any>;
|
|
2626
2670
|
readonly groupName: string;
|
|
2627
2671
|
readonly groupNameI18nKey: string;
|
|
2672
|
+
readonly groupCode: string;
|
|
2628
2673
|
readonly groupType: string;
|
|
2629
2674
|
readonly sortOrder: string;
|
|
2630
|
-
readonly buttons: PageButton[];
|
|
2631
2675
|
readonly shake: boolean;
|
|
2632
|
-
|
|
2676
|
+
readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
|
|
2677
|
+
}, {}>>;
|
|
2633
2678
|
export default _default;
|