vxe-table
Version:
A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.
264 lines (263 loc) • 11.7 kB
TypeScript
import { PropType } from 'vue';
import type { VxeColumnPropTypes } from '../../../types';
export declare const columnProps: {
colId: PropType<VxeColumnPropTypes.ColId>;
type: PropType<VxeColumnPropTypes.Type>;
field: PropType<VxeColumnPropTypes.Field>;
title: PropType<VxeColumnPropTypes.Title>;
width: PropType<VxeColumnPropTypes.Width>;
minWidth: PropType<VxeColumnPropTypes.MinWidth>;
maxWidth: PropType<VxeColumnPropTypes.MaxWidth>;
resizable: {
type: PropType<VxeColumnPropTypes.Resizable>;
default: null;
};
fixed: PropType<VxeColumnPropTypes.Fixed>;
align: PropType<VxeColumnPropTypes.Align>;
headerAlign: PropType<VxeColumnPropTypes.HeaderAlign>;
footerAlign: PropType<VxeColumnPropTypes.FooterAlign>;
showOverflow: {
type: PropType<VxeColumnPropTypes.ShowOverflow>;
default: null;
};
showHeaderOverflow: {
type: PropType<VxeColumnPropTypes.ShowHeaderOverflow>;
default: null;
};
showFooterOverflow: {
type: PropType<VxeColumnPropTypes.ShowFooterOverflow>;
default: null;
};
className: PropType<VxeColumnPropTypes.ClassName>;
headerClassName: PropType<VxeColumnPropTypes.HeaderClassName>;
footerClassName: PropType<VxeColumnPropTypes.FooterClassName>;
formatter: PropType<VxeColumnPropTypes.Formatter<any>>;
headerFormatter: PropType<VxeColumnPropTypes.HeaderFormatter>;
footerFormatter: PropType<VxeColumnPropTypes.FooterFormatter>;
padding: {
type: PropType<VxeColumnPropTypes.Padding>;
default: null;
};
verticalAlign: {
type: PropType<VxeColumnPropTypes.VerticalAlign>;
default: null;
};
sortable: PropType<VxeColumnPropTypes.Sortable>;
sortBy: PropType<VxeColumnPropTypes.SortBy>;
sortType: PropType<VxeColumnPropTypes.SortType>;
filters: {
type: PropType<VxeColumnPropTypes.Filters>;
default: null;
};
filterMultiple: {
type: PropType<VxeColumnPropTypes.FilterMultiple>;
default: boolean;
};
filterMethod: PropType<VxeColumnPropTypes.FilterMethod<any>>;
filterResetMethod: PropType<VxeColumnPropTypes.FilterResetMethod>;
filterRecoverMethod: PropType<VxeColumnPropTypes.FilterRecoverMethod>;
filterRender: PropType<VxeColumnPropTypes.FilterRender>;
floatingFilters: PropType<VxeColumnPropTypes.FloatingFilters>;
rules: PropType<VxeColumnPropTypes.Rules>;
rowGroupNode: PropType<VxeColumnPropTypes.RowGroupNode>;
treeNode: PropType<VxeColumnPropTypes.TreeNode>;
dragSort: PropType<VxeColumnPropTypes.DragSort>;
rowResize: PropType<VxeColumnPropTypes.RowResize>;
visible: {
type: PropType<VxeColumnPropTypes.Visible>;
default: null;
};
headerExportMethod: PropType<VxeColumnPropTypes.HeaderExportMethod>;
exportMethod: PropType<VxeColumnPropTypes.ExportMethod>;
footerExportMethod: PropType<VxeColumnPropTypes.FooterExportMethod>;
titleHelp: PropType<VxeColumnPropTypes.TitleHelp>;
titlePrefix: PropType<VxeColumnPropTypes.TitlePrefix>;
titleSuffix: PropType<VxeColumnPropTypes.TitleSuffix>;
cellType: PropType<VxeColumnPropTypes.CellType>;
cellRender: PropType<VxeColumnPropTypes.CellRender<any>>;
editRender: PropType<VxeColumnPropTypes.EditRender>;
contentRender: PropType<VxeColumnPropTypes.ContentRender>;
aggFunc: PropType<VxeColumnPropTypes.AggFunc>;
copyMethod: PropType<VxeColumnPropTypes.CopyMethod>;
cutMethod: PropType<VxeColumnPropTypes.CutMethod>;
pasteMethod: PropType<VxeColumnPropTypes.PasteMethod>;
params: PropType<VxeColumnPropTypes.Params>;
};
declare const _default: import("vue").DefineComponent<{
colId: PropType<VxeColumnPropTypes.ColId>;
type: PropType<VxeColumnPropTypes.Type>;
field: PropType<VxeColumnPropTypes.Field>;
title: PropType<VxeColumnPropTypes.Title>;
width: PropType<VxeColumnPropTypes.Width>;
minWidth: PropType<VxeColumnPropTypes.MinWidth>;
maxWidth: PropType<VxeColumnPropTypes.MaxWidth>;
resizable: {
type: PropType<VxeColumnPropTypes.Resizable>;
default: null;
};
fixed: PropType<VxeColumnPropTypes.Fixed>;
align: PropType<VxeColumnPropTypes.Align>;
headerAlign: PropType<VxeColumnPropTypes.HeaderAlign>;
footerAlign: PropType<VxeColumnPropTypes.FooterAlign>;
showOverflow: {
type: PropType<VxeColumnPropTypes.ShowOverflow>;
default: null;
};
showHeaderOverflow: {
type: PropType<VxeColumnPropTypes.ShowHeaderOverflow>;
default: null;
};
showFooterOverflow: {
type: PropType<VxeColumnPropTypes.ShowFooterOverflow>;
default: null;
};
className: PropType<VxeColumnPropTypes.ClassName>;
headerClassName: PropType<VxeColumnPropTypes.HeaderClassName>;
footerClassName: PropType<VxeColumnPropTypes.FooterClassName>;
formatter: PropType<VxeColumnPropTypes.Formatter<any>>;
headerFormatter: PropType<VxeColumnPropTypes.HeaderFormatter>;
footerFormatter: PropType<VxeColumnPropTypes.FooterFormatter>;
padding: {
type: PropType<VxeColumnPropTypes.Padding>;
default: null;
};
verticalAlign: {
type: PropType<VxeColumnPropTypes.VerticalAlign>;
default: null;
};
sortable: PropType<VxeColumnPropTypes.Sortable>;
sortBy: PropType<VxeColumnPropTypes.SortBy>;
sortType: PropType<VxeColumnPropTypes.SortType>;
filters: {
type: PropType<VxeColumnPropTypes.Filters>;
default: null;
};
filterMultiple: {
type: PropType<VxeColumnPropTypes.FilterMultiple>;
default: boolean;
};
filterMethod: PropType<VxeColumnPropTypes.FilterMethod<any>>;
filterResetMethod: PropType<VxeColumnPropTypes.FilterResetMethod>;
filterRecoverMethod: PropType<VxeColumnPropTypes.FilterRecoverMethod>;
filterRender: PropType<VxeColumnPropTypes.FilterRender>;
floatingFilters: PropType<VxeColumnPropTypes.FloatingFilters>;
rules: PropType<VxeColumnPropTypes.Rules>;
rowGroupNode: PropType<VxeColumnPropTypes.RowGroupNode>;
treeNode: PropType<VxeColumnPropTypes.TreeNode>;
dragSort: PropType<VxeColumnPropTypes.DragSort>;
rowResize: PropType<VxeColumnPropTypes.RowResize>;
visible: {
type: PropType<VxeColumnPropTypes.Visible>;
default: null;
};
headerExportMethod: PropType<VxeColumnPropTypes.HeaderExportMethod>;
exportMethod: PropType<VxeColumnPropTypes.ExportMethod>;
footerExportMethod: PropType<VxeColumnPropTypes.FooterExportMethod>;
titleHelp: PropType<VxeColumnPropTypes.TitleHelp>;
titlePrefix: PropType<VxeColumnPropTypes.TitlePrefix>;
titleSuffix: PropType<VxeColumnPropTypes.TitleSuffix>;
cellType: PropType<VxeColumnPropTypes.CellType>;
cellRender: PropType<VxeColumnPropTypes.CellRender<any>>;
editRender: PropType<VxeColumnPropTypes.EditRender>;
contentRender: PropType<VxeColumnPropTypes.ContentRender>;
aggFunc: PropType<VxeColumnPropTypes.AggFunc>;
copyMethod: PropType<VxeColumnPropTypes.CopyMethod>;
cutMethod: PropType<VxeColumnPropTypes.CutMethod>;
pasteMethod: PropType<VxeColumnPropTypes.PasteMethod>;
params: PropType<VxeColumnPropTypes.Params>;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
colId: PropType<VxeColumnPropTypes.ColId>;
type: PropType<VxeColumnPropTypes.Type>;
field: PropType<VxeColumnPropTypes.Field>;
title: PropType<VxeColumnPropTypes.Title>;
width: PropType<VxeColumnPropTypes.Width>;
minWidth: PropType<VxeColumnPropTypes.MinWidth>;
maxWidth: PropType<VxeColumnPropTypes.MaxWidth>;
resizable: {
type: PropType<VxeColumnPropTypes.Resizable>;
default: null;
};
fixed: PropType<VxeColumnPropTypes.Fixed>;
align: PropType<VxeColumnPropTypes.Align>;
headerAlign: PropType<VxeColumnPropTypes.HeaderAlign>;
footerAlign: PropType<VxeColumnPropTypes.FooterAlign>;
showOverflow: {
type: PropType<VxeColumnPropTypes.ShowOverflow>;
default: null;
};
showHeaderOverflow: {
type: PropType<VxeColumnPropTypes.ShowHeaderOverflow>;
default: null;
};
showFooterOverflow: {
type: PropType<VxeColumnPropTypes.ShowFooterOverflow>;
default: null;
};
className: PropType<VxeColumnPropTypes.ClassName>;
headerClassName: PropType<VxeColumnPropTypes.HeaderClassName>;
footerClassName: PropType<VxeColumnPropTypes.FooterClassName>;
formatter: PropType<VxeColumnPropTypes.Formatter<any>>;
headerFormatter: PropType<VxeColumnPropTypes.HeaderFormatter>;
footerFormatter: PropType<VxeColumnPropTypes.FooterFormatter>;
padding: {
type: PropType<VxeColumnPropTypes.Padding>;
default: null;
};
verticalAlign: {
type: PropType<VxeColumnPropTypes.VerticalAlign>;
default: null;
};
sortable: PropType<VxeColumnPropTypes.Sortable>;
sortBy: PropType<VxeColumnPropTypes.SortBy>;
sortType: PropType<VxeColumnPropTypes.SortType>;
filters: {
type: PropType<VxeColumnPropTypes.Filters>;
default: null;
};
filterMultiple: {
type: PropType<VxeColumnPropTypes.FilterMultiple>;
default: boolean;
};
filterMethod: PropType<VxeColumnPropTypes.FilterMethod<any>>;
filterResetMethod: PropType<VxeColumnPropTypes.FilterResetMethod>;
filterRecoverMethod: PropType<VxeColumnPropTypes.FilterRecoverMethod>;
filterRender: PropType<VxeColumnPropTypes.FilterRender>;
floatingFilters: PropType<VxeColumnPropTypes.FloatingFilters>;
rules: PropType<VxeColumnPropTypes.Rules>;
rowGroupNode: PropType<VxeColumnPropTypes.RowGroupNode>;
treeNode: PropType<VxeColumnPropTypes.TreeNode>;
dragSort: PropType<VxeColumnPropTypes.DragSort>;
rowResize: PropType<VxeColumnPropTypes.RowResize>;
visible: {
type: PropType<VxeColumnPropTypes.Visible>;
default: null;
};
headerExportMethod: PropType<VxeColumnPropTypes.HeaderExportMethod>;
exportMethod: PropType<VxeColumnPropTypes.ExportMethod>;
footerExportMethod: PropType<VxeColumnPropTypes.FooterExportMethod>;
titleHelp: PropType<VxeColumnPropTypes.TitleHelp>;
titlePrefix: PropType<VxeColumnPropTypes.TitlePrefix>;
titleSuffix: PropType<VxeColumnPropTypes.TitleSuffix>;
cellType: PropType<VxeColumnPropTypes.CellType>;
cellRender: PropType<VxeColumnPropTypes.CellRender<any>>;
editRender: PropType<VxeColumnPropTypes.EditRender>;
contentRender: PropType<VxeColumnPropTypes.ContentRender>;
aggFunc: PropType<VxeColumnPropTypes.AggFunc>;
copyMethod: PropType<VxeColumnPropTypes.CopyMethod>;
cutMethod: PropType<VxeColumnPropTypes.CutMethod>;
pasteMethod: PropType<VxeColumnPropTypes.PasteMethod>;
params: PropType<VxeColumnPropTypes.Params>;
}>>, {
padding: VxeColumnPropTypes.Padding;
visible: boolean;
resizable: boolean;
showOverflow: import("vxe-pc-ui/types/components/table").VxeTablePropTypes.ShowOverflow;
showHeaderOverflow: import("vxe-pc-ui/types/components/table").VxeTablePropTypes.ShowOverflow;
showFooterOverflow: import("vxe-pc-ui/types/components/table").VxeTablePropTypes.ShowOverflow;
filterMultiple: boolean;
filters: VxeColumnPropTypes.Filters<any>;
verticalAlign: VxeColumnPropTypes.VerticalAlign;
}, {}>;
export default _default;