@fmdevui/fm-dev
Version:
Page level components developed based on Element Plus.
778 lines (777 loc) • 378 kB
TypeScript
import { VxeGridProps, VxeGridPropTypes, VxeComponentSlotType, VxeTableConstructor, VxeGridConstructor, VxeComponentStyleType, VxeTablePrivateMethods } from 'vxe-table';
import { VxeTablePropTypes } from 'vxe-pc-ui/types/components/table';
import { VxeGanttConstructor, VxeFormItemProps } from 'vxe-pc-ui';
import { VNode } from 'vue';
/**
* @param {String} id 表格唯一标识,为空时自动随机产生;
* @param {String} id name:表格名称,与导出文件名有关;
* @param {VxeGridPropTypes.Columns<any>} columns 列配置;
* @param {Boolean} showFooter 是否显示表尾;
* @param {any} footerData 表尾数据;
* @param {VxeTablePropTypes.FooterMethod<any>} footerMethod 表尾方法;
*/
interface iVxeOption {
id?: string;
name?: string;
spanFields?: Array<string>;
spanValueField?: string;
spanMethod?: VxeTablePropTypes.SpanMethod<any>;
columns: VxeGridPropTypes.Columns<any>;
data?: VxeTablePropTypes.Data<any>;
sortConfig?: VxeTablePropTypes.SortConfig<any>;
showFooter?: boolean;
footerData?: VxeTablePropTypes.FooterData;
footerMethod?: VxeTablePropTypes.FooterMethod<any>;
}
/**
* Vxe表格参数化Hook
* @param {iVxeOption} opt 参数
* @param {VxeGridProps<T>} extras 要覆盖的参数
* @returns
*/
export declare const useVxeTable: <T>(opt: iVxeOption, extras?: VxeGridProps<T>) => {
layouts?: import("vxe-table").VxeGridDefines.LayoutKey[] | import("vxe-table").VxeGridDefines.LayoutKey[][] | undefined;
columns?: {
children?: {
children?: /*elided*/ any[] | undefined;
slots?: {
title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
} | undefined;
colId?: import("vxe-table").VxeColumnPropTypes.ColId | undefined;
type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
field?: import("vxe-table").VxeColumnPropTypes.Field | undefined;
title?: import("vxe-table").VxeColumnPropTypes.Title | undefined;
width?: import("vxe-table").VxeColumnPropTypes.Width | undefined;
minWidth?: import("vxe-table").VxeColumnPropTypes.MinWidth | undefined;
maxWidth?: import("vxe-table").VxeColumnPropTypes.MaxWidth | undefined;
resizable?: import("vxe-table").VxeColumnPropTypes.Resizable | undefined;
fixed?: import("vxe-table").VxeColumnPropTypes.Fixed;
align?: import("vxe-table").VxeColumnPropTypes.Align;
headerAlign?: import("vxe-table").VxeColumnPropTypes.Align;
footerAlign?: import("vxe-table").VxeColumnPropTypes.Align;
showOverflow?: import("vxe-table").VxeColumnPropTypes.ShowOverflow | undefined;
showHeaderOverflow?: import("vxe-table").VxeColumnPropTypes.ShowHeaderOverflow | undefined;
showFooterOverflow?: import("vxe-table").VxeColumnPropTypes.ShowFooterOverflow | undefined;
className?: import("vxe-table").VxeColumnPropTypes.ClassName<any> | undefined;
headerClassName?: import("vxe-table").VxeColumnPropTypes.HeaderClassName<any> | undefined;
footerClassName?: import("vxe-table").VxeColumnPropTypes.FooterClassName<any> | undefined;
formatter?: import("vxe-table").VxeColumnPropTypes.Formatter<any> | undefined;
headerFormatter?: import("vxe-table").VxeColumnPropTypes.HeaderFormatter | undefined;
footerFormatter?: import("vxe-table").VxeColumnPropTypes.FooterFormatter<any> | undefined;
padding?: import("vxe-table").VxeColumnPropTypes.Padding | undefined;
verticalAlign?: import("vxe-table").VxeColumnPropTypes.VerticalAlign | undefined;
sortable?: import("vxe-table").VxeColumnPropTypes.Sortable | undefined;
sortBy?: import("vxe-table").VxeColumnPropTypes.SortBy<any> | undefined;
sortType?: import("vxe-table").VxeColumnPropTypes.SortType | undefined;
filters?: {
label?: string | number | undefined;
value?: any;
data?: any;
resetValue?: any;
checked?: boolean | undefined;
}[] | undefined;
filterMultiple?: import("vxe-table").VxeColumnPropTypes.FilterMultiple | undefined;
filterMethod?: import("vxe-table").VxeColumnPropTypes.FilterMethod<any> | undefined;
filterRender?: {
name?: string | undefined;
props?: {
[key: string]: any;
} | undefined;
attrs?: {
[key: string]: any;
} | undefined;
events?: {
[key: string]: (...args: any[]) => any;
} | undefined;
children?: any[] | undefined;
startField?: string | undefined;
endField?: string | undefined;
enabled?: boolean | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
content?: string | undefined;
cellType?: import("vxe-table").VxeColumnPropTypes.CellType | undefined;
} | undefined;
floatingFilters?: import("vxe-table").VxeColumnPropTypes.FloatingFilters | undefined;
rowGroupNode?: import("vxe-table").VxeColumnPropTypes.RowGroupNode | undefined;
treeNode?: import("vxe-table").VxeColumnPropTypes.TreeNode | undefined;
dragSort?: import("vxe-table").VxeColumnPropTypes.DragSort | undefined;
rowResize?: import("vxe-table").VxeColumnPropTypes.RowResize | undefined;
visible?: import("vxe-table").VxeColumnPropTypes.Visible | undefined;
aggFunc?: import("vxe-table").VxeColumnPropTypes.AggFunc;
headerExportMethod?: import("vxe-table").VxeColumnPropTypes.HeaderExportMethod<any> | undefined;
exportMethod?: import("vxe-table").VxeColumnPropTypes.ExportMethod<any> | undefined;
footerExportMethod?: import("vxe-table").VxeColumnPropTypes.FooterExportMethod<any> | undefined;
titleHelp?: {
useHTML?: import("vxe-pc-ui").VxeTooltipPropTypes.UseHTML | undefined;
content?: import("vxe-pc-ui").VxeTooltipPropTypes.Content | undefined;
enterable?: import("vxe-pc-ui").VxeTooltipPropTypes.Enterable | undefined;
theme?: import("vxe-pc-ui").VxeTooltipPropTypes.Theme | undefined;
icon?: import("vxe-pc-ui").VxeIconPropTypes.ClassName | undefined;
iconStatus?: import("vxe-pc-ui").VxeIconPropTypes.Status | undefined;
message?: string | undefined;
} | undefined;
titlePrefix?: {
useHTML?: import("vxe-pc-ui").VxeTooltipPropTypes.UseHTML | undefined;
content?: import("vxe-pc-ui").VxeTooltipPropTypes.Content | undefined;
enterable?: import("vxe-pc-ui").VxeTooltipPropTypes.Enterable | undefined;
theme?: import("vxe-pc-ui").VxeTooltipPropTypes.Theme | undefined;
icon?: import("vxe-pc-ui").VxeIconPropTypes.ClassName | undefined;
iconStatus?: import("vxe-pc-ui").VxeIconPropTypes.Status | undefined;
message?: string | undefined;
} | undefined;
titleSuffix?: {
useHTML?: import("vxe-pc-ui").VxeTooltipPropTypes.UseHTML | undefined;
content?: import("vxe-pc-ui").VxeTooltipPropTypes.Content | undefined;
enterable?: import("vxe-pc-ui").VxeTooltipPropTypes.Enterable | undefined;
theme?: import("vxe-pc-ui").VxeTooltipPropTypes.Theme | undefined;
icon?: import("vxe-pc-ui").VxeIconPropTypes.ClassName | undefined;
iconStatus?: import("vxe-pc-ui").VxeIconPropTypes.Status | undefined;
message?: string | undefined;
} | undefined;
cellType?: import("vxe-table").VxeColumnPropTypes.CellType | undefined;
cellRender?: {
name?: string | undefined;
props?: Record<string, any> | undefined;
attrs?: Record<string, any> | undefined;
children?: any[] | undefined;
startField?: string | undefined;
endField?: string | undefined;
events?: Record<string, (cellParams: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>, ...args: any[]) => any> | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
content?: string | undefined;
showNegativeStatus?: boolean | undefined;
} | undefined;
editRender?: {
name?: string | undefined;
props?: Record<string, any> | undefined;
attrs?: Record<string, any> | undefined;
children?: any[] | undefined;
startField?: string | undefined;
endField?: string | undefined;
events?: Record<string, (cellParams: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>, ...args: any[]) => any> | undefined;
enabled?: boolean | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
autoFocus?: boolean | string | undefined;
autoSelect?: boolean | undefined;
defaultValue?: string | number | object | RegExp | any[] | Date | ((params: {
column: import("vxe-table").VxeTableDefines.ColumnInfo<any>;
}) => any) | null | undefined;
immediate?: boolean | undefined;
content?: string | undefined;
placeholder?: string | undefined;
showNegativeStatus?: boolean | undefined;
autofocus?: string | undefined;
autoselect?: boolean | undefined;
} | undefined;
contentRender?: {
name?: string | undefined;
props?: Record<string, any> | undefined;
attrs?: Record<string, any> | undefined;
events?: Record<string, (cellParams: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>, ...args: any[]) => any> | undefined;
children?: any[] | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
} | undefined;
copyMethod?: import("vxe-table").VxeColumnPropTypes.CopyMethod | undefined;
cutMethod?: import("vxe-table").VxeColumnPropTypes.CutMethod | undefined;
pasteMethod?: import("vxe-table").VxeColumnPropTypes.PasteMethod | undefined;
params?: import("vxe-table").VxeColumnPropTypes.Params;
}[] | undefined;
slots?: {
title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
} | undefined;
colId?: import("vxe-table").VxeColumnPropTypes.ColId | undefined;
type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
field?: import("vxe-table").VxeColumnPropTypes.Field | undefined;
title?: import("vxe-table").VxeColumnPropTypes.Title | undefined;
width?: import("vxe-table").VxeColumnPropTypes.Width | undefined;
minWidth?: import("vxe-table").VxeColumnPropTypes.MinWidth | undefined;
maxWidth?: import("vxe-table").VxeColumnPropTypes.MaxWidth | undefined;
resizable?: import("vxe-table").VxeColumnPropTypes.Resizable | undefined;
fixed?: import("vxe-table").VxeColumnPropTypes.Fixed;
align?: import("vxe-table").VxeColumnPropTypes.Align;
headerAlign?: import("vxe-table").VxeColumnPropTypes.Align;
footerAlign?: import("vxe-table").VxeColumnPropTypes.Align;
showOverflow?: import("vxe-table").VxeColumnPropTypes.ShowOverflow | undefined;
showHeaderOverflow?: import("vxe-table").VxeColumnPropTypes.ShowHeaderOverflow | undefined;
showFooterOverflow?: import("vxe-table").VxeColumnPropTypes.ShowFooterOverflow | undefined;
className?: import("vxe-table").VxeColumnPropTypes.ClassName<any> | undefined;
headerClassName?: import("vxe-table").VxeColumnPropTypes.HeaderClassName<any> | undefined;
footerClassName?: import("vxe-table").VxeColumnPropTypes.FooterClassName<any> | undefined;
formatter?: import("vxe-table").VxeColumnPropTypes.Formatter<any> | undefined;
headerFormatter?: import("vxe-table").VxeColumnPropTypes.HeaderFormatter | undefined;
footerFormatter?: import("vxe-table").VxeColumnPropTypes.FooterFormatter<any> | undefined;
padding?: import("vxe-table").VxeColumnPropTypes.Padding | undefined;
verticalAlign?: import("vxe-table").VxeColumnPropTypes.VerticalAlign | undefined;
sortable?: import("vxe-table").VxeColumnPropTypes.Sortable | undefined;
sortBy?: import("vxe-table").VxeColumnPropTypes.SortBy<any> | undefined;
sortType?: import("vxe-table").VxeColumnPropTypes.SortType | undefined;
filters?: {
label?: string | number | undefined;
value?: any;
data?: any;
resetValue?: any;
checked?: boolean | undefined;
}[] | undefined;
filterMultiple?: import("vxe-table").VxeColumnPropTypes.FilterMultiple | undefined;
filterMethod?: import("vxe-table").VxeColumnPropTypes.FilterMethod<any> | undefined;
filterRender?: {
name?: string | undefined;
props?: {
[key: string]: any;
} | undefined;
attrs?: {
[key: string]: any;
} | undefined;
events?: {
[key: string]: (...args: any[]) => any;
} | undefined;
children?: any[] | undefined;
startField?: string | undefined;
endField?: string | undefined;
enabled?: boolean | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
content?: string | undefined;
cellType?: import("vxe-table").VxeColumnPropTypes.CellType | undefined;
} | undefined;
floatingFilters?: import("vxe-table").VxeColumnPropTypes.FloatingFilters | undefined;
rowGroupNode?: import("vxe-table").VxeColumnPropTypes.RowGroupNode | undefined;
treeNode?: import("vxe-table").VxeColumnPropTypes.TreeNode | undefined;
dragSort?: import("vxe-table").VxeColumnPropTypes.DragSort | undefined;
rowResize?: import("vxe-table").VxeColumnPropTypes.RowResize | undefined;
visible?: import("vxe-table").VxeColumnPropTypes.Visible | undefined;
aggFunc?: import("vxe-table").VxeColumnPropTypes.AggFunc;
headerExportMethod?: import("vxe-table").VxeColumnPropTypes.HeaderExportMethod<any> | undefined;
exportMethod?: import("vxe-table").VxeColumnPropTypes.ExportMethod<any> | undefined;
footerExportMethod?: import("vxe-table").VxeColumnPropTypes.FooterExportMethod<any> | undefined;
titleHelp?: {
useHTML?: import("vxe-pc-ui").VxeTooltipPropTypes.UseHTML | undefined;
content?: import("vxe-pc-ui").VxeTooltipPropTypes.Content | undefined;
enterable?: import("vxe-pc-ui").VxeTooltipPropTypes.Enterable | undefined;
theme?: import("vxe-pc-ui").VxeTooltipPropTypes.Theme | undefined;
icon?: import("vxe-pc-ui").VxeIconPropTypes.ClassName | undefined;
iconStatus?: import("vxe-pc-ui").VxeIconPropTypes.Status | undefined;
message?: string | undefined;
} | undefined;
titlePrefix?: {
useHTML?: import("vxe-pc-ui").VxeTooltipPropTypes.UseHTML | undefined;
content?: import("vxe-pc-ui").VxeTooltipPropTypes.Content | undefined;
enterable?: import("vxe-pc-ui").VxeTooltipPropTypes.Enterable | undefined;
theme?: import("vxe-pc-ui").VxeTooltipPropTypes.Theme | undefined;
icon?: import("vxe-pc-ui").VxeIconPropTypes.ClassName | undefined;
iconStatus?: import("vxe-pc-ui").VxeIconPropTypes.Status | undefined;
message?: string | undefined;
} | undefined;
titleSuffix?: {
useHTML?: import("vxe-pc-ui").VxeTooltipPropTypes.UseHTML | undefined;
content?: import("vxe-pc-ui").VxeTooltipPropTypes.Content | undefined;
enterable?: import("vxe-pc-ui").VxeTooltipPropTypes.Enterable | undefined;
theme?: import("vxe-pc-ui").VxeTooltipPropTypes.Theme | undefined;
icon?: import("vxe-pc-ui").VxeIconPropTypes.ClassName | undefined;
iconStatus?: import("vxe-pc-ui").VxeIconPropTypes.Status | undefined;
message?: string | undefined;
} | undefined;
cellType?: import("vxe-table").VxeColumnPropTypes.CellType | undefined;
cellRender?: {
name?: string | undefined;
props?: Record<string, any> | undefined;
attrs?: Record<string, any> | undefined;
children?: any[] | undefined;
startField?: string | undefined;
endField?: string | undefined;
events?: Record<string, (cellParams: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>, ...args: any[]) => any> | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
content?: string | undefined;
showNegativeStatus?: boolean | undefined;
} | undefined;
editRender?: {
name?: string | undefined;
props?: Record<string, any> | undefined;
attrs?: Record<string, any> | undefined;
children?: any[] | undefined;
startField?: string | undefined;
endField?: string | undefined;
events?: Record<string, (cellParams: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>, ...args: any[]) => any> | undefined;
enabled?: boolean | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
autoFocus?: boolean | string | undefined;
autoSelect?: boolean | undefined;
defaultValue?: string | number | object | RegExp | any[] | Date | ((params: {
column: import("vxe-table").VxeTableDefines.ColumnInfo<any>;
}) => any) | null | undefined;
immediate?: boolean | undefined;
content?: string | undefined;
placeholder?: string | undefined;
showNegativeStatus?: boolean | undefined;
autofocus?: string | undefined;
autoselect?: boolean | undefined;
} | undefined;
contentRender?: {
name?: string | undefined;
props?: Record<string, any> | undefined;
attrs?: Record<string, any> | undefined;
events?: Record<string, (cellParams: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>, ...args: any[]) => any> | undefined;
children?: any[] | undefined;
options?: any[] | undefined;
optionProps?: {
value?: string | undefined;
label?: string | undefined;
disabled?: string | undefined;
key?: string | undefined;
children?: string | undefined;
hasChild?: string | undefined;
parent?: string | undefined;
} | undefined;
optionGroups?: any[] | undefined;
optionGroupProps?: {
options?: string | undefined;
label?: string | undefined;
key?: string | undefined;
} | undefined;
} | undefined;
copyMethod?: import("vxe-table").VxeColumnPropTypes.CopyMethod | undefined;
cutMethod?: import("vxe-table").VxeColumnPropTypes.CutMethod | undefined;
pasteMethod?: import("vxe-table").VxeColumnPropTypes.PasteMethod | undefined;
params?: import("vxe-table").VxeColumnPropTypes.Params;
}[] | undefined;
pagerConfig?: {
enabled?: boolean | undefined;
slots?: {
left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
} | undefined;
size?: import("vxe-pc-ui").VxePagerPropTypes.Size | undefined;
layouts?: ("Home" | "PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "End" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
currentPage?: import("vxe-pc-ui").VxePagerPropTypes.CurrentPage | undefined;
loading?: import("vxe-pc-ui").VxePagerPropTypes.Loading | undefined;
pageSize?: import("vxe-pc-ui").VxePagerPropTypes.PageSize | undefined;
total?: import("vxe-pc-ui").VxePagerPropTypes.Total | undefined;
pagerCount?: import("vxe-pc-ui").VxePagerPropTypes.PagerCount | undefined;
pageSizes?: (number | {
label?: number | string | undefined;
value?: number | string | undefined;
})[] | undefined;
align?: import("vxe-pc-ui").VxePagerPropTypes.Align | undefined;
border?: import("vxe-pc-ui").VxePagerPropTypes.Border | undefined;
background?: import("vxe-pc-ui").VxePagerPropTypes.Background | undefined;
perfect?: import("vxe-pc-ui").VxePagerPropTypes.Perfect | undefined;
autoHidden?: import("vxe-pc-ui").VxePagerPropTypes.AutoHidden | undefined;
transfer?: import("vxe-pc-ui").VxePagerPropTypes.Transfer | undefined;
className?: import("vxe-pc-ui").VxePagerPropTypes.ClassName | undefined;
pageSizePlacement?: import("vxe-pc-ui").VxePagerPropTypes.PageSizePlacement | undefined;
iconPrevPage?: import("vxe-pc-ui").VxePagerPropTypes.IconPrevPage | undefined;
iconJumpPrev?: import("vxe-pc-ui").VxePagerPropTypes.IconJumpPrev | undefined;
iconJumpNext?: import("vxe-pc-ui").VxePagerPropTypes.IconJumpNext | undefined;
iconNextPage?: import("vxe-pc-ui").VxePagerPropTypes.IconNextPage | undefined;
iconJumpMore?: import("vxe-pc-ui").VxePagerPropTypes.IconJumpMore | undefined;
iconHomePage?: import("vxe-pc-ui").VxePagerPropTypes.IconHomePage | undefined;
iconEndPage?: import("vxe-pc-ui").VxePagerPropTypes.IconEndPage | undefined;
} | undefined;
proxyConfig?: {
[x: string]: any;
enabled?: boolean | undefined;
autoLoad?: boolean | undefined;
message?: boolean | undefined;
showLoading?: boolean | undefined;
showResponseMsg?: boolean | undefined;
showActiveMsg?: boolean | undefined;
showActionMsg?: boolean | undefined;
seq?: boolean | undefined;
sort?: boolean | undefined;
filter?: boolean | undefined;
form?: boolean | undefined;
footer?: boolean | undefined;
response?: {
list?: string | ((params: {
data: any;
$table: VxeTableConstructor<any>;
$grid: VxeGridConstructor<any> | null | undefined;
$gantt: VxeGanttConstructor<any> | null | undefined;
}) => any[]) | null | undefined;
result?: string | ((params: {
data: any;
$table: VxeTableConstructor<any>;
$grid: VxeGridConstructor<any> | null | undefined;
$gantt: VxeGanttConstructor<any> | null | undefined;
}) => any[]) | undefined;
footerData?: string | ((params: {
data: any;
$table: VxeTableConstructor<any>;
$grid: VxeGridConstructor<any> | null | undefined;
$gantt: VxeGanttConstructor<any> | null | undefined;
}) => any[]) | undefined;
total?: string | ((params: {
data: any;
$table: VxeTableConstructor<any>;
$grid: VxeGridConstructor<any> | null | undefined;
$gantt: VxeGanttConstructor<any> | null | undefined;
}) => number) | undefined;
message?: string | ((params: {
data: any;
$table: VxeTableConstructor<any>;
$grid: VxeGridConstructor<any> | null | undefined;
$gantt: VxeGanttConstructor<any> | null | undefined;
}) => string) | undefined;
} | undefined;
ajax?: {
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<any>, ...args: any[]) => Promise<any>) | undefined;
querySuccess?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
queryError?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<any>) => Promise<any>) | undefined;
queryAllSuccess?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
queryAllError?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
queryFooter?: ((params: VxeGridPropTypes.ProxyAjaxQueryFooterParams<any>, ...args: any[]) => Promise<any>) | undefined;
queryFooterSuccess?: ((params: VxeGridPropTypes.ProxyAjaxQueryFooterParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
queryFooterError?: ((params: VxeGridPropTypes.ProxyAjaxQueryFooterParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<any>, ...args: any[]) => Promise<any>) | undefined;
deleteSuccess?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
deleteError?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<any>, ...args: any[]) => Promise<any>) | undefined;
saveSuccess?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
saveError?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<any> & VxeGridPropTypes.ProxyAjaxResponseParams<any>) => void) | undefined;
} | undefined;
props?: {
list?: string | null | undefined;
result?: string | undefined;
total?: string | undefined;
message?: string | undefined;
} | undefined;
} | undefined;
toolbarConfig?: {
enabled?: boolean | undefined;
zoom?: boolean | {
escRestore?: boolean | undefined;
iconIn?: string | undefined;
iconOut?: string | undefined;
} | undefined;
slots?: {
buttons?: string | ((params: import("vxe-table").VxeToolbarSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
buttonPrefix?: string | ((params: import("vxe-table").VxeToolbarSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
buttonSuffix?: string | ((params: import("vxe-table").VxeToolbarSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
tools?: string | ((params: import("vxe-table").VxeToolbarSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
toolPrefix?: string | ((params: import("vxe-table").VxeToolbarSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
toolSuffix?: string | ((params: import("vxe-table").VxeToolbarSlotTypes.DefaultSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
} | undefined;
size?: import("vxe-table").VxeToolbarPropTypes.Size | undefined;
id?: import("vxe-table").VxeToolbarPropTypes.Id | undefined;
loading?: import("vxe-table").VxeToolbarPropTypes.Loading | undefined;
resizable?: boolean | {
storage?: boolean | undefined;
} | undefined;
refresh?: boolean | {
queryMethod?: ((params: {
[key: string]: any;
}) => any) | undefined;
code?: "query" | "reload" | "" | null | undefined;
icon?: string | undefined;
iconLoading?: string | undefined;
query?: ((params: {
[key: string]: any;
}) => Promise<any>) | undefined;
} | undefined;
refreshOptions?: {
queryMethod?: ((params: {
[key: string]: any;
}) => any) | undefined;
code?: "query" | "reload" | "" | null | undefined;
icon?: string | undefined;
iconLoading?: string | undefined;
query?: ((params: {
[key: string]: any;
}) => Promise<any>) | undefined;
} | undefined;
import?: boolean | {
icon?: string | undefined;
} | undefined;
importOptions?: {
icon?: string | undefined;
} | undefined;
export?: boolean | {
icon?: string | undefined;
} | undefined;
exportOptions?: {
icon?: string | undefined;
} | undefined;
print?: boolean | {
icon?: string | undefined;
} | undefined;
printOptions?: {
icon?: string | undefined;
} | undefined;
zoomOptions?: {
iconIn?: string | undefined;
iconOut?: string | undefined;
} | undefined;
custom?: boolean | {
icon?: string | undefined;
trigger?: string | undefined;
immediate?: boolean | undefined;
storage?: boolean | undefined;
checkMethod?: ((params: {
column: import("vxe-table").VxeTableDefines.ColumnInfo;
}) => boolean) | undefined;
showFooter?: boolean | undefined;
allowFixed?: boolean | undefined;
resetButtonText?: string | undefined;
confirmButtonText?: string | undefined;
isFooter?: boolean | undefined;
} | undefined;
customOptions?: {
icon?: string | undefined;
trigger?: string | undefined;
immediate?: boolean | undefined;
storage?: boolean | undefined;
checkMethod?: ((params: {
column: import("vxe-table").VxeTableDefines.ColumnInfo;
}) => boolean) | undefined;
showFooter?: boolean | undefined;
allowFixed?: boolean | undefined;
resetButtonText?: string | undefined;
confirmButtonText?: string | undefined;
isFooter?: boolean | undefined;
} | undefined;
buttons?: {
dropdowns?: /*elided*/ any[] | undefined;
buttonRender?: {
name?: string | undefined;
props?: {
[key: string]: any;
} | undefined;
attrs?: {
[key: string]: any;
} | undefined;
events?: {
[key: string]: (...args: any[]) => any;
} | undefined;
} | undefined;
code?: string | undefined;
visible?: boolean | undefined;
params?: any;
size?: import("vxe-pc-ui").VxeButtonPropTypes.Size | undefined;
zIndex?: import("vxe-pc-ui").VxeButtonPropTypes.ZIndex | undefined;
type?: import("vxe-pc-ui").VxeButtonPropTypes.Type | undefined;
mode?: import("vxe-pc-ui").VxeButtonPropTypes.Mode | undefined;
className?: import("vxe-pc-ui").VxeButtonPropTypes.ClassName | undefined;
popupClassName?: import("vxe-pc-ui").VxeButtonPropTypes.PopupClassName | undefined;
name?: import("vxe-pc-ui").VxeButtonPropTypes.Name | undefined;
routerLink?: {
path?: string | undefined;
name?: string | number | null | undefined;
query?: any;
params?: any;
target?: null | "" | "_blank" | "_self" | "_parent" | "_top" | undefined;
} | undefined;
permissionCode?: import("vxe-pc-ui").VxeButtonPropTypes.PermissionCode | undefined;
title?: import("vxe-pc-ui").VxeButtonPropTypes.Title | undefined;
content?: import("vxe-pc-ui").VxeButtonPropTypes.Content | undefined;
placement?: import("vxe-pc-ui").VxeButtonPropTypes.Placement | undefined;
status?: import("vxe-pc-ui").VxeButtonPropTypes.Status | undefined;
icon?: import("vxe-pc-ui").VxeButtonPropTypes.Icon | undefined;
iconRender?: {
name: string;
props?: {
[key: string]: any;
} | undefined;
events?: {
[key: string]: (...args: any[]) => any;
} | undefined;
} | undefined;
prefixIcon?: import("vxe-pc-ui").VxeButtonPropTypes.PrefixIcon | undefined;
prefixRender?: {
name: string;
props?: {
[key: string]: any;
} | undefined;
events?: {
[key: string]: (...args: any[]) => any;
} | undefined;
} | undefined;
suffixIcon?: import("vxe-pc-ui").VxeButtonPropTypes.SuffixIcon | undefined;
suffixRender?: {
name: string;
props?: {
[key: string]: any;
} | undefined;
events?: {
[key: string]: (...args: any[]) => any;
} | undefined;
} | undefined;
round?: import("vxe-pc-ui").VxeButtonPropTypes.Round | undefined;
circle?: import("vxe-pc-ui").VxeButtonPropTypes.Circle | undefined;
disabled?: import("vxe-pc-ui").VxeButtonPropTypes.Disabled | undefined;
loading?: import("vxe-pc-ui").VxeButtonPropTypes.Loading | undefined;
trigger?: import("vxe-pc-ui").VxeButtonPropTypes.Trigger | undefined;
align?: import("vxe-pc-ui").VxeButtonPropTypes.Align | undefined;
options?: {
name?: import("vxe-pc-ui").VxeButtonPropTypes.Name | undefined;
title?: import("vxe-pc-ui").VxeButtonPropTypes.Title | undefined;
circle?: import("vxe-pc-ui").VxeButtonPropTypes.Circle | undefined;
type?: import("vxe-pc-ui").VxeButtonPropTypes.Type | undefined;
disabled?: import("vxe-pc-ui").VxeButtonPropTypes.Disabled | undefined;
mode?: import("vxe-pc-ui").VxeButtonPropTypes.Mode | undefined;
icon?: import("vxe-pc-ui").VxeButtonPropTypes.Icon | undefined;
round?: import("vxe-pc-ui").VxeButtonPropTypes.Round | undefined;
loading?: import("vxe-pc-ui").VxeButtonPropTypes.Loading | undefined;
align?: import("vxe-pc-ui").VxeButtonPropTypes.Align | undefined;
content?: import("vxe-pc-ui").VxeButtonPropTypes.Content | undefined;
className?: import("vxe-pc-ui").VxeButtonPropTypes.ClassName | undefined;
routerLink?: {