UNPKG

sard-uniapp

Version:

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

28 lines (27 loc) 857 B
import { type StyleValue } from 'vue'; import { type DefaultProps } from '../config'; import { type ColorFormat } from '../../utils/color'; export interface ColorPickerProps { rootStyle?: StyleValue; rootClass?: string; modelValue?: string; showAlpha?: boolean; format?: ColorFormat; showFormat?: boolean; presets?: string[]; showPresets?: boolean; disabled?: boolean; readonly?: boolean; validateEvent?: boolean; } export declare const defaultColorPickerProps: () => DefaultProps<ColorPickerProps>; export interface ColorPickerSlots { } export interface ColorPickerEmits { (e: 'update:model-value', value: string): void; (e: 'change', value: string): void; (e: 'update:format', format: ColorFormat): void; (e: 'format-change', format: ColorFormat): void; } export interface ColorPickerExpose { }