1
- declare const _default : __VLS_WithTemplateSlots < import ( "vue" ) . DefineComponent < {
2
- [ x : string] : {
3
- type : globalThis . PropType < any > ;
4
- } ;
5
- color : {
6
- type : globalThis . PropType < string | undefined > ;
7
- required : true ;
8
- } ;
9
- displayAppendIcon: {
10
- type: globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
11
- required: true ;
12
- } ;
13
- displayAppendIconColor: {
14
- type: globalThis . PropType < string | undefined > ;
15
- required: true ;
16
- } ;
17
- displayAppendInnerIcon: {
18
- type: globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
19
- required: true ;
20
- } ;
21
- displayAppendInnerIconColor: {
22
- type: globalThis . PropType < string | undefined > ;
23
- required: true ;
24
- } ;
25
- displayPrependIcon: {
26
- type: globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
27
- required: true ;
28
- } ;
29
- displayPrependIconColor: {
30
- type: globalThis . PropType < string | undefined > ;
31
- required: true ;
32
- } ;
33
- displayPrependInnerIcon: {
34
- type: globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
35
- required: true ;
36
- } ;
37
- displayPrependInnerIconColor: {
38
- type: globalThis . PropType < string | undefined > ;
39
- required: true ;
40
- } ;
41
- displayValue: {
42
- type: globalThis . PropType < any > ;
43
- required: true ;
44
- } ;
45
- empty: {
46
- type: globalThis . PropType < boolean | globalThis . Ref < boolean > > ;
47
- } ;
48
- error: {
49
- type: globalThis . PropType < import ( "vue" ) . MaybeRef < boolean >> ;
50
- } ;
51
- field: {
52
- type: globalThis . PropType < string > ;
53
- required: true ;
54
- } ;
55
- underlineColor: {
56
- type: globalThis . PropType < string > ;
57
- } ;
58
- underlineStyle: {
59
- type: globalThis . PropType < string > ;
60
- } ;
61
- underlineWidth: {
62
- type: globalThis . PropType < string > ;
63
- } ;
64
- underlined: {
65
- type: globalThis . PropType < boolean > ;
66
- } ;
67
- } , { } , unknown , { } , { } , import ( "vue" ) . ComponentOptionsMixin , import ( "vue" ) . ComponentOptionsMixin , {
1
+ import { DisplayValueProps } from '../../types' ;
2
+ declare const _default : __VLS_WithTemplateSlots < import ( "vue" ) . DefineComponent < __VLS_TypePropsToRuntimeProps < DisplayValueProps > , { } , unknown , { } , { } , import ( "vue" ) . ComponentOptionsMixin , import ( "vue" ) . ComponentOptionsMixin , {
68
3
toggleField : ( ...args : any [ ] ) => void ;
69
- } , string , import ( "vue" ) . VNodeProps & import ( "vue" ) . AllowedComponentProps & import ( "vue" ) . ComponentCustomProps , Readonly < import ( "vue" ) . ExtractPropTypes < {
70
- [ x : string ] : {
71
- type : globalThis . PropType < any > ;
72
- } ;
73
- color : {
74
- type : globalThis . PropType < string | undefined > ;
75
- required : true ;
76
- } ;
77
- displayAppendIcon : {
78
- type : globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
79
- required : true ;
80
- } ;
81
- displayAppendIconColor : {
82
- type : globalThis . PropType < string | undefined > ;
83
- required : true ;
84
- } ;
85
- displayAppendInnerIcon : {
86
- type : globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
87
- required : true ;
88
- } ;
89
- displayAppendInnerIconColor : {
90
- type : globalThis . PropType < string | undefined > ;
91
- required : true ;
92
- } ;
93
- displayPrependIcon : {
94
- type : globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
95
- required : true ;
96
- } ;
97
- displayPrependIconColor : {
98
- type : globalThis . PropType < string | undefined > ;
99
- required : true ;
100
- } ;
101
- displayPrependInnerIcon : {
102
- type : globalThis . PropType < import ( '../../types' ) . VIconValue | undefined > ;
103
- required : true ;
104
- } ;
105
- displayPrependInnerIconColor : {
106
- type : globalThis . PropType < string | undefined > ;
107
- required : true ;
108
- } ;
109
- displayValue : {
110
- type : globalThis . PropType < any > ;
111
- required : true ;
112
- } ;
113
- empty : {
114
- type : globalThis . PropType < boolean | globalThis . Ref < boolean > > ;
115
- } ;
116
- error : {
117
- type : globalThis . PropType < import ( "vue" ) . MaybeRef < boolean > > ;
118
- } ;
119
- field : {
120
- type : globalThis . PropType < string > ;
121
- required : true ;
122
- } ;
123
- underlineColor : {
124
- type : globalThis . PropType < string > ;
125
- } ;
126
- underlineStyle : {
127
- type : globalThis . PropType < string > ;
128
- } ;
129
- underlineWidth : {
130
- type : globalThis . PropType < string > ;
131
- } ;
132
- underlined : {
133
- type : globalThis . PropType < boolean > ;
134
- } ;
135
- } > > & {
4
+ } , string , import ( "vue" ) . VNodeProps & import ( "vue" ) . AllowedComponentProps & import ( "vue" ) . ComponentCustomProps , Readonly < import ( "vue" ) . ExtractPropTypes < __VLS_TypePropsToRuntimeProps < DisplayValueProps > > > & {
136
5
onToggleField ?: ( ( ...args : any [ ] ) => any ) | undefined ;
137
6
} , { } , { } > , {
138
7
"display.prepend" ?( _ : {
@@ -157,6 +26,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
157
26
} ) : any ;
158
27
} > ;
159
28
export default _default ;
29
+ type __VLS_NonUndefinedable < T > = T extends undefined ? never : T ;
30
+ type __VLS_TypePropsToRuntimeProps < T > = {
31
+ [ K in keyof T ] -?: { } extends Pick < T , K > ? {
32
+ type : import ( 'vue' ) . PropType < __VLS_NonUndefinedable < T [ K ] > > ;
33
+ } : {
34
+ type : import ( 'vue' ) . PropType < T [ K ] > ;
35
+ required : true ;
36
+ } ;
37
+ } ;
160
38
type __VLS_WithTemplateSlots < T , S > = T & {
161
39
new ( ) : {
162
40
$slots : S ;
0 commit comments