@@ -39,9 +39,55 @@ onThemeChange()
39
39
</script >
40
40
41
41
<template >
42
+ <app-type style =" margin-top : 10vmin " >{{ t('filled') }}</app-type >
43
+ <var-space direction =" column" :size =" ['6vmin', 0]" >
44
+ <var-input v-model =" outlinedValue" variant =" filled" placeholder =" Label" />
45
+ <var-input v-model =" outlinedValue13" variant =" filled" :placeholder =" t('numberPlaceholder')" type =" number" />
46
+ <var-input v-model =" outlinedValue2" variant =" filled" :placeholder =" t('readonly')" readonly />
47
+ <var-input v-model =" outlinedValue3" variant =" filled" :placeholder =" t('disabled')" disabled />
48
+ <var-input v-model =" outlinedValue4" variant =" filled" :placeholder =" t('clearable')" clearable />
49
+ <var-input v-model =" outlinedValue5" variant =" filled" :placeholder =" t('clearIconSlot')" clearable >
50
+ <template #clear-icon =" { clear } " >
51
+ <var-icon name =" error" @click =" clear" />
52
+ </template >
53
+ </var-input >
54
+ <var-input
55
+ v-model =" outlinedValue6"
56
+ variant =" filled"
57
+ :placeholder =" t('validate')"
58
+ :rules =" (v) => v.length > 6 || t('maxMessage')"
59
+ />
60
+ <var-input
61
+ v-model =" outlinedValue14"
62
+ variant =" filled"
63
+ :placeholder =" t('validateWithZod')"
64
+ :rules =" z.string().min(7, t('maxMessage'))"
65
+ />
66
+ <var-input v-model =" outlinedValue7" variant =" filled" :placeholder =" t('displayIcon')" >
67
+ <template #prepend-icon >
68
+ <var-icon class =" prepend-icon" name =" github" />
69
+ </template >
70
+ <template #append-icon >
71
+ <var-icon class =" append-icon" name =" github" />
72
+ </template >
73
+ </var-input >
74
+ <var-input v-model =" outlinedValue8" variant =" filled" :placeholder =" t('customIconSize')" >
75
+ <template #prepend-icon >
76
+ <var-icon class =" prepend-icon" name =" github" size =" 8vmin" />
77
+ </template >
78
+ <template #append-icon >
79
+ <var-icon class =" append-icon" name =" github" size =" 12vmin" />
80
+ </template >
81
+ </var-input >
82
+ <var-input v-model =" outlinedValue9" variant =" filled" :placeholder =" t('maxlength')" :maxlength =" 10" />
83
+ <var-input v-model =" outlinedValue10" variant =" filled" :placeholder =" t('textarea')" textarea />
84
+ <var-input v-model =" outlinedValue11" variant =" filled" :placeholder =" t('smallSize')" size =" small" />
85
+ <var-input v-model.trim =" outlinedValue12" variant =" filled" :placeholder =" t('trim')" />
86
+ </var-space >
87
+
42
88
<app-type >{{ t('standard') }}</app-type >
43
89
<var-space direction =" column" :size =" ['3vmin', 0]" >
44
- <var-input v-model =" standardValue" :placeholder = " t('placeholder') " />
90
+ <var-input v-model =" standardValue" />
45
91
<var-input v-model =" standardValue13" :placeholder =" t('numberPlaceholder')" type =" number" />
46
92
<var-input v-model =" standardValue2" :placeholder =" t('readonly')" readonly />
47
93
<var-input v-model =" standardValue3" :placeholder =" t('disabled')" disabled />
@@ -126,52 +172,6 @@ onThemeChange()
126
172
<var-input v-model.trim =" outlinedValue12" variant =" outlined" :placeholder =" t('trim')" />
127
173
</var-space >
128
174
129
- <app-type style =" margin-top : 10vmin " >{{ t('filled') }}</app-type >
130
- <var-space direction =" column" :size =" ['6vmin', 0]" >
131
- <var-input v-model =" outlinedValue" variant =" filled" :placeholder =" t('placeholder')" />
132
- <var-input v-model =" outlinedValue13" variant =" filled" :placeholder =" t('numberPlaceholder')" type =" number" />
133
- <var-input v-model =" outlinedValue2" variant =" filled" :placeholder =" t('readonly')" readonly />
134
- <var-input v-model =" outlinedValue3" variant =" filled" :placeholder =" t('disabled')" disabled />
135
- <var-input v-model =" outlinedValue4" variant =" filled" :placeholder =" t('clearable')" clearable />
136
- <var-input v-model =" outlinedValue5" variant =" filled" :placeholder =" t('clearIconSlot')" clearable >
137
- <template #clear-icon =" { clear } " >
138
- <var-icon name =" error" @click =" clear" />
139
- </template >
140
- </var-input >
141
- <var-input
142
- v-model =" outlinedValue6"
143
- variant =" filled"
144
- :placeholder =" t('validate')"
145
- :rules =" (v) => v.length > 6 || t('maxMessage')"
146
- />
147
- <var-input
148
- v-model =" outlinedValue14"
149
- variant =" filled"
150
- :placeholder =" t('validateWithZod')"
151
- :rules =" z.string().min(7, t('maxMessage'))"
152
- />
153
- <var-input v-model =" outlinedValue7" variant =" filled" :placeholder =" t('displayIcon')" >
154
- <template #prepend-icon >
155
- <var-icon class =" prepend-icon" name =" github" />
156
- </template >
157
- <template #append-icon >
158
- <var-icon class =" append-icon" name =" github" />
159
- </template >
160
- </var-input >
161
- <var-input v-model =" outlinedValue8" variant =" filled" :placeholder =" t('customIconSize')" >
162
- <template #prepend-icon >
163
- <var-icon class =" prepend-icon" name =" github" size =" 8vmin" />
164
- </template >
165
- <template #append-icon >
166
- <var-icon class =" append-icon" name =" github" size =" 12vmin" />
167
- </template >
168
- </var-input >
169
- <var-input v-model =" outlinedValue9" variant =" filled" :placeholder =" t('maxlength')" :maxlength =" 10" />
170
- <var-input v-model =" outlinedValue10" variant =" filled" :placeholder =" t('textarea')" textarea />
171
- <var-input v-model =" outlinedValue11" variant =" filled" :placeholder =" t('smallSize')" size =" small" />
172
- <var-input v-model.trim =" outlinedValue12" variant =" filled" :placeholder =" t('trim')" />
173
- </var-space >
174
-
175
175
<div style =" height : 40px " ></div >
176
176
</template >
177
177
0 commit comments