@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
112 lines (111 loc) • 3.05 kB
TypeScript
import { PropType } from 'vue';
import { TriggerProps } from '../trigger';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
modelValue: StringConstructor;
defaultValue: {
type: StringConstructor;
};
format: {
type: PropType<"hex" | "rgb">;
};
size: {
type: PropType<"mini" | "small" | "medium" | "large">;
default: string;
};
showText: {
type: BooleanConstructor;
default: boolean;
};
showHistory: {
type: BooleanConstructor;
default: boolean;
};
showPreset: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
disabledAlpha: {
type: BooleanConstructor;
default: boolean;
};
hideTrigger: {
type: BooleanConstructor;
};
triggerProps: {
type: PropType<Partial<TriggerProps>>;
};
historyColors: {
type: PropType<string[]>;
};
presetColors: {
type: PropType<string[]>;
default: () => string[];
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
'update:modelValue': (value: string) => true;
change: (value: string) => true;
'popup-visible-change': (visible: boolean, value: string) => true;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: StringConstructor;
defaultValue: {
type: StringConstructor;
};
format: {
type: PropType<"hex" | "rgb">;
};
size: {
type: PropType<"mini" | "small" | "medium" | "large">;
default: string;
};
showText: {
type: BooleanConstructor;
default: boolean;
};
showHistory: {
type: BooleanConstructor;
default: boolean;
};
showPreset: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
disabledAlpha: {
type: BooleanConstructor;
default: boolean;
};
hideTrigger: {
type: BooleanConstructor;
};
triggerProps: {
type: PropType<Partial<TriggerProps>>;
};
historyColors: {
type: PropType<string[]>;
};
presetColors: {
type: PropType<string[]>;
default: () => string[];
};
}>> & Readonly<{
onChange?: ((value: string) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
"onPopup-visible-change"?: ((visible: boolean, value: string) => any) | undefined;
}>, {
size: "mini" | "small" | "medium" | "large";
disabled: boolean;
hideTrigger: boolean;
showText: boolean;
showHistory: boolean;
showPreset: boolean;
disabledAlpha: boolean;
presetColors: string[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;