|
139 | 139 | "body": "<wux-checkbox-group>\n\t${0}\n</wux-checkbox-group>",
|
140 | 140 | "description": "Checkbox Group"
|
141 | 141 | },
|
| 142 | + "wux-field": { |
| 143 | + "prefix": "w-field", |
| 144 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t${0}\n</wux-field>", |
| 145 | + "description": "Field" |
| 146 | + }, |
| 147 | + "wux-field:checkbox": { |
| 148 | + "prefix": "w-field:checkbox", |
| 149 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t<wux-checkbox-group ${4:options=\"${5}\"}>${0}</wux-checkbox-group>\n</wux-field>", |
| 150 | + "description": "Field" |
| 151 | + }, |
| 152 | + "wux-field:input": { |
| 153 | + "prefix": "w-field:input", |
| 154 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t<wux-input />\n</wux-field>", |
| 155 | + "description": "Field" |
| 156 | + }, |
| 157 | + "wux-field:input-number": { |
| 158 | + "prefix": "w-field:input-number", |
| 159 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t<wux-input-number />\n</wux-field>", |
| 160 | + "description": "Field" |
| 161 | + }, |
| 162 | + "wux-field:radio": { |
| 163 | + "prefix": "w-field:radio", |
| 164 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t<wux-radio-group ${4:options=\"${5}\"}>${0}</wux-radio-group>\n</wux-field>", |
| 165 | + "description": "Field" |
| 166 | + }, |
| 167 | + "wux-field:rater": { |
| 168 | + "prefix": "w-field:rater", |
| 169 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t<wux-rater />\n</wux-field>", |
| 170 | + "description": "Field" |
| 171 | + }, |
| 172 | + "wux-field:slider": { |
| 173 | + "prefix": "w-field:slider", |
| 174 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t<wux-slider />\n</wux-field>", |
| 175 | + "description": "Field" |
| 176 | + }, |
| 177 | + "wux-field:switch": { |
| 178 | + "prefix": "w-field:switch", |
| 179 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"} valuePropName=\"inputChecked\">\n\t<wux-switch />\n</wux-field>", |
| 180 | + "description": "Field" |
| 181 | + }, |
| 182 | + "wux-field:textarea": { |
| 183 | + "prefix": "w-field:textarea", |
| 184 | + "body": "<wux-field name=\"${1}\" ${2:initialValue=\"${3}\"}>\n\t<wux-textarea />\n</wux-field>", |
| 185 | + "description": "Field" |
| 186 | + }, |
| 187 | + "wux-form": { |
| 188 | + "prefix": "w-form", |
| 189 | + "body": "<wux-form id=\"${1:wux-form}\" ${2:bind:change=\"${3:onFormChange}\"}>\n\t${0}\n</wux-form>", |
| 190 | + "description": "Form" |
| 191 | + }, |
| 192 | + "wux-input": { |
| 193 | + "prefix": "w-input", |
| 194 | + "body": "<wux-input defaultValue=\"${1}\" ${2:type=\"${3|text,number,idcard,digit|}\"} />", |
| 195 | + "description": "Input" |
| 196 | + }, |
| 197 | + "wux-input:controlled": { |
| 198 | + "prefix": "w-input:controlled", |
| 199 | + "body": "<wux-input value=\"${1}\" ${2:type=\"${3|text,number,idcard,digit|}\"} controlled ${4:bind:change=\"${5:onInputChange}\"} />", |
| 200 | + "description": "Input" |
| 201 | + }, |
142 | 202 | "wux-input-number": {
|
143 | 203 | "prefix": "w-input-number",
|
144 | 204 | "body": "<wux-input-number ${1:color=\"${2|balanced,light,stable,positive,calm,assertive,energized,royal,dark|}\"} defaultValue=\"${3}\" />",
|
|
209 | 269 | "body": "<wux-switch ${1:color=\"${2|balanced,light,stable,positive,calm,assertive,energized,royal,dark|}\"} value=\"${3}\" />",
|
210 | 270 | "description": "Switch"
|
211 | 271 | },
|
| 272 | + "wux-textarea": { |
| 273 | + "prefix": "w-textarea", |
| 274 | + "body": "<wux-textarea defaultValue=\"${1}\" ${2:rows=\"${3|3|}\"} />", |
| 275 | + "description": "Textarea" |
| 276 | + }, |
| 277 | + "wux-textarea:controlled": { |
| 278 | + "prefix": "w-textarea:controlled", |
| 279 | + "body": "<wux-textarea value=\"${1}\" ${2:rows=\"${3|3|}\"} controlled ${4:bind:change=\"${5:onTextareaChange}\"} />", |
| 280 | + "description": "Textarea" |
| 281 | + }, |
212 | 282 | "wux-upload": {
|
213 | 283 | "prefix": "w-upload",
|
214 | 284 | "body": "<wux-upload ${1:listType=\"${2|text,picture-card|}\"} url=\"${3}\">\n\t${0}\n</wux-upload>",
|
|
429 | 499 | "body": "<wux-gallery id=\"${1:wux-gallery}\" />",
|
430 | 500 | "description": "Gallery"
|
431 | 501 | },
|
| 502 | + "wux-landscape": { |
| 503 | + "prefix": "w-landscape", |
| 504 | + "body": "<wux-landscape visible=\"${1}\" bind:close=\"${2:onLandscapeClose}\">\n\t${0}\n</wux-landscape>", |
| 505 | + "description": "Landscape" |
| 506 | + }, |
432 | 507 | "wux-loading": {
|
433 | 508 | "prefix": "w-loading",
|
434 | 509 | "body": "<wux-loading id=\"${1:wux-loading}\" />",
|
|
0 commit comments