@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
27 lines (26 loc) • 1.1 kB
TypeScript
import { ColorPool } from './helper';
import { SizeT } from './types';
export declare const defaultZIndex: import('vue').Ref<number, number>;
export declare function initZIndex(val: number): void;
export declare const defaultSize: import('vue').Ref<"large" | "medium" | "small", "large" | "medium" | "small">;
export declare function initSize(val: SizeT): void;
export declare const defaultRound: import('vue').Ref<"pill" | undefined, "pill" | undefined>;
export declare function initRound(type?: 'pill'): void;
export declare const defaultPrestColorPool: import('vue').Ref<{
pool: Array<string>;
tmpPool: Array<string>;
pick: (index?: number) => string;
}, ColorPool | {
pool: Array<string>;
tmpPool: Array<string>;
pick: (index?: number) => string;
}>;
export declare function initPrestColor(colors: string[]): void;
export declare const mediaPoint: import('vue').Ref<{
phone: number;
pad: number;
}, Record<"phone" | "pad", number> | {
phone: number;
pad: number;
}>;
export declare function initMediaPoint(point: Record<'phone' | 'pad', number>): void;