@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
32 lines (31 loc) • 806 B
TypeScript
interface PropertyType {
index: {
sortable: boolean;
};
select: Record<string, any>;
}
export declare const ForcedProperty: PropertyType;
export interface ForcedColumnSettingType {
columnId: string;
property: string;
label: string;
type?: 'index' | 'select';
custom: boolean;
width: number;
minWidth: number;
sortable: boolean;
fixed: boolean | 'left' | 'right';
children: ForcedColumnSettingType[];
}
export type ColumnSettingType = Partial<ForcedColumnSettingType>;
export interface MutationsType {
[key: string]: (...args: any[]) => void;
}
export interface TableCellType {
style: {
[key: string]: string;
};
tagStyle: string;
}
export type TableMeshStyle = TableCellType[][];
export {};