UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

95 lines (94 loc) 4.36 kB
import { default as _ColorPicker } from './src/index.vue'; export declare const ColorPicker: import('../withInstall').SFCWithInstall<import('vue').DefineComponent<import('./src/types').Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { change: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<import('./src/types').Props> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { height: number; width: number; modelValue: string; preset: string[]; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { colorPickerEl: HTMLDivElement; panelEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/types').PanelProps> & Readonly<{ "onUpdate:sat"?: ((...args: any[]) => any) | undefined; "onUpdate:val"?: ((...args: any[]) => any) | undefined; "onUpdate:cursor"?: ((...args: any[]) => any) | undefined; }>, { setSizePoses: () => void; setCursor: () => void; unregisterListeners: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:sat": (...args: any[]) => void; "update:val": (...args: any[]) => void; "update:cursor": (...args: any[]) => void; }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { panelEl: HTMLDivElement; panelCursorEl: HTMLDivElement; }, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('./src/types').PanelProps> & Readonly<{ "onUpdate:sat"?: ((...args: any[]) => any) | undefined; "onUpdate:val"?: ((...args: any[]) => any) | undefined; "onUpdate:cursor"?: ((...args: any[]) => any) | undefined; }>, { setSizePoses: () => void; setCursor: () => void; unregisterListeners: () => void; }, {}, {}, {}, {}> | null; sliderEl: HTMLDivElement; hueEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/types').HueProps> & Readonly<{ "onUpdate:hue"?: ((...args: any[]) => any) | undefined; }>, { setSizePoses: () => void; setCursor: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:hue": (...args: any[]) => void; }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { hueEl: HTMLDivElement; hueCursorEl: HTMLDivElement; }, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('./src/types').HueProps> & Readonly<{ "onUpdate:hue"?: ((...args: any[]) => any) | undefined; }>, { setSizePoses: () => void; setCursor: () => void; }, {}, {}, {}, {}> | null; alphaEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/types').AlphaProps> & Readonly<{ "onUpdate:alpha"?: ((...args: any[]) => any) | undefined; }>, { setSizePoses: () => void; setCursor: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:alpha": (...args: any[]) => void; }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { alphaEl: HTMLDivElement; alphaCursorEl: HTMLDivElement; }, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('./src/types').AlphaProps> & Readonly<{ "onUpdate:alpha"?: ((...args: any[]) => any) | undefined; }>, { setSizePoses: () => void; setCursor: () => void; }, {}, {}, {}, {}> | null; }, HTMLDivElement>> & Record<string, any>; export type ColorPickerInstance = InstanceType<typeof _ColorPicker>;