@@ -4,6 +4,35 @@ import { DefineComponent } from 'vue';
44import { Plugin as Plugin_2 } from 'vue' ;
55import { PublicProps } from 'vue' ;
66
7+ declare const __VLS_component : DefineComponent < ColorPickerProps , { } , { } , { } , { } , ComponentOptionsMixin , ComponentOptionsMixin , { } & {
8+ "color-change" : ( data : ColorChangeDetail ) => any ;
9+ } , string , PublicProps , Readonly < ColorPickerProps > & Readonly < {
10+ "onColor-change" ?: ( ( data : ColorChangeDetail ) => any ) | undefined ;
11+ } > , {
12+ id : string ;
13+ color : string | ColorHsl | ColorHwb | ColorRgb ;
14+ visibleFormats : VisibleColorFormat [ ] ;
15+ defaultFormat : VisibleColorFormat ;
16+ alphaChannel : AlphaChannelProp ;
17+ } , { } , { } , { } , string , ComponentProvideOptions , false , { } , any > ;
18+
19+ declare function __VLS_template ( ) : {
20+ slots : {
21+ "hue-range-input-label" ?( _ : { } ) : any ;
22+ "alpha-range-input-label" ?( _ : { } ) : any ;
23+ "copy-button" ?( _ : { } ) : any ;
24+ "format-switch-button" ?( _ : { } ) : any ;
25+ } ;
26+ refs : {
27+ colorPicker : HTMLDivElement ;
28+ colorSpace : HTMLDivElement ;
29+ thumb : HTMLDivElement ;
30+ } ;
31+ attrs : Partial < { } > ;
32+ } ;
33+
34+ declare type __VLS_TemplateResult = ReturnType < typeof __VLS_template > ;
35+
736declare type __VLS_WithTemplateSlots < T , S > = T & {
837 new ( ) : {
938 $slots : S ;
@@ -48,22 +77,7 @@ export declare type ColorMap = {
4877 rgb : ColorRgb ;
4978} ;
5079
51- export declare const ColorPicker : __VLS_WithTemplateSlots < DefineComponent < ColorPickerProps , { } , { } , { } , { } , ComponentOptionsMixin , ComponentOptionsMixin , { } & {
52- "color-change" : ( data : ColorChangeDetail ) => any ;
53- } , string , PublicProps , Readonly < ColorPickerProps > & Readonly < {
54- "onColor-change" ?: ( ( data : ColorChangeDetail ) => any ) | undefined ;
55- } > , {
56- id : string ;
57- color : string | ColorHsl | ColorHwb | ColorRgb ;
58- visibleFormats : VisibleColorFormat [ ] ;
59- defaultFormat : VisibleColorFormat ;
60- alphaChannel : AlphaChannelProp ;
61- } , { } , { } , { } , string , ComponentProvideOptions , false , { } , any > , {
62- "hue-range-input-label" ?( _ : { } ) : any ;
63- "alpha-range-input-label" ?( _ : { } ) : any ;
64- "copy-button" ?( _ : { } ) : any ;
65- "format-switch-button" ?( _ : { } ) : any ;
66- } > ;
80+ export declare const ColorPicker : __VLS_WithTemplateSlots < typeof __VLS_component , __VLS_TemplateResult [ "slots" ] > ;
6781
6882export declare interface ColorPickerProps {
6983 /**
0 commit comments