@@ -4,6 +4,35 @@ import { DefineComponent } from 'vue';
4
4
import { Plugin as Plugin_2 } from 'vue' ;
5
5
import { PublicProps } from 'vue' ;
6
6
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
+
7
36
declare type __VLS_WithTemplateSlots < T , S > = T & {
8
37
new ( ) : {
9
38
$slots : S ;
@@ -48,22 +77,7 @@ export declare type ColorMap = {
48
77
rgb : ColorRgb ;
49
78
} ;
50
79
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" ] > ;
67
81
68
82
export declare interface ColorPickerProps {
69
83
/**
0 commit comments