UNPKG

afdi-ambition-fbim-fe

Version:

3D组态BIM编辑器

38 lines (37 loc) 948 B
interface ColorOptions { enableAlpha: boolean; format: string; value?: string; } export default class Color { private _hue; private _saturation; private _value; _alpha: number; private _enableAlpha; private _format; value: string; selected?: boolean; [key: string]: any; constructor(options?: Partial<ColorOptions>); set(prop: { [key: string]: any; } | any, value?: number): void; get(prop: string): any; toRgb(): { r: number; g: number; b: number; }; fromString(value: string): void; compare(color: this): boolean; doOnChange(): void; } export declare const colorPickerEmits: { "update:modelValue": (val: string | null) => boolean; change: (val: string | null) => boolean; activeChange: (val: string | null) => boolean; focus: (event: FocusEvent) => boolean; blur: (event: FocusEvent) => boolean; }; export {};