@vue-ui-kit/ant
Version:
Vue3 UI Kit based on Ant Design
23 lines (22 loc) • 800 B
TypeScript
import { PFormProps, PGridProps } from '../../declarations/antProxy';
import { ConfigType } from 'e-virt-table';
export interface UIKitConfig {
form?: {
labelCol?: any;
wrapperCol?: any;
};
grid?: {
align?: 'left' | 'right' | 'center';
lazyReset?: boolean;
fitHeight?: number;
fitCanvasHeight?: number;
striped?: boolean;
};
canvasTable?: ConfigType;
}
export declare function setUIKitConfig(config: Partial<UIKitConfig>): void;
export declare function getUIKitConfig(): UIKitConfig;
export declare function getFormDefaults(): Partial<PFormProps>;
export declare function getGridDefaults(): Partial<PGridProps>;
export declare function getCanvasTableDefaults(): ConfigType;
export declare function resetUIKitConfig(): void;