tdesign-mobile-vue
Version:
tdesign-mobile-vue
41 lines (40 loc) • 1.35 kB
TypeScript
import { PropType } from 'vue';
declare const _default: {
clearable: BooleanConstructor;
enableAlpha: BooleanConstructor;
fixed: BooleanConstructor;
format: {
type: PropType<"CMYK" | "CSS" | "HEX" | "HEX8" | "HSL" | "HSLA" | "HSV" | "HSVA" | "RGB" | "RGBA">;
default: "CMYK" | "CSS" | "HEX" | "HEX8" | "HSL" | "HSLA" | "HSV" | "HSVA" | "RGB" | "RGBA";
validator(val: "CMYK" | "CSS" | "HEX" | "HEX8" | "HSL" | "HSLA" | "HSV" | "HSVA" | "RGB" | "RGBA"): boolean;
};
swatchColors: {
type: PropType<string[]>;
default: string[];
};
type: {
type: PropType<import("@/components").TypeEnum>;
default: import("@/components").TypeEnum;
validator(val: import("@/components").TypeEnum): boolean;
};
value: {
type: StringConstructor;
default: any;
};
modelValue: {
type: StringConstructor;
default: any;
};
defaultValue: {
type: StringConstructor;
default: string;
};
onChange: PropType<(value: string, context: {
color: import("@/components").ColorObject;
trigger: import("@/components").ColorPickerChangeTrigger;
}) => void>;
onPaletteBarChange: PropType<(context: {
color: import("@/components").ColorObject;
}) => void>;
};
export default _default;