tav-ui
Version:
24 lines (23 loc) • 755 B
TypeScript
import type { VxeGlobalRendererHandles } from 'vxe-table';
declare function number({ cellValue }: {
cellValue: any;
}, format?: number | 'auto'): string;
declare function date({ cellValue }: {
cellValue: any;
}, format?: string): string;
declare function geo({ cellValue, row }: {
cellValue: any;
row: any;
}, { hideProvince, hideCity, hideDistrict, hideTwoLevelDistrict }?: {
hideProvince: boolean;
hideCity: boolean;
hideDistrict: boolean;
hideTwoLevelDistrict: boolean;
}, joinChar?: string): string;
export declare const formats: {
number: typeof number;
date: typeof date;
geo: typeof geo;
};
export declare function useFormats(params: VxeGlobalRendererHandles.RenderEditParams): string | void;
export {};