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