1
- import { Props } from '.. /types' ;
1
+ import { Props } from './types' ;
2
2
declare function toggleColorPicker ( trigger ?: string | Event ) : void ;
3
3
declare const _default : __VLS_WithTemplateSlots < import ( "vue" ) . DefineComponent < __VLS_WithDefaults < __VLS_TypePropsToRuntimeProps < Props > , {
4
4
appendIcon : undefined ;
@@ -32,10 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
32
32
readonlyInput : boolean ;
33
33
required : boolean ;
34
34
} > , { } , unknown , { } , { } , import ( "vue" ) . ComponentOptionsMixin , import ( "vue" ) . ComponentOptionsMixin , {
35
- "update:modelValue" : ( ...args : any [ ] ) => void ;
36
35
update : ( ...args : any [ ] ) => void ;
37
36
"update:mode" : ( ...args : any [ ] ) => void ;
38
- } , string , import ( "vue" ) . VNodeProps & import ( "vue" ) . AllowedComponentProps & import ( "vue" ) . ComponentCustomProps , Readonly < import ( "vue" ) . ExtractPropTypes < __VLS_WithDefaults < __VLS_TypePropsToRuntimeProps < Props > , {
37
+ "update:modelValue" : ( ...args : any [ ] ) => void ;
38
+ } , string , import ( "vue" ) . PublicProps , Readonly < import ( "vue" ) . ExtractPropTypes < __VLS_WithDefaults < __VLS_TypePropsToRuntimeProps < Props > , {
39
39
appendIcon : undefined ;
40
40
appendInnerIcon : undefined ;
41
41
cardFieldWidth : boolean ;
@@ -67,57 +67,49 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
67
67
readonlyInput : boolean ;
68
68
required : boolean ;
69
69
} > > > & {
70
- "onUpdate:modelValue" ?: ( ( ...args : any [ ] ) => any ) | undefined ;
71
- "onUpdate:mode" ?: ( ( ...args : any [ ] ) => any ) | undefined ;
72
70
onUpdate ?: ( ( ...args : any [ ] ) => any ) | undefined ;
71
+ "onUpdate:mode" ?: ( ( ...args : any [ ] ) => any ) | undefined ;
72
+ "onUpdate:modelValue" ?: ( ( ...args : any [ ] ) => any ) | undefined ;
73
73
} , {
74
74
color : string ;
75
- density: "default" | "comfortable" | "compact" | null ;
76
75
appendIcon: string | ( string | [ path : string , opacity : number ] ) [ ] | import ( "vue" ) . JSXComponent ;
77
- prependIcon: string | ( string | [ path : string , opacity : number ] ) [ ] | import ( "vue" ) . JSXComponent ;
78
76
appendInnerIcon: string | ( string | [ path : string , opacity : number ] ) [ ] | import ( "vue" ) . JSXComponent ;
79
77
cardFieldWidth: boolean ;
80
78
cardOffsetX: string | number ;
81
79
cardOffsetY: string | number ;
82
80
cardPadding: string | number ;
83
- cardProps: import ( '.. /types' ) . VCardProps ;
81
+ cardProps: import ( './types' ) . VCardProps ;
84
82
colorPickerProps: Partial < {
85
83
width : NonNullable < string | number > ;
86
84
style : globalThis . StyleValue ;
87
85
disabled : boolean ;
88
86
tag : string ;
89
- mode : "rgb " | "rgba " | "hsl" | "hsla" | "hex" | "hexa" ;
87
+ mode : "rgba " | "rgb " | "hsl" | "hsla" | "hex" | "hexa" ;
90
88
rounded : string | number | boolean ;
91
89
dotSize : string | number ;
92
- modes : readonly ( "rgb " | "rgba " | "hsl" | "hsla" | "hex" | "hexa" ) [ ] ;
90
+ modes : readonly ( "rgba " | "rgb " | "hsl" | "hsla" | "hex" | "hexa" ) [ ] ;
93
91
canvasHeight : string | number ;
94
92
hideCanvas : boolean ;
95
93
hideSliders : boolean ;
96
94
hideInputs : boolean ;
97
95
showSwatches : boolean ;
98
96
swatchesMaxHeight : string | number ;
99
97
} > & Omit < {
100
- readonly width : NonNullable < string | number > ;
101
- readonly style : globalThis . StyleValue ;
102
- readonly disabled : boolean ;
103
- readonly tag : string ;
104
- readonly mode : "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ;
105
- readonly dotSize : string | number ;
106
- readonly modes : readonly ( "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ) [ ] ;
107
98
readonly canvasHeight : string | number ;
99
+ readonly dotSize : string | number ;
108
100
readonly hideCanvas : boolean ;
109
- readonly hideSliders : boolean ;
110
101
readonly hideInputs : boolean ;
102
+ readonly hideSliders : boolean ;
103
+ readonly mode : "rgba" | "rgb" | "hsl" | "hsla" | "hex" | "hexa" ;
104
+ readonly modes : readonly ( "rgba" | "rgb" | "hsl" | "hsla" | "hex" | "hexa" ) [ ] ;
111
105
readonly showSwatches : boolean ;
112
106
readonly swatchesMaxHeight : string | number ;
113
- readonly border ?: string | number | boolean | undefined ;
107
+ readonly tag : string ;
108
+ readonly style : globalThis . StyleValue ;
109
+ readonly width : NonNullable < string | number > ;
110
+ readonly disabled : boolean ;
114
111
readonly color ?: string | undefined ;
115
- readonly position ?: "fixed" | "absolute" | "static" | "relative" | "sticky" | undefined ;
116
- readonly class ?: any ;
117
- readonly elevation ?: string | number | undefined ;
118
112
readonly theme ?: string | undefined ;
119
- readonly rounded ?: string | number | boolean | undefined ;
120
- readonly modelValue ?: string | Record < string , unknown > | null | undefined ;
121
113
readonly swatches ?: readonly ( readonly ( string | number | {
122
114
readonly r : number ;
123
115
readonly g : number ;
@@ -134,8 +126,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
134
126
readonly l : number ;
135
127
readonly a ?: number | undefined ;
136
128
} ) [ ] ) [ ] | undefined ;
129
+ readonly class ?: any ;
130
+ readonly rounded ?: string | number | boolean | undefined ;
131
+ readonly position ?: "fixed" | "absolute" | "static" | "sticky" | "relative" | undefined ;
132
+ readonly elevation ?: string | number | undefined ;
133
+ readonly border ?: string | number | boolean | undefined ;
134
+ readonly modelValue ?: string | Record < string , unknown > | null | undefined ;
137
135
"onUpdate:modelValue" ?: ( ( color : any ) => any ) | undefined ;
138
- "onUpdate:mode" ?: ( ( mode : "rgb " | "rgba " | "hsl" | "hsla" | "hex" | "hexa" ) => any ) | undefined ;
136
+ "onUpdate:mode" ?: ( ( mode : "rgba " | "rgb " | "hsl" | "hsla" | "hex" | "hexa" ) => any ) | undefined ;
139
137
} & import ( "vue" ) . VNodeProps & import ( "vue" ) . AllowedComponentProps & import ( "vue" ) . ComponentCustomProps & Readonly < import ( "vue" ) . ExtractPropTypes < {
140
138
width : {
141
139
type : globalThis . PropType < NonNullable < string | number > > ;
@@ -144,7 +142,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
144
142
border : ( BooleanConstructor | StringConstructor | NumberConstructor ) [ ] ;
145
143
color : StringConstructor ;
146
144
position : {
147
- type : globalThis . PropType < "fixed" | "absolute" | "static" | "relative " | "sticky " > ;
145
+ type : globalThis . PropType < "fixed" | "absolute" | "static" | "sticky " | "relative " > ;
148
146
validator : ( v : any ) => boolean ;
149
147
} ;
150
148
style : {
@@ -178,12 +176,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
178
176
hideSliders : BooleanConstructor ;
179
177
hideInputs : BooleanConstructor ;
180
178
mode : {
181
- type : globalThis . PropType < "rgb " | "rgba " | "hsl" | "hsla" | "hex" | "hexa" > ;
179
+ type : globalThis . PropType < "rgba " | "rgb " | "hsl" | "hsla" | "hex" | "hexa" > ;
182
180
default : string ;
183
181
validator : ( v : string ) => boolean ;
184
182
} ;
185
183
modes : {
186
- type : globalThis . PropType < readonly ( "rgb " | "rgba " | "hsl" | "hsla" | "hex" | "hexa" ) [ ] > ;
184
+ type : globalThis . PropType < readonly ( "rgba " | "rgb " | "hsl" | "hsla" | "hex" | "hexa" ) [ ] > ;
187
185
default : ( ) => string [ ] ;
188
186
validator : ( v : any ) => boolean ;
189
187
} ;
@@ -213,10 +211,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
213
211
} ;
214
212
} >> & {
215
213
"onUpdate:modelValue" ?: ( ( color : any ) => any ) | undefined ;
216
- "onUpdate:mode" ?: ( ( mode : "rgb " | "rgba " | "hsl" | "hsla" | "hex" | "hexa" ) => any ) | undefined ;
217
- } , "width " | "style " | "tag " | "rounded " | "canvasHeight " | "disabled " | "dotSize " | "hideCanvas " | "hideSliders " | "hideInputs " | "mode " | "modes " | "showSwatches " | "swatchesMaxHeight " > & {
214
+ "onUpdate:mode" ?: ( ( mode : "rgba " | "rgb " | "hsl" | "hsla" | "hex" | "hexa" ) => any ) | undefined ;
215
+ } , "canvasHeight " | "dotSize " | "hideCanvas " | "hideInputs " | "hideSliders " | "mode " | "modes " | "showSwatches " | "swatchesMaxHeight " | "tag " | "style " | "rounded " | "width " | "disabled " > & {
218
216
hideModeSwitch ?: boolean | undefined ;
219
217
} ;
218
+ density : "default" | "comfortable" | "compact" | null ;
220
219
hint : string;
221
220
iconHoverColor : string | boolean ;
222
221
iconSize : string | number ;
@@ -226,16 +225,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
226
225
open : string;
227
226
persistentHint : boolean;
228
227
persistentPlaceholder : boolean;
228
+ pip : boolean;
229
+ pipBorder : string | null ;
230
+ pipBorderRadius : string;
231
+ pipIcon : boolean | ( string | ( string | [ path : string , opacity : number ] ) [ ] | import ( "vue" ) . JSXComponent ) | null ;
232
+ pipSlot : string;
229
233
placeholder : string;
234
+ prependIcon : string | ( string | [ path : string , opacity : number ] ) [ ] | import ( "vue" ) . JSXComponent ;
230
235
prependInnerIcon: boolean | ( string | ( string | [ path : string , opacity : number ] ) [ ] | import ( "vue" ) . JSXComponent ) | null ;
231
236
readonly: boolean | null ;
232
237
readonlyInput: boolean | null ;
233
238
required: boolean ;
234
- pipIcon : boolean | ( string | ( string | [ path : string , opacity : number ] ) [ ] | import ( "vue" ) . JSXComponent ) | null ;
235
- pipBorder : string | null ;
236
- pipBorderRadius : string;
237
- pip : boolean;
238
- pipSlot : string;
239
239
} , { } > , Partial < Record < NonNullable < string | number > , ( _ : any ) => any > > & {
240
240
prepend ?( _ : {
241
241
toggleColorPicker : typeof toggleColorPicker ;
0 commit comments