sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
34 lines (33 loc) • 1.55 kB
TypeScript
import { type ColorFormat } from '../../utils';
import { type ColorPickerProps, type ColorPickerSlots } from './common';
declare function __VLS_template(): Readonly<ColorPickerSlots> & ColorPickerSlots;
declare const __VLS_component: import("vue").DefineComponent<ColorPickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:model-value": (value: string) => any;
change: (value: string) => any;
"update:format": (format: ColorFormat) => any;
"format-change": (format: ColorFormat) => any;
}, string, import("vue").PublicProps, Readonly<ColorPickerProps> & Readonly<{
"onUpdate:model-value"?: ((value: string) => any) | undefined;
onChange?: ((value: string) => any) | undefined;
"onUpdate:format"?: ((format: ColorFormat) => any) | undefined;
"onFormat-change"?: ((format: ColorFormat) => any) | undefined;
}>, {
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
modelValue: string;
disabled: boolean;
format: ColorFormat;
readonly: boolean;
validateEvent: boolean;
showAlpha: boolean;
showFormat: boolean;
presets: string[];
showPresets: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};