@@ -81,72 +81,43 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
81
81
cardOffsetY: string | number ;
82
82
cardPadding: string | number ;
83
83
cardProps: import ( '../types' ) . VCardProps ;
84
- colorPickerProps: {
85
- width ?: NonNullable < string | number > | undefined ;
86
- style?: globalThis . StyleValue | undefined ;
87
- disabled?: boolean | undefined ;
88
- tag?: string | undefined ;
89
- mode?: "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" | undefined ;
90
- rounded?: string | number | boolean | undefined ;
91
- dotSize?: string | number | undefined ;
92
- modes?: readonly ( "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ) [ ] | undefined ;
93
- canvasHeight?: string | number | undefined ;
94
- hideCanvas?: boolean | undefined ;
95
- hideSliders?: boolean | undefined ;
96
- hideInputs?: boolean | undefined ;
97
- showSwatches?: boolean | undefined ;
98
- swatchesMaxHeight?: string | number | undefined ;
99
- key?: string | number | symbol | undefined ;
84
+ colorPickerProps: Partial < {
85
+ width : NonNullable < string | number > ;
86
+ style : globalThis . StyleValue ;
87
+ disabled : boolean ;
88
+ tag : string ;
89
+ mode : "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ;
90
+ rounded : string | number | boolean ;
91
+ dotSize : string | number ;
92
+ modes : readonly ( "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ) [ ] ;
93
+ canvasHeight : string | number ;
94
+ hideCanvas : boolean ;
95
+ hideSliders : boolean ;
96
+ hideInputs : boolean ;
97
+ showSwatches : boolean ;
98
+ swatchesMaxHeight : string | number ;
99
+ } > & 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
+ readonly canvasHeight : string | number ;
108
+ readonly hideCanvas : boolean ;
109
+ readonly hideSliders : boolean ;
110
+ readonly hideInputs : boolean ;
111
+ readonly showSwatches : boolean ;
112
+ readonly swatchesMaxHeight : string | number ;
100
113
readonly border ?: string | number | boolean | undefined ;
101
114
readonly color ?: string | undefined ;
102
115
readonly position ?: "fixed" | "absolute" | "static" | "relative" | "sticky" | undefined ;
103
- class ?: any ;
116
+ readonly class ?: any ;
104
117
readonly elevation ?: string | number | undefined ;
105
- ref?: import ( "vue" ) . VNodeRef | undefined ;
106
- ref_for?: boolean | undefined ;
107
- ref_key?: string | undefined ;
108
118
readonly theme ?: string | undefined ;
109
- onVnodeBeforeMount?: ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
110
- [ key : string ] : any ;
111
- } > ) => void ) | ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
112
- [ key : string ] : any ;
113
- } > ) => void ) [ ] | undefined ;
114
- onVnodeMounted ?: ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
115
- [ key : string ] : any ;
116
- } > ) => void ) | ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
117
- [ key : string ] : any ;
118
- } > ) => void ) [ ] | undefined ;
119
- onVnodeBeforeUpdate ?: ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
120
- [ key : string ] : any ;
121
- } > , oldVNode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
122
- [ key : string ] : any ;
123
- } > ) => void ) | ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
124
- [ key : string ] : any ;
125
- } > , oldVNode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
126
- [ key : string ] : any ;
127
- } > ) => void ) [ ] | undefined ;
128
- onVnodeUpdated ?: ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
129
- [ key : string ] : any ;
130
- } > , oldVNode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
131
- [ key : string ] : any ;
132
- } > ) => void ) | ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
133
- [ key : string ] : any ;
134
- } > , oldVNode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
135
- [ key : string ] : any ;
136
- } > ) => void ) [ ] | undefined ;
137
- onVnodeBeforeUnmount ?: ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
138
- [ key : string ] : any ;
139
- } > ) => void ) | ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
140
- [ key : string ] : any ;
141
- } > ) => void ) [ ] | undefined ;
142
- onVnodeUnmounted ?: ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
143
- [ key : string ] : any ;
144
- } > ) => void ) | ( ( vnode : globalThis . VNode < import ( "vue" ) . RendererNode , import ( "vue" ) . RendererElement , {
145
- [ key : string ] : any ;
146
- } > ) => void ) [ ] | undefined ;
119
+ readonly rounded ?: string | number | boolean | undefined ;
147
120
readonly modelValue ?: string | Record < string , unknown > | null | undefined ;
148
- "onUpdate:modelValue" ?: ( ( color : any ) => any ) | undefined ;
149
- "onUpdate:mode" ?: ( ( mode : "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ) => any ) | undefined ;
150
121
readonly swatches ?: readonly ( readonly ( string | number | {
151
122
readonly r : number ;
152
123
readonly g : number ;
@@ -163,7 +134,87 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
163
134
readonly l : number ;
164
135
readonly a ?: number | undefined ;
165
136
} ) [ ] ) [ ] | undefined ;
166
- } & {
137
+ "onUpdate:modelValue" ?: ( ( color : any ) => any ) | undefined ;
138
+ "onUpdate:mode" ?: ( ( mode : "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ) => any ) | undefined ;
139
+ } & import ( "vue" ) . VNodeProps & import ( "vue" ) . AllowedComponentProps & import ( "vue" ) . ComponentCustomProps & Readonly < import ( "vue" ) . ExtractPropTypes < {
140
+ width : {
141
+ type : globalThis . PropType < NonNullable < string | number > > ;
142
+ default : NonNullable < string | number > ;
143
+ } ;
144
+ border : ( BooleanConstructor | StringConstructor | NumberConstructor ) [ ] ;
145
+ color : StringConstructor ;
146
+ position : {
147
+ type : globalThis . PropType < "fixed" | "absolute" | "static" | "relative" | "sticky" > ;
148
+ validator : ( v : any ) => boolean ;
149
+ } ;
150
+ style : {
151
+ type : globalThis . PropType < globalThis . StyleValue > ;
152
+ default : null ;
153
+ } ;
154
+ class : globalThis . PropType < any > ;
155
+ tag : {
156
+ type : StringConstructor ;
157
+ default : string ;
158
+ } ;
159
+ elevation : {
160
+ type : ( StringConstructor | NumberConstructor ) [ ] ;
161
+ validator ( v : any ) : boolean ;
162
+ } ;
163
+ theme : StringConstructor ;
164
+ rounded : {
165
+ type : ( BooleanConstructor | StringConstructor | NumberConstructor ) [ ] ;
166
+ default : undefined ;
167
+ } ;
168
+ canvasHeight : {
169
+ type : ( StringConstructor | NumberConstructor ) [ ] ;
170
+ default : number ;
171
+ } ;
172
+ disabled : BooleanConstructor ;
173
+ dotSize : {
174
+ type : ( StringConstructor | NumberConstructor ) [ ] ;
175
+ default : number ;
176
+ } ;
177
+ hideCanvas : BooleanConstructor ;
178
+ hideSliders : BooleanConstructor ;
179
+ hideInputs : BooleanConstructor ;
180
+ mode : {
181
+ type : globalThis . PropType < "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" > ;
182
+ default : string ;
183
+ validator : ( v : string ) => boolean ;
184
+ } ;
185
+ modes : {
186
+ type : globalThis . PropType < readonly ( "rgb" | "rgba" | "hsl" | "hsla" | "hex" | "hexa" ) [ ] > ;
187
+ default : ( ) => string [ ] ;
188
+ validator : ( v : any ) => boolean ;
189
+ } ;
190
+ showSwatches : BooleanConstructor ;
191
+ swatches : globalThis . PropType < readonly ( readonly ( string | number | {
192
+ readonly r : number ;
193
+ readonly g : number ;
194
+ readonly b : number ;
195
+ readonly a ?: number | undefined ;
196
+ } | {
197
+ readonly h : number ;
198
+ readonly s : number ;
199
+ readonly v : number ;
200
+ readonly a ?: number | undefined ;
201
+ } | {
202
+ readonly h : number ;
203
+ readonly s : number ;
204
+ readonly l : number ;
205
+ readonly a ?: number | undefined ;
206
+ } ) [ ] ) [ ] > ;
207
+ swatchesMaxHeight : {
208
+ type : ( StringConstructor | NumberConstructor ) [ ] ;
209
+ default : number;
210
+ } ;
211
+ modelValue : {
212
+ type : globalThis . PropType < string | Record < string , unknown > | null | undefined > ;
213
+ } ;
214
+ } >> & {
215
+ "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" > & {
167
218
hideModeSwitch ?: boolean | undefined ;
168
219
} ;
169
220
hint : string;
@@ -247,6 +298,9 @@ type __VLS_WithDefaults<P, D> = {
247
298
default : D [ K ] ;
248
299
} > : P [ K ] ;
249
300
} ;
301
+ type __VLS_Prettify < T > = {
302
+ [ K in keyof T ] : T [ K ] ;
303
+ } & { } ;
250
304
type __VLS_WithTemplateSlots < T , S > = T & {
251
305
new ( ) : {
252
306
$slots : S ;
0 commit comments