tdesign-vue-next
Version:
TDesign Component for vue-next
72 lines (71 loc) • 2.23 kB
TypeScript
import { TdColorPickerProps } from './type';
import { PropType } from 'vue';
declare const _default: {
borderless: BooleanConstructor;
clearable: BooleanConstructor;
colorModes: {
type: PropType<TdColorPickerProps["colorModes"]>;
default: () => TdColorPickerProps["colorModes"];
};
disabled: {
type: BooleanConstructor;
default: any;
};
enableAlpha: BooleanConstructor;
enableMultipleGradient: {
type: BooleanConstructor;
default: boolean;
};
format: {
type: PropType<TdColorPickerProps["format"]>;
default: TdColorPickerProps["format"];
validator(val: TdColorPickerProps["format"]): boolean;
};
inputProps: {
type: PropType<TdColorPickerProps["inputProps"]>;
};
popupProps: {
type: PropType<TdColorPickerProps["popupProps"]>;
};
recentColors: {
type: PropType<TdColorPickerProps["recentColors"]>;
default: TdColorPickerProps["recentColors"];
};
defaultRecentColors: {
type: PropType<TdColorPickerProps["defaultRecentColors"]>;
default: () => TdColorPickerProps["defaultRecentColors"];
};
selectInputProps: {
type: PropType<TdColorPickerProps["selectInputProps"]>;
};
showPrimaryColorPreview: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: PropType<TdColorPickerProps["size"]>;
default: TdColorPickerProps["size"];
validator(val: TdColorPickerProps["size"]): boolean;
};
swatchColors: {
type: PropType<TdColorPickerProps["swatchColors"]>;
default: TdColorPickerProps["swatchColors"];
};
value: {
type: StringConstructor;
default: any;
};
modelValue: {
type: StringConstructor;
default: any;
};
defaultValue: {
type: StringConstructor;
default: string;
};
onChange: PropType<TdColorPickerProps["onChange"]>;
onClear: PropType<TdColorPickerProps["onClear"]>;
onPaletteBarChange: PropType<TdColorPickerProps["onPaletteBarChange"]>;
onRecentColorsChange: PropType<TdColorPickerProps["onRecentColorsChange"]>;
};
export default _default;